1 |
#! /bin/sh |
#! /bin/sh |
|
|
|
2 |
# Guess values for system-dependent variables and create Makefiles. |
# Guess values for system-dependent variables and create Makefiles. |
3 |
# Generated automatically using autoconf version 2.13 |
# Generated by GNU Autoconf 2.56. |
|
# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc. |
|
4 |
# |
# |
5 |
|
# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 |
6 |
|
# Free Software Foundation, Inc. |
7 |
# This configure script is free software; the Free Software Foundation |
# This configure script is free software; the Free Software Foundation |
8 |
# gives unlimited permission to copy, distribute and modify it. |
# gives unlimited permission to copy, distribute and modify it. |
9 |
|
## --------------------- ## |
10 |
|
## M4sh Initialization. ## |
11 |
|
## --------------------- ## |
12 |
|
|
13 |
|
# Be Bourne compatible |
14 |
|
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
15 |
|
emulate sh |
16 |
|
NULLCMD=: |
17 |
|
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
18 |
|
# is contrary to our usage. Disable this feature. |
19 |
|
alias -g '${1+"$@"}'='"$@"' |
20 |
|
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
21 |
|
set -o posix |
22 |
|
fi |
23 |
|
|
24 |
|
# Support unset when possible. |
25 |
|
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then |
26 |
|
as_unset=unset |
27 |
|
else |
28 |
|
as_unset=false |
29 |
|
fi |
30 |
|
|
31 |
|
|
32 |
|
# Work around bugs in pre-3.0 UWIN ksh. |
33 |
|
$as_unset ENV MAIL MAILPATH |
34 |
|
PS1='$ ' |
35 |
|
PS2='> ' |
36 |
|
PS4='+ ' |
37 |
|
|
38 |
|
# NLS nuisances. |
39 |
|
for as_var in \ |
40 |
|
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ |
41 |
|
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
42 |
|
LC_TELEPHONE LC_TIME |
43 |
|
do |
44 |
|
if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then |
45 |
|
eval $as_var=C; export $as_var |
46 |
|
else |
47 |
|
$as_unset $as_var |
48 |
|
fi |
49 |
|
done |
50 |
|
|
51 |
|
# Required to use basename. |
52 |
|
if expr a : '\(a\)' >/dev/null 2>&1; then |
53 |
|
as_expr=expr |
54 |
|
else |
55 |
|
as_expr=false |
56 |
|
fi |
57 |
|
|
58 |
|
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then |
59 |
|
as_basename=basename |
60 |
|
else |
61 |
|
as_basename=false |
62 |
|
fi |
63 |
|
|
64 |
|
|
65 |
|
# Name of the executable. |
66 |
|
as_me=`$as_basename "$0" || |
67 |
|
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
68 |
|
X"$0" : 'X\(//\)$' \| \ |
69 |
|
X"$0" : 'X\(/\)$' \| \ |
70 |
|
. : '\(.\)' 2>/dev/null || |
71 |
|
echo X/"$0" | |
72 |
|
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } |
73 |
|
/^X\/\(\/\/\)$/{ s//\1/; q; } |
74 |
|
/^X\/\(\/\).*/{ s//\1/; q; } |
75 |
|
s/.*/./; q'` |
76 |
|
|
77 |
|
|
78 |
|
# PATH needs CR, and LINENO needs CR and PATH. |
79 |
|
# Avoid depending upon Character Ranges. |
80 |
|
as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
81 |
|
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
82 |
|
as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
83 |
|
as_cr_digits='0123456789' |
84 |
|
as_cr_alnum=$as_cr_Letters$as_cr_digits |
85 |
|
|
86 |
|
# The user is always right. |
87 |
|
if test "${PATH_SEPARATOR+set}" != set; then |
88 |
|
echo "#! /bin/sh" >conf$$.sh |
89 |
|
echo "exit 0" >>conf$$.sh |
90 |
|
chmod +x conf$$.sh |
91 |
|
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
92 |
|
PATH_SEPARATOR=';' |
93 |
|
else |
94 |
|
PATH_SEPARATOR=: |
95 |
|
fi |
96 |
|
rm -f conf$$.sh |
97 |
|
fi |
98 |
|
|
99 |
|
|
100 |
|
as_lineno_1=$LINENO |
101 |
|
as_lineno_2=$LINENO |
102 |
|
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
103 |
|
test "x$as_lineno_1" != "x$as_lineno_2" && |
104 |
|
test "x$as_lineno_3" = "x$as_lineno_2" || { |
105 |
|
# Find who we are. Look in the path if we contain no path at all |
106 |
|
# relative or not. |
107 |
|
case $0 in |
108 |
|
*[\\/]* ) as_myself=$0 ;; |
109 |
|
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
110 |
|
for as_dir in $PATH |
111 |
|
do |
112 |
|
IFS=$as_save_IFS |
113 |
|
test -z "$as_dir" && as_dir=. |
114 |
|
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
115 |
|
done |
116 |
|
|
117 |
|
;; |
118 |
|
esac |
119 |
|
# We did not find ourselves, most probably we were run as `sh COMMAND' |
120 |
|
# in which case we are not to be found in the path. |
121 |
|
if test "x$as_myself" = x; then |
122 |
|
as_myself=$0 |
123 |
|
fi |
124 |
|
if test ! -f "$as_myself"; then |
125 |
|
{ echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 |
126 |
|
{ (exit 1); exit 1; }; } |
127 |
|
fi |
128 |
|
case $CONFIG_SHELL in |
129 |
|
'') |
130 |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
131 |
|
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
132 |
|
do |
133 |
|
IFS=$as_save_IFS |
134 |
|
test -z "$as_dir" && as_dir=. |
135 |
|
for as_base in sh bash ksh sh5; do |
136 |
|
case $as_dir in |
137 |
|
/*) |
138 |
|
if ("$as_dir/$as_base" -c ' |
139 |
|
as_lineno_1=$LINENO |
140 |
|
as_lineno_2=$LINENO |
141 |
|
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
142 |
|
test "x$as_lineno_1" != "x$as_lineno_2" && |
143 |
|
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then |
144 |
|
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } |
145 |
|
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } |
146 |
|
CONFIG_SHELL=$as_dir/$as_base |
147 |
|
export CONFIG_SHELL |
148 |
|
exec "$CONFIG_SHELL" "$0" ${1+"$@"} |
149 |
|
fi;; |
150 |
|
esac |
151 |
|
done |
152 |
|
done |
153 |
|
;; |
154 |
|
esac |
155 |
|
|
156 |
|
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
157 |
|
# uniformly replaced by the line number. The first 'sed' inserts a |
158 |
|
# line-number line before each line; the second 'sed' does the real |
159 |
|
# work. The second script uses 'N' to pair each line-number line |
160 |
|
# with the numbered line, and appends trailing '-' during |
161 |
|
# substitution so that $LINENO is not a special case at line end. |
162 |
|
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
163 |
|
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) |
164 |
|
sed '=' <$as_myself | |
165 |
|
sed ' |
166 |
|
N |
167 |
|
s,$,-, |
168 |
|
: loop |
169 |
|
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, |
170 |
|
t loop |
171 |
|
s,-$,, |
172 |
|
s,^['$as_cr_digits']*\n,, |
173 |
|
' >$as_me.lineno && |
174 |
|
chmod +x $as_me.lineno || |
175 |
|
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 |
176 |
|
{ (exit 1); exit 1; }; } |
177 |
|
|
178 |
|
# Don't try to exec as it changes $[0], causing all sort of problems |
179 |
|
# (the dirname of $[0] is not the place where we might find the |
180 |
|
# original and so on. Autoconf is especially sensible to this). |
181 |
|
. ./$as_me.lineno |
182 |
|
# Exit status is that of the last command. |
183 |
|
exit |
184 |
|
} |
185 |
|
|
186 |
|
|
187 |
|
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in |
188 |
|
*c*,-n*) ECHO_N= ECHO_C=' |
189 |
|
' ECHO_T=' ' ;; |
190 |
|
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; |
191 |
|
*) ECHO_N= ECHO_C='\c' ECHO_T= ;; |
192 |
|
esac |
193 |
|
|
194 |
|
if expr a : '\(a\)' >/dev/null 2>&1; then |
195 |
|
as_expr=expr |
196 |
|
else |
197 |
|
as_expr=false |
198 |
|
fi |
199 |
|
|
200 |
|
rm -f conf$$ conf$$.exe conf$$.file |
201 |
|
echo >conf$$.file |
202 |
|
if ln -s conf$$.file conf$$ 2>/dev/null; then |
203 |
|
# We could just check for DJGPP; but this test a) works b) is more generic |
204 |
|
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). |
205 |
|
if test -f conf$$.exe; then |
206 |
|
# Don't use ln at all; we don't have any links |
207 |
|
as_ln_s='cp -p' |
208 |
|
else |
209 |
|
as_ln_s='ln -s' |
210 |
|
fi |
211 |
|
elif ln conf$$.file conf$$ 2>/dev/null; then |
212 |
|
as_ln_s=ln |
213 |
|
else |
214 |
|
as_ln_s='cp -p' |
215 |
|
fi |
216 |
|
rm -f conf$$ conf$$.exe conf$$.file |
217 |
|
|
218 |
|
if mkdir -p . 2>/dev/null; then |
219 |
|
as_mkdir_p=: |
220 |
|
else |
221 |
|
as_mkdir_p=false |
222 |
|
fi |
223 |
|
|
224 |
|
as_executable_p="test -f" |
225 |
|
|
226 |
|
# Sed expression to map a string onto a valid CPP name. |
227 |
|
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" |
228 |
|
|
229 |
|
# Sed expression to map a string onto a valid variable name. |
230 |
|
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" |
231 |
|
|
232 |
|
|
233 |
# Defaults: |
# IFS |
234 |
ac_help= |
# We need space, tab and new line, in precisely that order. |
235 |
|
as_nl=' |
236 |
|
' |
237 |
|
IFS=" $as_nl" |
238 |
|
|
239 |
|
# CDPATH. |
240 |
|
$as_unset CDPATH |
241 |
|
|
242 |
|
|
243 |
|
# Name of the host. |
244 |
|
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, |
245 |
|
# so uname gets run too. |
246 |
|
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
247 |
|
|
248 |
|
exec 6>&1 |
249 |
|
|
250 |
|
# |
251 |
|
# Initializations. |
252 |
|
# |
253 |
ac_default_prefix=/usr/local |
ac_default_prefix=/usr/local |
254 |
# Any additions from configure.in: |
ac_config_libobj_dir=. |
255 |
ac_help="$ac_help |
cross_compiling=no |
256 |
--enable-maxpage=XXXX will compile in a page table of size XXX (eg '--enable-maxpage=64*1024' would give 64K pages allowing 256 MB if pages are 4K each)" |
subdirs= |
257 |
ac_help="$ac_help |
MFLAGS= |
258 |
--enable-holediv=XXXX will specify that 1/XXXX of the core should be used as the hole between the heap and relocatable memory area" |
MAKEFLAGS= |
259 |
ac_help="$ac_help |
SHELL=${CONFIG_SHELL-/bin/sh} |
260 |
--enable-vssize=XXXX will compile in a value stack of size XXX" |
|
261 |
ac_help="$ac_help |
# Maximum number of lines to put in a shell here document. |
262 |
--enable-bdssize=XXXX will compile in a binding stack of size XXX" |
# This variable seems obsolete. It should probably be removed, and |
263 |
ac_help="$ac_help |
# only ac_max_sed_lines should be used. |
264 |
--enable-ihssize=XXXX will compile in a invocation history stack of size XXX" |
: ${ac_max_here_lines=38} |
265 |
ac_help="$ac_help |
|
266 |
--enable-frssize=XXXX will compile in a frame stack of size XXX" |
# Identity of this package. |
267 |
ac_help="$ac_help |
PACKAGE_NAME= |
268 |
--enable-cssize=XXXX produces executables with a C stack of size XXX" |
PACKAGE_TARNAME= |
269 |
ac_help="$ac_help |
PACKAGE_VERSION= |
270 |
--enable-machine=XXXX will force the use of one of the definitions in h/XXXX.defs " |
PACKAGE_STRING= |
271 |
ac_help="$ac_help |
PACKAGE_BUGREPORT= |
272 |
--enable-immfix will enable an immediate fixnum table above the C stack" |
|
273 |
ac_help="$ac_help |
# Factoring default headers for most tests. |
274 |
--enable-notify=no will disable the automatic notification of gcl maintainers of successful builds/problems " |
ac_includes_default="\ |
275 |
ac_help="$ac_help |
#include <stdio.h> |
276 |
--enable-tkconfig=XXXX will force the use of a TK_CONFIG_PREFIX=XXXXX as place to look for tkConfig.sh and tclConfig.sh " |
#if HAVE_SYS_TYPES_H |
277 |
ac_help="$ac_help |
# include <sys/types.h> |
278 |
--enable-tclconfig=XXXX will force the use of a TCL_CONFIG_PREFIX=XXXXX as place to look for tclConfig.sh and tclConfig.sh " |
#endif |
279 |
ac_help="$ac_help |
#if HAVE_SYS_STAT_H |
280 |
--enable-infodir=XXXX will force the use of a INFO_DIR=XXXXX as place to look for info " |
# include <sys/stat.h> |
281 |
ac_help="$ac_help |
#endif |
282 |
--enable-emacsdir=XXXX will manually specify the location for elisp files " |
#if STDC_HEADERS |
283 |
ac_help="$ac_help |
# include <stdlib.h> |
284 |
--enable-common-binary=yes forces use of lowest common denominator instruction sets, (default is =yes) " |
# include <stddef.h> |
285 |
ac_help="$ac_help |
#else |
286 |
--enable-japi=yes will compile in support for the JAPI graphical interface if present on your system" |
# if HAVE_STDLIB_H |
287 |
ac_help="$ac_help |
# include <stdlib.h> |
288 |
--enable-xdr=yes will compile in support for XDR" |
# endif |
289 |
ac_help="$ac_help |
#endif |
290 |
--enable-dlopen uses dlopen for loading objects, which can then not be retained in saved images |
#if HAVE_STRING_H |
291 |
" |
# if !STDC_HEADERS && HAVE_MEMORY_H |
292 |
ac_help="$ac_help |
# include <memory.h> |
293 |
--enable-statsysbfd uses a static sytem bfd library for loading and relocationing object files |
# endif |
294 |
" |
# include <string.h> |
295 |
ac_help="$ac_help |
#endif |
296 |
--enable-dynsysbfd uses a dynamic shared sytem bfd library for loading and relocationing object files |
#if HAVE_STRINGS_H |
297 |
" |
# include <strings.h> |
298 |
ac_help="$ac_help |
#endif |
299 |
--enable-locbfd uses a static bfd library built from this source tree for loading and relocationing object files |
#if HAVE_INTTYPES_H |
300 |
" |
# include <inttypes.h> |
301 |
ac_help="$ac_help |
#else |
302 |
--enable-custreloc uses custom gcl code if available for loading and relocationing object files |
# if HAVE_STDINT_H |
303 |
" |
# include <stdint.h> |
304 |
ac_help="$ac_help |
# endif |
305 |
--enable-debug builds gcl with -g in CFLAGS to enable running under gdb |
#endif |
306 |
" |
#if HAVE_UNISTD_H |
307 |
ac_help="$ac_help |
# include <unistd.h> |
308 |
--enable-gprof builds gcl with -pg in CFLAGS to enable profiling with gprof |
#endif" |
309 |
" |
|
310 |
ac_help="$ac_help |
ac_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 VERSION build build_cpu build_vendor build_os host host_cpu host_vendor host_os PROCESSOR_FLAGS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP AWK MAKEINFO EGREP GMP GMPDIR X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS BUILD_BFD LITTLE_END PAGEWIDTH HAVE_LONG_LONG FLISP SYSTEM CLSTANDARD RL_OBJS RL_LIB NO_PROFILE HAVE_SETENV HAVE_PUTENV USE_CLEANUP ENDIAN_ALREADY_DEFINED HAVE_SV_ONSTACK HAVE_SIGSYS HAVE_SIGEMT EMACS EMACS_SITE_LISP EMACS_DEFAULT_EL INFO_DIR TCLSH TK_CONFIG_PREFIX TK_LIBRARY TCL_LIBRARY TK_XINCLUDES TK_INCLUDE TCL_INCLUDE TK_LIB_SPEC TK_BUILD_LIB_SPEC TK_XLIBSW TCL_LIB_SPEC TCL_DL_LIBS TCL_LIBS TCL_STUB_LIBS NOTIFY BROKEN_O4_OPT FINAL_CFLAGS NIFLAGS O3FLAGS O2FLAGS EXTRA_LOBJS LEADING_UNDERSCORE GNU_LD LD_STACK_FLAGS use LIBOBJS LTLIBOBJS' |
311 |
--enable-static will link your GCL against static as opposed to shared system libraries " |
ac_subst_files='' |
|
ac_help="$ac_help |
|
|
--enable-pic builds gcl with -fPIC in CFLAGS |
|
|
" |
|
|
ac_help="$ac_help |
|
|
--enable-dynsysgmp will link against the system libgmp3 overriding certain functions with patched versions from the local source |
|
|
" |
|
|
ac_help="$ac_help |
|
|
--with-x use the X Window System" |
|
|
ac_help="$ac_help |
|
|
--enable-readine enables command line completion via the readline library " |
|
|
ac_help="$ac_help |
|
|
--enable-ansi builds a large gcl aiming for ansi compliance, |
|
|
--disable-ansi builds the smaller traditional CLtL1 image" |
|
312 |
|
|
313 |
# Initialize some variables set by options. |
# Initialize some variables set by options. |
314 |
|
ac_init_help= |
315 |
|
ac_init_version=false |
316 |
# The variables have the same names as the options, with |
# The variables have the same names as the options, with |
317 |
# dashes changed to underlines. |
# dashes changed to underlines. |
318 |
build=NONE |
cache_file=/dev/null |
|
cache_file=./config.cache |
|
319 |
exec_prefix=NONE |
exec_prefix=NONE |
|
host=NONE |
|
320 |
no_create= |
no_create= |
|
nonopt=NONE |
|
321 |
no_recursion= |
no_recursion= |
322 |
prefix=NONE |
prefix=NONE |
323 |
program_prefix=NONE |
program_prefix=NONE |
326 |
silent= |
silent= |
327 |
site= |
site= |
328 |
srcdir= |
srcdir= |
|
target=NONE |
|
329 |
verbose= |
verbose= |
330 |
x_includes=NONE |
x_includes=NONE |
331 |
x_libraries=NONE |
x_libraries=NONE |
332 |
|
|
333 |
|
# Installation directory options. |
334 |
|
# These are left unexpanded so users can "make install exec_prefix=/foo" |
335 |
|
# and all the variables that are supposed to be based on exec_prefix |
336 |
|
# by default will actually change. |
337 |
|
# Use braces instead of parens because sh, perl, etc. also accept them. |
338 |
bindir='${exec_prefix}/bin' |
bindir='${exec_prefix}/bin' |
339 |
sbindir='${exec_prefix}/sbin' |
sbindir='${exec_prefix}/sbin' |
340 |
libexecdir='${exec_prefix}/libexec' |
libexecdir='${exec_prefix}/libexec' |
348 |
infodir='${prefix}/info' |
infodir='${prefix}/info' |
349 |
mandir='${prefix}/man' |
mandir='${prefix}/man' |
350 |
|
|
|
# Initialize some other variables. |
|
|
subdirs= |
|
|
MFLAGS= MAKEFLAGS= |
|
|
SHELL=${CONFIG_SHELL-/bin/sh} |
|
|
# Maximum number of lines to put in a shell here document. |
|
|
ac_max_here_lines=12 |
|
|
|
|
351 |
ac_prev= |
ac_prev= |
352 |
for ac_option |
for ac_option |
353 |
do |
do |
|
|
|
354 |
# If the previous option needs an argument, assign it. |
# If the previous option needs an argument, assign it. |
355 |
if test -n "$ac_prev"; then |
if test -n "$ac_prev"; then |
356 |
eval "$ac_prev=\$ac_option" |
eval "$ac_prev=\$ac_option" |
358 |
continue |
continue |
359 |
fi |
fi |
360 |
|
|
361 |
case "$ac_option" in |
ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` |
|
-*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;; |
|
|
*) ac_optarg= ;; |
|
|
esac |
|
362 |
|
|
363 |
# Accept the important Cygnus configure options, so we can diagnose typos. |
# Accept the important Cygnus configure options, so we can diagnose typos. |
364 |
|
|
365 |
case "$ac_option" in |
case $ac_option in |
366 |
|
|
367 |
-bindir | --bindir | --bindi | --bind | --bin | --bi) |
-bindir | --bindir | --bindi | --bind | --bin | --bi) |
368 |
ac_prev=bindir ;; |
ac_prev=bindir ;; |
369 |
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
370 |
bindir="$ac_optarg" ;; |
bindir=$ac_optarg ;; |
371 |
|
|
372 |
-build | --build | --buil | --bui | --bu) |
-build | --build | --buil | --bui | --bu) |
373 |
ac_prev=build ;; |
ac_prev=build_alias ;; |
374 |
-build=* | --build=* | --buil=* | --bui=* | --bu=*) |
-build=* | --build=* | --buil=* | --bui=* | --bu=*) |
375 |
build="$ac_optarg" ;; |
build_alias=$ac_optarg ;; |
376 |
|
|
377 |
-cache-file | --cache-file | --cache-fil | --cache-fi \ |
-cache-file | --cache-file | --cache-fil | --cache-fi \ |
378 |
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
379 |
ac_prev=cache_file ;; |
ac_prev=cache_file ;; |
380 |
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
381 |
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) |
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) |
382 |
cache_file="$ac_optarg" ;; |
cache_file=$ac_optarg ;; |
383 |
|
|
384 |
|
--config-cache | -C) |
385 |
|
cache_file=config.cache ;; |
386 |
|
|
387 |
-datadir | --datadir | --datadi | --datad | --data | --dat | --da) |
-datadir | --datadir | --datadi | --datad | --data | --dat | --da) |
388 |
ac_prev=datadir ;; |
ac_prev=datadir ;; |
389 |
-datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ |
-datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ |
390 |
| --da=*) |
| --da=*) |
391 |
datadir="$ac_optarg" ;; |
datadir=$ac_optarg ;; |
392 |
|
|
393 |
-disable-* | --disable-*) |
-disable-* | --disable-*) |
394 |
ac_feature=`echo $ac_option|sed -e 's/-*disable-//'` |
ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
395 |
# Reject names that are not valid shell variable names. |
# Reject names that are not valid shell variable names. |
396 |
if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then |
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && |
397 |
{ echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } |
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
398 |
fi |
{ (exit 1); exit 1; }; } |
399 |
ac_feature=`echo $ac_feature| sed 's/-/_/g'` |
ac_feature=`echo $ac_feature | sed 's/-/_/g'` |
400 |
eval "enable_${ac_feature}=no" ;; |
eval "enable_$ac_feature=no" ;; |
401 |
|
|
402 |
-enable-* | --enable-*) |
-enable-* | --enable-*) |
403 |
ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'` |
ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
404 |
# Reject names that are not valid shell variable names. |
# Reject names that are not valid shell variable names. |
405 |
if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then |
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && |
406 |
{ echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } |
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
407 |
fi |
{ (exit 1); exit 1; }; } |
408 |
ac_feature=`echo $ac_feature| sed 's/-/_/g'` |
ac_feature=`echo $ac_feature | sed 's/-/_/g'` |
409 |
case "$ac_option" in |
case $ac_option in |
410 |
*=*) ;; |
*=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; |
411 |
*) ac_optarg=yes ;; |
*) ac_optarg=yes ;; |
412 |
esac |
esac |
413 |
eval "enable_${ac_feature}='$ac_optarg'" ;; |
eval "enable_$ac_feature='$ac_optarg'" ;; |
414 |
|
|
415 |
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
416 |
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
419 |
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ |
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ |
420 |
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ |
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ |
421 |
| --exec=* | --exe=* | --ex=*) |
| --exec=* | --exe=* | --ex=*) |
422 |
exec_prefix="$ac_optarg" ;; |
exec_prefix=$ac_optarg ;; |
423 |
|
|
424 |
-gas | --gas | --ga | --g) |
-gas | --gas | --ga | --g) |
425 |
# Obsolete; use --with-gas. |
# Obsolete; use --with-gas. |
426 |
with_gas=yes ;; |
with_gas=yes ;; |
427 |
|
|
428 |
-help | --help | --hel | --he) |
-help | --help | --hel | --he | -h) |
429 |
# Omit some internal or obsolete options to make the list less imposing. |
ac_init_help=long ;; |
430 |
# This message is too long to be a string in the A/UX 3.1 sh. |
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*) |
431 |
cat << EOF |
ac_init_help=recursive ;; |
432 |
Usage: configure [options] [host] |
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*) |
433 |
Options: [defaults in brackets after descriptions] |
ac_init_help=short ;; |
|
Configuration: |
|
|
--cache-file=FILE cache test results in FILE |
|
|
--help print this message |
|
|
--no-create do not create output files |
|
|
--quiet, --silent do not print \`checking...' messages |
|
|
--version print the version of autoconf that created configure |
|
|
Directory and file names: |
|
|
--prefix=PREFIX install architecture-independent files in PREFIX |
|
|
[$ac_default_prefix] |
|
|
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
|
|
[same as prefix] |
|
|
--bindir=DIR user executables in DIR [EPREFIX/bin] |
|
|
--sbindir=DIR system admin executables in DIR [EPREFIX/sbin] |
|
|
--libexecdir=DIR program executables in DIR [EPREFIX/libexec] |
|
|
--datadir=DIR read-only architecture-independent data in DIR |
|
|
[PREFIX/share] |
|
|
--sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc] |
|
|
--sharedstatedir=DIR modifiable architecture-independent data in DIR |
|
|
[PREFIX/com] |
|
|
--localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var] |
|
|
--libdir=DIR object code libraries in DIR [EPREFIX/lib] |
|
|
--includedir=DIR C header files in DIR [PREFIX/include] |
|
|
--oldincludedir=DIR C header files for non-gcc in DIR [/usr/include] |
|
|
--infodir=DIR info documentation in DIR [PREFIX/info] |
|
|
--mandir=DIR man documentation in DIR [PREFIX/man] |
|
|
--srcdir=DIR find the sources in DIR [configure dir or ..] |
|
|
--program-prefix=PREFIX prepend PREFIX to installed program names |
|
|
--program-suffix=SUFFIX append SUFFIX to installed program names |
|
|
--program-transform-name=PROGRAM |
|
|
run sed PROGRAM on installed program names |
|
|
EOF |
|
|
cat << EOF |
|
|
Host type: |
|
|
--build=BUILD configure for building on BUILD [BUILD=HOST] |
|
|
--host=HOST configure for HOST [guessed] |
|
|
--target=TARGET configure for TARGET [TARGET=HOST] |
|
|
Features and packages: |
|
|
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
|
|
--enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
|
|
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
|
|
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
|
|
--x-includes=DIR X include files are in DIR |
|
|
--x-libraries=DIR X library files are in DIR |
|
|
EOF |
|
|
if test -n "$ac_help"; then |
|
|
echo "--enable and --with options recognized:$ac_help" |
|
|
fi |
|
|
exit 0 ;; |
|
434 |
|
|
435 |
-host | --host | --hos | --ho) |
-host | --host | --hos | --ho) |
436 |
ac_prev=host ;; |
ac_prev=host_alias ;; |
437 |
-host=* | --host=* | --hos=* | --ho=*) |
-host=* | --host=* | --hos=* | --ho=*) |
438 |
host="$ac_optarg" ;; |
host_alias=$ac_optarg ;; |
439 |
|
|
440 |
-includedir | --includedir | --includedi | --included | --include \ |
-includedir | --includedir | --includedi | --included | --include \ |
441 |
| --includ | --inclu | --incl | --inc) |
| --includ | --inclu | --incl | --inc) |
442 |
ac_prev=includedir ;; |
ac_prev=includedir ;; |
443 |
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ |
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ |
444 |
| --includ=* | --inclu=* | --incl=* | --inc=*) |
| --includ=* | --inclu=* | --incl=* | --inc=*) |
445 |
includedir="$ac_optarg" ;; |
includedir=$ac_optarg ;; |
446 |
|
|
447 |
-infodir | --infodir | --infodi | --infod | --info | --inf) |
-infodir | --infodir | --infodi | --infod | --info | --inf) |
448 |
ac_prev=infodir ;; |
ac_prev=infodir ;; |
449 |
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) |
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) |
450 |
infodir="$ac_optarg" ;; |
infodir=$ac_optarg ;; |
451 |
|
|
452 |
-libdir | --libdir | --libdi | --libd) |
-libdir | --libdir | --libdi | --libd) |
453 |
ac_prev=libdir ;; |
ac_prev=libdir ;; |
454 |
-libdir=* | --libdir=* | --libdi=* | --libd=*) |
-libdir=* | --libdir=* | --libdi=* | --libd=*) |
455 |
libdir="$ac_optarg" ;; |
libdir=$ac_optarg ;; |
456 |
|
|
457 |
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ |
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ |
458 |
| --libexe | --libex | --libe) |
| --libexe | --libex | --libe) |
459 |
ac_prev=libexecdir ;; |
ac_prev=libexecdir ;; |
460 |
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ |
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ |
461 |
| --libexe=* | --libex=* | --libe=*) |
| --libexe=* | --libex=* | --libe=*) |
462 |
libexecdir="$ac_optarg" ;; |
libexecdir=$ac_optarg ;; |
463 |
|
|
464 |
-localstatedir | --localstatedir | --localstatedi | --localstated \ |
-localstatedir | --localstatedir | --localstatedi | --localstated \ |
465 |
| --localstate | --localstat | --localsta | --localst \ |
| --localstate | --localstat | --localsta | --localst \ |
468 |
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
469 |
| --localstate=* | --localstat=* | --localsta=* | --localst=* \ |
| --localstate=* | --localstat=* | --localsta=* | --localst=* \ |
470 |
| --locals=* | --local=* | --loca=* | --loc=* | --lo=*) |
| --locals=* | --local=* | --loca=* | --loc=* | --lo=*) |
471 |
localstatedir="$ac_optarg" ;; |
localstatedir=$ac_optarg ;; |
472 |
|
|
473 |
-mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
-mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
474 |
ac_prev=mandir ;; |
ac_prev=mandir ;; |
475 |
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) |
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) |
476 |
mandir="$ac_optarg" ;; |
mandir=$ac_optarg ;; |
477 |
|
|
478 |
-nfp | --nfp | --nf) |
-nfp | --nfp | --nf) |
479 |
# Obsolete; use --without-fp. |
# Obsolete; use --without-fp. |
480 |
with_fp=no ;; |
with_fp=no ;; |
481 |
|
|
482 |
-no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
-no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
483 |
| --no-cr | --no-c) |
| --no-cr | --no-c | -n) |
484 |
no_create=yes ;; |
no_create=yes ;; |
485 |
|
|
486 |
-no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
-no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
494 |
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ |
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ |
495 |
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ |
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ |
496 |
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) |
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) |
497 |
oldincludedir="$ac_optarg" ;; |
oldincludedir=$ac_optarg ;; |
498 |
|
|
499 |
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
500 |
ac_prev=prefix ;; |
ac_prev=prefix ;; |
501 |
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
502 |
prefix="$ac_optarg" ;; |
prefix=$ac_optarg ;; |
503 |
|
|
504 |
-program-prefix | --program-prefix | --program-prefi | --program-pref \ |
-program-prefix | --program-prefix | --program-prefi | --program-pref \ |
505 |
| --program-pre | --program-pr | --program-p) |
| --program-pre | --program-pr | --program-p) |
506 |
ac_prev=program_prefix ;; |
ac_prev=program_prefix ;; |
507 |
-program-prefix=* | --program-prefix=* | --program-prefi=* \ |
-program-prefix=* | --program-prefix=* | --program-prefi=* \ |
508 |
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) |
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) |
509 |
program_prefix="$ac_optarg" ;; |
program_prefix=$ac_optarg ;; |
510 |
|
|
511 |
-program-suffix | --program-suffix | --program-suffi | --program-suff \ |
-program-suffix | --program-suffix | --program-suffi | --program-suff \ |
512 |
| --program-suf | --program-su | --program-s) |
| --program-suf | --program-su | --program-s) |
513 |
ac_prev=program_suffix ;; |
ac_prev=program_suffix ;; |
514 |
-program-suffix=* | --program-suffix=* | --program-suffi=* \ |
-program-suffix=* | --program-suffix=* | --program-suffi=* \ |
515 |
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) |
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) |
516 |
program_suffix="$ac_optarg" ;; |
program_suffix=$ac_optarg ;; |
517 |
|
|
518 |
-program-transform-name | --program-transform-name \ |
-program-transform-name | --program-transform-name \ |
519 |
| --program-transform-nam | --program-transform-na \ |
| --program-transform-nam | --program-transform-na \ |
530 |
| --program-transfo=* | --program-transf=* \ |
| --program-transfo=* | --program-transf=* \ |
531 |
| --program-trans=* | --program-tran=* \ |
| --program-trans=* | --program-tran=* \ |
532 |
| --progr-tra=* | --program-tr=* | --program-t=*) |
| --progr-tra=* | --program-tr=* | --program-t=*) |
533 |
program_transform_name="$ac_optarg" ;; |
program_transform_name=$ac_optarg ;; |
534 |
|
|
535 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
536 |
| -silent | --silent | --silen | --sile | --sil) |
| -silent | --silent | --silen | --sile | --sil) |
540 |
ac_prev=sbindir ;; |
ac_prev=sbindir ;; |
541 |
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
542 |
| --sbi=* | --sb=*) |
| --sbi=* | --sb=*) |
543 |
sbindir="$ac_optarg" ;; |
sbindir=$ac_optarg ;; |
544 |
|
|
545 |
-sharedstatedir | --sharedstatedir | --sharedstatedi \ |
-sharedstatedir | --sharedstatedir | --sharedstatedi \ |
546 |
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \ |
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \ |
551 |
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ |
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ |
552 |
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ |
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ |
553 |
| --sha=* | --sh=*) |
| --sha=* | --sh=*) |
554 |
sharedstatedir="$ac_optarg" ;; |
sharedstatedir=$ac_optarg ;; |
555 |
|
|
556 |
-site | --site | --sit) |
-site | --site | --sit) |
557 |
ac_prev=site ;; |
ac_prev=site ;; |
558 |
-site=* | --site=* | --sit=*) |
-site=* | --site=* | --sit=*) |
559 |
site="$ac_optarg" ;; |
site=$ac_optarg ;; |
560 |
|
|
561 |
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
562 |
ac_prev=srcdir ;; |
ac_prev=srcdir ;; |
563 |
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
564 |
srcdir="$ac_optarg" ;; |
srcdir=$ac_optarg ;; |
565 |
|
|
566 |
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ |
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ |
567 |
| --syscon | --sysco | --sysc | --sys | --sy) |
| --syscon | --sysco | --sysc | --sys | --sy) |
568 |
ac_prev=sysconfdir ;; |
ac_prev=sysconfdir ;; |
569 |
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ |
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ |
570 |
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) |
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) |
571 |
sysconfdir="$ac_optarg" ;; |
sysconfdir=$ac_optarg ;; |
572 |
|
|
573 |
-target | --target | --targe | --targ | --tar | --ta | --t) |
-target | --target | --targe | --targ | --tar | --ta | --t) |
574 |
ac_prev=target ;; |
ac_prev=target_alias ;; |
575 |
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
576 |
target="$ac_optarg" ;; |
target_alias=$ac_optarg ;; |
577 |
|
|
578 |
-v | -verbose | --verbose | --verbos | --verbo | --verb) |
-v | -verbose | --verbose | --verbos | --verbo | --verb) |
579 |
verbose=yes ;; |
verbose=yes ;; |
580 |
|
|
581 |
-version | --version | --versio | --versi | --vers) |
-version | --version | --versio | --versi | --vers | -V) |
582 |
echo "configure generated by autoconf version 2.13" |
ac_init_version=: ;; |
|
exit 0 ;; |
|
583 |
|
|
584 |
-with-* | --with-*) |
-with-* | --with-*) |
585 |
ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'` |
ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
586 |
# Reject names that are not valid shell variable names. |
# Reject names that are not valid shell variable names. |
587 |
if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then |
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && |
588 |
{ echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } |
{ echo "$as_me: error: invalid package name: $ac_package" >&2 |
589 |
fi |
{ (exit 1); exit 1; }; } |
590 |
ac_package=`echo $ac_package| sed 's/-/_/g'` |
ac_package=`echo $ac_package| sed 's/-/_/g'` |
591 |
case "$ac_option" in |
case $ac_option in |
592 |
*=*) ;; |
*=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; |
593 |
*) ac_optarg=yes ;; |
*) ac_optarg=yes ;; |
594 |
esac |
esac |
595 |
eval "with_${ac_package}='$ac_optarg'" ;; |
eval "with_$ac_package='$ac_optarg'" ;; |
596 |
|
|
597 |
-without-* | --without-*) |
-without-* | --without-*) |
598 |
ac_package=`echo $ac_option|sed -e 's/-*without-//'` |
ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
599 |
# Reject names that are not valid shell variable names. |
# Reject names that are not valid shell variable names. |
600 |
if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then |
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && |
601 |
{ echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } |
{ echo "$as_me: error: invalid package name: $ac_package" >&2 |
602 |
fi |
{ (exit 1); exit 1; }; } |
603 |
ac_package=`echo $ac_package| sed 's/-/_/g'` |
ac_package=`echo $ac_package | sed 's/-/_/g'` |
604 |
eval "with_${ac_package}=no" ;; |
eval "with_$ac_package=no" ;; |
605 |
|
|
606 |
--x) |
--x) |
607 |
# Obsolete; use --with-x. |
# Obsolete; use --with-x. |
612 |
ac_prev=x_includes ;; |
ac_prev=x_includes ;; |
613 |
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ |
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ |
614 |
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) |
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) |
615 |
x_includes="$ac_optarg" ;; |
x_includes=$ac_optarg ;; |
616 |
|
|
617 |
-x-libraries | --x-libraries | --x-librarie | --x-librari \ |
-x-libraries | --x-libraries | --x-librarie | --x-librari \ |
618 |
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) |
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) |
619 |
ac_prev=x_libraries ;; |
ac_prev=x_libraries ;; |
620 |
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
621 |
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
622 |
x_libraries="$ac_optarg" ;; |
x_libraries=$ac_optarg ;; |
623 |
|
|
624 |
-*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; } |
-*) { echo "$as_me: error: unrecognized option: $ac_option |
625 |
|
Try \`$0 --help' for more information." >&2 |
626 |
|
{ (exit 1); exit 1; }; } |
627 |
;; |
;; |
628 |
|
|
629 |
|
*=*) |
630 |
|
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
631 |
|
# Reject names that are not valid shell variable names. |
632 |
|
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && |
633 |
|
{ echo "$as_me: error: invalid variable name: $ac_envvar" >&2 |
634 |
|
{ (exit 1); exit 1; }; } |
635 |
|
ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` |
636 |
|
eval "$ac_envvar='$ac_optarg'" |
637 |
|
export $ac_envvar ;; |
638 |
|
|
639 |
*) |
*) |
640 |
if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then |
# FIXME: should be removed in autoconf 3.0. |
641 |
echo "configure: warning: $ac_option: invalid host type" 1>&2 |
echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
642 |
fi |
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
643 |
if test "x$nonopt" != xNONE; then |
echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
644 |
{ echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } |
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} |
|
fi |
|
|
nonopt="$ac_option" |
|
645 |
;; |
;; |
646 |
|
|
647 |
esac |
esac |
648 |
done |
done |
649 |
|
|
650 |
if test -n "$ac_prev"; then |
if test -n "$ac_prev"; then |
651 |
{ echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; } |
ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
652 |
fi |
{ echo "$as_me: error: missing argument to $ac_option" >&2 |
653 |
|
{ (exit 1); exit 1; }; } |
|
trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 |
|
|
|
|
|
# File descriptor usage: |
|
|
# 0 standard input |
|
|
# 1 file creation |
|
|
# 2 errors and warnings |
|
|
# 3 some systems may open it to /dev/tty |
|
|
# 4 used on the Kubota Titan |
|
|
# 6 checking for... messages and results |
|
|
# 5 compiler messages saved in config.log |
|
|
if test "$silent" = yes; then |
|
|
exec 6>/dev/null |
|
|
else |
|
|
exec 6>&1 |
|
654 |
fi |
fi |
|
exec 5>./config.log |
|
655 |
|
|
656 |
echo "\ |
# Be sure to have absolute paths. |
657 |
This file contains any messages produced by compilers while |
for ac_var in exec_prefix prefix |
658 |
running configure, to aid debugging if configure makes a mistake. |
do |
659 |
" 1>&5 |
eval ac_val=$`echo $ac_var` |
660 |
|
case $ac_val in |
661 |
|
[\\/$]* | ?:[\\/]* | NONE | '' ) ;; |
662 |
|
*) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
663 |
|
{ (exit 1); exit 1; }; };; |
664 |
|
esac |
665 |
|
done |
666 |
|
|
667 |
# Strip out --no-create and --no-recursion so they do not pile up. |
# Be sure to have absolute paths. |
668 |
# Also quote any args containing shell metacharacters. |
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ |
669 |
ac_configure_args= |
localstatedir libdir includedir oldincludedir infodir mandir |
|
for ac_arg |
|
670 |
do |
do |
671 |
case "$ac_arg" in |
eval ac_val=$`echo $ac_var` |
672 |
-no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
case $ac_val in |
673 |
| --no-cr | --no-c) ;; |
[\\/$]* | ?:[\\/]* ) ;; |
674 |
-no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
*) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
675 |
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;; |
{ (exit 1); exit 1; }; };; |
|
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*) |
|
|
ac_configure_args="$ac_configure_args '$ac_arg'" ;; |
|
|
*) ac_configure_args="$ac_configure_args $ac_arg" ;; |
|
676 |
esac |
esac |
677 |
done |
done |
678 |
|
|
679 |
# NLS nuisances. |
# There might be people who depend on the old broken behavior: `$host' |
680 |
# Only set these to C if already set. These must not be set unconditionally |
# used to hold the argument of --host etc. |
681 |
# because not all systems understand e.g. LANG=C (notably SCO). |
# FIXME: To remove some day. |
682 |
# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'! |
build=$build_alias |
683 |
# Non-C LC_CTYPE values break the ctype check. |
host=$host_alias |
684 |
if test "${LANG+set}" = set; then LANG=C; export LANG; fi |
target=$target_alias |
685 |
if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi |
|
686 |
if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi |
# FIXME: To remove some day. |
687 |
if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi |
if test "x$host_alias" != x; then |
688 |
|
if test "x$build_alias" = x; then |
689 |
|
cross_compiling=maybe |
690 |
|
echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. |
691 |
|
If a cross compiler is detected then cross compile mode will be used." >&2 |
692 |
|
elif test "x$build_alias" != "x$host_alias"; then |
693 |
|
cross_compiling=yes |
694 |
|
fi |
695 |
|
fi |
696 |
|
|
697 |
# confdefs.h avoids OS command line length limits that DEFS can exceed. |
ac_tool_prefix= |
698 |
rm -rf conftest* confdefs.h |
test -n "$host_alias" && ac_tool_prefix=$host_alias- |
699 |
# AIX cpp loses on an empty file, so make sure it contains at least a newline. |
|
700 |
echo > confdefs.h |
test "$silent" = yes && exec 6>/dev/null |
701 |
|
|
|
# A filename unique to this package, relative to the directory that |
|
|
# configure is in, which we can look for to find out if srcdir is correct. |
|
|
ac_unique_file= |
|
702 |
|
|
703 |
# Find the source files, if location was not specified. |
# Find the source files, if location was not specified. |
704 |
if test -z "$srcdir"; then |
if test -z "$srcdir"; then |
705 |
ac_srcdir_defaulted=yes |
ac_srcdir_defaulted=yes |
706 |
# Try the directory containing this script, then its parent. |
# Try the directory containing this script, then its parent. |
707 |
ac_prog=$0 |
ac_confdir=`(dirname "$0") 2>/dev/null || |
708 |
ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'` |
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
709 |
test "x$ac_confdir" = "x$ac_prog" && ac_confdir=. |
X"$0" : 'X\(//\)[^/]' \| \ |
710 |
|
X"$0" : 'X\(//\)$' \| \ |
711 |
|
X"$0" : 'X\(/\)' \| \ |
712 |
|
. : '\(.\)' 2>/dev/null || |
713 |
|
echo X"$0" | |
714 |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
715 |
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
716 |
|
/^X\(\/\/\)$/{ s//\1/; q; } |
717 |
|
/^X\(\/\).*/{ s//\1/; q; } |
718 |
|
s/.*/./; q'` |
719 |
srcdir=$ac_confdir |
srcdir=$ac_confdir |
720 |
if test ! -r $srcdir/$ac_unique_file; then |
if test ! -r $srcdir/$ac_unique_file; then |
721 |
srcdir=.. |
srcdir=.. |
725 |
fi |
fi |
726 |
if test ! -r $srcdir/$ac_unique_file; then |
if test ! -r $srcdir/$ac_unique_file; then |
727 |
if test "$ac_srcdir_defaulted" = yes; then |
if test "$ac_srcdir_defaulted" = yes; then |
728 |
{ echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; } |
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 |
729 |
|
{ (exit 1); exit 1; }; } |
730 |
else |
else |
731 |
{ echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; } |
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 |
732 |
|
{ (exit 1); exit 1; }; } |
733 |
fi |
fi |
734 |
fi |
fi |
735 |
srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'` |
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || |
736 |
|
{ echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 |
737 |
|
{ (exit 1); exit 1; }; } |
738 |
|
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` |
739 |
|
ac_env_build_alias_set=${build_alias+set} |
740 |
|
ac_env_build_alias_value=$build_alias |
741 |
|
ac_cv_env_build_alias_set=${build_alias+set} |
742 |
|
ac_cv_env_build_alias_value=$build_alias |
743 |
|
ac_env_host_alias_set=${host_alias+set} |
744 |
|
ac_env_host_alias_value=$host_alias |
745 |
|
ac_cv_env_host_alias_set=${host_alias+set} |
746 |
|
ac_cv_env_host_alias_value=$host_alias |
747 |
|
ac_env_target_alias_set=${target_alias+set} |
748 |
|
ac_env_target_alias_value=$target_alias |
749 |
|
ac_cv_env_target_alias_set=${target_alias+set} |
750 |
|
ac_cv_env_target_alias_value=$target_alias |
751 |
|
ac_env_CC_set=${CC+set} |
752 |
|
ac_env_CC_value=$CC |
753 |
|
ac_cv_env_CC_set=${CC+set} |
754 |
|
ac_cv_env_CC_value=$CC |
755 |
|
ac_env_CFLAGS_set=${CFLAGS+set} |
756 |
|
ac_env_CFLAGS_value=$CFLAGS |
757 |
|
ac_cv_env_CFLAGS_set=${CFLAGS+set} |
758 |
|
ac_cv_env_CFLAGS_value=$CFLAGS |
759 |
|
ac_env_LDFLAGS_set=${LDFLAGS+set} |
760 |
|
ac_env_LDFLAGS_value=$LDFLAGS |
761 |
|
ac_cv_env_LDFLAGS_set=${LDFLAGS+set} |
762 |
|
ac_cv_env_LDFLAGS_value=$LDFLAGS |
763 |
|
ac_env_CPPFLAGS_set=${CPPFLAGS+set} |
764 |
|
ac_env_CPPFLAGS_value=$CPPFLAGS |
765 |
|
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} |
766 |
|
ac_cv_env_CPPFLAGS_value=$CPPFLAGS |
767 |
|
ac_env_CPP_set=${CPP+set} |
768 |
|
ac_env_CPP_value=$CPP |
769 |
|
ac_cv_env_CPP_set=${CPP+set} |
770 |
|
ac_cv_env_CPP_value=$CPP |
771 |
|
|
772 |
|
# |
773 |
|
# Report the --help message. |
774 |
|
# |
775 |
|
if test "$ac_init_help" = "long"; then |
776 |
|
# Omit some internal or obsolete options to make the list less imposing. |
777 |
|
# This message is too long to be a string in the A/UX 3.1 sh. |
778 |
|
cat <<_ACEOF |
779 |
|
\`configure' configures this package to adapt to many kinds of systems. |
780 |
|
|
781 |
|
Usage: $0 [OPTION]... [VAR=VALUE]... |
782 |
|
|
783 |
|
To assign environment variables (e.g., CC, CFLAGS...), specify them as |
784 |
|
VAR=VALUE. See below for descriptions of some of the useful variables. |
785 |
|
|
786 |
|
Defaults for the options are specified in brackets. |
787 |
|
|
788 |
|
Configuration: |
789 |
|
-h, --help display this help and exit |
790 |
|
--help=short display options specific to this package |
791 |
|
--help=recursive display the short help of all the included packages |
792 |
|
-V, --version display version information and exit |
793 |
|
-q, --quiet, --silent do not print \`checking...' messages |
794 |
|
--cache-file=FILE cache test results in FILE [disabled] |
795 |
|
-C, --config-cache alias for \`--cache-file=config.cache' |
796 |
|
-n, --no-create do not create output files |
797 |
|
--srcdir=DIR find the sources in DIR [configure dir or \`..'] |
798 |
|
|
799 |
|
_ACEOF |
800 |
|
|
801 |
|
cat <<_ACEOF |
802 |
|
Installation directories: |
803 |
|
--prefix=PREFIX install architecture-independent files in PREFIX |
804 |
|
[$ac_default_prefix] |
805 |
|
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
806 |
|
[PREFIX] |
807 |
|
|
808 |
|
By default, \`make install' will install all the files in |
809 |
|
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
810 |
|
an installation prefix other than \`$ac_default_prefix' using \`--prefix', |
811 |
|
for instance \`--prefix=\$HOME'. |
812 |
|
|
813 |
|
For better control, use the options below. |
814 |
|
|
815 |
|
Fine tuning of the installation directories: |
816 |
|
--bindir=DIR user executables [EPREFIX/bin] |
817 |
|
--sbindir=DIR system admin executables [EPREFIX/sbin] |
818 |
|
--libexecdir=DIR program executables [EPREFIX/libexec] |
819 |
|
--datadir=DIR read-only architecture-independent data [PREFIX/share] |
820 |
|
--sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
821 |
|
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
822 |
|
--localstatedir=DIR modifiable single-machine data [PREFIX/var] |
823 |
|
--libdir=DIR object code libraries [EPREFIX/lib] |
824 |
|
--includedir=DIR C header files [PREFIX/include] |
825 |
|
--oldincludedir=DIR C header files for non-gcc [/usr/include] |
826 |
|
--infodir=DIR info documentation [PREFIX/info] |
827 |
|
--mandir=DIR man documentation [PREFIX/man] |
828 |
|
_ACEOF |
829 |
|
|
830 |
|
cat <<\_ACEOF |
831 |
|
|
832 |
|
X features: |
833 |
|
--x-includes=DIR X include files are in DIR |
834 |
|
--x-libraries=DIR X library files are in DIR |
835 |
|
|
836 |
|
System types: |
837 |
|
--build=BUILD configure for building on BUILD [guessed] |
838 |
|
--host=HOST cross-compile to build programs to run on HOST [BUILD] |
839 |
|
_ACEOF |
840 |
|
fi |
841 |
|
|
842 |
|
if test -n "$ac_init_help"; then |
843 |
|
|
844 |
|
cat <<\_ACEOF |
845 |
|
|
846 |
|
Optional Features: |
847 |
|
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
848 |
|
--enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
849 |
|
--enable-maxpage=XXXX will compile in a page table of size XXX (eg '--enable-maxpage=64*1024' would give 64K pages allowing 256 MB if pages are 4K each) |
850 |
|
--enable-holediv=XXXX will specify that 1/XXXX of the core should be used as the hole between the heap and relocatable memory area |
851 |
|
--enable-vssize=XXXX will compile in a value stack of size XXX |
852 |
|
--enable-bdssize=XXXX will compile in a binding stack of size XXX |
853 |
|
--enable-ihssize=XXXX will compile in a invocation history stack of size XXX |
854 |
|
--enable-frssize=XXXX will compile in a frame stack of size XXX |
855 |
|
--enable-cssize=XXXX produces executables with a C stack of size XXX |
856 |
|
--enable-machine=XXXX will force the use of one of the definitions in h/XXXX.defs |
857 |
|
--enable-immfix will enable an immediate fixnum table above the C stack |
858 |
|
--enable-notify=no will disable the automatic notification of gcl maintainers of successful builds/problems |
859 |
|
--enable-tkconfig=XXXX will force the use of a TK_CONFIG_PREFIX=XXXXX as place to look for tkConfig.sh and tclConfig.sh |
860 |
|
--enable-tclconfig=XXXX will force the use of a TCL_CONFIG_PREFIX=XXXXX as place to look for tclConfig.sh and tclConfig.sh |
861 |
|
--enable-infodir=XXXX will force the use of a INFO_DIR=XXXXX as place to look for info |
862 |
|
--enable-emacsdir=XXXX will manually specify the location for elisp files |
863 |
|
--enable-common-binary=yes forces use of lowest common denominator instruction sets, (default is =yes) |
864 |
|
--enable-japi=yes will compile in support for the JAPI graphical interface if present on your system |
865 |
|
--enable-xdr=yes will compile in support for XDR |
866 |
|
--enable-dlopen uses dlopen for loading objects, which can then not be retained in saved images |
867 |
|
|
868 |
|
--enable-statsysbfd uses a static sytem bfd library for loading and relocationing object files |
869 |
|
|
870 |
|
--enable-dynsysbfd uses a dynamic shared sytem bfd library for loading and relocationing object files |
871 |
|
|
872 |
|
--enable-locbfd uses a static bfd library built from this source tree for loading and relocationing object files |
873 |
|
|
874 |
|
--enable-custreloc uses custom gcl code if available for loading and relocationing object files |
875 |
|
|
876 |
|
--enable-debug builds gcl with -g in CFLAGS to enable running under gdb |
877 |
|
|
878 |
|
--enable-gprof builds gcl with -pg in CFLAGS to enable profiling with gprof |
879 |
|
|
880 |
|
--enable-static will link your GCL against static as opposed to shared system libraries |
881 |
|
--enable-pic builds gcl with -fPIC in CFLAGS |
882 |
|
|
883 |
|
--enable-dynsysgmp will link against the system libgmp3 overriding certain functions with patched versions from the local source |
884 |
|
|
885 |
|
--enable-readine enables command line completion via the readline library |
886 |
|
--enable-ansi builds a large gcl aiming for ansi compliance, |
887 |
|
--disable-ansi builds the smaller traditional CLtL1 image |
888 |
|
|
889 |
|
Optional Packages: |
890 |
|
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
891 |
|
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
892 |
|
--with-x use the X Window System |
893 |
|
|
894 |
|
Some influential environment variables: |
895 |
|
CC C compiler command |
896 |
|
CFLAGS C compiler flags |
897 |
|
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
898 |
|
nonstandard directory <lib dir> |
899 |
|
CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have |
900 |
|
headers in a nonstandard directory <include dir> |
901 |
|
CPP C preprocessor |
902 |
|
|
903 |
|
Use these variables to override the choices made by `configure' or to help |
904 |
|
it to find libraries and programs with nonstandard names/locations. |
905 |
|
|
906 |
|
_ACEOF |
907 |
|
fi |
908 |
|
|
909 |
|
if test "$ac_init_help" = "recursive"; then |
910 |
|
# If there are subdirs, report their specific --help. |
911 |
|
ac_popdir=`pwd` |
912 |
|
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
913 |
|
test -d $ac_dir || continue |
914 |
|
ac_builddir=. |
915 |
|
|
916 |
|
if test "$ac_dir" != .; then |
917 |
|
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
918 |
|
# A "../" for each directory in $ac_dir_suffix. |
919 |
|
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` |
920 |
|
else |
921 |
|
ac_dir_suffix= ac_top_builddir= |
922 |
|
fi |
923 |
|
|
924 |
|
case $srcdir in |
925 |
|
.) # No --srcdir option. We are building in place. |
926 |
|
ac_srcdir=. |
927 |
|
if test -z "$ac_top_builddir"; then |
928 |
|
ac_top_srcdir=. |
929 |
|
else |
930 |
|
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` |
931 |
|
fi ;; |
932 |
|
[\\/]* | ?:[\\/]* ) # Absolute path. |
933 |
|
ac_srcdir=$srcdir$ac_dir_suffix; |
934 |
|
ac_top_srcdir=$srcdir ;; |
935 |
|
*) # Relative path. |
936 |
|
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
937 |
|
ac_top_srcdir=$ac_top_builddir$srcdir ;; |
938 |
|
esac |
939 |
|
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be |
940 |
|
# absolute. |
941 |
|
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` |
942 |
|
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` |
943 |
|
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` |
944 |
|
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` |
945 |
|
|
946 |
|
cd $ac_dir |
947 |
|
# Check for guested configure; otherwise get Cygnus style configure. |
948 |
|
if test -f $ac_srcdir/configure.gnu; then |
949 |
|
echo |
950 |
|
$SHELL $ac_srcdir/configure.gnu --help=recursive |
951 |
|
elif test -f $ac_srcdir/configure; then |
952 |
|
echo |
953 |
|
$SHELL $ac_srcdir/configure --help=recursive |
954 |
|
elif test -f $ac_srcdir/configure.ac || |
955 |
|
test -f $ac_srcdir/configure.in; then |
956 |
|
echo |
957 |
|
$ac_configure --help |
958 |
|
else |
959 |
|
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
960 |
|
fi |
961 |
|
cd $ac_popdir |
962 |
|
done |
963 |
|
fi |
964 |
|
|
965 |
|
test -n "$ac_init_help" && exit 0 |
966 |
|
if $ac_init_version; then |
967 |
|
cat <<\_ACEOF |
968 |
|
|
969 |
|
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 |
970 |
|
Free Software Foundation, Inc. |
971 |
|
This configure script is free software; the Free Software Foundation |
972 |
|
gives unlimited permission to copy, distribute and modify it. |
973 |
|
_ACEOF |
974 |
|
exit 0 |
975 |
|
fi |
976 |
|
exec 5>config.log |
977 |
|
cat >&5 <<_ACEOF |
978 |
|
This file contains any messages produced by compilers while |
979 |
|
running configure, to aid debugging if configure makes a mistake. |
980 |
|
|
981 |
|
It was created by $as_me, which was |
982 |
|
generated by GNU Autoconf 2.56. Invocation command line was |
983 |
|
|
984 |
|
$ $0 $@ |
985 |
|
|
986 |
|
_ACEOF |
987 |
|
{ |
988 |
|
cat <<_ASUNAME |
989 |
|
## --------- ## |
990 |
|
## Platform. ## |
991 |
|
## --------- ## |
992 |
|
|
993 |
|
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` |
994 |
|
uname -m = `(uname -m) 2>/dev/null || echo unknown` |
995 |
|
uname -r = `(uname -r) 2>/dev/null || echo unknown` |
996 |
|
uname -s = `(uname -s) 2>/dev/null || echo unknown` |
997 |
|
uname -v = `(uname -v) 2>/dev/null || echo unknown` |
998 |
|
|
999 |
|
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` |
1000 |
|
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` |
1001 |
|
|
1002 |
|
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` |
1003 |
|
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` |
1004 |
|
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` |
1005 |
|
hostinfo = `(hostinfo) 2>/dev/null || echo unknown` |
1006 |
|
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` |
1007 |
|
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` |
1008 |
|
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` |
1009 |
|
|
1010 |
|
_ASUNAME |
1011 |
|
|
1012 |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1013 |
|
for as_dir in $PATH |
1014 |
|
do |
1015 |
|
IFS=$as_save_IFS |
1016 |
|
test -z "$as_dir" && as_dir=. |
1017 |
|
echo "PATH: $as_dir" |
1018 |
|
done |
1019 |
|
|
1020 |
|
} >&5 |
1021 |
|
|
1022 |
|
cat >&5 <<_ACEOF |
1023 |
|
|
1024 |
|
|
1025 |
|
## ----------- ## |
1026 |
|
## Core tests. ## |
1027 |
|
## ----------- ## |
1028 |
|
|
1029 |
|
_ACEOF |
1030 |
|
|
1031 |
|
|
1032 |
|
# Keep a trace of the command line. |
1033 |
|
# Strip out --no-create and --no-recursion so they do not pile up. |
1034 |
|
# Strip out --silent because we don't want to record it for future runs. |
1035 |
|
# Also quote any args containing shell meta-characters. |
1036 |
|
# Make two passes to allow for proper duplicate-argument suppression. |
1037 |
|
ac_configure_args= |
1038 |
|
ac_configure_args0= |
1039 |
|
ac_configure_args1= |
1040 |
|
ac_sep= |
1041 |
|
ac_must_keep_next=false |
1042 |
|
for ac_pass in 1 2 |
1043 |
|
do |
1044 |
|
for ac_arg |
1045 |
|
do |
1046 |
|
case $ac_arg in |
1047 |
|
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
1048 |
|
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
1049 |
|
| -silent | --silent | --silen | --sile | --sil) |
1050 |
|
continue ;; |
1051 |
|
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) |
1052 |
|
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
1053 |
|
esac |
1054 |
|
case $ac_pass in |
1055 |
|
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; |
1056 |
|
2) |
1057 |
|
ac_configure_args1="$ac_configure_args1 '$ac_arg'" |
1058 |
|
if test $ac_must_keep_next = true; then |
1059 |
|
ac_must_keep_next=false # Got value, back to normal. |
1060 |
|
else |
1061 |
|
case $ac_arg in |
1062 |
|
*=* | --config-cache | -C | -disable-* | --disable-* \ |
1063 |
|
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
1064 |
|
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
1065 |
|
| -with-* | --with-* | -without-* | --without-* | --x) |
1066 |
|
case "$ac_configure_args0 " in |
1067 |
|
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
1068 |
|
esac |
1069 |
|
;; |
1070 |
|
-* ) ac_must_keep_next=true ;; |
1071 |
|
esac |
1072 |
|
fi |
1073 |
|
ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" |
1074 |
|
# Get rid of the leading space. |
1075 |
|
ac_sep=" " |
1076 |
|
;; |
1077 |
|
esac |
1078 |
|
done |
1079 |
|
done |
1080 |
|
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } |
1081 |
|
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } |
1082 |
|
|
1083 |
|
# When interrupted or exit'd, cleanup temporary files, and complete |
1084 |
|
# config.log. We remove comments because anyway the quotes in there |
1085 |
|
# would cause problems or look ugly. |
1086 |
|
# WARNING: Be sure not to use single quotes in there, as some shells, |
1087 |
|
# such as our DU 5.0 friend, will then `close' the trap. |
1088 |
|
trap 'exit_status=$? |
1089 |
|
# Save into config.log some information that might help in debugging. |
1090 |
|
{ |
1091 |
|
echo |
1092 |
|
|
1093 |
|
cat <<\_ASBOX |
1094 |
|
## ---------------- ## |
1095 |
|
## Cache variables. ## |
1096 |
|
## ---------------- ## |
1097 |
|
_ASBOX |
1098 |
|
echo |
1099 |
|
# The following way of writing the cache mishandles newlines in values, |
1100 |
|
{ |
1101 |
|
(set) 2>&1 | |
1102 |
|
case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in |
1103 |
|
*ac_space=\ *) |
1104 |
|
sed -n \ |
1105 |
|
"s/'"'"'/'"'"'\\\\'"'"''"'"'/g; |
1106 |
|
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" |
1107 |
|
;; |
1108 |
|
*) |
1109 |
|
sed -n \ |
1110 |
|
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
1111 |
|
;; |
1112 |
|
esac; |
1113 |
|
} |
1114 |
|
echo |
1115 |
|
|
1116 |
|
cat <<\_ASBOX |
1117 |
|
## ----------------- ## |
1118 |
|
## Output variables. ## |
1119 |
|
## ----------------- ## |
1120 |
|
_ASBOX |
1121 |
|
echo |
1122 |
|
for ac_var in $ac_subst_vars |
1123 |
|
do |
1124 |
|
eval ac_val=$`echo $ac_var` |
1125 |
|
echo "$ac_var='"'"'$ac_val'"'"'" |
1126 |
|
done | sort |
1127 |
|
echo |
1128 |
|
|
1129 |
|
if test -n "$ac_subst_files"; then |
1130 |
|
cat <<\_ASBOX |
1131 |
|
## ------------- ## |
1132 |
|
## Output files. ## |
1133 |
|
## ------------- ## |
1134 |
|
_ASBOX |
1135 |
|
echo |
1136 |
|
for ac_var in $ac_subst_files |
1137 |
|
do |
1138 |
|
eval ac_val=$`echo $ac_var` |
1139 |
|
echo "$ac_var='"'"'$ac_val'"'"'" |
1140 |
|
done | sort |
1141 |
|
echo |
1142 |
|
fi |
1143 |
|
|
1144 |
|
if test -s confdefs.h; then |
1145 |
|
cat <<\_ASBOX |
1146 |
|
## ----------- ## |
1147 |
|
## confdefs.h. ## |
1148 |
|
## ----------- ## |
1149 |
|
_ASBOX |
1150 |
|
echo |
1151 |
|
sed "/^$/d" confdefs.h | sort |
1152 |
|
echo |
1153 |
|
fi |
1154 |
|
test "$ac_signal" != 0 && |
1155 |
|
echo "$as_me: caught signal $ac_signal" |
1156 |
|
echo "$as_me: exit $exit_status" |
1157 |
|
} >&5 |
1158 |
|
rm -f core core.* *.core && |
1159 |
|
rm -rf conftest* confdefs* conf$$* $ac_clean_files && |
1160 |
|
exit $exit_status |
1161 |
|
' 0 |
1162 |
|
for ac_signal in 1 2 13 15; do |
1163 |
|
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal |
1164 |
|
done |
1165 |
|
ac_signal=0 |
1166 |
|
|
1167 |
|
# confdefs.h avoids OS command line length limits that DEFS can exceed. |
1168 |
|
rm -rf conftest* confdefs.h |
1169 |
|
# AIX cpp loses on an empty file, so make sure it contains at least a newline. |
1170 |
|
echo >confdefs.h |
1171 |
|
|
1172 |
|
# Predefined preprocessor variables. |
1173 |
|
|
1174 |
|
cat >>confdefs.h <<_ACEOF |
1175 |
|
#define PACKAGE_NAME "$PACKAGE_NAME" |
1176 |
|
_ACEOF |
1177 |
|
|
1178 |
|
|
1179 |
|
cat >>confdefs.h <<_ACEOF |
1180 |
|
#define PACKAGE_TARNAME "$PACKAGE_TARNAME" |
1181 |
|
_ACEOF |
1182 |
|
|
1183 |
|
|
1184 |
|
cat >>confdefs.h <<_ACEOF |
1185 |
|
#define PACKAGE_VERSION "$PACKAGE_VERSION" |
1186 |
|
_ACEOF |
1187 |
|
|
1188 |
|
|
1189 |
|
cat >>confdefs.h <<_ACEOF |
1190 |
|
#define PACKAGE_STRING "$PACKAGE_STRING" |
1191 |
|
_ACEOF |
1192 |
|
|
1193 |
|
|
1194 |
|
cat >>confdefs.h <<_ACEOF |
1195 |
|
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
1196 |
|
_ACEOF |
1197 |
|
|
1198 |
|
|
1199 |
|
# Let the site file select an alternate cache file if it wants to. |
1200 |
# Prefer explicitly selected file to automatically selected ones. |
# Prefer explicitly selected file to automatically selected ones. |
1201 |
if test -z "$CONFIG_SITE"; then |
if test -z "$CONFIG_SITE"; then |
1202 |
if test "x$prefix" != xNONE; then |
if test "x$prefix" != xNONE; then |
1207 |
fi |
fi |
1208 |
for ac_site_file in $CONFIG_SITE; do |
for ac_site_file in $CONFIG_SITE; do |
1209 |
if test -r "$ac_site_file"; then |
if test -r "$ac_site_file"; then |
1210 |
echo "loading site script $ac_site_file" |
{ echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 |
1211 |
|
echo "$as_me: loading site script $ac_site_file" >&6;} |
1212 |
|
sed 's/^/| /' "$ac_site_file" >&5 |
1213 |
. "$ac_site_file" |
. "$ac_site_file" |
1214 |
fi |
fi |
1215 |
done |
done |
1216 |
|
|
1217 |
if test -r "$cache_file"; then |
if test -r "$cache_file"; then |
1218 |
echo "loading cache $cache_file" |
# Some versions of bash will fail to source /dev/null (special |
1219 |
. $cache_file |
# files actually), so we avoid doing that. |
1220 |
|
if test -f "$cache_file"; then |
1221 |
|
{ echo "$as_me:$LINENO: loading cache $cache_file" >&5 |
1222 |
|
echo "$as_me: loading cache $cache_file" >&6;} |
1223 |
|
case $cache_file in |
1224 |
|
[\\/]* | ?:[\\/]* ) . $cache_file;; |
1225 |
|
*) . ./$cache_file;; |
1226 |
|
esac |
1227 |
|
fi |
1228 |
else |
else |
1229 |
echo "creating cache $cache_file" |
{ echo "$as_me:$LINENO: creating cache $cache_file" >&5 |
1230 |
> $cache_file |
echo "$as_me: creating cache $cache_file" >&6;} |
1231 |
|
>$cache_file |
1232 |
|
fi |
1233 |
|
|
1234 |
|
# Check that the precious variables saved in the cache have kept the same |
1235 |
|
# value. |
1236 |
|
ac_cache_corrupted=false |
1237 |
|
for ac_var in `(set) 2>&1 | |
1238 |
|
sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do |
1239 |
|
eval ac_old_set=\$ac_cv_env_${ac_var}_set |
1240 |
|
eval ac_new_set=\$ac_env_${ac_var}_set |
1241 |
|
eval ac_old_val="\$ac_cv_env_${ac_var}_value" |
1242 |
|
eval ac_new_val="\$ac_env_${ac_var}_value" |
1243 |
|
case $ac_old_set,$ac_new_set in |
1244 |
|
set,) |
1245 |
|
{ echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
1246 |
|
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
1247 |
|
ac_cache_corrupted=: ;; |
1248 |
|
,set) |
1249 |
|
{ echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 |
1250 |
|
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
1251 |
|
ac_cache_corrupted=: ;; |
1252 |
|
,);; |
1253 |
|
*) |
1254 |
|
if test "x$ac_old_val" != "x$ac_new_val"; then |
1255 |
|
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 |
1256 |
|
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
1257 |
|
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5 |
1258 |
|
echo "$as_me: former value: $ac_old_val" >&2;} |
1259 |
|
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5 |
1260 |
|
echo "$as_me: current value: $ac_new_val" >&2;} |
1261 |
|
ac_cache_corrupted=: |
1262 |
|
fi;; |
1263 |
|
esac |
1264 |
|
# Pass precious variables to config.status. |
1265 |
|
if test "$ac_new_set" = set; then |
1266 |
|
case $ac_new_val in |
1267 |
|
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) |
1268 |
|
ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
1269 |
|
*) ac_arg=$ac_var=$ac_new_val ;; |
1270 |
|
esac |
1271 |
|
case " $ac_configure_args " in |
1272 |
|
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
1273 |
|
*) ac_configure_args="$ac_configure_args '$ac_arg'" ;; |
1274 |
|
esac |
1275 |
|
fi |
1276 |
|
done |
1277 |
|
if $ac_cache_corrupted; then |
1278 |
|
{ echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 |
1279 |
|
echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
1280 |
|
{ { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 |
1281 |
|
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} |
1282 |
|
{ (exit 1); exit 1; }; } |
1283 |
fi |
fi |
1284 |
|
|
1285 |
ac_ext=c |
ac_ext=c |
|
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. |
|
1286 |
ac_cpp='$CPP $CPPFLAGS' |
ac_cpp='$CPP $CPPFLAGS' |
1287 |
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
1288 |
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
1289 |
cross_compiling=$ac_cv_prog_cc_cross |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
1290 |
|
|
1291 |
ac_exeext= |
|
1292 |
ac_objext=o |
|
1293 |
if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then |
|
1294 |
# Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu. |
|
1295 |
if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then |
|
1296 |
ac_n= ac_c=' |
|
1297 |
' ac_t=' ' |
|
1298 |
else |
|
1299 |
ac_n=-n ac_c= ac_t= |
|
|
fi |
|
|
else |
|
|
ac_n= ac_c='\c' ac_t= |
|
|
fi |
|
1300 |
|
|
1301 |
|
|
1302 |
|
|
1303 |
|
|
1304 |
|
|
1305 |
|
|
1306 |
|
|
1307 |
|
|
1308 |
|
|
1309 |
|
ac_config_headers="$ac_config_headers h/gclincl.h" |
1310 |
|
|
1311 |
|
|
1312 |
VERSION=`cat majvers`.`cat minvers` |
VERSION=`cat majvers`.`cat minvers` |
1313 |
|
|
1314 |
|
|
1323 |
# Check whether --enable-maxpage or --disable-maxpage was given. |
# Check whether --enable-maxpage or --disable-maxpage was given. |
1324 |
if test "${enable_maxpage+set}" = set; then |
if test "${enable_maxpage+set}" = set; then |
1325 |
enableval="$enable_maxpage" |
enableval="$enable_maxpage" |
1326 |
: |
|
1327 |
else |
else |
1328 |
enable_maxpage=262144 |
enable_maxpage=262144 |
1329 |
fi |
fi; |
|
|
|
1330 |
#AC_DEFINE_UNQUOTED(MAXPAGE,$enable_maxpage) |
#AC_DEFINE_UNQUOTED(MAXPAGE,$enable_maxpage) |
1331 |
|
|
1332 |
|
|
1333 |
# Check whether --enable-holediv or --disable-holediv was given. |
# Check whether --enable-holediv or --disable-holediv was given. |
1334 |
if test "${enable_holediv+set}" = set; then |
if test "${enable_holediv+set}" = set; then |
1335 |
enableval="$enable_holediv" |
enableval="$enable_holediv" |
1336 |
: |
|
1337 |
else |
else |
1338 |
enable_holediv=4 |
enable_holediv=4 |
1339 |
fi |
fi; |
1340 |
|
cat >>confdefs.h <<_ACEOF |
|
cat >> confdefs.h <<EOF |
|
1341 |
#define HOLEDIV $enable_holediv |
#define HOLEDIV $enable_holediv |
1342 |
EOF |
_ACEOF |
1343 |
|
|
1344 |
|
|
1345 |
|
|
1346 |
# Check whether --enable-vssize or --disable-vssize was given. |
# Check whether --enable-vssize or --disable-vssize was given. |
1347 |
if test "${enable_vssize+set}" = set; then |
if test "${enable_vssize+set}" = set; then |
1348 |
enableval="$enable_vssize" |
enableval="$enable_vssize" |
1349 |
: |
|
1350 |
else |
else |
1351 |
enable_vssize=131072 |
enable_vssize=131072 |
1352 |
fi |
fi; |
1353 |
|
cat >>confdefs.h <<_ACEOF |
|
cat >> confdefs.h <<EOF |
|
1354 |
#define VSSIZE $enable_vssize |
#define VSSIZE $enable_vssize |
1355 |
EOF |
_ACEOF |
1356 |
|
|
1357 |
|
|
1358 |
|
|
1359 |
# Check whether --enable-bdssize or --disable-bdssize was given. |
# Check whether --enable-bdssize or --disable-bdssize was given. |
1360 |
if test "${enable_bdssize+set}" = set; then |
if test "${enable_bdssize+set}" = set; then |
1361 |
enableval="$enable_bdssize" |
enableval="$enable_bdssize" |
1362 |
: |
|
1363 |
else |
else |
1364 |
enable_bdssize=2048 |
enable_bdssize=2048 |
1365 |
fi |
fi; |
1366 |
|
cat >>confdefs.h <<_ACEOF |
|
cat >> confdefs.h <<EOF |
|
1367 |
#define BDSSIZE $enable_bdssize |
#define BDSSIZE $enable_bdssize |
1368 |
EOF |
_ACEOF |
1369 |
|
|
1370 |
|
|
1371 |
|
|
1372 |
# Check whether --enable-ihssize or --disable-ihssize was given. |
# Check whether --enable-ihssize or --disable-ihssize was given. |
1373 |
if test "${enable_ihssize+set}" = set; then |
if test "${enable_ihssize+set}" = set; then |
1374 |
enableval="$enable_ihssize" |
enableval="$enable_ihssize" |
1375 |
: |
|
1376 |
else |
else |
1377 |
enable_ihssize=4096 |
enable_ihssize=4096 |
1378 |
fi |
fi; |
1379 |
|
cat >>confdefs.h <<_ACEOF |
|
cat >> confdefs.h <<EOF |
|
1380 |
#define IHSSIZE $enable_ihssize |
#define IHSSIZE $enable_ihssize |
1381 |
EOF |
_ACEOF |
1382 |
|
|
1383 |
|
|
1384 |
# Check whether --enable-frssize or --disable-frssize was given. |
# Check whether --enable-frssize or --disable-frssize was given. |
1385 |
if test "${enable_frssize+set}" = set; then |
if test "${enable_frssize+set}" = set; then |
1386 |
enableval="$enable_frssize" |
enableval="$enable_frssize" |
1387 |
: |
|
1388 |
else |
else |
1389 |
enable_frssize=4096 |
enable_frssize=4096 |
1390 |
fi |
fi; |
1391 |
|
cat >>confdefs.h <<_ACEOF |
|
cat >> confdefs.h <<EOF |
|
1392 |
#define FRSSIZE $enable_frssize |
#define FRSSIZE $enable_frssize |
1393 |
EOF |
_ACEOF |
1394 |
|
|
1395 |
|
|
1396 |
# Check whether --enable-cssize or --disable-cssize was given. |
# Check whether --enable-cssize or --disable-cssize was given. |
1397 |
if test "${enable_cssize+set}" = set; then |
if test "${enable_cssize+set}" = set; then |
1398 |
enableval="$enable_cssize" |
enableval="$enable_cssize" |
1399 |
: |
|
1400 |
else |
else |
1401 |
enable_cssize=1073741824 |
enable_cssize=1073741824 |
1402 |
fi |
fi; |
|
|
|
1403 |
#AC_DEFINE_UNQUOTED(CSSIZE,$enable_cssize) |
#AC_DEFINE_UNQUOTED(CSSIZE,$enable_cssize) |
1404 |
|
|
1405 |
# Check whether --enable-machine or --disable-machine was given. |
# Check whether --enable-machine or --disable-machine was given. |
1406 |
if test "${enable_machine+set}" = set; then |
if test "${enable_machine+set}" = set; then |
1407 |
enableval="$enable_machine" |
enableval="$enable_machine" |
1408 |
enable_machine=$enableval |
enable_machine=$enableval |
1409 |
else |
else |
1410 |
enable_machine="" |
enable_machine="" |
1411 |
fi |
fi; |
|
|
|
1412 |
|
|
1413 |
# Check whether --enable-immfix or --disable-immfix was given. |
# Check whether --enable-immfix or --disable-immfix was given. |
1414 |
if test "${enable_immfix+set}" = set; then |
if test "${enable_immfix+set}" = set; then |
1415 |
enableval="$enable_immfix" |
enableval="$enable_immfix" |
1416 |
: |
|
1417 |
else |
else |
1418 |
enable_immfix=yes |
enable_immfix=yes |
1419 |
fi |
fi; |
|
|
|
1420 |
|
|
1421 |
#AC_ARG_ENABLE(gmp,[ --enable-gmp=no will disable use of GMP gnu multiprecision arithmetic, (default is =yes)] , |
#AC_ARG_ENABLE(gmp,[ --enable-gmp=no will disable use of GMP gnu multiprecision arithmetic, (default is =yes)] , |
1422 |
#[use_gmp=$enableval],[use_gmp="yes"]) |
#[use_gmp=$enableval],[use_gmp="yes"]) |
1429 |
enable_notify=$enableval |
enable_notify=$enableval |
1430 |
else |
else |
1431 |
enable_notify="yes" |
enable_notify="yes" |
1432 |
fi |
fi; |
|
|
|
1433 |
|
|
1434 |
# Check whether --enable-tkconfig or --disable-tkconfig was given. |
# Check whether --enable-tkconfig or --disable-tkconfig was given. |
1435 |
if test "${enable_tkconfig+set}" = set; then |
if test "${enable_tkconfig+set}" = set; then |
1437 |
TK_CONFIG_PREFIX=$enableval |
TK_CONFIG_PREFIX=$enableval |
1438 |
else |
else |
1439 |
TK_CONFIG_PREFIX="unknown" |
TK_CONFIG_PREFIX="unknown" |
1440 |
fi |
fi; |
|
|
|
1441 |
|
|
1442 |
|
|
1443 |
# Check whether --enable-tclconfig or --disable-tclconfig was given. |
# Check whether --enable-tclconfig or --disable-tclconfig was given. |
1446 |
TCL_CONFIG_PREFIX=$enableval |
TCL_CONFIG_PREFIX=$enableval |
1447 |
else |
else |
1448 |
TCL_CONFIG_PREFIX="unknown" |
TCL_CONFIG_PREFIX="unknown" |
1449 |
fi |
fi; |
|
|
|
1450 |
|
|
1451 |
# Check whether --enable-infodir or --disable-infodir was given. |
# Check whether --enable-infodir or --disable-infodir was given. |
1452 |
if test "${enable_infodir+set}" = set; then |
if test "${enable_infodir+set}" = set; then |
1454 |
INFO_DIR=$enableval |
INFO_DIR=$enableval |
1455 |
else |
else |
1456 |
INFO_DIR="unknown" |
INFO_DIR="unknown" |
1457 |
fi |
fi; |
|
|
|
1458 |
INFO_DIR=`eval echo $INFO_DIR/` |
INFO_DIR=`eval echo $INFO_DIR/` |
1459 |
|
|
1460 |
# Check whether --enable-emacsdir or --disable-emacsdir was given. |
# Check whether --enable-emacsdir or --disable-emacsdir was given. |
1463 |
EMACS_SITE_LISP=$enableval |
EMACS_SITE_LISP=$enableval |
1464 |
else |
else |
1465 |
EMACS_SITE_LISP="unknown" |
EMACS_SITE_LISP="unknown" |
1466 |
fi |
fi; |
|
|
|
1467 |
EMACS_SITE_LISP=`eval echo $EMACS_SITE_LISP` |
EMACS_SITE_LISP=`eval echo $EMACS_SITE_LISP` |
1468 |
|
|
1469 |
# Check whether --enable-common-binary or --disable-common-binary was given. |
# Check whether --enable-common-binary or --disable-common-binary was given. |
1472 |
use_common_binary=$enableval |
use_common_binary=$enableval |
1473 |
else |
else |
1474 |
use_common_binary="yes" |
use_common_binary="yes" |
1475 |
fi |
fi; |
|
|
|
1476 |
|
|
1477 |
# Check whether --enable-japi or --disable-japi was given. |
# Check whether --enable-japi or --disable-japi was given. |
1478 |
if test "${enable_japi+set}" = set; then |
if test "${enable_japi+set}" = set; then |
1480 |
try_japi=$enableval |
try_japi=$enableval |
1481 |
else |
else |
1482 |
try_japi="no" |
try_japi="no" |
1483 |
fi |
fi; |
|
|
|
1484 |
|
|
1485 |
# Check whether --enable-xdr or --disable-xdr was given. |
# Check whether --enable-xdr or --disable-xdr was given. |
1486 |
if test "${enable_xdr+set}" = set; then |
if test "${enable_xdr+set}" = set; then |
1488 |
try_xdr=$enableval |
try_xdr=$enableval |
1489 |
else |
else |
1490 |
try_xdr="no" |
try_xdr="no" |
1491 |
fi |
fi; |
|
|
|
1492 |
|
|
1493 |
# |
# |
1494 |
# Host information |
# Host information |
1495 |
# |
# |
1496 |
|
|
1497 |
|
|
1505 |
ac_aux_dir=$ac_dir |
ac_aux_dir=$ac_dir |
1506 |
ac_install_sh="$ac_aux_dir/install.sh -c" |
ac_install_sh="$ac_aux_dir/install.sh -c" |
1507 |
break |
break |
1508 |
|
elif test -f $ac_dir/shtool; then |
1509 |
|
ac_aux_dir=$ac_dir |
1510 |
|
ac_install_sh="$ac_aux_dir/shtool install -c" |
1511 |
|
break |
1512 |
fi |
fi |
1513 |
done |
done |
1514 |
if test -z "$ac_aux_dir"; then |
if test -z "$ac_aux_dir"; then |
1515 |
{ echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; } |
{ { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 |
1516 |
fi |
echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} |
1517 |
ac_config_guess=$ac_aux_dir/config.guess |
{ (exit 1); exit 1; }; } |
1518 |
ac_config_sub=$ac_aux_dir/config.sub |
fi |
1519 |
ac_configure=$ac_aux_dir/configure # This should be Cygnus configure. |
ac_config_guess="$SHELL $ac_aux_dir/config.guess" |
1520 |
|
ac_config_sub="$SHELL $ac_aux_dir/config.sub" |
1521 |
|
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. |
1522 |
|
|
1523 |
# Make sure we can run config.sub. |
# Make sure we can run config.sub. |
1524 |
if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then : |
$ac_config_sub sun4 >/dev/null 2>&1 || |
1525 |
else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; } |
{ { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 |
1526 |
fi |
echo "$as_me: error: cannot run $ac_config_sub" >&2;} |
1527 |
|
{ (exit 1); exit 1; }; } |
1528 |
echo $ac_n "checking host system type""... $ac_c" 1>&6 |
|
1529 |
echo "configure:826: checking host system type" >&5 |
echo "$as_me:$LINENO: checking build system type" >&5 |
1530 |
|
echo $ECHO_N "checking build system type... $ECHO_C" >&6 |
1531 |
|
if test "${ac_cv_build+set}" = set; then |
1532 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1533 |
|
else |
1534 |
|
ac_cv_build_alias=$build_alias |
1535 |
|
test -z "$ac_cv_build_alias" && |
1536 |
|
ac_cv_build_alias=`$ac_config_guess` |
1537 |
|
test -z "$ac_cv_build_alias" && |
1538 |
|
{ { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 |
1539 |
|
echo "$as_me: error: cannot guess build type; you must specify one" >&2;} |
1540 |
|
{ (exit 1); exit 1; }; } |
1541 |
|
ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || |
1542 |
|
{ { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 |
1543 |
|
echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} |
1544 |
|
{ (exit 1); exit 1; }; } |
1545 |
|
|
1546 |
|
fi |
1547 |
|
echo "$as_me:$LINENO: result: $ac_cv_build" >&5 |
1548 |
|
echo "${ECHO_T}$ac_cv_build" >&6 |
1549 |
|
build=$ac_cv_build |
1550 |
|
build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
1551 |
|
build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
1552 |
|
build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
1553 |
|
|
1554 |
|
|
1555 |
|
echo "$as_me:$LINENO: checking host system type" >&5 |
1556 |
|
echo $ECHO_N "checking host system type... $ECHO_C" >&6 |
1557 |
|
if test "${ac_cv_host+set}" = set; then |
1558 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1559 |
|
else |
1560 |
|
ac_cv_host_alias=$host_alias |
1561 |
|
test -z "$ac_cv_host_alias" && |
1562 |
|
ac_cv_host_alias=$ac_cv_build_alias |
1563 |
|
ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || |
1564 |
|
{ { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 |
1565 |
|
echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} |
1566 |
|
{ (exit 1); exit 1; }; } |
1567 |
|
|
1568 |
|
fi |
1569 |
|
echo "$as_me:$LINENO: result: $ac_cv_host" >&5 |
1570 |
|
echo "${ECHO_T}$ac_cv_host" >&6 |
1571 |
|
host=$ac_cv_host |
1572 |
|
host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
1573 |
|
host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
1574 |
|
host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
1575 |
|
|
|
host_alias=$host |
|
|
case "$host_alias" in |
|
|
NONE) |
|
|
case $nonopt in |
|
|
NONE) |
|
|
if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then : |
|
|
else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; } |
|
|
fi ;; |
|
|
*) host_alias=$nonopt ;; |
|
|
esac ;; |
|
|
esac |
|
|
|
|
|
host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias` |
|
|
host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
|
|
host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
|
|
host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
|
|
echo "$ac_t""$host" 1>&6 |
|
1576 |
|
|
1577 |
canonical=$host |
canonical=$host |
1578 |
my_host_kernel=`echo $host_os | awk '{j=split($1,A,"-");print A[1]}'` |
my_host_kernel=`echo $host_os | awk '{j=split($1,A,"-");print A[1]}'` |
1579 |
my_host_system=`echo $host_os | awk '{j=split($1,A,"-");if (j>=2) print A[2]}'` |
my_host_system=`echo $host_os | awk '{j=split($1,A,"-");if (j>=2) print A[2]}'` |
1580 |
cat >> confdefs.h <<EOF |
cat >>confdefs.h <<_ACEOF |
1581 |
#define HOST_CPU "`echo $host_cpu | awk '{print toupper($0)}'`" |
#define HOST_CPU "`echo $host_cpu | awk '{print toupper($0)}'`" |
1582 |
EOF |
_ACEOF |
1583 |
|
|
1584 |
cat >> confdefs.h <<EOF |
cat >>confdefs.h <<_ACEOF |
1585 |
#define HOST_KERNEL "`echo $my_host_kernel | awk '{print toupper($0)}'`" |
#define HOST_KERNEL "`echo $my_host_kernel | awk '{print toupper($0)}'`" |
1586 |
EOF |
_ACEOF |
1587 |
|
|
1588 |
if test "$my_host_system" != "" ; then |
if test "$my_host_system" != "" ; then |
1589 |
cat >> confdefs.h <<EOF |
cat >>confdefs.h <<_ACEOF |
1590 |
#define HOST_SYSTEM "`echo $my_host_system | awk '{print toupper($0)}'`" |
#define HOST_SYSTEM "`echo $my_host_system | awk '{print toupper($0)}'`" |
1591 |
EOF |
_ACEOF |
1592 |
|
|
1593 |
fi |
fi |
1594 |
echo "$ac_t""host=$host" 1>&6 |
echo "$as_me:$LINENO: result: host=$host" >&5 |
1595 |
|
echo "${ECHO_T}host=$host" >&6 |
1596 |
|
|
1597 |
PROCESSOR_FLAGS=${PROCESSOR_FLAGS:-""} |
PROCESSOR_FLAGS=${PROCESSOR_FLAGS:-""} |
1598 |
LD_STACK_FLAGS="" |
LD_STACK_FLAGS="" |
1646 |
|
|
1647 |
powerpc-*-darwin*) |
powerpc-*-darwin*) |
1648 |
use=powerpc-macosx;; |
use=powerpc-macosx;; |
1649 |
|
|
1650 |
alpha-dec-osf) |
alpha-dec-osf) |
1651 |
use=alpha-osf1;; |
use=alpha-osf1;; |
1652 |
|
|
1677 |
IRIX3*) |
IRIX3*) |
1678 |
use=sgi4d;; |
use=sgi4d;; |
1679 |
esac ;; |
esac ;; |
1680 |
|
|
1681 |
|
|
1682 |
m68k-apple-aux*) |
m68k-apple-aux*) |
1683 |
use=mac2;; |
use=mac2;; |
1760 |
echo "Linker stack size flags added: $LD_STACK_FLAGS" |
echo "Linker stack size flags added: $LD_STACK_FLAGS" |
1761 |
fi |
fi |
1762 |
echo "Executable C stack size will be $CSSIZE" |
echo "Executable C stack size will be $CSSIZE" |
1763 |
cat >> confdefs.h <<EOF |
cat >>confdefs.h <<_ACEOF |
1764 |
#define CSSIZE $enable_cssize |
#define CSSIZE $enable_cssize |
1765 |
EOF |
_ACEOF |
1766 |
|
|
1767 |
|
|
1768 |
use=mingw;; |
use=mingw;; |
1777 |
# 'ld -Z' means disable W^X |
# 'ld -Z' means disable W^X |
1778 |
TLDFLAGS="$TLDFLAGS -Z" |
TLDFLAGS="$TLDFLAGS -Z" |
1779 |
use=FreeBSD;; |
use=FreeBSD;; |
1780 |
|
|
1781 |
esac |
esac |
1782 |
|
|
1783 |
|
|
1794 |
def_pic="no"; |
def_pic="no"; |
1795 |
def_static="no"; |
def_static="no"; |
1796 |
def_static="debug"; |
def_static="debug"; |
1797 |
case $use in |
case $use in |
1798 |
*linux) |
*linux) |
1799 |
ln -snf linux.defs h/$use.defs; |
ln -snf linux.defs h/$use.defs; |
1800 |
case $use in |
case $use in |
1804 |
# mips*) |
# mips*) |
1805 |
# def_dlopen="yes" ; def_statsysbfd="no" ;; |
# def_dlopen="yes" ; def_statsysbfd="no" ;; |
1806 |
# def_static -- Function descriptors are currently realized at runtime in a non-reproducible fashion |
# def_static -- Function descriptors are currently realized at runtime in a non-reproducible fashion |
1807 |
# on these architectures -- CM |
# on these architectures -- CM |
1808 |
ia64*) |
ia64*) |
1809 |
def_dlopen="yes" ; def_statsysbfd="no" ; def_static="no" ;; |
def_dlopen="yes" ; def_statsysbfd="no" ; def_static="no" ;; |
1810 |
hppa*) |
hppa*) |
1819 |
# Check whether --enable-dlopen or --disable-dlopen was given. |
# Check whether --enable-dlopen or --disable-dlopen was given. |
1820 |
if test "${enable_dlopen+set}" = set; then |
if test "${enable_dlopen+set}" = set; then |
1821 |
enableval="$enable_dlopen" |
enableval="$enable_dlopen" |
1822 |
: |
|
1823 |
else |
else |
1824 |
enable_dlopen="$def_dlopen" |
enable_dlopen="$def_dlopen" |
1825 |
fi |
fi; |
|
|
|
1826 |
# Check whether --enable-statsysbfd or --disable-statsysbfd was given. |
# Check whether --enable-statsysbfd or --disable-statsysbfd was given. |
1827 |
if test "${enable_statsysbfd+set}" = set; then |
if test "${enable_statsysbfd+set}" = set; then |
1828 |
enableval="$enable_statsysbfd" |
enableval="$enable_statsysbfd" |
1829 |
: |
|
1830 |
else |
else |
1831 |
enable_statsysbfd="$def_statsysbfd" |
enable_statsysbfd="$def_statsysbfd" |
1832 |
fi |
fi; |
|
|
|
1833 |
# Check whether --enable-dynsysbfd or --disable-dynsysbfd was given. |
# Check whether --enable-dynsysbfd or --disable-dynsysbfd was given. |
1834 |
if test "${enable_dynsysbfd+set}" = set; then |
if test "${enable_dynsysbfd+set}" = set; then |
1835 |
enableval="$enable_dynsysbfd" |
enableval="$enable_dynsysbfd" |
1836 |
: |
|
1837 |
else |
else |
1838 |
enable_dynsysbfd="no" |
enable_dynsysbfd="no" |
1839 |
fi |
fi; |
|
|
|
1840 |
# Check whether --enable-locbfd or --disable-locbfd was given. |
# Check whether --enable-locbfd or --disable-locbfd was given. |
1841 |
if test "${enable_locbfd+set}" = set; then |
if test "${enable_locbfd+set}" = set; then |
1842 |
enableval="$enable_locbfd" |
enableval="$enable_locbfd" |
1843 |
: |
|
1844 |
else |
else |
1845 |
enable_locbfd="$def_locbfd" |
enable_locbfd="$def_locbfd" |
1846 |
fi |
fi; |
|
|
|
1847 |
# Check whether --enable-custreloc or --disable-custreloc was given. |
# Check whether --enable-custreloc or --disable-custreloc was given. |
1848 |
if test "${enable_custreloc+set}" = set; then |
if test "${enable_custreloc+set}" = set; then |
1849 |
enableval="$enable_custreloc" |
enableval="$enable_custreloc" |
1850 |
: |
|
1851 |
else |
else |
1852 |
enable_custreloc="$def_custreloc" |
enable_custreloc="$def_custreloc" |
1853 |
fi |
fi; |
|
|
|
1854 |
# Check whether --enable-debug or --disable-debug was given. |
# Check whether --enable-debug or --disable-debug was given. |
1855 |
if test "${enable_debug+set}" = set; then |
if test "${enable_debug+set}" = set; then |
1856 |
enableval="$enable_debug" |
enableval="$enable_debug" |
1857 |
: |
|
1858 |
else |
else |
1859 |
enable_debug="$def_debug" |
enable_debug="$def_debug" |
1860 |
fi |
fi; |
|
|
|
1861 |
# Check whether --enable-gprof or --disable-gprof was given. |
# Check whether --enable-gprof or --disable-gprof was given. |
1862 |
if test "${enable_gprof+set}" = set; then |
if test "${enable_gprof+set}" = set; then |
1863 |
enableval="$enable_gprof" |
enableval="$enable_gprof" |
1864 |
: |
|
1865 |
else |
else |
1866 |
enable_gprof="no" |
enable_gprof="no" |
1867 |
fi |
fi; |
|
|
|
1868 |
# Check whether --enable-static or --disable-static was given. |
# Check whether --enable-static or --disable-static was given. |
1869 |
if test "${enable_static+set}" = set; then |
if test "${enable_static+set}" = set; then |
1870 |
enableval="$enable_static" |
enableval="$enable_static" |
1871 |
enable_static=$enableval |
enable_static=$enableval |
1872 |
else |
else |
1873 |
enable_static="$def_static" |
enable_static="$def_static" |
1874 |
fi |
fi; |
|
|
|
1875 |
# Check whether --enable-pic or --disable-pic was given. |
# Check whether --enable-pic or --disable-pic was given. |
1876 |
if test "${enable_pic+set}" = set; then |
if test "${enable_pic+set}" = set; then |
1877 |
enableval="$enable_pic" |
enableval="$enable_pic" |
1878 |
: |
|
1879 |
else |
else |
1880 |
enable_pic="$def_pic" |
enable_pic="$def_pic" |
1881 |
fi |
fi; |
|
|
|
1882 |
|
|
1883 |
# Check whether --enable-dynsysgmp or --disable-dynsysgmp was given. |
# Check whether --enable-dynsysgmp or --disable-dynsysgmp was given. |
1884 |
if test "${enable_dynsysgmp+set}" = set; then |
if test "${enable_dynsysgmp+set}" = set; then |
1885 |
enableval="$enable_dynsysgmp" |
enableval="$enable_dynsysgmp" |
1886 |
: |
|
1887 |
else |
else |
1888 |
enable_dynsysgmp="yes" |
enable_dynsysgmp="yes" |
1889 |
fi |
fi; |
|
|
|
1890 |
|
|
1891 |
load_opt="0" |
load_opt="0" |
1892 |
if test "$enable_dlopen" = "yes" ; then |
if test "$enable_dlopen" = "yes" ; then |
1937 |
## |
## |
1938 |
#if test "$use" = "unknown" ; then |
#if test "$use" = "unknown" ; then |
1939 |
#types=`echo h/*.defs` | sed -e "s:h/::g" -e "s:\.defs:g"` |
#types=`echo h/*.defs` | sed -e "s:h/::g" -e "s:\.defs:g"` |
1940 |
#echo got canonical=$canonical, but was not recognized. |
#echo got canonical=$canonical, but was not recognized. |
1941 |
#echo Unable to guess type to use. Try one of |
#echo Unable to guess type to use. Try one of |
1942 |
#exit(1) |
#exit(1) |
1943 |
#fi |
#fi |
1944 |
|
|
1945 |
echo "$ac_t""use=$use" 1>&6 |
echo "$as_me:$LINENO: result: use=$use" >&5 |
1946 |
|
echo "${ECHO_T}use=$use" >&6 |
1947 |
|
|
1948 |
|
|
1949 |
# |
# |
1959 |
LDFLAGS=" " |
LDFLAGS=" " |
1960 |
fi |
fi |
1961 |
|
|
1962 |
# Extract the first word of "gcc", so it can be a program name with args. |
ac_ext=c |
1963 |
|
ac_cpp='$CPP $CPPFLAGS' |
1964 |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
1965 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
1966 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
1967 |
|
if test -n "$ac_tool_prefix"; then |
1968 |
|
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
1969 |
|
set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
1970 |
|
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1971 |
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1972 |
|
if test "${ac_cv_prog_CC+set}" = set; then |
1973 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1974 |
|
else |
1975 |
|
if test -n "$CC"; then |
1976 |
|
ac_cv_prog_CC="$CC" # Let the user override the test. |
1977 |
|
else |
1978 |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1979 |
|
for as_dir in $PATH |
1980 |
|
do |
1981 |
|
IFS=$as_save_IFS |
1982 |
|
test -z "$as_dir" && as_dir=. |
1983 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
1984 |
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1985 |
|
ac_cv_prog_CC="${ac_tool_prefix}gcc" |
1986 |
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1987 |
|
break 2 |
1988 |
|
fi |
1989 |
|
done |
1990 |
|
done |
1991 |
|
|
1992 |
|
fi |
1993 |
|
fi |
1994 |
|
CC=$ac_cv_prog_CC |
1995 |
|
if test -n "$CC"; then |
1996 |
|
echo "$as_me:$LINENO: result: $CC" >&5 |
1997 |
|
echo "${ECHO_T}$CC" >&6 |
1998 |
|
else |
1999 |
|
echo "$as_me:$LINENO: result: no" >&5 |
2000 |
|
echo "${ECHO_T}no" >&6 |
2001 |
|
fi |
2002 |
|
|
2003 |
|
fi |
2004 |
|
if test -z "$ac_cv_prog_CC"; then |
2005 |
|
ac_ct_CC=$CC |
2006 |
|
# Extract the first word of "gcc", so it can be a program name with args. |
2007 |
set dummy gcc; ac_word=$2 |
set dummy gcc; ac_word=$2 |
2008 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2009 |
echo "configure:1242: checking for $ac_word" >&5 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
2010 |
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
2011 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2012 |
|
else |
2013 |
|
if test -n "$ac_ct_CC"; then |
2014 |
|
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
2015 |
|
else |
2016 |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2017 |
|
for as_dir in $PATH |
2018 |
|
do |
2019 |
|
IFS=$as_save_IFS |
2020 |
|
test -z "$as_dir" && as_dir=. |
2021 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
2022 |
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2023 |
|
ac_cv_prog_ac_ct_CC="gcc" |
2024 |
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2025 |
|
break 2 |
2026 |
|
fi |
2027 |
|
done |
2028 |
|
done |
2029 |
|
|
2030 |
|
fi |
2031 |
|
fi |
2032 |
|
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
2033 |
|
if test -n "$ac_ct_CC"; then |
2034 |
|
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
2035 |
|
echo "${ECHO_T}$ac_ct_CC" >&6 |
2036 |
|
else |
2037 |
|
echo "$as_me:$LINENO: result: no" >&5 |
2038 |
|
echo "${ECHO_T}no" >&6 |
2039 |
|
fi |
2040 |
|
|
2041 |
|
CC=$ac_ct_CC |
2042 |
|
else |
2043 |
|
CC="$ac_cv_prog_CC" |
2044 |
|
fi |
2045 |
|
|
2046 |
|
if test -z "$CC"; then |
2047 |
|
if test -n "$ac_tool_prefix"; then |
2048 |
|
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
2049 |
|
set dummy ${ac_tool_prefix}cc; ac_word=$2 |
2050 |
|
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2051 |
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
2052 |
|
if test "${ac_cv_prog_CC+set}" = set; then |
2053 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2054 |
else |
else |
2055 |
if test -n "$CC"; then |
if test -n "$CC"; then |
2056 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
ac_cv_prog_CC="$CC" # Let the user override the test. |
2057 |
else |
else |
2058 |
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2059 |
ac_dummy="$PATH" |
for as_dir in $PATH |
2060 |
for ac_dir in $ac_dummy; do |
do |
2061 |
test -z "$ac_dir" && ac_dir=. |
IFS=$as_save_IFS |
2062 |
if test -f $ac_dir/$ac_word; then |
test -z "$as_dir" && as_dir=. |
2063 |
ac_cv_prog_CC="gcc" |
for ac_exec_ext in '' $ac_executable_extensions; do |
2064 |
break |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2065 |
fi |
ac_cv_prog_CC="${ac_tool_prefix}cc" |
2066 |
done |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2067 |
IFS="$ac_save_ifs" |
break 2 |
2068 |
|
fi |
2069 |
|
done |
2070 |
|
done |
2071 |
|
|
2072 |
fi |
fi |
2073 |
fi |
fi |
2074 |
CC="$ac_cv_prog_CC" |
CC=$ac_cv_prog_CC |
2075 |
if test -n "$CC"; then |
if test -n "$CC"; then |
2076 |
echo "$ac_t""$CC" 1>&6 |
echo "$as_me:$LINENO: result: $CC" >&5 |
2077 |
|
echo "${ECHO_T}$CC" >&6 |
2078 |
|
else |
2079 |
|
echo "$as_me:$LINENO: result: no" >&5 |
2080 |
|
echo "${ECHO_T}no" >&6 |
2081 |
|
fi |
2082 |
|
|
2083 |
|
fi |
2084 |
|
if test -z "$ac_cv_prog_CC"; then |
2085 |
|
ac_ct_CC=$CC |
2086 |
|
# Extract the first word of "cc", so it can be a program name with args. |
2087 |
|
set dummy cc; ac_word=$2 |
2088 |
|
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2089 |
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
2090 |
|
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
2091 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2092 |
|
else |
2093 |
|
if test -n "$ac_ct_CC"; then |
2094 |
|
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
2095 |
|
else |
2096 |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2097 |
|
for as_dir in $PATH |
2098 |
|
do |
2099 |
|
IFS=$as_save_IFS |
2100 |
|
test -z "$as_dir" && as_dir=. |
2101 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
2102 |
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2103 |
|
ac_cv_prog_ac_ct_CC="cc" |
2104 |
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2105 |
|
break 2 |
2106 |
|
fi |
2107 |
|
done |
2108 |
|
done |
2109 |
|
|
2110 |
|
fi |
2111 |
|
fi |
2112 |
|
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
2113 |
|
if test -n "$ac_ct_CC"; then |
2114 |
|
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
2115 |
|
echo "${ECHO_T}$ac_ct_CC" >&6 |
2116 |
|
else |
2117 |
|
echo "$as_me:$LINENO: result: no" >&5 |
2118 |
|
echo "${ECHO_T}no" >&6 |
2119 |
|
fi |
2120 |
|
|
2121 |
|
CC=$ac_ct_CC |
2122 |
else |
else |
2123 |
echo "$ac_t""no" 1>&6 |
CC="$ac_cv_prog_CC" |
2124 |
fi |
fi |
2125 |
|
|
2126 |
|
fi |
2127 |
if test -z "$CC"; then |
if test -z "$CC"; then |
2128 |
# Extract the first word of "cc", so it can be a program name with args. |
# Extract the first word of "cc", so it can be a program name with args. |
2129 |
set dummy cc; ac_word=$2 |
set dummy cc; ac_word=$2 |
2130 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2131 |
echo "configure:1272: checking for $ac_word" >&5 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
2132 |
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
if test "${ac_cv_prog_CC+set}" = set; then |
2133 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2134 |
else |
else |
2135 |
if test -n "$CC"; then |
if test -n "$CC"; then |
2136 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
ac_cv_prog_CC="$CC" # Let the user override the test. |
2137 |
else |
else |
|
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
|
2138 |
ac_prog_rejected=no |
ac_prog_rejected=no |
2139 |
ac_dummy="$PATH" |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2140 |
for ac_dir in $ac_dummy; do |
for as_dir in $PATH |
2141 |
test -z "$ac_dir" && ac_dir=. |
do |
2142 |
if test -f $ac_dir/$ac_word; then |
IFS=$as_save_IFS |
2143 |
if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then |
test -z "$as_dir" && as_dir=. |
2144 |
ac_prog_rejected=yes |
for ac_exec_ext in '' $ac_executable_extensions; do |
2145 |
continue |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2146 |
fi |
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
2147 |
ac_cv_prog_CC="cc" |
ac_prog_rejected=yes |
2148 |
break |
continue |
2149 |
fi |
fi |
2150 |
done |
ac_cv_prog_CC="cc" |
2151 |
IFS="$ac_save_ifs" |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2152 |
|
break 2 |
2153 |
|
fi |
2154 |
|
done |
2155 |
|
done |
2156 |
|
|
2157 |
if test $ac_prog_rejected = yes; then |
if test $ac_prog_rejected = yes; then |
2158 |
# We found a bogon in the path, so make sure we never use it. |
# We found a bogon in the path, so make sure we never use it. |
2159 |
set dummy $ac_cv_prog_CC |
set dummy $ac_cv_prog_CC |
2160 |
shift |
shift |
2161 |
if test $# -gt 0; then |
if test $# != 0; then |
2162 |
# We chose a different compiler from the bogus one. |
# We chose a different compiler from the bogus one. |
2163 |
# However, it has the same basename, so the bogon will be chosen |
# However, it has the same basename, so the bogon will be chosen |
2164 |
# first if we set CC to just the basename; use the full file name. |
# first if we set CC to just the basename; use the full file name. |
2165 |
shift |
shift |
2166 |
set dummy "$ac_dir/$ac_word" "$@" |
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
|
shift |
|
|
ac_cv_prog_CC="$@" |
|
2167 |
fi |
fi |
2168 |
fi |
fi |
2169 |
fi |
fi |
2170 |
fi |
fi |
2171 |
CC="$ac_cv_prog_CC" |
CC=$ac_cv_prog_CC |
2172 |
if test -n "$CC"; then |
if test -n "$CC"; then |
2173 |
echo "$ac_t""$CC" 1>&6 |
echo "$as_me:$LINENO: result: $CC" >&5 |
2174 |
|
echo "${ECHO_T}$CC" >&6 |
2175 |
else |
else |
2176 |
echo "$ac_t""no" 1>&6 |
echo "$as_me:$LINENO: result: no" >&5 |
2177 |
|
echo "${ECHO_T}no" >&6 |
2178 |
fi |
fi |
2179 |
|
|
2180 |
if test -z "$CC"; then |
fi |
2181 |
case "`uname -s`" in |
if test -z "$CC"; then |
2182 |
*win32* | *WIN32*) |
if test -n "$ac_tool_prefix"; then |
2183 |
# Extract the first word of "cl", so it can be a program name with args. |
for ac_prog in cl |
2184 |
set dummy cl; ac_word=$2 |
do |
2185 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
2186 |
echo "configure:1323: checking for $ac_word" >&5 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
2187 |
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2188 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
2189 |
|
if test "${ac_cv_prog_CC+set}" = set; then |
2190 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2191 |
else |
else |
2192 |
if test -n "$CC"; then |
if test -n "$CC"; then |
2193 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
ac_cv_prog_CC="$CC" # Let the user override the test. |
2194 |
else |
else |
2195 |
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2196 |
ac_dummy="$PATH" |
for as_dir in $PATH |
2197 |
for ac_dir in $ac_dummy; do |
do |
2198 |
test -z "$ac_dir" && ac_dir=. |
IFS=$as_save_IFS |
2199 |
if test -f $ac_dir/$ac_word; then |
test -z "$as_dir" && as_dir=. |
2200 |
ac_cv_prog_CC="cl" |
for ac_exec_ext in '' $ac_executable_extensions; do |
2201 |
break |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2202 |
fi |
ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
2203 |
done |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2204 |
IFS="$ac_save_ifs" |
break 2 |
2205 |
|
fi |
2206 |
|
done |
2207 |
|
done |
2208 |
|
|
2209 |
fi |
fi |
2210 |
fi |
fi |
2211 |
CC="$ac_cv_prog_CC" |
CC=$ac_cv_prog_CC |
2212 |
if test -n "$CC"; then |
if test -n "$CC"; then |
2213 |
echo "$ac_t""$CC" 1>&6 |
echo "$as_me:$LINENO: result: $CC" >&5 |
2214 |
|
echo "${ECHO_T}$CC" >&6 |
2215 |
else |
else |
2216 |
echo "$ac_t""no" 1>&6 |
echo "$as_me:$LINENO: result: no" >&5 |
2217 |
|
echo "${ECHO_T}no" >&6 |
2218 |
fi |
fi |
2219 |
;; |
|
2220 |
esac |
test -n "$CC" && break |
2221 |
|
done |
2222 |
|
fi |
2223 |
|
if test -z "$CC"; then |
2224 |
|
ac_ct_CC=$CC |
2225 |
|
for ac_prog in cl |
2226 |
|
do |
2227 |
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
2228 |
|
set dummy $ac_prog; ac_word=$2 |
2229 |
|
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2230 |
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
2231 |
|
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
2232 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2233 |
|
else |
2234 |
|
if test -n "$ac_ct_CC"; then |
2235 |
|
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
2236 |
|
else |
2237 |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2238 |
|
for as_dir in $PATH |
2239 |
|
do |
2240 |
|
IFS=$as_save_IFS |
2241 |
|
test -z "$as_dir" && as_dir=. |
2242 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
2243 |
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2244 |
|
ac_cv_prog_ac_ct_CC="$ac_prog" |
2245 |
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2246 |
|
break 2 |
2247 |
fi |
fi |
2248 |
test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
done |
2249 |
|
done |
2250 |
|
|
2251 |
|
fi |
2252 |
|
fi |
2253 |
|
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
2254 |
|
if test -n "$ac_ct_CC"; then |
2255 |
|
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
2256 |
|
echo "${ECHO_T}$ac_ct_CC" >&6 |
2257 |
|
else |
2258 |
|
echo "$as_me:$LINENO: result: no" >&5 |
2259 |
|
echo "${ECHO_T}no" >&6 |
2260 |
fi |
fi |
2261 |
|
|
2262 |
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
test -n "$ac_ct_CC" && break |
2263 |
echo "configure:1355: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
done |
2264 |
|
|
2265 |
ac_ext=c |
CC=$ac_ct_CC |
2266 |
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. |
fi |
|
ac_cpp='$CPP $CPPFLAGS' |
|
|
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' |
|
|
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' |
|
|
cross_compiling=$ac_cv_prog_cc_cross |
|
2267 |
|
|
2268 |
cat > conftest.$ac_ext << EOF |
fi |
2269 |
|
|
|
#line 1366 "configure" |
|
|
#include "confdefs.h" |
|
2270 |
|
|
2271 |
main(){return(0);} |
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH |
2272 |
EOF |
See \`config.log' for more details." >&5 |
2273 |
if { (eval echo configure:1371: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
echo "$as_me: error: no acceptable C compiler found in \$PATH |
2274 |
ac_cv_prog_cc_works=yes |
See \`config.log' for more details." >&2;} |
2275 |
# If we can't run a trivial program, we are probably using a cross compiler. |
{ (exit 1); exit 1; }; } |
2276 |
if (./conftest; exit) 2>/dev/null; then |
|
2277 |
ac_cv_prog_cc_cross=no |
# Provide some information about the compiler. |
2278 |
|
echo "$as_me:$LINENO:" \ |
2279 |
|
"checking for C compiler version" >&5 |
2280 |
|
ac_compiler=`set X $ac_compile; echo $2` |
2281 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 |
2282 |
|
(eval $ac_compiler --version </dev/null >&5) 2>&5 |
2283 |
|
ac_status=$? |
2284 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2285 |
|
(exit $ac_status); } |
2286 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 |
2287 |
|
(eval $ac_compiler -v </dev/null >&5) 2>&5 |
2288 |
|
ac_status=$? |
2289 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2290 |
|
(exit $ac_status); } |
2291 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 |
2292 |
|
(eval $ac_compiler -V </dev/null >&5) 2>&5 |
2293 |
|
ac_status=$? |
2294 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2295 |
|
(exit $ac_status); } |
2296 |
|
|
2297 |
|
cat >conftest.$ac_ext <<_ACEOF |
2298 |
|
#line $LINENO "configure" |
2299 |
|
/* confdefs.h. */ |
2300 |
|
_ACEOF |
2301 |
|
cat confdefs.h >>conftest.$ac_ext |
2302 |
|
cat >>conftest.$ac_ext <<_ACEOF |
2303 |
|
/* end confdefs.h. */ |
2304 |
|
|
2305 |
|
int |
2306 |
|
main () |
2307 |
|
{ |
2308 |
|
|
2309 |
|
; |
2310 |
|
return 0; |
2311 |
|
} |
2312 |
|
_ACEOF |
2313 |
|
ac_clean_files_save=$ac_clean_files |
2314 |
|
ac_clean_files="$ac_clean_files a.out a.exe b.out" |
2315 |
|
# Try to create an executable without -o first, disregard a.out. |
2316 |
|
# It will help us diagnose broken compilers, and finding out an intuition |
2317 |
|
# of exeext. |
2318 |
|
echo "$as_me:$LINENO: checking for C compiler default output" >&5 |
2319 |
|
echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6 |
2320 |
|
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
2321 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 |
2322 |
|
(eval $ac_link_default) 2>&5 |
2323 |
|
ac_status=$? |
2324 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2325 |
|
(exit $ac_status); }; then |
2326 |
|
# Find the output, starting from the most likely. This scheme is |
2327 |
|
# not robust to junk in `.', hence go to wildcards (a.*) only as a last |
2328 |
|
# resort. |
2329 |
|
|
2330 |
|
# Be careful to initialize this variable, since it used to be cached. |
2331 |
|
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. |
2332 |
|
ac_cv_exeext= |
2333 |
|
# b.out is created by i960 compilers. |
2334 |
|
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out |
2335 |
|
do |
2336 |
|
test -f "$ac_file" || continue |
2337 |
|
case $ac_file in |
2338 |
|
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) |
2339 |
|
;; |
2340 |
|
conftest.$ac_ext ) |
2341 |
|
# This is the source file. |
2342 |
|
;; |
2343 |
|
[ab].out ) |
2344 |
|
# We found the default executable, but exeext='' is most |
2345 |
|
# certainly right. |
2346 |
|
break;; |
2347 |
|
*.* ) |
2348 |
|
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
2349 |
|
# FIXME: I believe we export ac_cv_exeext for Libtool, |
2350 |
|
# but it would be cool to find out if it's true. Does anybody |
2351 |
|
# maintain Libtool? --akim. |
2352 |
|
export ac_cv_exeext |
2353 |
|
break;; |
2354 |
|
* ) |
2355 |
|
break;; |
2356 |
|
esac |
2357 |
|
done |
2358 |
|
else |
2359 |
|
echo "$as_me: failed program was:" >&5 |
2360 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
2361 |
|
|
2362 |
|
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables |
2363 |
|
See \`config.log' for more details." >&5 |
2364 |
|
echo "$as_me: error: C compiler cannot create executables |
2365 |
|
See \`config.log' for more details." >&2;} |
2366 |
|
{ (exit 77); exit 77; }; } |
2367 |
|
fi |
2368 |
|
|
2369 |
|
ac_exeext=$ac_cv_exeext |
2370 |
|
echo "$as_me:$LINENO: result: $ac_file" >&5 |
2371 |
|
echo "${ECHO_T}$ac_file" >&6 |
2372 |
|
|
2373 |
|
# Check the compiler produces executables we can run. If not, either |
2374 |
|
# the compiler is broken, or we cross compile. |
2375 |
|
echo "$as_me:$LINENO: checking whether the C compiler works" >&5 |
2376 |
|
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 |
2377 |
|
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 |
2378 |
|
# If not cross compiling, check that we can run a simple program. |
2379 |
|
if test "$cross_compiling" != yes; then |
2380 |
|
if { ac_try='./$ac_file' |
2381 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2382 |
|
(eval $ac_try) 2>&5 |
2383 |
|
ac_status=$? |
2384 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2385 |
|
(exit $ac_status); }; }; then |
2386 |
|
cross_compiling=no |
2387 |
else |
else |
2388 |
ac_cv_prog_cc_cross=yes |
if test "$cross_compiling" = maybe; then |
2389 |
|
cross_compiling=yes |
2390 |
|
else |
2391 |
|
{ { echo "$as_me:$LINENO: error: cannot run C compiled programs. |
2392 |
|
If you meant to cross compile, use \`--host'. |
2393 |
|
See \`config.log' for more details." >&5 |
2394 |
|
echo "$as_me: error: cannot run C compiled programs. |
2395 |
|
If you meant to cross compile, use \`--host'. |
2396 |
|
See \`config.log' for more details." >&2;} |
2397 |
|
{ (exit 1); exit 1; }; } |
2398 |
|
fi |
2399 |
fi |
fi |
|
else |
|
|
echo "configure: failed program was:" >&5 |
|
|
cat conftest.$ac_ext >&5 |
|
|
ac_cv_prog_cc_works=no |
|
2400 |
fi |
fi |
2401 |
rm -fr conftest* |
echo "$as_me:$LINENO: result: yes" >&5 |
2402 |
ac_ext=c |
echo "${ECHO_T}yes" >&6 |
2403 |
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. |
|
2404 |
ac_cpp='$CPP $CPPFLAGS' |
rm -f a.out a.exe conftest$ac_cv_exeext b.out |
2405 |
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' |
ac_clean_files=$ac_clean_files_save |
2406 |
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' |
# Check the compiler produces executables we can run. If not, either |
2407 |
cross_compiling=$ac_cv_prog_cc_cross |
# the compiler is broken, or we cross compile. |
2408 |
|
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 |
2409 |
echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 |
2410 |
if test $ac_cv_prog_cc_works = no; then |
echo "$as_me:$LINENO: result: $cross_compiling" >&5 |
2411 |
{ echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
echo "${ECHO_T}$cross_compiling" >&6 |
2412 |
fi |
|
2413 |
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for suffix of executables" >&5 |
2414 |
echo "configure:1397: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 |
2415 |
echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
2416 |
cross_compiling=$ac_cv_prog_cc_cross |
(eval $ac_link) 2>&5 |
2417 |
|
ac_status=$? |
2418 |
echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2419 |
echo "configure:1402: checking whether we are using GNU C" >&5 |
(exit $ac_status); }; then |
2420 |
if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then |
# If both `conftest.exe' and `conftest' are `present' (well, observable) |
2421 |
echo $ac_n "(cached) $ac_c" 1>&6 |
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
2422 |
else |
# work properly (i.e., refer to `conftest.exe'), while it won't with |
2423 |
cat > conftest.c <<EOF |
# `rm'. |
2424 |
#ifdef __GNUC__ |
for ac_file in conftest.exe conftest conftest.*; do |
2425 |
yes; |
test -f "$ac_file" || continue |
2426 |
#endif |
case $ac_file in |
2427 |
EOF |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; |
2428 |
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1411: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
2429 |
ac_cv_prog_gcc=yes |
export ac_cv_exeext |
2430 |
|
break;; |
2431 |
|
* ) break;; |
2432 |
|
esac |
2433 |
|
done |
2434 |
else |
else |
2435 |
ac_cv_prog_gcc=no |
{ { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link |
2436 |
fi |
See \`config.log' for more details." >&5 |
2437 |
fi |
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link |
2438 |
|
See \`config.log' for more details." >&2;} |
2439 |
|
{ (exit 1); exit 1; }; } |
2440 |
|
fi |
2441 |
|
|
2442 |
|
rm -f conftest$ac_cv_exeext |
2443 |
|
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 |
2444 |
|
echo "${ECHO_T}$ac_cv_exeext" >&6 |
2445 |
|
|
2446 |
|
rm -f conftest.$ac_ext |
2447 |
|
EXEEXT=$ac_cv_exeext |
2448 |
|
ac_exeext=$EXEEXT |
2449 |
|
echo "$as_me:$LINENO: checking for suffix of object files" >&5 |
2450 |
|
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 |
2451 |
|
if test "${ac_cv_objext+set}" = set; then |
2452 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2453 |
|
else |
2454 |
|
cat >conftest.$ac_ext <<_ACEOF |
2455 |
|
#line $LINENO "configure" |
2456 |
|
/* confdefs.h. */ |
2457 |
|
_ACEOF |
2458 |
|
cat confdefs.h >>conftest.$ac_ext |
2459 |
|
cat >>conftest.$ac_ext <<_ACEOF |
2460 |
|
/* end confdefs.h. */ |
2461 |
|
|
2462 |
echo "$ac_t""$ac_cv_prog_gcc" 1>&6 |
int |
2463 |
|
main () |
2464 |
|
{ |
2465 |
|
|
2466 |
if test $ac_cv_prog_gcc = yes; then |
; |
2467 |
GCC=yes |
return 0; |
2468 |
|
} |
2469 |
|
_ACEOF |
2470 |
|
rm -f conftest.o conftest.obj |
2471 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2472 |
|
(eval $ac_compile) 2>&5 |
2473 |
|
ac_status=$? |
2474 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2475 |
|
(exit $ac_status); }; then |
2476 |
|
for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do |
2477 |
|
case $ac_file in |
2478 |
|
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; |
2479 |
|
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
2480 |
|
break;; |
2481 |
|
esac |
2482 |
|
done |
2483 |
else |
else |
2484 |
GCC= |
echo "$as_me: failed program was:" >&5 |
2485 |
fi |
sed 's/^/| /' conftest.$ac_ext >&5 |
2486 |
|
|
2487 |
ac_test_CFLAGS="${CFLAGS+set}" |
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile |
2488 |
ac_save_CFLAGS="$CFLAGS" |
See \`config.log' for more details." >&5 |
2489 |
CFLAGS= |
echo "$as_me: error: cannot compute suffix of object files: cannot compile |
2490 |
echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
See \`config.log' for more details." >&2;} |
2491 |
echo "configure:1430: checking whether ${CC-cc} accepts -g" >&5 |
{ (exit 1); exit 1; }; } |
2492 |
if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then |
fi |
2493 |
echo $ac_n "(cached) $ac_c" 1>&6 |
|
2494 |
else |
rm -f conftest.$ac_cv_objext conftest.$ac_ext |
2495 |
echo 'void f(){}' > conftest.c |
fi |
2496 |
if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 |
2497 |
|
echo "${ECHO_T}$ac_cv_objext" >&6 |
2498 |
|
OBJEXT=$ac_cv_objext |
2499 |
|
ac_objext=$OBJEXT |
2500 |
|
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 |
2501 |
|
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 |
2502 |
|
if test "${ac_cv_c_compiler_gnu+set}" = set; then |
2503 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2504 |
|
else |
2505 |
|
cat >conftest.$ac_ext <<_ACEOF |
2506 |
|
#line $LINENO "configure" |
2507 |
|
/* confdefs.h. */ |
2508 |
|
_ACEOF |
2509 |
|
cat confdefs.h >>conftest.$ac_ext |
2510 |
|
cat >>conftest.$ac_ext <<_ACEOF |
2511 |
|
/* end confdefs.h. */ |
2512 |
|
|
2513 |
|
int |
2514 |
|
main () |
2515 |
|
{ |
2516 |
|
#ifndef __GNUC__ |
2517 |
|
choke me |
2518 |
|
#endif |
2519 |
|
|
2520 |
|
; |
2521 |
|
return 0; |
2522 |
|
} |
2523 |
|
_ACEOF |
2524 |
|
rm -f conftest.$ac_objext |
2525 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2526 |
|
(eval $ac_compile) 2>&5 |
2527 |
|
ac_status=$? |
2528 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2529 |
|
(exit $ac_status); } && |
2530 |
|
{ ac_try='test -s conftest.$ac_objext' |
2531 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2532 |
|
(eval $ac_try) 2>&5 |
2533 |
|
ac_status=$? |
2534 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2535 |
|
(exit $ac_status); }; }; then |
2536 |
|
ac_compiler_gnu=yes |
2537 |
|
else |
2538 |
|
echo "$as_me: failed program was:" >&5 |
2539 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
2540 |
|
|
2541 |
|
ac_compiler_gnu=no |
2542 |
|
fi |
2543 |
|
rm -f conftest.$ac_objext conftest.$ac_ext |
2544 |
|
ac_cv_c_compiler_gnu=$ac_compiler_gnu |
2545 |
|
|
2546 |
|
fi |
2547 |
|
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
2548 |
|
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 |
2549 |
|
GCC=`test $ac_compiler_gnu = yes && echo yes` |
2550 |
|
ac_test_CFLAGS=${CFLAGS+set} |
2551 |
|
ac_save_CFLAGS=$CFLAGS |
2552 |
|
CFLAGS="-g" |
2553 |
|
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 |
2554 |
|
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 |
2555 |
|
if test "${ac_cv_prog_cc_g+set}" = set; then |
2556 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2557 |
|
else |
2558 |
|
cat >conftest.$ac_ext <<_ACEOF |
2559 |
|
#line $LINENO "configure" |
2560 |
|
/* confdefs.h. */ |
2561 |
|
_ACEOF |
2562 |
|
cat confdefs.h >>conftest.$ac_ext |
2563 |
|
cat >>conftest.$ac_ext <<_ACEOF |
2564 |
|
/* end confdefs.h. */ |
2565 |
|
|
2566 |
|
int |
2567 |
|
main () |
2568 |
|
{ |
2569 |
|
|
2570 |
|
; |
2571 |
|
return 0; |
2572 |
|
} |
2573 |
|
_ACEOF |
2574 |
|
rm -f conftest.$ac_objext |
2575 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2576 |
|
(eval $ac_compile) 2>&5 |
2577 |
|
ac_status=$? |
2578 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2579 |
|
(exit $ac_status); } && |
2580 |
|
{ ac_try='test -s conftest.$ac_objext' |
2581 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2582 |
|
(eval $ac_try) 2>&5 |
2583 |
|
ac_status=$? |
2584 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2585 |
|
(exit $ac_status); }; }; then |
2586 |
ac_cv_prog_cc_g=yes |
ac_cv_prog_cc_g=yes |
2587 |
else |
else |
2588 |
ac_cv_prog_cc_g=no |
echo "$as_me: failed program was:" >&5 |
2589 |
fi |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
rm -f conftest* |
|
2590 |
|
|
2591 |
|
ac_cv_prog_cc_g=no |
2592 |
fi |
fi |
2593 |
|
rm -f conftest.$ac_objext conftest.$ac_ext |
2594 |
echo "$ac_t""$ac_cv_prog_cc_g" 1>&6 |
fi |
2595 |
|
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
2596 |
|
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 |
2597 |
if test "$ac_test_CFLAGS" = set; then |
if test "$ac_test_CFLAGS" = set; then |
2598 |
CFLAGS="$ac_save_CFLAGS" |
CFLAGS=$ac_save_CFLAGS |
2599 |
elif test $ac_cv_prog_cc_g = yes; then |
elif test $ac_cv_prog_cc_g = yes; then |
2600 |
if test "$GCC" = yes; then |
if test "$GCC" = yes; then |
2601 |
CFLAGS="-g -O2" |
CFLAGS="-g -O2" |
2609 |
CFLAGS= |
CFLAGS= |
2610 |
fi |
fi |
2611 |
fi |
fi |
2612 |
|
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 |
2613 |
|
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 |
2614 |
|
if test "${ac_cv_prog_cc_stdc+set}" = set; then |
2615 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2616 |
|
else |
2617 |
|
ac_cv_prog_cc_stdc=no |
2618 |
|
ac_save_CC=$CC |
2619 |
|
cat >conftest.$ac_ext <<_ACEOF |
2620 |
|
#line $LINENO "configure" |
2621 |
|
/* confdefs.h. */ |
2622 |
|
_ACEOF |
2623 |
|
cat confdefs.h >>conftest.$ac_ext |
2624 |
|
cat >>conftest.$ac_ext <<_ACEOF |
2625 |
|
/* end confdefs.h. */ |
2626 |
|
#include <stdarg.h> |
2627 |
|
#include <stdio.h> |
2628 |
|
#include <sys/types.h> |
2629 |
|
#include <sys/stat.h> |
2630 |
|
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
2631 |
|
struct buf { int x; }; |
2632 |
|
FILE * (*rcsopen) (struct buf *, struct stat *, int); |
2633 |
|
static char *e (p, i) |
2634 |
|
char **p; |
2635 |
|
int i; |
2636 |
|
{ |
2637 |
|
return p[i]; |
2638 |
|
} |
2639 |
|
static char *f (char * (*g) (char **, int), char **p, ...) |
2640 |
|
{ |
2641 |
|
char *s; |
2642 |
|
va_list v; |
2643 |
|
va_start (v,p); |
2644 |
|
s = g (p, va_arg (v,int)); |
2645 |
|
va_end (v); |
2646 |
|
return s; |
2647 |
|
} |
2648 |
|
int test (int i, double x); |
2649 |
|
struct s1 {int (*f) (int a);}; |
2650 |
|
struct s2 {int (*f) (double a);}; |
2651 |
|
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
2652 |
|
int argc; |
2653 |
|
char **argv; |
2654 |
|
int |
2655 |
|
main () |
2656 |
|
{ |
2657 |
|
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
2658 |
|
; |
2659 |
|
return 0; |
2660 |
|
} |
2661 |
|
_ACEOF |
2662 |
|
# Don't try gcc -ansi; that turns off useful extensions and |
2663 |
|
# breaks some systems' header files. |
2664 |
|
# AIX -qlanglvl=ansi |
2665 |
|
# Ultrix and OSF/1 -std1 |
2666 |
|
# HP-UX 10.20 and later -Ae |
2667 |
|
# HP-UX older versions -Aa -D_HPUX_SOURCE |
2668 |
|
# SVR4 -Xc -D__EXTENSIONS__ |
2669 |
|
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
2670 |
|
do |
2671 |
|
CC="$ac_save_CC $ac_arg" |
2672 |
|
rm -f conftest.$ac_objext |
2673 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2674 |
|
(eval $ac_compile) 2>&5 |
2675 |
|
ac_status=$? |
2676 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2677 |
|
(exit $ac_status); } && |
2678 |
|
{ ac_try='test -s conftest.$ac_objext' |
2679 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2680 |
|
(eval $ac_try) 2>&5 |
2681 |
|
ac_status=$? |
2682 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2683 |
|
(exit $ac_status); }; }; then |
2684 |
|
ac_cv_prog_cc_stdc=$ac_arg |
2685 |
|
break |
2686 |
|
else |
2687 |
|
echo "$as_me: failed program was:" >&5 |
2688 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
2689 |
|
|
2690 |
|
fi |
2691 |
|
rm -f conftest.$ac_objext |
2692 |
|
done |
2693 |
|
rm -f conftest.$ac_ext conftest.$ac_objext |
2694 |
|
CC=$ac_save_CC |
2695 |
|
|
2696 |
|
fi |
2697 |
|
|
2698 |
|
case "x$ac_cv_prog_cc_stdc" in |
2699 |
|
x|xno) |
2700 |
|
echo "$as_me:$LINENO: result: none needed" >&5 |
2701 |
|
echo "${ECHO_T}none needed" >&6 ;; |
2702 |
|
*) |
2703 |
|
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 |
2704 |
|
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 |
2705 |
|
CC="$CC $ac_cv_prog_cc_stdc" ;; |
2706 |
|
esac |
2707 |
|
|
2708 |
echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 |
# Some people use a C++ compiler to compile C. Since we use `exit', |
2709 |
echo "configure:1462: checking how to run the C preprocessor" >&5 |
# in C++ we need to declare it. In case someone uses the same compiler |
2710 |
|
# for both compiling C and C++ we need to have the C++ compiler decide |
2711 |
|
# the declaration of exit, since it's the most demanding environment. |
2712 |
|
cat >conftest.$ac_ext <<_ACEOF |
2713 |
|
#ifndef __cplusplus |
2714 |
|
choke me |
2715 |
|
#endif |
2716 |
|
_ACEOF |
2717 |
|
rm -f conftest.$ac_objext |
2718 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2719 |
|
(eval $ac_compile) 2>&5 |
2720 |
|
ac_status=$? |
2721 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2722 |
|
(exit $ac_status); } && |
2723 |
|
{ ac_try='test -s conftest.$ac_objext' |
2724 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2725 |
|
(eval $ac_try) 2>&5 |
2726 |
|
ac_status=$? |
2727 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2728 |
|
(exit $ac_status); }; }; then |
2729 |
|
for ac_declaration in \ |
2730 |
|
''\ |
2731 |
|
'#include <stdlib.h>' \ |
2732 |
|
'extern "C" void std::exit (int) throw (); using std::exit;' \ |
2733 |
|
'extern "C" void std::exit (int); using std::exit;' \ |
2734 |
|
'extern "C" void exit (int) throw ();' \ |
2735 |
|
'extern "C" void exit (int);' \ |
2736 |
|
'void exit (int);' |
2737 |
|
do |
2738 |
|
cat >conftest.$ac_ext <<_ACEOF |
2739 |
|
#line $LINENO "configure" |
2740 |
|
/* confdefs.h. */ |
2741 |
|
_ACEOF |
2742 |
|
cat confdefs.h >>conftest.$ac_ext |
2743 |
|
cat >>conftest.$ac_ext <<_ACEOF |
2744 |
|
/* end confdefs.h. */ |
2745 |
|
#include <stdlib.h> |
2746 |
|
$ac_declaration |
2747 |
|
int |
2748 |
|
main () |
2749 |
|
{ |
2750 |
|
exit (42); |
2751 |
|
; |
2752 |
|
return 0; |
2753 |
|
} |
2754 |
|
_ACEOF |
2755 |
|
rm -f conftest.$ac_objext |
2756 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2757 |
|
(eval $ac_compile) 2>&5 |
2758 |
|
ac_status=$? |
2759 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2760 |
|
(exit $ac_status); } && |
2761 |
|
{ ac_try='test -s conftest.$ac_objext' |
2762 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2763 |
|
(eval $ac_try) 2>&5 |
2764 |
|
ac_status=$? |
2765 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2766 |
|
(exit $ac_status); }; }; then |
2767 |
|
: |
2768 |
|
else |
2769 |
|
echo "$as_me: failed program was:" >&5 |
2770 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
2771 |
|
|
2772 |
|
continue |
2773 |
|
fi |
2774 |
|
rm -f conftest.$ac_objext conftest.$ac_ext |
2775 |
|
cat >conftest.$ac_ext <<_ACEOF |
2776 |
|
#line $LINENO "configure" |
2777 |
|
/* confdefs.h. */ |
2778 |
|
_ACEOF |
2779 |
|
cat confdefs.h >>conftest.$ac_ext |
2780 |
|
cat >>conftest.$ac_ext <<_ACEOF |
2781 |
|
/* end confdefs.h. */ |
2782 |
|
$ac_declaration |
2783 |
|
int |
2784 |
|
main () |
2785 |
|
{ |
2786 |
|
exit (42); |
2787 |
|
; |
2788 |
|
return 0; |
2789 |
|
} |
2790 |
|
_ACEOF |
2791 |
|
rm -f conftest.$ac_objext |
2792 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2793 |
|
(eval $ac_compile) 2>&5 |
2794 |
|
ac_status=$? |
2795 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2796 |
|
(exit $ac_status); } && |
2797 |
|
{ ac_try='test -s conftest.$ac_objext' |
2798 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2799 |
|
(eval $ac_try) 2>&5 |
2800 |
|
ac_status=$? |
2801 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2802 |
|
(exit $ac_status); }; }; then |
2803 |
|
break |
2804 |
|
else |
2805 |
|
echo "$as_me: failed program was:" >&5 |
2806 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
2807 |
|
|
2808 |
|
fi |
2809 |
|
rm -f conftest.$ac_objext conftest.$ac_ext |
2810 |
|
done |
2811 |
|
rm -f conftest* |
2812 |
|
if test -n "$ac_declaration"; then |
2813 |
|
echo '#ifdef __cplusplus' >>confdefs.h |
2814 |
|
echo $ac_declaration >>confdefs.h |
2815 |
|
echo '#endif' >>confdefs.h |
2816 |
|
fi |
2817 |
|
|
2818 |
|
else |
2819 |
|
echo "$as_me: failed program was:" >&5 |
2820 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
2821 |
|
|
2822 |
|
fi |
2823 |
|
rm -f conftest.$ac_objext conftest.$ac_ext |
2824 |
|
ac_ext=c |
2825 |
|
ac_cpp='$CPP $CPPFLAGS' |
2826 |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
2827 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
2828 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
2829 |
|
|
2830 |
|
ac_ext=c |
2831 |
|
ac_cpp='$CPP $CPPFLAGS' |
2832 |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
2833 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
2834 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
2835 |
|
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 |
2836 |
|
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 |
2837 |
# On Suns, sometimes $CPP names a directory. |
# On Suns, sometimes $CPP names a directory. |
2838 |
if test -n "$CPP" && test -d "$CPP"; then |
if test -n "$CPP" && test -d "$CPP"; then |
2839 |
CPP= |
CPP= |
2840 |
fi |
fi |
2841 |
if test -z "$CPP"; then |
if test -z "$CPP"; then |
2842 |
if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then |
if test "${ac_cv_prog_CPP+set}" = set; then |
2843 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2844 |
else |
else |
2845 |
# This must be in double quotes, not single quotes, because CPP may get |
# Double quotes because CPP needs to be expanded |
2846 |
# substituted into the Makefile and "${CC-cc}" will confuse make. |
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
2847 |
CPP="${CC-cc} -E" |
do |
2848 |
|
ac_preproc_ok=false |
2849 |
|
for ac_c_preproc_warn_flag in '' yes |
2850 |
|
do |
2851 |
|
# Use a header file that comes with gcc, so configuring glibc |
2852 |
|
# with a fresh cross-compiler works. |
2853 |
# On the NeXT, cc -E runs the code through the compiler's parser, |
# On the NeXT, cc -E runs the code through the compiler's parser, |
2854 |
# not just through cpp. |
# not just through cpp. "Syntax error" is here to catch this case. |
2855 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
2856 |
#line 1477 "configure" |
#line $LINENO "configure" |
2857 |
#include "confdefs.h" |
/* confdefs.h. */ |
2858 |
|
_ACEOF |
2859 |
|
cat confdefs.h >>conftest.$ac_ext |
2860 |
|
cat >>conftest.$ac_ext <<_ACEOF |
2861 |
|
/* end confdefs.h. */ |
2862 |
#include <assert.h> |
#include <assert.h> |
2863 |
Syntax Error |
Syntax error |
2864 |
EOF |
_ACEOF |
2865 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
2866 |
{ (eval echo configure:1483: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
2867 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_status=$? |
2868 |
if test -z "$ac_err"; then |
grep -v '^ *+' conftest.er1 >conftest.err |
2869 |
: |
rm -f conftest.er1 |
2870 |
|
cat conftest.err >&5 |
2871 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2872 |
|
(exit $ac_status); } >/dev/null; then |
2873 |
|
if test -s conftest.err; then |
2874 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
2875 |
|
else |
2876 |
|
ac_cpp_err= |
2877 |
|
fi |
2878 |
else |
else |
2879 |
echo "$ac_err" >&5 |
ac_cpp_err=yes |
2880 |
echo "configure: failed program was:" >&5 |
fi |
2881 |
cat conftest.$ac_ext >&5 |
if test -z "$ac_cpp_err"; then |
|
rm -rf conftest* |
|
|
CPP="${CC-cc} -E -traditional-cpp" |
|
|
cat > conftest.$ac_ext <<EOF |
|
|
#line 1494 "configure" |
|
|
#include "confdefs.h" |
|
|
#include <assert.h> |
|
|
Syntax Error |
|
|
EOF |
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
|
|
{ (eval echo configure:1500: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|
|
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
|
|
if test -z "$ac_err"; then |
|
2882 |
: |
: |
2883 |
else |
else |
2884 |
echo "$ac_err" >&5 |
echo "$as_me: failed program was:" >&5 |
2885 |
echo "configure: failed program was:" >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
2886 |
cat conftest.$ac_ext >&5 |
|
2887 |
rm -rf conftest* |
# Broken: fails on valid input. |
2888 |
CPP="${CC-cc} -nologo -E" |
continue |
2889 |
cat > conftest.$ac_ext <<EOF |
fi |
2890 |
#line 1511 "configure" |
rm -f conftest.err conftest.$ac_ext |
2891 |
#include "confdefs.h" |
|
2892 |
|
# OK, works on sane cases. Now check whether non-existent headers |
2893 |
|
# can be detected and how. |
2894 |
|
cat >conftest.$ac_ext <<_ACEOF |
2895 |
|
#line $LINENO "configure" |
2896 |
|
/* confdefs.h. */ |
2897 |
|
_ACEOF |
2898 |
|
cat confdefs.h >>conftest.$ac_ext |
2899 |
|
cat >>conftest.$ac_ext <<_ACEOF |
2900 |
|
/* end confdefs.h. */ |
2901 |
|
#include <ac_nonexistent.h> |
2902 |
|
_ACEOF |
2903 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
2904 |
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
2905 |
|
ac_status=$? |
2906 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
2907 |
|
rm -f conftest.er1 |
2908 |
|
cat conftest.err >&5 |
2909 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2910 |
|
(exit $ac_status); } >/dev/null; then |
2911 |
|
if test -s conftest.err; then |
2912 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
2913 |
|
else |
2914 |
|
ac_cpp_err= |
2915 |
|
fi |
2916 |
|
else |
2917 |
|
ac_cpp_err=yes |
2918 |
|
fi |
2919 |
|
if test -z "$ac_cpp_err"; then |
2920 |
|
# Broken: success on invalid input. |
2921 |
|
continue |
2922 |
|
else |
2923 |
|
echo "$as_me: failed program was:" >&5 |
2924 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
2925 |
|
|
2926 |
|
# Passes both tests. |
2927 |
|
ac_preproc_ok=: |
2928 |
|
break |
2929 |
|
fi |
2930 |
|
rm -f conftest.err conftest.$ac_ext |
2931 |
|
|
2932 |
|
done |
2933 |
|
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
2934 |
|
rm -f conftest.err conftest.$ac_ext |
2935 |
|
if $ac_preproc_ok; then |
2936 |
|
break |
2937 |
|
fi |
2938 |
|
|
2939 |
|
done |
2940 |
|
ac_cv_prog_CPP=$CPP |
2941 |
|
|
2942 |
|
fi |
2943 |
|
CPP=$ac_cv_prog_CPP |
2944 |
|
else |
2945 |
|
ac_cv_prog_CPP=$CPP |
2946 |
|
fi |
2947 |
|
echo "$as_me:$LINENO: result: $CPP" >&5 |
2948 |
|
echo "${ECHO_T}$CPP" >&6 |
2949 |
|
ac_preproc_ok=false |
2950 |
|
for ac_c_preproc_warn_flag in '' yes |
2951 |
|
do |
2952 |
|
# Use a header file that comes with gcc, so configuring glibc |
2953 |
|
# with a fresh cross-compiler works. |
2954 |
|
# On the NeXT, cc -E runs the code through the compiler's parser, |
2955 |
|
# not just through cpp. "Syntax error" is here to catch this case. |
2956 |
|
cat >conftest.$ac_ext <<_ACEOF |
2957 |
|
#line $LINENO "configure" |
2958 |
|
/* confdefs.h. */ |
2959 |
|
_ACEOF |
2960 |
|
cat confdefs.h >>conftest.$ac_ext |
2961 |
|
cat >>conftest.$ac_ext <<_ACEOF |
2962 |
|
/* end confdefs.h. */ |
2963 |
#include <assert.h> |
#include <assert.h> |
2964 |
Syntax Error |
Syntax error |
2965 |
EOF |
_ACEOF |
2966 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
2967 |
{ (eval echo configure:1517: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
2968 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_status=$? |
2969 |
if test -z "$ac_err"; then |
grep -v '^ *+' conftest.er1 >conftest.err |
2970 |
: |
rm -f conftest.er1 |
2971 |
|
cat conftest.err >&5 |
2972 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2973 |
|
(exit $ac_status); } >/dev/null; then |
2974 |
|
if test -s conftest.err; then |
2975 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
2976 |
|
else |
2977 |
|
ac_cpp_err= |
2978 |
|
fi |
2979 |
else |
else |
2980 |
echo "$ac_err" >&5 |
ac_cpp_err=yes |
|
echo "configure: failed program was:" >&5 |
|
|
cat conftest.$ac_ext >&5 |
|
|
rm -rf conftest* |
|
|
CPP=/lib/cpp |
|
2981 |
fi |
fi |
2982 |
rm -f conftest* |
if test -z "$ac_cpp_err"; then |
2983 |
|
: |
2984 |
|
else |
2985 |
|
echo "$as_me: failed program was:" >&5 |
2986 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
2987 |
|
|
2988 |
|
# Broken: fails on valid input. |
2989 |
|
continue |
2990 |
fi |
fi |
2991 |
rm -f conftest* |
rm -f conftest.err conftest.$ac_ext |
2992 |
|
|
2993 |
|
# OK, works on sane cases. Now check whether non-existent headers |
2994 |
|
# can be detected and how. |
2995 |
|
cat >conftest.$ac_ext <<_ACEOF |
2996 |
|
#line $LINENO "configure" |
2997 |
|
/* confdefs.h. */ |
2998 |
|
_ACEOF |
2999 |
|
cat confdefs.h >>conftest.$ac_ext |
3000 |
|
cat >>conftest.$ac_ext <<_ACEOF |
3001 |
|
/* end confdefs.h. */ |
3002 |
|
#include <ac_nonexistent.h> |
3003 |
|
_ACEOF |
3004 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
3005 |
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
3006 |
|
ac_status=$? |
3007 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
3008 |
|
rm -f conftest.er1 |
3009 |
|
cat conftest.err >&5 |
3010 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3011 |
|
(exit $ac_status); } >/dev/null; then |
3012 |
|
if test -s conftest.err; then |
3013 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
3014 |
|
else |
3015 |
|
ac_cpp_err= |
3016 |
|
fi |
3017 |
|
else |
3018 |
|
ac_cpp_err=yes |
3019 |
fi |
fi |
3020 |
rm -f conftest* |
if test -z "$ac_cpp_err"; then |
3021 |
ac_cv_prog_CPP="$CPP" |
# Broken: success on invalid input. |
3022 |
|
continue |
3023 |
|
else |
3024 |
|
echo "$as_me: failed program was:" >&5 |
3025 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
3026 |
|
|
3027 |
|
# Passes both tests. |
3028 |
|
ac_preproc_ok=: |
3029 |
|
break |
3030 |
fi |
fi |
3031 |
CPP="$ac_cv_prog_CPP" |
rm -f conftest.err conftest.$ac_ext |
3032 |
|
|
3033 |
|
done |
3034 |
|
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
3035 |
|
rm -f conftest.err conftest.$ac_ext |
3036 |
|
if $ac_preproc_ok; then |
3037 |
|
: |
3038 |
else |
else |
3039 |
ac_cv_prog_CPP="$CPP" |
{ { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check |
3040 |
|
See \`config.log' for more details." >&5 |
3041 |
|
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check |
3042 |
|
See \`config.log' for more details." >&2;} |
3043 |
|
{ (exit 1); exit 1; }; } |
3044 |
fi |
fi |
3045 |
echo "$ac_t""$CPP" 1>&6 |
|
3046 |
|
ac_ext=c |
3047 |
|
ac_cpp='$CPP $CPPFLAGS' |
3048 |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3049 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3050 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3051 |
|
|
3052 |
|
|
3053 |
|
|
3095 |
|
|
3096 |
for ac_prog in gawk nawk awk |
for ac_prog in gawk nawk awk |
3097 |
do |
do |
3098 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
3099 |
set dummy $ac_prog; ac_word=$2 |
set dummy $ac_prog; ac_word=$2 |
3100 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3101 |
echo "configure:1590: checking for $ac_word" >&5 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
3102 |
if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then |
if test "${ac_cv_prog_AWK+set}" = set; then |
3103 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3104 |
else |
else |
3105 |
if test -n "$AWK"; then |
if test -n "$AWK"; then |
3106 |
ac_cv_prog_AWK="$AWK" # Let the user override the test. |
ac_cv_prog_AWK="$AWK" # Let the user override the test. |
3107 |
else |
else |
3108 |
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3109 |
ac_dummy="$PATH" |
for as_dir in $PATH |
3110 |
for ac_dir in $ac_dummy; do |
do |
3111 |
test -z "$ac_dir" && ac_dir=. |
IFS=$as_save_IFS |
3112 |
if test -f $ac_dir/$ac_word; then |
test -z "$as_dir" && as_dir=. |
3113 |
ac_cv_prog_AWK="$ac_prog" |
for ac_exec_ext in '' $ac_executable_extensions; do |
3114 |
break |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3115 |
fi |
ac_cv_prog_AWK="$ac_prog" |
3116 |
done |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3117 |
IFS="$ac_save_ifs" |
break 2 |
3118 |
|
fi |
3119 |
|
done |
3120 |
|
done |
3121 |
|
|
3122 |
fi |
fi |
3123 |
fi |
fi |
3124 |
AWK="$ac_cv_prog_AWK" |
AWK=$ac_cv_prog_AWK |
3125 |
if test -n "$AWK"; then |
if test -n "$AWK"; then |
3126 |
echo "$ac_t""$AWK" 1>&6 |
echo "$as_me:$LINENO: result: $AWK" >&5 |
3127 |
|
echo "${ECHO_T}$AWK" >&6 |
3128 |
else |
else |
3129 |
echo "$ac_t""no" 1>&6 |
echo "$as_me:$LINENO: result: no" >&5 |
3130 |
|
echo "${ECHO_T}no" >&6 |
3131 |
fi |
fi |
3132 |
|
|
3133 |
test -n "$AWK" && break |
test -n "$AWK" && break |
3134 |
done |
done |
3135 |
test -n "$AWK" || AWK="""" |
test -n "$AWK" || AWK="""" |
3136 |
|
|
3139 |
TCFLAGS="$TCFLAGS -pg" |
TCFLAGS="$TCFLAGS -pg" |
3140 |
TLIBS="$TLIBS -pg" |
TLIBS="$TLIBS -pg" |
3141 |
TFPFLAG="" |
TFPFLAG="" |
3142 |
cat >> confdefs.h <<\EOF |
cat >>confdefs.h <<\_ACEOF |
3143 |
#define GCL_GPROF 1 |
#define GCL_GPROF 1 |
3144 |
EOF |
_ACEOF |
3145 |
|
|
3146 |
echo $ac_n "checking for text start""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for text start" >&5 |
3147 |
echo "configure:1630: checking for text start" >&5 |
echo $ECHO_N "checking for text start... $ECHO_C" >&6 |
3148 |
echo 'int main () {return(0);}' >foo.c |
echo 'int main () {return(0);}' >foo.c |
3149 |
$CC foo.c -o foo |
$CC foo.c -o foo |
3150 |
GCL_GPROF_START=`nm foo | $AWK '/ *T *__*start$/ {print $NF}'` |
GCL_GPROF_START=`nm foo | $AWK '/ *T *__*start$/ {print $NF}'` |
3151 |
rm -f foo.c foo |
rm -f foo.c foo |
3152 |
echo "$ac_t""$GCL_GPROF_START" 1>&6 |
echo "$as_me:$LINENO: result: $GCL_GPROF_START" >&5 |
3153 |
cat >> confdefs.h <<EOF |
echo "${ECHO_T}$GCL_GPROF_START" >&6 |
3154 |
|
cat >>confdefs.h <<_ACEOF |
3155 |
#define GCL_GPROF_START $GCL_GPROF_START |
#define GCL_GPROF_START $GCL_GPROF_START |
3156 |
EOF |
_ACEOF |
3157 |
|
|
3158 |
case "$use" in |
case "$use" in |
3159 |
arm*) |
arm*) |
3160 |
#FIXME report and remove this when done |
#FIXME report and remove this when done |
3161 |
echo "$ac_t""Reducing optimization on profiling arm build to workaround gcc bug" 1>&6 |
echo "$as_me:$LINENO: result: Reducing optimization on profiling arm build to workaround gcc bug" >&5 |
3162 |
|
echo "${ECHO_T}Reducing optimization on profiling arm build to workaround gcc bug" >&6 |
3163 |
enable_debug=yes;; |
enable_debug=yes;; |
3164 |
esac |
esac |
3165 |
fi |
fi |
3182 |
|
|
3183 |
# gcc on ppc cannot compile our new_init.c with full opts --CM |
# gcc on ppc cannot compile our new_init.c with full opts --CM |
3184 |
TONIFLAGS="" |
TONIFLAGS="" |
3185 |
case $use in |
case $use in |
3186 |
*linux) |
*linux) |
3187 |
case $use in |
case $use in |
3188 |
# amd64*) # stack-boundary option does not work |
# amd64*) # stack-boundary option does not work |
3189 |
# TCFLAGS="$TCFLAGS -m64 -mpreferred-stack-boundary=8";; |
# TCFLAGS="$TCFLAGS -m64 -mpreferred-stack-boundary=8";; |
3190 |
# 386*) |
# 386*) |
3191 |
# TCFLAGS="$TCFLAGS -mpreferred-stack-boundary=2";; |
# TCFLAGS="$TCFLAGS -mpreferred-stack-boundary=2";; |
3192 |
# amd64*) |
# amd64*) |
3193 |
# TCFLAGS="$TCFLAGS -mpreferred-stack-boundary=3";; |
# TCFLAGS="$TCFLAGS -mpreferred-stack-boundary=3";; |
3194 |
alpha*) |
alpha*) |
3195 |
TCFLAGS="$TCFLAGS -mieee";; |
TCFLAGS="$TCFLAGS -mieee";; |
3196 |
# m68k*) |
# m68k*) |
3201 |
if test "$enable_debug" != "yes" ; then TO2FLAGS="-O" ; fi |
if test "$enable_debug" != "yes" ; then TO2FLAGS="-O" ; fi |
3202 |
;; |
;; |
3203 |
arm*) |
arm*) |
3204 |
TCFLAGS="$TCFLAGS -mlong-calls";; |
TCFLAGS="$TCFLAGS -mlong-calls";; |
3205 |
powerpc*) |
powerpc*) |
3206 |
if $CC -v 2>&1 | grep -q "gcc version 3.2" ; then |
if $CC -v 2>&1 | grep -q "gcc version 3.2" ; then |
3207 |
echo Reducing optimization for buggy gcc-3.2 |
echo Reducing optimization for buggy gcc-3.2 |
3208 |
if test "$enable_debug" != "yes" ; then TONIFLAGS="-O $TFPFLAG" ; fi |
if test "$enable_debug" != "yes" ; then TONIFLAGS="-O $TFPFLAG" ; fi |
3225 |
# for the system. This can usually be done via the "uname" command, but |
# for the system. This can usually be done via the "uname" command, but |
3226 |
# there are a few systems, like Next, where this doesn't work. |
# there are a few systems, like Next, where this doesn't work. |
3227 |
|
|
3228 |
echo $ac_n "checking system version (for dynamic loading)""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking system version (for dynamic loading)" >&5 |
3229 |
echo "configure:1710: checking system version (for dynamic loading)" >&5 |
echo $ECHO_N "checking system version (for dynamic loading)... $ECHO_C" >&6 |
3230 |
if machine=`uname -m` ; then true; else machine=unknown ; fi |
if machine=`uname -m` ; then true; else machine=unknown ; fi |
3231 |
|
|
3232 |
for ac_prog in makeinfo |
for ac_prog in makeinfo |
3233 |
do |
do |
3234 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
3235 |
set dummy $ac_prog; ac_word=$2 |
set dummy $ac_prog; ac_word=$2 |
3236 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3237 |
echo "configure:1718: checking for $ac_word" >&5 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
3238 |
if eval "test \"`echo '$''{'ac_cv_prog_MAKEINFO'+set}'`\" = set"; then |
if test "${ac_cv_prog_MAKEINFO+set}" = set; then |
3239 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3240 |
else |
else |
3241 |
if test -n "$MAKEINFO"; then |
if test -n "$MAKEINFO"; then |
3242 |
ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test. |
ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test. |
3243 |
else |
else |
3244 |
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3245 |
ac_dummy="$PATH" |
for as_dir in $PATH |
3246 |
for ac_dir in $ac_dummy; do |
do |
3247 |
test -z "$ac_dir" && ac_dir=. |
IFS=$as_save_IFS |
3248 |
if test -f $ac_dir/$ac_word; then |
test -z "$as_dir" && as_dir=. |
3249 |
ac_cv_prog_MAKEINFO="$ac_prog" |
for ac_exec_ext in '' $ac_executable_extensions; do |
3250 |
break |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3251 |
fi |
ac_cv_prog_MAKEINFO="$ac_prog" |
3252 |
done |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3253 |
IFS="$ac_save_ifs" |
break 2 |
3254 |
|
fi |
3255 |
|
done |
3256 |
|
done |
3257 |
|
|
3258 |
fi |
fi |
3259 |
fi |
fi |
3260 |
MAKEINFO="$ac_cv_prog_MAKEINFO" |
MAKEINFO=$ac_cv_prog_MAKEINFO |
3261 |
if test -n "$MAKEINFO"; then |
if test -n "$MAKEINFO"; then |
3262 |
echo "$ac_t""$MAKEINFO" 1>&6 |
echo "$as_me:$LINENO: result: $MAKEINFO" >&5 |
3263 |
|
echo "${ECHO_T}$MAKEINFO" >&6 |
3264 |
else |
else |
3265 |
echo "$ac_t""no" 1>&6 |
echo "$as_me:$LINENO: result: no" >&5 |
3266 |
|
echo "${ECHO_T}no" >&6 |
3267 |
fi |
fi |
3268 |
|
|
3269 |
test -n "$MAKEINFO" && break |
test -n "$MAKEINFO" && break |
3270 |
done |
done |
3271 |
test -n "$MAKEINFO" || MAKEINFO=""false"" |
test -n "$MAKEINFO" || MAKEINFO=""false"" |
3272 |
|
|
3277 |
else |
else |
3278 |
system=`uname -s`-`uname -r` |
system=`uname -s`-`uname -r` |
3279 |
if test "$?" -ne 0 ; then |
if test "$?" -ne 0 ; then |
3280 |
echo "$ac_t""unknown (can't find uname command)" 1>&6 |
echo "$as_me:$LINENO: result: unknown (can't find uname command)" >&5 |
3281 |
|
echo "${ECHO_T}unknown (can't find uname command)" >&6 |
3282 |
system=unknown |
system=unknown |
3283 |
else |
else |
3284 |
# Special check for weird MP-RAS system (uname returns weird |
# Special check for weird MP-RAS system (uname returns weird |
3285 |
# results, and the version is kept in special file). |
# results, and the version is kept in special file). |
3286 |
|
|
3287 |
if test -r /etc/.relid -a "X`uname -n`" = "X`uname -s`" ; then |
if test -r /etc/.relid -a "X`uname -n`" = "X`uname -s`" ; then |
3288 |
system=MP-RAS-`${AWK} '{print $3}' /etc/.relid'` |
system=MP-RAS-`${AWK} '{print $3}' /etc/.relid'` |
3289 |
fi |
fi |
3290 |
if test "`uname -s`" = "AIX" ; then |
if test "`uname -s`" = "AIX" ; then |
3291 |
system=AIX-`uname -v`.`uname -r` |
system=AIX-`uname -v`.`uname -r` |
3292 |
fi |
fi |
3293 |
echo "$ac_t""$system" 1>&6 |
echo "$as_me:$LINENO: result: $system" >&5 |
3294 |
|
echo "${ECHO_T}$system" >&6 |
3295 |
fi |
fi |
3296 |
fi |
fi |
3297 |
|
|
3298 |
# sysconf |
# sysconf |
3299 |
|
|
3300 |
ac_safe=`echo "unistd.h" | sed 'y%./+-%__p_%'` |
|
3301 |
echo $ac_n "checking for unistd.h""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for egrep" >&5 |
3302 |
echo "configure:1775: checking for unistd.h" >&5 |
echo $ECHO_N "checking for egrep... $ECHO_C" >&6 |
3303 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if test "${ac_cv_prog_egrep+set}" = set; then |
3304 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3305 |
else |
else |
3306 |
cat > conftest.$ac_ext <<EOF |
if echo a | (grep -E '(a|b)') >/dev/null 2>&1 |
3307 |
#line 1780 "configure" |
then ac_cv_prog_egrep='grep -E' |
3308 |
#include "confdefs.h" |
else ac_cv_prog_egrep='egrep' |
3309 |
#include <unistd.h> |
fi |
3310 |
EOF |
fi |
3311 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 |
3312 |
{ (eval echo configure:1785: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
echo "${ECHO_T}$ac_cv_prog_egrep" >&6 |
3313 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
EGREP=$ac_cv_prog_egrep |
3314 |
if test -z "$ac_err"; then |
|
3315 |
rm -rf conftest* |
|
3316 |
eval "ac_cv_header_$ac_safe=yes" |
echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
3317 |
else |
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 |
3318 |
echo "$ac_err" >&5 |
if test "${ac_cv_header_stdc+set}" = set; then |
3319 |
echo "configure: failed program was:" >&5 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3320 |
cat conftest.$ac_ext >&5 |
else |
3321 |
rm -rf conftest* |
cat >conftest.$ac_ext <<_ACEOF |
3322 |
eval "ac_cv_header_$ac_safe=no" |
#line $LINENO "configure" |
3323 |
|
/* confdefs.h. */ |
3324 |
|
_ACEOF |
3325 |
|
cat confdefs.h >>conftest.$ac_ext |
3326 |
|
cat >>conftest.$ac_ext <<_ACEOF |
3327 |
|
/* end confdefs.h. */ |
3328 |
|
#include <stdlib.h> |
3329 |
|
#include <stdarg.h> |
3330 |
|
#include <string.h> |
3331 |
|
#include <float.h> |
3332 |
|
|
3333 |
|
int |
3334 |
|
main () |
3335 |
|
{ |
3336 |
|
|
3337 |
|
; |
3338 |
|
return 0; |
3339 |
|
} |
3340 |
|
_ACEOF |
3341 |
|
rm -f conftest.$ac_objext |
3342 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3343 |
|
(eval $ac_compile) 2>&5 |
3344 |
|
ac_status=$? |
3345 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3346 |
|
(exit $ac_status); } && |
3347 |
|
{ ac_try='test -s conftest.$ac_objext' |
3348 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3349 |
|
(eval $ac_try) 2>&5 |
3350 |
|
ac_status=$? |
3351 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3352 |
|
(exit $ac_status); }; }; then |
3353 |
|
ac_cv_header_stdc=yes |
3354 |
|
else |
3355 |
|
echo "$as_me: failed program was:" >&5 |
3356 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
3357 |
|
|
3358 |
|
ac_cv_header_stdc=no |
3359 |
|
fi |
3360 |
|
rm -f conftest.$ac_objext conftest.$ac_ext |
3361 |
|
|
3362 |
|
if test $ac_cv_header_stdc = yes; then |
3363 |
|
# SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
3364 |
|
cat >conftest.$ac_ext <<_ACEOF |
3365 |
|
#line $LINENO "configure" |
3366 |
|
/* confdefs.h. */ |
3367 |
|
_ACEOF |
3368 |
|
cat confdefs.h >>conftest.$ac_ext |
3369 |
|
cat >>conftest.$ac_ext <<_ACEOF |
3370 |
|
/* end confdefs.h. */ |
3371 |
|
#include <string.h> |
3372 |
|
|
3373 |
|
_ACEOF |
3374 |
|
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3375 |
|
$EGREP "memchr" >/dev/null 2>&1; then |
3376 |
|
: |
3377 |
|
else |
3378 |
|
ac_cv_header_stdc=no |
3379 |
fi |
fi |
3380 |
rm -f conftest* |
rm -f conftest* |
3381 |
|
|
3382 |
fi |
fi |
|
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
|
|
echo "$ac_t""yes" 1>&6 |
|
|
echo $ac_n "checking for sysconf in -lc""... $ac_c" 1>&6 |
|
|
echo "configure:1802: checking for sysconf in -lc" >&5 |
|
|
ac_lib_var=`echo c'_'sysconf | sed 'y%./+-%__p_%'` |
|
|
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
else |
|
|
ac_save_LIBS="$LIBS" |
|
|
LIBS="-lc $LIBS" |
|
|
cat > conftest.$ac_ext <<EOF |
|
|
#line 1810 "configure" |
|
|
#include "confdefs.h" |
|
|
/* Override any gcc2 internal prototype to avoid an error. */ |
|
|
/* We use char because int might match the return type of a gcc2 |
|
|
builtin and then its argument prototype would still apply. */ |
|
|
char sysconf(); |
|
3383 |
|
|
3384 |
int main() { |
if test $ac_cv_header_stdc = yes; then |
3385 |
sysconf() |
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
3386 |
; return 0; } |
cat >conftest.$ac_ext <<_ACEOF |
3387 |
EOF |
#line $LINENO "configure" |
3388 |
if { (eval echo configure:1821: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
/* confdefs.h. */ |
3389 |
rm -rf conftest* |
_ACEOF |
3390 |
eval "ac_cv_lib_$ac_lib_var=yes" |
cat confdefs.h >>conftest.$ac_ext |
3391 |
else |
cat >>conftest.$ac_ext <<_ACEOF |
3392 |
echo "configure: failed program was:" >&5 |
/* end confdefs.h. */ |
3393 |
cat conftest.$ac_ext >&5 |
#include <stdlib.h> |
3394 |
rm -rf conftest* |
|
3395 |
eval "ac_cv_lib_$ac_lib_var=no" |
_ACEOF |
3396 |
|
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3397 |
|
$EGREP "free" >/dev/null 2>&1; then |
3398 |
|
: |
3399 |
|
else |
3400 |
|
ac_cv_header_stdc=no |
3401 |
fi |
fi |
3402 |
rm -f conftest* |
rm -f conftest* |
|
LIBS="$ac_save_LIBS" |
|
3403 |
|
|
3404 |
fi |
fi |
3405 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
|
3406 |
echo "$ac_t""yes" 1>&6 |
if test $ac_cv_header_stdc = yes; then |
3407 |
echo $ac_n "checking "for _SC_CLK_TCK"""... $ac_c" 1>&6 |
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
3408 |
echo "configure:1837: checking "for _SC_CLK_TCK"" >&5 |
if test "$cross_compiling" = yes; then |
3409 |
if test "$cross_compiling" = yes; then |
: |
3410 |
|
else |
3411 |
|
cat >conftest.$ac_ext <<_ACEOF |
3412 |
|
#line $LINENO "configure" |
3413 |
|
/* confdefs.h. */ |
3414 |
|
_ACEOF |
3415 |
|
cat confdefs.h >>conftest.$ac_ext |
3416 |
|
cat >>conftest.$ac_ext <<_ACEOF |
3417 |
|
/* end confdefs.h. */ |
3418 |
|
#include <ctype.h> |
3419 |
|
#if ((' ' & 0x0FF) == 0x020) |
3420 |
|
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
3421 |
|
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
3422 |
|
#else |
3423 |
|
# define ISLOWER(c) \ |
3424 |
|
(('a' <= (c) && (c) <= 'i') \ |
3425 |
|
|| ('j' <= (c) && (c) <= 'r') \ |
3426 |
|
|| ('s' <= (c) && (c) <= 'z')) |
3427 |
|
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
3428 |
|
#endif |
3429 |
|
|
3430 |
|
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
3431 |
|
int |
3432 |
|
main () |
3433 |
|
{ |
3434 |
|
int i; |
3435 |
|
for (i = 0; i < 256; i++) |
3436 |
|
if (XOR (islower (i), ISLOWER (i)) |
3437 |
|
|| toupper (i) != TOUPPER (i)) |
3438 |
|
exit(2); |
3439 |
|
exit (0); |
3440 |
|
} |
3441 |
|
_ACEOF |
3442 |
|
rm -f conftest$ac_exeext |
3443 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
3444 |
|
(eval $ac_link) 2>&5 |
3445 |
|
ac_status=$? |
3446 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3447 |
|
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
3448 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3449 |
|
(eval $ac_try) 2>&5 |
3450 |
|
ac_status=$? |
3451 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3452 |
|
(exit $ac_status); }; }; then |
3453 |
|
: |
3454 |
|
else |
3455 |
|
echo "$as_me: program exited with status $ac_status" >&5 |
3456 |
|
echo "$as_me: failed program was:" >&5 |
3457 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
3458 |
|
|
3459 |
|
( exit $ac_status ) |
3460 |
|
ac_cv_header_stdc=no |
3461 |
|
fi |
3462 |
|
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
3463 |
|
fi |
3464 |
|
fi |
3465 |
|
fi |
3466 |
|
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 |
3467 |
|
echo "${ECHO_T}$ac_cv_header_stdc" >&6 |
3468 |
|
if test $ac_cv_header_stdc = yes; then |
3469 |
|
|
3470 |
|
cat >>confdefs.h <<\_ACEOF |
3471 |
|
#define STDC_HEADERS 1 |
3472 |
|
_ACEOF |
3473 |
|
|
3474 |
|
fi |
3475 |
|
|
3476 |
|
# On IRIX 5.3, sys/types and inttypes.h are conflicting. |
3477 |
|
|
3478 |
|
|
3479 |
|
|
3480 |
|
|
3481 |
|
|
3482 |
|
|
3483 |
|
|
3484 |
|
|
3485 |
|
|
3486 |
|
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
3487 |
|
inttypes.h stdint.h unistd.h |
3488 |
|
do |
3489 |
|
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
3490 |
|
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
3491 |
|
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
3492 |
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
3493 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3494 |
|
else |
3495 |
|
cat >conftest.$ac_ext <<_ACEOF |
3496 |
|
#line $LINENO "configure" |
3497 |
|
/* confdefs.h. */ |
3498 |
|
_ACEOF |
3499 |
|
cat confdefs.h >>conftest.$ac_ext |
3500 |
|
cat >>conftest.$ac_ext <<_ACEOF |
3501 |
|
/* end confdefs.h. */ |
3502 |
|
$ac_includes_default |
3503 |
|
|
3504 |
|
#include <$ac_header> |
3505 |
|
_ACEOF |
3506 |
|
rm -f conftest.$ac_objext |
3507 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3508 |
|
(eval $ac_compile) 2>&5 |
3509 |
|
ac_status=$? |
3510 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3511 |
|
(exit $ac_status); } && |
3512 |
|
{ ac_try='test -s conftest.$ac_objext' |
3513 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3514 |
|
(eval $ac_try) 2>&5 |
3515 |
|
ac_status=$? |
3516 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3517 |
|
(exit $ac_status); }; }; then |
3518 |
|
eval "$as_ac_Header=yes" |
3519 |
|
else |
3520 |
|
echo "$as_me: failed program was:" >&5 |
3521 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
3522 |
|
|
3523 |
|
eval "$as_ac_Header=no" |
3524 |
|
fi |
3525 |
|
rm -f conftest.$ac_objext conftest.$ac_ext |
3526 |
|
fi |
3527 |
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
3528 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
3529 |
|
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
3530 |
|
cat >>confdefs.h <<_ACEOF |
3531 |
|
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
3532 |
|
_ACEOF |
3533 |
|
|
3534 |
|
fi |
3535 |
|
|
3536 |
|
done |
3537 |
|
|
3538 |
|
|
3539 |
|
if test "${ac_cv_header_unistd_h+set}" = set; then |
3540 |
|
echo "$as_me:$LINENO: checking for unistd.h" >&5 |
3541 |
|
echo $ECHO_N "checking for unistd.h... $ECHO_C" >&6 |
3542 |
|
if test "${ac_cv_header_unistd_h+set}" = set; then |
3543 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3544 |
|
fi |
3545 |
|
echo "$as_me:$LINENO: result: $ac_cv_header_unistd_h" >&5 |
3546 |
|
echo "${ECHO_T}$ac_cv_header_unistd_h" >&6 |
3547 |
|
else |
3548 |
|
# Is the header compilable? |
3549 |
|
echo "$as_me:$LINENO: checking unistd.h usability" >&5 |
3550 |
|
echo $ECHO_N "checking unistd.h usability... $ECHO_C" >&6 |
3551 |
|
cat >conftest.$ac_ext <<_ACEOF |
3552 |
|
#line $LINENO "configure" |
3553 |
|
/* confdefs.h. */ |
3554 |
|
_ACEOF |
3555 |
|
cat confdefs.h >>conftest.$ac_ext |
3556 |
|
cat >>conftest.$ac_ext <<_ACEOF |
3557 |
|
/* end confdefs.h. */ |
3558 |
|
$ac_includes_default |
3559 |
|
#include <unistd.h> |
3560 |
|
_ACEOF |
3561 |
|
rm -f conftest.$ac_objext |
3562 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3563 |
|
(eval $ac_compile) 2>&5 |
3564 |
|
ac_status=$? |
3565 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3566 |
|
(exit $ac_status); } && |
3567 |
|
{ ac_try='test -s conftest.$ac_objext' |
3568 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3569 |
|
(eval $ac_try) 2>&5 |
3570 |
|
ac_status=$? |
3571 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3572 |
|
(exit $ac_status); }; }; then |
3573 |
|
ac_header_compiler=yes |
3574 |
|
else |
3575 |
|
echo "$as_me: failed program was:" >&5 |
3576 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
3577 |
|
|
3578 |
|
ac_header_compiler=no |
3579 |
|
fi |
3580 |
|
rm -f conftest.$ac_objext conftest.$ac_ext |
3581 |
|
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
3582 |
|
echo "${ECHO_T}$ac_header_compiler" >&6 |
3583 |
|
|
3584 |
|
# Is the header present? |
3585 |
|
echo "$as_me:$LINENO: checking unistd.h presence" >&5 |
3586 |
|
echo $ECHO_N "checking unistd.h presence... $ECHO_C" >&6 |
3587 |
|
cat >conftest.$ac_ext <<_ACEOF |
3588 |
|
#line $LINENO "configure" |
3589 |
|
/* confdefs.h. */ |
3590 |
|
_ACEOF |
3591 |
|
cat confdefs.h >>conftest.$ac_ext |
3592 |
|
cat >>conftest.$ac_ext <<_ACEOF |
3593 |
|
/* end confdefs.h. */ |
3594 |
|
#include <unistd.h> |
3595 |
|
_ACEOF |
3596 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
3597 |
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
3598 |
|
ac_status=$? |
3599 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
3600 |
|
rm -f conftest.er1 |
3601 |
|
cat conftest.err >&5 |
3602 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3603 |
|
(exit $ac_status); } >/dev/null; then |
3604 |
|
if test -s conftest.err; then |
3605 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
3606 |
|
else |
3607 |
|
ac_cpp_err= |
3608 |
|
fi |
3609 |
|
else |
3610 |
|
ac_cpp_err=yes |
3611 |
|
fi |
3612 |
|
if test -z "$ac_cpp_err"; then |
3613 |
|
ac_header_preproc=yes |
3614 |
|
else |
3615 |
|
echo "$as_me: failed program was:" >&5 |
3616 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
3617 |
|
|
3618 |
|
ac_header_preproc=no |
3619 |
|
fi |
3620 |
|
rm -f conftest.err conftest.$ac_ext |
3621 |
|
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
3622 |
|
echo "${ECHO_T}$ac_header_preproc" >&6 |
3623 |
|
|
3624 |
|
# So? What about this header? |
3625 |
|
case $ac_header_compiler:$ac_header_preproc in |
3626 |
|
yes:no ) |
3627 |
|
{ echo "$as_me:$LINENO: WARNING: unistd.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
3628 |
|
echo "$as_me: WARNING: unistd.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
3629 |
|
{ echo "$as_me:$LINENO: WARNING: unistd.h: proceeding with the preprocessor's result" >&5 |
3630 |
|
echo "$as_me: WARNING: unistd.h: proceeding with the preprocessor's result" >&2;} |
3631 |
|
( |
3632 |
|
cat <<\_ASBOX |
3633 |
|
## ------------------------------------ ## |
3634 |
|
## Report this to bug-autoconf@gnu.org. ## |
3635 |
|
## ------------------------------------ ## |
3636 |
|
_ASBOX |
3637 |
|
) | |
3638 |
|
sed "s/^/$as_me: WARNING: /" >&2 |
3639 |
|
;; |
3640 |
|
no:yes ) |
3641 |
|
{ echo "$as_me:$LINENO: WARNING: unistd.h: present but cannot be compiled" >&5 |
3642 |
|
echo "$as_me: WARNING: unistd.h: present but cannot be compiled" >&2;} |
3643 |
|
{ echo "$as_me:$LINENO: WARNING: unistd.h: check for missing prerequisite headers?" >&5 |
3644 |
|
echo "$as_me: WARNING: unistd.h: check for missing prerequisite headers?" >&2;} |
3645 |
|
{ echo "$as_me:$LINENO: WARNING: unistd.h: proceeding with the preprocessor's result" >&5 |
3646 |
|
echo "$as_me: WARNING: unistd.h: proceeding with the preprocessor's result" >&2;} |
3647 |
|
( |
3648 |
|
cat <<\_ASBOX |
3649 |
|
## ------------------------------------ ## |
3650 |
|
## Report this to bug-autoconf@gnu.org. ## |
3651 |
|
## ------------------------------------ ## |
3652 |
|
_ASBOX |
3653 |
|
) | |
3654 |
|
sed "s/^/$as_me: WARNING: /" >&2 |
3655 |
|
;; |
3656 |
|
esac |
3657 |
|
echo "$as_me:$LINENO: checking for unistd.h" >&5 |
3658 |
|
echo $ECHO_N "checking for unistd.h... $ECHO_C" >&6 |
3659 |
|
if test "${ac_cv_header_unistd_h+set}" = set; then |
3660 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3661 |
|
else |
3662 |
|
ac_cv_header_unistd_h=$ac_header_preproc |
3663 |
|
fi |
3664 |
|
echo "$as_me:$LINENO: result: $ac_cv_header_unistd_h" >&5 |
3665 |
|
echo "${ECHO_T}$ac_cv_header_unistd_h" >&6 |
3666 |
|
|
3667 |
|
fi |
3668 |
|
if test $ac_cv_header_unistd_h = yes; then |
3669 |
|
echo "$as_me:$LINENO: checking for sysconf in -lc" >&5 |
3670 |
|
echo $ECHO_N "checking for sysconf in -lc... $ECHO_C" >&6 |
3671 |
|
if test "${ac_cv_lib_c_sysconf+set}" = set; then |
3672 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3673 |
|
else |
3674 |
|
ac_check_lib_save_LIBS=$LIBS |
3675 |
|
LIBS="-lc $LIBS" |
3676 |
|
cat >conftest.$ac_ext <<_ACEOF |
3677 |
|
#line $LINENO "configure" |
3678 |
|
/* confdefs.h. */ |
3679 |
|
_ACEOF |
3680 |
|
cat confdefs.h >>conftest.$ac_ext |
3681 |
|
cat >>conftest.$ac_ext <<_ACEOF |
3682 |
|
/* end confdefs.h. */ |
3683 |
|
|
3684 |
|
/* Override any gcc2 internal prototype to avoid an error. */ |
3685 |
|
#ifdef __cplusplus |
3686 |
|
extern "C" |
3687 |
|
#endif |
3688 |
|
/* We use char because int might match the return type of a gcc2 |
3689 |
|
builtin and then its argument prototype would still apply. */ |
3690 |
|
char sysconf (); |
3691 |
|
int |
3692 |
|
main () |
3693 |
|
{ |
3694 |
|
sysconf (); |
3695 |
|
; |
3696 |
|
return 0; |
3697 |
|
} |
3698 |
|
_ACEOF |
3699 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
3700 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
3701 |
|
(eval $ac_link) 2>&5 |
3702 |
|
ac_status=$? |
3703 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3704 |
|
(exit $ac_status); } && |
3705 |
|
{ ac_try='test -s conftest$ac_exeext' |
3706 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3707 |
|
(eval $ac_try) 2>&5 |
3708 |
|
ac_status=$? |
3709 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3710 |
|
(exit $ac_status); }; }; then |
3711 |
|
ac_cv_lib_c_sysconf=yes |
3712 |
|
else |
3713 |
|
echo "$as_me: failed program was:" >&5 |
3714 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
3715 |
|
|
3716 |
|
ac_cv_lib_c_sysconf=no |
3717 |
|
fi |
3718 |
|
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
3719 |
|
LIBS=$ac_check_lib_save_LIBS |
3720 |
|
fi |
3721 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_c_sysconf" >&5 |
3722 |
|
echo "${ECHO_T}$ac_cv_lib_c_sysconf" >&6 |
3723 |
|
if test $ac_cv_lib_c_sysconf = yes; then |
3724 |
|
echo "$as_me:$LINENO: checking \"for _SC_CLK_TCK\"" >&5 |
3725 |
|
echo $ECHO_N "checking \"for _SC_CLK_TCK\"... $ECHO_C" >&6 |
3726 |
|
|
3727 |
|
if test "$cross_compiling" = yes; then |
3728 |
hz=0 |
hz=0 |
3729 |
else |
else |
3730 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
3731 |
#line 1842 "configure" |
#line $LINENO "configure" |
3732 |
#include "confdefs.h" |
/* confdefs.h. */ |
3733 |
|
_ACEOF |
3734 |
|
cat confdefs.h >>conftest.$ac_ext |
3735 |
|
cat >>conftest.$ac_ext <<_ACEOF |
3736 |
|
/* end confdefs.h. */ |
3737 |
#include <unistd.h> |
#include <unistd.h> |
3738 |
#include <stdio.h> |
#include <stdio.h> |
3739 |
int |
int |
3743 |
fclose(fp); |
fclose(fp); |
3744 |
return 0; |
return 0; |
3745 |
} |
} |
3746 |
EOF |
_ACEOF |
3747 |
if { (eval echo configure:1854: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
rm -f conftest$ac_exeext |
3748 |
then |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
3749 |
|
(eval $ac_link) 2>&5 |
3750 |
|
ac_status=$? |
3751 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3752 |
|
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
3753 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3754 |
|
(eval $ac_try) 2>&5 |
3755 |
|
ac_status=$? |
3756 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3757 |
|
(exit $ac_status); }; }; then |
3758 |
hz=`cat conftest1` |
hz=`cat conftest1` |
3759 |
cat >> confdefs.h <<EOF |
cat >>confdefs.h <<_ACEOF |
3760 |
#define HZ $hz |
#define HZ $hz |
3761 |
EOF |
_ACEOF |
3762 |
|
|
3763 |
|
|
|
|
|
3764 |
else |
else |
3765 |
echo "configure: failed program was:" >&5 |
echo "$as_me: program exited with status $ac_status" >&5 |
3766 |
cat conftest.$ac_ext >&5 |
echo "$as_me: failed program was:" >&5 |
3767 |
rm -fr conftest* |
sed 's/^/| /' conftest.$ac_ext >&5 |
3768 |
hz=0 |
|
3769 |
|
( exit $ac_status ) |
3770 |
|
hz=0 |
3771 |
fi |
fi |
3772 |
rm -fr conftest* |
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
3773 |
fi |
fi |
3774 |
|
echo "$as_me:$LINENO: result: $hz" >&5 |
3775 |
echo "$ac_t""$hz" 1>&6 |
echo "${ECHO_T}$hz" >&6 |
|
else |
|
|
echo "$ac_t""no" 1>&6 |
|
3776 |
fi |
fi |
3777 |
|
|
|
else |
|
|
echo "$ac_t""no" 1>&6 |
|
3778 |
fi |
fi |
3779 |
|
|
3780 |
|
|
3781 |
|
|
3782 |
|
|
3783 |
#MY_SUBDIRS= |
#MY_SUBDIRS= |
3784 |
|
|
3785 |
# |
# |
3794 |
GMPDIR=gmp3 |
GMPDIR=gmp3 |
3795 |
PATCHED_SYMBOLS="" |
PATCHED_SYMBOLS="" |
3796 |
if test "$enable_dynsysgmp" = "yes" ; then |
if test "$enable_dynsysgmp" = "yes" ; then |
3797 |
ac_safe=`echo "gmp.h" | sed 'y%./+-%__p_%'` |
if test "${ac_cv_header_gmp_h+set}" = set; then |
3798 |
echo $ac_n "checking for gmp.h""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for gmp.h" >&5 |
3799 |
echo "configure:1898: checking for gmp.h" >&5 |
echo $ECHO_N "checking for gmp.h... $ECHO_C" >&6 |
3800 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if test "${ac_cv_header_gmp_h+set}" = set; then |
3801 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3802 |
else |
fi |
3803 |
cat > conftest.$ac_ext <<EOF |
echo "$as_me:$LINENO: result: $ac_cv_header_gmp_h" >&5 |
3804 |
#line 1903 "configure" |
echo "${ECHO_T}$ac_cv_header_gmp_h" >&6 |
3805 |
#include "confdefs.h" |
else |
3806 |
|
# Is the header compilable? |
3807 |
|
echo "$as_me:$LINENO: checking gmp.h usability" >&5 |
3808 |
|
echo $ECHO_N "checking gmp.h usability... $ECHO_C" >&6 |
3809 |
|
cat >conftest.$ac_ext <<_ACEOF |
3810 |
|
#line $LINENO "configure" |
3811 |
|
/* confdefs.h. */ |
3812 |
|
_ACEOF |
3813 |
|
cat confdefs.h >>conftest.$ac_ext |
3814 |
|
cat >>conftest.$ac_ext <<_ACEOF |
3815 |
|
/* end confdefs.h. */ |
3816 |
|
$ac_includes_default |
3817 |
#include <gmp.h> |
#include <gmp.h> |
3818 |
EOF |
_ACEOF |
3819 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
rm -f conftest.$ac_objext |
3820 |
{ (eval echo configure:1908: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3821 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
(eval $ac_compile) 2>&5 |
3822 |
if test -z "$ac_err"; then |
ac_status=$? |
3823 |
rm -rf conftest* |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3824 |
eval "ac_cv_header_$ac_safe=yes" |
(exit $ac_status); } && |
3825 |
else |
{ ac_try='test -s conftest.$ac_objext' |
3826 |
echo "$ac_err" >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3827 |
echo "configure: failed program was:" >&5 |
(eval $ac_try) 2>&5 |
3828 |
cat conftest.$ac_ext >&5 |
ac_status=$? |
3829 |
rm -rf conftest* |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3830 |
eval "ac_cv_header_$ac_safe=no" |
(exit $ac_status); }; }; then |
3831 |
fi |
ac_header_compiler=yes |
3832 |
rm -f conftest* |
else |
3833 |
|
echo "$as_me: failed program was:" >&5 |
3834 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
3835 |
|
|
3836 |
|
ac_header_compiler=no |
3837 |
|
fi |
3838 |
|
rm -f conftest.$ac_objext conftest.$ac_ext |
3839 |
|
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
3840 |
|
echo "${ECHO_T}$ac_header_compiler" >&6 |
3841 |
|
|
3842 |
|
# Is the header present? |
3843 |
|
echo "$as_me:$LINENO: checking gmp.h presence" >&5 |
3844 |
|
echo $ECHO_N "checking gmp.h presence... $ECHO_C" >&6 |
3845 |
|
cat >conftest.$ac_ext <<_ACEOF |
3846 |
|
#line $LINENO "configure" |
3847 |
|
/* confdefs.h. */ |
3848 |
|
_ACEOF |
3849 |
|
cat confdefs.h >>conftest.$ac_ext |
3850 |
|
cat >>conftest.$ac_ext <<_ACEOF |
3851 |
|
/* end confdefs.h. */ |
3852 |
|
#include <gmp.h> |
3853 |
|
_ACEOF |
3854 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
3855 |
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
3856 |
|
ac_status=$? |
3857 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
3858 |
|
rm -f conftest.er1 |
3859 |
|
cat conftest.err >&5 |
3860 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3861 |
|
(exit $ac_status); } >/dev/null; then |
3862 |
|
if test -s conftest.err; then |
3863 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
3864 |
|
else |
3865 |
|
ac_cpp_err= |
3866 |
|
fi |
3867 |
|
else |
3868 |
|
ac_cpp_err=yes |
3869 |
fi |
fi |
3870 |
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
if test -z "$ac_cpp_err"; then |
3871 |
echo "$ac_t""yes" 1>&6 |
ac_header_preproc=yes |
|
echo $ac_n "checking for __gmpz_init in -lgmp""... $ac_c" 1>&6 |
|
|
echo "configure:1925: checking for __gmpz_init in -lgmp" >&5 |
|
|
ac_lib_var=`echo gmp'_'__gmpz_init | sed 'y%./+-%__p_%'` |
|
|
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
3872 |
else |
else |
3873 |
ac_save_LIBS="$LIBS" |
echo "$as_me: failed program was:" >&5 |
3874 |
LIBS="-lgmp $LIBS" |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
cat > conftest.$ac_ext <<EOF |
|
|
#line 1933 "configure" |
|
|
#include "confdefs.h" |
|
|
/* Override any gcc2 internal prototype to avoid an error. */ |
|
|
/* We use char because int might match the return type of a gcc2 |
|
|
builtin and then its argument prototype would still apply. */ |
|
|
char __gmpz_init(); |
|
3875 |
|
|
3876 |
int main() { |
ac_header_preproc=no |
3877 |
__gmpz_init() |
fi |
3878 |
; return 0; } |
rm -f conftest.err conftest.$ac_ext |
3879 |
EOF |
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
3880 |
if { (eval echo configure:1944: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
echo "${ECHO_T}$ac_header_preproc" >&6 |
3881 |
rm -rf conftest* |
|
3882 |
eval "ac_cv_lib_$ac_lib_var=yes" |
# So? What about this header? |
3883 |
else |
case $ac_header_compiler:$ac_header_preproc in |
3884 |
echo "configure: failed program was:" >&5 |
yes:no ) |
3885 |
cat conftest.$ac_ext >&5 |
{ echo "$as_me:$LINENO: WARNING: gmp.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
3886 |
rm -rf conftest* |
echo "$as_me: WARNING: gmp.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
3887 |
eval "ac_cv_lib_$ac_lib_var=no" |
{ echo "$as_me:$LINENO: WARNING: gmp.h: proceeding with the preprocessor's result" >&5 |
3888 |
|
echo "$as_me: WARNING: gmp.h: proceeding with the preprocessor's result" >&2;} |
3889 |
|
( |
3890 |
|
cat <<\_ASBOX |
3891 |
|
## ------------------------------------ ## |
3892 |
|
## Report this to bug-autoconf@gnu.org. ## |
3893 |
|
## ------------------------------------ ## |
3894 |
|
_ASBOX |
3895 |
|
) | |
3896 |
|
sed "s/^/$as_me: WARNING: /" >&2 |
3897 |
|
;; |
3898 |
|
no:yes ) |
3899 |
|
{ echo "$as_me:$LINENO: WARNING: gmp.h: present but cannot be compiled" >&5 |
3900 |
|
echo "$as_me: WARNING: gmp.h: present but cannot be compiled" >&2;} |
3901 |
|
{ echo "$as_me:$LINENO: WARNING: gmp.h: check for missing prerequisite headers?" >&5 |
3902 |
|
echo "$as_me: WARNING: gmp.h: check for missing prerequisite headers?" >&2;} |
3903 |
|
{ echo "$as_me:$LINENO: WARNING: gmp.h: proceeding with the preprocessor's result" >&5 |
3904 |
|
echo "$as_me: WARNING: gmp.h: proceeding with the preprocessor's result" >&2;} |
3905 |
|
( |
3906 |
|
cat <<\_ASBOX |
3907 |
|
## ------------------------------------ ## |
3908 |
|
## Report this to bug-autoconf@gnu.org. ## |
3909 |
|
## ------------------------------------ ## |
3910 |
|
_ASBOX |
3911 |
|
) | |
3912 |
|
sed "s/^/$as_me: WARNING: /" >&2 |
3913 |
|
;; |
3914 |
|
esac |
3915 |
|
echo "$as_me:$LINENO: checking for gmp.h" >&5 |
3916 |
|
echo $ECHO_N "checking for gmp.h... $ECHO_C" >&6 |
3917 |
|
if test "${ac_cv_header_gmp_h+set}" = set; then |
3918 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3919 |
|
else |
3920 |
|
ac_cv_header_gmp_h=$ac_header_preproc |
3921 |
fi |
fi |
3922 |
rm -f conftest* |
echo "$as_me:$LINENO: result: $ac_cv_header_gmp_h" >&5 |
3923 |
LIBS="$ac_save_LIBS" |
echo "${ECHO_T}$ac_cv_header_gmp_h" >&6 |
3924 |
|
|
3925 |
fi |
fi |
3926 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
if test $ac_cv_header_gmp_h = yes; then |
3927 |
echo "$ac_t""yes" 1>&6 |
echo "$as_me:$LINENO: checking for __gmpz_init in -lgmp" >&5 |
3928 |
echo $ac_n "checking "for external gmp version"""... $ac_c" 1>&6 |
echo $ECHO_N "checking for __gmpz_init in -lgmp... $ECHO_C" >&6 |
3929 |
echo "configure:1960: checking "for external gmp version"" >&5 |
if test "${ac_cv_lib_gmp___gmpz_init+set}" = set; then |
3930 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3931 |
|
else |
3932 |
|
ac_check_lib_save_LIBS=$LIBS |
3933 |
|
LIBS="-lgmp $LIBS" |
3934 |
|
cat >conftest.$ac_ext <<_ACEOF |
3935 |
|
#line $LINENO "configure" |
3936 |
|
/* confdefs.h. */ |
3937 |
|
_ACEOF |
3938 |
|
cat confdefs.h >>conftest.$ac_ext |
3939 |
|
cat >>conftest.$ac_ext <<_ACEOF |
3940 |
|
/* end confdefs.h. */ |
3941 |
|
|
3942 |
|
/* Override any gcc2 internal prototype to avoid an error. */ |
3943 |
|
#ifdef __cplusplus |
3944 |
|
extern "C" |
3945 |
|
#endif |
3946 |
|
/* We use char because int might match the return type of a gcc2 |
3947 |
|
builtin and then its argument prototype would still apply. */ |
3948 |
|
char __gmpz_init (); |
3949 |
|
int |
3950 |
|
main () |
3951 |
|
{ |
3952 |
|
__gmpz_init (); |
3953 |
|
; |
3954 |
|
return 0; |
3955 |
|
} |
3956 |
|
_ACEOF |
3957 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
3958 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
3959 |
|
(eval $ac_link) 2>&5 |
3960 |
|
ac_status=$? |
3961 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3962 |
|
(exit $ac_status); } && |
3963 |
|
{ ac_try='test -s conftest$ac_exeext' |
3964 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3965 |
|
(eval $ac_try) 2>&5 |
3966 |
|
ac_status=$? |
3967 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3968 |
|
(exit $ac_status); }; }; then |
3969 |
|
ac_cv_lib_gmp___gmpz_init=yes |
3970 |
|
else |
3971 |
|
echo "$as_me: failed program was:" >&5 |
3972 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
3973 |
|
|
3974 |
|
ac_cv_lib_gmp___gmpz_init=no |
3975 |
|
fi |
3976 |
|
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
3977 |
|
LIBS=$ac_check_lib_save_LIBS |
3978 |
|
fi |
3979 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_gmp___gmpz_init" >&5 |
3980 |
|
echo "${ECHO_T}$ac_cv_lib_gmp___gmpz_init" >&6 |
3981 |
|
if test $ac_cv_lib_gmp___gmpz_init = yes; then |
3982 |
|
echo "$as_me:$LINENO: checking \"for external gmp version\"" >&5 |
3983 |
|
echo $ECHO_N "checking \"for external gmp version\"... $ECHO_C" >&6 |
3984 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
3985 |
echo "Cannot use dynamic gmp lib" |
echo "Cannot use dynamic gmp lib" |
3986 |
else |
else |
3987 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
3988 |
#line 1965 "configure" |
#line $LINENO "configure" |
3989 |
#include "confdefs.h" |
/* confdefs.h. */ |
3990 |
|
_ACEOF |
3991 |
|
cat confdefs.h >>conftest.$ac_ext |
3992 |
|
cat >>conftest.$ac_ext <<_ACEOF |
3993 |
|
/* end confdefs.h. */ |
3994 |
#include <gmp.h> |
#include <gmp.h> |
3995 |
int main() { |
int main() { |
3996 |
#if __GNU_MP_VERSION == 4 |
#if __GNU_MP_VERSION == 4 |
3999 |
return -1; |
return -1; |
4000 |
#endif |
#endif |
4001 |
} |
} |
4002 |
EOF |
_ACEOF |
4003 |
if { (eval echo configure:1976: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
rm -f conftest$ac_exeext |
4004 |
then |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
4005 |
|
(eval $ac_link) 2>&5 |
4006 |
|
ac_status=$? |
4007 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4008 |
|
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
4009 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4010 |
|
(eval $ac_try) 2>&5 |
4011 |
|
ac_status=$? |
4012 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4013 |
|
(exit $ac_status); }; }; then |
4014 |
# MPFILES=$GMPDIR/mpn/mul_n.o |
# MPFILES=$GMPDIR/mpn/mul_n.o |
4015 |
# PATCHED_SYMBOLS=__gmpn_toom3_mul_n |
# PATCHED_SYMBOLS=__gmpn_toom3_mul_n |
4016 |
MPFILES= |
MPFILES= |
4025 |
MP_INCLUDE=`cpp foo.c | grep /gmp.h | head -n 1 | $AWK '{print $3}' | tr -d '"'` |
MP_INCLUDE=`cpp foo.c | grep /gmp.h | head -n 1 | $AWK '{print $3}' | tr -d '"'` |
4026 |
rm -f foo.c |
rm -f foo.c |
4027 |
else |
else |
4028 |
echo "configure: failed program was:" >&5 |
echo "$as_me: program exited with status $ac_status" >&5 |
4029 |
cat conftest.$ac_ext >&5 |
echo "$as_me: failed program was:" >&5 |
4030 |
rm -fr conftest* |
sed 's/^/| /' conftest.$ac_ext >&5 |
4031 |
echo "Cannot use dynamic gmp lib" |
|
4032 |
|
( exit $ac_status ) |
4033 |
|
echo "Cannot use dynamic gmp lib" |
4034 |
fi |
fi |
4035 |
rm -fr conftest* |
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
4036 |
fi |
fi |
|
|
|
4037 |
else |
else |
4038 |
echo "$ac_t""no" 1>&6 |
echo "Cannot use dynamic gmp lib" |
|
echo "Cannot use dynamic gmp lib" |
|
4039 |
fi |
fi |
4040 |
|
|
4041 |
else |
else |
4042 |
echo "$ac_t""no" 1>&6 |
echo "Cannot use dynamic gmp lib" |
|
echo "Cannot use dynamic gmp lib" |
|
4043 |
fi |
fi |
4044 |
|
|
4045 |
|
|
4046 |
fi |
fi |
4047 |
|
|
4048 |
NEED_LOCAL_GMP='' |
NEED_LOCAL_GMP='' |
4049 |
if test "$MP_INCLUDE" = "" ; then |
if test "$MP_INCLUDE" = "" ; then |
4050 |
NEED_LOCAL_GMP=1; |
NEED_LOCAL_GMP=1; |
4051 |
fi |
fi |
4052 |
if test "$PATCHED_SYMBOLS" != "" ; then |
if test "$PATCHED_SYMBOLS" != "" ; then |
4053 |
NEED_LOCAL_GMP=1; |
NEED_LOCAL_GMP=1; |
4054 |
fi |
fi |
4055 |
|
|
4056 |
if test "$NEED_LOCAL_GMP" != "" ; then |
if test "$NEED_LOCAL_GMP" != "" ; then |
4057 |
|
|
4058 |
echo $ac_n "checking use_gmp=yes, doing configure in gmp directory""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking use_gmp=yes, doing configure in gmp directory" >&5 |
4059 |
echo "configure:2023: checking use_gmp=yes, doing configure in gmp directory" >&5 |
echo $ECHO_N "checking use_gmp=yes, doing configure in gmp directory... $ECHO_C" >&6 |
4060 |
echo |
echo |
4061 |
echo "#" |
echo "#" |
4062 |
echo "#" |
echo "#" |
4070 |
else |
else |
4071 |
cd $GMPDIR && ./configure && cd .. |
cd $GMPDIR && ./configure && cd .. |
4072 |
fi |
fi |
4073 |
#MY_SUBDIRS="$MY_SUBDIRS $GMPDIR" |
#MY_SUBDIRS="$MY_SUBDIRS $GMPDIR" |
4074 |
|
|
4075 |
echo "#" |
echo "#" |
4076 |
echo "#" |
echo "#" |
4087 |
|
|
4088 |
fi |
fi |
4089 |
|
|
4090 |
echo $ac_n "checking "for leading underscore in object symbols"""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking \"for leading underscore in object symbols\"" >&5 |
4091 |
echo "configure:2055: checking "for leading underscore in object symbols"" >&5 |
echo $ECHO_N "checking \"for leading underscore in object symbols\"... $ECHO_C" >&6 |
4092 |
cat>foo.c <<EOFF |
cat>foo.c <<EOFF |
4093 |
#include <math.h> |
#include <math.h> |
4094 |
int main() {double d=0.0;cos(d);return 0;} |
int main() {double d=0.0;cos(d);return 0;} |
4096 |
$CC -c foo.c -o foo.o |
$CC -c foo.c -o foo.o |
4097 |
if nm foo.o |grep " U " | grep "_cos" >/dev/null ; then |
if nm foo.o |grep " U " | grep "_cos" >/dev/null ; then |
4098 |
LEADING_UNDERSCORE=1 |
LEADING_UNDERSCORE=1 |
4099 |
echo "$ac_t"""yes"" 1>&6 |
echo "$as_me:$LINENO: result: \"yes\"" >&5 |
4100 |
|
echo "${ECHO_T}\"yes\"" >&6 |
4101 |
else |
else |
4102 |
LEADING_UNDERSCORE="" |
LEADING_UNDERSCORE="" |
4103 |
echo "$ac_t"""no"" 1>&6 |
echo "$as_me:$LINENO: result: \"no\"" >&5 |
4104 |
|
echo "${ECHO_T}\"no\"" >&6 |
4105 |
fi |
fi |
4106 |
echo $ac_n "checking "for GNU ld option -Map"""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking \"for GNU ld option -Map\"" >&5 |
4107 |
echo "configure:2069: checking "for GNU ld option -Map"" >&5 |
echo $ECHO_N "checking \"for GNU ld option -Map\"... $ECHO_C" >&6 |
4108 |
touch map |
touch map |
4109 |
$CC -o foo -Wl,-Map map foo.o >/dev/null 2>&1 |
$CC -o foo -Wl,-Map map foo.o >/dev/null 2>&1 |
4110 |
if test `cat map | wc -l` != "0" ; then |
if test `cat map | wc -l` != "0" ; then |
4111 |
echo "$ac_t"""yes"" 1>&6 |
echo "$as_me:$LINENO: result: \"yes\"" >&5 |
4112 |
cat >> confdefs.h <<\EOF |
echo "${ECHO_T}\"yes\"" >&6 |
4113 |
|
cat >>confdefs.h <<\_ACEOF |
4114 |
#define HAVE_GNU_LD 1 |
#define HAVE_GNU_LD 1 |
4115 |
EOF |
_ACEOF |
4116 |
|
|
4117 |
GNU_LD=1 |
GNU_LD=1 |
4118 |
else |
else |
4119 |
echo "$ac_t"""no"" 1>&6 |
echo "$as_me:$LINENO: result: \"no\"" >&5 |
4120 |
|
echo "${ECHO_T}\"no\"" >&6 |
4121 |
GNU_LD= |
GNU_LD= |
4122 |
fi |
fi |
4123 |
rm -f foo.c foo.o foo map |
rm -f foo.c foo.o foo map |
4124 |
|
|
4125 |
echo $ac_n "checking "for size of gmp limbs"""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking \"for size of gmp limbs\"" >&5 |
4126 |
echo "configure:2086: checking "for size of gmp limbs"" >&5 |
echo $ECHO_N "checking \"for size of gmp limbs\"... $ECHO_C" >&6 |
4127 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
4128 |
mpsize=0 |
mpsize=0 |
4129 |
else |
else |
4130 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
4131 |
#line 2091 "configure" |
#line $LINENO "configure" |
4132 |
#include "confdefs.h" |
/* confdefs.h. */ |
4133 |
|
_ACEOF |
4134 |
|
cat confdefs.h >>conftest.$ac_ext |
4135 |
|
cat >>conftest.$ac_ext <<_ACEOF |
4136 |
|
/* end confdefs.h. */ |
4137 |
#include <stdio.h> |
#include <stdio.h> |
4138 |
#include "$MP_INCLUDE" |
#include "$MP_INCLUDE" |
4139 |
int main() { |
int main() { |
4142 |
fclose(fp); |
fclose(fp); |
4143 |
return 0; |
return 0; |
4144 |
} |
} |
4145 |
EOF |
_ACEOF |
4146 |
if { (eval echo configure:2102: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
rm -f conftest$ac_exeext |
4147 |
then |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
4148 |
|
(eval $ac_link) 2>&5 |
4149 |
|
ac_status=$? |
4150 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4151 |
|
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
4152 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4153 |
|
(eval $ac_try) 2>&5 |
4154 |
|
ac_status=$? |
4155 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4156 |
|
(exit $ac_status); }; }; then |
4157 |
mpsize=`cat conftest1` |
mpsize=`cat conftest1` |
4158 |
else |
else |
4159 |
echo "configure: failed program was:" >&5 |
echo "$as_me: program exited with status $ac_status" >&5 |
4160 |
cat conftest.$ac_ext >&5 |
echo "$as_me: failed program was:" >&5 |
4161 |
rm -fr conftest* |
sed 's/^/| /' conftest.$ac_ext >&5 |
4162 |
mpsize=0 |
|
4163 |
|
( exit $ac_status ) |
4164 |
|
mpsize=0 |
4165 |
fi |
fi |
4166 |
rm -fr conftest* |
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
4167 |
fi |
fi |
|
|
|
4168 |
if test "$mpsize" = "0" ; then |
if test "$mpsize" = "0" ; then |
4169 |
echo "Cannot determine mpsize" |
echo "Cannot determine mpsize" |
4170 |
exit 1 |
exit 1 |
4171 |
fi |
fi |
4172 |
cat >> confdefs.h <<EOF |
cat >>confdefs.h <<_ACEOF |
4173 |
#define MP_LIMB_BYTES $mpsize |
#define MP_LIMB_BYTES $mpsize |
4174 |
EOF |
_ACEOF |
4175 |
|
|
4176 |
echo "$ac_t""$mpsize" 1>&6 |
echo "$as_me:$LINENO: result: $mpsize" >&5 |
4177 |
|
echo "${ECHO_T}$mpsize" >&6 |
4178 |
|
|
4179 |
echo $ac_n "checking "_SHORT_LIMB"""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking \"_SHORT_LIMB\"" >&5 |
4180 |
echo "configure:2125: checking "_SHORT_LIMB"" >&5 |
echo $ECHO_N "checking \"_SHORT_LIMB\"... $ECHO_C" >&6 |
4181 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
4182 |
echo "$ac_t""no" 1>&6 |
echo "$as_me:$LINENO: result: no" >&5 |
4183 |
|
echo "${ECHO_T}no" >&6 |
4184 |
else |
else |
4185 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
4186 |
#line 2130 "configure" |
#line $LINENO "configure" |
4187 |
#include "confdefs.h" |
/* confdefs.h. */ |
4188 |
|
_ACEOF |
4189 |
|
cat confdefs.h >>conftest.$ac_ext |
4190 |
|
cat >>conftest.$ac_ext <<_ACEOF |
4191 |
|
/* end confdefs.h. */ |
4192 |
#include <stdio.h> |
#include <stdio.h> |
4193 |
#include "$MP_INCLUDE" |
#include "$MP_INCLUDE" |
4194 |
int main() { |
int main() { |
4198 |
return 1; |
return 1; |
4199 |
#endif |
#endif |
4200 |
} |
} |
4201 |
EOF |
_ACEOF |
4202 |
if { (eval echo configure:2142: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
rm -f conftest$ac_exeext |
4203 |
then |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
4204 |
cat >> confdefs.h <<\EOF |
(eval $ac_link) 2>&5 |
4205 |
|
ac_status=$? |
4206 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4207 |
|
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
4208 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4209 |
|
(eval $ac_try) 2>&5 |
4210 |
|
ac_status=$? |
4211 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4212 |
|
(exit $ac_status); }; }; then |
4213 |
|
cat >>confdefs.h <<\_ACEOF |
4214 |
#define __SHORT_LIMB 1 |
#define __SHORT_LIMB 1 |
4215 |
EOF |
_ACEOF |
4216 |
echo "$ac_t""yes" 1>&6 |
echo "$as_me:$LINENO: result: yes" >&5 |
4217 |
else |
echo "${ECHO_T}yes" >&6 |
4218 |
echo "configure: failed program was:" >&5 |
else |
4219 |
cat conftest.$ac_ext >&5 |
echo "$as_me: program exited with status $ac_status" >&5 |
4220 |
rm -fr conftest* |
echo "$as_me: failed program was:" >&5 |
4221 |
echo "$ac_t""no" 1>&6 |
sed 's/^/| /' conftest.$ac_ext >&5 |
4222 |
|
|
4223 |
|
( exit $ac_status ) |
4224 |
|
echo "$as_me:$LINENO: result: no" >&5 |
4225 |
|
echo "${ECHO_T}no" >&6 |
4226 |
fi |
fi |
4227 |
rm -fr conftest* |
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
4228 |
fi |
fi |
4229 |
|
echo "$as_me:$LINENO: checking \"_LONG_LONG_LIMB\"" >&5 |
4230 |
echo $ac_n "checking "_LONG_LONG_LIMB"""... $ac_c" 1>&6 |
echo $ECHO_N "checking \"_LONG_LONG_LIMB\"... $ECHO_C" >&6 |
|
echo "configure:2158: checking "_LONG_LONG_LIMB"" >&5 |
|
4231 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
4232 |
echo "$ac_t""no" 1>&6 |
echo "$as_me:$LINENO: result: no" >&5 |
4233 |
|
echo "${ECHO_T}no" >&6 |
4234 |
else |
else |
4235 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
4236 |
#line 2163 "configure" |
#line $LINENO "configure" |
4237 |
#include "confdefs.h" |
/* confdefs.h. */ |
4238 |
|
_ACEOF |
4239 |
|
cat confdefs.h >>conftest.$ac_ext |
4240 |
|
cat >>conftest.$ac_ext <<_ACEOF |
4241 |
|
/* end confdefs.h. */ |
4242 |
#include <stdio.h> |
#include <stdio.h> |
4243 |
#include "$MP_INCLUDE" |
#include "$MP_INCLUDE" |
4244 |
int main() { |
int main() { |
4248 |
return 1; |
return 1; |
4249 |
#endif |
#endif |
4250 |
} |
} |
4251 |
EOF |
_ACEOF |
4252 |
if { (eval echo configure:2175: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
rm -f conftest$ac_exeext |
4253 |
then |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
4254 |
cat >> confdefs.h <<\EOF |
(eval $ac_link) 2>&5 |
4255 |
|
ac_status=$? |
4256 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4257 |
|
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
4258 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4259 |
|
(eval $ac_try) 2>&5 |
4260 |
|
ac_status=$? |
4261 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4262 |
|
(exit $ac_status); }; }; then |
4263 |
|
cat >>confdefs.h <<\_ACEOF |
4264 |
#define __LONG_LONG_LIMB 1 |
#define __LONG_LONG_LIMB 1 |
4265 |
EOF |
_ACEOF |
4266 |
echo "$ac_t""yes" 1>&6 |
echo "$as_me:$LINENO: result: yes" >&5 |
4267 |
else |
echo "${ECHO_T}yes" >&6 |
4268 |
echo "configure: failed program was:" >&5 |
else |
4269 |
cat conftest.$ac_ext >&5 |
echo "$as_me: program exited with status $ac_status" >&5 |
4270 |
rm -fr conftest* |
echo "$as_me: failed program was:" >&5 |
4271 |
echo "$ac_t""no" 1>&6 |
sed 's/^/| /' conftest.$ac_ext >&5 |
4272 |
|
|
4273 |
|
( exit $ac_status ) |
4274 |
|
echo "$as_me:$LINENO: result: no" >&5 |
4275 |
|
echo "${ECHO_T}no" >&6 |
4276 |
fi |
fi |
4277 |
rm -fr conftest* |
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
4278 |
fi |
fi |
4279 |
|
|
|
|
|
4280 |
GMP=1 |
GMP=1 |
4281 |
cat >> confdefs.h <<\EOF |
cat >>confdefs.h <<\_ACEOF |
4282 |
#define GMP 1 |
#define GMP 1 |
4283 |
EOF |
_ACEOF |
4284 |
|
|
4285 |
|
|
4286 |
|
|
|
|
|
|
|
|
4287 |
echo > makedefsafter |
echo > makedefsafter |
4288 |
echo "MPFILES=$MPFILES" >> makedefsafter |
echo "MPFILES=$MPFILES" >> makedefsafter |
4289 |
echo "PATCHED_SYMBOLS=$PATCHED_SYMBOLS" >> makedefsafter |
echo "PATCHED_SYMBOLS=$PATCHED_SYMBOLS" >> makedefsafter |
4293 |
|
|
4294 |
# |
# |
4295 |
# X windows |
# X windows |
4296 |
# |
# |
4297 |
|
|
4298 |
|
echo "$as_me:$LINENO: checking for X" >&5 |
4299 |
|
echo $ECHO_N "checking for X... $ECHO_C" >&6 |
4300 |
|
|
|
# If we find X, set shell vars x_includes and x_libraries to the |
|
|
# paths, otherwise set no_x=yes. |
|
|
# Uses ac_ vars as temps to allow command line to override cache and checks. |
|
|
# --without-x overrides everything else, but does not touch the cache. |
|
|
echo $ac_n "checking for X""... $ac_c" 1>&6 |
|
|
echo "configure:2214: checking for X" >&5 |
|
4301 |
|
|
4302 |
# Check whether --with-x or --without-x was given. |
# Check whether --with-x or --without-x was given. |
4303 |
if test "${with_x+set}" = set; then |
if test "${with_x+set}" = set; then |
4304 |
withval="$with_x" |
withval="$with_x" |
|
: |
|
|
fi |
|
4305 |
|
|
4306 |
|
fi; |
4307 |
# $have_x is `yes', `no', `disabled', or empty when we do not yet know. |
# $have_x is `yes', `no', `disabled', or empty when we do not yet know. |
4308 |
if test "x$with_x" = xno; then |
if test "x$with_x" = xno; then |
4309 |
# The user explicitly disabled X. |
# The user explicitly disabled X. |
4313 |
# Both variables are already set. |
# Both variables are already set. |
4314 |
have_x=yes |
have_x=yes |
4315 |
else |
else |
4316 |
if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then |
if test "${ac_cv_have_x+set}" = set; then |
4317 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4318 |
else |
else |
4319 |
# One or both of the vars are not set, and there is no cached value. |
# One or both of the vars are not set, and there is no cached value. |
4320 |
ac_x_includes=NO ac_x_libraries=NO |
ac_x_includes=no ac_x_libraries=no |
4321 |
rm -fr conftestdir |
rm -fr conftest.dir |
4322 |
if mkdir conftestdir; then |
if mkdir conftest.dir; then |
4323 |
cd conftestdir |
cd conftest.dir |
4324 |
# Make sure to not put "make" in the Imakefile rules, since we grep it out. |
# Make sure to not put "make" in the Imakefile rules, since we grep it out. |
4325 |
cat > Imakefile <<'EOF' |
cat >Imakefile <<'_ACEOF' |
4326 |
acfindx: |
acfindx: |
4327 |
@echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"' |
@echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"' |
4328 |
EOF |
_ACEOF |
4329 |
if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then |
if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then |
4330 |
# GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
# GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
4331 |
eval `${MAKE-make} acfindx 2>/dev/null | grep -v make` |
eval `${MAKE-make} acfindx 2>/dev/null | grep -v make` |
4332 |
# Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR. |
# Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR. |
4333 |
for ac_extension in a so sl; do |
for ac_extension in a so sl; do |
4334 |
if test ! -f $ac_im_usrlibdir/libX11.$ac_extension && |
if test ! -f $ac_im_usrlibdir/libX11.$ac_extension && |
4335 |
test -f $ac_im_libdir/libX11.$ac_extension; then |
test -f $ac_im_libdir/libX11.$ac_extension; then |
4336 |
ac_im_usrlibdir=$ac_im_libdir; break |
ac_im_usrlibdir=$ac_im_libdir; break |
4337 |
fi |
fi |
4338 |
done |
done |
4339 |
# Screen out bogus values from the imake configuration. They are |
# Screen out bogus values from the imake configuration. They are |
4340 |
# bogus both because they are the default anyway, and because |
# bogus both because they are the default anyway, and because |
4341 |
# using them would break gcc on systems where it needs fixed includes. |
# using them would break gcc on systems where it needs fixed includes. |
4342 |
case "$ac_im_incroot" in |
case $ac_im_incroot in |
4343 |
/usr/include) ;; |
/usr/include) ;; |
4344 |
*) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes="$ac_im_incroot" ;; |
*) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;; |
4345 |
esac |
esac |
4346 |
case "$ac_im_usrlibdir" in |
case $ac_im_usrlibdir in |
4347 |
/usr/lib | /lib) ;; |
/usr/lib | /lib) ;; |
4348 |
*) test -d "$ac_im_usrlibdir" && ac_x_libraries="$ac_im_usrlibdir" ;; |
*) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;; |
4349 |
esac |
esac |
4350 |
fi |
fi |
4351 |
cd .. |
cd .. |
4352 |
rm -fr conftestdir |
rm -fr conftest.dir |
4353 |
fi |
fi |
4354 |
|
|
4355 |
if test "$ac_x_includes" = NO; then |
# Standard set of common directories for X headers. |
4356 |
# Guess where to find include files, by looking for this one X11 .h file. |
# Check X11 before X11Rn because it is often a symlink to the current release. |
4357 |
test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h |
ac_x_header_dirs=' |
4358 |
|
/usr/X11/include |
4359 |
|
/usr/X11R6/include |
4360 |
|
/usr/X11R5/include |
4361 |
|
/usr/X11R4/include |
4362 |
|
|
4363 |
|
/usr/include/X11 |
4364 |
|
/usr/include/X11R6 |
4365 |
|
/usr/include/X11R5 |
4366 |
|
/usr/include/X11R4 |
4367 |
|
|
4368 |
|
/usr/local/X11/include |
4369 |
|
/usr/local/X11R6/include |
4370 |
|
/usr/local/X11R5/include |
4371 |
|
/usr/local/X11R4/include |
4372 |
|
|
4373 |
|
/usr/local/include/X11 |
4374 |
|
/usr/local/include/X11R6 |
4375 |
|
/usr/local/include/X11R5 |
4376 |
|
/usr/local/include/X11R4 |
4377 |
|
|
4378 |
|
/usr/X386/include |
4379 |
|
/usr/x386/include |
4380 |
|
/usr/XFree86/include/X11 |
4381 |
|
|
4382 |
|
/usr/include |
4383 |
|
/usr/local/include |
4384 |
|
/usr/unsupported/include |
4385 |
|
/usr/athena/include |
4386 |
|
/usr/local/x11r5/include |
4387 |
|
/usr/lpp/Xamples/include |
4388 |
|
|
4389 |
|
/usr/openwin/include |
4390 |
|
/usr/openwin/share/include' |
4391 |
|
|
4392 |
|
if test "$ac_x_includes" = no; then |
4393 |
|
# Guess where to find include files, by looking for Intrinsic.h. |
4394 |
# First, try using that file with no special directory specified. |
# First, try using that file with no special directory specified. |
4395 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
4396 |
#line 2276 "configure" |
#line $LINENO "configure" |
4397 |
#include "confdefs.h" |
/* confdefs.h. */ |
4398 |
#include <$x_direct_test_include> |
_ACEOF |
4399 |
EOF |
cat confdefs.h >>conftest.$ac_ext |
4400 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
cat >>conftest.$ac_ext <<_ACEOF |
4401 |
{ (eval echo configure:2281: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
/* end confdefs.h. */ |
4402 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
#include <X11/Intrinsic.h> |
4403 |
if test -z "$ac_err"; then |
_ACEOF |
4404 |
rm -rf conftest* |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
4405 |
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
4406 |
|
ac_status=$? |
4407 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
4408 |
|
rm -f conftest.er1 |
4409 |
|
cat conftest.err >&5 |
4410 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4411 |
|
(exit $ac_status); } >/dev/null; then |
4412 |
|
if test -s conftest.err; then |
4413 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
4414 |
|
else |
4415 |
|
ac_cpp_err= |
4416 |
|
fi |
4417 |
|
else |
4418 |
|
ac_cpp_err=yes |
4419 |
|
fi |
4420 |
|
if test -z "$ac_cpp_err"; then |
4421 |
# We can compile using X headers with no special include directory. |
# We can compile using X headers with no special include directory. |
4422 |
ac_x_includes= |
ac_x_includes= |
4423 |
else |
else |
4424 |
echo "$ac_err" >&5 |
echo "$as_me: failed program was:" >&5 |
4425 |
echo "configure: failed program was:" >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
4426 |
cat conftest.$ac_ext >&5 |
|
4427 |
rm -rf conftest* |
for ac_dir in $ac_x_header_dirs; do |
4428 |
# Look for the header file in a standard set of common directories. |
if test -r "$ac_dir/X11/Intrinsic.h"; then |
4429 |
# Check X11 before X11Rn because it is often a symlink to the current release. |
ac_x_includes=$ac_dir |
4430 |
for ac_dir in \ |
break |
4431 |
/usr/X11/include \ |
fi |
4432 |
/usr/X11R6/include \ |
done |
|
/usr/X11R5/include \ |
|
|
/usr/X11R4/include \ |
|
|
\ |
|
|
/usr/include/X11 \ |
|
|
/usr/include/X11R6 \ |
|
|
/usr/include/X11R5 \ |
|
|
/usr/include/X11R4 \ |
|
|
\ |
|
|
/usr/local/X11/include \ |
|
|
/usr/local/X11R6/include \ |
|
|
/usr/local/X11R5/include \ |
|
|
/usr/local/X11R4/include \ |
|
|
\ |
|
|
/usr/local/include/X11 \ |
|
|
/usr/local/include/X11R6 \ |
|
|
/usr/local/include/X11R5 \ |
|
|
/usr/local/include/X11R4 \ |
|
|
\ |
|
|
/usr/X386/include \ |
|
|
/usr/x386/include \ |
|
|
/usr/XFree86/include/X11 \ |
|
|
\ |
|
|
/usr/include \ |
|
|
/usr/local/include \ |
|
|
/usr/unsupported/include \ |
|
|
/usr/athena/include \ |
|
|
/usr/local/x11r5/include \ |
|
|
/usr/lpp/Xamples/include \ |
|
|
\ |
|
|
/usr/openwin/include \ |
|
|
/usr/openwin/share/include \ |
|
|
; \ |
|
|
do |
|
|
if test -r "$ac_dir/$x_direct_test_include"; then |
|
|
ac_x_includes=$ac_dir |
|
|
break |
|
|
fi |
|
|
done |
|
4433 |
fi |
fi |
4434 |
rm -f conftest* |
rm -f conftest.err conftest.$ac_ext |
4435 |
fi # $ac_x_includes = NO |
fi # $ac_x_includes = no |
4436 |
|
|
4437 |
if test "$ac_x_libraries" = NO; then |
if test "$ac_x_libraries" = no; then |
4438 |
# Check for the libraries. |
# Check for the libraries. |
|
|
|
|
test -z "$x_direct_test_library" && x_direct_test_library=Xt |
|
|
test -z "$x_direct_test_function" && x_direct_test_function=XtMalloc |
|
|
|
|
4439 |
# See if we find them without any special options. |
# See if we find them without any special options. |
4440 |
# Don't add to $LIBS permanently. |
# Don't add to $LIBS permanently. |
4441 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS=$LIBS |
4442 |
LIBS="-l$x_direct_test_library $LIBS" |
LIBS="-lXt $LIBS" |
4443 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
4444 |
#line 2350 "configure" |
#line $LINENO "configure" |
4445 |
#include "confdefs.h" |
/* confdefs.h. */ |
4446 |
|
_ACEOF |
4447 |
int main() { |
cat confdefs.h >>conftest.$ac_ext |
4448 |
${x_direct_test_function}() |
cat >>conftest.$ac_ext <<_ACEOF |
4449 |
; return 0; } |
/* end confdefs.h. */ |
4450 |
EOF |
#include <X11/Intrinsic.h> |
4451 |
if { (eval echo configure:2357: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
int |
4452 |
rm -rf conftest* |
main () |
4453 |
LIBS="$ac_save_LIBS" |
{ |
4454 |
|
XtMalloc (0) |
4455 |
|
; |
4456 |
|
return 0; |
4457 |
|
} |
4458 |
|
_ACEOF |
4459 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
4460 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
4461 |
|
(eval $ac_link) 2>&5 |
4462 |
|
ac_status=$? |
4463 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4464 |
|
(exit $ac_status); } && |
4465 |
|
{ ac_try='test -s conftest$ac_exeext' |
4466 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4467 |
|
(eval $ac_try) 2>&5 |
4468 |
|
ac_status=$? |
4469 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4470 |
|
(exit $ac_status); }; }; then |
4471 |
|
LIBS=$ac_save_LIBS |
4472 |
# We can link X programs with no special library path. |
# We can link X programs with no special library path. |
4473 |
ac_x_libraries= |
ac_x_libraries= |
4474 |
else |
else |
4475 |
echo "configure: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
4476 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
4477 |
rm -rf conftest* |
|
4478 |
LIBS="$ac_save_LIBS" |
LIBS=$ac_save_LIBS |
4479 |
# First see if replacing the include by lib works. |
for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g` |
|
# Check X11 before X11Rn because it is often a symlink to the current release. |
|
|
for ac_dir in `echo "$ac_x_includes" | sed s/include/lib/` \ |
|
|
/usr/X11/lib \ |
|
|
/usr/X11R6/lib \ |
|
|
/usr/X11R5/lib \ |
|
|
/usr/X11R4/lib \ |
|
|
\ |
|
|
/usr/lib/X11 \ |
|
|
/usr/lib/X11R6 \ |
|
|
/usr/lib/X11R5 \ |
|
|
/usr/lib/X11R4 \ |
|
|
\ |
|
|
/usr/local/X11/lib \ |
|
|
/usr/local/X11R6/lib \ |
|
|
/usr/local/X11R5/lib \ |
|
|
/usr/local/X11R4/lib \ |
|
|
\ |
|
|
/usr/local/lib/X11 \ |
|
|
/usr/local/lib/X11R6 \ |
|
|
/usr/local/lib/X11R5 \ |
|
|
/usr/local/lib/X11R4 \ |
|
|
\ |
|
|
/usr/X386/lib \ |
|
|
/usr/x386/lib \ |
|
|
/usr/XFree86/lib/X11 \ |
|
|
\ |
|
|
/usr/lib \ |
|
|
/usr/local/lib \ |
|
|
/usr/unsupported/lib \ |
|
|
/usr/athena/lib \ |
|
|
/usr/local/x11r5/lib \ |
|
|
/usr/lpp/Xamples/lib \ |
|
|
/lib/usr/lib/X11 \ |
|
|
\ |
|
|
/usr/openwin/lib \ |
|
|
/usr/openwin/share/lib \ |
|
|
; \ |
|
4480 |
do |
do |
4481 |
|
# Don't even attempt the hair of trying to link an X program! |
4482 |
for ac_extension in a so sl; do |
for ac_extension in a so sl; do |
4483 |
if test -r $ac_dir/lib${x_direct_test_library}.$ac_extension; then |
if test -r $ac_dir/libXt.$ac_extension; then |
4484 |
ac_x_libraries=$ac_dir |
ac_x_libraries=$ac_dir |
4485 |
break 2 |
break 2 |
4486 |
fi |
fi |
4487 |
done |
done |
4488 |
done |
done |
4489 |
fi |
fi |
4490 |
rm -f conftest* |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
4491 |
fi # $ac_x_libraries = NO |
fi # $ac_x_libraries = no |
4492 |
|
|
4493 |
if test "$ac_x_includes" = NO || test "$ac_x_libraries" = NO; then |
if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then |
4494 |
# Didn't find X anywhere. Cache the known absence of X. |
# Didn't find X anywhere. Cache the known absence of X. |
4495 |
ac_cv_have_x="have_x=no" |
ac_cv_have_x="have_x=no" |
4496 |
else |
else |
4499 |
ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries" |
ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries" |
4500 |
fi |
fi |
4501 |
fi |
fi |
4502 |
|
|
4503 |
fi |
fi |
4504 |
eval "$ac_cv_have_x" |
eval "$ac_cv_have_x" |
4505 |
fi # $with_x != no |
fi # $with_x != no |
4506 |
|
|
4507 |
if test "$have_x" != yes; then |
if test "$have_x" != yes; then |
4508 |
echo "$ac_t""$have_x" 1>&6 |
echo "$as_me:$LINENO: result: $have_x" >&5 |
4509 |
|
echo "${ECHO_T}$have_x" >&6 |
4510 |
no_x=yes |
no_x=yes |
4511 |
else |
else |
4512 |
# If each of the values was on the command line, it overrides each guess. |
# If each of the values was on the command line, it overrides each guess. |
4515 |
# Update the cache value to reflect the command line values. |
# Update the cache value to reflect the command line values. |
4516 |
ac_cv_have_x="have_x=yes \ |
ac_cv_have_x="have_x=yes \ |
4517 |
ac_x_includes=$x_includes ac_x_libraries=$x_libraries" |
ac_x_includes=$x_includes ac_x_libraries=$x_libraries" |
4518 |
echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6 |
echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5 |
4519 |
|
echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6 |
4520 |
fi |
fi |
4521 |
|
|
4522 |
if test "$no_x" = yes; then |
if test "$no_x" = yes; then |
4523 |
# Not all programs may use this symbol, but it does not hurt to define it. |
# Not all programs may use this symbol, but it does not hurt to define it. |
4524 |
cat >> confdefs.h <<\EOF |
|
4525 |
|
cat >>confdefs.h <<\_ACEOF |
4526 |
#define X_DISPLAY_MISSING 1 |
#define X_DISPLAY_MISSING 1 |
4527 |
EOF |
_ACEOF |
4528 |
|
|
4529 |
X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS= |
X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS= |
4530 |
else |
else |
4537 |
X_LIBS="$X_LIBS -L$x_libraries" |
X_LIBS="$X_LIBS -L$x_libraries" |
4538 |
# For Solaris; some versions of Sun CC require a space after -R and |
# For Solaris; some versions of Sun CC require a space after -R and |
4539 |
# others require no space. Words are not sufficient . . . . |
# others require no space. Words are not sufficient . . . . |
4540 |
case "`(uname -sr) 2>/dev/null`" in |
case `(uname -sr) 2>/dev/null` in |
4541 |
"SunOS 5"*) |
"SunOS 5"*) |
4542 |
echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5 |
4543 |
echo "configure:2463: checking whether -R must be followed by a space" >&5 |
echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6 |
4544 |
ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" |
ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries" |
4545 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
4546 |
#line 2466 "configure" |
#line $LINENO "configure" |
4547 |
#include "confdefs.h" |
/* confdefs.h. */ |
4548 |
|
_ACEOF |
4549 |
|
cat confdefs.h >>conftest.$ac_ext |
4550 |
|
cat >>conftest.$ac_ext <<_ACEOF |
4551 |
|
/* end confdefs.h. */ |
4552 |
|
|
4553 |
int main() { |
int |
4554 |
|
main () |
4555 |
|
{ |
4556 |
|
|
4557 |
; return 0; } |
; |
4558 |
EOF |
return 0; |
4559 |
if { (eval echo configure:2473: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
} |
4560 |
rm -rf conftest* |
_ACEOF |
4561 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
4562 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
4563 |
|
(eval $ac_link) 2>&5 |
4564 |
|
ac_status=$? |
4565 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4566 |
|
(exit $ac_status); } && |
4567 |
|
{ ac_try='test -s conftest$ac_exeext' |
4568 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4569 |
|
(eval $ac_try) 2>&5 |
4570 |
|
ac_status=$? |
4571 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4572 |
|
(exit $ac_status); }; }; then |
4573 |
ac_R_nospace=yes |
ac_R_nospace=yes |
4574 |
else |
else |
4575 |
echo "configure: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
4576 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
4577 |
rm -rf conftest* |
|
4578 |
ac_R_nospace=no |
ac_R_nospace=no |
4579 |
fi |
fi |
4580 |
rm -f conftest* |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
4581 |
if test $ac_R_nospace = yes; then |
if test $ac_R_nospace = yes; then |
4582 |
echo "$ac_t""no" 1>&6 |
echo "$as_me:$LINENO: result: no" >&5 |
4583 |
|
echo "${ECHO_T}no" >&6 |
4584 |
X_LIBS="$X_LIBS -R$x_libraries" |
X_LIBS="$X_LIBS -R$x_libraries" |
4585 |
else |
else |
4586 |
LIBS="$ac_xsave_LIBS -R $x_libraries" |
LIBS="$ac_xsave_LIBS -R $x_libraries" |
4587 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
4588 |
#line 2489 "configure" |
#line $LINENO "configure" |
4589 |
#include "confdefs.h" |
/* confdefs.h. */ |
4590 |
|
_ACEOF |
4591 |
|
cat confdefs.h >>conftest.$ac_ext |
4592 |
|
cat >>conftest.$ac_ext <<_ACEOF |
4593 |
|
/* end confdefs.h. */ |
4594 |
|
|
4595 |
int main() { |
int |
4596 |
|
main () |
4597 |
|
{ |
4598 |
|
|
4599 |
; return 0; } |
; |
4600 |
EOF |
return 0; |
4601 |
if { (eval echo configure:2496: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
} |
4602 |
rm -rf conftest* |
_ACEOF |
4603 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
4604 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
4605 |
|
(eval $ac_link) 2>&5 |
4606 |
|
ac_status=$? |
4607 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4608 |
|
(exit $ac_status); } && |
4609 |
|
{ ac_try='test -s conftest$ac_exeext' |
4610 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4611 |
|
(eval $ac_try) 2>&5 |
4612 |
|
ac_status=$? |
4613 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4614 |
|
(exit $ac_status); }; }; then |
4615 |
ac_R_space=yes |
ac_R_space=yes |
4616 |
else |
else |
4617 |
echo "configure: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
4618 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
4619 |
rm -rf conftest* |
|
4620 |
ac_R_space=no |
ac_R_space=no |
4621 |
fi |
fi |
4622 |
rm -f conftest* |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
4623 |
if test $ac_R_space = yes; then |
if test $ac_R_space = yes; then |
4624 |
echo "$ac_t""yes" 1>&6 |
echo "$as_me:$LINENO: result: yes" >&5 |
4625 |
|
echo "${ECHO_T}yes" >&6 |
4626 |
X_LIBS="$X_LIBS -R $x_libraries" |
X_LIBS="$X_LIBS -R $x_libraries" |
4627 |
else |
else |
4628 |
echo "$ac_t""neither works" 1>&6 |
echo "$as_me:$LINENO: result: neither works" >&5 |
4629 |
|
echo "${ECHO_T}neither works" >&6 |
4630 |
fi |
fi |
4631 |
fi |
fi |
4632 |
LIBS="$ac_xsave_LIBS" |
LIBS=$ac_xsave_LIBS |
4633 |
esac |
esac |
4634 |
fi |
fi |
4635 |
|
|
4640 |
if test "$ISC" = yes; then |
if test "$ISC" = yes; then |
4641 |
X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet" |
X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet" |
4642 |
else |
else |
4643 |
# Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X |
# Martyn Johnson says this is needed for Ultrix, if the X |
4644 |
# libraries were built with DECnet support. And karl@cs.umb.edu says |
# libraries were built with DECnet support. And Karl Berry says |
4645 |
# the Alpha needs dnet_stub (dnet does not exist). |
# the Alpha needs dnet_stub (dnet does not exist). |
4646 |
echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 |
ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11" |
4647 |
echo "configure:2528: checking for dnet_ntoa in -ldnet" >&5 |
cat >conftest.$ac_ext <<_ACEOF |
4648 |
ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
#line $LINENO "configure" |
4649 |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
/* confdefs.h. */ |
4650 |
echo $ac_n "(cached) $ac_c" 1>&6 |
_ACEOF |
4651 |
else |
cat confdefs.h >>conftest.$ac_ext |
4652 |
ac_save_LIBS="$LIBS" |
cat >>conftest.$ac_ext <<_ACEOF |
4653 |
LIBS="-ldnet $LIBS" |
/* end confdefs.h. */ |
4654 |
cat > conftest.$ac_ext <<EOF |
|
|
#line 2536 "configure" |
|
|
#include "confdefs.h" |
|
4655 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
4656 |
|
#ifdef __cplusplus |
4657 |
|
extern "C" |
4658 |
|
#endif |
4659 |
/* We use char because int might match the return type of a gcc2 |
/* We use char because int might match the return type of a gcc2 |
4660 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
4661 |
char dnet_ntoa(); |
char XOpenDisplay (); |
4662 |
|
int |
4663 |
|
main () |
4664 |
|
{ |
4665 |
|
XOpenDisplay (); |
4666 |
|
; |
4667 |
|
return 0; |
4668 |
|
} |
4669 |
|
_ACEOF |
4670 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
4671 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
4672 |
|
(eval $ac_link) 2>&5 |
4673 |
|
ac_status=$? |
4674 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4675 |
|
(exit $ac_status); } && |
4676 |
|
{ ac_try='test -s conftest$ac_exeext' |
4677 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4678 |
|
(eval $ac_try) 2>&5 |
4679 |
|
ac_status=$? |
4680 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4681 |
|
(exit $ac_status); }; }; then |
4682 |
|
: |
4683 |
|
else |
4684 |
|
echo "$as_me: failed program was:" >&5 |
4685 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
4686 |
|
|
4687 |
int main() { |
echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5 |
4688 |
dnet_ntoa() |
echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6 |
4689 |
; return 0; } |
if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then |
4690 |
EOF |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4691 |
if { (eval echo configure:2547: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
else |
4692 |
rm -rf conftest* |
ac_check_lib_save_LIBS=$LIBS |
4693 |
eval "ac_cv_lib_$ac_lib_var=yes" |
LIBS="-ldnet $LIBS" |
4694 |
else |
cat >conftest.$ac_ext <<_ACEOF |
4695 |
echo "configure: failed program was:" >&5 |
#line $LINENO "configure" |
4696 |
cat conftest.$ac_ext >&5 |
/* confdefs.h. */ |
4697 |
rm -rf conftest* |
_ACEOF |
4698 |
eval "ac_cv_lib_$ac_lib_var=no" |
cat confdefs.h >>conftest.$ac_ext |
4699 |
fi |
cat >>conftest.$ac_ext <<_ACEOF |
4700 |
rm -f conftest* |
/* end confdefs.h. */ |
|
LIBS="$ac_save_LIBS" |
|
4701 |
|
|
4702 |
fi |
/* Override any gcc2 internal prototype to avoid an error. */ |
4703 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
#ifdef __cplusplus |
4704 |
echo "$ac_t""yes" 1>&6 |
extern "C" |
4705 |
|
#endif |
4706 |
|
/* We use char because int might match the return type of a gcc2 |
4707 |
|
builtin and then its argument prototype would still apply. */ |
4708 |
|
char dnet_ntoa (); |
4709 |
|
int |
4710 |
|
main () |
4711 |
|
{ |
4712 |
|
dnet_ntoa (); |
4713 |
|
; |
4714 |
|
return 0; |
4715 |
|
} |
4716 |
|
_ACEOF |
4717 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
4718 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
4719 |
|
(eval $ac_link) 2>&5 |
4720 |
|
ac_status=$? |
4721 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4722 |
|
(exit $ac_status); } && |
4723 |
|
{ ac_try='test -s conftest$ac_exeext' |
4724 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4725 |
|
(eval $ac_try) 2>&5 |
4726 |
|
ac_status=$? |
4727 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4728 |
|
(exit $ac_status); }; }; then |
4729 |
|
ac_cv_lib_dnet_dnet_ntoa=yes |
4730 |
|
else |
4731 |
|
echo "$as_me: failed program was:" >&5 |
4732 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
4733 |
|
|
4734 |
|
ac_cv_lib_dnet_dnet_ntoa=no |
4735 |
|
fi |
4736 |
|
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
4737 |
|
LIBS=$ac_check_lib_save_LIBS |
4738 |
|
fi |
4739 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5 |
4740 |
|
echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6 |
4741 |
|
if test $ac_cv_lib_dnet_dnet_ntoa = yes; then |
4742 |
X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet" |
X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet" |
|
else |
|
|
echo "$ac_t""no" 1>&6 |
|
4743 |
fi |
fi |
4744 |
|
|
4745 |
if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
4746 |
echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5 |
4747 |
echo "configure:2569: checking for dnet_ntoa in -ldnet_stub" >&5 |
echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6 |
4748 |
ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then |
4749 |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
4750 |
else |
else |
4751 |
ac_save_LIBS="$LIBS" |
ac_check_lib_save_LIBS=$LIBS |
4752 |
LIBS="-ldnet_stub $LIBS" |
LIBS="-ldnet_stub $LIBS" |
4753 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
4754 |
#line 2577 "configure" |
#line $LINENO "configure" |
4755 |
#include "confdefs.h" |
/* confdefs.h. */ |
4756 |
|
_ACEOF |
4757 |
|
cat confdefs.h >>conftest.$ac_ext |
4758 |
|
cat >>conftest.$ac_ext <<_ACEOF |
4759 |
|
/* end confdefs.h. */ |
4760 |
|
|
4761 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
4762 |
|
#ifdef __cplusplus |
4763 |
|
extern "C" |
4764 |
|
#endif |
4765 |
/* We use char because int might match the return type of a gcc2 |
/* We use char because int might match the return type of a gcc2 |
4766 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
4767 |
char dnet_ntoa(); |
char dnet_ntoa (); |
4768 |
|
int |
4769 |
int main() { |
main () |
4770 |
dnet_ntoa() |
{ |
4771 |
; return 0; } |
dnet_ntoa (); |
4772 |
EOF |
; |
4773 |
if { (eval echo configure:2588: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
return 0; |
4774 |
rm -rf conftest* |
} |
4775 |
eval "ac_cv_lib_$ac_lib_var=yes" |
_ACEOF |
4776 |
else |
rm -f conftest.$ac_objext conftest$ac_exeext |
4777 |
echo "configure: failed program was:" >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
4778 |
cat conftest.$ac_ext >&5 |
(eval $ac_link) 2>&5 |
4779 |
rm -rf conftest* |
ac_status=$? |
4780 |
eval "ac_cv_lib_$ac_lib_var=no" |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4781 |
fi |
(exit $ac_status); } && |
4782 |
rm -f conftest* |
{ ac_try='test -s conftest$ac_exeext' |
4783 |
LIBS="$ac_save_LIBS" |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4784 |
|
(eval $ac_try) 2>&5 |
4785 |
fi |
ac_status=$? |
4786 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4787 |
echo "$ac_t""yes" 1>&6 |
(exit $ac_status); }; }; then |
4788 |
|
ac_cv_lib_dnet_stub_dnet_ntoa=yes |
4789 |
|
else |
4790 |
|
echo "$as_me: failed program was:" >&5 |
4791 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
4792 |
|
|
4793 |
|
ac_cv_lib_dnet_stub_dnet_ntoa=no |
4794 |
|
fi |
4795 |
|
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
4796 |
|
LIBS=$ac_check_lib_save_LIBS |
4797 |
|
fi |
4798 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5 |
4799 |
|
echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6 |
4800 |
|
if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then |
4801 |
X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub" |
X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub" |
|
else |
|
|
echo "$ac_t""no" 1>&6 |
|
4802 |
fi |
fi |
4803 |
|
|
4804 |
fi |
fi |
4805 |
|
fi |
4806 |
|
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
4807 |
|
LIBS="$ac_xsave_LIBS" |
4808 |
|
|
4809 |
# msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT, |
# msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT, |
4810 |
# to get the SysV transport functions. |
# to get the SysV transport functions. |
4811 |
# chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) |
# Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4) |
4812 |
# needs -lnsl. |
# needs -lnsl. |
4813 |
# The nsl library prevents programs from opening the X display |
# The nsl library prevents programs from opening the X display |
4814 |
# on Irix 5.2, according to dickey@clark.net. |
# on Irix 5.2, according to T.E. Dickey. |
4815 |
echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
# The functions gethostbyname, getservbyname, and inet_addr are |
4816 |
echo "configure:2617: checking for gethostbyname" >&5 |
# in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking. |
4817 |
if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then |
echo "$as_me:$LINENO: checking for gethostbyname" >&5 |
4818 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6 |
4819 |
else |
if test "${ac_cv_func_gethostbyname+set}" = set; then |
4820 |
cat > conftest.$ac_ext <<EOF |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4821 |
#line 2622 "configure" |
else |
4822 |
#include "confdefs.h" |
cat >conftest.$ac_ext <<_ACEOF |
4823 |
|
#line $LINENO "configure" |
4824 |
|
/* confdefs.h. */ |
4825 |
|
_ACEOF |
4826 |
|
cat confdefs.h >>conftest.$ac_ext |
4827 |
|
cat >>conftest.$ac_ext <<_ACEOF |
4828 |
|
/* end confdefs.h. */ |
4829 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
4830 |
which can conflict with char gethostbyname(); below. */ |
which can conflict with char gethostbyname (); below. */ |
4831 |
#include <assert.h> |
#include <assert.h> |
4832 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
4833 |
|
#ifdef __cplusplus |
4834 |
|
extern "C" |
4835 |
|
{ |
4836 |
|
#endif |
4837 |
/* We use char because int might match the return type of a gcc2 |
/* We use char because int might match the return type of a gcc2 |
4838 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
4839 |
char gethostbyname(); |
char gethostbyname (); |
|
|
|
|
int main() { |
|
|
|
|
4840 |
/* The GNU C library defines this for functions which it implements |
/* The GNU C library defines this for functions which it implements |
4841 |
to always fail with ENOSYS. Some functions are actually named |
to always fail with ENOSYS. Some functions are actually named |
4842 |
something starting with __ and the normal name is an alias. */ |
something starting with __ and the normal name is an alias. */ |
4843 |
#if defined (__stub_gethostbyname) || defined (__stub___gethostbyname) |
#if defined (__stub_gethostbyname) || defined (__stub___gethostbyname) |
4844 |
choke me |
choke me |
4845 |
#else |
#else |
4846 |
gethostbyname(); |
char (*f) () = gethostbyname; |
4847 |
|
#endif |
4848 |
|
#ifdef __cplusplus |
4849 |
|
} |
4850 |
#endif |
#endif |
4851 |
|
|
4852 |
; return 0; } |
int |
4853 |
EOF |
main () |
4854 |
if { (eval echo configure:2645: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
{ |
|
rm -rf conftest* |
|
|
eval "ac_cv_func_gethostbyname=yes" |
|
|
else |
|
|
echo "configure: failed program was:" >&5 |
|
|
cat conftest.$ac_ext >&5 |
|
|
rm -rf conftest* |
|
|
eval "ac_cv_func_gethostbyname=no" |
|
|
fi |
|
|
rm -f conftest* |
|
|
fi |
|
4855 |
|
|
4856 |
if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then |
; |
4857 |
echo "$ac_t""yes" 1>&6 |
return 0; |
4858 |
: |
} |
4859 |
else |
_ACEOF |
4860 |
echo "$ac_t""no" 1>&6 |
rm -f conftest.$ac_objext conftest$ac_exeext |
4861 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
4862 |
|
(eval $ac_link) 2>&5 |
4863 |
|
ac_status=$? |
4864 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4865 |
|
(exit $ac_status); } && |
4866 |
|
{ ac_try='test -s conftest$ac_exeext' |
4867 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4868 |
|
(eval $ac_try) 2>&5 |
4869 |
|
ac_status=$? |
4870 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4871 |
|
(exit $ac_status); }; }; then |
4872 |
|
ac_cv_func_gethostbyname=yes |
4873 |
|
else |
4874 |
|
echo "$as_me: failed program was:" >&5 |
4875 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
4876 |
|
|
4877 |
|
ac_cv_func_gethostbyname=no |
4878 |
fi |
fi |
4879 |
|
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
4880 |
|
fi |
4881 |
|
echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5 |
4882 |
|
echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6 |
4883 |
|
|
4884 |
if test $ac_cv_func_gethostbyname = no; then |
if test $ac_cv_func_gethostbyname = no; then |
4885 |
echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5 |
4886 |
echo "configure:2666: checking for gethostbyname in -lnsl" >&5 |
echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6 |
4887 |
ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then |
4888 |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
4889 |
else |
else |
4890 |
ac_save_LIBS="$LIBS" |
ac_check_lib_save_LIBS=$LIBS |
4891 |
LIBS="-lnsl $LIBS" |
LIBS="-lnsl $LIBS" |
4892 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
4893 |
#line 2674 "configure" |
#line $LINENO "configure" |
4894 |
#include "confdefs.h" |
/* confdefs.h. */ |
4895 |
|
_ACEOF |
4896 |
|
cat confdefs.h >>conftest.$ac_ext |
4897 |
|
cat >>conftest.$ac_ext <<_ACEOF |
4898 |
|
/* end confdefs.h. */ |
4899 |
|
|
4900 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
4901 |
|
#ifdef __cplusplus |
4902 |
|
extern "C" |
4903 |
|
#endif |
4904 |
/* We use char because int might match the return type of a gcc2 |
/* We use char because int might match the return type of a gcc2 |
4905 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
4906 |
char gethostbyname(); |
char gethostbyname (); |
4907 |
|
int |
4908 |
int main() { |
main () |
4909 |
gethostbyname() |
{ |
4910 |
; return 0; } |
gethostbyname (); |
4911 |
EOF |
; |
4912 |
if { (eval echo configure:2685: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
return 0; |
4913 |
rm -rf conftest* |
} |
4914 |
eval "ac_cv_lib_$ac_lib_var=yes" |
_ACEOF |
4915 |
else |
rm -f conftest.$ac_objext conftest$ac_exeext |
4916 |
echo "configure: failed program was:" >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
4917 |
cat conftest.$ac_ext >&5 |
(eval $ac_link) 2>&5 |
4918 |
rm -rf conftest* |
ac_status=$? |
4919 |
eval "ac_cv_lib_$ac_lib_var=no" |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4920 |
|
(exit $ac_status); } && |
4921 |
|
{ ac_try='test -s conftest$ac_exeext' |
4922 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4923 |
|
(eval $ac_try) 2>&5 |
4924 |
|
ac_status=$? |
4925 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4926 |
|
(exit $ac_status); }; }; then |
4927 |
|
ac_cv_lib_nsl_gethostbyname=yes |
4928 |
|
else |
4929 |
|
echo "$as_me: failed program was:" >&5 |
4930 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
4931 |
|
|
4932 |
|
ac_cv_lib_nsl_gethostbyname=no |
4933 |
|
fi |
4934 |
|
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
4935 |
|
LIBS=$ac_check_lib_save_LIBS |
4936 |
|
fi |
4937 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5 |
4938 |
|
echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6 |
4939 |
|
if test $ac_cv_lib_nsl_gethostbyname = yes; then |
4940 |
|
X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl" |
4941 |
fi |
fi |
|
rm -f conftest* |
|
|
LIBS="$ac_save_LIBS" |
|
4942 |
|
|
4943 |
fi |
if test $ac_cv_lib_nsl_gethostbyname = no; then |
4944 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5 |
4945 |
echo "$ac_t""yes" 1>&6 |
echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6 |
4946 |
X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl" |
if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then |
4947 |
else |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4948 |
echo "$ac_t""no" 1>&6 |
else |
4949 |
|
ac_check_lib_save_LIBS=$LIBS |
4950 |
|
LIBS="-lbsd $LIBS" |
4951 |
|
cat >conftest.$ac_ext <<_ACEOF |
4952 |
|
#line $LINENO "configure" |
4953 |
|
/* confdefs.h. */ |
4954 |
|
_ACEOF |
4955 |
|
cat confdefs.h >>conftest.$ac_ext |
4956 |
|
cat >>conftest.$ac_ext <<_ACEOF |
4957 |
|
/* end confdefs.h. */ |
4958 |
|
|
4959 |
|
/* Override any gcc2 internal prototype to avoid an error. */ |
4960 |
|
#ifdef __cplusplus |
4961 |
|
extern "C" |
4962 |
|
#endif |
4963 |
|
/* We use char because int might match the return type of a gcc2 |
4964 |
|
builtin and then its argument prototype would still apply. */ |
4965 |
|
char gethostbyname (); |
4966 |
|
int |
4967 |
|
main () |
4968 |
|
{ |
4969 |
|
gethostbyname (); |
4970 |
|
; |
4971 |
|
return 0; |
4972 |
|
} |
4973 |
|
_ACEOF |
4974 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
4975 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
4976 |
|
(eval $ac_link) 2>&5 |
4977 |
|
ac_status=$? |
4978 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4979 |
|
(exit $ac_status); } && |
4980 |
|
{ ac_try='test -s conftest$ac_exeext' |
4981 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4982 |
|
(eval $ac_try) 2>&5 |
4983 |
|
ac_status=$? |
4984 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4985 |
|
(exit $ac_status); }; }; then |
4986 |
|
ac_cv_lib_bsd_gethostbyname=yes |
4987 |
|
else |
4988 |
|
echo "$as_me: failed program was:" >&5 |
4989 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
4990 |
|
|
4991 |
|
ac_cv_lib_bsd_gethostbyname=no |
4992 |
|
fi |
4993 |
|
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
4994 |
|
LIBS=$ac_check_lib_save_LIBS |
4995 |
|
fi |
4996 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5 |
4997 |
|
echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6 |
4998 |
|
if test $ac_cv_lib_bsd_gethostbyname = yes; then |
4999 |
|
X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd" |
5000 |
fi |
fi |
5001 |
|
|
5002 |
|
fi |
5003 |
fi |
fi |
5004 |
|
|
5005 |
# lieder@skyler.mavd.honeywell.com says without -lsocket, |
# lieder@skyler.mavd.honeywell.com says without -lsocket, |
5006 |
# socket/setsockopt and other routines are undefined under SCO ODT |
# socket/setsockopt and other routines are undefined under SCO ODT |
5007 |
# 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary |
# 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary |
5008 |
# on later versions), says simon@lia.di.epfl.ch: it contains |
# on later versions), says Simon Leinen: it contains gethostby* |
5009 |
# gethostby* variants that don't use the nameserver (or something). |
# variants that don't use the name server (or something). -lsocket |
5010 |
# -lsocket must be given before -lnsl if both are needed. |
# must be given before -lnsl if both are needed. We assume that |
5011 |
# We assume that if connect needs -lnsl, so does gethostbyname. |
# if connect needs -lnsl, so does gethostbyname. |
5012 |
echo $ac_n "checking for connect""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for connect" >&5 |
5013 |
echo "configure:2715: checking for connect" >&5 |
echo $ECHO_N "checking for connect... $ECHO_C" >&6 |
5014 |
if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then |
if test "${ac_cv_func_connect+set}" = set; then |
5015 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5016 |
else |
else |
5017 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
5018 |
#line 2720 "configure" |
#line $LINENO "configure" |
5019 |
#include "confdefs.h" |
/* confdefs.h. */ |
5020 |
|
_ACEOF |
5021 |
|
cat confdefs.h >>conftest.$ac_ext |
5022 |
|
cat >>conftest.$ac_ext <<_ACEOF |
5023 |
|
/* end confdefs.h. */ |
5024 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
5025 |
which can conflict with char connect(); below. */ |
which can conflict with char connect (); below. */ |
5026 |
#include <assert.h> |
#include <assert.h> |
5027 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
5028 |
|
#ifdef __cplusplus |
5029 |
|
extern "C" |
5030 |
|
{ |
5031 |
|
#endif |
5032 |
/* We use char because int might match the return type of a gcc2 |
/* We use char because int might match the return type of a gcc2 |
5033 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
5034 |
char connect(); |
char connect (); |
|
|
|
|
int main() { |
|
|
|
|
5035 |
/* The GNU C library defines this for functions which it implements |
/* The GNU C library defines this for functions which it implements |
5036 |
to always fail with ENOSYS. Some functions are actually named |
to always fail with ENOSYS. Some functions are actually named |
5037 |
something starting with __ and the normal name is an alias. */ |
something starting with __ and the normal name is an alias. */ |
5038 |
#if defined (__stub_connect) || defined (__stub___connect) |
#if defined (__stub_connect) || defined (__stub___connect) |
5039 |
choke me |
choke me |
5040 |
#else |
#else |
5041 |
connect(); |
char (*f) () = connect; |
5042 |
|
#endif |
5043 |
|
#ifdef __cplusplus |
5044 |
|
} |
5045 |
#endif |
#endif |
5046 |
|
|
5047 |
; return 0; } |
int |
5048 |
EOF |
main () |
5049 |
if { (eval echo configure:2743: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
{ |
|
rm -rf conftest* |
|
|
eval "ac_cv_func_connect=yes" |
|
|
else |
|
|
echo "configure: failed program was:" >&5 |
|
|
cat conftest.$ac_ext >&5 |
|
|
rm -rf conftest* |
|
|
eval "ac_cv_func_connect=no" |
|
|
fi |
|
|
rm -f conftest* |
|
|
fi |
|
5050 |
|
|
5051 |
if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then |
; |
5052 |
echo "$ac_t""yes" 1>&6 |
return 0; |
5053 |
: |
} |
5054 |
else |
_ACEOF |
5055 |
echo "$ac_t""no" 1>&6 |
rm -f conftest.$ac_objext conftest$ac_exeext |
5056 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
5057 |
|
(eval $ac_link) 2>&5 |
5058 |
|
ac_status=$? |
5059 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5060 |
|
(exit $ac_status); } && |
5061 |
|
{ ac_try='test -s conftest$ac_exeext' |
5062 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5063 |
|
(eval $ac_try) 2>&5 |
5064 |
|
ac_status=$? |
5065 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5066 |
|
(exit $ac_status); }; }; then |
5067 |
|
ac_cv_func_connect=yes |
5068 |
|
else |
5069 |
|
echo "$as_me: failed program was:" >&5 |
5070 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
5071 |
|
|
5072 |
|
ac_cv_func_connect=no |
5073 |
fi |
fi |
5074 |
|
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
5075 |
|
fi |
5076 |
|
echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5 |
5077 |
|
echo "${ECHO_T}$ac_cv_func_connect" >&6 |
5078 |
|
|
5079 |
if test $ac_cv_func_connect = no; then |
if test $ac_cv_func_connect = no; then |
5080 |
echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for connect in -lsocket" >&5 |
5081 |
echo "configure:2764: checking for connect in -lsocket" >&5 |
echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6 |
5082 |
ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` |
if test "${ac_cv_lib_socket_connect+set}" = set; then |
5083 |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
5084 |
else |
else |
5085 |
ac_save_LIBS="$LIBS" |
ac_check_lib_save_LIBS=$LIBS |
5086 |
LIBS="-lsocket $X_EXTRA_LIBS $LIBS" |
LIBS="-lsocket $X_EXTRA_LIBS $LIBS" |
5087 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
5088 |
#line 2772 "configure" |
#line $LINENO "configure" |
5089 |
#include "confdefs.h" |
/* confdefs.h. */ |
5090 |
|
_ACEOF |
5091 |
|
cat confdefs.h >>conftest.$ac_ext |
5092 |
|
cat >>conftest.$ac_ext <<_ACEOF |
5093 |
|
/* end confdefs.h. */ |
5094 |
|
|
5095 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
5096 |
|
#ifdef __cplusplus |
5097 |
|
extern "C" |
5098 |
|
#endif |
5099 |
/* We use char because int might match the return type of a gcc2 |
/* We use char because int might match the return type of a gcc2 |
5100 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
5101 |
char connect(); |
char connect (); |
5102 |
|
int |
5103 |
int main() { |
main () |
5104 |
connect() |
{ |
5105 |
; return 0; } |
connect (); |
5106 |
EOF |
; |
5107 |
if { (eval echo configure:2783: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
return 0; |
5108 |
rm -rf conftest* |
} |
5109 |
eval "ac_cv_lib_$ac_lib_var=yes" |
_ACEOF |
5110 |
else |
rm -f conftest.$ac_objext conftest$ac_exeext |
5111 |
echo "configure: failed program was:" >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
5112 |
cat conftest.$ac_ext >&5 |
(eval $ac_link) 2>&5 |
5113 |
rm -rf conftest* |
ac_status=$? |
5114 |
eval "ac_cv_lib_$ac_lib_var=no" |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5115 |
fi |
(exit $ac_status); } && |
5116 |
rm -f conftest* |
{ ac_try='test -s conftest$ac_exeext' |
5117 |
LIBS="$ac_save_LIBS" |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5118 |
|
(eval $ac_try) 2>&5 |
5119 |
fi |
ac_status=$? |
5120 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5121 |
echo "$ac_t""yes" 1>&6 |
(exit $ac_status); }; }; then |
5122 |
|
ac_cv_lib_socket_connect=yes |
5123 |
|
else |
5124 |
|
echo "$as_me: failed program was:" >&5 |
5125 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
5126 |
|
|
5127 |
|
ac_cv_lib_socket_connect=no |
5128 |
|
fi |
5129 |
|
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
5130 |
|
LIBS=$ac_check_lib_save_LIBS |
5131 |
|
fi |
5132 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5 |
5133 |
|
echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6 |
5134 |
|
if test $ac_cv_lib_socket_connect = yes; then |
5135 |
X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS" |
X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS" |
|
else |
|
|
echo "$ac_t""no" 1>&6 |
|
5136 |
fi |
fi |
5137 |
|
|
5138 |
fi |
fi |
5139 |
|
|
5140 |
# gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. |
# Guillermo Gomez says -lposix is necessary on A/UX. |
5141 |
echo $ac_n "checking for remove""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for remove" >&5 |
5142 |
echo "configure:2807: checking for remove" >&5 |
echo $ECHO_N "checking for remove... $ECHO_C" >&6 |
5143 |
if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then |
if test "${ac_cv_func_remove+set}" = set; then |
5144 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5145 |
else |
else |
5146 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
5147 |
#line 2812 "configure" |
#line $LINENO "configure" |
5148 |
#include "confdefs.h" |
/* confdefs.h. */ |
5149 |
|
_ACEOF |
5150 |
|
cat confdefs.h >>conftest.$ac_ext |
5151 |
|
cat >>conftest.$ac_ext <<_ACEOF |
5152 |
|
/* end confdefs.h. */ |
5153 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
5154 |
which can conflict with char remove(); below. */ |
which can conflict with char remove (); below. */ |
5155 |
#include <assert.h> |
#include <assert.h> |
5156 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
5157 |
|
#ifdef __cplusplus |
5158 |
|
extern "C" |
5159 |
|
{ |
5160 |
|
#endif |
5161 |
/* We use char because int might match the return type of a gcc2 |
/* We use char because int might match the return type of a gcc2 |
5162 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
5163 |
char remove(); |
char remove (); |
|
|
|
|
int main() { |
|
|
|
|
5164 |
/* The GNU C library defines this for functions which it implements |
/* The GNU C library defines this for functions which it implements |
5165 |
to always fail with ENOSYS. Some functions are actually named |
to always fail with ENOSYS. Some functions are actually named |
5166 |
something starting with __ and the normal name is an alias. */ |
something starting with __ and the normal name is an alias. */ |
5167 |
#if defined (__stub_remove) || defined (__stub___remove) |
#if defined (__stub_remove) || defined (__stub___remove) |
5168 |
choke me |
choke me |
5169 |
#else |
#else |
5170 |
remove(); |
char (*f) () = remove; |
5171 |
|
#endif |
5172 |
|
#ifdef __cplusplus |
5173 |
|
} |
5174 |
#endif |
#endif |
5175 |
|
|
5176 |
; return 0; } |
int |
5177 |
EOF |
main () |
5178 |
if { (eval echo configure:2835: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
{ |
|
rm -rf conftest* |
|
|
eval "ac_cv_func_remove=yes" |
|
|
else |
|
|
echo "configure: failed program was:" >&5 |
|
|
cat conftest.$ac_ext >&5 |
|
|
rm -rf conftest* |
|
|
eval "ac_cv_func_remove=no" |
|
|
fi |
|
|
rm -f conftest* |
|
|
fi |
|
5179 |
|
|
5180 |
if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then |
; |
5181 |
echo "$ac_t""yes" 1>&6 |
return 0; |
5182 |
: |
} |
5183 |
else |
_ACEOF |
5184 |
echo "$ac_t""no" 1>&6 |
rm -f conftest.$ac_objext conftest$ac_exeext |
5185 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
5186 |
|
(eval $ac_link) 2>&5 |
5187 |
|
ac_status=$? |
5188 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5189 |
|
(exit $ac_status); } && |
5190 |
|
{ ac_try='test -s conftest$ac_exeext' |
5191 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5192 |
|
(eval $ac_try) 2>&5 |
5193 |
|
ac_status=$? |
5194 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5195 |
|
(exit $ac_status); }; }; then |
5196 |
|
ac_cv_func_remove=yes |
5197 |
|
else |
5198 |
|
echo "$as_me: failed program was:" >&5 |
5199 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
5200 |
|
|
5201 |
|
ac_cv_func_remove=no |
5202 |
fi |
fi |
5203 |
|
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
5204 |
|
fi |
5205 |
|
echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5 |
5206 |
|
echo "${ECHO_T}$ac_cv_func_remove" >&6 |
5207 |
|
|
5208 |
if test $ac_cv_func_remove = no; then |
if test $ac_cv_func_remove = no; then |
5209 |
echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for remove in -lposix" >&5 |
5210 |
echo "configure:2856: checking for remove in -lposix" >&5 |
echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6 |
5211 |
ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` |
if test "${ac_cv_lib_posix_remove+set}" = set; then |
5212 |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
5213 |
else |
else |
5214 |
ac_save_LIBS="$LIBS" |
ac_check_lib_save_LIBS=$LIBS |
5215 |
LIBS="-lposix $LIBS" |
LIBS="-lposix $LIBS" |
5216 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
5217 |
#line 2864 "configure" |
#line $LINENO "configure" |
5218 |
#include "confdefs.h" |
/* confdefs.h. */ |
5219 |
|
_ACEOF |
5220 |
|
cat confdefs.h >>conftest.$ac_ext |
5221 |
|
cat >>conftest.$ac_ext <<_ACEOF |
5222 |
|
/* end confdefs.h. */ |
5223 |
|
|
5224 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
5225 |
|
#ifdef __cplusplus |
5226 |
|
extern "C" |
5227 |
|
#endif |
5228 |
/* We use char because int might match the return type of a gcc2 |
/* We use char because int might match the return type of a gcc2 |
5229 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
5230 |
char remove(); |
char remove (); |
5231 |
|
int |
5232 |
int main() { |
main () |
5233 |
remove() |
{ |
5234 |
; return 0; } |
remove (); |
5235 |
EOF |
; |
5236 |
if { (eval echo configure:2875: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
return 0; |
5237 |
rm -rf conftest* |
} |
5238 |
eval "ac_cv_lib_$ac_lib_var=yes" |
_ACEOF |
5239 |
else |
rm -f conftest.$ac_objext conftest$ac_exeext |
5240 |
echo "configure: failed program was:" >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
5241 |
cat conftest.$ac_ext >&5 |
(eval $ac_link) 2>&5 |
5242 |
rm -rf conftest* |
ac_status=$? |
5243 |
eval "ac_cv_lib_$ac_lib_var=no" |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5244 |
fi |
(exit $ac_status); } && |
5245 |
rm -f conftest* |
{ ac_try='test -s conftest$ac_exeext' |
5246 |
LIBS="$ac_save_LIBS" |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5247 |
|
(eval $ac_try) 2>&5 |
5248 |
fi |
ac_status=$? |
5249 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5250 |
echo "$ac_t""yes" 1>&6 |
(exit $ac_status); }; }; then |
5251 |
|
ac_cv_lib_posix_remove=yes |
5252 |
|
else |
5253 |
|
echo "$as_me: failed program was:" >&5 |
5254 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
5255 |
|
|
5256 |
|
ac_cv_lib_posix_remove=no |
5257 |
|
fi |
5258 |
|
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
5259 |
|
LIBS=$ac_check_lib_save_LIBS |
5260 |
|
fi |
5261 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5 |
5262 |
|
echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6 |
5263 |
|
if test $ac_cv_lib_posix_remove = yes; then |
5264 |
X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix" |
X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix" |
|
else |
|
|
echo "$ac_t""no" 1>&6 |
|
5265 |
fi |
fi |
5266 |
|
|
5267 |
fi |
fi |
5268 |
|
|
5269 |
# BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
# BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
5270 |
echo $ac_n "checking for shmat""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for shmat" >&5 |
5271 |
echo "configure:2899: checking for shmat" >&5 |
echo $ECHO_N "checking for shmat... $ECHO_C" >&6 |
5272 |
if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then |
if test "${ac_cv_func_shmat+set}" = set; then |
5273 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5274 |
else |
else |
5275 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
5276 |
#line 2904 "configure" |
#line $LINENO "configure" |
5277 |
#include "confdefs.h" |
/* confdefs.h. */ |
5278 |
|
_ACEOF |
5279 |
|
cat confdefs.h >>conftest.$ac_ext |
5280 |
|
cat >>conftest.$ac_ext <<_ACEOF |
5281 |
|
/* end confdefs.h. */ |
5282 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
5283 |
which can conflict with char shmat(); below. */ |
which can conflict with char shmat (); below. */ |
5284 |
#include <assert.h> |
#include <assert.h> |
5285 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
5286 |
|
#ifdef __cplusplus |
5287 |
|
extern "C" |
5288 |
|
{ |
5289 |
|
#endif |
5290 |
/* We use char because int might match the return type of a gcc2 |
/* We use char because int might match the return type of a gcc2 |
5291 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
5292 |
char shmat(); |
char shmat (); |
|
|
|
|
int main() { |
|
|
|
|
5293 |
/* The GNU C library defines this for functions which it implements |
/* The GNU C library defines this for functions which it implements |
5294 |
to always fail with ENOSYS. Some functions are actually named |
to always fail with ENOSYS. Some functions are actually named |
5295 |
something starting with __ and the normal name is an alias. */ |
something starting with __ and the normal name is an alias. */ |
5296 |
#if defined (__stub_shmat) || defined (__stub___shmat) |
#if defined (__stub_shmat) || defined (__stub___shmat) |
5297 |
choke me |
choke me |
5298 |
#else |
#else |
5299 |
shmat(); |
char (*f) () = shmat; |
5300 |
|
#endif |
5301 |
|
#ifdef __cplusplus |
5302 |
|
} |
5303 |
#endif |
#endif |
5304 |
|
|
5305 |
; return 0; } |
int |
5306 |
EOF |
main () |
5307 |
if { (eval echo configure:2927: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
{ |
|
rm -rf conftest* |
|
|
eval "ac_cv_func_shmat=yes" |
|
|
else |
|
|
echo "configure: failed program was:" >&5 |
|
|
cat conftest.$ac_ext >&5 |
|
|
rm -rf conftest* |
|
|
eval "ac_cv_func_shmat=no" |
|
|
fi |
|
|
rm -f conftest* |
|
|
fi |
|
5308 |
|
|
5309 |
if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then |
; |
5310 |
echo "$ac_t""yes" 1>&6 |
return 0; |
5311 |
: |
} |
5312 |
else |
_ACEOF |
5313 |
echo "$ac_t""no" 1>&6 |
rm -f conftest.$ac_objext conftest$ac_exeext |
5314 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
5315 |
|
(eval $ac_link) 2>&5 |
5316 |
|
ac_status=$? |
5317 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5318 |
|
(exit $ac_status); } && |
5319 |
|
{ ac_try='test -s conftest$ac_exeext' |
5320 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5321 |
|
(eval $ac_try) 2>&5 |
5322 |
|
ac_status=$? |
5323 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5324 |
|
(exit $ac_status); }; }; then |
5325 |
|
ac_cv_func_shmat=yes |
5326 |
|
else |
5327 |
|
echo "$as_me: failed program was:" >&5 |
5328 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
5329 |
|
|
5330 |
|
ac_cv_func_shmat=no |
5331 |
fi |
fi |
5332 |
|
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
5333 |
|
fi |
5334 |
|
echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5 |
5335 |
|
echo "${ECHO_T}$ac_cv_func_shmat" >&6 |
5336 |
|
|
5337 |
if test $ac_cv_func_shmat = no; then |
if test $ac_cv_func_shmat = no; then |
5338 |
echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for shmat in -lipc" >&5 |
5339 |
echo "configure:2948: checking for shmat in -lipc" >&5 |
echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6 |
5340 |
ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` |
if test "${ac_cv_lib_ipc_shmat+set}" = set; then |
5341 |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
5342 |
else |
else |
5343 |
ac_save_LIBS="$LIBS" |
ac_check_lib_save_LIBS=$LIBS |
5344 |
LIBS="-lipc $LIBS" |
LIBS="-lipc $LIBS" |
5345 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
5346 |
#line 2956 "configure" |
#line $LINENO "configure" |
5347 |
#include "confdefs.h" |
/* confdefs.h. */ |
5348 |
|
_ACEOF |
5349 |
|
cat confdefs.h >>conftest.$ac_ext |
5350 |
|
cat >>conftest.$ac_ext <<_ACEOF |
5351 |
|
/* end confdefs.h. */ |
5352 |
|
|
5353 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
5354 |
|
#ifdef __cplusplus |
5355 |
|
extern "C" |
5356 |
|
#endif |
5357 |
/* We use char because int might match the return type of a gcc2 |
/* We use char because int might match the return type of a gcc2 |
5358 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
5359 |
char shmat(); |
char shmat (); |
5360 |
|
int |
5361 |
int main() { |
main () |
5362 |
shmat() |
{ |
5363 |
; return 0; } |
shmat (); |
5364 |
EOF |
; |
5365 |
if { (eval echo configure:2967: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
return 0; |
5366 |
rm -rf conftest* |
} |
5367 |
eval "ac_cv_lib_$ac_lib_var=yes" |
_ACEOF |
5368 |
else |
rm -f conftest.$ac_objext conftest$ac_exeext |
5369 |
echo "configure: failed program was:" >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
5370 |
cat conftest.$ac_ext >&5 |
(eval $ac_link) 2>&5 |
5371 |
rm -rf conftest* |
ac_status=$? |
5372 |
eval "ac_cv_lib_$ac_lib_var=no" |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5373 |
fi |
(exit $ac_status); } && |
5374 |
rm -f conftest* |
{ ac_try='test -s conftest$ac_exeext' |
5375 |
LIBS="$ac_save_LIBS" |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5376 |
|
(eval $ac_try) 2>&5 |
5377 |
fi |
ac_status=$? |
5378 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5379 |
echo "$ac_t""yes" 1>&6 |
(exit $ac_status); }; }; then |
5380 |
|
ac_cv_lib_ipc_shmat=yes |
5381 |
|
else |
5382 |
|
echo "$as_me: failed program was:" >&5 |
5383 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
5384 |
|
|
5385 |
|
ac_cv_lib_ipc_shmat=no |
5386 |
|
fi |
5387 |
|
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
5388 |
|
LIBS=$ac_check_lib_save_LIBS |
5389 |
|
fi |
5390 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5 |
5391 |
|
echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6 |
5392 |
|
if test $ac_cv_lib_ipc_shmat = yes; then |
5393 |
X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc" |
X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc" |
|
else |
|
|
echo "$ac_t""no" 1>&6 |
|
5394 |
fi |
fi |
5395 |
|
|
5396 |
fi |
fi |
5397 |
fi |
fi |
5398 |
|
|
5399 |
# Check for libraries that X11R6 Xt/Xaw programs need. |
# Check for libraries that X11R6 Xt/Xaw programs need. |
5400 |
ac_save_LDFLAGS="$LDFLAGS" |
ac_save_LDFLAGS=$LDFLAGS |
5401 |
test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries" |
test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries" |
5402 |
# SM needs ICE to (dynamically) link under SunOS 4.x (so we have to |
# SM needs ICE to (dynamically) link under SunOS 4.x (so we have to |
5403 |
# check for ICE first), but we must link in the order -lSM -lICE or |
# check for ICE first), but we must link in the order -lSM -lICE or |
5404 |
# we get undefined symbols. So assume we have SM if we have ICE. |
# we get undefined symbols. So assume we have SM if we have ICE. |
5405 |
# These have to be linked with before -lX11, unlike the other |
# These have to be linked with before -lX11, unlike the other |
5406 |
# libraries we check for below, so use a different variable. |
# libraries we check for below, so use a different variable. |
5407 |
# --interran@uluru.Stanford.EDU, kb@cs.umb.edu. |
# John Interrante, Karl Berry |
5408 |
echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5 |
5409 |
echo "configure:3000: checking for IceConnectionNumber in -lICE" >&5 |
echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6 |
5410 |
ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` |
if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then |
5411 |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
5412 |
else |
else |
5413 |
ac_save_LIBS="$LIBS" |
ac_check_lib_save_LIBS=$LIBS |
5414 |
LIBS="-lICE $X_EXTRA_LIBS $LIBS" |
LIBS="-lICE $X_EXTRA_LIBS $LIBS" |
5415 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
5416 |
#line 3008 "configure" |
#line $LINENO "configure" |
5417 |
#include "confdefs.h" |
/* confdefs.h. */ |
5418 |
|
_ACEOF |
5419 |
|
cat confdefs.h >>conftest.$ac_ext |
5420 |
|
cat >>conftest.$ac_ext <<_ACEOF |
5421 |
|
/* end confdefs.h. */ |
5422 |
|
|
5423 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
5424 |
|
#ifdef __cplusplus |
5425 |
|
extern "C" |
5426 |
|
#endif |
5427 |
/* We use char because int might match the return type of a gcc2 |
/* We use char because int might match the return type of a gcc2 |
5428 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
5429 |
char IceConnectionNumber(); |
char IceConnectionNumber (); |
5430 |
|
int |
5431 |
int main() { |
main () |
5432 |
IceConnectionNumber() |
{ |
5433 |
; return 0; } |
IceConnectionNumber (); |
5434 |
EOF |
; |
5435 |
if { (eval echo configure:3019: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
return 0; |
5436 |
rm -rf conftest* |
} |
5437 |
eval "ac_cv_lib_$ac_lib_var=yes" |
_ACEOF |
5438 |
else |
rm -f conftest.$ac_objext conftest$ac_exeext |
5439 |
echo "configure: failed program was:" >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
5440 |
cat conftest.$ac_ext >&5 |
(eval $ac_link) 2>&5 |
5441 |
rm -rf conftest* |
ac_status=$? |
5442 |
eval "ac_cv_lib_$ac_lib_var=no" |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5443 |
fi |
(exit $ac_status); } && |
5444 |
rm -f conftest* |
{ ac_try='test -s conftest$ac_exeext' |
5445 |
LIBS="$ac_save_LIBS" |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5446 |
|
(eval $ac_try) 2>&5 |
5447 |
fi |
ac_status=$? |
5448 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5449 |
echo "$ac_t""yes" 1>&6 |
(exit $ac_status); }; }; then |
5450 |
|
ac_cv_lib_ICE_IceConnectionNumber=yes |
5451 |
|
else |
5452 |
|
echo "$as_me: failed program was:" >&5 |
5453 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
5454 |
|
|
5455 |
|
ac_cv_lib_ICE_IceConnectionNumber=no |
5456 |
|
fi |
5457 |
|
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
5458 |
|
LIBS=$ac_check_lib_save_LIBS |
5459 |
|
fi |
5460 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5 |
5461 |
|
echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6 |
5462 |
|
if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then |
5463 |
X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE" |
X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE" |
|
else |
|
|
echo "$ac_t""no" 1>&6 |
|
5464 |
fi |
fi |
5465 |
|
|
5466 |
LDFLAGS="$ac_save_LDFLAGS" |
LDFLAGS=$ac_save_LDFLAGS |
5467 |
|
|
5468 |
fi |
fi |
5469 |
|
|
5473 |
echo $X_PRE_LIBS |
echo $X_PRE_LIBS |
5474 |
|
|
5475 |
miss=0 |
miss=0 |
5476 |
echo $ac_n "checking for main in -lXmu""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for main in -lXmu" >&5 |
5477 |
echo "configure:3050: checking for main in -lXmu" >&5 |
echo $ECHO_N "checking for main in -lXmu... $ECHO_C" >&6 |
5478 |
ac_lib_var=`echo Xmu'_'main | sed 'y%./+-%__p_%'` |
if test "${ac_cv_lib_Xmu_main+set}" = set; then |
5479 |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
5480 |
else |
else |
5481 |
ac_save_LIBS="$LIBS" |
ac_check_lib_save_LIBS=$LIBS |
5482 |
LIBS="-lXmu $X_LIBS $LIBS" |
LIBS="-lXmu $X_LIBS $LIBS" |
5483 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
5484 |
#line 3058 "configure" |
#line $LINENO "configure" |
5485 |
#include "confdefs.h" |
/* confdefs.h. */ |
5486 |
|
_ACEOF |
5487 |
|
cat confdefs.h >>conftest.$ac_ext |
5488 |
|
cat >>conftest.$ac_ext <<_ACEOF |
5489 |
|
/* end confdefs.h. */ |
5490 |
|
|
|
int main() { |
|
|
main() |
|
|
; return 0; } |
|
|
EOF |
|
|
if { (eval echo configure:3065: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|
|
rm -rf conftest* |
|
|
eval "ac_cv_lib_$ac_lib_var=yes" |
|
|
else |
|
|
echo "configure: failed program was:" >&5 |
|
|
cat conftest.$ac_ext >&5 |
|
|
rm -rf conftest* |
|
|
eval "ac_cv_lib_$ac_lib_var=no" |
|
|
fi |
|
|
rm -f conftest* |
|
|
LIBS="$ac_save_LIBS" |
|
5491 |
|
|
5492 |
fi |
int |
5493 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
main () |
5494 |
echo "$ac_t""yes" 1>&6 |
{ |
5495 |
|
main (); |
5496 |
|
; |
5497 |
|
return 0; |
5498 |
|
} |
5499 |
|
_ACEOF |
5500 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
5501 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
5502 |
|
(eval $ac_link) 2>&5 |
5503 |
|
ac_status=$? |
5504 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5505 |
|
(exit $ac_status); } && |
5506 |
|
{ ac_try='test -s conftest$ac_exeext' |
5507 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5508 |
|
(eval $ac_try) 2>&5 |
5509 |
|
ac_status=$? |
5510 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5511 |
|
(exit $ac_status); }; }; then |
5512 |
|
ac_cv_lib_Xmu_main=yes |
5513 |
|
else |
5514 |
|
echo "$as_me: failed program was:" >&5 |
5515 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
5516 |
|
|
5517 |
|
ac_cv_lib_Xmu_main=no |
5518 |
|
fi |
5519 |
|
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
5520 |
|
LIBS=$ac_check_lib_save_LIBS |
5521 |
|
fi |
5522 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_Xmu_main" >&5 |
5523 |
|
echo "${ECHO_T}$ac_cv_lib_Xmu_main" >&6 |
5524 |
|
if test $ac_cv_lib_Xmu_main = yes; then |
5525 |
X_LIBS="$X_LIBS -lXmu" |
X_LIBS="$X_LIBS -lXmu" |
5526 |
else |
else |
5527 |
echo "$ac_t""no" 1>&6 |
miss=1 |
|
miss=1 |
|
5528 |
fi |
fi |
5529 |
|
|
5530 |
echo $ac_n "checking for main in -lXt""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for main in -lXt" >&5 |
5531 |
echo "configure:3087: checking for main in -lXt" >&5 |
echo $ECHO_N "checking for main in -lXt... $ECHO_C" >&6 |
5532 |
ac_lib_var=`echo Xt'_'main | sed 'y%./+-%__p_%'` |
if test "${ac_cv_lib_Xt_main+set}" = set; then |
5533 |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
5534 |
else |
else |
5535 |
ac_save_LIBS="$LIBS" |
ac_check_lib_save_LIBS=$LIBS |
5536 |
LIBS="-lXt $X_LIBS $LIBS" |
LIBS="-lXt $X_LIBS $LIBS" |
5537 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
5538 |
#line 3095 "configure" |
#line $LINENO "configure" |
5539 |
#include "confdefs.h" |
/* confdefs.h. */ |
5540 |
|
_ACEOF |
5541 |
|
cat confdefs.h >>conftest.$ac_ext |
5542 |
|
cat >>conftest.$ac_ext <<_ACEOF |
5543 |
|
/* end confdefs.h. */ |
5544 |
|
|
|
int main() { |
|
|
main() |
|
|
; return 0; } |
|
|
EOF |
|
|
if { (eval echo configure:3102: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|
|
rm -rf conftest* |
|
|
eval "ac_cv_lib_$ac_lib_var=yes" |
|
|
else |
|
|
echo "configure: failed program was:" >&5 |
|
|
cat conftest.$ac_ext >&5 |
|
|
rm -rf conftest* |
|
|
eval "ac_cv_lib_$ac_lib_var=no" |
|
|
fi |
|
|
rm -f conftest* |
|
|
LIBS="$ac_save_LIBS" |
|
5545 |
|
|
5546 |
fi |
int |
5547 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
main () |
5548 |
echo "$ac_t""yes" 1>&6 |
{ |
5549 |
|
main (); |
5550 |
|
; |
5551 |
|
return 0; |
5552 |
|
} |
5553 |
|
_ACEOF |
5554 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
5555 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
5556 |
|
(eval $ac_link) 2>&5 |
5557 |
|
ac_status=$? |
5558 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5559 |
|
(exit $ac_status); } && |
5560 |
|
{ ac_try='test -s conftest$ac_exeext' |
5561 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5562 |
|
(eval $ac_try) 2>&5 |
5563 |
|
ac_status=$? |
5564 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5565 |
|
(exit $ac_status); }; }; then |
5566 |
|
ac_cv_lib_Xt_main=yes |
5567 |
|
else |
5568 |
|
echo "$as_me: failed program was:" >&5 |
5569 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
5570 |
|
|
5571 |
|
ac_cv_lib_Xt_main=no |
5572 |
|
fi |
5573 |
|
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
5574 |
|
LIBS=$ac_check_lib_save_LIBS |
5575 |
|
fi |
5576 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_Xt_main" >&5 |
5577 |
|
echo "${ECHO_T}$ac_cv_lib_Xt_main" >&6 |
5578 |
|
if test $ac_cv_lib_Xt_main = yes; then |
5579 |
X_LIBS="$X_LIBS -lXt" |
X_LIBS="$X_LIBS -lXt" |
5580 |
else |
else |
5581 |
echo "$ac_t""no" 1>&6 |
miss=1 |
|
miss=1 |
|
5582 |
fi |
fi |
5583 |
|
|
5584 |
echo $ac_n "checking for main in -lXext""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for main in -lXext" >&5 |
5585 |
echo "configure:3124: checking for main in -lXext" >&5 |
echo $ECHO_N "checking for main in -lXext... $ECHO_C" >&6 |
5586 |
ac_lib_var=`echo Xext'_'main | sed 'y%./+-%__p_%'` |
if test "${ac_cv_lib_Xext_main+set}" = set; then |
5587 |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
5588 |
else |
else |
5589 |
ac_save_LIBS="$LIBS" |
ac_check_lib_save_LIBS=$LIBS |
5590 |
LIBS="-lXext $X_LIBS $LIBS" |
LIBS="-lXext $X_LIBS $LIBS" |
5591 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
5592 |
#line 3132 "configure" |
#line $LINENO "configure" |
5593 |
#include "confdefs.h" |
/* confdefs.h. */ |
5594 |
|
_ACEOF |
5595 |
|
cat confdefs.h >>conftest.$ac_ext |
5596 |
|
cat >>conftest.$ac_ext <<_ACEOF |
5597 |
|
/* end confdefs.h. */ |
5598 |
|
|
|
int main() { |
|
|
main() |
|
|
; return 0; } |
|
|
EOF |
|
|
if { (eval echo configure:3139: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|
|
rm -rf conftest* |
|
|
eval "ac_cv_lib_$ac_lib_var=yes" |
|
|
else |
|
|
echo "configure: failed program was:" >&5 |
|
|
cat conftest.$ac_ext >&5 |
|
|
rm -rf conftest* |
|
|
eval "ac_cv_lib_$ac_lib_var=no" |
|
|
fi |
|
|
rm -f conftest* |
|
|
LIBS="$ac_save_LIBS" |
|
5599 |
|
|
5600 |
fi |
int |
5601 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
main () |
5602 |
echo "$ac_t""yes" 1>&6 |
{ |
5603 |
|
main (); |
5604 |
|
; |
5605 |
|
return 0; |
5606 |
|
} |
5607 |
|
_ACEOF |
5608 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
5609 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
5610 |
|
(eval $ac_link) 2>&5 |
5611 |
|
ac_status=$? |
5612 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5613 |
|
(exit $ac_status); } && |
5614 |
|
{ ac_try='test -s conftest$ac_exeext' |
5615 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5616 |
|
(eval $ac_try) 2>&5 |
5617 |
|
ac_status=$? |
5618 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5619 |
|
(exit $ac_status); }; }; then |
5620 |
|
ac_cv_lib_Xext_main=yes |
5621 |
|
else |
5622 |
|
echo "$as_me: failed program was:" >&5 |
5623 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
5624 |
|
|
5625 |
|
ac_cv_lib_Xext_main=no |
5626 |
|
fi |
5627 |
|
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
5628 |
|
LIBS=$ac_check_lib_save_LIBS |
5629 |
|
fi |
5630 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_main" >&5 |
5631 |
|
echo "${ECHO_T}$ac_cv_lib_Xext_main" >&6 |
5632 |
|
if test $ac_cv_lib_Xext_main = yes; then |
5633 |
X_LIBS="$X_LIBS -lXext" |
X_LIBS="$X_LIBS -lXext" |
5634 |
else |
else |
5635 |
echo "$ac_t""no" 1>&6 |
miss=1 |
|
miss=1 |
|
5636 |
fi |
fi |
5637 |
|
|
5638 |
echo $ac_n "checking for main in -lXaw""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for main in -lXaw" >&5 |
5639 |
echo "configure:3161: checking for main in -lXaw" >&5 |
echo $ECHO_N "checking for main in -lXaw... $ECHO_C" >&6 |
5640 |
ac_lib_var=`echo Xaw'_'main | sed 'y%./+-%__p_%'` |
if test "${ac_cv_lib_Xaw_main+set}" = set; then |
5641 |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
5642 |
else |
else |
5643 |
ac_save_LIBS="$LIBS" |
ac_check_lib_save_LIBS=$LIBS |
5644 |
LIBS="-lXaw $X_LIBS $LIBS" |
LIBS="-lXaw $X_LIBS $LIBS" |
5645 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
5646 |
#line 3169 "configure" |
#line $LINENO "configure" |
5647 |
#include "confdefs.h" |
/* confdefs.h. */ |
5648 |
|
_ACEOF |
5649 |
|
cat confdefs.h >>conftest.$ac_ext |
5650 |
|
cat >>conftest.$ac_ext <<_ACEOF |
5651 |
|
/* end confdefs.h. */ |
5652 |
|
|
|
int main() { |
|
|
main() |
|
|
; return 0; } |
|
|
EOF |
|
|
if { (eval echo configure:3176: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|
|
rm -rf conftest* |
|
|
eval "ac_cv_lib_$ac_lib_var=yes" |
|
|
else |
|
|
echo "configure: failed program was:" >&5 |
|
|
cat conftest.$ac_ext >&5 |
|
|
rm -rf conftest* |
|
|
eval "ac_cv_lib_$ac_lib_var=no" |
|
|
fi |
|
|
rm -f conftest* |
|
|
LIBS="$ac_save_LIBS" |
|
5653 |
|
|
5654 |
fi |
int |
5655 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
main () |
5656 |
echo "$ac_t""yes" 1>&6 |
{ |
5657 |
|
main (); |
5658 |
|
; |
5659 |
|
return 0; |
5660 |
|
} |
5661 |
|
_ACEOF |
5662 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
5663 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
5664 |
|
(eval $ac_link) 2>&5 |
5665 |
|
ac_status=$? |
5666 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5667 |
|
(exit $ac_status); } && |
5668 |
|
{ ac_try='test -s conftest$ac_exeext' |
5669 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5670 |
|
(eval $ac_try) 2>&5 |
5671 |
|
ac_status=$? |
5672 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5673 |
|
(exit $ac_status); }; }; then |
5674 |
|
ac_cv_lib_Xaw_main=yes |
5675 |
|
else |
5676 |
|
echo "$as_me: failed program was:" >&5 |
5677 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
5678 |
|
|
5679 |
|
ac_cv_lib_Xaw_main=no |
5680 |
|
fi |
5681 |
|
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
5682 |
|
LIBS=$ac_check_lib_save_LIBS |
5683 |
|
fi |
5684 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_Xaw_main" >&5 |
5685 |
|
echo "${ECHO_T}$ac_cv_lib_Xaw_main" >&6 |
5686 |
|
if test $ac_cv_lib_Xaw_main = yes; then |
5687 |
X_LIBS="$X_LIBS -lXaw" |
X_LIBS="$X_LIBS -lXaw" |
5688 |
else |
else |
5689 |
echo "$ac_t""no" 1>&6 |
miss=1 |
|
miss=1 |
|
5690 |
fi |
fi |
5691 |
|
|
5692 |
echo $ac_n "checking for main in -lX11""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for main in -lX11" >&5 |
5693 |
echo "configure:3198: checking for main in -lX11" >&5 |
echo $ECHO_N "checking for main in -lX11... $ECHO_C" >&6 |
5694 |
ac_lib_var=`echo X11'_'main | sed 'y%./+-%__p_%'` |
if test "${ac_cv_lib_X11_main+set}" = set; then |
5695 |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
5696 |
else |
else |
5697 |
ac_save_LIBS="$LIBS" |
ac_check_lib_save_LIBS=$LIBS |
5698 |
LIBS="-lX11 $X_LIBS $LIBS" |
LIBS="-lX11 $X_LIBS $LIBS" |
5699 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
5700 |
#line 3206 "configure" |
#line $LINENO "configure" |
5701 |
#include "confdefs.h" |
/* confdefs.h. */ |
5702 |
|
_ACEOF |
5703 |
|
cat confdefs.h >>conftest.$ac_ext |
5704 |
|
cat >>conftest.$ac_ext <<_ACEOF |
5705 |
|
/* end confdefs.h. */ |
5706 |
|
|
|
int main() { |
|
|
main() |
|
|
; return 0; } |
|
|
EOF |
|
|
if { (eval echo configure:3213: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|
|
rm -rf conftest* |
|
|
eval "ac_cv_lib_$ac_lib_var=yes" |
|
|
else |
|
|
echo "configure: failed program was:" >&5 |
|
|
cat conftest.$ac_ext >&5 |
|
|
rm -rf conftest* |
|
|
eval "ac_cv_lib_$ac_lib_var=no" |
|
|
fi |
|
|
rm -f conftest* |
|
|
LIBS="$ac_save_LIBS" |
|
5707 |
|
|
5708 |
fi |
int |
5709 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
main () |
5710 |
echo "$ac_t""yes" 1>&6 |
{ |
5711 |
|
main (); |
5712 |
|
; |
5713 |
|
return 0; |
5714 |
|
} |
5715 |
|
_ACEOF |
5716 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
5717 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
5718 |
|
(eval $ac_link) 2>&5 |
5719 |
|
ac_status=$? |
5720 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5721 |
|
(exit $ac_status); } && |
5722 |
|
{ ac_try='test -s conftest$ac_exeext' |
5723 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5724 |
|
(eval $ac_try) 2>&5 |
5725 |
|
ac_status=$? |
5726 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5727 |
|
(exit $ac_status); }; }; then |
5728 |
|
ac_cv_lib_X11_main=yes |
5729 |
|
else |
5730 |
|
echo "$as_me: failed program was:" >&5 |
5731 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
5732 |
|
|
5733 |
|
ac_cv_lib_X11_main=no |
5734 |
|
fi |
5735 |
|
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
5736 |
|
LIBS=$ac_check_lib_save_LIBS |
5737 |
|
fi |
5738 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_X11_main" >&5 |
5739 |
|
echo "${ECHO_T}$ac_cv_lib_X11_main" >&6 |
5740 |
|
if test $ac_cv_lib_X11_main = yes; then |
5741 |
X_LIBS="$X_LIBS -lX11" |
X_LIBS="$X_LIBS -lX11" |
5742 |
else |
else |
5743 |
echo "$ac_t""no" 1>&6 |
miss=1 |
|
miss=1 |
|
5744 |
fi |
fi |
5745 |
|
|
5746 |
|
|
5747 |
if test "$miss" = "1" ; then |
if test "$miss" = "1" ; then |
5748 |
X_CFLAGS= |
X_CFLAGS= |
5749 |
X_LIBS= |
X_LIBS= |
5760 |
|
|
5761 |
if test "$enable_dlopen" = "yes" ; then |
if test "$enable_dlopen" = "yes" ; then |
5762 |
|
|
5763 |
echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 |
5764 |
echo "configure:3252: checking for dlopen in -ldl" >&5 |
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 |
5765 |
ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` |
if test "${ac_cv_lib_dl_dlopen+set}" = set; then |
5766 |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
5767 |
else |
else |
5768 |
ac_save_LIBS="$LIBS" |
ac_check_lib_save_LIBS=$LIBS |
5769 |
LIBS="-ldl $LIBS" |
LIBS="-ldl $LIBS" |
5770 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
5771 |
#line 3260 "configure" |
#line $LINENO "configure" |
5772 |
#include "confdefs.h" |
/* confdefs.h. */ |
5773 |
|
_ACEOF |
5774 |
|
cat confdefs.h >>conftest.$ac_ext |
5775 |
|
cat >>conftest.$ac_ext <<_ACEOF |
5776 |
|
/* end confdefs.h. */ |
5777 |
|
|
5778 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
5779 |
|
#ifdef __cplusplus |
5780 |
|
extern "C" |
5781 |
|
#endif |
5782 |
/* We use char because int might match the return type of a gcc2 |
/* We use char because int might match the return type of a gcc2 |
5783 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
5784 |
char dlopen(); |
char dlopen (); |
5785 |
|
int |
5786 |
int main() { |
main () |
5787 |
dlopen() |
{ |
5788 |
; return 0; } |
dlopen (); |
5789 |
EOF |
; |
5790 |
if { (eval echo configure:3271: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
return 0; |
5791 |
rm -rf conftest* |
} |
5792 |
eval "ac_cv_lib_$ac_lib_var=yes" |
_ACEOF |
5793 |
else |
rm -f conftest.$ac_objext conftest$ac_exeext |
5794 |
echo "configure: failed program was:" >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
5795 |
cat conftest.$ac_ext >&5 |
(eval $ac_link) 2>&5 |
5796 |
rm -rf conftest* |
ac_status=$? |
5797 |
eval "ac_cv_lib_$ac_lib_var=no" |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5798 |
fi |
(exit $ac_status); } && |
5799 |
rm -f conftest* |
{ ac_try='test -s conftest$ac_exeext' |
5800 |
LIBS="$ac_save_LIBS" |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5801 |
|
(eval $ac_try) 2>&5 |
5802 |
fi |
ac_status=$? |
5803 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5804 |
echo "$ac_t""yes" 1>&6 |
(exit $ac_status); }; }; then |
5805 |
|
ac_cv_lib_dl_dlopen=yes |
5806 |
|
else |
5807 |
|
echo "$as_me: failed program was:" >&5 |
5808 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
5809 |
|
|
5810 |
|
ac_cv_lib_dl_dlopen=no |
5811 |
|
fi |
5812 |
|
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
5813 |
|
LIBS=$ac_check_lib_save_LIBS |
5814 |
|
fi |
5815 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 |
5816 |
|
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 |
5817 |
|
if test $ac_cv_lib_dl_dlopen = yes; then |
5818 |
have_dl=1 |
have_dl=1 |
5819 |
else |
else |
5820 |
echo "$ac_t""no" 1>&6 |
have_dl=0 |
|
have_dl=0 |
|
5821 |
fi |
fi |
5822 |
|
|
5823 |
if test "$have_dl" = "0" ; then |
if test "$have_dl" = "0" ; then |
5826 |
fi |
fi |
5827 |
|
|
5828 |
TLIBS="$TLIBS -ldl -rdynamic" |
TLIBS="$TLIBS -ldl -rdynamic" |
5829 |
cat >> confdefs.h <<\EOF |
cat >>confdefs.h <<\_ACEOF |
5830 |
#define USE_DLOPEN 1 |
#define USE_DLOPEN 1 |
5831 |
EOF |
_ACEOF |
5832 |
|
|
5833 |
fi |
fi |
5834 |
|
|
5835 |
if test "$enable_statsysbfd" = "yes" || test "$enable_dynsysbfd" = "yes" ; then |
if test "$enable_statsysbfd" = "yes" || test "$enable_dynsysbfd" = "yes" ; then |
5836 |
ac_safe=`echo "bfd.h" | sed 'y%./+-%__p_%'` |
if test "${ac_cv_header_bfd_h+set}" = set; then |
5837 |
echo $ac_n "checking for bfd.h""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for bfd.h" >&5 |
5838 |
echo "configure:3307: checking for bfd.h" >&5 |
echo $ECHO_N "checking for bfd.h... $ECHO_C" >&6 |
5839 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if test "${ac_cv_header_bfd_h+set}" = set; then |
5840 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5841 |
else |
fi |
5842 |
cat > conftest.$ac_ext <<EOF |
echo "$as_me:$LINENO: result: $ac_cv_header_bfd_h" >&5 |
5843 |
#line 3312 "configure" |
echo "${ECHO_T}$ac_cv_header_bfd_h" >&6 |
5844 |
#include "confdefs.h" |
else |
5845 |
|
# Is the header compilable? |
5846 |
|
echo "$as_me:$LINENO: checking bfd.h usability" >&5 |
5847 |
|
echo $ECHO_N "checking bfd.h usability... $ECHO_C" >&6 |
5848 |
|
cat >conftest.$ac_ext <<_ACEOF |
5849 |
|
#line $LINENO "configure" |
5850 |
|
/* confdefs.h. */ |
5851 |
|
_ACEOF |
5852 |
|
cat confdefs.h >>conftest.$ac_ext |
5853 |
|
cat >>conftest.$ac_ext <<_ACEOF |
5854 |
|
/* end confdefs.h. */ |
5855 |
|
$ac_includes_default |
5856 |
#include <bfd.h> |
#include <bfd.h> |
5857 |
EOF |
_ACEOF |
5858 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
rm -f conftest.$ac_objext |
5859 |
{ (eval echo configure:3317: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5860 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
(eval $ac_compile) 2>&5 |
5861 |
if test -z "$ac_err"; then |
ac_status=$? |
5862 |
rm -rf conftest* |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5863 |
eval "ac_cv_header_$ac_safe=yes" |
(exit $ac_status); } && |
5864 |
else |
{ ac_try='test -s conftest.$ac_objext' |
5865 |
echo "$ac_err" >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5866 |
echo "configure: failed program was:" >&5 |
(eval $ac_try) 2>&5 |
5867 |
cat conftest.$ac_ext >&5 |
ac_status=$? |
5868 |
rm -rf conftest* |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5869 |
eval "ac_cv_header_$ac_safe=no" |
(exit $ac_status); }; }; then |
5870 |
fi |
ac_header_compiler=yes |
5871 |
rm -f conftest* |
else |
5872 |
|
echo "$as_me: failed program was:" >&5 |
5873 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
5874 |
|
|
5875 |
|
ac_header_compiler=no |
5876 |
|
fi |
5877 |
|
rm -f conftest.$ac_objext conftest.$ac_ext |
5878 |
|
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
5879 |
|
echo "${ECHO_T}$ac_header_compiler" >&6 |
5880 |
|
|
5881 |
|
# Is the header present? |
5882 |
|
echo "$as_me:$LINENO: checking bfd.h presence" >&5 |
5883 |
|
echo $ECHO_N "checking bfd.h presence... $ECHO_C" >&6 |
5884 |
|
cat >conftest.$ac_ext <<_ACEOF |
5885 |
|
#line $LINENO "configure" |
5886 |
|
/* confdefs.h. */ |
5887 |
|
_ACEOF |
5888 |
|
cat confdefs.h >>conftest.$ac_ext |
5889 |
|
cat >>conftest.$ac_ext <<_ACEOF |
5890 |
|
/* end confdefs.h. */ |
5891 |
|
#include <bfd.h> |
5892 |
|
_ACEOF |
5893 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
5894 |
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
5895 |
|
ac_status=$? |
5896 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
5897 |
|
rm -f conftest.er1 |
5898 |
|
cat conftest.err >&5 |
5899 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5900 |
|
(exit $ac_status); } >/dev/null; then |
5901 |
|
if test -s conftest.err; then |
5902 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
5903 |
|
else |
5904 |
|
ac_cpp_err= |
5905 |
|
fi |
5906 |
|
else |
5907 |
|
ac_cpp_err=yes |
5908 |
fi |
fi |
5909 |
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
if test -z "$ac_cpp_err"; then |
5910 |
echo "$ac_t""yes" 1>&6 |
ac_header_preproc=yes |
|
echo $ac_n "checking for bfd_init in -lbfd""... $ac_c" 1>&6 |
|
|
echo "configure:3334: checking for bfd_init in -lbfd" >&5 |
|
|
ac_lib_var=`echo bfd'_'bfd_init | sed 'y%./+-%__p_%'` |
|
|
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
5911 |
else |
else |
5912 |
ac_save_LIBS="$LIBS" |
echo "$as_me: failed program was:" >&5 |
5913 |
LIBS="-lbfd -liberty $LIBS" |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
cat > conftest.$ac_ext <<EOF |
|
|
#line 3342 "configure" |
|
|
#include "confdefs.h" |
|
|
/* Override any gcc2 internal prototype to avoid an error. */ |
|
|
/* We use char because int might match the return type of a gcc2 |
|
|
builtin and then its argument prototype would still apply. */ |
|
|
char bfd_init(); |
|
5914 |
|
|
5915 |
int main() { |
ac_header_preproc=no |
5916 |
bfd_init() |
fi |
5917 |
; return 0; } |
rm -f conftest.err conftest.$ac_ext |
5918 |
EOF |
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
5919 |
if { (eval echo configure:3353: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
echo "${ECHO_T}$ac_header_preproc" >&6 |
5920 |
rm -rf conftest* |
|
5921 |
eval "ac_cv_lib_$ac_lib_var=yes" |
# So? What about this header? |
5922 |
else |
case $ac_header_compiler:$ac_header_preproc in |
5923 |
echo "configure: failed program was:" >&5 |
yes:no ) |
5924 |
cat conftest.$ac_ext >&5 |
{ echo "$as_me:$LINENO: WARNING: bfd.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
5925 |
rm -rf conftest* |
echo "$as_me: WARNING: bfd.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
5926 |
eval "ac_cv_lib_$ac_lib_var=no" |
{ echo "$as_me:$LINENO: WARNING: bfd.h: proceeding with the preprocessor's result" >&5 |
5927 |
|
echo "$as_me: WARNING: bfd.h: proceeding with the preprocessor's result" >&2;} |
5928 |
|
( |
5929 |
|
cat <<\_ASBOX |
5930 |
|
## ------------------------------------ ## |
5931 |
|
## Report this to bug-autoconf@gnu.org. ## |
5932 |
|
## ------------------------------------ ## |
5933 |
|
_ASBOX |
5934 |
|
) | |
5935 |
|
sed "s/^/$as_me: WARNING: /" >&2 |
5936 |
|
;; |
5937 |
|
no:yes ) |
5938 |
|
{ echo "$as_me:$LINENO: WARNING: bfd.h: present but cannot be compiled" >&5 |
5939 |
|
echo "$as_me: WARNING: bfd.h: present but cannot be compiled" >&2;} |
5940 |
|
{ echo "$as_me:$LINENO: WARNING: bfd.h: check for missing prerequisite headers?" >&5 |
5941 |
|
echo "$as_me: WARNING: bfd.h: check for missing prerequisite headers?" >&2;} |
5942 |
|
{ echo "$as_me:$LINENO: WARNING: bfd.h: proceeding with the preprocessor's result" >&5 |
5943 |
|
echo "$as_me: WARNING: bfd.h: proceeding with the preprocessor's result" >&2;} |
5944 |
|
( |
5945 |
|
cat <<\_ASBOX |
5946 |
|
## ------------------------------------ ## |
5947 |
|
## Report this to bug-autoconf@gnu.org. ## |
5948 |
|
## ------------------------------------ ## |
5949 |
|
_ASBOX |
5950 |
|
) | |
5951 |
|
sed "s/^/$as_me: WARNING: /" >&2 |
5952 |
|
;; |
5953 |
|
esac |
5954 |
|
echo "$as_me:$LINENO: checking for bfd.h" >&5 |
5955 |
|
echo $ECHO_N "checking for bfd.h... $ECHO_C" >&6 |
5956 |
|
if test "${ac_cv_header_bfd_h+set}" = set; then |
5957 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5958 |
|
else |
5959 |
|
ac_cv_header_bfd_h=$ac_header_preproc |
5960 |
fi |
fi |
5961 |
rm -f conftest* |
echo "$as_me:$LINENO: result: $ac_cv_header_bfd_h" >&5 |
5962 |
LIBS="$ac_save_LIBS" |
echo "${ECHO_T}$ac_cv_header_bfd_h" >&6 |
5963 |
|
|
5964 |
fi |
fi |
5965 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
if test $ac_cv_header_bfd_h = yes; then |
5966 |
echo "$ac_t""yes" 1>&6 |
echo "$as_me:$LINENO: checking for bfd_init in -lbfd" >&5 |
5967 |
|
echo $ECHO_N "checking for bfd_init in -lbfd... $ECHO_C" >&6 |
5968 |
|
if test "${ac_cv_lib_bfd_bfd_init+set}" = set; then |
5969 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5970 |
|
else |
5971 |
|
ac_check_lib_save_LIBS=$LIBS |
5972 |
|
LIBS="-lbfd -liberty $LIBS" |
5973 |
|
cat >conftest.$ac_ext <<_ACEOF |
5974 |
|
#line $LINENO "configure" |
5975 |
|
/* confdefs.h. */ |
5976 |
|
_ACEOF |
5977 |
|
cat confdefs.h >>conftest.$ac_ext |
5978 |
|
cat >>conftest.$ac_ext <<_ACEOF |
5979 |
|
/* end confdefs.h. */ |
5980 |
|
|
5981 |
|
/* Override any gcc2 internal prototype to avoid an error. */ |
5982 |
|
#ifdef __cplusplus |
5983 |
|
extern "C" |
5984 |
|
#endif |
5985 |
|
/* We use char because int might match the return type of a gcc2 |
5986 |
|
builtin and then its argument prototype would still apply. */ |
5987 |
|
char bfd_init (); |
5988 |
|
int |
5989 |
|
main () |
5990 |
|
{ |
5991 |
|
bfd_init (); |
5992 |
|
; |
5993 |
|
return 0; |
5994 |
|
} |
5995 |
|
_ACEOF |
5996 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
5997 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
5998 |
|
(eval $ac_link) 2>&5 |
5999 |
|
ac_status=$? |
6000 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6001 |
|
(exit $ac_status); } && |
6002 |
|
{ ac_try='test -s conftest$ac_exeext' |
6003 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6004 |
|
(eval $ac_try) 2>&5 |
6005 |
|
ac_status=$? |
6006 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6007 |
|
(exit $ac_status); }; }; then |
6008 |
|
ac_cv_lib_bfd_bfd_init=yes |
6009 |
|
else |
6010 |
|
echo "$as_me: failed program was:" >&5 |
6011 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
6012 |
|
|
6013 |
|
ac_cv_lib_bfd_bfd_init=no |
6014 |
|
fi |
6015 |
|
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
6016 |
|
LIBS=$ac_check_lib_save_LIBS |
6017 |
|
fi |
6018 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_bfd_bfd_init" >&5 |
6019 |
|
echo "${ECHO_T}$ac_cv_lib_bfd_bfd_init" >&6 |
6020 |
|
if test $ac_cv_lib_bfd_bfd_init = yes; then |
6021 |
# |
# |
6022 |
# Old binutils appear to need CONST defined to const |
# Old binutils appear to need CONST defined to const |
6023 |
# |
# |
6024 |
echo $ac_n "checking if need to define CONST for bfd""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking if need to define CONST for bfd" >&5 |
6025 |
echo "configure:3372: checking if need to define CONST for bfd" >&5 |
echo $ECHO_N "checking if need to define CONST for bfd... $ECHO_C" >&6 |
6026 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
6027 |
echo "$ac_t""cannot use bfd" 1>&6 exit 1; |
echo "$as_me:$LINENO: result: cannot use bfd" >&5 |
6028 |
|
echo "${ECHO_T}cannot use bfd" >&6 exit 1; |
6029 |
else |
else |
6030 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
6031 |
#line 3377 "configure" |
#line $LINENO "configure" |
6032 |
#include "confdefs.h" |
/* confdefs.h. */ |
6033 |
|
_ACEOF |
6034 |
|
cat confdefs.h >>conftest.$ac_ext |
6035 |
|
cat >>conftest.$ac_ext <<_ACEOF |
6036 |
|
/* end confdefs.h. */ |
6037 |
#define IN_GCC |
#define IN_GCC |
6038 |
#include <bfd.h> |
#include <bfd.h> |
6039 |
int main() { symbol_info t; return 0;} |
int main() { symbol_info t; return 0;} |
6040 |
EOF |
_ACEOF |
6041 |
if { (eval echo configure:3383: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
rm -f conftest$ac_exeext |
6042 |
then |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
6043 |
echo "$ac_t""no" 1>&6 |
(eval $ac_link) 2>&5 |
6044 |
else |
ac_status=$? |
6045 |
echo "configure: failed program was:" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6046 |
cat conftest.$ac_ext >&5 |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
6047 |
rm -fr conftest* |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6048 |
if test "$cross_compiling" = yes; then |
(eval $ac_try) 2>&5 |
6049 |
echo "$ac_t""cannot use bfd" 1>&6 exit 1; |
ac_status=$? |
6050 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6051 |
|
(exit $ac_status); }; }; then |
6052 |
|
echo "$as_me:$LINENO: result: no" >&5 |
6053 |
|
echo "${ECHO_T}no" >&6 |
6054 |
|
else |
6055 |
|
echo "$as_me: program exited with status $ac_status" >&5 |
6056 |
|
echo "$as_me: failed program was:" >&5 |
6057 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
6058 |
|
|
6059 |
|
( exit $ac_status ) |
6060 |
|
if test "$cross_compiling" = yes; then |
6061 |
|
echo "$as_me:$LINENO: result: cannot use bfd" >&5 |
6062 |
|
echo "${ECHO_T}cannot use bfd" >&6 exit 1; |
6063 |
else |
else |
6064 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
6065 |
#line 3394 "configure" |
#line $LINENO "configure" |
6066 |
#include "confdefs.h" |
/* confdefs.h. */ |
6067 |
|
_ACEOF |
6068 |
|
cat confdefs.h >>conftest.$ac_ext |
6069 |
|
cat >>conftest.$ac_ext <<_ACEOF |
6070 |
|
/* end confdefs.h. */ |
6071 |
#define CONST const |
#define CONST const |
6072 |
#define IN_GCC |
#define IN_GCC |
6073 |
#include <bfd.h> |
#include <bfd.h> |
6074 |
int main() {symbol_info t; return 0;} |
int main() {symbol_info t; return 0;} |
6075 |
EOF |
_ACEOF |
6076 |
if { (eval echo configure:3401: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
rm -f conftest$ac_exeext |
6077 |
then |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
6078 |
echo "$ac_t""yes" 1>&6 |
(eval $ac_link) 2>&5 |
6079 |
cat >> confdefs.h <<\EOF |
ac_status=$? |
6080 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6081 |
|
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
6082 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6083 |
|
(eval $ac_try) 2>&5 |
6084 |
|
ac_status=$? |
6085 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6086 |
|
(exit $ac_status); }; }; then |
6087 |
|
echo "$as_me:$LINENO: result: yes" >&5 |
6088 |
|
echo "${ECHO_T}yes" >&6 |
6089 |
|
cat >>confdefs.h <<\_ACEOF |
6090 |
#define NEED_CONST 1 |
#define NEED_CONST 1 |
6091 |
EOF |
_ACEOF |
6092 |
|
|
6093 |
else |
else |
6094 |
echo "configure: failed program was:" >&5 |
echo "$as_me: program exited with status $ac_status" >&5 |
6095 |
cat conftest.$ac_ext >&5 |
echo "$as_me: failed program was:" >&5 |
6096 |
rm -fr conftest* |
sed 's/^/| /' conftest.$ac_ext >&5 |
6097 |
echo "$ac_t""cannot use bfd" 1>&6 exit 1; |
|
6098 |
|
( exit $ac_status ) |
6099 |
|
echo "$as_me:$LINENO: result: cannot use bfd" >&5 |
6100 |
|
echo "${ECHO_T}cannot use bfd" >&6 exit 1; |
6101 |
fi |
fi |
6102 |
rm -fr conftest* |
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
6103 |
fi |
fi |
|
|
|
6104 |
fi |
fi |
6105 |
rm -fr conftest* |
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
6106 |
fi |
fi |
6107 |
|
|
|
|
|
|
else |
|
|
echo "$ac_t""no" 1>&6 |
|
6108 |
fi |
fi |
6109 |
|
|
|
else |
|
|
echo "$ac_t""no" 1>&6 |
|
6110 |
fi |
fi |
6111 |
|
|
6112 |
|
|
6113 |
cat >> confdefs.h <<\EOF |
|
6114 |
|
cat >>confdefs.h <<\_ACEOF |
6115 |
#define HAVE_LIBBFD 1 |
#define HAVE_LIBBFD 1 |
6116 |
EOF |
_ACEOF |
6117 |
|
|
6118 |
|
|
6119 |
# |
# |
6120 |
# BFD boolean syntax |
# BFD boolean syntax |
6121 |
# |
# |
6122 |
|
|
6123 |
echo $ac_n "checking for useable bfd_boolean""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for useable bfd_boolean" >&5 |
6124 |
echo "configure:3441: checking for useable bfd_boolean" >&5 |
echo $ECHO_N "checking for useable bfd_boolean... $ECHO_C" >&6 |
6125 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
6126 |
echo "$ac_t""no" 1>&6 |
echo "$as_me:$LINENO: result: no" >&5 |
6127 |
|
echo "${ECHO_T}no" >&6 |
6128 |
else |
else |
6129 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
6130 |
#line 3446 "configure" |
#line $LINENO "configure" |
6131 |
#include "confdefs.h" |
/* confdefs.h. */ |
6132 |
|
_ACEOF |
6133 |
|
cat confdefs.h >>conftest.$ac_ext |
6134 |
|
cat >>conftest.$ac_ext <<_ACEOF |
6135 |
|
/* end confdefs.h. */ |
6136 |
#define IN_GCC |
#define IN_GCC |
6137 |
#include <bfd.h> |
#include <bfd.h> |
6138 |
bfd_boolean foo() {return FALSE;} |
bfd_boolean foo() {return FALSE;} |
6139 |
int main() {return 0;} |
int main() {return 0;} |
6140 |
EOF |
_ACEOF |
6141 |
if { (eval echo configure:3453: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
rm -f conftest$ac_exeext |
6142 |
then |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
6143 |
echo "$ac_t""yes" 1>&6 |
(eval $ac_link) 2>&5 |
6144 |
cat >> confdefs.h <<\EOF |
ac_status=$? |
6145 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6146 |
|
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
6147 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6148 |
|
(eval $ac_try) 2>&5 |
6149 |
|
ac_status=$? |
6150 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6151 |
|
(exit $ac_status); }; }; then |
6152 |
|
echo "$as_me:$LINENO: result: yes" >&5 |
6153 |
|
echo "${ECHO_T}yes" >&6 |
6154 |
|
cat >>confdefs.h <<\_ACEOF |
6155 |
#define HAVE_BFD_BOOLEAN 1 |
#define HAVE_BFD_BOOLEAN 1 |
6156 |
EOF |
_ACEOF |
6157 |
|
|
6158 |
else |
else |
6159 |
echo "configure: failed program was:" >&5 |
echo "$as_me: program exited with status $ac_status" >&5 |
6160 |
cat conftest.$ac_ext >&5 |
echo "$as_me: failed program was:" >&5 |
6161 |
rm -fr conftest* |
sed 's/^/| /' conftest.$ac_ext >&5 |
6162 |
echo "$ac_t""no" 1>&6 |
|
6163 |
|
( exit $ac_status ) |
6164 |
|
echo "$as_me:$LINENO: result: no" >&5 |
6165 |
|
echo "${ECHO_T}no" >&6 |
6166 |
fi |
fi |
6167 |
rm -fr conftest* |
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
6168 |
fi |
fi |
6169 |
|
|
6170 |
|
|
|
|
|
6171 |
# |
# |
6172 |
# FIXME: Need to workaround mingw before this point -- CM |
# FIXME: Need to workaround mingw before this point -- CM |
6173 |
# |
# |
6180 |
else |
else |
6181 |
echo Guessing path to libbfd.a due to gcc bug |
echo Guessing path to libbfd.a due to gcc bug |
6182 |
TLIBS="$TLIBS /usr/lib/libbfd.a" |
TLIBS="$TLIBS /usr/lib/libbfd.a" |
6183 |
fi |
fi |
6184 |
if echo $MP | tr ' ' '\012' | grep -q libiberty.a ; then |
if echo $MP | tr ' ' '\012' | grep -q libiberty.a ; then |
6185 |
TLIBS="$TLIBS `echo $MP | tr ' ' '\012' | grep libiberty.a | $AWK '{i=split($1,A,"/");for (j=1;j<=i;j++) if (j>1 && A[j]=="..") {j--;i-=2;for (k=j;k<=i;k++) A[k]=A[k+2];j--;}} END {for (j=1;j<=i;j++) printf("%s%s",A[j],j!=i ? "/" : "")}'`" |
TLIBS="$TLIBS `echo $MP | tr ' ' '\012' | grep libiberty.a | $AWK '{i=split($1,A,"/");for (j=1;j<=i;j++) if (j>1 && A[j]=="..") {j--;i-=2;for (k=j;k<=i;k++) A[k]=A[k+2];j--;}} END {for (j=1;j<=i;j++) printf("%s%s",A[j],j!=i ? "/" : "")}'`" |
6186 |
else |
else |
6187 |
echo Guessing path to libiberty.a due to gcc bug |
echo Guessing path to libiberty.a due to gcc bug |
6188 |
TLIBS="$TLIBS /usr/lib/libiberty.a" |
TLIBS="$TLIBS /usr/lib/libiberty.a" |
6189 |
fi |
fi |
6190 |
else |
else |
6191 |
TLIBS="$TLIBS -lbfd -liberty" |
TLIBS="$TLIBS -lbfd -liberty" |
6192 |
fi |
fi |
6196 |
|
|
6197 |
# check for gettext. It is part of glibc, but others |
# check for gettext. It is part of glibc, but others |
6198 |
# need GNU gettext separately. |
# need GNU gettext separately. |
6199 |
ac_safe=`echo "libintl.h" | sed 'y%./+-%__p_%'` |
if test "${ac_cv_header_libintl_h+set}" = set; then |
6200 |
echo $ac_n "checking for libintl.h""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for libintl.h" >&5 |
6201 |
echo "configure:3501: checking for libintl.h" >&5 |
echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6 |
6202 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if test "${ac_cv_header_libintl_h+set}" = set; then |
6203 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
6204 |
else |
fi |
6205 |
cat > conftest.$ac_ext <<EOF |
echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5 |
6206 |
#line 3506 "configure" |
echo "${ECHO_T}$ac_cv_header_libintl_h" >&6 |
6207 |
#include "confdefs.h" |
else |
6208 |
|
# Is the header compilable? |
6209 |
|
echo "$as_me:$LINENO: checking libintl.h usability" >&5 |
6210 |
|
echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6 |
6211 |
|
cat >conftest.$ac_ext <<_ACEOF |
6212 |
|
#line $LINENO "configure" |
6213 |
|
/* confdefs.h. */ |
6214 |
|
_ACEOF |
6215 |
|
cat confdefs.h >>conftest.$ac_ext |
6216 |
|
cat >>conftest.$ac_ext <<_ACEOF |
6217 |
|
/* end confdefs.h. */ |
6218 |
|
$ac_includes_default |
6219 |
#include <libintl.h> |
#include <libintl.h> |
6220 |
EOF |
_ACEOF |
6221 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
rm -f conftest.$ac_objext |
6222 |
{ (eval echo configure:3511: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
6223 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
(eval $ac_compile) 2>&5 |
6224 |
if test -z "$ac_err"; then |
ac_status=$? |
6225 |
rm -rf conftest* |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6226 |
eval "ac_cv_header_$ac_safe=yes" |
(exit $ac_status); } && |
6227 |
else |
{ ac_try='test -s conftest.$ac_objext' |
6228 |
echo "$ac_err" >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6229 |
echo "configure: failed program was:" >&5 |
(eval $ac_try) 2>&5 |
6230 |
cat conftest.$ac_ext >&5 |
ac_status=$? |
6231 |
rm -rf conftest* |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6232 |
eval "ac_cv_header_$ac_safe=no" |
(exit $ac_status); }; }; then |
6233 |
|
ac_header_compiler=yes |
6234 |
|
else |
6235 |
|
echo "$as_me: failed program was:" >&5 |
6236 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
6237 |
|
|
6238 |
|
ac_header_compiler=no |
6239 |
|
fi |
6240 |
|
rm -f conftest.$ac_objext conftest.$ac_ext |
6241 |
|
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
6242 |
|
echo "${ECHO_T}$ac_header_compiler" >&6 |
6243 |
|
|
6244 |
|
# Is the header present? |
6245 |
|
echo "$as_me:$LINENO: checking libintl.h presence" >&5 |
6246 |
|
echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6 |
6247 |
|
cat >conftest.$ac_ext <<_ACEOF |
6248 |
|
#line $LINENO "configure" |
6249 |
|
/* confdefs.h. */ |
6250 |
|
_ACEOF |
6251 |
|
cat confdefs.h >>conftest.$ac_ext |
6252 |
|
cat >>conftest.$ac_ext <<_ACEOF |
6253 |
|
/* end confdefs.h. */ |
6254 |
|
#include <libintl.h> |
6255 |
|
_ACEOF |
6256 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
6257 |
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
6258 |
|
ac_status=$? |
6259 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
6260 |
|
rm -f conftest.er1 |
6261 |
|
cat conftest.err >&5 |
6262 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6263 |
|
(exit $ac_status); } >/dev/null; then |
6264 |
|
if test -s conftest.err; then |
6265 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
6266 |
|
else |
6267 |
|
ac_cpp_err= |
6268 |
|
fi |
6269 |
|
else |
6270 |
|
ac_cpp_err=yes |
6271 |
fi |
fi |
6272 |
rm -f conftest* |
if test -z "$ac_cpp_err"; then |
6273 |
|
ac_header_preproc=yes |
6274 |
|
else |
6275 |
|
echo "$as_me: failed program was:" >&5 |
6276 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
6277 |
|
|
6278 |
|
ac_header_preproc=no |
6279 |
|
fi |
6280 |
|
rm -f conftest.err conftest.$ac_ext |
6281 |
|
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
6282 |
|
echo "${ECHO_T}$ac_header_preproc" >&6 |
6283 |
|
|
6284 |
|
# So? What about this header? |
6285 |
|
case $ac_header_compiler:$ac_header_preproc in |
6286 |
|
yes:no ) |
6287 |
|
{ echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
6288 |
|
echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
6289 |
|
{ echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5 |
6290 |
|
echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;} |
6291 |
|
( |
6292 |
|
cat <<\_ASBOX |
6293 |
|
## ------------------------------------ ## |
6294 |
|
## Report this to bug-autoconf@gnu.org. ## |
6295 |
|
## ------------------------------------ ## |
6296 |
|
_ASBOX |
6297 |
|
) | |
6298 |
|
sed "s/^/$as_me: WARNING: /" >&2 |
6299 |
|
;; |
6300 |
|
no:yes ) |
6301 |
|
{ echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5 |
6302 |
|
echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;} |
6303 |
|
{ echo "$as_me:$LINENO: WARNING: libintl.h: check for missing prerequisite headers?" >&5 |
6304 |
|
echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;} |
6305 |
|
{ echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5 |
6306 |
|
echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;} |
6307 |
|
( |
6308 |
|
cat <<\_ASBOX |
6309 |
|
## ------------------------------------ ## |
6310 |
|
## Report this to bug-autoconf@gnu.org. ## |
6311 |
|
## ------------------------------------ ## |
6312 |
|
_ASBOX |
6313 |
|
) | |
6314 |
|
sed "s/^/$as_me: WARNING: /" >&2 |
6315 |
|
;; |
6316 |
|
esac |
6317 |
|
echo "$as_me:$LINENO: checking for libintl.h" >&5 |
6318 |
|
echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6 |
6319 |
|
if test "${ac_cv_header_libintl_h+set}" = set; then |
6320 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
6321 |
|
else |
6322 |
|
ac_cv_header_libintl_h=$ac_header_preproc |
6323 |
fi |
fi |
6324 |
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5 |
6325 |
echo "$ac_t""yes" 1>&6 |
echo "${ECHO_T}$ac_cv_header_libintl_h" >&6 |
6326 |
|
|
6327 |
|
fi |
6328 |
|
if test $ac_cv_header_libintl_h = yes; then |
6329 |
true |
true |
6330 |
else |
else |
6331 |
echo "$ac_t""no" 1>&6 |
{ { echo "$as_me:$LINENO: error: libintl.h (gettext) not found" >&5 |
6332 |
{ echo "configure: error: libintl.h (gettext) not found" 1>&2; exit 1; } |
echo "$as_me: error: libintl.h (gettext) not found" >&2;} |
6333 |
|
{ (exit 1); exit 1; }; } |
6334 |
fi |
fi |
6335 |
|
|
6336 |
|
|
6337 |
echo $ac_n "checking for library containing dgettext""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for library containing dgettext" >&5 |
6338 |
echo "configure:3535: checking for library containing dgettext" >&5 |
echo $ECHO_N "checking for library containing dgettext... $ECHO_C" >&6 |
6339 |
if eval "test \"`echo '$''{'ac_cv_search_dgettext'+set}'`\" = set"; then |
if test "${ac_cv_search_dgettext+set}" = set; then |
6340 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
6341 |
else |
else |
6342 |
ac_func_search_save_LIBS="$LIBS" |
ac_func_search_save_LIBS=$LIBS |
6343 |
ac_cv_search_dgettext="no" |
ac_cv_search_dgettext=no |
6344 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
6345 |
#line 3542 "configure" |
#line $LINENO "configure" |
6346 |
#include "confdefs.h" |
/* confdefs.h. */ |
6347 |
|
_ACEOF |
6348 |
|
cat confdefs.h >>conftest.$ac_ext |
6349 |
|
cat >>conftest.$ac_ext <<_ACEOF |
6350 |
|
/* end confdefs.h. */ |
6351 |
|
|
6352 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
6353 |
|
#ifdef __cplusplus |
6354 |
|
extern "C" |
6355 |
|
#endif |
6356 |
/* We use char because int might match the return type of a gcc2 |
/* We use char because int might match the return type of a gcc2 |
6357 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
6358 |
char dgettext(); |
char dgettext (); |
6359 |
|
int |
6360 |
int main() { |
main () |
6361 |
dgettext() |
{ |
6362 |
; return 0; } |
dgettext (); |
6363 |
EOF |
; |
6364 |
if { (eval echo configure:3553: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
return 0; |
6365 |
rm -rf conftest* |
} |
6366 |
|
_ACEOF |
6367 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
6368 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
6369 |
|
(eval $ac_link) 2>&5 |
6370 |
|
ac_status=$? |
6371 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6372 |
|
(exit $ac_status); } && |
6373 |
|
{ ac_try='test -s conftest$ac_exeext' |
6374 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6375 |
|
(eval $ac_try) 2>&5 |
6376 |
|
ac_status=$? |
6377 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6378 |
|
(exit $ac_status); }; }; then |
6379 |
ac_cv_search_dgettext="none required" |
ac_cv_search_dgettext="none required" |
6380 |
else |
else |
6381 |
echo "configure: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
6382 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
6383 |
|
|
6384 |
fi |
fi |
6385 |
rm -f conftest* |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
6386 |
test "$ac_cv_search_dgettext" = "no" && for i in intl; do |
if test "$ac_cv_search_dgettext" = no; then |
6387 |
LIBS="-l$i $ac_func_search_save_LIBS" |
for ac_lib in intl; do |
6388 |
cat > conftest.$ac_ext <<EOF |
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
6389 |
#line 3564 "configure" |
cat >conftest.$ac_ext <<_ACEOF |
6390 |
#include "confdefs.h" |
#line $LINENO "configure" |
6391 |
|
/* confdefs.h. */ |
6392 |
|
_ACEOF |
6393 |
|
cat confdefs.h >>conftest.$ac_ext |
6394 |
|
cat >>conftest.$ac_ext <<_ACEOF |
6395 |
|
/* end confdefs.h. */ |
6396 |
|
|
6397 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
6398 |
|
#ifdef __cplusplus |
6399 |
|
extern "C" |
6400 |
|
#endif |
6401 |
/* We use char because int might match the return type of a gcc2 |
/* We use char because int might match the return type of a gcc2 |
6402 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
6403 |
char dgettext(); |
char dgettext (); |
6404 |
|
int |
6405 |
int main() { |
main () |
6406 |
dgettext() |
{ |
6407 |
; return 0; } |
dgettext (); |
6408 |
EOF |
; |
6409 |
if { (eval echo configure:3575: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
return 0; |
6410 |
rm -rf conftest* |
} |
6411 |
ac_cv_search_dgettext="-l$i" |
_ACEOF |
6412 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
6413 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
6414 |
|
(eval $ac_link) 2>&5 |
6415 |
|
ac_status=$? |
6416 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6417 |
|
(exit $ac_status); } && |
6418 |
|
{ ac_try='test -s conftest$ac_exeext' |
6419 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6420 |
|
(eval $ac_try) 2>&5 |
6421 |
|
ac_status=$? |
6422 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6423 |
|
(exit $ac_status); }; }; then |
6424 |
|
ac_cv_search_dgettext="-l$ac_lib" |
6425 |
break |
break |
6426 |
else |
else |
6427 |
echo "configure: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
6428 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
6429 |
|
|
6430 |
fi |
fi |
6431 |
rm -f conftest* |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
6432 |
done |
done |
|
LIBS="$ac_func_search_save_LIBS" |
|
6433 |
fi |
fi |
6434 |
|
LIBS=$ac_func_search_save_LIBS |
6435 |
echo "$ac_t""$ac_cv_search_dgettext" 1>&6 |
fi |
6436 |
if test "$ac_cv_search_dgettext" != "no"; then |
echo "$as_me:$LINENO: result: $ac_cv_search_dgettext" >&5 |
6437 |
|
echo "${ECHO_T}$ac_cv_search_dgettext" >&6 |
6438 |
|
if test "$ac_cv_search_dgettext" != no; then |
6439 |
test "$ac_cv_search_dgettext" = "none required" || LIBS="$ac_cv_search_dgettext $LIBS" |
test "$ac_cv_search_dgettext" = "none required" || LIBS="$ac_cv_search_dgettext $LIBS" |
6440 |
true |
true |
6441 |
else : |
else |
6442 |
{ echo "configure: error: gettext library not found" 1>&2; exit 1; } |
{ { echo "$as_me:$LINENO: error: gettext library not found" >&5 |
6443 |
|
echo "$as_me: error: gettext library not found" >&2;} |
6444 |
|
{ (exit 1); exit 1; }; } |
6445 |
fi |
fi |
6446 |
|
|
6447 |
|
|
6448 |
echo "#" |
echo "#" |
6449 |
echo "#" |
echo "#" |
6450 |
echo "# -------------------------" |
echo "# -------------------------" |
6452 |
echo "#" |
echo "#" |
6453 |
echo "#" |
echo "#" |
6454 |
cd binutils/libiberty && chmod +x configure && ./configure && cd ../.. |
cd binutils/libiberty && chmod +x configure && ./configure && cd ../.. |
6455 |
# MY_SUBDIRS="$MY_SUBDIRS binutils/libiberty " |
# MY_SUBDIRS="$MY_SUBDIRS binutils/libiberty " |
6456 |
echo "#" |
echo "#" |
6457 |
echo "#" |
echo "#" |
6458 |
echo "#" |
echo "#" |
6466 |
echo "#" |
echo "#" |
6467 |
echo "#" |
echo "#" |
6468 |
cd binutils/bfd && chmod +x configure && ./configure && cd ../.. |
cd binutils/bfd && chmod +x configure && ./configure && cd ../.. |
6469 |
# MY_SUBDIRS="$MY_SUBDIRS binutils/bfd " |
# MY_SUBDIRS="$MY_SUBDIRS binutils/bfd " |
6470 |
echo "#" |
echo "#" |
6471 |
echo "#" |
echo "#" |
6472 |
echo "#" |
echo "#" |
6473 |
echo "# Subconfigure of BFD done" |
echo "# Subconfigure of BFD done" |
6474 |
echo "# ------------------------" |
echo "# ------------------------" |
6475 |
echo "#" |
echo "#" |
6476 |
# TLIBS="$TLIBS `pwd`/binutils/bfd/libbfd.a `pwd`/binutils/libiberty/libiberty.a" |
# TLIBS="$TLIBS ./binutils/bfd/libbfd.a ./binutils/libiberty/libiberty.a" |
6477 |
cat >> confdefs.h <<\EOF |
cat >>confdefs.h <<\_ACEOF |
6478 |
#define HAVE_LIBBFD 1 |
#define HAVE_LIBBFD 1 |
6479 |
EOF |
_ACEOF |
6480 |
|
|
6481 |
BUILD_BFD="h/bfd.h h/bfdlink.h h/ansidecl.h h/symcat.h" |
BUILD_BFD="h/bfd.h h/bfdlink.h h/ansidecl.h h/symcat.h" |
6482 |
|
|
6483 |
fi |
fi |
6484 |
|
|
6485 |
#AC_CONFIG_SUBDIRS($MY_SUBDIRS) |
#AC_CONFIG_SUBDIRS($MY_SUBDIRS) |
6488 |
# mechanism, in the PAGE macro. This offset is subtracted from |
# mechanism, in the PAGE macro. This offset is subtracted from |
6489 |
# addresses, in calculating a page for an address in the heap. |
# addresses, in calculating a page for an address in the heap. |
6490 |
|
|
6491 |
echo $ac_n "checking size of long""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for long" >&5 |
6492 |
echo "configure:3640: checking size of long" >&5 |
echo $ECHO_N "checking for long... $ECHO_C" >&6 |
6493 |
if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then |
if test "${ac_cv_type_long+set}" = set; then |
6494 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
6495 |
else |
else |
6496 |
|
cat >conftest.$ac_ext <<_ACEOF |
6497 |
|
#line $LINENO "configure" |
6498 |
|
/* confdefs.h. */ |
6499 |
|
_ACEOF |
6500 |
|
cat confdefs.h >>conftest.$ac_ext |
6501 |
|
cat >>conftest.$ac_ext <<_ACEOF |
6502 |
|
/* end confdefs.h. */ |
6503 |
|
$ac_includes_default |
6504 |
|
int |
6505 |
|
main () |
6506 |
|
{ |
6507 |
|
if ((long *) 0) |
6508 |
|
return 0; |
6509 |
|
if (sizeof (long)) |
6510 |
|
return 0; |
6511 |
|
; |
6512 |
|
return 0; |
6513 |
|
} |
6514 |
|
_ACEOF |
6515 |
|
rm -f conftest.$ac_objext |
6516 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
6517 |
|
(eval $ac_compile) 2>&5 |
6518 |
|
ac_status=$? |
6519 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6520 |
|
(exit $ac_status); } && |
6521 |
|
{ ac_try='test -s conftest.$ac_objext' |
6522 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6523 |
|
(eval $ac_try) 2>&5 |
6524 |
|
ac_status=$? |
6525 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6526 |
|
(exit $ac_status); }; }; then |
6527 |
|
ac_cv_type_long=yes |
6528 |
|
else |
6529 |
|
echo "$as_me: failed program was:" >&5 |
6530 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
6531 |
|
|
6532 |
|
ac_cv_type_long=no |
6533 |
|
fi |
6534 |
|
rm -f conftest.$ac_objext conftest.$ac_ext |
6535 |
|
fi |
6536 |
|
echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5 |
6537 |
|
echo "${ECHO_T}$ac_cv_type_long" >&6 |
6538 |
|
|
6539 |
|
echo "$as_me:$LINENO: checking size of long" >&5 |
6540 |
|
echo $ECHO_N "checking size of long... $ECHO_C" >&6 |
6541 |
|
if test "${ac_cv_sizeof_long+set}" = set; then |
6542 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
6543 |
|
else |
6544 |
|
if test "$ac_cv_type_long" = yes; then |
6545 |
|
# The cast to unsigned long works around a bug in the HP C Compiler |
6546 |
|
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
6547 |
|
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
6548 |
|
# This bug is HP SR number 8606223364. |
6549 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
6550 |
ac_cv_sizeof_long=0 |
# Depending upon the size, compute the lo and hi bounds. |
6551 |
|
cat >conftest.$ac_ext <<_ACEOF |
6552 |
|
#line $LINENO "configure" |
6553 |
|
/* confdefs.h. */ |
6554 |
|
_ACEOF |
6555 |
|
cat confdefs.h >>conftest.$ac_ext |
6556 |
|
cat >>conftest.$ac_ext <<_ACEOF |
6557 |
|
/* end confdefs.h. */ |
6558 |
|
$ac_includes_default |
6559 |
|
int |
6560 |
|
main () |
6561 |
|
{ |
6562 |
|
static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)]; |
6563 |
|
test_array [0] = 0 |
6564 |
|
|
6565 |
|
; |
6566 |
|
return 0; |
6567 |
|
} |
6568 |
|
_ACEOF |
6569 |
|
rm -f conftest.$ac_objext |
6570 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
6571 |
|
(eval $ac_compile) 2>&5 |
6572 |
|
ac_status=$? |
6573 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6574 |
|
(exit $ac_status); } && |
6575 |
|
{ ac_try='test -s conftest.$ac_objext' |
6576 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6577 |
|
(eval $ac_try) 2>&5 |
6578 |
|
ac_status=$? |
6579 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6580 |
|
(exit $ac_status); }; }; then |
6581 |
|
ac_lo=0 ac_mid=0 |
6582 |
|
while :; do |
6583 |
|
cat >conftest.$ac_ext <<_ACEOF |
6584 |
|
#line $LINENO "configure" |
6585 |
|
/* confdefs.h. */ |
6586 |
|
_ACEOF |
6587 |
|
cat confdefs.h >>conftest.$ac_ext |
6588 |
|
cat >>conftest.$ac_ext <<_ACEOF |
6589 |
|
/* end confdefs.h. */ |
6590 |
|
$ac_includes_default |
6591 |
|
int |
6592 |
|
main () |
6593 |
|
{ |
6594 |
|
static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)]; |
6595 |
|
test_array [0] = 0 |
6596 |
|
|
6597 |
|
; |
6598 |
|
return 0; |
6599 |
|
} |
6600 |
|
_ACEOF |
6601 |
|
rm -f conftest.$ac_objext |
6602 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
6603 |
|
(eval $ac_compile) 2>&5 |
6604 |
|
ac_status=$? |
6605 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6606 |
|
(exit $ac_status); } && |
6607 |
|
{ ac_try='test -s conftest.$ac_objext' |
6608 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6609 |
|
(eval $ac_try) 2>&5 |
6610 |
|
ac_status=$? |
6611 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6612 |
|
(exit $ac_status); }; }; then |
6613 |
|
ac_hi=$ac_mid; break |
6614 |
|
else |
6615 |
|
echo "$as_me: failed program was:" >&5 |
6616 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
6617 |
|
|
6618 |
|
ac_lo=`expr $ac_mid + 1` |
6619 |
|
if test $ac_lo -le $ac_mid; then |
6620 |
|
ac_lo= ac_hi= |
6621 |
|
break |
6622 |
|
fi |
6623 |
|
ac_mid=`expr 2 '*' $ac_mid + 1` |
6624 |
|
fi |
6625 |
|
rm -f conftest.$ac_objext conftest.$ac_ext |
6626 |
|
done |
6627 |
|
else |
6628 |
|
echo "$as_me: failed program was:" >&5 |
6629 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
6630 |
|
|
6631 |
|
cat >conftest.$ac_ext <<_ACEOF |
6632 |
|
#line $LINENO "configure" |
6633 |
|
/* confdefs.h. */ |
6634 |
|
_ACEOF |
6635 |
|
cat confdefs.h >>conftest.$ac_ext |
6636 |
|
cat >>conftest.$ac_ext <<_ACEOF |
6637 |
|
/* end confdefs.h. */ |
6638 |
|
$ac_includes_default |
6639 |
|
int |
6640 |
|
main () |
6641 |
|
{ |
6642 |
|
static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)]; |
6643 |
|
test_array [0] = 0 |
6644 |
|
|
6645 |
|
; |
6646 |
|
return 0; |
6647 |
|
} |
6648 |
|
_ACEOF |
6649 |
|
rm -f conftest.$ac_objext |
6650 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
6651 |
|
(eval $ac_compile) 2>&5 |
6652 |
|
ac_status=$? |
6653 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6654 |
|
(exit $ac_status); } && |
6655 |
|
{ ac_try='test -s conftest.$ac_objext' |
6656 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6657 |
|
(eval $ac_try) 2>&5 |
6658 |
|
ac_status=$? |
6659 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6660 |
|
(exit $ac_status); }; }; then |
6661 |
|
ac_hi=-1 ac_mid=-1 |
6662 |
|
while :; do |
6663 |
|
cat >conftest.$ac_ext <<_ACEOF |
6664 |
|
#line $LINENO "configure" |
6665 |
|
/* confdefs.h. */ |
6666 |
|
_ACEOF |
6667 |
|
cat confdefs.h >>conftest.$ac_ext |
6668 |
|
cat >>conftest.$ac_ext <<_ACEOF |
6669 |
|
/* end confdefs.h. */ |
6670 |
|
$ac_includes_default |
6671 |
|
int |
6672 |
|
main () |
6673 |
|
{ |
6674 |
|
static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)]; |
6675 |
|
test_array [0] = 0 |
6676 |
|
|
6677 |
|
; |
6678 |
|
return 0; |
6679 |
|
} |
6680 |
|
_ACEOF |
6681 |
|
rm -f conftest.$ac_objext |
6682 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
6683 |
|
(eval $ac_compile) 2>&5 |
6684 |
|
ac_status=$? |
6685 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6686 |
|
(exit $ac_status); } && |
6687 |
|
{ ac_try='test -s conftest.$ac_objext' |
6688 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6689 |
|
(eval $ac_try) 2>&5 |
6690 |
|
ac_status=$? |
6691 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6692 |
|
(exit $ac_status); }; }; then |
6693 |
|
ac_lo=$ac_mid; break |
6694 |
|
else |
6695 |
|
echo "$as_me: failed program was:" >&5 |
6696 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
6697 |
|
|
6698 |
|
ac_hi=`expr '(' $ac_mid ')' - 1` |
6699 |
|
if test $ac_mid -le $ac_hi; then |
6700 |
|
ac_lo= ac_hi= |
6701 |
|
break |
6702 |
|
fi |
6703 |
|
ac_mid=`expr 2 '*' $ac_mid` |
6704 |
|
fi |
6705 |
|
rm -f conftest.$ac_objext conftest.$ac_ext |
6706 |
|
done |
6707 |
|
else |
6708 |
|
echo "$as_me: failed program was:" >&5 |
6709 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
6710 |
|
|
6711 |
|
ac_lo= ac_hi= |
6712 |
|
fi |
6713 |
|
rm -f conftest.$ac_objext conftest.$ac_ext |
6714 |
|
fi |
6715 |
|
rm -f conftest.$ac_objext conftest.$ac_ext |
6716 |
|
# Binary search between lo and hi bounds. |
6717 |
|
while test "x$ac_lo" != "x$ac_hi"; do |
6718 |
|
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` |
6719 |
|
cat >conftest.$ac_ext <<_ACEOF |
6720 |
|
#line $LINENO "configure" |
6721 |
|
/* confdefs.h. */ |
6722 |
|
_ACEOF |
6723 |
|
cat confdefs.h >>conftest.$ac_ext |
6724 |
|
cat >>conftest.$ac_ext <<_ACEOF |
6725 |
|
/* end confdefs.h. */ |
6726 |
|
$ac_includes_default |
6727 |
|
int |
6728 |
|
main () |
6729 |
|
{ |
6730 |
|
static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)]; |
6731 |
|
test_array [0] = 0 |
6732 |
|
|
6733 |
|
; |
6734 |
|
return 0; |
6735 |
|
} |
6736 |
|
_ACEOF |
6737 |
|
rm -f conftest.$ac_objext |
6738 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
6739 |
|
(eval $ac_compile) 2>&5 |
6740 |
|
ac_status=$? |
6741 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6742 |
|
(exit $ac_status); } && |
6743 |
|
{ ac_try='test -s conftest.$ac_objext' |
6744 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6745 |
|
(eval $ac_try) 2>&5 |
6746 |
|
ac_status=$? |
6747 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6748 |
|
(exit $ac_status); }; }; then |
6749 |
|
ac_hi=$ac_mid |
6750 |
|
else |
6751 |
|
echo "$as_me: failed program was:" >&5 |
6752 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
6753 |
|
|
6754 |
|
ac_lo=`expr '(' $ac_mid ')' + 1` |
6755 |
|
fi |
6756 |
|
rm -f conftest.$ac_objext conftest.$ac_ext |
6757 |
|
done |
6758 |
|
case $ac_lo in |
6759 |
|
?*) ac_cv_sizeof_long=$ac_lo;; |
6760 |
|
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77 |
6761 |
|
See \`config.log' for more details." >&5 |
6762 |
|
echo "$as_me: error: cannot compute sizeof (long), 77 |
6763 |
|
See \`config.log' for more details." >&2;} |
6764 |
|
{ (exit 1); exit 1; }; } ;; |
6765 |
|
esac |
6766 |
else |
else |
6767 |
cat > conftest.$ac_ext <<EOF |
if test "$cross_compiling" = yes; then |
6768 |
#line 3648 "configure" |
{ { echo "$as_me:$LINENO: error: cannot run test program while cross compiling |
6769 |
#include "confdefs.h" |
See \`config.log' for more details." >&5 |
6770 |
|
echo "$as_me: error: cannot run test program while cross compiling |
6771 |
|
See \`config.log' for more details." >&2;} |
6772 |
|
{ (exit 1); exit 1; }; } |
6773 |
|
else |
6774 |
|
cat >conftest.$ac_ext <<_ACEOF |
6775 |
|
#line $LINENO "configure" |
6776 |
|
/* confdefs.h. */ |
6777 |
|
_ACEOF |
6778 |
|
cat confdefs.h >>conftest.$ac_ext |
6779 |
|
cat >>conftest.$ac_ext <<_ACEOF |
6780 |
|
/* end confdefs.h. */ |
6781 |
|
$ac_includes_default |
6782 |
|
long longval () { return (long) (sizeof (long)); } |
6783 |
|
unsigned long ulongval () { return (long) (sizeof (long)); } |
6784 |
#include <stdio.h> |
#include <stdio.h> |
6785 |
#include <sys/types.h> |
#include <stdlib.h> |
6786 |
main() |
int |
6787 |
|
main () |
6788 |
{ |
{ |
6789 |
FILE *f=fopen("conftestval", "w"); |
|
6790 |
if (!f) exit(1); |
FILE *f = fopen ("conftest.val", "w"); |
6791 |
fprintf(f, "%d\n", sizeof(long)); |
if (! f) |
6792 |
exit(0); |
exit (1); |
6793 |
|
if (((long) (sizeof (long))) < 0) |
6794 |
|
{ |
6795 |
|
long i = longval (); |
6796 |
|
if (i != ((long) (sizeof (long)))) |
6797 |
|
exit (1); |
6798 |
|
fprintf (f, "%ld\n", i); |
6799 |
|
} |
6800 |
|
else |
6801 |
|
{ |
6802 |
|
unsigned long i = ulongval (); |
6803 |
|
if (i != ((long) (sizeof (long)))) |
6804 |
|
exit (1); |
6805 |
|
fprintf (f, "%lu\n", i); |
6806 |
|
} |
6807 |
|
exit (ferror (f) || fclose (f) != 0); |
6808 |
|
|
6809 |
|
; |
6810 |
|
return 0; |
6811 |
} |
} |
6812 |
EOF |
_ACEOF |
6813 |
if { (eval echo configure:3660: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
rm -f conftest$ac_exeext |
6814 |
then |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
6815 |
ac_cv_sizeof_long=`cat conftestval` |
(eval $ac_link) 2>&5 |
6816 |
else |
ac_status=$? |
6817 |
echo "configure: failed program was:" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6818 |
cat conftest.$ac_ext >&5 |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
6819 |
rm -fr conftest* |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6820 |
|
(eval $ac_try) 2>&5 |
6821 |
|
ac_status=$? |
6822 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6823 |
|
(exit $ac_status); }; }; then |
6824 |
|
ac_cv_sizeof_long=`cat conftest.val` |
6825 |
|
else |
6826 |
|
echo "$as_me: program exited with status $ac_status" >&5 |
6827 |
|
echo "$as_me: failed program was:" >&5 |
6828 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
6829 |
|
|
6830 |
|
( exit $ac_status ) |
6831 |
|
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77 |
6832 |
|
See \`config.log' for more details." >&5 |
6833 |
|
echo "$as_me: error: cannot compute sizeof (long), 77 |
6834 |
|
See \`config.log' for more details." >&2;} |
6835 |
|
{ (exit 1); exit 1; }; } |
6836 |
|
fi |
6837 |
|
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
6838 |
|
fi |
6839 |
|
fi |
6840 |
|
rm -f conftest.val |
6841 |
|
else |
6842 |
ac_cv_sizeof_long=0 |
ac_cv_sizeof_long=0 |
6843 |
fi |
fi |
|
rm -fr conftest* |
|
6844 |
fi |
fi |
6845 |
|
echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5 |
6846 |
|
echo "${ECHO_T}$ac_cv_sizeof_long" >&6 |
6847 |
|
cat >>confdefs.h <<_ACEOF |
6848 |
|
#define SIZEOF_LONG $ac_cv_sizeof_long |
6849 |
|
_ACEOF |
6850 |
|
|
6851 |
|
|
6852 |
|
echo "$as_me:$LINENO: checking for int" >&5 |
6853 |
|
echo $ECHO_N "checking for int... $ECHO_C" >&6 |
6854 |
|
if test "${ac_cv_type_int+set}" = set; then |
6855 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
6856 |
|
else |
6857 |
|
cat >conftest.$ac_ext <<_ACEOF |
6858 |
|
#line $LINENO "configure" |
6859 |
|
/* confdefs.h. */ |
6860 |
|
_ACEOF |
6861 |
|
cat confdefs.h >>conftest.$ac_ext |
6862 |
|
cat >>conftest.$ac_ext <<_ACEOF |
6863 |
|
/* end confdefs.h. */ |
6864 |
|
$ac_includes_default |
6865 |
|
int |
6866 |
|
main () |
6867 |
|
{ |
6868 |
|
if ((int *) 0) |
6869 |
|
return 0; |
6870 |
|
if (sizeof (int)) |
6871 |
|
return 0; |
6872 |
|
; |
6873 |
|
return 0; |
6874 |
|
} |
6875 |
|
_ACEOF |
6876 |
|
rm -f conftest.$ac_objext |
6877 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
6878 |
|
(eval $ac_compile) 2>&5 |
6879 |
|
ac_status=$? |
6880 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6881 |
|
(exit $ac_status); } && |
6882 |
|
{ ac_try='test -s conftest.$ac_objext' |
6883 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6884 |
|
(eval $ac_try) 2>&5 |
6885 |
|
ac_status=$? |
6886 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6887 |
|
(exit $ac_status); }; }; then |
6888 |
|
ac_cv_type_int=yes |
6889 |
|
else |
6890 |
|
echo "$as_me: failed program was:" >&5 |
6891 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
6892 |
|
|
6893 |
|
ac_cv_type_int=no |
6894 |
|
fi |
6895 |
|
rm -f conftest.$ac_objext conftest.$ac_ext |
6896 |
|
fi |
6897 |
|
echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5 |
6898 |
|
echo "${ECHO_T}$ac_cv_type_int" >&6 |
6899 |
|
|
6900 |
|
echo "$as_me:$LINENO: checking size of int" >&5 |
6901 |
|
echo $ECHO_N "checking size of int... $ECHO_C" >&6 |
6902 |
|
if test "${ac_cv_sizeof_int+set}" = set; then |
6903 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
6904 |
|
else |
6905 |
|
if test "$ac_cv_type_int" = yes; then |
6906 |
|
# The cast to unsigned long works around a bug in the HP C Compiler |
6907 |
|
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
6908 |
|
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
6909 |
|
# This bug is HP SR number 8606223364. |
6910 |
|
if test "$cross_compiling" = yes; then |
6911 |
|
# Depending upon the size, compute the lo and hi bounds. |
6912 |
|
cat >conftest.$ac_ext <<_ACEOF |
6913 |
|
#line $LINENO "configure" |
6914 |
|
/* confdefs.h. */ |
6915 |
|
_ACEOF |
6916 |
|
cat confdefs.h >>conftest.$ac_ext |
6917 |
|
cat >>conftest.$ac_ext <<_ACEOF |
6918 |
|
/* end confdefs.h. */ |
6919 |
|
$ac_includes_default |
6920 |
|
int |
6921 |
|
main () |
6922 |
|
{ |
6923 |
|
static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)]; |
6924 |
|
test_array [0] = 0 |
6925 |
|
|
6926 |
|
; |
6927 |
|
return 0; |
6928 |
|
} |
6929 |
|
_ACEOF |
6930 |
|
rm -f conftest.$ac_objext |
6931 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
6932 |
|
(eval $ac_compile) 2>&5 |
6933 |
|
ac_status=$? |
6934 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6935 |
|
(exit $ac_status); } && |
6936 |
|
{ ac_try='test -s conftest.$ac_objext' |
6937 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6938 |
|
(eval $ac_try) 2>&5 |
6939 |
|
ac_status=$? |
6940 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6941 |
|
(exit $ac_status); }; }; then |
6942 |
|
ac_lo=0 ac_mid=0 |
6943 |
|
while :; do |
6944 |
|
cat >conftest.$ac_ext <<_ACEOF |
6945 |
|
#line $LINENO "configure" |
6946 |
|
/* confdefs.h. */ |
6947 |
|
_ACEOF |
6948 |
|
cat confdefs.h >>conftest.$ac_ext |
6949 |
|
cat >>conftest.$ac_ext <<_ACEOF |
6950 |
|
/* end confdefs.h. */ |
6951 |
|
$ac_includes_default |
6952 |
|
int |
6953 |
|
main () |
6954 |
|
{ |
6955 |
|
static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)]; |
6956 |
|
test_array [0] = 0 |
6957 |
|
|
6958 |
|
; |
6959 |
|
return 0; |
6960 |
|
} |
6961 |
|
_ACEOF |
6962 |
|
rm -f conftest.$ac_objext |
6963 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
6964 |
|
(eval $ac_compile) 2>&5 |
6965 |
|
ac_status=$? |
6966 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6967 |
|
(exit $ac_status); } && |
6968 |
|
{ ac_try='test -s conftest.$ac_objext' |
6969 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6970 |
|
(eval $ac_try) 2>&5 |
6971 |
|
ac_status=$? |
6972 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6973 |
|
(exit $ac_status); }; }; then |
6974 |
|
ac_hi=$ac_mid; break |
6975 |
|
else |
6976 |
|
echo "$as_me: failed program was:" >&5 |
6977 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
6978 |
|
|
6979 |
|
ac_lo=`expr $ac_mid + 1` |
6980 |
|
if test $ac_lo -le $ac_mid; then |
6981 |
|
ac_lo= ac_hi= |
6982 |
|
break |
6983 |
|
fi |
6984 |
|
ac_mid=`expr 2 '*' $ac_mid + 1` |
6985 |
|
fi |
6986 |
|
rm -f conftest.$ac_objext conftest.$ac_ext |
6987 |
|
done |
6988 |
|
else |
6989 |
|
echo "$as_me: failed program was:" >&5 |
6990 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
6991 |
|
|
6992 |
|
cat >conftest.$ac_ext <<_ACEOF |
6993 |
|
#line $LINENO "configure" |
6994 |
|
/* confdefs.h. */ |
6995 |
|
_ACEOF |
6996 |
|
cat confdefs.h >>conftest.$ac_ext |
6997 |
|
cat >>conftest.$ac_ext <<_ACEOF |
6998 |
|
/* end confdefs.h. */ |
6999 |
|
$ac_includes_default |
7000 |
|
int |
7001 |
|
main () |
7002 |
|
{ |
7003 |
|
static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)]; |
7004 |
|
test_array [0] = 0 |
7005 |
|
|
7006 |
|
; |
7007 |
|
return 0; |
7008 |
|
} |
7009 |
|
_ACEOF |
7010 |
|
rm -f conftest.$ac_objext |
7011 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
7012 |
|
(eval $ac_compile) 2>&5 |
7013 |
|
ac_status=$? |
7014 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7015 |
|
(exit $ac_status); } && |
7016 |
|
{ ac_try='test -s conftest.$ac_objext' |
7017 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7018 |
|
(eval $ac_try) 2>&5 |
7019 |
|
ac_status=$? |
7020 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7021 |
|
(exit $ac_status); }; }; then |
7022 |
|
ac_hi=-1 ac_mid=-1 |
7023 |
|
while :; do |
7024 |
|
cat >conftest.$ac_ext <<_ACEOF |
7025 |
|
#line $LINENO "configure" |
7026 |
|
/* confdefs.h. */ |
7027 |
|
_ACEOF |
7028 |
|
cat confdefs.h >>conftest.$ac_ext |
7029 |
|
cat >>conftest.$ac_ext <<_ACEOF |
7030 |
|
/* end confdefs.h. */ |
7031 |
|
$ac_includes_default |
7032 |
|
int |
7033 |
|
main () |
7034 |
|
{ |
7035 |
|
static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)]; |
7036 |
|
test_array [0] = 0 |
7037 |
|
|
7038 |
|
; |
7039 |
|
return 0; |
7040 |
|
} |
7041 |
|
_ACEOF |
7042 |
|
rm -f conftest.$ac_objext |
7043 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
7044 |
|
(eval $ac_compile) 2>&5 |
7045 |
|
ac_status=$? |
7046 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7047 |
|
(exit $ac_status); } && |
7048 |
|
{ ac_try='test -s conftest.$ac_objext' |
7049 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7050 |
|
(eval $ac_try) 2>&5 |
7051 |
|
ac_status=$? |
7052 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7053 |
|
(exit $ac_status); }; }; then |
7054 |
|
ac_lo=$ac_mid; break |
7055 |
|
else |
7056 |
|
echo "$as_me: failed program was:" >&5 |
7057 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
7058 |
|
|
7059 |
|
ac_hi=`expr '(' $ac_mid ')' - 1` |
7060 |
|
if test $ac_mid -le $ac_hi; then |
7061 |
|
ac_lo= ac_hi= |
7062 |
|
break |
7063 |
|
fi |
7064 |
|
ac_mid=`expr 2 '*' $ac_mid` |
7065 |
|
fi |
7066 |
|
rm -f conftest.$ac_objext conftest.$ac_ext |
7067 |
|
done |
7068 |
|
else |
7069 |
|
echo "$as_me: failed program was:" >&5 |
7070 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
7071 |
|
|
7072 |
|
ac_lo= ac_hi= |
7073 |
fi |
fi |
7074 |
echo "$ac_t""$ac_cv_sizeof_long" 1>&6 |
rm -f conftest.$ac_objext conftest.$ac_ext |
7075 |
cat >> confdefs.h <<EOF |
fi |
7076 |
#define SIZEOF_LONG $ac_cv_sizeof_long |
rm -f conftest.$ac_objext conftest.$ac_ext |
7077 |
EOF |
# Binary search between lo and hi bounds. |
7078 |
|
while test "x$ac_lo" != "x$ac_hi"; do |
7079 |
|
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` |
7080 |
|
cat >conftest.$ac_ext <<_ACEOF |
7081 |
|
#line $LINENO "configure" |
7082 |
|
/* confdefs.h. */ |
7083 |
|
_ACEOF |
7084 |
|
cat confdefs.h >>conftest.$ac_ext |
7085 |
|
cat >>conftest.$ac_ext <<_ACEOF |
7086 |
|
/* end confdefs.h. */ |
7087 |
|
$ac_includes_default |
7088 |
|
int |
7089 |
|
main () |
7090 |
|
{ |
7091 |
|
static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)]; |
7092 |
|
test_array [0] = 0 |
7093 |
|
|
7094 |
|
; |
7095 |
|
return 0; |
7096 |
|
} |
7097 |
|
_ACEOF |
7098 |
|
rm -f conftest.$ac_objext |
7099 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
7100 |
|
(eval $ac_compile) 2>&5 |
7101 |
|
ac_status=$? |
7102 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7103 |
|
(exit $ac_status); } && |
7104 |
|
{ ac_try='test -s conftest.$ac_objext' |
7105 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7106 |
|
(eval $ac_try) 2>&5 |
7107 |
|
ac_status=$? |
7108 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7109 |
|
(exit $ac_status); }; }; then |
7110 |
|
ac_hi=$ac_mid |
7111 |
|
else |
7112 |
|
echo "$as_me: failed program was:" >&5 |
7113 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
7114 |
|
|
7115 |
echo $ac_n "checking size of int""... $ac_c" 1>&6 |
ac_lo=`expr '(' $ac_mid ')' + 1` |
7116 |
echo "configure:3680: checking size of int" >&5 |
fi |
7117 |
if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then |
rm -f conftest.$ac_objext conftest.$ac_ext |
7118 |
echo $ac_n "(cached) $ac_c" 1>&6 |
done |
7119 |
|
case $ac_lo in |
7120 |
|
?*) ac_cv_sizeof_int=$ac_lo;; |
7121 |
|
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77 |
7122 |
|
See \`config.log' for more details." >&5 |
7123 |
|
echo "$as_me: error: cannot compute sizeof (int), 77 |
7124 |
|
See \`config.log' for more details." >&2;} |
7125 |
|
{ (exit 1); exit 1; }; } ;; |
7126 |
|
esac |
7127 |
else |
else |
7128 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
7129 |
ac_cv_sizeof_int=0 |
{ { echo "$as_me:$LINENO: error: cannot run test program while cross compiling |
7130 |
else |
See \`config.log' for more details." >&5 |
7131 |
cat > conftest.$ac_ext <<EOF |
echo "$as_me: error: cannot run test program while cross compiling |
7132 |
#line 3688 "configure" |
See \`config.log' for more details." >&2;} |
7133 |
#include "confdefs.h" |
{ (exit 1); exit 1; }; } |
7134 |
|
else |
7135 |
|
cat >conftest.$ac_ext <<_ACEOF |
7136 |
|
#line $LINENO "configure" |
7137 |
|
/* confdefs.h. */ |
7138 |
|
_ACEOF |
7139 |
|
cat confdefs.h >>conftest.$ac_ext |
7140 |
|
cat >>conftest.$ac_ext <<_ACEOF |
7141 |
|
/* end confdefs.h. */ |
7142 |
|
$ac_includes_default |
7143 |
|
long longval () { return (long) (sizeof (int)); } |
7144 |
|
unsigned long ulongval () { return (long) (sizeof (int)); } |
7145 |
#include <stdio.h> |
#include <stdio.h> |
7146 |
#include <sys/types.h> |
#include <stdlib.h> |
7147 |
main() |
int |
7148 |
|
main () |
7149 |
{ |
{ |
7150 |
FILE *f=fopen("conftestval", "w"); |
|
7151 |
if (!f) exit(1); |
FILE *f = fopen ("conftest.val", "w"); |
7152 |
fprintf(f, "%d\n", sizeof(int)); |
if (! f) |
7153 |
exit(0); |
exit (1); |
7154 |
|
if (((long) (sizeof (int))) < 0) |
7155 |
|
{ |
7156 |
|
long i = longval (); |
7157 |
|
if (i != ((long) (sizeof (int)))) |
7158 |
|
exit (1); |
7159 |
|
fprintf (f, "%ld\n", i); |
7160 |
|
} |
7161 |
|
else |
7162 |
|
{ |
7163 |
|
unsigned long i = ulongval (); |
7164 |
|
if (i != ((long) (sizeof (int)))) |
7165 |
|
exit (1); |
7166 |
|
fprintf (f, "%lu\n", i); |
7167 |
|
} |
7168 |
|
exit (ferror (f) || fclose (f) != 0); |
7169 |
|
|
7170 |
|
; |
7171 |
|
return 0; |
7172 |
} |
} |
7173 |
EOF |
_ACEOF |
7174 |
if { (eval echo configure:3700: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
rm -f conftest$ac_exeext |
7175 |
then |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
7176 |
ac_cv_sizeof_int=`cat conftestval` |
(eval $ac_link) 2>&5 |
7177 |
else |
ac_status=$? |
7178 |
echo "configure: failed program was:" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7179 |
cat conftest.$ac_ext >&5 |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
7180 |
rm -fr conftest* |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7181 |
|
(eval $ac_try) 2>&5 |
7182 |
|
ac_status=$? |
7183 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7184 |
|
(exit $ac_status); }; }; then |
7185 |
|
ac_cv_sizeof_int=`cat conftest.val` |
7186 |
|
else |
7187 |
|
echo "$as_me: program exited with status $ac_status" >&5 |
7188 |
|
echo "$as_me: failed program was:" >&5 |
7189 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
7190 |
|
|
7191 |
|
( exit $ac_status ) |
7192 |
|
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77 |
7193 |
|
See \`config.log' for more details." >&5 |
7194 |
|
echo "$as_me: error: cannot compute sizeof (int), 77 |
7195 |
|
See \`config.log' for more details." >&2;} |
7196 |
|
{ (exit 1); exit 1; }; } |
7197 |
|
fi |
7198 |
|
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
7199 |
|
fi |
7200 |
|
fi |
7201 |
|
rm -f conftest.val |
7202 |
|
else |
7203 |
ac_cv_sizeof_int=0 |
ac_cv_sizeof_int=0 |
7204 |
fi |
fi |
|
rm -fr conftest* |
|
7205 |
fi |
fi |
7206 |
|
echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5 |
7207 |
|
echo "${ECHO_T}$ac_cv_sizeof_int" >&6 |
7208 |
|
cat >>confdefs.h <<_ACEOF |
7209 |
|
#define SIZEOF_INT $ac_cv_sizeof_int |
7210 |
|
_ACEOF |
7211 |
|
|
7212 |
|
|
7213 |
|
echo "$as_me:$LINENO: checking for short" >&5 |
7214 |
|
echo $ECHO_N "checking for short... $ECHO_C" >&6 |
7215 |
|
if test "${ac_cv_type_short+set}" = set; then |
7216 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
7217 |
|
else |
7218 |
|
cat >conftest.$ac_ext <<_ACEOF |
7219 |
|
#line $LINENO "configure" |
7220 |
|
/* confdefs.h. */ |
7221 |
|
_ACEOF |
7222 |
|
cat confdefs.h >>conftest.$ac_ext |
7223 |
|
cat >>conftest.$ac_ext <<_ACEOF |
7224 |
|
/* end confdefs.h. */ |
7225 |
|
$ac_includes_default |
7226 |
|
int |
7227 |
|
main () |
7228 |
|
{ |
7229 |
|
if ((short *) 0) |
7230 |
|
return 0; |
7231 |
|
if (sizeof (short)) |
7232 |
|
return 0; |
7233 |
|
; |
7234 |
|
return 0; |
7235 |
|
} |
7236 |
|
_ACEOF |
7237 |
|
rm -f conftest.$ac_objext |
7238 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
7239 |
|
(eval $ac_compile) 2>&5 |
7240 |
|
ac_status=$? |
7241 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7242 |
|
(exit $ac_status); } && |
7243 |
|
{ ac_try='test -s conftest.$ac_objext' |
7244 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7245 |
|
(eval $ac_try) 2>&5 |
7246 |
|
ac_status=$? |
7247 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7248 |
|
(exit $ac_status); }; }; then |
7249 |
|
ac_cv_type_short=yes |
7250 |
|
else |
7251 |
|
echo "$as_me: failed program was:" >&5 |
7252 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
7253 |
|
|
7254 |
|
ac_cv_type_short=no |
7255 |
|
fi |
7256 |
|
rm -f conftest.$ac_objext conftest.$ac_ext |
7257 |
|
fi |
7258 |
|
echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5 |
7259 |
|
echo "${ECHO_T}$ac_cv_type_short" >&6 |
7260 |
|
|
7261 |
|
echo "$as_me:$LINENO: checking size of short" >&5 |
7262 |
|
echo $ECHO_N "checking size of short... $ECHO_C" >&6 |
7263 |
|
if test "${ac_cv_sizeof_short+set}" = set; then |
7264 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
7265 |
|
else |
7266 |
|
if test "$ac_cv_type_short" = yes; then |
7267 |
|
# The cast to unsigned long works around a bug in the HP C Compiler |
7268 |
|
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
7269 |
|
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
7270 |
|
# This bug is HP SR number 8606223364. |
7271 |
|
if test "$cross_compiling" = yes; then |
7272 |
|
# Depending upon the size, compute the lo and hi bounds. |
7273 |
|
cat >conftest.$ac_ext <<_ACEOF |
7274 |
|
#line $LINENO "configure" |
7275 |
|
/* confdefs.h. */ |
7276 |
|
_ACEOF |
7277 |
|
cat confdefs.h >>conftest.$ac_ext |
7278 |
|
cat >>conftest.$ac_ext <<_ACEOF |
7279 |
|
/* end confdefs.h. */ |
7280 |
|
$ac_includes_default |
7281 |
|
int |
7282 |
|
main () |
7283 |
|
{ |
7284 |
|
static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)]; |
7285 |
|
test_array [0] = 0 |
7286 |
|
|
7287 |
|
; |
7288 |
|
return 0; |
7289 |
|
} |
7290 |
|
_ACEOF |
7291 |
|
rm -f conftest.$ac_objext |
7292 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
7293 |
|
(eval $ac_compile) 2>&5 |
7294 |
|
ac_status=$? |
7295 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7296 |
|
(exit $ac_status); } && |
7297 |
|
{ ac_try='test -s conftest.$ac_objext' |
7298 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7299 |
|
(eval $ac_try) 2>&5 |
7300 |
|
ac_status=$? |
7301 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7302 |
|
(exit $ac_status); }; }; then |
7303 |
|
ac_lo=0 ac_mid=0 |
7304 |
|
while :; do |
7305 |
|
cat >conftest.$ac_ext <<_ACEOF |
7306 |
|
#line $LINENO "configure" |
7307 |
|
/* confdefs.h. */ |
7308 |
|
_ACEOF |
7309 |
|
cat confdefs.h >>conftest.$ac_ext |
7310 |
|
cat >>conftest.$ac_ext <<_ACEOF |
7311 |
|
/* end confdefs.h. */ |
7312 |
|
$ac_includes_default |
7313 |
|
int |
7314 |
|
main () |
7315 |
|
{ |
7316 |
|
static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)]; |
7317 |
|
test_array [0] = 0 |
7318 |
|
|
7319 |
|
; |
7320 |
|
return 0; |
7321 |
|
} |
7322 |
|
_ACEOF |
7323 |
|
rm -f conftest.$ac_objext |
7324 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
7325 |
|
(eval $ac_compile) 2>&5 |
7326 |
|
ac_status=$? |
7327 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7328 |
|
(exit $ac_status); } && |
7329 |
|
{ ac_try='test -s conftest.$ac_objext' |
7330 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7331 |
|
(eval $ac_try) 2>&5 |
7332 |
|
ac_status=$? |
7333 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7334 |
|
(exit $ac_status); }; }; then |
7335 |
|
ac_hi=$ac_mid; break |
7336 |
|
else |
7337 |
|
echo "$as_me: failed program was:" >&5 |
7338 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
7339 |
|
|
7340 |
|
ac_lo=`expr $ac_mid + 1` |
7341 |
|
if test $ac_lo -le $ac_mid; then |
7342 |
|
ac_lo= ac_hi= |
7343 |
|
break |
7344 |
|
fi |
7345 |
|
ac_mid=`expr 2 '*' $ac_mid + 1` |
7346 |
fi |
fi |
7347 |
echo "$ac_t""$ac_cv_sizeof_int" 1>&6 |
rm -f conftest.$ac_objext conftest.$ac_ext |
7348 |
cat >> confdefs.h <<EOF |
done |
7349 |
#define SIZEOF_INT $ac_cv_sizeof_int |
else |
7350 |
EOF |
echo "$as_me: failed program was:" >&5 |
7351 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
7352 |
|
|
7353 |
|
cat >conftest.$ac_ext <<_ACEOF |
7354 |
|
#line $LINENO "configure" |
7355 |
|
/* confdefs.h. */ |
7356 |
|
_ACEOF |
7357 |
|
cat confdefs.h >>conftest.$ac_ext |
7358 |
|
cat >>conftest.$ac_ext <<_ACEOF |
7359 |
|
/* end confdefs.h. */ |
7360 |
|
$ac_includes_default |
7361 |
|
int |
7362 |
|
main () |
7363 |
|
{ |
7364 |
|
static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)]; |
7365 |
|
test_array [0] = 0 |
7366 |
|
|
7367 |
echo $ac_n "checking size of short""... $ac_c" 1>&6 |
; |
7368 |
echo "configure:3720: checking size of short" >&5 |
return 0; |
7369 |
if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then |
} |
7370 |
echo $ac_n "(cached) $ac_c" 1>&6 |
_ACEOF |
7371 |
|
rm -f conftest.$ac_objext |
7372 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
7373 |
|
(eval $ac_compile) 2>&5 |
7374 |
|
ac_status=$? |
7375 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7376 |
|
(exit $ac_status); } && |
7377 |
|
{ ac_try='test -s conftest.$ac_objext' |
7378 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7379 |
|
(eval $ac_try) 2>&5 |
7380 |
|
ac_status=$? |
7381 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7382 |
|
(exit $ac_status); }; }; then |
7383 |
|
ac_hi=-1 ac_mid=-1 |
7384 |
|
while :; do |
7385 |
|
cat >conftest.$ac_ext <<_ACEOF |
7386 |
|
#line $LINENO "configure" |
7387 |
|
/* confdefs.h. */ |
7388 |
|
_ACEOF |
7389 |
|
cat confdefs.h >>conftest.$ac_ext |
7390 |
|
cat >>conftest.$ac_ext <<_ACEOF |
7391 |
|
/* end confdefs.h. */ |
7392 |
|
$ac_includes_default |
7393 |
|
int |
7394 |
|
main () |
7395 |
|
{ |
7396 |
|
static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)]; |
7397 |
|
test_array [0] = 0 |
7398 |
|
|
7399 |
|
; |
7400 |
|
return 0; |
7401 |
|
} |
7402 |
|
_ACEOF |
7403 |
|
rm -f conftest.$ac_objext |
7404 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
7405 |
|
(eval $ac_compile) 2>&5 |
7406 |
|
ac_status=$? |
7407 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7408 |
|
(exit $ac_status); } && |
7409 |
|
{ ac_try='test -s conftest.$ac_objext' |
7410 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7411 |
|
(eval $ac_try) 2>&5 |
7412 |
|
ac_status=$? |
7413 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7414 |
|
(exit $ac_status); }; }; then |
7415 |
|
ac_lo=$ac_mid; break |
7416 |
|
else |
7417 |
|
echo "$as_me: failed program was:" >&5 |
7418 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
7419 |
|
|
7420 |
|
ac_hi=`expr '(' $ac_mid ')' - 1` |
7421 |
|
if test $ac_mid -le $ac_hi; then |
7422 |
|
ac_lo= ac_hi= |
7423 |
|
break |
7424 |
|
fi |
7425 |
|
ac_mid=`expr 2 '*' $ac_mid` |
7426 |
|
fi |
7427 |
|
rm -f conftest.$ac_objext conftest.$ac_ext |
7428 |
|
done |
7429 |
else |
else |
7430 |
if test "$cross_compiling" = yes; then |
echo "$as_me: failed program was:" >&5 |
7431 |
ac_cv_sizeof_short=0 |
sed 's/^/| /' conftest.$ac_ext >&5 |
7432 |
|
|
7433 |
|
ac_lo= ac_hi= |
7434 |
|
fi |
7435 |
|
rm -f conftest.$ac_objext conftest.$ac_ext |
7436 |
|
fi |
7437 |
|
rm -f conftest.$ac_objext conftest.$ac_ext |
7438 |
|
# Binary search between lo and hi bounds. |
7439 |
|
while test "x$ac_lo" != "x$ac_hi"; do |
7440 |
|
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` |
7441 |
|
cat >conftest.$ac_ext <<_ACEOF |
7442 |
|
#line $LINENO "configure" |
7443 |
|
/* confdefs.h. */ |
7444 |
|
_ACEOF |
7445 |
|
cat confdefs.h >>conftest.$ac_ext |
7446 |
|
cat >>conftest.$ac_ext <<_ACEOF |
7447 |
|
/* end confdefs.h. */ |
7448 |
|
$ac_includes_default |
7449 |
|
int |
7450 |
|
main () |
7451 |
|
{ |
7452 |
|
static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)]; |
7453 |
|
test_array [0] = 0 |
7454 |
|
|
7455 |
|
; |
7456 |
|
return 0; |
7457 |
|
} |
7458 |
|
_ACEOF |
7459 |
|
rm -f conftest.$ac_objext |
7460 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
7461 |
|
(eval $ac_compile) 2>&5 |
7462 |
|
ac_status=$? |
7463 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7464 |
|
(exit $ac_status); } && |
7465 |
|
{ ac_try='test -s conftest.$ac_objext' |
7466 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7467 |
|
(eval $ac_try) 2>&5 |
7468 |
|
ac_status=$? |
7469 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7470 |
|
(exit $ac_status); }; }; then |
7471 |
|
ac_hi=$ac_mid |
7472 |
else |
else |
7473 |
cat > conftest.$ac_ext <<EOF |
echo "$as_me: failed program was:" >&5 |
7474 |
#line 3728 "configure" |
sed 's/^/| /' conftest.$ac_ext >&5 |
7475 |
#include "confdefs.h" |
|
7476 |
|
ac_lo=`expr '(' $ac_mid ')' + 1` |
7477 |
|
fi |
7478 |
|
rm -f conftest.$ac_objext conftest.$ac_ext |
7479 |
|
done |
7480 |
|
case $ac_lo in |
7481 |
|
?*) ac_cv_sizeof_short=$ac_lo;; |
7482 |
|
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77 |
7483 |
|
See \`config.log' for more details." >&5 |
7484 |
|
echo "$as_me: error: cannot compute sizeof (short), 77 |
7485 |
|
See \`config.log' for more details." >&2;} |
7486 |
|
{ (exit 1); exit 1; }; } ;; |
7487 |
|
esac |
7488 |
|
else |
7489 |
|
if test "$cross_compiling" = yes; then |
7490 |
|
{ { echo "$as_me:$LINENO: error: cannot run test program while cross compiling |
7491 |
|
See \`config.log' for more details." >&5 |
7492 |
|
echo "$as_me: error: cannot run test program while cross compiling |
7493 |
|
See \`config.log' for more details." >&2;} |
7494 |
|
{ (exit 1); exit 1; }; } |
7495 |
|
else |
7496 |
|
cat >conftest.$ac_ext <<_ACEOF |
7497 |
|
#line $LINENO "configure" |
7498 |
|
/* confdefs.h. */ |
7499 |
|
_ACEOF |
7500 |
|
cat confdefs.h >>conftest.$ac_ext |
7501 |
|
cat >>conftest.$ac_ext <<_ACEOF |
7502 |
|
/* end confdefs.h. */ |
7503 |
|
$ac_includes_default |
7504 |
|
long longval () { return (long) (sizeof (short)); } |
7505 |
|
unsigned long ulongval () { return (long) (sizeof (short)); } |
7506 |
#include <stdio.h> |
#include <stdio.h> |
7507 |
#include <sys/types.h> |
#include <stdlib.h> |
7508 |
main() |
int |
7509 |
|
main () |
7510 |
{ |
{ |
7511 |
FILE *f=fopen("conftestval", "w"); |
|
7512 |
if (!f) exit(1); |
FILE *f = fopen ("conftest.val", "w"); |
7513 |
fprintf(f, "%d\n", sizeof(short)); |
if (! f) |
7514 |
exit(0); |
exit (1); |
7515 |
|
if (((long) (sizeof (short))) < 0) |
7516 |
|
{ |
7517 |
|
long i = longval (); |
7518 |
|
if (i != ((long) (sizeof (short)))) |
7519 |
|
exit (1); |
7520 |
|
fprintf (f, "%ld\n", i); |
7521 |
|
} |
7522 |
|
else |
7523 |
|
{ |
7524 |
|
unsigned long i = ulongval (); |
7525 |
|
if (i != ((long) (sizeof (short)))) |
7526 |
|
exit (1); |
7527 |
|
fprintf (f, "%lu\n", i); |
7528 |
|
} |
7529 |
|
exit (ferror (f) || fclose (f) != 0); |
7530 |
|
|
7531 |
|
; |
7532 |
|
return 0; |
7533 |
} |
} |
7534 |
EOF |
_ACEOF |
7535 |
if { (eval echo configure:3740: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
rm -f conftest$ac_exeext |
7536 |
then |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
7537 |
ac_cv_sizeof_short=`cat conftestval` |
(eval $ac_link) 2>&5 |
7538 |
else |
ac_status=$? |
7539 |
echo "configure: failed program was:" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7540 |
cat conftest.$ac_ext >&5 |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
7541 |
rm -fr conftest* |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7542 |
|
(eval $ac_try) 2>&5 |
7543 |
|
ac_status=$? |
7544 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7545 |
|
(exit $ac_status); }; }; then |
7546 |
|
ac_cv_sizeof_short=`cat conftest.val` |
7547 |
|
else |
7548 |
|
echo "$as_me: program exited with status $ac_status" >&5 |
7549 |
|
echo "$as_me: failed program was:" >&5 |
7550 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
7551 |
|
|
7552 |
|
( exit $ac_status ) |
7553 |
|
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77 |
7554 |
|
See \`config.log' for more details." >&5 |
7555 |
|
echo "$as_me: error: cannot compute sizeof (short), 77 |
7556 |
|
See \`config.log' for more details." >&2;} |
7557 |
|
{ (exit 1); exit 1; }; } |
7558 |
|
fi |
7559 |
|
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
7560 |
|
fi |
7561 |
|
fi |
7562 |
|
rm -f conftest.val |
7563 |
|
else |
7564 |
ac_cv_sizeof_short=0 |
ac_cv_sizeof_short=0 |
7565 |
fi |
fi |
|
rm -fr conftest* |
|
7566 |
fi |
fi |
7567 |
|
echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5 |
7568 |
|
echo "${ECHO_T}$ac_cv_sizeof_short" >&6 |
7569 |
|
cat >>confdefs.h <<_ACEOF |
7570 |
|
#define SIZEOF_SHORT $ac_cv_sizeof_short |
7571 |
|
_ACEOF |
7572 |
|
|
7573 |
|
|
7574 |
|
echo "$as_me:$LINENO: checking for char" >&5 |
7575 |
|
echo $ECHO_N "checking for char... $ECHO_C" >&6 |
7576 |
|
if test "${ac_cv_type_char+set}" = set; then |
7577 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
7578 |
|
else |
7579 |
|
cat >conftest.$ac_ext <<_ACEOF |
7580 |
|
#line $LINENO "configure" |
7581 |
|
/* confdefs.h. */ |
7582 |
|
_ACEOF |
7583 |
|
cat confdefs.h >>conftest.$ac_ext |
7584 |
|
cat >>conftest.$ac_ext <<_ACEOF |
7585 |
|
/* end confdefs.h. */ |
7586 |
|
$ac_includes_default |
7587 |
|
int |
7588 |
|
main () |
7589 |
|
{ |
7590 |
|
if ((char *) 0) |
7591 |
|
return 0; |
7592 |
|
if (sizeof (char)) |
7593 |
|
return 0; |
7594 |
|
; |
7595 |
|
return 0; |
7596 |
|
} |
7597 |
|
_ACEOF |
7598 |
|
rm -f conftest.$ac_objext |
7599 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
7600 |
|
(eval $ac_compile) 2>&5 |
7601 |
|
ac_status=$? |
7602 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7603 |
|
(exit $ac_status); } && |
7604 |
|
{ ac_try='test -s conftest.$ac_objext' |
7605 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7606 |
|
(eval $ac_try) 2>&5 |
7607 |
|
ac_status=$? |
7608 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7609 |
|
(exit $ac_status); }; }; then |
7610 |
|
ac_cv_type_char=yes |
7611 |
|
else |
7612 |
|
echo "$as_me: failed program was:" >&5 |
7613 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
7614 |
|
|
7615 |
|
ac_cv_type_char=no |
7616 |
|
fi |
7617 |
|
rm -f conftest.$ac_objext conftest.$ac_ext |
7618 |
|
fi |
7619 |
|
echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5 |
7620 |
|
echo "${ECHO_T}$ac_cv_type_char" >&6 |
7621 |
|
|
7622 |
|
echo "$as_me:$LINENO: checking size of char" >&5 |
7623 |
|
echo $ECHO_N "checking size of char... $ECHO_C" >&6 |
7624 |
|
if test "${ac_cv_sizeof_char+set}" = set; then |
7625 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
7626 |
|
else |
7627 |
|
if test "$ac_cv_type_char" = yes; then |
7628 |
|
# The cast to unsigned long works around a bug in the HP C Compiler |
7629 |
|
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
7630 |
|
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
7631 |
|
# This bug is HP SR number 8606223364. |
7632 |
|
if test "$cross_compiling" = yes; then |
7633 |
|
# Depending upon the size, compute the lo and hi bounds. |
7634 |
|
cat >conftest.$ac_ext <<_ACEOF |
7635 |
|
#line $LINENO "configure" |
7636 |
|
/* confdefs.h. */ |
7637 |
|
_ACEOF |
7638 |
|
cat confdefs.h >>conftest.$ac_ext |
7639 |
|
cat >>conftest.$ac_ext <<_ACEOF |
7640 |
|
/* end confdefs.h. */ |
7641 |
|
$ac_includes_default |
7642 |
|
int |
7643 |
|
main () |
7644 |
|
{ |
7645 |
|
static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)]; |
7646 |
|
test_array [0] = 0 |
7647 |
|
|
7648 |
|
; |
7649 |
|
return 0; |
7650 |
|
} |
7651 |
|
_ACEOF |
7652 |
|
rm -f conftest.$ac_objext |
7653 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
7654 |
|
(eval $ac_compile) 2>&5 |
7655 |
|
ac_status=$? |
7656 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7657 |
|
(exit $ac_status); } && |
7658 |
|
{ ac_try='test -s conftest.$ac_objext' |
7659 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7660 |
|
(eval $ac_try) 2>&5 |
7661 |
|
ac_status=$? |
7662 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7663 |
|
(exit $ac_status); }; }; then |
7664 |
|
ac_lo=0 ac_mid=0 |
7665 |
|
while :; do |
7666 |
|
cat >conftest.$ac_ext <<_ACEOF |
7667 |
|
#line $LINENO "configure" |
7668 |
|
/* confdefs.h. */ |
7669 |
|
_ACEOF |
7670 |
|
cat confdefs.h >>conftest.$ac_ext |
7671 |
|
cat >>conftest.$ac_ext <<_ACEOF |
7672 |
|
/* end confdefs.h. */ |
7673 |
|
$ac_includes_default |
7674 |
|
int |
7675 |
|
main () |
7676 |
|
{ |
7677 |
|
static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)]; |
7678 |
|
test_array [0] = 0 |
7679 |
|
|
7680 |
|
; |
7681 |
|
return 0; |
7682 |
|
} |
7683 |
|
_ACEOF |
7684 |
|
rm -f conftest.$ac_objext |
7685 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
7686 |
|
(eval $ac_compile) 2>&5 |
7687 |
|
ac_status=$? |
7688 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7689 |
|
(exit $ac_status); } && |
7690 |
|
{ ac_try='test -s conftest.$ac_objext' |
7691 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7692 |
|
(eval $ac_try) 2>&5 |
7693 |
|
ac_status=$? |
7694 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7695 |
|
(exit $ac_status); }; }; then |
7696 |
|
ac_hi=$ac_mid; break |
7697 |
|
else |
7698 |
|
echo "$as_me: failed program was:" >&5 |
7699 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
7700 |
|
|
7701 |
|
ac_lo=`expr $ac_mid + 1` |
7702 |
|
if test $ac_lo -le $ac_mid; then |
7703 |
|
ac_lo= ac_hi= |
7704 |
|
break |
7705 |
|
fi |
7706 |
|
ac_mid=`expr 2 '*' $ac_mid + 1` |
7707 |
|
fi |
7708 |
|
rm -f conftest.$ac_objext conftest.$ac_ext |
7709 |
|
done |
7710 |
|
else |
7711 |
|
echo "$as_me: failed program was:" >&5 |
7712 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
7713 |
|
|
7714 |
|
cat >conftest.$ac_ext <<_ACEOF |
7715 |
|
#line $LINENO "configure" |
7716 |
|
/* confdefs.h. */ |
7717 |
|
_ACEOF |
7718 |
|
cat confdefs.h >>conftest.$ac_ext |
7719 |
|
cat >>conftest.$ac_ext <<_ACEOF |
7720 |
|
/* end confdefs.h. */ |
7721 |
|
$ac_includes_default |
7722 |
|
int |
7723 |
|
main () |
7724 |
|
{ |
7725 |
|
static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)]; |
7726 |
|
test_array [0] = 0 |
7727 |
|
|
7728 |
|
; |
7729 |
|
return 0; |
7730 |
|
} |
7731 |
|
_ACEOF |
7732 |
|
rm -f conftest.$ac_objext |
7733 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
7734 |
|
(eval $ac_compile) 2>&5 |
7735 |
|
ac_status=$? |
7736 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7737 |
|
(exit $ac_status); } && |
7738 |
|
{ ac_try='test -s conftest.$ac_objext' |
7739 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7740 |
|
(eval $ac_try) 2>&5 |
7741 |
|
ac_status=$? |
7742 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7743 |
|
(exit $ac_status); }; }; then |
7744 |
|
ac_hi=-1 ac_mid=-1 |
7745 |
|
while :; do |
7746 |
|
cat >conftest.$ac_ext <<_ACEOF |
7747 |
|
#line $LINENO "configure" |
7748 |
|
/* confdefs.h. */ |
7749 |
|
_ACEOF |
7750 |
|
cat confdefs.h >>conftest.$ac_ext |
7751 |
|
cat >>conftest.$ac_ext <<_ACEOF |
7752 |
|
/* end confdefs.h. */ |
7753 |
|
$ac_includes_default |
7754 |
|
int |
7755 |
|
main () |
7756 |
|
{ |
7757 |
|
static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)]; |
7758 |
|
test_array [0] = 0 |
7759 |
|
|
7760 |
|
; |
7761 |
|
return 0; |
7762 |
|
} |
7763 |
|
_ACEOF |
7764 |
|
rm -f conftest.$ac_objext |
7765 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
7766 |
|
(eval $ac_compile) 2>&5 |
7767 |
|
ac_status=$? |
7768 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7769 |
|
(exit $ac_status); } && |
7770 |
|
{ ac_try='test -s conftest.$ac_objext' |
7771 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7772 |
|
(eval $ac_try) 2>&5 |
7773 |
|
ac_status=$? |
7774 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7775 |
|
(exit $ac_status); }; }; then |
7776 |
|
ac_lo=$ac_mid; break |
7777 |
|
else |
7778 |
|
echo "$as_me: failed program was:" >&5 |
7779 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
7780 |
|
|
7781 |
|
ac_hi=`expr '(' $ac_mid ')' - 1` |
7782 |
|
if test $ac_mid -le $ac_hi; then |
7783 |
|
ac_lo= ac_hi= |
7784 |
|
break |
7785 |
|
fi |
7786 |
|
ac_mid=`expr 2 '*' $ac_mid` |
7787 |
|
fi |
7788 |
|
rm -f conftest.$ac_objext conftest.$ac_ext |
7789 |
|
done |
7790 |
|
else |
7791 |
|
echo "$as_me: failed program was:" >&5 |
7792 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
7793 |
|
|
7794 |
|
ac_lo= ac_hi= |
7795 |
fi |
fi |
7796 |
echo "$ac_t""$ac_cv_sizeof_short" 1>&6 |
rm -f conftest.$ac_objext conftest.$ac_ext |
7797 |
cat >> confdefs.h <<EOF |
fi |
7798 |
#define SIZEOF_SHORT $ac_cv_sizeof_short |
rm -f conftest.$ac_objext conftest.$ac_ext |
7799 |
EOF |
# Binary search between lo and hi bounds. |
7800 |
|
while test "x$ac_lo" != "x$ac_hi"; do |
7801 |
|
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` |
7802 |
|
cat >conftest.$ac_ext <<_ACEOF |
7803 |
|
#line $LINENO "configure" |
7804 |
|
/* confdefs.h. */ |
7805 |
|
_ACEOF |
7806 |
|
cat confdefs.h >>conftest.$ac_ext |
7807 |
|
cat >>conftest.$ac_ext <<_ACEOF |
7808 |
|
/* end confdefs.h. */ |
7809 |
|
$ac_includes_default |
7810 |
|
int |
7811 |
|
main () |
7812 |
|
{ |
7813 |
|
static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)]; |
7814 |
|
test_array [0] = 0 |
7815 |
|
|
7816 |
|
; |
7817 |
|
return 0; |
7818 |
|
} |
7819 |
|
_ACEOF |
7820 |
|
rm -f conftest.$ac_objext |
7821 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
7822 |
|
(eval $ac_compile) 2>&5 |
7823 |
|
ac_status=$? |
7824 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7825 |
|
(exit $ac_status); } && |
7826 |
|
{ ac_try='test -s conftest.$ac_objext' |
7827 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7828 |
|
(eval $ac_try) 2>&5 |
7829 |
|
ac_status=$? |
7830 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7831 |
|
(exit $ac_status); }; }; then |
7832 |
|
ac_hi=$ac_mid |
7833 |
|
else |
7834 |
|
echo "$as_me: failed program was:" >&5 |
7835 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
7836 |
|
|
7837 |
echo $ac_n "checking size of char""... $ac_c" 1>&6 |
ac_lo=`expr '(' $ac_mid ')' + 1` |
7838 |
echo "configure:3760: checking size of char" >&5 |
fi |
7839 |
if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then |
rm -f conftest.$ac_objext conftest.$ac_ext |
7840 |
echo $ac_n "(cached) $ac_c" 1>&6 |
done |
7841 |
|
case $ac_lo in |
7842 |
|
?*) ac_cv_sizeof_char=$ac_lo;; |
7843 |
|
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77 |
7844 |
|
See \`config.log' for more details." >&5 |
7845 |
|
echo "$as_me: error: cannot compute sizeof (char), 77 |
7846 |
|
See \`config.log' for more details." >&2;} |
7847 |
|
{ (exit 1); exit 1; }; } ;; |
7848 |
|
esac |
7849 |
else |
else |
7850 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
7851 |
ac_cv_sizeof_char=0 |
{ { echo "$as_me:$LINENO: error: cannot run test program while cross compiling |
7852 |
else |
See \`config.log' for more details." >&5 |
7853 |
cat > conftest.$ac_ext <<EOF |
echo "$as_me: error: cannot run test program while cross compiling |
7854 |
#line 3768 "configure" |
See \`config.log' for more details." >&2;} |
7855 |
#include "confdefs.h" |
{ (exit 1); exit 1; }; } |
7856 |
|
else |
7857 |
|
cat >conftest.$ac_ext <<_ACEOF |
7858 |
|
#line $LINENO "configure" |
7859 |
|
/* confdefs.h. */ |
7860 |
|
_ACEOF |
7861 |
|
cat confdefs.h >>conftest.$ac_ext |
7862 |
|
cat >>conftest.$ac_ext <<_ACEOF |
7863 |
|
/* end confdefs.h. */ |
7864 |
|
$ac_includes_default |
7865 |
|
long longval () { return (long) (sizeof (char)); } |
7866 |
|
unsigned long ulongval () { return (long) (sizeof (char)); } |
7867 |
#include <stdio.h> |
#include <stdio.h> |
7868 |
#include <sys/types.h> |
#include <stdlib.h> |
7869 |
main() |
int |
7870 |
|
main () |
7871 |
{ |
{ |
7872 |
FILE *f=fopen("conftestval", "w"); |
|
7873 |
if (!f) exit(1); |
FILE *f = fopen ("conftest.val", "w"); |
7874 |
fprintf(f, "%d\n", sizeof(char)); |
if (! f) |
7875 |
exit(0); |
exit (1); |
7876 |
|
if (((long) (sizeof (char))) < 0) |
7877 |
|
{ |
7878 |
|
long i = longval (); |
7879 |
|
if (i != ((long) (sizeof (char)))) |
7880 |
|
exit (1); |
7881 |
|
fprintf (f, "%ld\n", i); |
7882 |
|
} |
7883 |
|
else |
7884 |
|
{ |
7885 |
|
unsigned long i = ulongval (); |
7886 |
|
if (i != ((long) (sizeof (char)))) |
7887 |
|
exit (1); |
7888 |
|
fprintf (f, "%lu\n", i); |
7889 |
|
} |
7890 |
|
exit (ferror (f) || fclose (f) != 0); |
7891 |
|
|
7892 |
|
; |
7893 |
|
return 0; |
7894 |
} |
} |
7895 |
EOF |
_ACEOF |
7896 |
if { (eval echo configure:3780: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
rm -f conftest$ac_exeext |
7897 |
then |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
7898 |
ac_cv_sizeof_char=`cat conftestval` |
(eval $ac_link) 2>&5 |
7899 |
else |
ac_status=$? |
7900 |
echo "configure: failed program was:" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7901 |
cat conftest.$ac_ext >&5 |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
7902 |
rm -fr conftest* |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7903 |
ac_cv_sizeof_char=0 |
(eval $ac_try) 2>&5 |
7904 |
|
ac_status=$? |
7905 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7906 |
|
(exit $ac_status); }; }; then |
7907 |
|
ac_cv_sizeof_char=`cat conftest.val` |
7908 |
|
else |
7909 |
|
echo "$as_me: program exited with status $ac_status" >&5 |
7910 |
|
echo "$as_me: failed program was:" >&5 |
7911 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
7912 |
|
|
7913 |
|
( exit $ac_status ) |
7914 |
|
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77 |
7915 |
|
See \`config.log' for more details." >&5 |
7916 |
|
echo "$as_me: error: cannot compute sizeof (char), 77 |
7917 |
|
See \`config.log' for more details." >&2;} |
7918 |
|
{ (exit 1); exit 1; }; } |
7919 |
fi |
fi |
7920 |
rm -fr conftest* |
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
7921 |
|
fi |
7922 |
|
fi |
7923 |
|
rm -f conftest.val |
7924 |
|
else |
7925 |
|
ac_cv_sizeof_char=0 |
7926 |
fi |
fi |
|
|
|
7927 |
fi |
fi |
7928 |
echo "$ac_t""$ac_cv_sizeof_char" 1>&6 |
echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5 |
7929 |
cat >> confdefs.h <<EOF |
echo "${ECHO_T}$ac_cv_sizeof_char" >&6 |
7930 |
|
cat >>confdefs.h <<_ACEOF |
7931 |
#define SIZEOF_CHAR $ac_cv_sizeof_char |
#define SIZEOF_CHAR $ac_cv_sizeof_char |
7932 |
EOF |
_ACEOF |
7933 |
|
|
7934 |
|
|
7935 |
|
|
7936 |
echo $ac_n "checking for number of bits in char""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for number of bits in char" >&5 |
7937 |
echo "configure:3801: checking for number of bits in char" >&5 |
echo $ECHO_N "checking for number of bits in char... $ECHO_C" >&6 |
7938 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
7939 |
echo Cannot find char_size;exit 1 |
echo Cannot find char_size;exit 1 |
7940 |
else |
else |
7941 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
7942 |
#line 3806 "configure" |
#line $LINENO "configure" |
7943 |
#include "confdefs.h" |
/* confdefs.h. */ |
7944 |
|
_ACEOF |
7945 |
|
cat confdefs.h >>conftest.$ac_ext |
7946 |
|
cat >>conftest.$ac_ext <<_ACEOF |
7947 |
|
/* end confdefs.h. */ |
7948 |
#include <stdio.h> |
#include <stdio.h> |
7949 |
int main() { |
int main() { |
7950 |
FILE *fp=fopen("conftest1","w"); |
FILE *fp=fopen("conftest1","w"); |
7954 |
fprintf(fp,"%d",i); |
fprintf(fp,"%d",i); |
7955 |
return 0; |
return 0; |
7956 |
} |
} |
7957 |
EOF |
_ACEOF |
7958 |
if { (eval echo configure:3818: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
rm -f conftest$ac_exeext |
7959 |
then |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
7960 |
|
(eval $ac_link) 2>&5 |
7961 |
|
ac_status=$? |
7962 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7963 |
|
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
7964 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7965 |
|
(eval $ac_try) 2>&5 |
7966 |
|
ac_status=$? |
7967 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7968 |
|
(exit $ac_status); }; }; then |
7969 |
char_size=`cat conftest1` |
char_size=`cat conftest1` |
7970 |
else |
else |
7971 |
echo "configure: failed program was:" >&5 |
echo "$as_me: program exited with status $ac_status" >&5 |
7972 |
cat conftest.$ac_ext >&5 |
echo "$as_me: failed program was:" >&5 |
7973 |
rm -fr conftest* |
sed 's/^/| /' conftest.$ac_ext >&5 |
7974 |
echo Cannot find char_size;exit 1 |
|
7975 |
fi |
( exit $ac_status ) |
7976 |
rm -fr conftest* |
echo Cannot find char_size;exit 1 |
7977 |
fi |
fi |
7978 |
|
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
7979 |
echo "$ac_t""$char_size" 1>&6 |
fi |
7980 |
cat >> confdefs.h <<EOF |
echo "$as_me:$LINENO: result: $char_size" >&5 |
7981 |
|
echo "${ECHO_T}$char_size" >&6 |
7982 |
|
cat >>confdefs.h <<_ACEOF |
7983 |
#define CHAR_SIZE $char_size |
#define CHAR_SIZE $char_size |
7984 |
EOF |
_ACEOF |
7985 |
|
|
7986 |
|
|
7987 |
|
|
7988 |
for ac_hdr in endian.h |
for ac_header in endian.h |
7989 |
do |
do |
7990 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
7991 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
7992 |
echo "configure:3840: checking for $ac_hdr" >&5 |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
7993 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
7994 |
echo $ac_n "(cached) $ac_c" 1>&6 |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
7995 |
else |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
7996 |
cat > conftest.$ac_ext <<EOF |
fi |
7997 |
#line 3845 "configure" |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
7998 |
#include "confdefs.h" |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
7999 |
#include <$ac_hdr> |
else |
8000 |
EOF |
# Is the header compilable? |
8001 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
8002 |
{ (eval echo configure:3850: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
8003 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
cat >conftest.$ac_ext <<_ACEOF |
8004 |
if test -z "$ac_err"; then |
#line $LINENO "configure" |
8005 |
rm -rf conftest* |
/* confdefs.h. */ |
8006 |
eval "ac_cv_header_$ac_safe=yes" |
_ACEOF |
8007 |
else |
cat confdefs.h >>conftest.$ac_ext |
8008 |
echo "$ac_err" >&5 |
cat >>conftest.$ac_ext <<_ACEOF |
8009 |
echo "configure: failed program was:" >&5 |
/* end confdefs.h. */ |
8010 |
cat conftest.$ac_ext >&5 |
$ac_includes_default |
8011 |
rm -rf conftest* |
#include <$ac_header> |
8012 |
eval "ac_cv_header_$ac_safe=no" |
_ACEOF |
8013 |
fi |
rm -f conftest.$ac_objext |
8014 |
rm -f conftest* |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
8015 |
|
(eval $ac_compile) 2>&5 |
8016 |
|
ac_status=$? |
8017 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8018 |
|
(exit $ac_status); } && |
8019 |
|
{ ac_try='test -s conftest.$ac_objext' |
8020 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8021 |
|
(eval $ac_try) 2>&5 |
8022 |
|
ac_status=$? |
8023 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8024 |
|
(exit $ac_status); }; }; then |
8025 |
|
ac_header_compiler=yes |
8026 |
|
else |
8027 |
|
echo "$as_me: failed program was:" >&5 |
8028 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
8029 |
|
|
8030 |
|
ac_header_compiler=no |
8031 |
|
fi |
8032 |
|
rm -f conftest.$ac_objext conftest.$ac_ext |
8033 |
|
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
8034 |
|
echo "${ECHO_T}$ac_header_compiler" >&6 |
8035 |
|
|
8036 |
|
# Is the header present? |
8037 |
|
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
8038 |
|
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
8039 |
|
cat >conftest.$ac_ext <<_ACEOF |
8040 |
|
#line $LINENO "configure" |
8041 |
|
/* confdefs.h. */ |
8042 |
|
_ACEOF |
8043 |
|
cat confdefs.h >>conftest.$ac_ext |
8044 |
|
cat >>conftest.$ac_ext <<_ACEOF |
8045 |
|
/* end confdefs.h. */ |
8046 |
|
#include <$ac_header> |
8047 |
|
_ACEOF |
8048 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
8049 |
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
8050 |
|
ac_status=$? |
8051 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
8052 |
|
rm -f conftest.er1 |
8053 |
|
cat conftest.err >&5 |
8054 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8055 |
|
(exit $ac_status); } >/dev/null; then |
8056 |
|
if test -s conftest.err; then |
8057 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
8058 |
|
else |
8059 |
|
ac_cpp_err= |
8060 |
|
fi |
8061 |
|
else |
8062 |
|
ac_cpp_err=yes |
8063 |
fi |
fi |
8064 |
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
if test -z "$ac_cpp_err"; then |
8065 |
echo "$ac_t""yes" 1>&6 |
ac_header_preproc=yes |
8066 |
ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` |
else |
8067 |
cat >> confdefs.h <<EOF |
echo "$as_me: failed program was:" >&5 |
8068 |
#define $ac_tr_hdr 1 |
sed 's/^/| /' conftest.$ac_ext >&5 |
8069 |
EOF |
|
8070 |
echo $ac_n "checking endianness""... $ac_c" 1>&6 |
ac_header_preproc=no |
8071 |
echo "configure:3871: checking endianness" >&5 |
fi |
8072 |
|
rm -f conftest.err conftest.$ac_ext |
8073 |
|
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
8074 |
|
echo "${ECHO_T}$ac_header_preproc" >&6 |
8075 |
|
|
8076 |
|
# So? What about this header? |
8077 |
|
case $ac_header_compiler:$ac_header_preproc in |
8078 |
|
yes:no ) |
8079 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
8080 |
|
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
8081 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
8082 |
|
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
8083 |
|
( |
8084 |
|
cat <<\_ASBOX |
8085 |
|
## ------------------------------------ ## |
8086 |
|
## Report this to bug-autoconf@gnu.org. ## |
8087 |
|
## ------------------------------------ ## |
8088 |
|
_ASBOX |
8089 |
|
) | |
8090 |
|
sed "s/^/$as_me: WARNING: /" >&2 |
8091 |
|
;; |
8092 |
|
no:yes ) |
8093 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
8094 |
|
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
8095 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
8096 |
|
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
8097 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
8098 |
|
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
8099 |
|
( |
8100 |
|
cat <<\_ASBOX |
8101 |
|
## ------------------------------------ ## |
8102 |
|
## Report this to bug-autoconf@gnu.org. ## |
8103 |
|
## ------------------------------------ ## |
8104 |
|
_ASBOX |
8105 |
|
) | |
8106 |
|
sed "s/^/$as_me: WARNING: /" >&2 |
8107 |
|
;; |
8108 |
|
esac |
8109 |
|
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
8110 |
|
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
8111 |
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
8112 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
8113 |
|
else |
8114 |
|
eval "$as_ac_Header=$ac_header_preproc" |
8115 |
|
fi |
8116 |
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
8117 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
8118 |
|
|
8119 |
|
fi |
8120 |
|
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
8121 |
|
cat >>confdefs.h <<_ACEOF |
8122 |
|
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
8123 |
|
_ACEOF |
8124 |
|
echo "$as_me:$LINENO: checking endianness" >&5 |
8125 |
|
echo $ECHO_N "checking endianness... $ECHO_C" >&6 |
8126 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
8127 |
echo "$ac_t""big" 1>&6 |
echo "$as_me:$LINENO: result: big" >&5 |
8128 |
|
echo "${ECHO_T}big" >&6 |
8129 |
else |
else |
8130 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
8131 |
#line 3876 "configure" |
#line $LINENO "configure" |
8132 |
#include "confdefs.h" |
/* confdefs.h. */ |
8133 |
|
_ACEOF |
8134 |
|
cat confdefs.h >>conftest.$ac_ext |
8135 |
|
cat >>conftest.$ac_ext <<_ACEOF |
8136 |
|
/* end confdefs.h. */ |
8137 |
/*#define __ARMEB__*/ |
/*#define __ARMEB__*/ |
8138 |
#include <endian.h> |
#include <endian.h> |
8139 |
int main() { return BYTE_ORDER == __LITTLE_ENDIAN ? 0 : 1;} |
int main() { return BYTE_ORDER == __LITTLE_ENDIAN ? 0 : 1;} |
8140 |
EOF |
_ACEOF |
8141 |
if { (eval echo configure:3882: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
rm -f conftest$ac_exeext |
8142 |
then |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
8143 |
cat >> confdefs.h <<\EOF |
(eval $ac_link) 2>&5 |
8144 |
|
ac_status=$? |
8145 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8146 |
|
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
8147 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8148 |
|
(eval $ac_try) 2>&5 |
8149 |
|
ac_status=$? |
8150 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8151 |
|
(exit $ac_status); }; }; then |
8152 |
|
cat >>confdefs.h <<\_ACEOF |
8153 |
#define LITTLE_END 1 |
#define LITTLE_END 1 |
8154 |
EOF |
_ACEOF |
8155 |
echo "$ac_t""little" 1>&6 |
echo "$as_me:$LINENO: result: little" >&5 |
8156 |
else |
echo "${ECHO_T}little" >&6 |
8157 |
echo "configure: failed program was:" >&5 |
else |
8158 |
cat conftest.$ac_ext >&5 |
echo "$as_me: program exited with status $ac_status" >&5 |
8159 |
rm -fr conftest* |
echo "$as_me: failed program was:" >&5 |
8160 |
echo "$ac_t""big" 1>&6 |
sed 's/^/| /' conftest.$ac_ext >&5 |
8161 |
|
|
8162 |
|
( exit $ac_status ) |
8163 |
|
echo "$as_me:$LINENO: result: big" >&5 |
8164 |
|
echo "${ECHO_T}big" >&6 |
8165 |
fi |
fi |
8166 |
rm -fr conftest* |
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
8167 |
fi |
fi |
|
|
|
|
else |
|
|
echo "$ac_t""no" 1>&6 |
|
8168 |
fi |
fi |
8169 |
|
|
8170 |
done |
done |
8171 |
|
|
8172 |
|
|
8175 |
# On systems with execshield, brk is randomized. We need to catch |
# On systems with execshield, brk is randomized. We need to catch |
8176 |
# this and restore the traditional behavior here |
# this and restore the traditional behavior here |
8177 |
|
|
8178 |
echo $ac_n "checking for sbrk""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for sbrk" >&5 |
8179 |
echo "configure:3909: checking for sbrk" >&5 |
echo $ECHO_N "checking for sbrk... $ECHO_C" >&6 |
8180 |
HAVE_SBRK="" |
HAVE_SBRK="" |
8181 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
8182 |
echo "$ac_t""no: WARNING you must be able to emulate sbrk: as on mingw or macosx" 1>&6 |
echo "$as_me:$LINENO: result: no: WARNING you must be able to emulate sbrk: as on mingw or macosx" >&5 |
8183 |
|
echo "${ECHO_T}no: WARNING you must be able to emulate sbrk: as on mingw or macosx" >&6 |
8184 |
else |
else |
8185 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
8186 |
#line 3915 "configure" |
#line $LINENO "configure" |
8187 |
#include "confdefs.h" |
/* confdefs.h. */ |
8188 |
|
_ACEOF |
8189 |
|
cat confdefs.h >>conftest.$ac_ext |
8190 |
|
cat >>conftest.$ac_ext <<_ACEOF |
8191 |
|
/* end confdefs.h. */ |
8192 |
#include <unistd.h> |
#include <unistd.h> |
8193 |
#include <stdio.h> |
#include <stdio.h> |
8194 |
int main() { |
int main() { |
8198 |
fprintf(f,"%u",sbrk(0)); |
fprintf(f,"%u",sbrk(0)); |
8199 |
return 0; |
return 0; |
8200 |
} |
} |
8201 |
EOF |
_ACEOF |
8202 |
if { (eval echo configure:3927: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
rm -f conftest$ac_exeext |
8203 |
then |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
8204 |
|
(eval $ac_link) 2>&5 |
8205 |
|
ac_status=$? |
8206 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8207 |
|
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
8208 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8209 |
|
(eval $ac_try) 2>&5 |
8210 |
|
ac_status=$? |
8211 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8212 |
|
(exit $ac_status); }; }; then |
8213 |
HAVE_SBRK=1 |
HAVE_SBRK=1 |
8214 |
echo "$ac_t""yes" 1>&6 |
echo "$as_me:$LINENO: result: yes" >&5 |
8215 |
|
echo "${ECHO_T}yes" >&6 |
8216 |
else |
else |
8217 |
echo "configure: failed program was:" >&5 |
echo "$as_me: program exited with status $ac_status" >&5 |
8218 |
cat conftest.$ac_ext >&5 |
echo "$as_me: failed program was:" >&5 |
8219 |
rm -fr conftest* |
sed 's/^/| /' conftest.$ac_ext >&5 |
8220 |
echo "$ac_t""no: WARNING you must be able to emulate sbrk: as on mingw or macosx" 1>&6 |
|
8221 |
|
( exit $ac_status ) |
8222 |
|
echo "$as_me:$LINENO: result: no: WARNING you must be able to emulate sbrk: as on mingw or macosx" >&5 |
8223 |
|
echo "${ECHO_T}no: WARNING you must be able to emulate sbrk: as on mingw or macosx" >&6 |
8224 |
fi |
fi |
8225 |
rm -fr conftest* |
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
8226 |
fi |
fi |
8227 |
|
|
|
|
|
8228 |
if test "$HAVE_SBRK" = "1" ; then |
if test "$HAVE_SBRK" = "1" ; then |
8229 |
echo $ac_n "checking for randomized sbrk""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for randomized sbrk" >&5 |
8230 |
echo "configure:3943: checking for randomized sbrk" >&5 |
echo $ECHO_N "checking for randomized sbrk... $ECHO_C" >&6 |
8231 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
8232 |
SBRK=0 |
SBRK=0 |
8233 |
else |
else |
8234 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
8235 |
#line 3948 "configure" |
#line $LINENO "configure" |
8236 |
#include "confdefs.h" |
/* confdefs.h. */ |
8237 |
|
_ACEOF |
8238 |
|
cat confdefs.h >>conftest.$ac_ext |
8239 |
|
cat >>conftest.$ac_ext <<_ACEOF |
8240 |
|
/* end confdefs.h. */ |
8241 |
#include <unistd.h> |
#include <unistd.h> |
8242 |
#include <stdio.h> |
#include <stdio.h> |
8243 |
int main() { |
int main() { |
8247 |
fprintf(f,"%u",sbrk(0)); |
fprintf(f,"%u",sbrk(0)); |
8248 |
return 0; |
return 0; |
8249 |
} |
} |
8250 |
EOF |
_ACEOF |
8251 |
if { (eval echo configure:3960: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
rm -f conftest$ac_exeext |
8252 |
then |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
8253 |
|
(eval $ac_link) 2>&5 |
8254 |
|
ac_status=$? |
8255 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8256 |
|
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
8257 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8258 |
|
(eval $ac_try) 2>&5 |
8259 |
|
ac_status=$? |
8260 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8261 |
|
(exit $ac_status); }; }; then |
8262 |
SBRK=`cat conftest1` |
SBRK=`cat conftest1` |
8263 |
else |
else |
8264 |
echo "configure: failed program was:" >&5 |
echo "$as_me: program exited with status $ac_status" >&5 |
8265 |
cat conftest.$ac_ext >&5 |
echo "$as_me: failed program was:" >&5 |
8266 |
rm -fr conftest* |
sed 's/^/| /' conftest.$ac_ext >&5 |
8267 |
SBRK=0 |
|
8268 |
|
( exit $ac_status ) |
8269 |
|
SBRK=0 |
8270 |
fi |
fi |
8271 |
rm -fr conftest* |
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
8272 |
fi |
fi |
|
|
|
8273 |
if test "$SBRK" = "0" ; then |
if test "$SBRK" = "0" ; then |
8274 |
echo "$ac_t""cannot trap sbrk" 1>&6 |
echo "$as_me:$LINENO: result: cannot trap sbrk" >&5 |
8275 |
|
echo "${ECHO_T}cannot trap sbrk" >&6 |
8276 |
exit 1 |
exit 1 |
8277 |
fi |
fi |
8278 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
8279 |
SBRK1=0 |
SBRK1=0 |
8280 |
else |
else |
8281 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
8282 |
#line 3980 "configure" |
#line $LINENO "configure" |
8283 |
#include "confdefs.h" |
/* confdefs.h. */ |
8284 |
|
_ACEOF |
8285 |
|
cat confdefs.h >>conftest.$ac_ext |
8286 |
|
cat >>conftest.$ac_ext <<_ACEOF |
8287 |
|
/* end confdefs.h. */ |
8288 |
#include <unistd.h> |
#include <unistd.h> |
8289 |
#include <stdio.h> |
#include <stdio.h> |
8290 |
int main() { |
int main() { |
8294 |
fprintf(f,"%u",sbrk(0)); |
fprintf(f,"%u",sbrk(0)); |
8295 |
return 0; |
return 0; |
8296 |
} |
} |
8297 |
EOF |
_ACEOF |
8298 |
if { (eval echo configure:3992: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
rm -f conftest$ac_exeext |
8299 |
then |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
8300 |
|
(eval $ac_link) 2>&5 |
8301 |
|
ac_status=$? |
8302 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8303 |
|
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
8304 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8305 |
|
(eval $ac_try) 2>&5 |
8306 |
|
ac_status=$? |
8307 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8308 |
|
(exit $ac_status); }; }; then |
8309 |
SBRK1=`cat conftest1` |
SBRK1=`cat conftest1` |
8310 |
else |
else |
8311 |
echo "configure: failed program was:" >&5 |
echo "$as_me: program exited with status $ac_status" >&5 |
8312 |
cat conftest.$ac_ext >&5 |
echo "$as_me: failed program was:" >&5 |
8313 |
rm -fr conftest* |
sed 's/^/| /' conftest.$ac_ext >&5 |
8314 |
SBRK1=0 |
|
8315 |
|
( exit $ac_status ) |
8316 |
|
SBRK1=0 |
8317 |
fi |
fi |
8318 |
rm -fr conftest* |
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
8319 |
fi |
fi |
|
|
|
8320 |
if test "$SBRK1" = "0" ; then |
if test "$SBRK1" = "0" ; then |
8321 |
echo "$ac_t""cannot trap sbrk" 1>&6 |
echo "$as_me:$LINENO: result: cannot trap sbrk" >&5 |
8322 |
|
echo "${ECHO_T}cannot trap sbrk" >&6 |
8323 |
exit 1 |
exit 1 |
8324 |
fi |
fi |
8325 |
|
|
8326 |
if test "$SBRK" != "$SBRK1" ; then |
if test "$SBRK" != "$SBRK1" ; then |
8327 |
echo "$ac_t""yes" 1>&6 |
echo "$as_me:$LINENO: result: yes" >&5 |
8328 |
echo $ac_n "checking for randomized brk remedy""... $ac_c" 1>&6 |
echo "${ECHO_T}yes" >&6 |
8329 |
echo "configure:4012: checking for randomized brk remedy" >&5 |
echo "$as_me:$LINENO: checking for randomized brk remedy" >&5 |
8330 |
|
echo $ECHO_N "checking for randomized brk remedy... $ECHO_C" >&6 |
8331 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
8332 |
SBRK=0 |
SBRK=0 |
8333 |
else |
else |
8334 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
8335 |
#line 4017 "configure" |
#line $LINENO "configure" |
8336 |
#include "confdefs.h" |
/* confdefs.h. */ |
8337 |
|
_ACEOF |
8338 |
|
cat confdefs.h >>conftest.$ac_ext |
8339 |
|
cat >>conftest.$ac_ext <<_ACEOF |
8340 |
|
/* end confdefs.h. */ |
8341 |
#include <syscall.h> |
#include <syscall.h> |
8342 |
#include <linux/personality.h> |
#include <linux/personality.h> |
8343 |
#include <stdio.h> |
#include <stdio.h> |
8355 |
fprintf(f,"%u",sbrk(0)); |
fprintf(f,"%u",sbrk(0)); |
8356 |
return 0; |
return 0; |
8357 |
} |
} |
8358 |
EOF |
_ACEOF |
8359 |
if { (eval echo configure:4037: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
rm -f conftest$ac_exeext |
8360 |
then |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
8361 |
|
(eval $ac_link) 2>&5 |
8362 |
|
ac_status=$? |
8363 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8364 |
|
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
8365 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8366 |
|
(eval $ac_try) 2>&5 |
8367 |
|
ac_status=$? |
8368 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8369 |
|
(exit $ac_status); }; }; then |
8370 |
SBRK=`cat conftest1` |
SBRK=`cat conftest1` |
8371 |
else |
else |
8372 |
echo "configure: failed program was:" >&5 |
echo "$as_me: program exited with status $ac_status" >&5 |
8373 |
cat conftest.$ac_ext >&5 |
echo "$as_me: failed program was:" >&5 |
8374 |
rm -fr conftest* |
sed 's/^/| /' conftest.$ac_ext >&5 |
8375 |
SBRK=0 |
|
8376 |
|
( exit $ac_status ) |
8377 |
|
SBRK=0 |
8378 |
fi |
fi |
8379 |
rm -fr conftest* |
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
8380 |
fi |
fi |
|
|
|
8381 |
if test "$SBRK" = "0" ; then |
if test "$SBRK" = "0" ; then |
8382 |
echo "$ac_t""cannot trap sbrk" 1>&6 |
echo "$as_me:$LINENO: result: cannot trap sbrk" >&5 |
8383 |
|
echo "${ECHO_T}cannot trap sbrk" >&6 |
8384 |
exit 1 |
exit 1 |
8385 |
fi |
fi |
8386 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
8387 |
SBRK1=0 |
SBRK1=0 |
8388 |
else |
else |
8389 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
8390 |
#line 4057 "configure" |
#line $LINENO "configure" |
8391 |
#include "confdefs.h" |
/* confdefs.h. */ |
8392 |
|
_ACEOF |
8393 |
|
cat confdefs.h >>conftest.$ac_ext |
8394 |
|
cat >>conftest.$ac_ext <<_ACEOF |
8395 |
|
/* end confdefs.h. */ |
8396 |
#include <syscall.h> |
#include <syscall.h> |
8397 |
#include <linux/personality.h> |
#include <linux/personality.h> |
8398 |
#include <stdio.h> |
#include <stdio.h> |
8410 |
fprintf(f,"%u",sbrk(0)); |
fprintf(f,"%u",sbrk(0)); |
8411 |
return 0; |
return 0; |
8412 |
} |
} |
8413 |
EOF |
_ACEOF |
8414 |
if { (eval echo configure:4077: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
rm -f conftest$ac_exeext |
8415 |
then |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
8416 |
|
(eval $ac_link) 2>&5 |
8417 |
|
ac_status=$? |
8418 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8419 |
|
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
8420 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8421 |
|
(eval $ac_try) 2>&5 |
8422 |
|
ac_status=$? |
8423 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8424 |
|
(exit $ac_status); }; }; then |
8425 |
SBRK1=`cat conftest1` |
SBRK1=`cat conftest1` |
8426 |
else |
else |
8427 |
echo "configure: failed program was:" >&5 |
echo "$as_me: program exited with status $ac_status" >&5 |
8428 |
cat conftest.$ac_ext >&5 |
echo "$as_me: failed program was:" >&5 |
8429 |
rm -fr conftest* |
sed 's/^/| /' conftest.$ac_ext >&5 |
8430 |
SBRK1=0 |
|
8431 |
|
( exit $ac_status ) |
8432 |
|
SBRK1=0 |
8433 |
fi |
fi |
8434 |
rm -fr conftest* |
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
8435 |
fi |
fi |
|
|
|
8436 |
if test "$SBRK1" = "0" ; then |
if test "$SBRK1" = "0" ; then |
8437 |
echo "$ac_t""cannot trap sbrk" 1>&6 |
echo "$as_me:$LINENO: result: cannot trap sbrk" >&5 |
8438 |
|
echo "${ECHO_T}cannot trap sbrk" >&6 |
8439 |
exit 1 |
exit 1 |
8440 |
fi |
fi |
8441 |
if test "$SBRK" = "$SBRK1" ; then |
if test "$SBRK" = "$SBRK1" ; then |
8442 |
echo "$ac_t""yes" 1>&6 |
echo "$as_me:$LINENO: result: yes" >&5 |
8443 |
cat >> confdefs.h <<\EOF |
echo "${ECHO_T}yes" >&6 |
8444 |
|
cat >>confdefs.h <<\_ACEOF |
8445 |
#define NEED_NONRANDOM_SBRK 1 |
#define NEED_NONRANDOM_SBRK 1 |
8446 |
EOF |
_ACEOF |
8447 |
|
|
8448 |
else |
else |
8449 |
echo "$ac_t""no" 1>&6 |
echo "$as_me:$LINENO: result: no" >&5 |
8450 |
|
echo "${ECHO_T}no" >&6 |
8451 |
echo "Cannot build with randomized sbrk" |
echo "Cannot build with randomized sbrk" |
8452 |
exit 1 |
exit 1 |
8453 |
fi |
fi |
8454 |
else |
else |
8455 |
echo "$ac_t""no" 1>&6 |
echo "$as_me:$LINENO: result: no" >&5 |
8456 |
|
echo "${ECHO_T}no" >&6 |
8457 |
fi |
fi |
8458 |
fi |
fi |
8459 |
|
|
8460 |
#### Memory areas and alignment |
#### Memory areas and alignment |
8461 |
|
|
8462 |
echo $ac_n "checking for required object alignment""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for required object alignment" >&5 |
8463 |
echo "configure:4112: checking for required object alignment" >&5 |
echo $ECHO_N "checking for required object alignment... $ECHO_C" >&6 |
8464 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
8465 |
echo Cannot find object alignent;exit -1 |
echo Cannot find object alignent;exit -1 |
8466 |
else |
else |
8467 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
8468 |
#line 4117 "configure" |
#line $LINENO "configure" |
8469 |
#include "confdefs.h" |
/* confdefs.h. */ |
8470 |
|
_ACEOF |
8471 |
|
cat confdefs.h >>conftest.$ac_ext |
8472 |
|
cat >>conftest.$ac_ext <<_ACEOF |
8473 |
|
/* end confdefs.h. */ |
8474 |
#include <stdio.h> |
#include <stdio.h> |
8475 |
#define EXTER |
#define EXTER |
8476 |
#include "$MP_INCLUDE" |
#include "$MP_INCLUDE" |
8477 |
#include "`pwd`/h/enum.h" |
#include "./h/enum.h" |
8478 |
#define OBJ_ALIGN |
#define OBJ_ALIGN |
8479 |
#include "`pwd`/h/object.h" |
#include "./h/object.h" |
8480 |
int main() { |
int main() { |
8481 |
unsigned long i; |
unsigned long i; |
8482 |
FILE *fp=fopen("conftest1","w"); |
FILE *fp=fopen("conftest1","w"); |
8485 |
fprintf(fp,"%lu\n",i); |
fprintf(fp,"%lu\n",i); |
8486 |
fclose(fp); |
fclose(fp); |
8487 |
return 0;} |
return 0;} |
8488 |
EOF |
_ACEOF |
8489 |
if { (eval echo configure:4134: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
rm -f conftest$ac_exeext |
8490 |
then |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
8491 |
|
(eval $ac_link) 2>&5 |
8492 |
|
ac_status=$? |
8493 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8494 |
|
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
8495 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8496 |
|
(eval $ac_try) 2>&5 |
8497 |
|
ac_status=$? |
8498 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8499 |
|
(exit $ac_status); }; }; then |
8500 |
obj_align=`cat conftest1` |
obj_align=`cat conftest1` |
8501 |
else |
else |
8502 |
echo "configure: failed program was:" >&5 |
echo "$as_me: program exited with status $ac_status" >&5 |
8503 |
cat conftest.$ac_ext >&5 |
echo "$as_me: failed program was:" >&5 |
8504 |
rm -fr conftest* |
sed 's/^/| /' conftest.$ac_ext >&5 |
8505 |
echo Cannot find object alignent;exit -1 |
|
8506 |
|
( exit $ac_status ) |
8507 |
|
echo Cannot find object alignent;exit -1 |
8508 |
fi |
fi |
8509 |
rm -fr conftest* |
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
8510 |
fi |
fi |
8511 |
|
echo "$as_me:$LINENO: result: $obj_align" >&5 |
8512 |
|
echo "${ECHO_T}$obj_align" >&6 |
8513 |
|
|
8514 |
echo "$ac_t""$obj_align" 1>&6 |
echo "$as_me:$LINENO: checking for C extension variable alignment" >&5 |
8515 |
|
echo $ECHO_N "checking for C extension variable alignment... $ECHO_C" >&6 |
|
echo $ac_n "checking for C extension variable alignment""... $ac_c" 1>&6 |
|
|
echo "configure:4149: checking for C extension variable alignment" >&5 |
|
8516 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
8517 |
obj_align= |
obj_align= |
8518 |
else |
else |
8519 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
8520 |
#line 4154 "configure" |
#line $LINENO "configure" |
8521 |
#include "confdefs.h" |
/* confdefs.h. */ |
8522 |
|
_ACEOF |
8523 |
|
cat confdefs.h >>conftest.$ac_ext |
8524 |
|
cat >>conftest.$ac_ext <<_ACEOF |
8525 |
|
/* end confdefs.h. */ |
8526 |
int main() { |
int main() { |
8527 |
char *v __attribute__ ((aligned ($obj_align))); |
char *v __attribute__ ((aligned ($obj_align))); |
8528 |
return 0;} |
return 0;} |
8529 |
EOF |
_ACEOF |
8530 |
if { (eval echo configure:4160: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
rm -f conftest$ac_exeext |
8531 |
then |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
8532 |
|
(eval $ac_link) 2>&5 |
8533 |
|
ac_status=$? |
8534 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8535 |
|
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
8536 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8537 |
|
(eval $ac_try) 2>&5 |
8538 |
|
ac_status=$? |
8539 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8540 |
|
(exit $ac_status); }; }; then |
8541 |
obj_align="__attribute__ ((aligned ($obj_align)))" |
obj_align="__attribute__ ((aligned ($obj_align)))" |
8542 |
else |
else |
8543 |
echo "configure: failed program was:" >&5 |
echo "$as_me: program exited with status $ac_status" >&5 |
8544 |
cat conftest.$ac_ext >&5 |
echo "$as_me: failed program was:" >&5 |
8545 |
rm -fr conftest* |
sed 's/^/| /' conftest.$ac_ext >&5 |
8546 |
obj_align= |
|
8547 |
fi |
( exit $ac_status ) |
8548 |
rm -fr conftest* |
obj_align= |
8549 |
fi |
fi |
8550 |
|
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
8551 |
echo "$ac_t""$obj_align" 1>&6 |
fi |
8552 |
cat >> confdefs.h <<EOF |
echo "$as_me:$LINENO: result: $obj_align" >&5 |
8553 |
|
echo "${ECHO_T}$obj_align" >&6 |
8554 |
|
cat >>confdefs.h <<_ACEOF |
8555 |
#define OBJ_ALIGN $obj_align |
#define OBJ_ALIGN $obj_align |
8556 |
EOF |
_ACEOF |
8557 |
|
|
8558 |
|
|
8559 |
|
|
8560 |
echo $ac_n "checking TYPE_BITS macro""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking TYPE_BITS macro" >&5 |
8561 |
echo "configure:4180: checking TYPE_BITS macro" >&5 |
echo $ECHO_N "checking TYPE_BITS macro... $ECHO_C" >&6 |
8562 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
8563 |
echo Cannot find type_bits;exit 1 |
echo Cannot find type_bits;exit 1 |
8564 |
else |
else |
8565 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
8566 |
#line 4185 "configure" |
#line $LINENO "configure" |
8567 |
#include "confdefs.h" |
/* confdefs.h. */ |
8568 |
|
_ACEOF |
8569 |
|
cat confdefs.h >>conftest.$ac_ext |
8570 |
|
cat >>conftest.$ac_ext <<_ACEOF |
8571 |
|
/* end confdefs.h. */ |
8572 |
#include <stdio.h> |
#include <stdio.h> |
8573 |
#define EXTER |
#define EXTER |
8574 |
#include "$MP_INCLUDE" |
#include "$MP_INCLUDE" |
8575 |
#include "`pwd`/h/enum.h" |
#include "./h/enum.h" |
8576 |
#include "`pwd`/h/object.h" |
#include "./h/object.h" |
8577 |
int main(int argc,char **argv,char **envp) { |
int main(int argc,char **argv,char **envp) { |
8578 |
FILE *f=fopen("conftest1","w"); |
FILE *f=fopen("conftest1","w"); |
8579 |
fixnum g=0; |
fixnum g=0; |
8584 |
fclose(f); |
fclose(f); |
8585 |
return 0; |
return 0; |
8586 |
} |
} |
8587 |
EOF |
_ACEOF |
8588 |
if { (eval echo configure:4203: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
rm -f conftest$ac_exeext |
8589 |
then |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
8590 |
|
(eval $ac_link) 2>&5 |
8591 |
|
ac_status=$? |
8592 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8593 |
|
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
8594 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8595 |
|
(eval $ac_try) 2>&5 |
8596 |
|
ac_status=$? |
8597 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8598 |
|
(exit $ac_status); }; }; then |
8599 |
type_bits=`cat conftest1` |
type_bits=`cat conftest1` |
8600 |
else |
else |
8601 |
echo "configure: failed program was:" >&5 |
echo "$as_me: program exited with status $ac_status" >&5 |
8602 |
cat conftest.$ac_ext >&5 |
echo "$as_me: failed program was:" >&5 |
8603 |
rm -fr conftest* |
sed 's/^/| /' conftest.$ac_ext >&5 |
8604 |
echo Cannot find type_bits;exit 1 |
|
8605 |
fi |
( exit $ac_status ) |
8606 |
rm -fr conftest* |
echo Cannot find type_bits;exit 1 |
8607 |
fi |
fi |
8608 |
|
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
8609 |
echo "$ac_t""$type_bits" 1>&6 |
fi |
8610 |
cat >> confdefs.h <<EOF |
echo "$as_me:$LINENO: result: $type_bits" >&5 |
8611 |
|
echo "${ECHO_T}$type_bits" >&6 |
8612 |
|
cat >>confdefs.h <<_ACEOF |
8613 |
#define TYPE_BITS $type_bits |
#define TYPE_BITS $type_bits |
8614 |
EOF |
_ACEOF |
8615 |
|
|
8616 |
|
|
8617 |
echo $ac_n "checking sizeof struct contblock""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking sizeof struct contblock" >&5 |
8618 |
echo "configure:4222: checking sizeof struct contblock" >&5 |
echo $ECHO_N "checking sizeof struct contblock... $ECHO_C" >&6 |
8619 |
|
|
8620 |
# work around MSYS pwd result incompatibility |
# work around MSYS pwd result incompatibility |
8621 |
if test "$use" = "mingw" ; then |
if test "$use" = "mingw" ; then |
8622 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
8623 |
echo Cannot find sizeof struct contblock;exit 1 |
echo Cannot find sizeof struct contblock;exit 1 |
8624 |
else |
else |
8625 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
8626 |
#line 4230 "configure" |
#line $LINENO "configure" |
8627 |
#include "confdefs.h" |
/* confdefs.h. */ |
8628 |
|
_ACEOF |
8629 |
|
cat confdefs.h >>conftest.$ac_ext |
8630 |
|
cat >>conftest.$ac_ext <<_ACEOF |
8631 |
|
/* end confdefs.h. */ |
8632 |
#include <stdio.h> |
#include <stdio.h> |
8633 |
#define EXTER |
#define EXTER |
8634 |
#include "$MP_INCLUDE" |
#include "$MP_INCLUDE" |
8640 |
fclose(f); |
fclose(f); |
8641 |
return 0; |
return 0; |
8642 |
} |
} |
8643 |
EOF |
_ACEOF |
8644 |
if { (eval echo configure:4244: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
rm -f conftest$ac_exeext |
8645 |
then |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
8646 |
|
(eval $ac_link) 2>&5 |
8647 |
|
ac_status=$? |
8648 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8649 |
|
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
8650 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8651 |
|
(eval $ac_try) 2>&5 |
8652 |
|
ac_status=$? |
8653 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8654 |
|
(exit $ac_status); }; }; then |
8655 |
sizeof_contblock=`cat conftest1` |
sizeof_contblock=`cat conftest1` |
8656 |
else |
else |
8657 |
echo "configure: failed program was:" >&5 |
echo "$as_me: program exited with status $ac_status" >&5 |
8658 |
cat conftest.$ac_ext >&5 |
echo "$as_me: failed program was:" >&5 |
8659 |
rm -fr conftest* |
sed 's/^/| /' conftest.$ac_ext >&5 |
8660 |
echo Cannot find sizeof struct contblock;exit 1 |
|
8661 |
|
( exit $ac_status ) |
8662 |
|
echo Cannot find sizeof struct contblock;exit 1 |
8663 |
fi |
fi |
8664 |
rm -fr conftest* |
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
8665 |
fi |
fi |
|
|
|
8666 |
else |
else |
8667 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
8668 |
echo Cannot find sizeof struct contblock;exit 1 |
echo Cannot find sizeof struct contblock;exit 1 |
8669 |
else |
else |
8670 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
8671 |
#line 4261 "configure" |
#line $LINENO "configure" |
8672 |
#include "confdefs.h" |
/* confdefs.h. */ |
8673 |
|
_ACEOF |
8674 |
|
cat confdefs.h >>conftest.$ac_ext |
8675 |
|
cat >>conftest.$ac_ext <<_ACEOF |
8676 |
|
/* end confdefs.h. */ |
8677 |
#include <stdio.h> |
#include <stdio.h> |
8678 |
#define EXTER |
#define EXTER |
8679 |
#include "$MP_INCLUDE" |
#include "$MP_INCLUDE" |
8680 |
#include "`pwd`/h/enum.h" |
#include "./h/enum.h" |
8681 |
#include "`pwd`/h/object.h" |
#include "./h/object.h" |
8682 |
int main(int argc,char **argv,char **envp) { |
int main(int argc,char **argv,char **envp) { |
8683 |
FILE *f=fopen("conftest1","w"); |
FILE *f=fopen("conftest1","w"); |
8684 |
fprintf(f,"%u",sizeof(struct contblock)); |
fprintf(f,"%u",sizeof(struct contblock)); |
8685 |
fclose(f); |
fclose(f); |
8686 |
return 0; |
return 0; |
8687 |
} |
} |
8688 |
EOF |
_ACEOF |
8689 |
if { (eval echo configure:4275: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
rm -f conftest$ac_exeext |
8690 |
then |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
8691 |
|
(eval $ac_link) 2>&5 |
8692 |
|
ac_status=$? |
8693 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8694 |
|
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
8695 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8696 |
|
(eval $ac_try) 2>&5 |
8697 |
|
ac_status=$? |
8698 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8699 |
|
(exit $ac_status); }; }; then |
8700 |
sizeof_contblock=`cat conftest1` |
sizeof_contblock=`cat conftest1` |
8701 |
else |
else |
8702 |
echo "configure: failed program was:" >&5 |
echo "$as_me: program exited with status $ac_status" >&5 |
8703 |
cat conftest.$ac_ext >&5 |
echo "$as_me: failed program was:" >&5 |
8704 |
rm -fr conftest* |
sed 's/^/| /' conftest.$ac_ext >&5 |
8705 |
echo Cannot find sizeof struct contblock;exit 1 |
|
8706 |
|
( exit $ac_status ) |
8707 |
|
echo Cannot find sizeof struct contblock;exit 1 |
8708 |
fi |
fi |
8709 |
rm -fr conftest* |
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
8710 |
fi |
fi |
|
|
|
8711 |
fi |
fi |
8712 |
echo "$ac_t""$sizeof_contblock" 1>&6 |
echo "$as_me:$LINENO: result: $sizeof_contblock" >&5 |
8713 |
cat >> confdefs.h <<EOF |
echo "${ECHO_T}$sizeof_contblock" >&6 |
8714 |
|
cat >>confdefs.h <<_ACEOF |
8715 |
#define SIZEOF_CONTBLOCK $sizeof_contblock |
#define SIZEOF_CONTBLOCK $sizeof_contblock |
8716 |
EOF |
_ACEOF |
8717 |
|
|
8718 |
|
|
8719 |
|
|
8720 |
echo $ac_n "checking DBEGIN""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking DBEGIN" >&5 |
8721 |
echo "configure:4296: checking DBEGIN" >&5 |
echo $ECHO_N "checking DBEGIN... $ECHO_C" >&6 |
8722 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
8723 |
dbegin=0 |
dbegin=0 |
8724 |
else |
else |
8725 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
8726 |
#line 4301 "configure" |
#line $LINENO "configure" |
8727 |
#include "confdefs.h" |
/* confdefs.h. */ |
8728 |
|
_ACEOF |
8729 |
|
cat confdefs.h >>conftest.$ac_ext |
8730 |
|
cat >>conftest.$ac_ext <<_ACEOF |
8731 |
|
/* end confdefs.h. */ |
8732 |
#include <stdio.h> |
#include <stdio.h> |
8733 |
#include <stdlib.h> |
#include <stdlib.h> |
8734 |
#ifdef NEED_NONRANDOM_SBRK |
#ifdef NEED_NONRANDOM_SBRK |
8749 |
if (!syscall(SYS_personality,PER_LINUX)) |
if (!syscall(SYS_personality,PER_LINUX)) |
8750 |
#endif |
#endif |
8751 |
execvp(argv[0],argv); |
execvp(argv[0],argv); |
8752 |
#endif |
#endif |
8753 |
b = (void *) malloc(1000); |
b = (void *) malloc(1000); |
8754 |
fp = fopen("conftest1","w"); |
fp = fopen("conftest1","w"); |
8755 |
|
|
8765 |
fclose(fp); |
fclose(fp); |
8766 |
return 0; |
return 0; |
8767 |
} |
} |
8768 |
EOF |
_ACEOF |
8769 |
if { (eval echo configure:4340: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
rm -f conftest$ac_exeext |
8770 |
then |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
8771 |
|
(eval $ac_link) 2>&5 |
8772 |
|
ac_status=$? |
8773 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8774 |
|
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
8775 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8776 |
|
(eval $ac_try) 2>&5 |
8777 |
|
ac_status=$? |
8778 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8779 |
|
(exit $ac_status); }; }; then |
8780 |
dbegin=`cat conftest1` |
dbegin=`cat conftest1` |
8781 |
else |
else |
8782 |
echo "configure: failed program was:" >&5 |
echo "$as_me: program exited with status $ac_status" >&5 |
8783 |
cat conftest.$ac_ext >&5 |
echo "$as_me: failed program was:" >&5 |
8784 |
rm -fr conftest* |
sed 's/^/| /' conftest.$ac_ext >&5 |
8785 |
dbegin=0 |
|
8786 |
|
( exit $ac_status ) |
8787 |
|
dbegin=0 |
8788 |
fi |
fi |
8789 |
rm -fr conftest* |
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
8790 |
fi |
fi |
|
|
|
8791 |
#AC_DEFINE_UNQUOTED(DBEGIN,$dbegin) |
#AC_DEFINE_UNQUOTED(DBEGIN,$dbegin) |
8792 |
echo "$ac_t""$dbegin" 1>&6 |
echo "$as_me:$LINENO: result: $dbegin" >&5 |
8793 |
|
echo "${ECHO_T}$dbegin" >&6 |
8794 |
|
|
8795 |
# pagewidth |
# pagewidth |
8796 |
echo $ac_n "checking for pagewidth""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for pagewidth" >&5 |
8797 |
echo "configure:4357: checking for pagewidth" >&5 |
echo $ECHO_N "checking for pagewidth... $ECHO_C" >&6 |
8798 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
8799 |
PAGEWIDTH=0 |
PAGEWIDTH=0 |
8800 |
else |
else |
8801 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
8802 |
#line 4362 "configure" |
#line $LINENO "configure" |
8803 |
#include "confdefs.h" |
/* confdefs.h. */ |
8804 |
|
_ACEOF |
8805 |
|
cat confdefs.h >>conftest.$ac_ext |
8806 |
|
cat >>conftest.$ac_ext <<_ACEOF |
8807 |
|
/* end confdefs.h. */ |
8808 |
#include <stdio.h> |
#include <stdio.h> |
8809 |
#include <unistd.h> |
#include <unistd.h> |
8810 |
int main() {size_t i=getpagesize(),j; |
int main() {size_t i=getpagesize(),j; |
8811 |
FILE *fp=fopen("conftest1","w"); |
FILE *fp=fopen("conftest1","w"); |
8812 |
for (j=0;i>>=1;j++); |
for (j=0;i>>=1;j++); |
8813 |
fprintf(fp,"%u",j); |
fprintf(fp,"%u",j); |
8814 |
return 0;} |
return 0;} |
8815 |
EOF |
_ACEOF |
8816 |
if { (eval echo configure:4372: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
rm -f conftest$ac_exeext |
8817 |
then |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
8818 |
|
(eval $ac_link) 2>&5 |
8819 |
|
ac_status=$? |
8820 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8821 |
|
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
8822 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8823 |
|
(eval $ac_try) 2>&5 |
8824 |
|
ac_status=$? |
8825 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8826 |
|
(exit $ac_status); }; }; then |
8827 |
PAGEWIDTH=`cat conftest1` |
PAGEWIDTH=`cat conftest1` |
8828 |
else |
else |
8829 |
echo "configure: failed program was:" >&5 |
echo "$as_me: program exited with status $ac_status" >&5 |
8830 |
cat conftest.$ac_ext >&5 |
echo "$as_me: failed program was:" >&5 |
8831 |
rm -fr conftest* |
sed 's/^/| /' conftest.$ac_ext >&5 |
8832 |
PAGEWIDTH=0 |
|
8833 |
fi |
( exit $ac_status ) |
8834 |
rm -fr conftest* |
PAGEWIDTH=0 |
8835 |
fi |
fi |
8836 |
|
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
8837 |
echo "$ac_t""$PAGEWIDTH" 1>&6 |
fi |
8838 |
cat >> confdefs.h <<EOF |
echo "$as_me:$LINENO: result: $PAGEWIDTH" >&5 |
8839 |
|
echo "${ECHO_T}$PAGEWIDTH" >&6 |
8840 |
|
cat >>confdefs.h <<_ACEOF |
8841 |
#define PAGEWIDTH $PAGEWIDTH |
#define PAGEWIDTH $PAGEWIDTH |
8842 |
EOF |
_ACEOF |
8843 |
|
|
8844 |
|
|
8845 |
|
|
8846 |
|
|
8847 |
echo $ac_n "checking CSTACK_ADDRESS""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking CSTACK_ADDRESS" >&5 |
8848 |
echo "configure:4393: checking CSTACK_ADDRESS" >&5 |
echo $ECHO_N "checking CSTACK_ADDRESS... $ECHO_C" >&6 |
8849 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
8850 |
cstack_address=0 |
cstack_address=0 |
8851 |
else |
else |
8852 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
8853 |
#line 4398 "configure" |
#line $LINENO "configure" |
8854 |
#include "confdefs.h" |
/* confdefs.h. */ |
8855 |
|
_ACEOF |
8856 |
|
cat confdefs.h >>conftest.$ac_ext |
8857 |
|
cat >>conftest.$ac_ext <<_ACEOF |
8858 |
|
/* end confdefs.h. */ |
8859 |
#include <stdio.h> |
#include <stdio.h> |
8860 |
main() |
main() |
8861 |
{ |
{ |
8874 |
fclose(fp); |
fclose(fp); |
8875 |
return 0; |
return 0; |
8876 |
} |
} |
8877 |
EOF |
_ACEOF |
8878 |
if { (eval echo configure:4419: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
rm -f conftest$ac_exeext |
8879 |
then |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
8880 |
|
(eval $ac_link) 2>&5 |
8881 |
|
ac_status=$? |
8882 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8883 |
|
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
8884 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8885 |
|
(eval $ac_try) 2>&5 |
8886 |
|
ac_status=$? |
8887 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8888 |
|
(exit $ac_status); }; }; then |
8889 |
cstack_address=`cat conftest1` |
cstack_address=`cat conftest1` |
8890 |
else |
else |
8891 |
echo "configure: failed program was:" >&5 |
echo "$as_me: program exited with status $ac_status" >&5 |
8892 |
cat conftest.$ac_ext >&5 |
echo "$as_me: failed program was:" >&5 |
8893 |
rm -fr conftest* |
sed 's/^/| /' conftest.$ac_ext >&5 |
8894 |
cstack_address=0 |
|
8895 |
|
( exit $ac_status ) |
8896 |
|
cstack_address=0 |
8897 |
fi |
fi |
8898 |
rm -fr conftest* |
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
8899 |
fi |
fi |
8900 |
|
cat >>confdefs.h <<_ACEOF |
|
cat >> confdefs.h <<EOF |
|
8901 |
#define CSTACK_ADDRESS $cstack_address |
#define CSTACK_ADDRESS $cstack_address |
8902 |
EOF |
_ACEOF |
8903 |
|
|
8904 |
echo "$ac_t""$cstack_address" 1>&6 |
echo "$as_me:$LINENO: result: $cstack_address" >&5 |
8905 |
|
echo "${ECHO_T}$cstack_address" >&6 |
8906 |
|
|
8907 |
echo $ac_n "checking NEG_CSTACK_ADDRESS""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking NEG_CSTACK_ADDRESS" >&5 |
8908 |
echo "configure:4438: checking NEG_CSTACK_ADDRESS" >&5 |
echo $ECHO_N "checking NEG_CSTACK_ADDRESS... $ECHO_C" >&6 |
8909 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
8910 |
echo "$ac_t""no" 1>&6 |
echo "$as_me:$LINENO: result: no" >&5 |
8911 |
|
echo "${ECHO_T}no" >&6 |
8912 |
else |
else |
8913 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
8914 |
#line 4443 "configure" |
#line $LINENO "configure" |
8915 |
#include "confdefs.h" |
/* confdefs.h. */ |
8916 |
|
_ACEOF |
8917 |
|
cat confdefs.h >>conftest.$ac_ext |
8918 |
|
cat >>conftest.$ac_ext <<_ACEOF |
8919 |
|
/* end confdefs.h. */ |
8920 |
#include <stdio.h> |
#include <stdio.h> |
8921 |
main() |
main() |
8922 |
{ |
{ |
8923 |
return (long)$cstack_address<0 ? 0 : -1; |
return (long)$cstack_address<0 ? 0 : -1; |
8924 |
} |
} |
8925 |
EOF |
_ACEOF |
8926 |
if { (eval echo configure:4451: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
rm -f conftest$ac_exeext |
8927 |
then |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
8928 |
echo "$ac_t""yes" 1>&6;cat >> confdefs.h <<\EOF |
(eval $ac_link) 2>&5 |
8929 |
|
ac_status=$? |
8930 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8931 |
|
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
8932 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8933 |
|
(eval $ac_try) 2>&5 |
8934 |
|
ac_status=$? |
8935 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8936 |
|
(exit $ac_status); }; }; then |
8937 |
|
echo "$as_me:$LINENO: result: yes" >&5 |
8938 |
|
echo "${ECHO_T}yes" >&6;cat >>confdefs.h <<\_ACEOF |
8939 |
#define NEG_CSTACK_ADDRESS 1 |
#define NEG_CSTACK_ADDRESS 1 |
8940 |
EOF |
_ACEOF |
8941 |
|
|
8942 |
else |
else |
8943 |
echo "configure: failed program was:" >&5 |
echo "$as_me: program exited with status $ac_status" >&5 |
8944 |
cat conftest.$ac_ext >&5 |
echo "$as_me: failed program was:" >&5 |
8945 |
rm -fr conftest* |
sed 's/^/| /' conftest.$ac_ext >&5 |
8946 |
echo "$ac_t""no" 1>&6 |
|
8947 |
|
( exit $ac_status ) |
8948 |
|
echo "$as_me:$LINENO: result: no" >&5 |
8949 |
|
echo "${ECHO_T}no" >&6 |
8950 |
fi |
fi |
8951 |
rm -fr conftest* |
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
8952 |
fi |
fi |
8953 |
|
|
8954 |
|
|
8955 |
|
echo "$as_me:$LINENO: checking \"finding CSTACK_ALIGNMENT\"" >&5 |
8956 |
echo $ac_n "checking "finding CSTACK_ALIGNMENT"""... $ac_c" 1>&6 |
echo $ECHO_N "checking \"finding CSTACK_ALIGNMENT\"... $ECHO_C" >&6 |
|
echo "configure:4469: checking "finding CSTACK_ALIGNMENT"" >&5 |
|
8957 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
8958 |
cstack_alignment=0 |
cstack_alignment=0 |
8959 |
else |
else |
8960 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
8961 |
#line 4474 "configure" |
#line $LINENO "configure" |
8962 |
#include "confdefs.h" |
/* confdefs.h. */ |
8963 |
|
_ACEOF |
8964 |
|
cat confdefs.h >>conftest.$ac_ext |
8965 |
|
cat >>conftest.$ac_ext <<_ACEOF |
8966 |
|
/* end confdefs.h. */ |
8967 |
#include <stdio.h> |
#include <stdio.h> |
8968 |
main() |
main() |
8969 |
{ |
{ |
8978 |
fclose(fp); |
fclose(fp); |
8979 |
return 0; |
return 0; |
8980 |
} |
} |
8981 |
EOF |
_ACEOF |
8982 |
if { (eval echo configure:4491: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
rm -f conftest$ac_exeext |
8983 |
then |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
8984 |
|
(eval $ac_link) 2>&5 |
8985 |
|
ac_status=$? |
8986 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8987 |
|
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
8988 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8989 |
|
(eval $ac_try) 2>&5 |
8990 |
|
ac_status=$? |
8991 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8992 |
|
(exit $ac_status); }; }; then |
8993 |
cstack_alignment=`cat conftest1` |
cstack_alignment=`cat conftest1` |
8994 |
else |
else |
8995 |
echo "configure: failed program was:" >&5 |
echo "$as_me: program exited with status $ac_status" >&5 |
8996 |
cat conftest.$ac_ext >&5 |
echo "$as_me: failed program was:" >&5 |
8997 |
rm -fr conftest* |
sed 's/^/| /' conftest.$ac_ext >&5 |
8998 |
cstack_alignment=0 |
|
8999 |
|
( exit $ac_status ) |
9000 |
|
cstack_alignment=0 |
9001 |
fi |
fi |
9002 |
rm -fr conftest* |
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
9003 |
fi |
fi |
9004 |
|
cat >>confdefs.h <<_ACEOF |
|
cat >> confdefs.h <<EOF |
|
9005 |
#define CSTACK_ALIGNMENT $cstack_alignment |
#define CSTACK_ALIGNMENT $cstack_alignment |
9006 |
EOF |
_ACEOF |
9007 |
|
|
9008 |
echo "$ac_t""$cstack_alignment" 1>&6 |
echo "$as_me:$LINENO: result: $cstack_alignment" >&5 |
9009 |
|
echo "${ECHO_T}$cstack_alignment" >&6 |
9010 |
|
|
9011 |
echo $ac_n "checking CSTACK_DIRECTION""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking CSTACK_DIRECTION" >&5 |
9012 |
echo "configure:4510: checking CSTACK_DIRECTION" >&5 |
echo $ECHO_N "checking CSTACK_DIRECTION... $ECHO_C" >&6 |
9013 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
9014 |
cstack_direction=0 |
cstack_direction=0 |
9015 |
else |
else |
9016 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
9017 |
#line 4515 "configure" |
#line $LINENO "configure" |
9018 |
#include "confdefs.h" |
/* confdefs.h. */ |
9019 |
|
_ACEOF |
9020 |
|
cat confdefs.h >>conftest.$ac_ext |
9021 |
|
cat >>conftest.$ac_ext <<_ACEOF |
9022 |
|
/* end confdefs.h. */ |
9023 |
#include <stdio.h> |
#include <stdio.h> |
9024 |
void * |
void * |
9025 |
foo(void) { |
foo(void) { |
9036 |
fclose(fp); |
fclose(fp); |
9037 |
return 0; |
return 0; |
9038 |
} |
} |
9039 |
EOF |
_ACEOF |
9040 |
if { (eval echo configure:4534: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
rm -f conftest$ac_exeext |
9041 |
then |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
9042 |
|
(eval $ac_link) 2>&5 |
9043 |
|
ac_status=$? |
9044 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9045 |
|
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
9046 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9047 |
|
(eval $ac_try) 2>&5 |
9048 |
|
ac_status=$? |
9049 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9050 |
|
(exit $ac_status); }; }; then |
9051 |
cstack_direction=`cat conftest1` |
cstack_direction=`cat conftest1` |
9052 |
else |
else |
9053 |
echo "configure: failed program was:" >&5 |
echo "$as_me: program exited with status $ac_status" >&5 |
9054 |
cat conftest.$ac_ext >&5 |
echo "$as_me: failed program was:" >&5 |
9055 |
rm -fr conftest* |
sed 's/^/| /' conftest.$ac_ext >&5 |
9056 |
cstack_direction=0 |
|
9057 |
|
( exit $ac_status ) |
9058 |
|
cstack_direction=0 |
9059 |
fi |
fi |
9060 |
rm -fr conftest* |
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
9061 |
fi |
fi |
9062 |
|
cat >>confdefs.h <<_ACEOF |
|
cat >> confdefs.h <<EOF |
|
9063 |
#define CSTACK_DIRECTION $cstack_direction |
#define CSTACK_DIRECTION $cstack_direction |
9064 |
EOF |
_ACEOF |
9065 |
|
|
9066 |
echo "$ac_t""$cstack_direction" 1>&6 |
echo "$as_me:$LINENO: result: $cstack_direction" >&5 |
9067 |
|
echo "${ECHO_T}$cstack_direction" >&6 |
9068 |
|
|
9069 |
|
|
9070 |
## Don't lower heap start if C stack is below default dbegin, as we're |
## Don't lower heap start if C stack is below default dbegin, as we're |
9071 |
# likely to get more heap this way. |
# likely to get more heap this way. |
9072 |
if awk 'END {exit (unsigned long)d<(unsigned long)c ? 0 : 1}' d=$dbegin c=$cstack_address /dev/null ; then |
if awk 'END {exit (unsigned long)d<(unsigned long)c ? 0 : 1}' d=$dbegin c=$cstack_address /dev/null ; then |
9073 |
|
|
9074 |
echo $ac_n "checking "finding default linker script"""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking \"finding default linker script\"" >&5 |
9075 |
echo "configure:4558: checking "finding default linker script"" >&5 |
echo $ECHO_N "checking \"finding default linker script\"... $ECHO_C" >&6 |
9076 |
touch unixport/gcl.script |
touch unixport/gcl.script |
9077 |
echo "int main() {return 0;}" >foo.c |
echo "int main() {return 0;}" >foo.c |
9078 |
$CC -Wl,--verbose foo.c -o foo 2>&1 | \ |
$CC -Wl,--verbose foo.c -o foo 2>&1 | \ |
9079 |
awk '/==================================================/ {i=1-i;next} {if (i) print}' >gcl.script |
awk '/==================================================/ {i=1-i;next} {if (i) print}' >gcl.script |
9080 |
rm -rf foo.c foo |
rm -rf foo.c foo |
9081 |
if test "`cat gcl.script | wc -l`" != "0" ; then |
if test "`cat gcl.script | wc -l`" != "0" ; then |
9082 |
echo "$ac_t""got it" 1>&6 |
echo "$as_me:$LINENO: result: got it" >&5 |
9083 |
echo $ac_n "checking "trying to lower heap start"""... $ac_c" 1>&6 |
echo "${ECHO_T}got it" >&6 |
9084 |
echo "configure:4567: checking "trying to lower heap start"" >&5 |
echo "$as_me:$LINENO: checking \"trying to lower heap start\"" >&5 |
9085 |
|
echo $ECHO_N "checking \"trying to lower heap start\"... $ECHO_C" >&6 |
9086 |
cp gcl.script gcl.script.def |
cp gcl.script gcl.script.def |
9087 |
cat gcl.script.def | awk '/SIZEOF_HEADERS/ {gsub("0x...","0x000",$0);} {print}' | sed 's,\. = 0x10000000;,/*. = 0x10000000;*/,1' >gcl.script |
cat gcl.script.def | awk '/SIZEOF_HEADERS/ {gsub("0x...","0x000",$0);} {print}' | sed 's,\. = 0x10000000;,/*. = 0x10000000;*/,1' >gcl.script |
9088 |
if diff gcl.script.def gcl.script >/dev/null 2>&1 ; then |
if diff gcl.script.def gcl.script >/dev/null 2>&1 ; then |
9089 |
echo "$ac_t"""cannot or not needed"" 1>&6 |
echo "$as_me:$LINENO: result: \"cannot or not needed\"" >&5 |
9090 |
|
echo "${ECHO_T}\"cannot or not needed\"" >&6 |
9091 |
rm -f gcl.script gcl.script.def |
rm -f gcl.script gcl.script.def |
9092 |
else |
else |
9093 |
echo $ac_n "checking "linker script"""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking \"linker script\"" >&5 |
9094 |
echo "configure:4575: checking "linker script"" >&5 |
echo $ECHO_N "checking \"linker script\"... $ECHO_C" >&6 |
9095 |
echo "int main() {return 0;}" >foo.c |
echo "int main() {return 0;}" >foo.c |
9096 |
if $CC -Wl,-T gcl.script foo.c -o foo >/dev/null 2>&1 && ./foo >/dev/null 2>&1 ; then |
if $CC -Wl,-T gcl.script foo.c -o foo >/dev/null 2>&1 && ./foo >/dev/null 2>&1 ; then |
9097 |
echo "$ac_t"""done"" 1>&6 |
echo "$as_me:$LINENO: result: \"done\"" >&5 |
9098 |
|
echo "${ECHO_T}\"done\"" >&6 |
9099 |
rm -f gcl.script.def |
rm -f gcl.script.def |
9100 |
LDFLAGS="$LDFLAGS -Wl,-T gcl.script " |
LDFLAGS="$LDFLAGS -Wl,-T gcl.script " |
9101 |
cp gcl.script unixport |
cp gcl.script unixport |
9102 |
else |
else |
9103 |
echo "$ac_t"""failed"" 1>&6 |
echo "$as_me:$LINENO: result: \"failed\"" >&5 |
9104 |
|
echo "${ECHO_T}\"failed\"" >&6 |
9105 |
rm -f gcl.script gcl.script.def |
rm -f gcl.script gcl.script.def |
9106 |
fi |
fi |
9107 |
rm -rf foo.c foo |
rm -rf foo.c foo |
9108 |
fi |
fi |
9109 |
else |
else |
9110 |
echo "$ac_t"""none"" 1>&6 |
echo "$as_me:$LINENO: result: \"none\"" >&5 |
9111 |
|
echo "${ECHO_T}\"none\"" >&6 |
9112 |
rm -f gcl.script |
rm -f gcl.script |
9113 |
fi |
fi |
9114 |
|
|
9115 |
old_LDFLAGS="$LDFLAGS" |
old_LDFLAGS="$LDFLAGS" |
9116 |
LDFLAGS="$LDFLAGS $TLDFLAGS" |
LDFLAGS="$LDFLAGS $TLDFLAGS" |
9117 |
echo $ac_n "checking "revised DBEGIN"""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking \"revised DBEGIN\"" >&5 |
9118 |
echo "configure:4596: checking "revised DBEGIN"" >&5 |
echo $ECHO_N "checking \"revised DBEGIN\"... $ECHO_C" >&6 |
9119 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
9120 |
dbegin=0 |
dbegin=0 |
9121 |
else |
else |
9122 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
9123 |
#line 4601 "configure" |
#line $LINENO "configure" |
9124 |
#include "confdefs.h" |
/* confdefs.h. */ |
9125 |
|
_ACEOF |
9126 |
|
cat confdefs.h >>conftest.$ac_ext |
9127 |
|
cat >>conftest.$ac_ext <<_ACEOF |
9128 |
|
/* end confdefs.h. */ |
9129 |
#include <stdio.h> |
#include <stdio.h> |
9130 |
#include <stdlib.h> |
#include <stdlib.h> |
9131 |
#ifdef NEED_NONRANDOM_SBRK |
#ifdef NEED_NONRANDOM_SBRK |
9146 |
if (!syscall(SYS_personality,PER_LINUX)) |
if (!syscall(SYS_personality,PER_LINUX)) |
9147 |
#endif |
#endif |
9148 |
execvp(argv[0],argv); |
execvp(argv[0],argv); |
9149 |
#endif |
#endif |
9150 |
b = (void *) malloc(1000); |
b = (void *) malloc(1000); |
9151 |
fp = fopen("conftest1","w"); |
fp = fopen("conftest1","w"); |
9152 |
|
|
9161 |
#endif |
#endif |
9162 |
fclose(fp); |
fclose(fp); |
9163 |
return 0;} |
return 0;} |
9164 |
EOF |
_ACEOF |
9165 |
if { (eval echo configure:4639: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
rm -f conftest$ac_exeext |
9166 |
then |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
9167 |
|
(eval $ac_link) 2>&5 |
9168 |
|
ac_status=$? |
9169 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9170 |
|
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
9171 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9172 |
|
(eval $ac_try) 2>&5 |
9173 |
|
ac_status=$? |
9174 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9175 |
|
(exit $ac_status); }; }; then |
9176 |
dbegin=`cat conftest1` |
dbegin=`cat conftest1` |
9177 |
else |
else |
9178 |
echo "configure: failed program was:" >&5 |
echo "$as_me: program exited with status $ac_status" >&5 |
9179 |
cat conftest.$ac_ext >&5 |
echo "$as_me: failed program was:" >&5 |
9180 |
rm -fr conftest* |
sed 's/^/| /' conftest.$ac_ext >&5 |
9181 |
dbegin=0 |
|
9182 |
|
( exit $ac_status ) |
9183 |
|
dbegin=0 |
9184 |
fi |
fi |
9185 |
rm -fr conftest* |
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
9186 |
fi |
fi |
9187 |
|
echo "$as_me:$LINENO: result: $dbegin" >&5 |
9188 |
echo "$ac_t""$dbegin" 1>&6 |
echo "${ECHO_T}$dbegin" >&6 |
9189 |
LDFLAGS="$old_LDFLAGS" |
LDFLAGS="$old_LDFLAGS" |
9190 |
fi |
fi |
9191 |
cat >> confdefs.h <<EOF |
cat >>confdefs.h <<_ACEOF |
9192 |
#define DBEGIN $dbegin |
#define DBEGIN $dbegin |
9193 |
EOF |
_ACEOF |
9194 |
|
|
9195 |
|
|
9196 |
echo $ac_n "checking for shared library/C stack ceiling to heap""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for shared library/C stack ceiling to heap" >&5 |
9197 |
echo "configure:4660: checking for shared library/C stack ceiling to heap" >&5 |
echo $ECHO_N "checking for shared library/C stack ceiling to heap... $ECHO_C" >&6 |
9198 |
|
if test "$use" = "mingw" ; then |
9199 |
|
heap_ceiling=2000000000 |
9200 |
|
else |
9201 |
echo "int main() {return 0;}" >foo.c |
echo "int main() {return 0;}" >foo.c |
9202 |
$CC foo.c -o foo |
$CC foo.c -o foo |
9203 |
heap_ceiling=`ldd foo | tail -n 1 | awk '{print $NF}' | tr -d '()'` |
heap_ceiling=`ldd foo | tail -n 1 | awk '{print $NF}' | tr -d '()'` |
9204 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
9205 |
echo failed;exit 1 |
echo failed;exit 1 |
9206 |
else |
else |
9207 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
9208 |
#line 4668 "configure" |
#line $LINENO "configure" |
9209 |
#include "confdefs.h" |
/* confdefs.h. */ |
9210 |
|
_ACEOF |
9211 |
|
cat confdefs.h >>conftest.$ac_ext |
9212 |
|
cat >>conftest.$ac_ext <<_ACEOF |
9213 |
|
/* end confdefs.h. */ |
9214 |
#include <stdio.h> |
#include <stdio.h> |
9215 |
int main() { |
int main() { |
9216 |
FILE *fp=fopen("conftest1","w"); |
FILE *fp=fopen("conftest1","w"); |
9219 |
h=c>d && c<h ? c : h; |
h=c>d && c<h ? c : h; |
9220 |
fprintf(fp,"0x%lx",h); |
fprintf(fp,"0x%lx",h); |
9221 |
return 0;} |
return 0;} |
9222 |
EOF |
_ACEOF |
9223 |
if { (eval echo configure:4679: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
rm -f conftest$ac_exeext |
9224 |
then |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
9225 |
|
(eval $ac_link) 2>&5 |
9226 |
|
ac_status=$? |
9227 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9228 |
|
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
9229 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9230 |
|
(eval $ac_try) 2>&5 |
9231 |
|
ac_status=$? |
9232 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9233 |
|
(exit $ac_status); }; }; then |
9234 |
heap_ceiling=`cat conftest1` |
heap_ceiling=`cat conftest1` |
9235 |
else |
else |
9236 |
echo "configure: failed program was:" >&5 |
echo "$as_me: program exited with status $ac_status" >&5 |
9237 |
cat conftest.$ac_ext >&5 |
echo "$as_me: failed program was:" >&5 |
9238 |
rm -fr conftest* |
sed 's/^/| /' conftest.$ac_ext >&5 |
9239 |
echo failed;exit 1 |
|
9240 |
|
( exit $ac_status ) |
9241 |
|
echo failed;exit 1 |
9242 |
fi |
fi |
9243 |
rm -fr conftest* |
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
9244 |
fi |
fi |
9245 |
|
fi |
9246 |
echo "$ac_t""$heap_ceiling" 1>&6 |
echo "$as_me:$LINENO: result: $heap_ceiling" >&5 |
9247 |
cat >> confdefs.h <<EOF |
echo "${ECHO_T}$heap_ceiling" >&6 |
9248 |
|
cat >>confdefs.h <<_ACEOF |
9249 |
#define SHARED_LIB_HEAP_CEILING $heap_ceiling |
#define SHARED_LIB_HEAP_CEILING $heap_ceiling |
9250 |
EOF |
_ACEOF |
9251 |
|
|
9252 |
|
|
9253 |
echo $ac_n "checking for maxpage revision""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for maxpage revision" >&5 |
9254 |
echo "configure:4698: checking for maxpage revision" >&5 |
echo $ECHO_N "checking for maxpage revision... $ECHO_C" >&6 |
9255 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
9256 |
tmp_maxpage=0 |
tmp_maxpage=0 |
9257 |
else |
else |
9258 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
9259 |
#line 4703 "configure" |
#line $LINENO "configure" |
9260 |
#include "confdefs.h" |
/* confdefs.h. */ |
9261 |
|
_ACEOF |
9262 |
|
cat confdefs.h >>conftest.$ac_ext |
9263 |
|
cat >>conftest.$ac_ext <<_ACEOF |
9264 |
|
/* end confdefs.h. */ |
9265 |
#include <stdio.h> |
#include <stdio.h> |
9266 |
main() |
main() |
9267 |
{ |
{ |
9277 |
fclose(fp); |
fclose(fp); |
9278 |
return 0; |
return 0; |
9279 |
} |
} |
9280 |
EOF |
_ACEOF |
9281 |
if { (eval echo configure:4721: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
rm -f conftest$ac_exeext |
9282 |
then |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
9283 |
|
(eval $ac_link) 2>&5 |
9284 |
|
ac_status=$? |
9285 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9286 |
|
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
9287 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9288 |
|
(eval $ac_try) 2>&5 |
9289 |
|
ac_status=$? |
9290 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9291 |
|
(exit $ac_status); }; }; then |
9292 |
tmp_maxpage=`cat conftest1` |
tmp_maxpage=`cat conftest1` |
9293 |
else |
else |
9294 |
echo "configure: failed program was:" >&5 |
echo "$as_me: program exited with status $ac_status" >&5 |
9295 |
cat conftest.$ac_ext >&5 |
echo "$as_me: failed program was:" >&5 |
9296 |
rm -fr conftest* |
sed 's/^/| /' conftest.$ac_ext >&5 |
9297 |
tmp_maxpage=0 |
|
9298 |
|
( exit $ac_status ) |
9299 |
|
tmp_maxpage=0 |
9300 |
fi |
fi |
9301 |
rm -fr conftest* |
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
9302 |
fi |
fi |
|
|
|
9303 |
if test "$tmp_maxpage" != "$enable_maxpage" ; then |
if test "$tmp_maxpage" != "$enable_maxpage" ; then |
9304 |
enable_maxpage=$tmp_maxpage |
enable_maxpage=$tmp_maxpage |
9305 |
echo "$ac_t""$enable_maxpage" 1>&6 |
echo "$as_me:$LINENO: result: $enable_maxpage" >&5 |
9306 |
|
echo "${ECHO_T}$enable_maxpage" >&6 |
9307 |
else |
else |
9308 |
echo "$ac_t""$enable_maxpage is OK" 1>&6 |
echo "$as_me:$LINENO: result: $enable_maxpage is OK" >&5 |
9309 |
|
echo "${ECHO_T}$enable_maxpage is OK" >&6 |
9310 |
fi |
fi |
9311 |
cat >> confdefs.h <<EOF |
cat >>confdefs.h <<_ACEOF |
9312 |
#define MAXPAGE $enable_maxpage |
#define MAXPAGE $enable_maxpage |
9313 |
EOF |
_ACEOF |
9314 |
|
|
9315 |
|
|
9316 |
echo $ac_n "checking for C stack size floor from heap""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for C stack size floor from heap" >&5 |
9317 |
echo "configure:4745: checking for C stack size floor from heap" >&5 |
echo $ECHO_N "checking for C stack size floor from heap... $ECHO_C" >&6 |
9318 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
9319 |
tmp_cssize=0 |
tmp_cssize=0 |
9320 |
else |
else |
9321 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
9322 |
#line 4750 "configure" |
#line $LINENO "configure" |
9323 |
#include "confdefs.h" |
/* confdefs.h. */ |
9324 |
|
_ACEOF |
9325 |
|
cat confdefs.h >>conftest.$ac_ext |
9326 |
|
cat >>conftest.$ac_ext <<_ACEOF |
9327 |
|
/* end confdefs.h. */ |
9328 |
#include <stdio.h> |
#include <stdio.h> |
9329 |
int |
int |
9330 |
main() |
main() |
9332 |
char *b; |
char *b; |
9333 |
FILE *fp = fopen("conftest1","w"); |
FILE *fp = fopen("conftest1","w"); |
9334 |
unsigned long j,k; |
unsigned long j,k; |
9335 |
|
|
9336 |
j=$cstack_address + $cstack_direction * $enable_cssize; |
j=$cstack_address + $cstack_direction * $enable_cssize; |
9337 |
k=($dbegin + ((unsigned long)$enable_maxpage << $PAGEWIDTH)); |
k=($dbegin + ((unsigned long)$enable_maxpage << $PAGEWIDTH)); |
9338 |
j=abs(j-$cstack_address)!=$enable_cssize || (j<k && $dbegin < $cstack_address) ? k : j; |
j=abs(j-$cstack_address)!=$enable_cssize || (j<k && $dbegin < $cstack_address) ? k : j; |
9342 |
fclose(fp); |
fclose(fp); |
9343 |
return 0; |
return 0; |
9344 |
} |
} |
9345 |
EOF |
_ACEOF |
9346 |
if { (eval echo configure:4770: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
rm -f conftest$ac_exeext |
9347 |
then |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
9348 |
|
(eval $ac_link) 2>&5 |
9349 |
|
ac_status=$? |
9350 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9351 |
|
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
9352 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9353 |
|
(eval $ac_try) 2>&5 |
9354 |
|
ac_status=$? |
9355 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9356 |
|
(exit $ac_status); }; }; then |
9357 |
tmp_cssize=`cat conftest1` |
tmp_cssize=`cat conftest1` |
9358 |
else |
else |
9359 |
echo "configure: failed program was:" >&5 |
echo "$as_me: program exited with status $ac_status" >&5 |
9360 |
cat conftest.$ac_ext >&5 |
echo "$as_me: failed program was:" >&5 |
9361 |
rm -fr conftest* |
sed 's/^/| /' conftest.$ac_ext >&5 |
9362 |
tmp_cssize=0 |
|
9363 |
|
( exit $ac_status ) |
9364 |
|
tmp_cssize=0 |
9365 |
fi |
fi |
9366 |
rm -fr conftest* |
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
9367 |
fi |
fi |
|
|
|
9368 |
if test "$tmp_cssize" != "$enable_cssize" ; then |
if test "$tmp_cssize" != "$enable_cssize" ; then |
9369 |
enable_cssize=$tmp_cssize; |
enable_cssize=$tmp_cssize; |
9370 |
echo "$ac_t""$enable_cssize" 1>&6 |
echo "$as_me:$LINENO: result: $enable_cssize" >&5 |
9371 |
|
echo "${ECHO_T}$enable_cssize" >&6 |
9372 |
# AC_DEFINE_UNQUOTED(CSSIZE,$enable_cssize) |
# AC_DEFINE_UNQUOTED(CSSIZE,$enable_cssize) |
9373 |
else |
else |
9374 |
echo "$ac_t""$enable_cssize is OK" 1>&6 |
echo "$as_me:$LINENO: result: $enable_cssize is OK" >&5 |
9375 |
|
echo "${ECHO_T}$enable_cssize is OK" >&6 |
9376 |
fi |
fi |
9377 |
#AC_DEFINE_UNQUOTED(CSSIZE,$enable_cssize) |
#AC_DEFINE_UNQUOTED(CSSIZE,$enable_cssize) |
9378 |
|
|
9379 |
echo $ac_n "checking for C stack size limit from fixnum table""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for C stack size limit from fixnum table" >&5 |
9380 |
echo "configure:4792: checking for C stack size limit from fixnum table" >&5 |
echo $ECHO_N "checking for C stack size limit from fixnum table... $ECHO_C" >&6 |
9381 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
9382 |
tmp_cssize=0 |
tmp_cssize=0 |
9383 |
else |
else |
9384 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
9385 |
#line 4797 "configure" |
#line $LINENO "configure" |
9386 |
#include "confdefs.h" |
/* confdefs.h. */ |
9387 |
|
_ACEOF |
9388 |
|
cat confdefs.h >>conftest.$ac_ext |
9389 |
|
cat >>conftest.$ac_ext <<_ACEOF |
9390 |
|
/* end confdefs.h. */ |
9391 |
#include <stdio.h> |
#include <stdio.h> |
9392 |
int |
int |
9393 |
main() |
main() |
9395 |
char *b; |
char *b; |
9396 |
FILE *fp = fopen("conftest1","w"); |
FILE *fp = fopen("conftest1","w"); |
9397 |
unsigned long j,k; |
unsigned long j,k; |
9398 |
|
|
9399 |
j=$cstack_address + $cstack_direction * $enable_cssize; |
j=$cstack_address + $cstack_direction * $enable_cssize; |
9400 |
if ($cstack_direction>0) { |
if ($cstack_direction>0) { |
9401 |
k=$cstack_address + ((-(unsigned long)$cstack_address)>>1); |
k=$cstack_address + ((-(unsigned long)$cstack_address)>>1); |
9408 |
fclose(fp); |
fclose(fp); |
9409 |
return 0; |
return 0; |
9410 |
} |
} |
9411 |
EOF |
_ACEOF |
9412 |
if { (eval echo configure:4820: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
rm -f conftest$ac_exeext |
9413 |
then |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
9414 |
|
(eval $ac_link) 2>&5 |
9415 |
|
ac_status=$? |
9416 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9417 |
|
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
9418 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9419 |
|
(eval $ac_try) 2>&5 |
9420 |
|
ac_status=$? |
9421 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9422 |
|
(exit $ac_status); }; }; then |
9423 |
tmp_cssize=`cat conftest1` |
tmp_cssize=`cat conftest1` |
9424 |
else |
else |
9425 |
echo "configure: failed program was:" >&5 |
echo "$as_me: program exited with status $ac_status" >&5 |
9426 |
cat conftest.$ac_ext >&5 |
echo "$as_me: failed program was:" >&5 |
9427 |
rm -fr conftest* |
sed 's/^/| /' conftest.$ac_ext >&5 |
9428 |
tmp_cssize=0 |
|
9429 |
|
( exit $ac_status ) |
9430 |
|
tmp_cssize=0 |
9431 |
fi |
fi |
9432 |
rm -fr conftest* |
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
9433 |
fi |
fi |
|
|
|
9434 |
if test "$tmp_cssize" != "$enable_cssize" ; then |
if test "$tmp_cssize" != "$enable_cssize" ; then |
9435 |
enable_cssize=$tmp_cssize; |
enable_cssize=$tmp_cssize; |
9436 |
echo "$ac_t""$enable_cssize" 1>&6 |
echo "$as_me:$LINENO: result: $enable_cssize" >&5 |
9437 |
|
echo "${ECHO_T}$enable_cssize" >&6 |
9438 |
else |
else |
9439 |
echo "$ac_t""$enable_cssize is OK" 1>&6 |
echo "$as_me:$LINENO: result: $enable_cssize is OK" >&5 |
9440 |
|
echo "${ECHO_T}$enable_cssize is OK" >&6 |
9441 |
fi |
fi |
9442 |
cat >> confdefs.h <<EOF |
cat >>confdefs.h <<_ACEOF |
9443 |
#define CSSIZE $enable_cssize |
#define CSSIZE $enable_cssize |
9444 |
EOF |
_ACEOF |
9445 |
|
|
9446 |
|
|
9447 |
mem_top=0 |
mem_top=0 |
9448 |
mem_range=0 |
mem_range=0 |
9449 |
echo $ac_n "checking mem top""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking mem top" >&5 |
9450 |
echo "configure:4846: checking mem top" >&5 |
echo $ECHO_N "checking mem top... $ECHO_C" >&6 |
9451 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
9452 |
mem_top=0 |
mem_top=0 |
9453 |
else |
else |
9454 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
9455 |
#line 4851 "configure" |
#line $LINENO "configure" |
9456 |
#include "confdefs.h" |
/* confdefs.h. */ |
9457 |
|
_ACEOF |
9458 |
|
cat confdefs.h >>conftest.$ac_ext |
9459 |
|
cat >>conftest.$ac_ext <<_ACEOF |
9460 |
|
/* end confdefs.h. */ |
9461 |
#include <stdio.h> |
#include <stdio.h> |
9462 |
int |
int |
9463 |
main() |
main() |
9480 |
fprintf(fp,"0x%lx",i); |
fprintf(fp,"0x%lx",i); |
9481 |
fclose(fp); |
fclose(fp); |
9482 |
return 0;} |
return 0;} |
9483 |
EOF |
_ACEOF |
9484 |
if { (eval echo configure:4876: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
rm -f conftest$ac_exeext |
9485 |
then |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
9486 |
|
(eval $ac_link) 2>&5 |
9487 |
|
ac_status=$? |
9488 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9489 |
|
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
9490 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9491 |
|
(eval $ac_try) 2>&5 |
9492 |
|
ac_status=$? |
9493 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9494 |
|
(exit $ac_status); }; }; then |
9495 |
mem_top=`cat conftest1` |
mem_top=`cat conftest1` |
9496 |
else |
else |
9497 |
echo "configure: failed program was:" >&5 |
echo "$as_me: program exited with status $ac_status" >&5 |
9498 |
cat conftest.$ac_ext >&5 |
echo "$as_me: failed program was:" >&5 |
9499 |
rm -fr conftest* |
sed 's/^/| /' conftest.$ac_ext >&5 |
9500 |
mem_top=0 |
|
9501 |
|
( exit $ac_status ) |
9502 |
|
mem_top=0 |
9503 |
fi |
fi |
9504 |
rm -fr conftest* |
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
9505 |
fi |
fi |
9506 |
|
echo "$as_me:$LINENO: result: $mem_top" >&5 |
9507 |
echo "$ac_t""$mem_top" 1>&6 |
echo "${ECHO_T}$mem_top" >&6 |
9508 |
if test "$mem_top" != "0" ; then |
if test "$mem_top" != "0" ; then |
9509 |
echo $ac_n "checking finding upper mem half range""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking finding upper mem half range" >&5 |
9510 |
echo "configure:4891: checking finding upper mem half range" >&5 |
echo $ECHO_N "checking finding upper mem half range... $ECHO_C" >&6 |
9511 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
9512 |
mem_range=0 |
mem_range=0 |
9513 |
else |
else |
9514 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
9515 |
#line 4896 "configure" |
#line $LINENO "configure" |
9516 |
#include "confdefs.h" |
/* confdefs.h. */ |
9517 |
|
_ACEOF |
9518 |
|
cat confdefs.h >>conftest.$ac_ext |
9519 |
|
cat >>conftest.$ac_ext <<_ACEOF |
9520 |
|
/* end confdefs.h. */ |
9521 |
#include <stdio.h> |
#include <stdio.h> |
9522 |
int |
int |
9523 |
main() |
main() |
9530 |
fclose(fp); |
fclose(fp); |
9531 |
return 0; |
return 0; |
9532 |
} |
} |
9533 |
EOF |
_ACEOF |
9534 |
if { (eval echo configure:4911: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
rm -f conftest$ac_exeext |
9535 |
then |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
9536 |
|
(eval $ac_link) 2>&5 |
9537 |
|
ac_status=$? |
9538 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9539 |
|
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
9540 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9541 |
|
(eval $ac_try) 2>&5 |
9542 |
|
ac_status=$? |
9543 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9544 |
|
(exit $ac_status); }; }; then |
9545 |
mem_range=`cat conftest1` |
mem_range=`cat conftest1` |
9546 |
else |
else |
9547 |
echo "configure: failed program was:" >&5 |
echo "$as_me: program exited with status $ac_status" >&5 |
9548 |
cat conftest.$ac_ext >&5 |
echo "$as_me: failed program was:" >&5 |
9549 |
rm -fr conftest* |
sed 's/^/| /' conftest.$ac_ext >&5 |
9550 |
mem_range=0 |
|
9551 |
|
( exit $ac_status ) |
9552 |
|
mem_range=0 |
9553 |
fi |
fi |
9554 |
rm -fr conftest* |
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
9555 |
fi |
fi |
9556 |
|
echo "$as_me:$LINENO: result: $mem_range" >&5 |
9557 |
echo "$ac_t""$mem_range" 1>&6 |
echo "${ECHO_T}$mem_range" >&6 |
9558 |
if test "$mem_range" != "0" ; then |
if test "$mem_range" != "0" ; then |
9559 |
cat >> confdefs.h <<EOF |
cat >>confdefs.h <<_ACEOF |
9560 |
#define MEM_TOP $mem_top |
#define MEM_TOP $mem_top |
9561 |
EOF |
_ACEOF |
9562 |
|
|
9563 |
cat >> confdefs.h <<EOF |
cat >>confdefs.h <<_ACEOF |
9564 |
#define MEM_RANGE $mem_range |
#define MEM_RANGE $mem_range |
9565 |
EOF |
_ACEOF |
9566 |
|
|
9567 |
fi |
fi |
9568 |
fi |
fi |
9569 |
|
|
9570 |
if test "$enable_immfix" = "yes" ; then |
if test "$enable_immfix" = "yes" ; then |
9571 |
if test "$mem_top" != "0" ; then |
if test "$mem_top" != "0" ; then |
9572 |
if test "$mem_range" != "0" ; then |
if test "$mem_range" != "0" ; then |
9573 |
cat >> confdefs.h <<EOF |
cat >>confdefs.h <<_ACEOF |
9574 |
#define IM_FIX_BASE $mem_top |
#define IM_FIX_BASE $mem_top |
9575 |
EOF |
_ACEOF |
9576 |
|
|
9577 |
cat >> confdefs.h <<EOF |
cat >>confdefs.h <<_ACEOF |
9578 |
#define IM_FIX_LIM $mem_range |
#define IM_FIX_LIM $mem_range |
9579 |
EOF |
_ACEOF |
9580 |
|
|
9581 |
fi |
fi |
9582 |
fi |
fi |
9583 |
fi |
fi |
9584 |
|
|
9585 |
|
|
9586 |
echo $ac_n "checking "sizeof long long int"""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking \"sizeof long long int\"" >&5 |
9587 |
echo "configure:4953: checking "sizeof long long int"" >&5 |
echo $ECHO_N "checking \"sizeof long long int\"... $ECHO_C" >&6 |
9588 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
9589 |
echo "$ac_t""no" 1>&6 |
echo "$as_me:$LINENO: result: no" >&5 |
9590 |
|
echo "${ECHO_T}no" >&6 |
9591 |
|
|
9592 |
else |
else |
9593 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
9594 |
#line 4959 "configure" |
#line $LINENO "configure" |
9595 |
#include "confdefs.h" |
/* confdefs.h. */ |
9596 |
|
_ACEOF |
9597 |
|
cat confdefs.h >>conftest.$ac_ext |
9598 |
|
cat >>conftest.$ac_ext <<_ACEOF |
9599 |
|
/* end confdefs.h. */ |
9600 |
#include <stdio.h> |
#include <stdio.h> |
9601 |
main() |
main() |
9602 |
{ |
{ |
9604 |
return 1; |
return 1; |
9605 |
} |
} |
9606 |
|
|
9607 |
EOF |
_ACEOF |
9608 |
if { (eval echo configure:4969: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
rm -f conftest$ac_exeext |
9609 |
then |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
9610 |
cat >> confdefs.h <<\EOF |
(eval $ac_link) 2>&5 |
9611 |
|
ac_status=$? |
9612 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9613 |
|
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
9614 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9615 |
|
(eval $ac_try) 2>&5 |
9616 |
|
ac_status=$? |
9617 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9618 |
|
(exit $ac_status); }; }; then |
9619 |
|
cat >>confdefs.h <<\_ACEOF |
9620 |
#define HAVE_LONG_LONG 1 |
#define HAVE_LONG_LONG 1 |
9621 |
EOF |
_ACEOF |
9622 |
|
|
9623 |
echo "$ac_t""yes" 1>&6 |
echo "$as_me:$LINENO: result: yes" >&5 |
9624 |
|
echo "${ECHO_T}yes" >&6 |
9625 |
else |
else |
9626 |
echo "configure: failed program was:" >&5 |
echo "$as_me: program exited with status $ac_status" >&5 |
9627 |
cat conftest.$ac_ext >&5 |
echo "$as_me: failed program was:" >&5 |
9628 |
rm -fr conftest* |
sed 's/^/| /' conftest.$ac_ext >&5 |
9629 |
echo "$ac_t""no" 1>&6 |
|
9630 |
|
( exit $ac_status ) |
9631 |
|
echo "$as_me:$LINENO: result: no" >&5 |
9632 |
|
echo "${ECHO_T}no" >&6 |
9633 |
fi |
fi |
9634 |
rm -fr conftest* |
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
9635 |
fi |
fi |
9636 |
|
|
9637 |
|
|
9638 |
|
|
|
|
|
9639 |
# readline |
# readline |
9640 |
# Check whether --enable-readline or --disable-readline was given. |
# Check whether --enable-readline or --disable-readline was given. |
9641 |
if test "${enable_readline+set}" = set; then |
if test "${enable_readline+set}" = set; then |
9642 |
enableval="$enable_readline" |
enableval="$enable_readline" |
9643 |
: |
|
9644 |
else |
else |
9645 |
enable_readline="yes" |
enable_readline="yes" |
9646 |
fi |
fi; |
|
|
|
9647 |
|
|
9648 |
# ansi lisp |
# ansi lisp |
9649 |
# Check whether --enable-ansi or --disable-ansi was given. |
# Check whether --enable-ansi or --disable-ansi was given. |
9650 |
if test "${enable_ansi+set}" = set; then |
if test "${enable_ansi+set}" = set; then |
9651 |
enableval="$enable_ansi" |
enableval="$enable_ansi" |
9652 |
: |
|
9653 |
else |
else |
9654 |
enable_ansi="no" |
enable_ansi="no" |
9655 |
fi |
fi; |
|
|
|
9656 |
|
|
9657 |
if test "$enable_ansi" = "yes" ; then |
if test "$enable_ansi" = "yes" ; then |
9658 |
SYSTEM=ansi_gcl |
SYSTEM=ansi_gcl |
9659 |
cat >> confdefs.h <<\EOF |
cat >>confdefs.h <<\_ACEOF |
9660 |
#define ANSI_COMMON_LISP 1 |
#define ANSI_COMMON_LISP 1 |
9661 |
EOF |
_ACEOF |
9662 |
|
|
9663 |
CLSTANDARD=ANSI |
CLSTANDARD=ANSI |
9664 |
else |
else |
9672 |
|
|
9673 |
|
|
9674 |
# Check if Posix compliant getcwd exists, if not we'll use getwd. |
# Check if Posix compliant getcwd exists, if not we'll use getwd. |
9675 |
|
|
9676 |
for ac_func in getcwd |
for ac_func in getcwd |
9677 |
do |
do |
9678 |
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
9679 |
echo "configure:5029: checking for $ac_func" >&5 |
echo "$as_me:$LINENO: checking for $ac_func" >&5 |
9680 |
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
9681 |
echo $ac_n "(cached) $ac_c" 1>&6 |
if eval "test \"\${$as_ac_var+set}\" = set"; then |
9682 |
else |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
9683 |
cat > conftest.$ac_ext <<EOF |
else |
9684 |
#line 5034 "configure" |
cat >conftest.$ac_ext <<_ACEOF |
9685 |
#include "confdefs.h" |
#line $LINENO "configure" |
9686 |
|
/* confdefs.h. */ |
9687 |
|
_ACEOF |
9688 |
|
cat confdefs.h >>conftest.$ac_ext |
9689 |
|
cat >>conftest.$ac_ext <<_ACEOF |
9690 |
|
/* end confdefs.h. */ |
9691 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
9692 |
which can conflict with char $ac_func(); below. */ |
which can conflict with char $ac_func (); below. */ |
9693 |
#include <assert.h> |
#include <assert.h> |
9694 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
9695 |
|
#ifdef __cplusplus |
9696 |
|
extern "C" |
9697 |
|
{ |
9698 |
|
#endif |
9699 |
/* We use char because int might match the return type of a gcc2 |
/* We use char because int might match the return type of a gcc2 |
9700 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
9701 |
char $ac_func(); |
char $ac_func (); |
|
|
|
|
int main() { |
|
|
|
|
9702 |
/* The GNU C library defines this for functions which it implements |
/* The GNU C library defines this for functions which it implements |
9703 |
to always fail with ENOSYS. Some functions are actually named |
to always fail with ENOSYS. Some functions are actually named |
9704 |
something starting with __ and the normal name is an alias. */ |
something starting with __ and the normal name is an alias. */ |
9705 |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
9706 |
choke me |
choke me |
9707 |
#else |
#else |
9708 |
$ac_func(); |
char (*f) () = $ac_func; |
9709 |
|
#endif |
9710 |
|
#ifdef __cplusplus |
9711 |
|
} |
9712 |
#endif |
#endif |
9713 |
|
|
9714 |
; return 0; } |
int |
9715 |
EOF |
main () |
9716 |
if { (eval echo configure:5057: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
{ |
9717 |
rm -rf conftest* |
|
9718 |
eval "ac_cv_func_$ac_func=yes" |
; |
9719 |
else |
return 0; |
9720 |
echo "configure: failed program was:" >&5 |
} |
9721 |
cat conftest.$ac_ext >&5 |
_ACEOF |
9722 |
rm -rf conftest* |
rm -f conftest.$ac_objext conftest$ac_exeext |
9723 |
eval "ac_cv_func_$ac_func=no" |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
9724 |
fi |
(eval $ac_link) 2>&5 |
9725 |
rm -f conftest* |
ac_status=$? |
9726 |
fi |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9727 |
|
(exit $ac_status); } && |
9728 |
|
{ ac_try='test -s conftest$ac_exeext' |
9729 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9730 |
|
(eval $ac_try) 2>&5 |
9731 |
|
ac_status=$? |
9732 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9733 |
|
(exit $ac_status); }; }; then |
9734 |
|
eval "$as_ac_var=yes" |
9735 |
|
else |
9736 |
|
echo "$as_me: failed program was:" >&5 |
9737 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
9738 |
|
|
9739 |
|
eval "$as_ac_var=no" |
9740 |
|
fi |
9741 |
|
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
9742 |
|
fi |
9743 |
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
9744 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
9745 |
|
if test `eval echo '${'$as_ac_var'}'` = yes; then |
9746 |
|
cat >>confdefs.h <<_ACEOF |
9747 |
|
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
9748 |
|
_ACEOF |
9749 |
|
|
|
if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then |
|
|
echo "$ac_t""yes" 1>&6 |
|
|
ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` |
|
|
cat >> confdefs.h <<EOF |
|
|
#define $ac_tr_func 1 |
|
|
EOF |
|
|
|
|
|
else |
|
|
echo "$ac_t""no" 1>&6 |
|
9750 |
fi |
fi |
9751 |
done |
done |
9752 |
|
|
9753 |
|
|
9754 |
for ac_func in getwd |
for ac_func in getwd |
9755 |
do |
do |
9756 |
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
9757 |
echo "configure:5084: checking for $ac_func" >&5 |
echo "$as_me:$LINENO: checking for $ac_func" >&5 |
9758 |
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
9759 |
echo $ac_n "(cached) $ac_c" 1>&6 |
if eval "test \"\${$as_ac_var+set}\" = set"; then |
9760 |
else |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
9761 |
cat > conftest.$ac_ext <<EOF |
else |
9762 |
#line 5089 "configure" |
cat >conftest.$ac_ext <<_ACEOF |
9763 |
#include "confdefs.h" |
#line $LINENO "configure" |
9764 |
|
/* confdefs.h. */ |
9765 |
|
_ACEOF |
9766 |
|
cat confdefs.h >>conftest.$ac_ext |
9767 |
|
cat >>conftest.$ac_ext <<_ACEOF |
9768 |
|
/* end confdefs.h. */ |
9769 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
9770 |
which can conflict with char $ac_func(); below. */ |
which can conflict with char $ac_func (); below. */ |
9771 |
#include <assert.h> |
#include <assert.h> |
9772 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
9773 |
|
#ifdef __cplusplus |
9774 |
|
extern "C" |
9775 |
|
{ |
9776 |
|
#endif |
9777 |
/* We use char because int might match the return type of a gcc2 |
/* We use char because int might match the return type of a gcc2 |
9778 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
9779 |
char $ac_func(); |
char $ac_func (); |
|
|
|
|
int main() { |
|
|
|
|
9780 |
/* The GNU C library defines this for functions which it implements |
/* The GNU C library defines this for functions which it implements |
9781 |
to always fail with ENOSYS. Some functions are actually named |
to always fail with ENOSYS. Some functions are actually named |
9782 |
something starting with __ and the normal name is an alias. */ |
something starting with __ and the normal name is an alias. */ |
9783 |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
9784 |
choke me |
choke me |
9785 |
#else |
#else |
9786 |
$ac_func(); |
char (*f) () = $ac_func; |
9787 |
|
#endif |
9788 |
|
#ifdef __cplusplus |
9789 |
|
} |
9790 |
#endif |
#endif |
9791 |
|
|
9792 |
; return 0; } |
int |
9793 |
EOF |
main () |
9794 |
if { (eval echo configure:5112: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
{ |
9795 |
rm -rf conftest* |
|
9796 |
eval "ac_cv_func_$ac_func=yes" |
; |
9797 |
else |
return 0; |
9798 |
echo "configure: failed program was:" >&5 |
} |
9799 |
cat conftest.$ac_ext >&5 |
_ACEOF |
9800 |
rm -rf conftest* |
rm -f conftest.$ac_objext conftest$ac_exeext |
9801 |
eval "ac_cv_func_$ac_func=no" |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
9802 |
fi |
(eval $ac_link) 2>&5 |
9803 |
rm -f conftest* |
ac_status=$? |
9804 |
fi |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9805 |
|
(exit $ac_status); } && |
9806 |
|
{ ac_try='test -s conftest$ac_exeext' |
9807 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9808 |
|
(eval $ac_try) 2>&5 |
9809 |
|
ac_status=$? |
9810 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9811 |
|
(exit $ac_status); }; }; then |
9812 |
|
eval "$as_ac_var=yes" |
9813 |
|
else |
9814 |
|
echo "$as_me: failed program was:" >&5 |
9815 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
9816 |
|
|
9817 |
|
eval "$as_ac_var=no" |
9818 |
|
fi |
9819 |
|
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
9820 |
|
fi |
9821 |
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
9822 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
9823 |
|
if test `eval echo '${'$as_ac_var'}'` = yes; then |
9824 |
|
cat >>confdefs.h <<_ACEOF |
9825 |
|
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
9826 |
|
_ACEOF |
9827 |
|
|
|
if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then |
|
|
echo "$ac_t""yes" 1>&6 |
|
|
ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` |
|
|
cat >> confdefs.h <<EOF |
|
|
#define $ac_tr_func 1 |
|
|
EOF |
|
|
|
|
|
else |
|
|
echo "$ac_t""no" 1>&6 |
|
9828 |
fi |
fi |
9829 |
done |
done |
9830 |
|
|
9831 |
echo $ac_n "checking for uname""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for uname" >&5 |
9832 |
echo "configure:5137: checking for uname" >&5 |
echo $ECHO_N "checking for uname... $ECHO_C" >&6 |
9833 |
if eval "test \"`echo '$''{'ac_cv_func_uname'+set}'`\" = set"; then |
if test "${ac_cv_func_uname+set}" = set; then |
9834 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
9835 |
else |
else |
9836 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
9837 |
#line 5142 "configure" |
#line $LINENO "configure" |
9838 |
#include "confdefs.h" |
/* confdefs.h. */ |
9839 |
|
_ACEOF |
9840 |
|
cat confdefs.h >>conftest.$ac_ext |
9841 |
|
cat >>conftest.$ac_ext <<_ACEOF |
9842 |
|
/* end confdefs.h. */ |
9843 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
9844 |
which can conflict with char uname(); below. */ |
which can conflict with char uname (); below. */ |
9845 |
#include <assert.h> |
#include <assert.h> |
9846 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
9847 |
|
#ifdef __cplusplus |
9848 |
|
extern "C" |
9849 |
|
{ |
9850 |
|
#endif |
9851 |
/* We use char because int might match the return type of a gcc2 |
/* We use char because int might match the return type of a gcc2 |
9852 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
9853 |
char uname(); |
char uname (); |
|
|
|
|
int main() { |
|
|
|
|
9854 |
/* The GNU C library defines this for functions which it implements |
/* The GNU C library defines this for functions which it implements |
9855 |
to always fail with ENOSYS. Some functions are actually named |
to always fail with ENOSYS. Some functions are actually named |
9856 |
something starting with __ and the normal name is an alias. */ |
something starting with __ and the normal name is an alias. */ |
9857 |
#if defined (__stub_uname) || defined (__stub___uname) |
#if defined (__stub_uname) || defined (__stub___uname) |
9858 |
choke me |
choke me |
9859 |
#else |
#else |
9860 |
uname(); |
char (*f) () = uname; |
9861 |
|
#endif |
9862 |
|
#ifdef __cplusplus |
9863 |
|
} |
9864 |
#endif |
#endif |
9865 |
|
|
9866 |
; return 0; } |
int |
9867 |
EOF |
main () |
9868 |
if { (eval echo configure:5165: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
{ |
|
rm -rf conftest* |
|
|
eval "ac_cv_func_uname=yes" |
|
|
else |
|
|
echo "configure: failed program was:" >&5 |
|
|
cat conftest.$ac_ext >&5 |
|
|
rm -rf conftest* |
|
|
eval "ac_cv_func_uname=no" |
|
|
fi |
|
|
rm -f conftest* |
|
|
fi |
|
9869 |
|
|
9870 |
if eval "test \"`echo '$ac_cv_func_'uname`\" = yes"; then |
; |
9871 |
echo "$ac_t""yes" 1>&6 |
return 0; |
9872 |
|
} |
9873 |
|
_ACEOF |
9874 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
9875 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
9876 |
|
(eval $ac_link) 2>&5 |
9877 |
|
ac_status=$? |
9878 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9879 |
|
(exit $ac_status); } && |
9880 |
|
{ ac_try='test -s conftest$ac_exeext' |
9881 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9882 |
|
(eval $ac_try) 2>&5 |
9883 |
|
ac_status=$? |
9884 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9885 |
|
(exit $ac_status); }; }; then |
9886 |
|
ac_cv_func_uname=yes |
9887 |
|
else |
9888 |
|
echo "$as_me: failed program was:" >&5 |
9889 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
9890 |
|
|
9891 |
|
ac_cv_func_uname=no |
9892 |
|
fi |
9893 |
|
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
9894 |
|
fi |
9895 |
|
echo "$as_me:$LINENO: result: $ac_cv_func_uname" >&5 |
9896 |
|
echo "${ECHO_T}$ac_cv_func_uname" >&6 |
9897 |
|
if test $ac_cv_func_uname = yes; then |
9898 |
: |
: |
9899 |
else |
else |
9900 |
echo "$ac_t""no" 1>&6 |
cat >>confdefs.h <<\_ACEOF |
|
cat >> confdefs.h <<\EOF |
|
9901 |
#define NO_UNAME 1 |
#define NO_UNAME 1 |
9902 |
EOF |
_ACEOF |
9903 |
|
|
9904 |
fi |
fi |
9905 |
|
|
9906 |
echo $ac_n "checking for gettimeofday""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for gettimeofday" >&5 |
9907 |
echo "configure:5189: checking for gettimeofday" >&5 |
echo $ECHO_N "checking for gettimeofday... $ECHO_C" >&6 |
9908 |
if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+set}'`\" = set"; then |
if test "${ac_cv_func_gettimeofday+set}" = set; then |
9909 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
9910 |
else |
else |
9911 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
9912 |
#line 5194 "configure" |
#line $LINENO "configure" |
9913 |
#include "confdefs.h" |
/* confdefs.h. */ |
9914 |
|
_ACEOF |
9915 |
|
cat confdefs.h >>conftest.$ac_ext |
9916 |
|
cat >>conftest.$ac_ext <<_ACEOF |
9917 |
|
/* end confdefs.h. */ |
9918 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
9919 |
which can conflict with char gettimeofday(); below. */ |
which can conflict with char gettimeofday (); below. */ |
9920 |
#include <assert.h> |
#include <assert.h> |
9921 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
9922 |
|
#ifdef __cplusplus |
9923 |
|
extern "C" |
9924 |
|
{ |
9925 |
|
#endif |
9926 |
/* We use char because int might match the return type of a gcc2 |
/* We use char because int might match the return type of a gcc2 |
9927 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
9928 |
char gettimeofday(); |
char gettimeofday (); |
|
|
|
|
int main() { |
|
|
|
|
9929 |
/* The GNU C library defines this for functions which it implements |
/* The GNU C library defines this for functions which it implements |
9930 |
to always fail with ENOSYS. Some functions are actually named |
to always fail with ENOSYS. Some functions are actually named |
9931 |
something starting with __ and the normal name is an alias. */ |
something starting with __ and the normal name is an alias. */ |
9932 |
#if defined (__stub_gettimeofday) || defined (__stub___gettimeofday) |
#if defined (__stub_gettimeofday) || defined (__stub___gettimeofday) |
9933 |
choke me |
choke me |
9934 |
#else |
#else |
9935 |
gettimeofday(); |
char (*f) () = gettimeofday; |
9936 |
|
#endif |
9937 |
|
#ifdef __cplusplus |
9938 |
|
} |
9939 |
#endif |
#endif |
9940 |
|
|
9941 |
; return 0; } |
int |
9942 |
EOF |
main () |
9943 |
if { (eval echo configure:5217: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
{ |
|
rm -rf conftest* |
|
|
eval "ac_cv_func_gettimeofday=yes" |
|
|
else |
|
|
echo "configure: failed program was:" >&5 |
|
|
cat conftest.$ac_ext >&5 |
|
|
rm -rf conftest* |
|
|
eval "ac_cv_func_gettimeofday=no" |
|
|
fi |
|
|
rm -f conftest* |
|
|
fi |
|
9944 |
|
|
9945 |
if eval "test \"`echo '$ac_cv_func_'gettimeofday`\" = yes"; then |
; |
9946 |
echo "$ac_t""yes" 1>&6 |
return 0; |
9947 |
|
} |
9948 |
|
_ACEOF |
9949 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
9950 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
9951 |
|
(eval $ac_link) 2>&5 |
9952 |
|
ac_status=$? |
9953 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9954 |
|
(exit $ac_status); } && |
9955 |
|
{ ac_try='test -s conftest$ac_exeext' |
9956 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9957 |
|
(eval $ac_try) 2>&5 |
9958 |
|
ac_status=$? |
9959 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9960 |
|
(exit $ac_status); }; }; then |
9961 |
|
ac_cv_func_gettimeofday=yes |
9962 |
|
else |
9963 |
|
echo "$as_me: failed program was:" >&5 |
9964 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
9965 |
|
|
9966 |
|
ac_cv_func_gettimeofday=no |
9967 |
|
fi |
9968 |
|
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
9969 |
|
fi |
9970 |
|
echo "$as_me:$LINENO: result: $ac_cv_func_gettimeofday" >&5 |
9971 |
|
echo "${ECHO_T}$ac_cv_func_gettimeofday" >&6 |
9972 |
|
if test $ac_cv_func_gettimeofday = yes; then |
9973 |
: |
: |
9974 |
else |
else |
9975 |
echo "$ac_t""no" 1>&6 |
cat >>confdefs.h <<\_ACEOF |
|
cat >> confdefs.h <<\EOF |
|
9976 |
#define NO_GETTOD 1 |
#define NO_GETTOD 1 |
9977 |
EOF |
_ACEOF |
9978 |
|
|
9979 |
fi |
fi |
9980 |
|
|
9981 |
|
|
9982 |
|
|
9983 |
for ac_hdr in sys/ioctl.h |
|
9984 |
|
for ac_header in sys/ioctl.h |
9985 |
do |
do |
9986 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
9987 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
9988 |
echo "configure:5246: checking for $ac_hdr" >&5 |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
9989 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
9990 |
echo $ac_n "(cached) $ac_c" 1>&6 |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
9991 |
else |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
9992 |
cat > conftest.$ac_ext <<EOF |
fi |
9993 |
#line 5251 "configure" |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
9994 |
#include "confdefs.h" |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
9995 |
#include <$ac_hdr> |
else |
9996 |
EOF |
# Is the header compilable? |
9997 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
9998 |
{ (eval echo configure:5256: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
9999 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
cat >conftest.$ac_ext <<_ACEOF |
10000 |
if test -z "$ac_err"; then |
#line $LINENO "configure" |
10001 |
rm -rf conftest* |
/* confdefs.h. */ |
10002 |
eval "ac_cv_header_$ac_safe=yes" |
_ACEOF |
10003 |
else |
cat confdefs.h >>conftest.$ac_ext |
10004 |
echo "$ac_err" >&5 |
cat >>conftest.$ac_ext <<_ACEOF |
10005 |
echo "configure: failed program was:" >&5 |
/* end confdefs.h. */ |
10006 |
cat conftest.$ac_ext >&5 |
$ac_includes_default |
10007 |
rm -rf conftest* |
#include <$ac_header> |
10008 |
eval "ac_cv_header_$ac_safe=no" |
_ACEOF |
10009 |
fi |
rm -f conftest.$ac_objext |
10010 |
rm -f conftest* |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
10011 |
|
(eval $ac_compile) 2>&5 |
10012 |
|
ac_status=$? |
10013 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10014 |
|
(exit $ac_status); } && |
10015 |
|
{ ac_try='test -s conftest.$ac_objext' |
10016 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10017 |
|
(eval $ac_try) 2>&5 |
10018 |
|
ac_status=$? |
10019 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10020 |
|
(exit $ac_status); }; }; then |
10021 |
|
ac_header_compiler=yes |
10022 |
|
else |
10023 |
|
echo "$as_me: failed program was:" >&5 |
10024 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
10025 |
|
|
10026 |
|
ac_header_compiler=no |
10027 |
|
fi |
10028 |
|
rm -f conftest.$ac_objext conftest.$ac_ext |
10029 |
|
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
10030 |
|
echo "${ECHO_T}$ac_header_compiler" >&6 |
10031 |
|
|
10032 |
|
# Is the header present? |
10033 |
|
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
10034 |
|
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
10035 |
|
cat >conftest.$ac_ext <<_ACEOF |
10036 |
|
#line $LINENO "configure" |
10037 |
|
/* confdefs.h. */ |
10038 |
|
_ACEOF |
10039 |
|
cat confdefs.h >>conftest.$ac_ext |
10040 |
|
cat >>conftest.$ac_ext <<_ACEOF |
10041 |
|
/* end confdefs.h. */ |
10042 |
|
#include <$ac_header> |
10043 |
|
_ACEOF |
10044 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
10045 |
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
10046 |
|
ac_status=$? |
10047 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
10048 |
|
rm -f conftest.er1 |
10049 |
|
cat conftest.err >&5 |
10050 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10051 |
|
(exit $ac_status); } >/dev/null; then |
10052 |
|
if test -s conftest.err; then |
10053 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
10054 |
|
else |
10055 |
|
ac_cpp_err= |
10056 |
|
fi |
10057 |
|
else |
10058 |
|
ac_cpp_err=yes |
10059 |
fi |
fi |
10060 |
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
if test -z "$ac_cpp_err"; then |
10061 |
echo "$ac_t""yes" 1>&6 |
ac_header_preproc=yes |
|
ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` |
|
|
cat >> confdefs.h <<EOF |
|
|
#define $ac_tr_hdr 1 |
|
|
EOF |
|
|
|
|
10062 |
else |
else |
10063 |
echo "$ac_t""no" 1>&6 |
echo "$as_me: failed program was:" >&5 |
10064 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
10065 |
|
|
10066 |
|
ac_header_preproc=no |
10067 |
|
fi |
10068 |
|
rm -f conftest.err conftest.$ac_ext |
10069 |
|
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
10070 |
|
echo "${ECHO_T}$ac_header_preproc" >&6 |
10071 |
|
|
10072 |
|
# So? What about this header? |
10073 |
|
case $ac_header_compiler:$ac_header_preproc in |
10074 |
|
yes:no ) |
10075 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
10076 |
|
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
10077 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
10078 |
|
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
10079 |
|
( |
10080 |
|
cat <<\_ASBOX |
10081 |
|
## ------------------------------------ ## |
10082 |
|
## Report this to bug-autoconf@gnu.org. ## |
10083 |
|
## ------------------------------------ ## |
10084 |
|
_ASBOX |
10085 |
|
) | |
10086 |
|
sed "s/^/$as_me: WARNING: /" >&2 |
10087 |
|
;; |
10088 |
|
no:yes ) |
10089 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
10090 |
|
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
10091 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
10092 |
|
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
10093 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
10094 |
|
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
10095 |
|
( |
10096 |
|
cat <<\_ASBOX |
10097 |
|
## ------------------------------------ ## |
10098 |
|
## Report this to bug-autoconf@gnu.org. ## |
10099 |
|
## ------------------------------------ ## |
10100 |
|
_ASBOX |
10101 |
|
) | |
10102 |
|
sed "s/^/$as_me: WARNING: /" >&2 |
10103 |
|
;; |
10104 |
|
esac |
10105 |
|
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
10106 |
|
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
10107 |
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
10108 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
10109 |
|
else |
10110 |
|
eval "$as_ac_Header=$ac_header_preproc" |
10111 |
|
fi |
10112 |
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
10113 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
10114 |
|
|
10115 |
|
fi |
10116 |
|
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
10117 |
|
cat >>confdefs.h <<_ACEOF |
10118 |
|
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
10119 |
|
_ACEOF |
10120 |
|
|
10121 |
fi |
fi |
10122 |
|
|
10123 |
done |
done |
10124 |
|
|
10125 |
|
|
10126 |
# OpenBSD has elf_abi.h instead of elf.h |
# OpenBSD has elf_abi.h instead of elf.h |
10127 |
for ac_hdr in elf.h elf_abi.h |
|
10128 |
|
|
10129 |
|
for ac_header in elf.h elf_abi.h |
10130 |
do |
do |
10131 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
10132 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
10133 |
echo "configure:5288: checking for $ac_hdr" >&5 |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
10134 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
10135 |
echo $ac_n "(cached) $ac_c" 1>&6 |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
10136 |
else |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
10137 |
cat > conftest.$ac_ext <<EOF |
fi |
10138 |
#line 5293 "configure" |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
10139 |
#include "confdefs.h" |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
10140 |
#include <$ac_hdr> |
else |
10141 |
EOF |
# Is the header compilable? |
10142 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
10143 |
{ (eval echo configure:5298: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
10144 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
cat >conftest.$ac_ext <<_ACEOF |
10145 |
if test -z "$ac_err"; then |
#line $LINENO "configure" |
10146 |
rm -rf conftest* |
/* confdefs.h. */ |
10147 |
eval "ac_cv_header_$ac_safe=yes" |
_ACEOF |
10148 |
else |
cat confdefs.h >>conftest.$ac_ext |
10149 |
echo "$ac_err" >&5 |
cat >>conftest.$ac_ext <<_ACEOF |
10150 |
echo "configure: failed program was:" >&5 |
/* end confdefs.h. */ |
10151 |
cat conftest.$ac_ext >&5 |
$ac_includes_default |
10152 |
rm -rf conftest* |
#include <$ac_header> |
10153 |
eval "ac_cv_header_$ac_safe=no" |
_ACEOF |
10154 |
fi |
rm -f conftest.$ac_objext |
10155 |
rm -f conftest* |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
10156 |
|
(eval $ac_compile) 2>&5 |
10157 |
|
ac_status=$? |
10158 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10159 |
|
(exit $ac_status); } && |
10160 |
|
{ ac_try='test -s conftest.$ac_objext' |
10161 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10162 |
|
(eval $ac_try) 2>&5 |
10163 |
|
ac_status=$? |
10164 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10165 |
|
(exit $ac_status); }; }; then |
10166 |
|
ac_header_compiler=yes |
10167 |
|
else |
10168 |
|
echo "$as_me: failed program was:" >&5 |
10169 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
10170 |
|
|
10171 |
|
ac_header_compiler=no |
10172 |
|
fi |
10173 |
|
rm -f conftest.$ac_objext conftest.$ac_ext |
10174 |
|
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
10175 |
|
echo "${ECHO_T}$ac_header_compiler" >&6 |
10176 |
|
|
10177 |
|
# Is the header present? |
10178 |
|
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
10179 |
|
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
10180 |
|
cat >conftest.$ac_ext <<_ACEOF |
10181 |
|
#line $LINENO "configure" |
10182 |
|
/* confdefs.h. */ |
10183 |
|
_ACEOF |
10184 |
|
cat confdefs.h >>conftest.$ac_ext |
10185 |
|
cat >>conftest.$ac_ext <<_ACEOF |
10186 |
|
/* end confdefs.h. */ |
10187 |
|
#include <$ac_header> |
10188 |
|
_ACEOF |
10189 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
10190 |
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
10191 |
|
ac_status=$? |
10192 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
10193 |
|
rm -f conftest.er1 |
10194 |
|
cat conftest.err >&5 |
10195 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10196 |
|
(exit $ac_status); } >/dev/null; then |
10197 |
|
if test -s conftest.err; then |
10198 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
10199 |
|
else |
10200 |
|
ac_cpp_err= |
10201 |
|
fi |
10202 |
|
else |
10203 |
|
ac_cpp_err=yes |
10204 |
fi |
fi |
10205 |
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
if test -z "$ac_cpp_err"; then |
10206 |
echo "$ac_t""yes" 1>&6 |
ac_header_preproc=yes |
|
ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` |
|
|
cat >> confdefs.h <<EOF |
|
|
#define $ac_tr_hdr 1 |
|
|
EOF |
|
|
|
|
10207 |
else |
else |
10208 |
echo "$ac_t""no" 1>&6 |
echo "$as_me: failed program was:" >&5 |
10209 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
10210 |
|
|
10211 |
|
ac_header_preproc=no |
10212 |
|
fi |
10213 |
|
rm -f conftest.err conftest.$ac_ext |
10214 |
|
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
10215 |
|
echo "${ECHO_T}$ac_header_preproc" >&6 |
10216 |
|
|
10217 |
|
# So? What about this header? |
10218 |
|
case $ac_header_compiler:$ac_header_preproc in |
10219 |
|
yes:no ) |
10220 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
10221 |
|
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
10222 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
10223 |
|
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
10224 |
|
( |
10225 |
|
cat <<\_ASBOX |
10226 |
|
## ------------------------------------ ## |
10227 |
|
## Report this to bug-autoconf@gnu.org. ## |
10228 |
|
## ------------------------------------ ## |
10229 |
|
_ASBOX |
10230 |
|
) | |
10231 |
|
sed "s/^/$as_me: WARNING: /" >&2 |
10232 |
|
;; |
10233 |
|
no:yes ) |
10234 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
10235 |
|
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
10236 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
10237 |
|
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
10238 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
10239 |
|
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
10240 |
|
( |
10241 |
|
cat <<\_ASBOX |
10242 |
|
## ------------------------------------ ## |
10243 |
|
## Report this to bug-autoconf@gnu.org. ## |
10244 |
|
## ------------------------------------ ## |
10245 |
|
_ASBOX |
10246 |
|
) | |
10247 |
|
sed "s/^/$as_me: WARNING: /" >&2 |
10248 |
|
;; |
10249 |
|
esac |
10250 |
|
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
10251 |
|
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
10252 |
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
10253 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
10254 |
|
else |
10255 |
|
eval "$as_ac_Header=$ac_header_preproc" |
10256 |
|
fi |
10257 |
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
10258 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
10259 |
|
|
10260 |
|
fi |
10261 |
|
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
10262 |
|
cat >>confdefs.h <<_ACEOF |
10263 |
|
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
10264 |
|
_ACEOF |
10265 |
|
|
10266 |
fi |
fi |
10267 |
|
|
10268 |
done |
done |
10269 |
|
|
10270 |
|
|
10280 |
# declare it. |
# declare it. |
10281 |
#-------------------------------------------------------------------- |
#-------------------------------------------------------------------- |
10282 |
|
|
10283 |
echo $ac_n "checking for BSDgettimeofday""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for BSDgettimeofday" >&5 |
10284 |
echo "configure:5338: checking for BSDgettimeofday" >&5 |
echo $ECHO_N "checking for BSDgettimeofday... $ECHO_C" >&6 |
10285 |
if eval "test \"`echo '$''{'ac_cv_func_BSDgettimeofday'+set}'`\" = set"; then |
if test "${ac_cv_func_BSDgettimeofday+set}" = set; then |
10286 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
10287 |
else |
else |
10288 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
10289 |
#line 5343 "configure" |
#line $LINENO "configure" |
10290 |
#include "confdefs.h" |
/* confdefs.h. */ |
10291 |
|
_ACEOF |
10292 |
|
cat confdefs.h >>conftest.$ac_ext |
10293 |
|
cat >>conftest.$ac_ext <<_ACEOF |
10294 |
|
/* end confdefs.h. */ |
10295 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
10296 |
which can conflict with char BSDgettimeofday(); below. */ |
which can conflict with char BSDgettimeofday (); below. */ |
10297 |
#include <assert.h> |
#include <assert.h> |
10298 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
10299 |
|
#ifdef __cplusplus |
10300 |
|
extern "C" |
10301 |
|
{ |
10302 |
|
#endif |
10303 |
/* We use char because int might match the return type of a gcc2 |
/* We use char because int might match the return type of a gcc2 |
10304 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
10305 |
char BSDgettimeofday(); |
char BSDgettimeofday (); |
|
|
|
|
int main() { |
|
|
|
|
10306 |
/* The GNU C library defines this for functions which it implements |
/* The GNU C library defines this for functions which it implements |
10307 |
to always fail with ENOSYS. Some functions are actually named |
to always fail with ENOSYS. Some functions are actually named |
10308 |
something starting with __ and the normal name is an alias. */ |
something starting with __ and the normal name is an alias. */ |
10309 |
#if defined (__stub_BSDgettimeofday) || defined (__stub___BSDgettimeofday) |
#if defined (__stub_BSDgettimeofday) || defined (__stub___BSDgettimeofday) |
10310 |
choke me |
choke me |
10311 |
#else |
#else |
10312 |
BSDgettimeofday(); |
char (*f) () = BSDgettimeofday; |
10313 |
|
#endif |
10314 |
|
#ifdef __cplusplus |
10315 |
|
} |
10316 |
#endif |
#endif |
10317 |
|
|
10318 |
; return 0; } |
int |
10319 |
EOF |
main () |
10320 |
if { (eval echo configure:5366: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
{ |
|
rm -rf conftest* |
|
|
eval "ac_cv_func_BSDgettimeofday=yes" |
|
|
else |
|
|
echo "configure: failed program was:" >&5 |
|
|
cat conftest.$ac_ext >&5 |
|
|
rm -rf conftest* |
|
|
eval "ac_cv_func_BSDgettimeofday=no" |
|
|
fi |
|
|
rm -f conftest* |
|
|
fi |
|
10321 |
|
|
10322 |
if eval "test \"`echo '$ac_cv_func_'BSDgettimeofday`\" = yes"; then |
; |
10323 |
echo "$ac_t""yes" 1>&6 |
return 0; |
10324 |
cat >> confdefs.h <<\EOF |
} |
10325 |
|
_ACEOF |
10326 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
10327 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
10328 |
|
(eval $ac_link) 2>&5 |
10329 |
|
ac_status=$? |
10330 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10331 |
|
(exit $ac_status); } && |
10332 |
|
{ ac_try='test -s conftest$ac_exeext' |
10333 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10334 |
|
(eval $ac_try) 2>&5 |
10335 |
|
ac_status=$? |
10336 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10337 |
|
(exit $ac_status); }; }; then |
10338 |
|
ac_cv_func_BSDgettimeofday=yes |
10339 |
|
else |
10340 |
|
echo "$as_me: failed program was:" >&5 |
10341 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
10342 |
|
|
10343 |
|
ac_cv_func_BSDgettimeofday=no |
10344 |
|
fi |
10345 |
|
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
10346 |
|
fi |
10347 |
|
echo "$as_me:$LINENO: result: $ac_cv_func_BSDgettimeofday" >&5 |
10348 |
|
echo "${ECHO_T}$ac_cv_func_BSDgettimeofday" >&6 |
10349 |
|
if test $ac_cv_func_BSDgettimeofday = yes; then |
10350 |
|
cat >>confdefs.h <<\_ACEOF |
10351 |
#define HAVE_BSDGETTIMEOFDAY 1 |
#define HAVE_BSDGETTIMEOFDAY 1 |
10352 |
EOF |
_ACEOF |
10353 |
|
|
10354 |
else |
else |
10355 |
echo "$ac_t""no" 1>&6 |
echo "$as_me:$LINENO: checking for gettimeofday" >&5 |
10356 |
echo $ac_n "checking for gettimeofday""... $ac_c" 1>&6 |
echo $ECHO_N "checking for gettimeofday... $ECHO_C" >&6 |
10357 |
echo "configure:5387: checking for gettimeofday" >&5 |
if test "${ac_cv_func_gettimeofday+set}" = set; then |
10358 |
if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+set}'`\" = set"; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
10359 |
echo $ac_n "(cached) $ac_c" 1>&6 |
else |
10360 |
else |
cat >conftest.$ac_ext <<_ACEOF |
10361 |
cat > conftest.$ac_ext <<EOF |
#line $LINENO "configure" |
10362 |
#line 5392 "configure" |
/* confdefs.h. */ |
10363 |
#include "confdefs.h" |
_ACEOF |
10364 |
|
cat confdefs.h >>conftest.$ac_ext |
10365 |
|
cat >>conftest.$ac_ext <<_ACEOF |
10366 |
|
/* end confdefs.h. */ |
10367 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
10368 |
which can conflict with char gettimeofday(); below. */ |
which can conflict with char gettimeofday (); below. */ |
10369 |
#include <assert.h> |
#include <assert.h> |
10370 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
10371 |
|
#ifdef __cplusplus |
10372 |
|
extern "C" |
10373 |
|
{ |
10374 |
|
#endif |
10375 |
/* We use char because int might match the return type of a gcc2 |
/* We use char because int might match the return type of a gcc2 |
10376 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
10377 |
char gettimeofday(); |
char gettimeofday (); |
|
|
|
|
int main() { |
|
|
|
|
10378 |
/* The GNU C library defines this for functions which it implements |
/* The GNU C library defines this for functions which it implements |
10379 |
to always fail with ENOSYS. Some functions are actually named |
to always fail with ENOSYS. Some functions are actually named |
10380 |
something starting with __ and the normal name is an alias. */ |
something starting with __ and the normal name is an alias. */ |
10381 |
#if defined (__stub_gettimeofday) || defined (__stub___gettimeofday) |
#if defined (__stub_gettimeofday) || defined (__stub___gettimeofday) |
10382 |
choke me |
choke me |
10383 |
#else |
#else |
10384 |
gettimeofday(); |
char (*f) () = gettimeofday; |
10385 |
|
#endif |
10386 |
|
#ifdef __cplusplus |
10387 |
|
} |
10388 |
#endif |
#endif |
10389 |
|
|
10390 |
; return 0; } |
int |
10391 |
EOF |
main () |
10392 |
if { (eval echo configure:5415: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
{ |
|
rm -rf conftest* |
|
|
eval "ac_cv_func_gettimeofday=yes" |
|
|
else |
|
|
echo "configure: failed program was:" >&5 |
|
|
cat conftest.$ac_ext >&5 |
|
|
rm -rf conftest* |
|
|
eval "ac_cv_func_gettimeofday=no" |
|
|
fi |
|
|
rm -f conftest* |
|
|
fi |
|
10393 |
|
|
10394 |
if eval "test \"`echo '$ac_cv_func_'gettimeofday`\" = yes"; then |
; |
10395 |
echo "$ac_t""yes" 1>&6 |
return 0; |
10396 |
|
} |
10397 |
|
_ACEOF |
10398 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
10399 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
10400 |
|
(eval $ac_link) 2>&5 |
10401 |
|
ac_status=$? |
10402 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10403 |
|
(exit $ac_status); } && |
10404 |
|
{ ac_try='test -s conftest$ac_exeext' |
10405 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10406 |
|
(eval $ac_try) 2>&5 |
10407 |
|
ac_status=$? |
10408 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10409 |
|
(exit $ac_status); }; }; then |
10410 |
|
ac_cv_func_gettimeofday=yes |
10411 |
|
else |
10412 |
|
echo "$as_me: failed program was:" >&5 |
10413 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
10414 |
|
|
10415 |
|
ac_cv_func_gettimeofday=no |
10416 |
|
fi |
10417 |
|
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
10418 |
|
fi |
10419 |
|
echo "$as_me:$LINENO: result: $ac_cv_func_gettimeofday" >&5 |
10420 |
|
echo "${ECHO_T}$ac_cv_func_gettimeofday" >&6 |
10421 |
|
if test $ac_cv_func_gettimeofday = yes; then |
10422 |
: |
: |
10423 |
else |
else |
10424 |
echo "$ac_t""no" 1>&6 |
cat >>confdefs.h <<\_ACEOF |
|
cat >> confdefs.h <<\EOF |
|
10425 |
#define NO_GETTOD 1 |
#define NO_GETTOD 1 |
10426 |
EOF |
_ACEOF |
10427 |
|
|
10428 |
fi |
fi |
10429 |
|
|
10430 |
fi |
fi |
10431 |
|
|
10432 |
|
|
10433 |
echo $ac_n "checking for gettimeofday declaration""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for gettimeofday declaration" >&5 |
10434 |
echo "configure:5442: checking for gettimeofday declaration" >&5 |
echo $ECHO_N "checking for gettimeofday declaration... $ECHO_C" >&6 |
10435 |
|
|
10436 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
10437 |
#line 5445 "configure" |
#line $LINENO "configure" |
10438 |
#include "confdefs.h" |
/* confdefs.h. */ |
10439 |
|
_ACEOF |
10440 |
|
cat confdefs.h >>conftest.$ac_ext |
10441 |
|
cat >>conftest.$ac_ext <<_ACEOF |
10442 |
|
/* end confdefs.h. */ |
10443 |
#include <sys/time.h> |
#include <sys/time.h> |
10444 |
EOF |
|
10445 |
|
_ACEOF |
10446 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
10447 |
egrep "gettimeofday" >/dev/null 2>&1; then |
$EGREP "gettimeofday" >/dev/null 2>&1; then |
10448 |
rm -rf conftest* |
echo "$as_me:$LINENO: result: present" >&5 |
10449 |
echo "$ac_t""present" 1>&6 |
echo "${ECHO_T}present" >&6 |
10450 |
else |
else |
10451 |
rm -rf conftest* |
echo "$as_me:$LINENO: result: missing" >&5 |
10452 |
echo "$ac_t""missing" 1>&6 |
echo "${ECHO_T}missing" >&6 |
10453 |
cat >> confdefs.h <<\EOF |
cat >>confdefs.h <<\_ACEOF |
10454 |
#define GETTOD_NOT_DECLARED 1 |
#define GETTOD_NOT_DECLARED 1 |
10455 |
EOF |
_ACEOF |
10456 |
|
|
10457 |
fi |
fi |
10458 |
rm -f conftest* |
rm -f conftest* |
10459 |
|
|
10460 |
|
|
10461 |
|
|
10462 |
echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for sin in -lm" >&5 |
10463 |
echo "configure:5466: checking for sin in -lm" >&5 |
echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6 |
10464 |
ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` |
if test "${ac_cv_lib_m_sin+set}" = set; then |
10465 |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
10466 |
else |
else |
10467 |
ac_save_LIBS="$LIBS" |
ac_check_lib_save_LIBS=$LIBS |
10468 |
LIBS="-lm $LIBS" |
LIBS="-lm $LIBS" |
10469 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
10470 |
#line 5474 "configure" |
#line $LINENO "configure" |
10471 |
#include "confdefs.h" |
/* confdefs.h. */ |
10472 |
|
_ACEOF |
10473 |
|
cat confdefs.h >>conftest.$ac_ext |
10474 |
|
cat >>conftest.$ac_ext <<_ACEOF |
10475 |
|
/* end confdefs.h. */ |
10476 |
|
|
10477 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
10478 |
|
#ifdef __cplusplus |
10479 |
|
extern "C" |
10480 |
|
#endif |
10481 |
/* We use char because int might match the return type of a gcc2 |
/* We use char because int might match the return type of a gcc2 |
10482 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
10483 |
char sin(); |
char sin (); |
10484 |
|
int |
10485 |
int main() { |
main () |
10486 |
sin() |
{ |
10487 |
; return 0; } |
sin (); |
10488 |
EOF |
; |
10489 |
if { (eval echo configure:5485: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
return 0; |
10490 |
rm -rf conftest* |
} |
10491 |
eval "ac_cv_lib_$ac_lib_var=yes" |
_ACEOF |
10492 |
else |
rm -f conftest.$ac_objext conftest$ac_exeext |
10493 |
echo "configure: failed program was:" >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
10494 |
cat conftest.$ac_ext >&5 |
(eval $ac_link) 2>&5 |
10495 |
rm -rf conftest* |
ac_status=$? |
10496 |
eval "ac_cv_lib_$ac_lib_var=no" |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10497 |
fi |
(exit $ac_status); } && |
10498 |
rm -f conftest* |
{ ac_try='test -s conftest$ac_exeext' |
10499 |
LIBS="$ac_save_LIBS" |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10500 |
|
(eval $ac_try) 2>&5 |
10501 |
fi |
ac_status=$? |
10502 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10503 |
echo "$ac_t""yes" 1>&6 |
(exit $ac_status); }; }; then |
10504 |
|
ac_cv_lib_m_sin=yes |
10505 |
|
else |
10506 |
|
echo "$as_me: failed program was:" >&5 |
10507 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
10508 |
|
|
10509 |
|
ac_cv_lib_m_sin=no |
10510 |
|
fi |
10511 |
|
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
10512 |
|
LIBS=$ac_check_lib_save_LIBS |
10513 |
|
fi |
10514 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5 |
10515 |
|
echo "${ECHO_T}$ac_cv_lib_m_sin" >&6 |
10516 |
|
if test $ac_cv_lib_m_sin = yes; then |
10517 |
LIBS="${LIBS} -lm" |
LIBS="${LIBS} -lm" |
10518 |
else |
else |
10519 |
echo "$ac_t""no" 1>&6 |
true |
|
true |
|
10520 |
fi |
fi |
10521 |
|
|
10522 |
echo $ac_n "checking for main in -lmingwex""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for main in -lmingwex" >&5 |
10523 |
echo "configure:5507: checking for main in -lmingwex" >&5 |
echo $ECHO_N "checking for main in -lmingwex... $ECHO_C" >&6 |
10524 |
ac_lib_var=`echo mingwex'_'main | sed 'y%./+-%__p_%'` |
if test "${ac_cv_lib_mingwex_main+set}" = set; then |
10525 |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
10526 |
else |
else |
10527 |
ac_save_LIBS="$LIBS" |
ac_check_lib_save_LIBS=$LIBS |
10528 |
LIBS="-lmingwex $LIBS" |
LIBS="-lmingwex $LIBS" |
10529 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
10530 |
#line 5515 "configure" |
#line $LINENO "configure" |
10531 |
#include "confdefs.h" |
/* confdefs.h. */ |
10532 |
|
_ACEOF |
10533 |
|
cat confdefs.h >>conftest.$ac_ext |
10534 |
|
cat >>conftest.$ac_ext <<_ACEOF |
10535 |
|
/* end confdefs.h. */ |
10536 |
|
|
|
int main() { |
|
|
main() |
|
|
; return 0; } |
|
|
EOF |
|
|
if { (eval echo configure:5522: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|
|
rm -rf conftest* |
|
|
eval "ac_cv_lib_$ac_lib_var=yes" |
|
|
else |
|
|
echo "configure: failed program was:" >&5 |
|
|
cat conftest.$ac_ext >&5 |
|
|
rm -rf conftest* |
|
|
eval "ac_cv_lib_$ac_lib_var=no" |
|
|
fi |
|
|
rm -f conftest* |
|
|
LIBS="$ac_save_LIBS" |
|
10537 |
|
|
10538 |
fi |
int |
10539 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
main () |
10540 |
echo "$ac_t""yes" 1>&6 |
{ |
10541 |
|
main (); |
10542 |
|
; |
10543 |
|
return 0; |
10544 |
|
} |
10545 |
|
_ACEOF |
10546 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
10547 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
10548 |
|
(eval $ac_link) 2>&5 |
10549 |
|
ac_status=$? |
10550 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10551 |
|
(exit $ac_status); } && |
10552 |
|
{ ac_try='test -s conftest$ac_exeext' |
10553 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10554 |
|
(eval $ac_try) 2>&5 |
10555 |
|
ac_status=$? |
10556 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10557 |
|
(exit $ac_status); }; }; then |
10558 |
|
ac_cv_lib_mingwex_main=yes |
10559 |
|
else |
10560 |
|
echo "$as_me: failed program was:" >&5 |
10561 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
10562 |
|
|
10563 |
|
ac_cv_lib_mingwex_main=no |
10564 |
|
fi |
10565 |
|
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
10566 |
|
LIBS=$ac_check_lib_save_LIBS |
10567 |
|
fi |
10568 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_mingwex_main" >&5 |
10569 |
|
echo "${ECHO_T}$ac_cv_lib_mingwex_main" >&6 |
10570 |
|
if test $ac_cv_lib_mingwex_main = yes; then |
10571 |
LIBS="${LIBS} -lmingwex" |
LIBS="${LIBS} -lmingwex" |
10572 |
else |
else |
10573 |
echo "$ac_t""no" 1>&6 |
true |
|
true |
|
10574 |
fi |
fi |
10575 |
|
|
10576 |
|
|
10577 |
EXTRA_LOBJS= |
EXTRA_LOBJS= |
10578 |
if test "$try_japi" = "yes" ; then |
if test "$try_japi" = "yes" ; then |
10579 |
for ac_hdr in japi.h |
|
10580 |
|
for ac_header in japi.h |
10581 |
do |
do |
10582 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
10583 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
10584 |
echo "configure:5550: checking for $ac_hdr" >&5 |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
10585 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
10586 |
echo $ac_n "(cached) $ac_c" 1>&6 |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
10587 |
else |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
10588 |
cat > conftest.$ac_ext <<EOF |
fi |
10589 |
#line 5555 "configure" |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
10590 |
#include "confdefs.h" |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
10591 |
#include <$ac_hdr> |
else |
10592 |
EOF |
# Is the header compilable? |
10593 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
10594 |
{ (eval echo configure:5560: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
10595 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
cat >conftest.$ac_ext <<_ACEOF |
10596 |
if test -z "$ac_err"; then |
#line $LINENO "configure" |
10597 |
rm -rf conftest* |
/* confdefs.h. */ |
10598 |
eval "ac_cv_header_$ac_safe=yes" |
_ACEOF |
10599 |
else |
cat confdefs.h >>conftest.$ac_ext |
10600 |
echo "$ac_err" >&5 |
cat >>conftest.$ac_ext <<_ACEOF |
10601 |
echo "configure: failed program was:" >&5 |
/* end confdefs.h. */ |
10602 |
cat conftest.$ac_ext >&5 |
$ac_includes_default |
10603 |
rm -rf conftest* |
#include <$ac_header> |
10604 |
eval "ac_cv_header_$ac_safe=no" |
_ACEOF |
10605 |
fi |
rm -f conftest.$ac_objext |
10606 |
rm -f conftest* |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
10607 |
|
(eval $ac_compile) 2>&5 |
10608 |
|
ac_status=$? |
10609 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10610 |
|
(exit $ac_status); } && |
10611 |
|
{ ac_try='test -s conftest.$ac_objext' |
10612 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10613 |
|
(eval $ac_try) 2>&5 |
10614 |
|
ac_status=$? |
10615 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10616 |
|
(exit $ac_status); }; }; then |
10617 |
|
ac_header_compiler=yes |
10618 |
|
else |
10619 |
|
echo "$as_me: failed program was:" >&5 |
10620 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
10621 |
|
|
10622 |
|
ac_header_compiler=no |
10623 |
|
fi |
10624 |
|
rm -f conftest.$ac_objext conftest.$ac_ext |
10625 |
|
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
10626 |
|
echo "${ECHO_T}$ac_header_compiler" >&6 |
10627 |
|
|
10628 |
|
# Is the header present? |
10629 |
|
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
10630 |
|
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
10631 |
|
cat >conftest.$ac_ext <<_ACEOF |
10632 |
|
#line $LINENO "configure" |
10633 |
|
/* confdefs.h. */ |
10634 |
|
_ACEOF |
10635 |
|
cat confdefs.h >>conftest.$ac_ext |
10636 |
|
cat >>conftest.$ac_ext <<_ACEOF |
10637 |
|
/* end confdefs.h. */ |
10638 |
|
#include <$ac_header> |
10639 |
|
_ACEOF |
10640 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
10641 |
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
10642 |
|
ac_status=$? |
10643 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
10644 |
|
rm -f conftest.er1 |
10645 |
|
cat conftest.err >&5 |
10646 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10647 |
|
(exit $ac_status); } >/dev/null; then |
10648 |
|
if test -s conftest.err; then |
10649 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
10650 |
|
else |
10651 |
|
ac_cpp_err= |
10652 |
|
fi |
10653 |
|
else |
10654 |
|
ac_cpp_err=yes |
10655 |
fi |
fi |
10656 |
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
if test -z "$ac_cpp_err"; then |
10657 |
echo "$ac_t""yes" 1>&6 |
ac_header_preproc=yes |
10658 |
ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` |
else |
10659 |
cat >> confdefs.h <<EOF |
echo "$as_me: failed program was:" >&5 |
10660 |
#define $ac_tr_hdr 1 |
sed 's/^/| /' conftest.$ac_ext >&5 |
10661 |
EOF |
|
10662 |
cat >> confdefs.h <<\EOF |
ac_header_preproc=no |
10663 |
|
fi |
10664 |
|
rm -f conftest.err conftest.$ac_ext |
10665 |
|
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
10666 |
|
echo "${ECHO_T}$ac_header_preproc" >&6 |
10667 |
|
|
10668 |
|
# So? What about this header? |
10669 |
|
case $ac_header_compiler:$ac_header_preproc in |
10670 |
|
yes:no ) |
10671 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
10672 |
|
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
10673 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
10674 |
|
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
10675 |
|
( |
10676 |
|
cat <<\_ASBOX |
10677 |
|
## ------------------------------------ ## |
10678 |
|
## Report this to bug-autoconf@gnu.org. ## |
10679 |
|
## ------------------------------------ ## |
10680 |
|
_ASBOX |
10681 |
|
) | |
10682 |
|
sed "s/^/$as_me: WARNING: /" >&2 |
10683 |
|
;; |
10684 |
|
no:yes ) |
10685 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
10686 |
|
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
10687 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
10688 |
|
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
10689 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
10690 |
|
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
10691 |
|
( |
10692 |
|
cat <<\_ASBOX |
10693 |
|
## ------------------------------------ ## |
10694 |
|
## Report this to bug-autoconf@gnu.org. ## |
10695 |
|
## ------------------------------------ ## |
10696 |
|
_ASBOX |
10697 |
|
) | |
10698 |
|
sed "s/^/$as_me: WARNING: /" >&2 |
10699 |
|
;; |
10700 |
|
esac |
10701 |
|
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
10702 |
|
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
10703 |
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
10704 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
10705 |
|
else |
10706 |
|
eval "$as_ac_Header=$ac_header_preproc" |
10707 |
|
fi |
10708 |
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
10709 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
10710 |
|
|
10711 |
|
fi |
10712 |
|
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
10713 |
|
cat >>confdefs.h <<_ACEOF |
10714 |
|
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
10715 |
|
_ACEOF |
10716 |
|
cat >>confdefs.h <<\_ACEOF |
10717 |
#define HAVE_JAPI_H 1 |
#define HAVE_JAPI_H 1 |
10718 |
EOF |
_ACEOF |
10719 |
|
|
10720 |
EXTRA_LOBJS="${EXTRA_LOBJS} gcl_japi.o" |
EXTRA_LOBJS="${EXTRA_LOBJS} gcl_japi.o" |
10721 |
LIBS="${LIBS} -ljapi -lwsock32" |
LIBS="${LIBS} -ljapi -lwsock32" |
|
else |
|
|
echo "$ac_t""no" 1>&6 |
|
10722 |
fi |
fi |
10723 |
|
|
10724 |
done |
done |
10725 |
|
|
10726 |
fi |
fi |
10727 |
if test "$use" = "mingw" ; then |
if test "$use" = "mingw" ; then |
10728 |
if test "$try_xdr" = "yes" ; then |
if test "$try_xdr" = "yes" ; then |
10729 |
for ac_hdr in rpc/rpc.h |
|
10730 |
|
for ac_header in rpc/rpc.h |
10731 |
do |
do |
10732 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
10733 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
10734 |
echo "configure:5598: checking for $ac_hdr" >&5 |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
10735 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
10736 |
echo $ac_n "(cached) $ac_c" 1>&6 |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
10737 |
else |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
10738 |
cat > conftest.$ac_ext <<EOF |
fi |
10739 |
#line 5603 "configure" |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
10740 |
#include "confdefs.h" |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
10741 |
#include <$ac_hdr> |
else |
10742 |
EOF |
# Is the header compilable? |
10743 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
10744 |
{ (eval echo configure:5608: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
10745 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
cat >conftest.$ac_ext <<_ACEOF |
10746 |
if test -z "$ac_err"; then |
#line $LINENO "configure" |
10747 |
rm -rf conftest* |
/* confdefs.h. */ |
10748 |
eval "ac_cv_header_$ac_safe=yes" |
_ACEOF |
10749 |
else |
cat confdefs.h >>conftest.$ac_ext |
10750 |
echo "$ac_err" >&5 |
cat >>conftest.$ac_ext <<_ACEOF |
10751 |
echo "configure: failed program was:" >&5 |
/* end confdefs.h. */ |
10752 |
cat conftest.$ac_ext >&5 |
$ac_includes_default |
10753 |
rm -rf conftest* |
#include <$ac_header> |
10754 |
eval "ac_cv_header_$ac_safe=no" |
_ACEOF |
10755 |
fi |
rm -f conftest.$ac_objext |
10756 |
rm -f conftest* |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
10757 |
|
(eval $ac_compile) 2>&5 |
10758 |
|
ac_status=$? |
10759 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10760 |
|
(exit $ac_status); } && |
10761 |
|
{ ac_try='test -s conftest.$ac_objext' |
10762 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10763 |
|
(eval $ac_try) 2>&5 |
10764 |
|
ac_status=$? |
10765 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10766 |
|
(exit $ac_status); }; }; then |
10767 |
|
ac_header_compiler=yes |
10768 |
|
else |
10769 |
|
echo "$as_me: failed program was:" >&5 |
10770 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
10771 |
|
|
10772 |
|
ac_header_compiler=no |
10773 |
|
fi |
10774 |
|
rm -f conftest.$ac_objext conftest.$ac_ext |
10775 |
|
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
10776 |
|
echo "${ECHO_T}$ac_header_compiler" >&6 |
10777 |
|
|
10778 |
|
# Is the header present? |
10779 |
|
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
10780 |
|
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
10781 |
|
cat >conftest.$ac_ext <<_ACEOF |
10782 |
|
#line $LINENO "configure" |
10783 |
|
/* confdefs.h. */ |
10784 |
|
_ACEOF |
10785 |
|
cat confdefs.h >>conftest.$ac_ext |
10786 |
|
cat >>conftest.$ac_ext <<_ACEOF |
10787 |
|
/* end confdefs.h. */ |
10788 |
|
#include <$ac_header> |
10789 |
|
_ACEOF |
10790 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
10791 |
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
10792 |
|
ac_status=$? |
10793 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
10794 |
|
rm -f conftest.er1 |
10795 |
|
cat conftest.err >&5 |
10796 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10797 |
|
(exit $ac_status); } >/dev/null; then |
10798 |
|
if test -s conftest.err; then |
10799 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
10800 |
|
else |
10801 |
|
ac_cpp_err= |
10802 |
|
fi |
10803 |
|
else |
10804 |
|
ac_cpp_err=yes |
10805 |
fi |
fi |
10806 |
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
if test -z "$ac_cpp_err"; then |
10807 |
echo "$ac_t""yes" 1>&6 |
ac_header_preproc=yes |
10808 |
ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` |
else |
10809 |
cat >> confdefs.h <<EOF |
echo "$as_me: failed program was:" >&5 |
10810 |
#define $ac_tr_hdr 1 |
sed 's/^/| /' conftest.$ac_ext >&5 |
10811 |
EOF |
|
10812 |
cat >> confdefs.h <<\EOF |
ac_header_preproc=no |
10813 |
|
fi |
10814 |
|
rm -f conftest.err conftest.$ac_ext |
10815 |
|
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
10816 |
|
echo "${ECHO_T}$ac_header_preproc" >&6 |
10817 |
|
|
10818 |
|
# So? What about this header? |
10819 |
|
case $ac_header_compiler:$ac_header_preproc in |
10820 |
|
yes:no ) |
10821 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
10822 |
|
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
10823 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
10824 |
|
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
10825 |
|
( |
10826 |
|
cat <<\_ASBOX |
10827 |
|
## ------------------------------------ ## |
10828 |
|
## Report this to bug-autoconf@gnu.org. ## |
10829 |
|
## ------------------------------------ ## |
10830 |
|
_ASBOX |
10831 |
|
) | |
10832 |
|
sed "s/^/$as_me: WARNING: /" >&2 |
10833 |
|
;; |
10834 |
|
no:yes ) |
10835 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
10836 |
|
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
10837 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
10838 |
|
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
10839 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
10840 |
|
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
10841 |
|
( |
10842 |
|
cat <<\_ASBOX |
10843 |
|
## ------------------------------------ ## |
10844 |
|
## Report this to bug-autoconf@gnu.org. ## |
10845 |
|
## ------------------------------------ ## |
10846 |
|
_ASBOX |
10847 |
|
) | |
10848 |
|
sed "s/^/$as_me: WARNING: /" >&2 |
10849 |
|
;; |
10850 |
|
esac |
10851 |
|
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
10852 |
|
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
10853 |
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
10854 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
10855 |
|
else |
10856 |
|
eval "$as_ac_Header=$ac_header_preproc" |
10857 |
|
fi |
10858 |
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
10859 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
10860 |
|
|
10861 |
|
fi |
10862 |
|
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
10863 |
|
cat >>confdefs.h <<_ACEOF |
10864 |
|
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
10865 |
|
_ACEOF |
10866 |
|
cat >>confdefs.h <<\_ACEOF |
10867 |
#define HAVE_XDR 1 |
#define HAVE_XDR 1 |
10868 |
EOF |
_ACEOF |
10869 |
|
|
10870 |
LIBS="${LIBS} -loncrpc" |
LIBS="${LIBS} -loncrpc" |
|
else |
|
|
echo "$ac_t""no" 1>&6 |
|
10871 |
fi |
fi |
10872 |
|
|
10873 |
done |
done |
10874 |
|
|
10875 |
fi |
fi |
10876 |
else |
else |
10877 |
if test "$try_xdr" = "yes" ; then |
if test "$try_xdr" = "yes" ; then |
10878 |
for ac_hdr in rpc/rpc.h |
|
10879 |
|
for ac_header in rpc/rpc.h |
10880 |
do |
do |
10881 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
10882 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
10883 |
echo "configure:5645: checking for $ac_hdr" >&5 |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
10884 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
10885 |
echo $ac_n "(cached) $ac_c" 1>&6 |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
10886 |
else |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
10887 |
cat > conftest.$ac_ext <<EOF |
fi |
10888 |
#line 5650 "configure" |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
10889 |
#include "confdefs.h" |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
10890 |
#include <$ac_hdr> |
else |
10891 |
EOF |
# Is the header compilable? |
10892 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
10893 |
{ (eval echo configure:5655: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
10894 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
cat >conftest.$ac_ext <<_ACEOF |
10895 |
if test -z "$ac_err"; then |
#line $LINENO "configure" |
10896 |
rm -rf conftest* |
/* confdefs.h. */ |
10897 |
eval "ac_cv_header_$ac_safe=yes" |
_ACEOF |
10898 |
else |
cat confdefs.h >>conftest.$ac_ext |
10899 |
echo "$ac_err" >&5 |
cat >>conftest.$ac_ext <<_ACEOF |
10900 |
echo "configure: failed program was:" >&5 |
/* end confdefs.h. */ |
10901 |
cat conftest.$ac_ext >&5 |
$ac_includes_default |
10902 |
rm -rf conftest* |
#include <$ac_header> |
10903 |
eval "ac_cv_header_$ac_safe=no" |
_ACEOF |
10904 |
fi |
rm -f conftest.$ac_objext |
10905 |
rm -f conftest* |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
10906 |
|
(eval $ac_compile) 2>&5 |
10907 |
|
ac_status=$? |
10908 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10909 |
|
(exit $ac_status); } && |
10910 |
|
{ ac_try='test -s conftest.$ac_objext' |
10911 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10912 |
|
(eval $ac_try) 2>&5 |
10913 |
|
ac_status=$? |
10914 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10915 |
|
(exit $ac_status); }; }; then |
10916 |
|
ac_header_compiler=yes |
10917 |
|
else |
10918 |
|
echo "$as_me: failed program was:" >&5 |
10919 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
10920 |
|
|
10921 |
|
ac_header_compiler=no |
10922 |
|
fi |
10923 |
|
rm -f conftest.$ac_objext conftest.$ac_ext |
10924 |
|
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
10925 |
|
echo "${ECHO_T}$ac_header_compiler" >&6 |
10926 |
|
|
10927 |
|
# Is the header present? |
10928 |
|
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
10929 |
|
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
10930 |
|
cat >conftest.$ac_ext <<_ACEOF |
10931 |
|
#line $LINENO "configure" |
10932 |
|
/* confdefs.h. */ |
10933 |
|
_ACEOF |
10934 |
|
cat confdefs.h >>conftest.$ac_ext |
10935 |
|
cat >>conftest.$ac_ext <<_ACEOF |
10936 |
|
/* end confdefs.h. */ |
10937 |
|
#include <$ac_header> |
10938 |
|
_ACEOF |
10939 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
10940 |
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
10941 |
|
ac_status=$? |
10942 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
10943 |
|
rm -f conftest.er1 |
10944 |
|
cat conftest.err >&5 |
10945 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10946 |
|
(exit $ac_status); } >/dev/null; then |
10947 |
|
if test -s conftest.err; then |
10948 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
10949 |
|
else |
10950 |
|
ac_cpp_err= |
10951 |
|
fi |
10952 |
|
else |
10953 |
|
ac_cpp_err=yes |
10954 |
fi |
fi |
10955 |
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
if test -z "$ac_cpp_err"; then |
10956 |
echo "$ac_t""yes" 1>&6 |
ac_header_preproc=yes |
10957 |
ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` |
else |
10958 |
cat >> confdefs.h <<EOF |
echo "$as_me: failed program was:" >&5 |
10959 |
#define $ac_tr_hdr 1 |
sed 's/^/| /' conftest.$ac_ext >&5 |
10960 |
EOF |
|
10961 |
cat >> confdefs.h <<\EOF |
ac_header_preproc=no |
10962 |
|
fi |
10963 |
|
rm -f conftest.err conftest.$ac_ext |
10964 |
|
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
10965 |
|
echo "${ECHO_T}$ac_header_preproc" >&6 |
10966 |
|
|
10967 |
|
# So? What about this header? |
10968 |
|
case $ac_header_compiler:$ac_header_preproc in |
10969 |
|
yes:no ) |
10970 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
10971 |
|
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
10972 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
10973 |
|
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
10974 |
|
( |
10975 |
|
cat <<\_ASBOX |
10976 |
|
## ------------------------------------ ## |
10977 |
|
## Report this to bug-autoconf@gnu.org. ## |
10978 |
|
## ------------------------------------ ## |
10979 |
|
_ASBOX |
10980 |
|
) | |
10981 |
|
sed "s/^/$as_me: WARNING: /" >&2 |
10982 |
|
;; |
10983 |
|
no:yes ) |
10984 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
10985 |
|
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
10986 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
10987 |
|
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
10988 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
10989 |
|
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
10990 |
|
( |
10991 |
|
cat <<\_ASBOX |
10992 |
|
## ------------------------------------ ## |
10993 |
|
## Report this to bug-autoconf@gnu.org. ## |
10994 |
|
## ------------------------------------ ## |
10995 |
|
_ASBOX |
10996 |
|
) | |
10997 |
|
sed "s/^/$as_me: WARNING: /" >&2 |
10998 |
|
;; |
10999 |
|
esac |
11000 |
|
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
11001 |
|
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
11002 |
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
11003 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
11004 |
|
else |
11005 |
|
eval "$as_ac_Header=$ac_header_preproc" |
11006 |
|
fi |
11007 |
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
11008 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
11009 |
|
|
11010 |
|
fi |
11011 |
|
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
11012 |
|
cat >>confdefs.h <<_ACEOF |
11013 |
|
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
11014 |
|
_ACEOF |
11015 |
|
cat >>confdefs.h <<\_ACEOF |
11016 |
#define HAVE_XDR 1 |
#define HAVE_XDR 1 |
11017 |
EOF |
_ACEOF |
11018 |
|
|
11019 |
LIBS="${LIBS} -lrpc" |
LIBS="${LIBS} -lrpc" |
|
else |
|
|
echo "$ac_t""no" 1>&6 |
|
11020 |
fi |
fi |
11021 |
|
|
11022 |
done |
done |
11023 |
|
|
11024 |
fi |
fi |
11025 |
fi |
fi |
11026 |
|
|
11027 |
# Should really find a way to check for prototypes, but this |
# Should really find a way to check for prototypes, but this |
11028 |
# basically works for now. CM |
# basically works for now. CM |
11029 |
# |
# |
11030 |
for ac_hdr in math.h |
|
11031 |
|
for ac_header in math.h |
11032 |
do |
do |
11033 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
11034 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
11035 |
echo "configure:5695: checking for $ac_hdr" >&5 |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
11036 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
11037 |
echo $ac_n "(cached) $ac_c" 1>&6 |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
11038 |
else |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
11039 |
cat > conftest.$ac_ext <<EOF |
fi |
11040 |
#line 5700 "configure" |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
11041 |
#include "confdefs.h" |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
11042 |
#include <$ac_hdr> |
else |
11043 |
EOF |
# Is the header compilable? |
11044 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
11045 |
{ (eval echo configure:5705: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
11046 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
cat >conftest.$ac_ext <<_ACEOF |
11047 |
if test -z "$ac_err"; then |
#line $LINENO "configure" |
11048 |
rm -rf conftest* |
/* confdefs.h. */ |
11049 |
eval "ac_cv_header_$ac_safe=yes" |
_ACEOF |
11050 |
else |
cat confdefs.h >>conftest.$ac_ext |
11051 |
echo "$ac_err" >&5 |
cat >>conftest.$ac_ext <<_ACEOF |
11052 |
echo "configure: failed program was:" >&5 |
/* end confdefs.h. */ |
11053 |
cat conftest.$ac_ext >&5 |
$ac_includes_default |
11054 |
rm -rf conftest* |
#include <$ac_header> |
11055 |
eval "ac_cv_header_$ac_safe=no" |
_ACEOF |
11056 |
fi |
rm -f conftest.$ac_objext |
11057 |
rm -f conftest* |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
11058 |
|
(eval $ac_compile) 2>&5 |
11059 |
|
ac_status=$? |
11060 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11061 |
|
(exit $ac_status); } && |
11062 |
|
{ ac_try='test -s conftest.$ac_objext' |
11063 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11064 |
|
(eval $ac_try) 2>&5 |
11065 |
|
ac_status=$? |
11066 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11067 |
|
(exit $ac_status); }; }; then |
11068 |
|
ac_header_compiler=yes |
11069 |
|
else |
11070 |
|
echo "$as_me: failed program was:" >&5 |
11071 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
11072 |
|
|
11073 |
|
ac_header_compiler=no |
11074 |
|
fi |
11075 |
|
rm -f conftest.$ac_objext conftest.$ac_ext |
11076 |
|
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
11077 |
|
echo "${ECHO_T}$ac_header_compiler" >&6 |
11078 |
|
|
11079 |
|
# Is the header present? |
11080 |
|
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
11081 |
|
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
11082 |
|
cat >conftest.$ac_ext <<_ACEOF |
11083 |
|
#line $LINENO "configure" |
11084 |
|
/* confdefs.h. */ |
11085 |
|
_ACEOF |
11086 |
|
cat confdefs.h >>conftest.$ac_ext |
11087 |
|
cat >>conftest.$ac_ext <<_ACEOF |
11088 |
|
/* end confdefs.h. */ |
11089 |
|
#include <$ac_header> |
11090 |
|
_ACEOF |
11091 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
11092 |
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
11093 |
|
ac_status=$? |
11094 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
11095 |
|
rm -f conftest.er1 |
11096 |
|
cat conftest.err >&5 |
11097 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11098 |
|
(exit $ac_status); } >/dev/null; then |
11099 |
|
if test -s conftest.err; then |
11100 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
11101 |
|
else |
11102 |
|
ac_cpp_err= |
11103 |
|
fi |
11104 |
|
else |
11105 |
|
ac_cpp_err=yes |
11106 |
fi |
fi |
11107 |
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
if test -z "$ac_cpp_err"; then |
11108 |
echo "$ac_t""yes" 1>&6 |
ac_header_preproc=yes |
11109 |
ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` |
else |
11110 |
cat >> confdefs.h <<EOF |
echo "$as_me: failed program was:" >&5 |
11111 |
#define $ac_tr_hdr 1 |
sed 's/^/| /' conftest.$ac_ext >&5 |
11112 |
EOF |
|
11113 |
cat >> confdefs.h <<\EOF |
ac_header_preproc=no |
11114 |
|
fi |
11115 |
|
rm -f conftest.err conftest.$ac_ext |
11116 |
|
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
11117 |
|
echo "${ECHO_T}$ac_header_preproc" >&6 |
11118 |
|
|
11119 |
|
# So? What about this header? |
11120 |
|
case $ac_header_compiler:$ac_header_preproc in |
11121 |
|
yes:no ) |
11122 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
11123 |
|
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
11124 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
11125 |
|
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
11126 |
|
( |
11127 |
|
cat <<\_ASBOX |
11128 |
|
## ------------------------------------ ## |
11129 |
|
## Report this to bug-autoconf@gnu.org. ## |
11130 |
|
## ------------------------------------ ## |
11131 |
|
_ASBOX |
11132 |
|
) | |
11133 |
|
sed "s/^/$as_me: WARNING: /" >&2 |
11134 |
|
;; |
11135 |
|
no:yes ) |
11136 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
11137 |
|
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
11138 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
11139 |
|
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
11140 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
11141 |
|
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
11142 |
|
( |
11143 |
|
cat <<\_ASBOX |
11144 |
|
## ------------------------------------ ## |
11145 |
|
## Report this to bug-autoconf@gnu.org. ## |
11146 |
|
## ------------------------------------ ## |
11147 |
|
_ASBOX |
11148 |
|
) | |
11149 |
|
sed "s/^/$as_me: WARNING: /" >&2 |
11150 |
|
;; |
11151 |
|
esac |
11152 |
|
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
11153 |
|
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
11154 |
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
11155 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
11156 |
|
else |
11157 |
|
eval "$as_ac_Header=$ac_header_preproc" |
11158 |
|
fi |
11159 |
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
11160 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
11161 |
|
|
11162 |
|
fi |
11163 |
|
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
11164 |
|
cat >>confdefs.h <<_ACEOF |
11165 |
|
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
11166 |
|
_ACEOF |
11167 |
|
cat >>confdefs.h <<\_ACEOF |
11168 |
#define HAVE_MATH_H 1 |
#define HAVE_MATH_H 1 |
11169 |
EOF |
_ACEOF |
11170 |
|
|
|
else |
|
|
echo "$ac_t""no" 1>&6 |
|
11171 |
fi |
fi |
11172 |
|
|
11173 |
done |
done |
11174 |
|
|
11175 |
|
|
11176 |
# |
# |
11177 |
# For DBL_MAX et. al. on (only) certain Linux arches, apparently CM |
# For DBL_MAX et. al. on (only) certain Linux arches, apparently CM |
11178 |
# |
# |
11179 |
for ac_hdr in values.h |
|
11180 |
|
for ac_header in values.h |
11181 |
do |
do |
11182 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
11183 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
11184 |
echo "configure:5742: checking for $ac_hdr" >&5 |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
11185 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
11186 |
echo $ac_n "(cached) $ac_c" 1>&6 |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
11187 |
else |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
11188 |
cat > conftest.$ac_ext <<EOF |
fi |
11189 |
#line 5747 "configure" |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
11190 |
#include "confdefs.h" |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
11191 |
#include <$ac_hdr> |
else |
11192 |
EOF |
# Is the header compilable? |
11193 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
11194 |
{ (eval echo configure:5752: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
11195 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
cat >conftest.$ac_ext <<_ACEOF |
11196 |
if test -z "$ac_err"; then |
#line $LINENO "configure" |
11197 |
rm -rf conftest* |
/* confdefs.h. */ |
11198 |
eval "ac_cv_header_$ac_safe=yes" |
_ACEOF |
11199 |
else |
cat confdefs.h >>conftest.$ac_ext |
11200 |
echo "$ac_err" >&5 |
cat >>conftest.$ac_ext <<_ACEOF |
11201 |
echo "configure: failed program was:" >&5 |
/* end confdefs.h. */ |
11202 |
cat conftest.$ac_ext >&5 |
$ac_includes_default |
11203 |
rm -rf conftest* |
#include <$ac_header> |
11204 |
eval "ac_cv_header_$ac_safe=no" |
_ACEOF |
11205 |
fi |
rm -f conftest.$ac_objext |
11206 |
rm -f conftest* |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
11207 |
|
(eval $ac_compile) 2>&5 |
11208 |
|
ac_status=$? |
11209 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11210 |
|
(exit $ac_status); } && |
11211 |
|
{ ac_try='test -s conftest.$ac_objext' |
11212 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11213 |
|
(eval $ac_try) 2>&5 |
11214 |
|
ac_status=$? |
11215 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11216 |
|
(exit $ac_status); }; }; then |
11217 |
|
ac_header_compiler=yes |
11218 |
|
else |
11219 |
|
echo "$as_me: failed program was:" >&5 |
11220 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
11221 |
|
|
11222 |
|
ac_header_compiler=no |
11223 |
|
fi |
11224 |
|
rm -f conftest.$ac_objext conftest.$ac_ext |
11225 |
|
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
11226 |
|
echo "${ECHO_T}$ac_header_compiler" >&6 |
11227 |
|
|
11228 |
|
# Is the header present? |
11229 |
|
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
11230 |
|
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
11231 |
|
cat >conftest.$ac_ext <<_ACEOF |
11232 |
|
#line $LINENO "configure" |
11233 |
|
/* confdefs.h. */ |
11234 |
|
_ACEOF |
11235 |
|
cat confdefs.h >>conftest.$ac_ext |
11236 |
|
cat >>conftest.$ac_ext <<_ACEOF |
11237 |
|
/* end confdefs.h. */ |
11238 |
|
#include <$ac_header> |
11239 |
|
_ACEOF |
11240 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
11241 |
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
11242 |
|
ac_status=$? |
11243 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
11244 |
|
rm -f conftest.er1 |
11245 |
|
cat conftest.err >&5 |
11246 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11247 |
|
(exit $ac_status); } >/dev/null; then |
11248 |
|
if test -s conftest.err; then |
11249 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
11250 |
|
else |
11251 |
|
ac_cpp_err= |
11252 |
|
fi |
11253 |
|
else |
11254 |
|
ac_cpp_err=yes |
11255 |
fi |
fi |
11256 |
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
if test -z "$ac_cpp_err"; then |
11257 |
echo "$ac_t""yes" 1>&6 |
ac_header_preproc=yes |
11258 |
ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` |
else |
11259 |
cat >> confdefs.h <<EOF |
echo "$as_me: failed program was:" >&5 |
11260 |
#define $ac_tr_hdr 1 |
sed 's/^/| /' conftest.$ac_ext >&5 |
11261 |
EOF |
|
11262 |
cat >> confdefs.h <<\EOF |
ac_header_preproc=no |
11263 |
|
fi |
11264 |
|
rm -f conftest.err conftest.$ac_ext |
11265 |
|
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
11266 |
|
echo "${ECHO_T}$ac_header_preproc" >&6 |
11267 |
|
|
11268 |
|
# So? What about this header? |
11269 |
|
case $ac_header_compiler:$ac_header_preproc in |
11270 |
|
yes:no ) |
11271 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
11272 |
|
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
11273 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
11274 |
|
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
11275 |
|
( |
11276 |
|
cat <<\_ASBOX |
11277 |
|
## ------------------------------------ ## |
11278 |
|
## Report this to bug-autoconf@gnu.org. ## |
11279 |
|
## ------------------------------------ ## |
11280 |
|
_ASBOX |
11281 |
|
) | |
11282 |
|
sed "s/^/$as_me: WARNING: /" >&2 |
11283 |
|
;; |
11284 |
|
no:yes ) |
11285 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
11286 |
|
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
11287 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
11288 |
|
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
11289 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
11290 |
|
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
11291 |
|
( |
11292 |
|
cat <<\_ASBOX |
11293 |
|
## ------------------------------------ ## |
11294 |
|
## Report this to bug-autoconf@gnu.org. ## |
11295 |
|
## ------------------------------------ ## |
11296 |
|
_ASBOX |
11297 |
|
) | |
11298 |
|
sed "s/^/$as_me: WARNING: /" >&2 |
11299 |
|
;; |
11300 |
|
esac |
11301 |
|
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
11302 |
|
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
11303 |
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
11304 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
11305 |
|
else |
11306 |
|
eval "$as_ac_Header=$ac_header_preproc" |
11307 |
|
fi |
11308 |
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
11309 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
11310 |
|
|
11311 |
|
fi |
11312 |
|
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
11313 |
|
cat >>confdefs.h <<_ACEOF |
11314 |
|
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
11315 |
|
_ACEOF |
11316 |
|
cat >>confdefs.h <<\_ACEOF |
11317 |
#define HAVE_VALUES_H 1 |
#define HAVE_VALUES_H 1 |
11318 |
EOF |
_ACEOF |
11319 |
|
|
|
else |
|
|
echo "$ac_t""no" 1>&6 |
|
11320 |
fi |
fi |
11321 |
|
|
11322 |
done |
done |
11323 |
|
|
11324 |
|
|
11325 |
# |
# |
11326 |
# Sparc solaris keeps this in float.h, rework either/or with values.h later |
# Sparc solaris keeps this in float.h, rework either/or with values.h later |
11327 |
# |
# |
11328 |
for ac_hdr in float.h |
|
11329 |
|
for ac_header in float.h |
11330 |
do |
do |
11331 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
11332 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
11333 |
echo "configure:5789: checking for $ac_hdr" >&5 |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
11334 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
11335 |
echo $ac_n "(cached) $ac_c" 1>&6 |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
11336 |
else |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
11337 |
cat > conftest.$ac_ext <<EOF |
fi |
11338 |
#line 5794 "configure" |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
11339 |
#include "confdefs.h" |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
11340 |
#include <$ac_hdr> |
else |
11341 |
EOF |
# Is the header compilable? |
11342 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
11343 |
{ (eval echo configure:5799: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
11344 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
cat >conftest.$ac_ext <<_ACEOF |
11345 |
if test -z "$ac_err"; then |
#line $LINENO "configure" |
11346 |
rm -rf conftest* |
/* confdefs.h. */ |
11347 |
eval "ac_cv_header_$ac_safe=yes" |
_ACEOF |
11348 |
else |
cat confdefs.h >>conftest.$ac_ext |
11349 |
echo "$ac_err" >&5 |
cat >>conftest.$ac_ext <<_ACEOF |
11350 |
echo "configure: failed program was:" >&5 |
/* end confdefs.h. */ |
11351 |
cat conftest.$ac_ext >&5 |
$ac_includes_default |
11352 |
rm -rf conftest* |
#include <$ac_header> |
11353 |
eval "ac_cv_header_$ac_safe=no" |
_ACEOF |
11354 |
fi |
rm -f conftest.$ac_objext |
11355 |
rm -f conftest* |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
11356 |
|
(eval $ac_compile) 2>&5 |
11357 |
|
ac_status=$? |
11358 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11359 |
|
(exit $ac_status); } && |
11360 |
|
{ ac_try='test -s conftest.$ac_objext' |
11361 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11362 |
|
(eval $ac_try) 2>&5 |
11363 |
|
ac_status=$? |
11364 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11365 |
|
(exit $ac_status); }; }; then |
11366 |
|
ac_header_compiler=yes |
11367 |
|
else |
11368 |
|
echo "$as_me: failed program was:" >&5 |
11369 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
11370 |
|
|
11371 |
|
ac_header_compiler=no |
11372 |
|
fi |
11373 |
|
rm -f conftest.$ac_objext conftest.$ac_ext |
11374 |
|
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
11375 |
|
echo "${ECHO_T}$ac_header_compiler" >&6 |
11376 |
|
|
11377 |
|
# Is the header present? |
11378 |
|
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
11379 |
|
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
11380 |
|
cat >conftest.$ac_ext <<_ACEOF |
11381 |
|
#line $LINENO "configure" |
11382 |
|
/* confdefs.h. */ |
11383 |
|
_ACEOF |
11384 |
|
cat confdefs.h >>conftest.$ac_ext |
11385 |
|
cat >>conftest.$ac_ext <<_ACEOF |
11386 |
|
/* end confdefs.h. */ |
11387 |
|
#include <$ac_header> |
11388 |
|
_ACEOF |
11389 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
11390 |
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
11391 |
|
ac_status=$? |
11392 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
11393 |
|
rm -f conftest.er1 |
11394 |
|
cat conftest.err >&5 |
11395 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11396 |
|
(exit $ac_status); } >/dev/null; then |
11397 |
|
if test -s conftest.err; then |
11398 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
11399 |
|
else |
11400 |
|
ac_cpp_err= |
11401 |
|
fi |
11402 |
|
else |
11403 |
|
ac_cpp_err=yes |
11404 |
fi |
fi |
11405 |
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
if test -z "$ac_cpp_err"; then |
11406 |
echo "$ac_t""yes" 1>&6 |
ac_header_preproc=yes |
11407 |
ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` |
else |
11408 |
cat >> confdefs.h <<EOF |
echo "$as_me: failed program was:" >&5 |
11409 |
#define $ac_tr_hdr 1 |
sed 's/^/| /' conftest.$ac_ext >&5 |
11410 |
EOF |
|
11411 |
cat >> confdefs.h <<\EOF |
ac_header_preproc=no |
11412 |
|
fi |
11413 |
|
rm -f conftest.err conftest.$ac_ext |
11414 |
|
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
11415 |
|
echo "${ECHO_T}$ac_header_preproc" >&6 |
11416 |
|
|
11417 |
|
# So? What about this header? |
11418 |
|
case $ac_header_compiler:$ac_header_preproc in |
11419 |
|
yes:no ) |
11420 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
11421 |
|
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
11422 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
11423 |
|
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
11424 |
|
( |
11425 |
|
cat <<\_ASBOX |
11426 |
|
## ------------------------------------ ## |
11427 |
|
## Report this to bug-autoconf@gnu.org. ## |
11428 |
|
## ------------------------------------ ## |
11429 |
|
_ASBOX |
11430 |
|
) | |
11431 |
|
sed "s/^/$as_me: WARNING: /" >&2 |
11432 |
|
;; |
11433 |
|
no:yes ) |
11434 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
11435 |
|
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
11436 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
11437 |
|
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
11438 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
11439 |
|
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
11440 |
|
( |
11441 |
|
cat <<\_ASBOX |
11442 |
|
## ------------------------------------ ## |
11443 |
|
## Report this to bug-autoconf@gnu.org. ## |
11444 |
|
## ------------------------------------ ## |
11445 |
|
_ASBOX |
11446 |
|
) | |
11447 |
|
sed "s/^/$as_me: WARNING: /" >&2 |
11448 |
|
;; |
11449 |
|
esac |
11450 |
|
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
11451 |
|
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
11452 |
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
11453 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
11454 |
|
else |
11455 |
|
eval "$as_ac_Header=$ac_header_preproc" |
11456 |
|
fi |
11457 |
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
11458 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
11459 |
|
|
11460 |
|
fi |
11461 |
|
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
11462 |
|
cat >>confdefs.h <<_ACEOF |
11463 |
|
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
11464 |
|
_ACEOF |
11465 |
|
cat >>confdefs.h <<\_ACEOF |
11466 |
#define HAVE_FLOAT_H 1 |
#define HAVE_FLOAT_H 1 |
11467 |
EOF |
_ACEOF |
11468 |
|
|
|
else |
|
|
echo "$ac_t""no" 1>&6 |
|
11469 |
fi |
fi |
11470 |
|
|
11471 |
done |
done |
11472 |
|
|
11473 |
|
|
11476 |
# a more comprehensive later, i.e. checking that the fpclass |
# a more comprehensive later, i.e. checking that the fpclass |
11477 |
# test makes sense. CM |
# test makes sense. CM |
11478 |
# |
# |
11479 |
echo $ac_n "checking for isnormal""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for isnormal" >&5 |
11480 |
echo "configure:5835: checking for isnormal" >&5 |
echo $ECHO_N "checking for isnormal... $ECHO_C" >&6 |
11481 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
11482 |
HAVE_ISNORMAL=0 echo "$ac_t""no" 1>&6 |
HAVE_ISNORMAL=0 echo "$as_me:$LINENO: result: no" >&5 |
11483 |
|
echo "${ECHO_T}no" >&6 |
11484 |
else |
else |
11485 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
11486 |
#line 5840 "configure" |
#line $LINENO "configure" |
11487 |
#include "confdefs.h" |
/* confdefs.h. */ |
11488 |
|
_ACEOF |
11489 |
|
cat confdefs.h >>conftest.$ac_ext |
11490 |
|
cat >>conftest.$ac_ext <<_ACEOF |
11491 |
|
/* end confdefs.h. */ |
11492 |
#define _GNU_SOURCE 1 |
#define _GNU_SOURCE 1 |
11493 |
#include <math.h> |
#include <math.h> |
11494 |
int main() { |
int main() { |
11495 |
float f; |
float f; |
11496 |
return isnormal(f) || !isnormal(f) ? 0 : 1; |
return isnormal(f) || !isnormal(f) ? 0 : 1; |
11497 |
} |
} |
11498 |
EOF |
_ACEOF |
11499 |
if { (eval echo configure:5849: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
rm -f conftest$ac_exeext |
11500 |
then |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
11501 |
cat >> confdefs.h <<\EOF |
(eval $ac_link) 2>&5 |
11502 |
|
ac_status=$? |
11503 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11504 |
|
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
11505 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11506 |
|
(eval $ac_try) 2>&5 |
11507 |
|
ac_status=$? |
11508 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11509 |
|
(exit $ac_status); }; }; then |
11510 |
|
cat >>confdefs.h <<\_ACEOF |
11511 |
#define HAVE_ISNORMAL 1 |
#define HAVE_ISNORMAL 1 |
11512 |
EOF |
_ACEOF |
11513 |
echo "$ac_t""yes" 1>&6 |
echo "$as_me:$LINENO: result: yes" >&5 |
11514 |
else |
echo "${ECHO_T}yes" >&6 |
11515 |
echo "configure: failed program was:" >&5 |
else |
11516 |
cat conftest.$ac_ext >&5 |
echo "$as_me: program exited with status $ac_status" >&5 |
11517 |
rm -fr conftest* |
echo "$as_me: failed program was:" >&5 |
11518 |
echo $ac_n "checking for fpclass in ieeefp.h""... $ac_c" 1>&6 |
sed 's/^/| /' conftest.$ac_ext >&5 |
11519 |
echo "configure:5860: checking for fpclass in ieeefp.h" >&5 |
|
11520 |
|
( exit $ac_status ) |
11521 |
|
echo "$as_me:$LINENO: checking for fpclass in ieeefp.h" >&5 |
11522 |
|
echo $ECHO_N "checking for fpclass in ieeefp.h... $ECHO_C" >&6 |
11523 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
11524 |
HAVE_IEEEFP=0 echo "$ac_t""no" 1>&6 |
HAVE_IEEEFP=0 echo "$as_me:$LINENO: result: no" >&5 |
11525 |
|
echo "${ECHO_T}no" >&6 |
11526 |
else |
else |
11527 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
11528 |
#line 5865 "configure" |
#line $LINENO "configure" |
11529 |
#include "confdefs.h" |
/* confdefs.h. */ |
11530 |
|
_ACEOF |
11531 |
|
cat confdefs.h >>conftest.$ac_ext |
11532 |
|
cat >>conftest.$ac_ext <<_ACEOF |
11533 |
|
/* end confdefs.h. */ |
11534 |
#include <ieeefp.h> |
#include <ieeefp.h> |
11535 |
int main() { |
int main() { |
11536 |
float f; |
float f; |
11537 |
return fpclass(f)>=FP_NZERO || fpclass(f)<FP_NZERO ? 0 : 1; |
return fpclass(f)>=FP_NZERO || fpclass(f)<FP_NZERO ? 0 : 1; |
11538 |
} |
} |
11539 |
EOF |
_ACEOF |
11540 |
if { (eval echo configure:5873: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
rm -f conftest$ac_exeext |
11541 |
then |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
11542 |
cat >> confdefs.h <<\EOF |
(eval $ac_link) 2>&5 |
11543 |
|
ac_status=$? |
11544 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11545 |
|
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
11546 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11547 |
|
(eval $ac_try) 2>&5 |
11548 |
|
ac_status=$? |
11549 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11550 |
|
(exit $ac_status); }; }; then |
11551 |
|
cat >>confdefs.h <<\_ACEOF |
11552 |
#define HAVE_IEEEFP 1 |
#define HAVE_IEEEFP 1 |
11553 |
EOF |
_ACEOF |
11554 |
echo "$ac_t""yes" 1>&6 |
echo "$as_me:$LINENO: result: yes" >&5 |
11555 |
|
echo "${ECHO_T}yes" >&6 |
11556 |
else |
else |
11557 |
echo "configure: failed program was:" >&5 |
echo "$as_me: program exited with status $ac_status" >&5 |
11558 |
cat conftest.$ac_ext >&5 |
echo "$as_me: failed program was:" >&5 |
11559 |
rm -fr conftest* |
sed 's/^/| /' conftest.$ac_ext >&5 |
11560 |
HAVE_IEEEFP=0 echo "$ac_t""no" 1>&6 |
|
11561 |
|
( exit $ac_status ) |
11562 |
|
HAVE_IEEEFP=0 echo "$as_me:$LINENO: result: no" >&5 |
11563 |
|
echo "${ECHO_T}no" >&6 |
11564 |
fi |
fi |
11565 |
rm -fr conftest* |
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
11566 |
fi |
fi |
11567 |
|
|
|
|
|
11568 |
fi |
fi |
11569 |
rm -fr conftest* |
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
11570 |
fi |
fi |
11571 |
|
|
11572 |
|
echo "$as_me:$LINENO: checking for isfinite" >&5 |
11573 |
echo $ac_n "checking for isfinite""... $ac_c" 1>&6 |
echo $ECHO_N "checking for isfinite... $ECHO_C" >&6 |
|
echo "configure:5895: checking for isfinite" >&5 |
|
11574 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
11575 |
HAVE_ISFINITE=0 echo "$ac_t""no" 1>&6 |
HAVE_ISFINITE=0 echo "$as_me:$LINENO: result: no" >&5 |
11576 |
|
echo "${ECHO_T}no" >&6 |
11577 |
else |
else |
11578 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
11579 |
#line 5900 "configure" |
#line $LINENO "configure" |
11580 |
#include "confdefs.h" |
/* confdefs.h. */ |
11581 |
|
_ACEOF |
11582 |
|
cat confdefs.h >>conftest.$ac_ext |
11583 |
|
cat >>conftest.$ac_ext <<_ACEOF |
11584 |
|
/* end confdefs.h. */ |
11585 |
#define _GNU_SOURCE 1 |
#define _GNU_SOURCE 1 |
11586 |
#include <math.h> |
#include <math.h> |
11587 |
int main() { |
int main() { |
11588 |
float f; |
float f; |
11589 |
return isfinite(f) || !isfinite(f) ? 0 : 1; |
return isfinite(f) || !isfinite(f) ? 0 : 1; |
11590 |
} |
} |
11591 |
EOF |
_ACEOF |
11592 |
if { (eval echo configure:5909: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
rm -f conftest$ac_exeext |
11593 |
then |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
11594 |
cat >> confdefs.h <<\EOF |
(eval $ac_link) 2>&5 |
11595 |
|
ac_status=$? |
11596 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11597 |
|
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
11598 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11599 |
|
(eval $ac_try) 2>&5 |
11600 |
|
ac_status=$? |
11601 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11602 |
|
(exit $ac_status); }; }; then |
11603 |
|
cat >>confdefs.h <<\_ACEOF |
11604 |
#define HAVE_ISFINITE 1 |
#define HAVE_ISFINITE 1 |
11605 |
EOF |
_ACEOF |
11606 |
echo "$ac_t""yes" 1>&6 |
echo "$as_me:$LINENO: result: yes" >&5 |
11607 |
else |
echo "${ECHO_T}yes" >&6 |
11608 |
echo "configure: failed program was:" >&5 |
else |
11609 |
cat conftest.$ac_ext >&5 |
echo "$as_me: program exited with status $ac_status" >&5 |
11610 |
rm -fr conftest* |
echo "$as_me: failed program was:" >&5 |
11611 |
echo $ac_n "checking for finite()""... $ac_c" 1>&6 |
sed 's/^/| /' conftest.$ac_ext >&5 |
11612 |
echo "configure:5920: checking for finite()" >&5 |
|
11613 |
|
( exit $ac_status ) |
11614 |
|
echo "$as_me:$LINENO: checking for finite()" >&5 |
11615 |
|
echo $ECHO_N "checking for finite()... $ECHO_C" >&6 |
11616 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
11617 |
HAVE_FINITE=0 echo "$ac_t""no" 1>&6 |
HAVE_FINITE=0 echo "$as_me:$LINENO: result: no" >&5 |
11618 |
|
echo "${ECHO_T}no" >&6 |
11619 |
else |
else |
11620 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
11621 |
#line 5925 "configure" |
#line $LINENO "configure" |
11622 |
#include "confdefs.h" |
/* confdefs.h. */ |
11623 |
|
_ACEOF |
11624 |
|
cat confdefs.h >>conftest.$ac_ext |
11625 |
|
cat >>conftest.$ac_ext <<_ACEOF |
11626 |
|
/* end confdefs.h. */ |
11627 |
#include <math.h> |
#include <math.h> |
11628 |
#include <ieeefp.h> |
#include <ieeefp.h> |
11629 |
int main() { |
int main() { |
11630 |
float f; |
float f; |
11631 |
return finite(f) || !finite(f) ? 0 : 1; |
return finite(f) || !finite(f) ? 0 : 1; |
11632 |
} |
} |
11633 |
EOF |
_ACEOF |
11634 |
if { (eval echo configure:5934: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
rm -f conftest$ac_exeext |
11635 |
then |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
11636 |
cat >> confdefs.h <<\EOF |
(eval $ac_link) 2>&5 |
11637 |
|
ac_status=$? |
11638 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11639 |
|
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
11640 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11641 |
|
(eval $ac_try) 2>&5 |
11642 |
|
ac_status=$? |
11643 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11644 |
|
(exit $ac_status); }; }; then |
11645 |
|
cat >>confdefs.h <<\_ACEOF |
11646 |
#define HAVE_FINITE 1 |
#define HAVE_FINITE 1 |
11647 |
EOF |
_ACEOF |
11648 |
echo "$ac_t""yes" 1>&6 |
echo "$as_me:$LINENO: result: yes" >&5 |
11649 |
|
echo "${ECHO_T}yes" >&6 |
11650 |
else |
else |
11651 |
echo "configure: failed program was:" >&5 |
echo "$as_me: program exited with status $ac_status" >&5 |
11652 |
cat conftest.$ac_ext >&5 |
echo "$as_me: failed program was:" >&5 |
11653 |
rm -fr conftest* |
sed 's/^/| /' conftest.$ac_ext >&5 |
11654 |
HAVE_FINITE=0 echo "$ac_t""no" 1>&6 |
|
11655 |
|
( exit $ac_status ) |
11656 |
|
HAVE_FINITE=0 echo "$as_me:$LINENO: result: no" >&5 |
11657 |
|
echo "${ECHO_T}no" >&6 |
11658 |
fi |
fi |
11659 |
rm -fr conftest* |
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
11660 |
fi |
fi |
11661 |
|
|
|
|
|
11662 |
fi |
fi |
11663 |
rm -fr conftest* |
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
11664 |
fi |
fi |
11665 |
|
|
11666 |
|
|
11667 |
|
|
|
|
|
11668 |
#-------------------------------------------------------------------- |
#-------------------------------------------------------------------- |
11669 |
# Check for the existence of the -lsocket and -lnsl libraries. |
# Check for the existence of the -lsocket and -lnsl libraries. |
11670 |
# The order here is important, so that they end up in the right |
# The order here is important, so that they end up in the right |
11682 |
# To get around this problem, check for both libraries together |
# To get around this problem, check for both libraries together |
11683 |
# if -lsocket doesn't work by itself. |
# if -lsocket doesn't work by itself. |
11684 |
#-------------------------------------------------------------------- |
#-------------------------------------------------------------------- |
11685 |
echo $ac_n "checking for sockets""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for sockets" >&5 |
11686 |
echo "configure:5975: checking for sockets" >&5 |
echo $ECHO_N "checking for sockets... $ECHO_C" >&6 |
11687 |
tcl_checkBoth=0 |
tcl_checkBoth=0 |
11688 |
echo $ac_n "checking for connect""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for connect" >&5 |
11689 |
echo "configure:5978: checking for connect" >&5 |
echo $ECHO_N "checking for connect... $ECHO_C" >&6 |
11690 |
if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then |
if test "${ac_cv_func_connect+set}" = set; then |
11691 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
11692 |
else |
else |
11693 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
11694 |
#line 5983 "configure" |
#line $LINENO "configure" |
11695 |
#include "confdefs.h" |
/* confdefs.h. */ |
11696 |
|
_ACEOF |
11697 |
|
cat confdefs.h >>conftest.$ac_ext |
11698 |
|
cat >>conftest.$ac_ext <<_ACEOF |
11699 |
|
/* end confdefs.h. */ |
11700 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
11701 |
which can conflict with char connect(); below. */ |
which can conflict with char connect (); below. */ |
11702 |
#include <assert.h> |
#include <assert.h> |
11703 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
11704 |
|
#ifdef __cplusplus |
11705 |
|
extern "C" |
11706 |
|
{ |
11707 |
|
#endif |
11708 |
/* We use char because int might match the return type of a gcc2 |
/* We use char because int might match the return type of a gcc2 |
11709 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
11710 |
char connect(); |
char connect (); |
|
|
|
|
int main() { |
|
|
|
|
11711 |
/* The GNU C library defines this for functions which it implements |
/* The GNU C library defines this for functions which it implements |
11712 |
to always fail with ENOSYS. Some functions are actually named |
to always fail with ENOSYS. Some functions are actually named |
11713 |
something starting with __ and the normal name is an alias. */ |
something starting with __ and the normal name is an alias. */ |
11714 |
#if defined (__stub_connect) || defined (__stub___connect) |
#if defined (__stub_connect) || defined (__stub___connect) |
11715 |
choke me |
choke me |
11716 |
#else |
#else |
11717 |
connect(); |
char (*f) () = connect; |
11718 |
|
#endif |
11719 |
|
#ifdef __cplusplus |
11720 |
|
} |
11721 |
#endif |
#endif |
11722 |
|
|
11723 |
; return 0; } |
int |
11724 |
EOF |
main () |
11725 |
if { (eval echo configure:6006: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
{ |
|
rm -rf conftest* |
|
|
eval "ac_cv_func_connect=yes" |
|
|
else |
|
|
echo "configure: failed program was:" >&5 |
|
|
cat conftest.$ac_ext >&5 |
|
|
rm -rf conftest* |
|
|
eval "ac_cv_func_connect=no" |
|
|
fi |
|
|
rm -f conftest* |
|
|
fi |
|
11726 |
|
|
11727 |
if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then |
; |
11728 |
echo "$ac_t""yes" 1>&6 |
return 0; |
11729 |
|
} |
11730 |
|
_ACEOF |
11731 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
11732 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
11733 |
|
(eval $ac_link) 2>&5 |
11734 |
|
ac_status=$? |
11735 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11736 |
|
(exit $ac_status); } && |
11737 |
|
{ ac_try='test -s conftest$ac_exeext' |
11738 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11739 |
|
(eval $ac_try) 2>&5 |
11740 |
|
ac_status=$? |
11741 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11742 |
|
(exit $ac_status); }; }; then |
11743 |
|
ac_cv_func_connect=yes |
11744 |
|
else |
11745 |
|
echo "$as_me: failed program was:" >&5 |
11746 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
11747 |
|
|
11748 |
|
ac_cv_func_connect=no |
11749 |
|
fi |
11750 |
|
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
11751 |
|
fi |
11752 |
|
echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5 |
11753 |
|
echo "${ECHO_T}$ac_cv_func_connect" >&6 |
11754 |
|
if test $ac_cv_func_connect = yes; then |
11755 |
tcl_checkSocket=0 |
tcl_checkSocket=0 |
11756 |
else |
else |
11757 |
echo "$ac_t""no" 1>&6 |
tcl_checkSocket=1 |
|
tcl_checkSocket=1 |
|
11758 |
fi |
fi |
11759 |
|
|
11760 |
if test "$tcl_checkSocket" = 1; then |
if test "$tcl_checkSocket" = 1; then |
11761 |
echo $ac_n "checking for main in -lsocket""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for main in -lsocket" >&5 |
11762 |
echo "configure:6028: checking for main in -lsocket" >&5 |
echo $ECHO_N "checking for main in -lsocket... $ECHO_C" >&6 |
11763 |
ac_lib_var=`echo socket'_'main | sed 'y%./+-%__p_%'` |
if test "${ac_cv_lib_socket_main+set}" = set; then |
11764 |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
11765 |
else |
else |
11766 |
ac_save_LIBS="$LIBS" |
ac_check_lib_save_LIBS=$LIBS |
11767 |
LIBS="-lsocket $LIBS" |
LIBS="-lsocket $LIBS" |
11768 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
11769 |
#line 6036 "configure" |
#line $LINENO "configure" |
11770 |
#include "confdefs.h" |
/* confdefs.h. */ |
11771 |
|
_ACEOF |
11772 |
|
cat confdefs.h >>conftest.$ac_ext |
11773 |
|
cat >>conftest.$ac_ext <<_ACEOF |
11774 |
|
/* end confdefs.h. */ |
11775 |
|
|
|
int main() { |
|
|
main() |
|
|
; return 0; } |
|
|
EOF |
|
|
if { (eval echo configure:6043: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|
|
rm -rf conftest* |
|
|
eval "ac_cv_lib_$ac_lib_var=yes" |
|
|
else |
|
|
echo "configure: failed program was:" >&5 |
|
|
cat conftest.$ac_ext >&5 |
|
|
rm -rf conftest* |
|
|
eval "ac_cv_lib_$ac_lib_var=no" |
|
|
fi |
|
|
rm -f conftest* |
|
|
LIBS="$ac_save_LIBS" |
|
11776 |
|
|
11777 |
fi |
int |
11778 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
main () |
11779 |
echo "$ac_t""yes" 1>&6 |
{ |
11780 |
|
main (); |
11781 |
|
; |
11782 |
|
return 0; |
11783 |
|
} |
11784 |
|
_ACEOF |
11785 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
11786 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
11787 |
|
(eval $ac_link) 2>&5 |
11788 |
|
ac_status=$? |
11789 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11790 |
|
(exit $ac_status); } && |
11791 |
|
{ ac_try='test -s conftest$ac_exeext' |
11792 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11793 |
|
(eval $ac_try) 2>&5 |
11794 |
|
ac_status=$? |
11795 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11796 |
|
(exit $ac_status); }; }; then |
11797 |
|
ac_cv_lib_socket_main=yes |
11798 |
|
else |
11799 |
|
echo "$as_me: failed program was:" >&5 |
11800 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
11801 |
|
|
11802 |
|
ac_cv_lib_socket_main=no |
11803 |
|
fi |
11804 |
|
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
11805 |
|
LIBS=$ac_check_lib_save_LIBS |
11806 |
|
fi |
11807 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_socket_main" >&5 |
11808 |
|
echo "${ECHO_T}$ac_cv_lib_socket_main" >&6 |
11809 |
|
if test $ac_cv_lib_socket_main = yes; then |
11810 |
TLIBS="$TLIBS -lsocket" |
TLIBS="$TLIBS -lsocket" |
11811 |
else |
else |
11812 |
echo "$ac_t""no" 1>&6 |
tcl_checkBoth=1 |
|
tcl_checkBoth=1 |
|
11813 |
fi |
fi |
11814 |
|
|
11815 |
fi |
fi |
11818 |
if test "$tcl_checkBoth" = 1; then |
if test "$tcl_checkBoth" = 1; then |
11819 |
tk_oldLibs=$TLIBS |
tk_oldLibs=$TLIBS |
11820 |
TLIBS="$TLIBS -lsocket -lnsl" |
TLIBS="$TLIBS -lsocket -lnsl" |
11821 |
echo $ac_n "checking for accept""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for accept" >&5 |
11822 |
echo "configure:6071: checking for accept" >&5 |
echo $ECHO_N "checking for accept... $ECHO_C" >&6 |
11823 |
if eval "test \"`echo '$''{'ac_cv_func_accept'+set}'`\" = set"; then |
if test "${ac_cv_func_accept+set}" = set; then |
11824 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
11825 |
else |
else |
11826 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
11827 |
#line 6076 "configure" |
#line $LINENO "configure" |
11828 |
#include "confdefs.h" |
/* confdefs.h. */ |
11829 |
|
_ACEOF |
11830 |
|
cat confdefs.h >>conftest.$ac_ext |
11831 |
|
cat >>conftest.$ac_ext <<_ACEOF |
11832 |
|
/* end confdefs.h. */ |
11833 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
11834 |
which can conflict with char accept(); below. */ |
which can conflict with char accept (); below. */ |
11835 |
#include <assert.h> |
#include <assert.h> |
11836 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
11837 |
|
#ifdef __cplusplus |
11838 |
|
extern "C" |
11839 |
|
{ |
11840 |
|
#endif |
11841 |
/* We use char because int might match the return type of a gcc2 |
/* We use char because int might match the return type of a gcc2 |
11842 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
11843 |
char accept(); |
char accept (); |
|
|
|
|
int main() { |
|
|
|
|
11844 |
/* The GNU C library defines this for functions which it implements |
/* The GNU C library defines this for functions which it implements |
11845 |
to always fail with ENOSYS. Some functions are actually named |
to always fail with ENOSYS. Some functions are actually named |
11846 |
something starting with __ and the normal name is an alias. */ |
something starting with __ and the normal name is an alias. */ |
11847 |
#if defined (__stub_accept) || defined (__stub___accept) |
#if defined (__stub_accept) || defined (__stub___accept) |
11848 |
choke me |
choke me |
11849 |
#else |
#else |
11850 |
accept(); |
char (*f) () = accept; |
11851 |
|
#endif |
11852 |
|
#ifdef __cplusplus |
11853 |
|
} |
11854 |
#endif |
#endif |
11855 |
|
|
11856 |
; return 0; } |
int |
11857 |
EOF |
main () |
11858 |
if { (eval echo configure:6099: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
{ |
|
rm -rf conftest* |
|
|
eval "ac_cv_func_accept=yes" |
|
|
else |
|
|
echo "configure: failed program was:" >&5 |
|
|
cat conftest.$ac_ext >&5 |
|
|
rm -rf conftest* |
|
|
eval "ac_cv_func_accept=no" |
|
|
fi |
|
|
rm -f conftest* |
|
|
fi |
|
11859 |
|
|
11860 |
if eval "test \"`echo '$ac_cv_func_'accept`\" = yes"; then |
; |
11861 |
echo "$ac_t""yes" 1>&6 |
return 0; |
11862 |
|
} |
11863 |
|
_ACEOF |
11864 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
11865 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
11866 |
|
(eval $ac_link) 2>&5 |
11867 |
|
ac_status=$? |
11868 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11869 |
|
(exit $ac_status); } && |
11870 |
|
{ ac_try='test -s conftest$ac_exeext' |
11871 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11872 |
|
(eval $ac_try) 2>&5 |
11873 |
|
ac_status=$? |
11874 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11875 |
|
(exit $ac_status); }; }; then |
11876 |
|
ac_cv_func_accept=yes |
11877 |
|
else |
11878 |
|
echo "$as_me: failed program was:" >&5 |
11879 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
11880 |
|
|
11881 |
|
ac_cv_func_accept=no |
11882 |
|
fi |
11883 |
|
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
11884 |
|
fi |
11885 |
|
echo "$as_me:$LINENO: result: $ac_cv_func_accept" >&5 |
11886 |
|
echo "${ECHO_T}$ac_cv_func_accept" >&6 |
11887 |
|
if test $ac_cv_func_accept = yes; then |
11888 |
tcl_checkNsl=0 |
tcl_checkNsl=0 |
11889 |
else |
else |
11890 |
echo "$ac_t""no" 1>&6 |
TLIBS=$tk_oldLibs |
|
TLIBS=$tk_oldLibs |
|
11891 |
fi |
fi |
11892 |
|
|
11893 |
fi |
fi |
11894 |
echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for gethostbyname" >&5 |
11895 |
echo "configure:6121: checking for gethostbyname" >&5 |
echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6 |
11896 |
if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then |
if test "${ac_cv_func_gethostbyname+set}" = set; then |
11897 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
11898 |
else |
else |
11899 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
11900 |
#line 6126 "configure" |
#line $LINENO "configure" |
11901 |
#include "confdefs.h" |
/* confdefs.h. */ |
11902 |
|
_ACEOF |
11903 |
|
cat confdefs.h >>conftest.$ac_ext |
11904 |
|
cat >>conftest.$ac_ext <<_ACEOF |
11905 |
|
/* end confdefs.h. */ |
11906 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
11907 |
which can conflict with char gethostbyname(); below. */ |
which can conflict with char gethostbyname (); below. */ |
11908 |
#include <assert.h> |
#include <assert.h> |
11909 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
11910 |
|
#ifdef __cplusplus |
11911 |
|
extern "C" |
11912 |
|
{ |
11913 |
|
#endif |
11914 |
/* We use char because int might match the return type of a gcc2 |
/* We use char because int might match the return type of a gcc2 |
11915 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
11916 |
char gethostbyname(); |
char gethostbyname (); |
|
|
|
|
int main() { |
|
|
|
|
11917 |
/* The GNU C library defines this for functions which it implements |
/* The GNU C library defines this for functions which it implements |
11918 |
to always fail with ENOSYS. Some functions are actually named |
to always fail with ENOSYS. Some functions are actually named |
11919 |
something starting with __ and the normal name is an alias. */ |
something starting with __ and the normal name is an alias. */ |
11920 |
#if defined (__stub_gethostbyname) || defined (__stub___gethostbyname) |
#if defined (__stub_gethostbyname) || defined (__stub___gethostbyname) |
11921 |
choke me |
choke me |
11922 |
#else |
#else |
11923 |
gethostbyname(); |
char (*f) () = gethostbyname; |
11924 |
|
#endif |
11925 |
|
#ifdef __cplusplus |
11926 |
|
} |
11927 |
#endif |
#endif |
11928 |
|
|
11929 |
; return 0; } |
int |
11930 |
EOF |
main () |
11931 |
if { (eval echo configure:6149: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
{ |
|
rm -rf conftest* |
|
|
eval "ac_cv_func_gethostbyname=yes" |
|
|
else |
|
|
echo "configure: failed program was:" >&5 |
|
|
cat conftest.$ac_ext >&5 |
|
|
rm -rf conftest* |
|
|
eval "ac_cv_func_gethostbyname=no" |
|
|
fi |
|
|
rm -f conftest* |
|
|
fi |
|
11932 |
|
|
11933 |
if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then |
; |
11934 |
echo "$ac_t""yes" 1>&6 |
return 0; |
11935 |
|
} |
11936 |
|
_ACEOF |
11937 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
11938 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
11939 |
|
(eval $ac_link) 2>&5 |
11940 |
|
ac_status=$? |
11941 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11942 |
|
(exit $ac_status); } && |
11943 |
|
{ ac_try='test -s conftest$ac_exeext' |
11944 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11945 |
|
(eval $ac_try) 2>&5 |
11946 |
|
ac_status=$? |
11947 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11948 |
|
(exit $ac_status); }; }; then |
11949 |
|
ac_cv_func_gethostbyname=yes |
11950 |
|
else |
11951 |
|
echo "$as_me: failed program was:" >&5 |
11952 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
11953 |
|
|
11954 |
|
ac_cv_func_gethostbyname=no |
11955 |
|
fi |
11956 |
|
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
11957 |
|
fi |
11958 |
|
echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5 |
11959 |
|
echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6 |
11960 |
|
if test $ac_cv_func_gethostbyname = yes; then |
11961 |
: |
: |
11962 |
else |
else |
11963 |
echo "$ac_t""no" 1>&6 |
echo "$as_me:$LINENO: checking for main in -lnsl" >&5 |
11964 |
echo $ac_n "checking for main in -lnsl""... $ac_c" 1>&6 |
echo $ECHO_N "checking for main in -lnsl... $ECHO_C" >&6 |
11965 |
echo "configure:6167: checking for main in -lnsl" >&5 |
if test "${ac_cv_lib_nsl_main+set}" = set; then |
11966 |
ac_lib_var=`echo nsl'_'main | sed 'y%./+-%__p_%'` |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
11967 |
else |
else |
11968 |
ac_save_LIBS="$LIBS" |
ac_check_lib_save_LIBS=$LIBS |
11969 |
LIBS="-lnsl $LIBS" |
LIBS="-lnsl $LIBS" |
11970 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
11971 |
#line 6175 "configure" |
#line $LINENO "configure" |
11972 |
#include "confdefs.h" |
/* confdefs.h. */ |
11973 |
|
_ACEOF |
11974 |
|
cat confdefs.h >>conftest.$ac_ext |
11975 |
|
cat >>conftest.$ac_ext <<_ACEOF |
11976 |
|
/* end confdefs.h. */ |
11977 |
|
|
|
int main() { |
|
|
main() |
|
|
; return 0; } |
|
|
EOF |
|
|
if { (eval echo configure:6182: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|
|
rm -rf conftest* |
|
|
eval "ac_cv_lib_$ac_lib_var=yes" |
|
|
else |
|
|
echo "configure: failed program was:" >&5 |
|
|
cat conftest.$ac_ext >&5 |
|
|
rm -rf conftest* |
|
|
eval "ac_cv_lib_$ac_lib_var=no" |
|
|
fi |
|
|
rm -f conftest* |
|
|
LIBS="$ac_save_LIBS" |
|
11978 |
|
|
11979 |
fi |
int |
11980 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
main () |
11981 |
echo "$ac_t""yes" 1>&6 |
{ |
11982 |
|
main (); |
11983 |
|
; |
11984 |
|
return 0; |
11985 |
|
} |
11986 |
|
_ACEOF |
11987 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
11988 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
11989 |
|
(eval $ac_link) 2>&5 |
11990 |
|
ac_status=$? |
11991 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11992 |
|
(exit $ac_status); } && |
11993 |
|
{ ac_try='test -s conftest$ac_exeext' |
11994 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11995 |
|
(eval $ac_try) 2>&5 |
11996 |
|
ac_status=$? |
11997 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11998 |
|
(exit $ac_status); }; }; then |
11999 |
|
ac_cv_lib_nsl_main=yes |
12000 |
|
else |
12001 |
|
echo "$as_me: failed program was:" >&5 |
12002 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
12003 |
|
|
12004 |
|
ac_cv_lib_nsl_main=no |
12005 |
|
fi |
12006 |
|
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
12007 |
|
LIBS=$ac_check_lib_save_LIBS |
12008 |
|
fi |
12009 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_main" >&5 |
12010 |
|
echo "${ECHO_T}$ac_cv_lib_nsl_main" >&6 |
12011 |
|
if test $ac_cv_lib_nsl_main = yes; then |
12012 |
TLIBS="$TLIBS -lnsl" |
TLIBS="$TLIBS -lnsl" |
|
else |
|
|
echo "$ac_t""no" 1>&6 |
|
12013 |
fi |
fi |
12014 |
|
|
12015 |
fi |
fi |
12018 |
RL_OJBS="" |
RL_OJBS="" |
12019 |
RL_LIB="" |
RL_LIB="" |
12020 |
if test "$enable_readline" = "yes" ; then |
if test "$enable_readline" = "yes" ; then |
12021 |
for ac_hdr in readline/readline.h |
|
12022 |
|
for ac_header in readline/readline.h |
12023 |
do |
do |
12024 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
12025 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
12026 |
echo "configure:6212: checking for $ac_hdr" >&5 |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
12027 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
12028 |
echo $ac_n "(cached) $ac_c" 1>&6 |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
12029 |
else |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
12030 |
cat > conftest.$ac_ext <<EOF |
fi |
12031 |
#line 6217 "configure" |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
12032 |
#include "confdefs.h" |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
12033 |
#include <$ac_hdr> |
else |
12034 |
EOF |
# Is the header compilable? |
12035 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
12036 |
{ (eval echo configure:6222: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
12037 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
cat >conftest.$ac_ext <<_ACEOF |
12038 |
if test -z "$ac_err"; then |
#line $LINENO "configure" |
12039 |
rm -rf conftest* |
/* confdefs.h. */ |
12040 |
eval "ac_cv_header_$ac_safe=yes" |
_ACEOF |
12041 |
else |
cat confdefs.h >>conftest.$ac_ext |
12042 |
echo "$ac_err" >&5 |
cat >>conftest.$ac_ext <<_ACEOF |
12043 |
echo "configure: failed program was:" >&5 |
/* end confdefs.h. */ |
12044 |
cat conftest.$ac_ext >&5 |
$ac_includes_default |
12045 |
rm -rf conftest* |
#include <$ac_header> |
12046 |
eval "ac_cv_header_$ac_safe=no" |
_ACEOF |
12047 |
fi |
rm -f conftest.$ac_objext |
12048 |
rm -f conftest* |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
12049 |
|
(eval $ac_compile) 2>&5 |
12050 |
|
ac_status=$? |
12051 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12052 |
|
(exit $ac_status); } && |
12053 |
|
{ ac_try='test -s conftest.$ac_objext' |
12054 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12055 |
|
(eval $ac_try) 2>&5 |
12056 |
|
ac_status=$? |
12057 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12058 |
|
(exit $ac_status); }; }; then |
12059 |
|
ac_header_compiler=yes |
12060 |
|
else |
12061 |
|
echo "$as_me: failed program was:" >&5 |
12062 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
12063 |
|
|
12064 |
|
ac_header_compiler=no |
12065 |
|
fi |
12066 |
|
rm -f conftest.$ac_objext conftest.$ac_ext |
12067 |
|
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
12068 |
|
echo "${ECHO_T}$ac_header_compiler" >&6 |
12069 |
|
|
12070 |
|
# Is the header present? |
12071 |
|
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
12072 |
|
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
12073 |
|
cat >conftest.$ac_ext <<_ACEOF |
12074 |
|
#line $LINENO "configure" |
12075 |
|
/* confdefs.h. */ |
12076 |
|
_ACEOF |
12077 |
|
cat confdefs.h >>conftest.$ac_ext |
12078 |
|
cat >>conftest.$ac_ext <<_ACEOF |
12079 |
|
/* end confdefs.h. */ |
12080 |
|
#include <$ac_header> |
12081 |
|
_ACEOF |
12082 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
12083 |
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
12084 |
|
ac_status=$? |
12085 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
12086 |
|
rm -f conftest.er1 |
12087 |
|
cat conftest.err >&5 |
12088 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12089 |
|
(exit $ac_status); } >/dev/null; then |
12090 |
|
if test -s conftest.err; then |
12091 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
12092 |
|
else |
12093 |
|
ac_cpp_err= |
12094 |
|
fi |
12095 |
|
else |
12096 |
|
ac_cpp_err=yes |
12097 |
fi |
fi |
12098 |
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
if test -z "$ac_cpp_err"; then |
12099 |
echo "$ac_t""yes" 1>&6 |
ac_header_preproc=yes |
12100 |
ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` |
else |
12101 |
cat >> confdefs.h <<EOF |
echo "$as_me: failed program was:" >&5 |
12102 |
#define $ac_tr_hdr 1 |
sed 's/^/| /' conftest.$ac_ext >&5 |
12103 |
EOF |
|
12104 |
echo $ac_n "checking for main in -lreadline""... $ac_c" 1>&6 |
ac_header_preproc=no |
12105 |
echo "configure:6243: checking for main in -lreadline" >&5 |
fi |
12106 |
ac_lib_var=`echo readline'_'main | sed 'y%./+-%__p_%'` |
rm -f conftest.err conftest.$ac_ext |
12107 |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
12108 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo "${ECHO_T}$ac_header_preproc" >&6 |
12109 |
|
|
12110 |
|
# So? What about this header? |
12111 |
|
case $ac_header_compiler:$ac_header_preproc in |
12112 |
|
yes:no ) |
12113 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
12114 |
|
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
12115 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
12116 |
|
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
12117 |
|
( |
12118 |
|
cat <<\_ASBOX |
12119 |
|
## ------------------------------------ ## |
12120 |
|
## Report this to bug-autoconf@gnu.org. ## |
12121 |
|
## ------------------------------------ ## |
12122 |
|
_ASBOX |
12123 |
|
) | |
12124 |
|
sed "s/^/$as_me: WARNING: /" >&2 |
12125 |
|
;; |
12126 |
|
no:yes ) |
12127 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
12128 |
|
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
12129 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
12130 |
|
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
12131 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
12132 |
|
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
12133 |
|
( |
12134 |
|
cat <<\_ASBOX |
12135 |
|
## ------------------------------------ ## |
12136 |
|
## Report this to bug-autoconf@gnu.org. ## |
12137 |
|
## ------------------------------------ ## |
12138 |
|
_ASBOX |
12139 |
|
) | |
12140 |
|
sed "s/^/$as_me: WARNING: /" >&2 |
12141 |
|
;; |
12142 |
|
esac |
12143 |
|
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
12144 |
|
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
12145 |
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
12146 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
12147 |
|
else |
12148 |
|
eval "$as_ac_Header=$ac_header_preproc" |
12149 |
|
fi |
12150 |
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
12151 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
12152 |
|
|
12153 |
|
fi |
12154 |
|
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
12155 |
|
cat >>confdefs.h <<_ACEOF |
12156 |
|
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
12157 |
|
_ACEOF |
12158 |
|
echo "$as_me:$LINENO: checking for main in -lreadline" >&5 |
12159 |
|
echo $ECHO_N "checking for main in -lreadline... $ECHO_C" >&6 |
12160 |
|
if test "${ac_cv_lib_readline_main+set}" = set; then |
12161 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
12162 |
else |
else |
12163 |
ac_save_LIBS="$LIBS" |
ac_check_lib_save_LIBS=$LIBS |
12164 |
LIBS="-lreadline -lncurses $LIBS" |
LIBS="-lreadline -lncurses $LIBS" |
12165 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
12166 |
#line 6251 "configure" |
#line $LINENO "configure" |
12167 |
#include "confdefs.h" |
/* confdefs.h. */ |
12168 |
|
_ACEOF |
12169 |
|
cat confdefs.h >>conftest.$ac_ext |
12170 |
|
cat >>conftest.$ac_ext <<_ACEOF |
12171 |
|
/* end confdefs.h. */ |
12172 |
|
|
|
int main() { |
|
|
main() |
|
|
; return 0; } |
|
|
EOF |
|
|
if { (eval echo configure:6258: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|
|
rm -rf conftest* |
|
|
eval "ac_cv_lib_$ac_lib_var=yes" |
|
|
else |
|
|
echo "configure: failed program was:" >&5 |
|
|
cat conftest.$ac_ext >&5 |
|
|
rm -rf conftest* |
|
|
eval "ac_cv_lib_$ac_lib_var=no" |
|
|
fi |
|
|
rm -f conftest* |
|
|
LIBS="$ac_save_LIBS" |
|
12173 |
|
|
12174 |
fi |
int |
12175 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
main () |
12176 |
echo "$ac_t""yes" 1>&6 |
{ |
12177 |
cat >> confdefs.h <<\EOF |
main (); |
12178 |
|
; |
12179 |
|
return 0; |
12180 |
|
} |
12181 |
|
_ACEOF |
12182 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
12183 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
12184 |
|
(eval $ac_link) 2>&5 |
12185 |
|
ac_status=$? |
12186 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12187 |
|
(exit $ac_status); } && |
12188 |
|
{ ac_try='test -s conftest$ac_exeext' |
12189 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12190 |
|
(eval $ac_try) 2>&5 |
12191 |
|
ac_status=$? |
12192 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12193 |
|
(exit $ac_status); }; }; then |
12194 |
|
ac_cv_lib_readline_main=yes |
12195 |
|
else |
12196 |
|
echo "$as_me: failed program was:" >&5 |
12197 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
12198 |
|
|
12199 |
|
ac_cv_lib_readline_main=no |
12200 |
|
fi |
12201 |
|
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
12202 |
|
LIBS=$ac_check_lib_save_LIBS |
12203 |
|
fi |
12204 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_readline_main" >&5 |
12205 |
|
echo "${ECHO_T}$ac_cv_lib_readline_main" >&6 |
12206 |
|
if test $ac_cv_lib_readline_main = yes; then |
12207 |
|
cat >>confdefs.h <<\_ACEOF |
12208 |
#define HAVE_READLINE 1 |
#define HAVE_READLINE 1 |
12209 |
EOF |
_ACEOF |
12210 |
|
|
12211 |
TLIBS="$TLIBS -lreadline -lncurses" |
TLIBS="$TLIBS -lreadline -lncurses" |
12212 |
RL_OBJS=gcl_readline.o |
RL_OBJS=gcl_readline.o |
12213 |
# Readline support now initialized automatically when compiled in, this lisp |
# Readline support now initialized automatically when compiled in, this lisp |
12214 |
# object no longer needed, 20040102 CM |
# object no longer needed, 20040102 CM |
12215 |
# RL_LIB=mod/gcl_readline.o |
# RL_LIB=mod/gcl_readline.o |
12216 |
|
|
|
else |
|
|
echo "$ac_t""no" 1>&6 |
|
12217 |
fi |
fi |
12218 |
|
|
|
else |
|
|
echo "$ac_t""no" 1>&6 |
|
12219 |
fi |
fi |
12220 |
|
|
12221 |
done |
done |
12222 |
|
|
12223 |
|
|
12224 |
# These tests discover differences between readline 4.1 and 4.3 |
# These tests discover differences between readline 4.1 and 4.3 |
12225 |
echo $ac_n "checking for rl_completion_matches in -lreadline""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for rl_completion_matches in -lreadline" >&5 |
12226 |
echo "configure:6295: checking for rl_completion_matches in -lreadline" >&5 |
echo $ECHO_N "checking for rl_completion_matches in -lreadline... $ECHO_C" >&6 |
12227 |
ac_lib_var=`echo readline'_'rl_completion_matches | sed 'y%./+-%__p_%'` |
if test "${ac_cv_lib_readline_rl_completion_matches+set}" = set; then |
12228 |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
12229 |
else |
else |
12230 |
ac_save_LIBS="$LIBS" |
ac_check_lib_save_LIBS=$LIBS |
12231 |
LIBS="-lreadline $LIBS" |
LIBS="-lreadline $LIBS" |
12232 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
12233 |
#line 6303 "configure" |
#line $LINENO "configure" |
12234 |
#include "confdefs.h" |
/* confdefs.h. */ |
12235 |
|
_ACEOF |
12236 |
|
cat confdefs.h >>conftest.$ac_ext |
12237 |
|
cat >>conftest.$ac_ext <<_ACEOF |
12238 |
|
/* end confdefs.h. */ |
12239 |
|
|
12240 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
12241 |
|
#ifdef __cplusplus |
12242 |
|
extern "C" |
12243 |
|
#endif |
12244 |
/* We use char because int might match the return type of a gcc2 |
/* We use char because int might match the return type of a gcc2 |
12245 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
12246 |
char rl_completion_matches(); |
char rl_completion_matches (); |
12247 |
|
int |
12248 |
int main() { |
main () |
12249 |
rl_completion_matches() |
{ |
12250 |
; return 0; } |
rl_completion_matches (); |
12251 |
EOF |
; |
12252 |
if { (eval echo configure:6314: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
return 0; |
12253 |
rm -rf conftest* |
} |
12254 |
eval "ac_cv_lib_$ac_lib_var=yes" |
_ACEOF |
12255 |
else |
rm -f conftest.$ac_objext conftest$ac_exeext |
12256 |
echo "configure: failed program was:" >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
12257 |
cat conftest.$ac_ext >&5 |
(eval $ac_link) 2>&5 |
12258 |
rm -rf conftest* |
ac_status=$? |
12259 |
eval "ac_cv_lib_$ac_lib_var=no" |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12260 |
fi |
(exit $ac_status); } && |
12261 |
rm -f conftest* |
{ ac_try='test -s conftest$ac_exeext' |
12262 |
LIBS="$ac_save_LIBS" |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12263 |
|
(eval $ac_try) 2>&5 |
12264 |
fi |
ac_status=$? |
12265 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12266 |
echo "$ac_t""yes" 1>&6 |
(exit $ac_status); }; }; then |
12267 |
cat >> confdefs.h <<\EOF |
ac_cv_lib_readline_rl_completion_matches=yes |
12268 |
|
else |
12269 |
|
echo "$as_me: failed program was:" >&5 |
12270 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
12271 |
|
|
12272 |
|
ac_cv_lib_readline_rl_completion_matches=no |
12273 |
|
fi |
12274 |
|
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
12275 |
|
LIBS=$ac_check_lib_save_LIBS |
12276 |
|
fi |
12277 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_readline_rl_completion_matches" >&5 |
12278 |
|
echo "${ECHO_T}$ac_cv_lib_readline_rl_completion_matches" >&6 |
12279 |
|
if test $ac_cv_lib_readline_rl_completion_matches = yes; then |
12280 |
|
cat >>confdefs.h <<\_ACEOF |
12281 |
#define HAVE_DECL_RL_COMPLETION_MATCHES 1 |
#define HAVE_DECL_RL_COMPLETION_MATCHES 1 |
12282 |
EOF |
_ACEOF |
12283 |
|
|
12284 |
cat >> confdefs.h <<\EOF |
cat >>confdefs.h <<\_ACEOF |
12285 |
#define HAVE_RL_COMPENTRY_FUNC_T 1 |
#define HAVE_RL_COMPENTRY_FUNC_T 1 |
12286 |
EOF |
_ACEOF |
12287 |
|
|
|
else |
|
|
echo "$ac_t""no" 1>&6 |
|
12288 |
fi |
fi |
12289 |
|
|
12290 |
fi |
fi |
12292 |
|
|
12293 |
|
|
12294 |
|
|
12295 |
echo $ac_n "checking For network code for nsocket.c""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking For network code for nsocket.c" >&5 |
12296 |
echo "configure:6347: checking For network code for nsocket.c" >&5 |
echo $ECHO_N "checking For network code for nsocket.c... $ECHO_C" >&6 |
12297 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
12298 |
#line 6349 "configure" |
#line $LINENO "configure" |
12299 |
#include "confdefs.h" |
/* confdefs.h. */ |
12300 |
|
_ACEOF |
12301 |
|
cat confdefs.h >>conftest.$ac_ext |
12302 |
|
cat >>conftest.$ac_ext <<_ACEOF |
12303 |
|
/* end confdefs.h. */ |
12304 |
|
|
12305 |
#include <sys/time.h> |
#include <sys/time.h> |
12306 |
#include <sys/types.h> |
#include <sys/types.h> |
12310 |
#include <fcntl.h> |
#include <fcntl.h> |
12311 |
#include <stdio.h> |
#include <stdio.h> |
12312 |
|
|
12313 |
/************* for the sockets ******************/ |
/************* for the sockets ******************/ |
12314 |
#include <sys/socket.h> /* struct sockaddr, SOCK_STREAM, ... */ |
#include <sys/socket.h> /* struct sockaddr, SOCK_STREAM, ... */ |
12315 |
#ifndef NO_UNAME |
#ifndef NO_UNAME |
12316 |
# include <sys/utsname.h> /* uname system call. */ |
# include <sys/utsname.h> /* uname system call. */ |
12319 |
#include <arpa/inet.h> /* inet_ntoa() */ |
#include <arpa/inet.h> /* inet_ntoa() */ |
12320 |
#include <netdb.h> /* gethostbyname() */ |
#include <netdb.h> /* gethostbyname() */ |
12321 |
|
|
12322 |
int main() { |
int |
12323 |
|
main () |
12324 |
|
{ |
12325 |
connect(0,(struct sockaddr *)0,0); |
connect(0,(struct sockaddr *)0,0); |
12326 |
gethostbyname("jil"); |
gethostbyname("jil"); |
12327 |
socket(AF_INET, SOCK_STREAM, 0); |
socket(AF_INET, SOCK_STREAM, 0); |
12328 |
|
|
12329 |
; return 0; } |
; |
12330 |
EOF |
return 0; |
12331 |
if { (eval echo configure:6376: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
} |
12332 |
rm -rf conftest* |
_ACEOF |
12333 |
cat >> confdefs.h <<\EOF |
rm -f conftest.$ac_objext conftest$ac_exeext |
12334 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
12335 |
|
(eval $ac_link) 2>&5 |
12336 |
|
ac_status=$? |
12337 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12338 |
|
(exit $ac_status); } && |
12339 |
|
{ ac_try='test -s conftest$ac_exeext' |
12340 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12341 |
|
(eval $ac_try) 2>&5 |
12342 |
|
ac_status=$? |
12343 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12344 |
|
(exit $ac_status); }; }; then |
12345 |
|
cat >>confdefs.h <<\_ACEOF |
12346 |
#define HAVE_NSOCKET 1 |
#define HAVE_NSOCKET 1 |
12347 |
EOF |
_ACEOF |
12348 |
|
|
12349 |
echo "$ac_t""yes" 1>&6 |
echo "$as_me:$LINENO: result: yes" >&5 |
12350 |
|
echo "${ECHO_T}yes" >&6 |
12351 |
else |
else |
12352 |
echo "configure: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
12353 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
12354 |
rm -rf conftest* |
|
12355 |
echo "$ac_t""no" 1>&6 |
echo "$as_me:$LINENO: result: no" >&5 |
12356 |
|
echo "${ECHO_T}no" >&6 |
12357 |
fi |
fi |
12358 |
rm -f conftest* |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
12359 |
|
|
12360 |
|
|
12361 |
echo $ac_n "checking check for listen using fcntl""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking check for listen using fcntl" >&5 |
12362 |
echo "configure:6393: checking check for listen using fcntl" >&5 |
echo $ECHO_N "checking check for listen using fcntl... $ECHO_C" >&6 |
12363 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
12364 |
#line 6395 "configure" |
#line $LINENO "configure" |
12365 |
#include "confdefs.h" |
/* confdefs.h. */ |
12366 |
|
_ACEOF |
12367 |
|
cat confdefs.h >>conftest.$ac_ext |
12368 |
|
cat >>conftest.$ac_ext <<_ACEOF |
12369 |
|
/* end confdefs.h. */ |
12370 |
#include <stdio.h> |
#include <stdio.h> |
12371 |
#include <fcntl.h> |
#include <fcntl.h> |
12372 |
|
|
12373 |
int main() { |
int |
12374 |
|
main () |
12375 |
|
{ |
12376 |
FILE *fp=fopen("configure.in","r"); |
FILE *fp=fopen("configure.in","r"); |
12377 |
int orig; |
int orig; |
12378 |
orig = fcntl(fileno(fp), F_GETFL); |
orig = fcntl(fileno(fp), F_GETFL); |
12379 |
if (! (orig & O_NONBLOCK )) return 0; |
if (! (orig & O_NONBLOCK )) return 0; |
12380 |
|
|
12381 |
; return 0; } |
; |
12382 |
EOF |
return 0; |
12383 |
if { (eval echo configure:6408: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
} |
12384 |
rm -rf conftest* |
_ACEOF |
12385 |
cat >> confdefs.h <<\EOF |
rm -f conftest.$ac_objext |
12386 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
12387 |
|
(eval $ac_compile) 2>&5 |
12388 |
|
ac_status=$? |
12389 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12390 |
|
(exit $ac_status); } && |
12391 |
|
{ ac_try='test -s conftest.$ac_objext' |
12392 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12393 |
|
(eval $ac_try) 2>&5 |
12394 |
|
ac_status=$? |
12395 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12396 |
|
(exit $ac_status); }; }; then |
12397 |
|
cat >>confdefs.h <<\_ACEOF |
12398 |
#define LISTEN_USE_FCNTL 1 |
#define LISTEN_USE_FCNTL 1 |
12399 |
EOF |
_ACEOF |
12400 |
|
|
12401 |
echo "$ac_t""yes" 1>&6 |
echo "$as_me:$LINENO: result: yes" >&5 |
12402 |
|
echo "${ECHO_T}yes" >&6 |
12403 |
else |
else |
12404 |
echo "configure: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
12405 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
12406 |
rm -rf conftest* |
|
12407 |
echo "$ac_t""no" 1>&6 |
echo "$as_me:$LINENO: result: no" >&5 |
12408 |
|
echo "${ECHO_T}no" >&6 |
12409 |
fi |
fi |
12410 |
rm -f conftest* |
rm -f conftest.$ac_objext conftest.$ac_ext |
12411 |
|
|
12412 |
|
|
12413 |
|
|
12414 |
|
|
12415 |
echo $ac_n "checking for profil""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for profil" >&5 |
12416 |
echo "configure:6427: checking for profil" >&5 |
echo $ECHO_N "checking for profil... $ECHO_C" >&6 |
12417 |
if eval "test \"`echo '$''{'ac_cv_func_profil'+set}'`\" = set"; then |
if test "${ac_cv_func_profil+set}" = set; then |
12418 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
12419 |
else |
else |
12420 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
12421 |
#line 6432 "configure" |
#line $LINENO "configure" |
12422 |
#include "confdefs.h" |
/* confdefs.h. */ |
12423 |
|
_ACEOF |
12424 |
|
cat confdefs.h >>conftest.$ac_ext |
12425 |
|
cat >>conftest.$ac_ext <<_ACEOF |
12426 |
|
/* end confdefs.h. */ |
12427 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
12428 |
which can conflict with char profil(); below. */ |
which can conflict with char profil (); below. */ |
12429 |
#include <assert.h> |
#include <assert.h> |
12430 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
12431 |
|
#ifdef __cplusplus |
12432 |
|
extern "C" |
12433 |
|
{ |
12434 |
|
#endif |
12435 |
/* We use char because int might match the return type of a gcc2 |
/* We use char because int might match the return type of a gcc2 |
12436 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
12437 |
char profil(); |
char profil (); |
|
|
|
|
int main() { |
|
|
|
|
12438 |
/* The GNU C library defines this for functions which it implements |
/* The GNU C library defines this for functions which it implements |
12439 |
to always fail with ENOSYS. Some functions are actually named |
to always fail with ENOSYS. Some functions are actually named |
12440 |
something starting with __ and the normal name is an alias. */ |
something starting with __ and the normal name is an alias. */ |
12441 |
#if defined (__stub_profil) || defined (__stub___profil) |
#if defined (__stub_profil) || defined (__stub___profil) |
12442 |
choke me |
choke me |
12443 |
#else |
#else |
12444 |
profil(); |
char (*f) () = profil; |
12445 |
|
#endif |
12446 |
|
#ifdef __cplusplus |
12447 |
|
} |
12448 |
#endif |
#endif |
12449 |
|
|
12450 |
; return 0; } |
int |
12451 |
EOF |
main () |
12452 |
if { (eval echo configure:6455: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
{ |
|
rm -rf conftest* |
|
|
eval "ac_cv_func_profil=yes" |
|
|
else |
|
|
echo "configure: failed program was:" >&5 |
|
|
cat conftest.$ac_ext >&5 |
|
|
rm -rf conftest* |
|
|
eval "ac_cv_func_profil=no" |
|
|
fi |
|
|
rm -f conftest* |
|
|
fi |
|
12453 |
|
|
12454 |
if eval "test \"`echo '$ac_cv_func_'profil`\" = yes"; then |
; |
12455 |
echo "$ac_t""yes" 1>&6 |
return 0; |
12456 |
|
} |
12457 |
|
_ACEOF |
12458 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
12459 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
12460 |
|
(eval $ac_link) 2>&5 |
12461 |
|
ac_status=$? |
12462 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12463 |
|
(exit $ac_status); } && |
12464 |
|
{ ac_try='test -s conftest$ac_exeext' |
12465 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12466 |
|
(eval $ac_try) 2>&5 |
12467 |
|
ac_status=$? |
12468 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12469 |
|
(exit $ac_status); }; }; then |
12470 |
|
ac_cv_func_profil=yes |
12471 |
|
else |
12472 |
|
echo "$as_me: failed program was:" >&5 |
12473 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
12474 |
|
|
12475 |
|
ac_cv_func_profil=no |
12476 |
|
fi |
12477 |
|
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
12478 |
|
fi |
12479 |
|
echo "$as_me:$LINENO: result: $ac_cv_func_profil" >&5 |
12480 |
|
echo "${ECHO_T}$ac_cv_func_profil" >&6 |
12481 |
|
if test $ac_cv_func_profil = yes; then |
12482 |
: |
: |
12483 |
else |
else |
12484 |
echo "$ac_t""no" 1>&6 |
cat >>confdefs.h <<\_ACEOF |
|
cat >> confdefs.h <<\EOF |
|
12485 |
#define NO_PROFILE 1 |
#define NO_PROFILE 1 |
12486 |
EOF |
_ACEOF |
12487 |
|
|
12488 |
fi |
fi |
12489 |
|
|
12490 |
|
|
12491 |
echo $ac_n "checking for setenv""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for setenv" >&5 |
12492 |
echo "configure:6480: checking for setenv" >&5 |
echo $ECHO_N "checking for setenv... $ECHO_C" >&6 |
12493 |
if eval "test \"`echo '$''{'ac_cv_func_setenv'+set}'`\" = set"; then |
if test "${ac_cv_func_setenv+set}" = set; then |
12494 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
12495 |
else |
else |
12496 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
12497 |
#line 6485 "configure" |
#line $LINENO "configure" |
12498 |
#include "confdefs.h" |
/* confdefs.h. */ |
12499 |
|
_ACEOF |
12500 |
|
cat confdefs.h >>conftest.$ac_ext |
12501 |
|
cat >>conftest.$ac_ext <<_ACEOF |
12502 |
|
/* end confdefs.h. */ |
12503 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
12504 |
which can conflict with char setenv(); below. */ |
which can conflict with char setenv (); below. */ |
12505 |
#include <assert.h> |
#include <assert.h> |
12506 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
12507 |
|
#ifdef __cplusplus |
12508 |
|
extern "C" |
12509 |
|
{ |
12510 |
|
#endif |
12511 |
/* We use char because int might match the return type of a gcc2 |
/* We use char because int might match the return type of a gcc2 |
12512 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
12513 |
char setenv(); |
char setenv (); |
|
|
|
|
int main() { |
|
|
|
|
12514 |
/* The GNU C library defines this for functions which it implements |
/* The GNU C library defines this for functions which it implements |
12515 |
to always fail with ENOSYS. Some functions are actually named |
to always fail with ENOSYS. Some functions are actually named |
12516 |
something starting with __ and the normal name is an alias. */ |
something starting with __ and the normal name is an alias. */ |
12517 |
#if defined (__stub_setenv) || defined (__stub___setenv) |
#if defined (__stub_setenv) || defined (__stub___setenv) |
12518 |
choke me |
choke me |
12519 |
#else |
#else |
12520 |
setenv(); |
char (*f) () = setenv; |
12521 |
|
#endif |
12522 |
|
#ifdef __cplusplus |
12523 |
|
} |
12524 |
#endif |
#endif |
12525 |
|
|
12526 |
; return 0; } |
int |
12527 |
EOF |
main () |
12528 |
if { (eval echo configure:6508: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
{ |
|
rm -rf conftest* |
|
|
eval "ac_cv_func_setenv=yes" |
|
|
else |
|
|
echo "configure: failed program was:" >&5 |
|
|
cat conftest.$ac_ext >&5 |
|
|
rm -rf conftest* |
|
|
eval "ac_cv_func_setenv=no" |
|
|
fi |
|
|
rm -f conftest* |
|
|
fi |
|
12529 |
|
|
12530 |
if eval "test \"`echo '$ac_cv_func_'setenv`\" = yes"; then |
; |
12531 |
echo "$ac_t""yes" 1>&6 |
return 0; |
12532 |
cat >> confdefs.h <<\EOF |
} |
12533 |
|
_ACEOF |
12534 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
12535 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
12536 |
|
(eval $ac_link) 2>&5 |
12537 |
|
ac_status=$? |
12538 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12539 |
|
(exit $ac_status); } && |
12540 |
|
{ ac_try='test -s conftest$ac_exeext' |
12541 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12542 |
|
(eval $ac_try) 2>&5 |
12543 |
|
ac_status=$? |
12544 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12545 |
|
(exit $ac_status); }; }; then |
12546 |
|
ac_cv_func_setenv=yes |
12547 |
|
else |
12548 |
|
echo "$as_me: failed program was:" >&5 |
12549 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
12550 |
|
|
12551 |
|
ac_cv_func_setenv=no |
12552 |
|
fi |
12553 |
|
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
12554 |
|
fi |
12555 |
|
echo "$as_me:$LINENO: result: $ac_cv_func_setenv" >&5 |
12556 |
|
echo "${ECHO_T}$ac_cv_func_setenv" >&6 |
12557 |
|
if test $ac_cv_func_setenv = yes; then |
12558 |
|
cat >>confdefs.h <<\_ACEOF |
12559 |
#define HAVE_SETENV 1 |
#define HAVE_SETENV 1 |
12560 |
EOF |
_ACEOF |
12561 |
|
|
12562 |
else |
else |
12563 |
echo "$ac_t""no" 1>&6 |
no_setenv=1 |
|
no_setenv=1 |
|
12564 |
fi |
fi |
12565 |
|
|
12566 |
|
|
12567 |
if test "$no_setenv" = "1" ; then |
if test "$no_setenv" = "1" ; then |
12568 |
echo $ac_n "checking for putenv""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for putenv" >&5 |
12569 |
echo "configure:6534: checking for putenv" >&5 |
echo $ECHO_N "checking for putenv... $ECHO_C" >&6 |
12570 |
if eval "test \"`echo '$''{'ac_cv_func_putenv'+set}'`\" = set"; then |
if test "${ac_cv_func_putenv+set}" = set; then |
12571 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
12572 |
else |
else |
12573 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
12574 |
#line 6539 "configure" |
#line $LINENO "configure" |
12575 |
#include "confdefs.h" |
/* confdefs.h. */ |
12576 |
|
_ACEOF |
12577 |
|
cat confdefs.h >>conftest.$ac_ext |
12578 |
|
cat >>conftest.$ac_ext <<_ACEOF |
12579 |
|
/* end confdefs.h. */ |
12580 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
12581 |
which can conflict with char putenv(); below. */ |
which can conflict with char putenv (); below. */ |
12582 |
#include <assert.h> |
#include <assert.h> |
12583 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
12584 |
|
#ifdef __cplusplus |
12585 |
|
extern "C" |
12586 |
|
{ |
12587 |
|
#endif |
12588 |
/* We use char because int might match the return type of a gcc2 |
/* We use char because int might match the return type of a gcc2 |
12589 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
12590 |
char putenv(); |
char putenv (); |
|
|
|
|
int main() { |
|
|
|
|
12591 |
/* The GNU C library defines this for functions which it implements |
/* The GNU C library defines this for functions which it implements |
12592 |
to always fail with ENOSYS. Some functions are actually named |
to always fail with ENOSYS. Some functions are actually named |
12593 |
something starting with __ and the normal name is an alias. */ |
something starting with __ and the normal name is an alias. */ |
12594 |
#if defined (__stub_putenv) || defined (__stub___putenv) |
#if defined (__stub_putenv) || defined (__stub___putenv) |
12595 |
choke me |
choke me |
12596 |
#else |
#else |
12597 |
putenv(); |
char (*f) () = putenv; |
12598 |
|
#endif |
12599 |
|
#ifdef __cplusplus |
12600 |
|
} |
12601 |
#endif |
#endif |
12602 |
|
|
12603 |
; return 0; } |
int |
12604 |
EOF |
main () |
12605 |
if { (eval echo configure:6562: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
{ |
|
rm -rf conftest* |
|
|
eval "ac_cv_func_putenv=yes" |
|
|
else |
|
|
echo "configure: failed program was:" >&5 |
|
|
cat conftest.$ac_ext >&5 |
|
|
rm -rf conftest* |
|
|
eval "ac_cv_func_putenv=no" |
|
|
fi |
|
|
rm -f conftest* |
|
|
fi |
|
12606 |
|
|
12607 |
if eval "test \"`echo '$ac_cv_func_'putenv`\" = yes"; then |
; |
12608 |
echo "$ac_t""yes" 1>&6 |
return 0; |
12609 |
cat >> confdefs.h <<\EOF |
} |
12610 |
|
_ACEOF |
12611 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
12612 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
12613 |
|
(eval $ac_link) 2>&5 |
12614 |
|
ac_status=$? |
12615 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12616 |
|
(exit $ac_status); } && |
12617 |
|
{ ac_try='test -s conftest$ac_exeext' |
12618 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12619 |
|
(eval $ac_try) 2>&5 |
12620 |
|
ac_status=$? |
12621 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12622 |
|
(exit $ac_status); }; }; then |
12623 |
|
ac_cv_func_putenv=yes |
12624 |
|
else |
12625 |
|
echo "$as_me: failed program was:" >&5 |
12626 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
12627 |
|
|
12628 |
|
ac_cv_func_putenv=no |
12629 |
|
fi |
12630 |
|
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
12631 |
|
fi |
12632 |
|
echo "$as_me:$LINENO: result: $ac_cv_func_putenv" >&5 |
12633 |
|
echo "${ECHO_T}$ac_cv_func_putenv" >&6 |
12634 |
|
if test $ac_cv_func_putenv = yes; then |
12635 |
|
cat >>confdefs.h <<\_ACEOF |
12636 |
#define HAVE_PUTENV 1 |
#define HAVE_PUTENV 1 |
12637 |
EOF |
_ACEOF |
12638 |
|
|
|
else |
|
|
echo "$ac_t""no" 1>&6 |
|
12639 |
fi |
fi |
12640 |
|
|
12641 |
|
|
12642 |
fi |
fi |
12643 |
|
|
12644 |
echo $ac_n "checking for _cleanup""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for _cleanup" >&5 |
12645 |
echo "configure:6588: checking for _cleanup" >&5 |
echo $ECHO_N "checking for _cleanup... $ECHO_C" >&6 |
12646 |
if eval "test \"`echo '$''{'ac_cv_func__cleanup'+set}'`\" = set"; then |
if test "${ac_cv_func__cleanup+set}" = set; then |
12647 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
12648 |
else |
else |
12649 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
12650 |
#line 6593 "configure" |
#line $LINENO "configure" |
12651 |
#include "confdefs.h" |
/* confdefs.h. */ |
12652 |
|
_ACEOF |
12653 |
|
cat confdefs.h >>conftest.$ac_ext |
12654 |
|
cat >>conftest.$ac_ext <<_ACEOF |
12655 |
|
/* end confdefs.h. */ |
12656 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
12657 |
which can conflict with char _cleanup(); below. */ |
which can conflict with char _cleanup (); below. */ |
12658 |
#include <assert.h> |
#include <assert.h> |
12659 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
12660 |
|
#ifdef __cplusplus |
12661 |
|
extern "C" |
12662 |
|
{ |
12663 |
|
#endif |
12664 |
/* We use char because int might match the return type of a gcc2 |
/* We use char because int might match the return type of a gcc2 |
12665 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
12666 |
char _cleanup(); |
char _cleanup (); |
|
|
|
|
int main() { |
|
|
|
|
12667 |
/* The GNU C library defines this for functions which it implements |
/* The GNU C library defines this for functions which it implements |
12668 |
to always fail with ENOSYS. Some functions are actually named |
to always fail with ENOSYS. Some functions are actually named |
12669 |
something starting with __ and the normal name is an alias. */ |
something starting with __ and the normal name is an alias. */ |
12670 |
#if defined (__stub__cleanup) || defined (__stub____cleanup) |
#if defined (__stub__cleanup) || defined (__stub____cleanup) |
12671 |
choke me |
choke me |
12672 |
#else |
#else |
12673 |
_cleanup(); |
char (*f) () = _cleanup; |
12674 |
|
#endif |
12675 |
|
#ifdef __cplusplus |
12676 |
|
} |
12677 |
#endif |
#endif |
12678 |
|
|
12679 |
; return 0; } |
int |
12680 |
EOF |
main () |
12681 |
if { (eval echo configure:6616: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
{ |
|
rm -rf conftest* |
|
|
eval "ac_cv_func__cleanup=yes" |
|
|
else |
|
|
echo "configure: failed program was:" >&5 |
|
|
cat conftest.$ac_ext >&5 |
|
|
rm -rf conftest* |
|
|
eval "ac_cv_func__cleanup=no" |
|
|
fi |
|
|
rm -f conftest* |
|
|
fi |
|
12682 |
|
|
12683 |
if eval "test \"`echo '$ac_cv_func_'_cleanup`\" = yes"; then |
; |
12684 |
echo "$ac_t""yes" 1>&6 |
return 0; |
12685 |
cat >> confdefs.h <<\EOF |
} |
12686 |
|
_ACEOF |
12687 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
12688 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
12689 |
|
(eval $ac_link) 2>&5 |
12690 |
|
ac_status=$? |
12691 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12692 |
|
(exit $ac_status); } && |
12693 |
|
{ ac_try='test -s conftest$ac_exeext' |
12694 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12695 |
|
(eval $ac_try) 2>&5 |
12696 |
|
ac_status=$? |
12697 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12698 |
|
(exit $ac_status); }; }; then |
12699 |
|
ac_cv_func__cleanup=yes |
12700 |
|
else |
12701 |
|
echo "$as_me: failed program was:" >&5 |
12702 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
12703 |
|
|
12704 |
|
ac_cv_func__cleanup=no |
12705 |
|
fi |
12706 |
|
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
12707 |
|
fi |
12708 |
|
echo "$as_me:$LINENO: result: $ac_cv_func__cleanup" >&5 |
12709 |
|
echo "${ECHO_T}$ac_cv_func__cleanup" >&6 |
12710 |
|
if test $ac_cv_func__cleanup = yes; then |
12711 |
|
cat >>confdefs.h <<\_ACEOF |
12712 |
#define USE_CLEANUP 1 |
#define USE_CLEANUP 1 |
12713 |
EOF |
_ACEOF |
12714 |
|
|
|
else |
|
|
echo "$ac_t""no" 1>&6 |
|
12715 |
fi |
fi |
12716 |
|
|
12717 |
|
|
12718 |
gcl_ok=no |
gcl_ok=no |
12719 |
|
|
12720 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
12721 |
#line 6642 "configure" |
#line $LINENO "configure" |
12722 |
#include "confdefs.h" |
/* confdefs.h. */ |
12723 |
|
_ACEOF |
12724 |
|
cat confdefs.h >>conftest.$ac_ext |
12725 |
|
cat >>conftest.$ac_ext <<_ACEOF |
12726 |
|
/* end confdefs.h. */ |
12727 |
#include <ctype.h> |
#include <ctype.h> |
12728 |
EOF |
|
12729 |
|
_ACEOF |
12730 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
12731 |
egrep "LITTLE_ENDIAN" >/dev/null 2>&1; then |
$EGREP "LITTLE_ENDIAN" >/dev/null 2>&1; then |
|
rm -rf conftest* |
|
12732 |
gcl_ok=yes |
gcl_ok=yes |
12733 |
else |
else |
|
rm -rf conftest* |
|
12734 |
gcl_ok=noo |
gcl_ok=noo |
12735 |
fi |
fi |
12736 |
rm -f conftest* |
rm -f conftest* |
12737 |
|
|
12738 |
if test $gcl_ok = yes ; then |
if test $gcl_ok = yes ; then |
12739 |
cat >> confdefs.h <<\EOF |
cat >>confdefs.h <<\_ACEOF |
12740 |
#define ENDIAN_ALREADY_DEFINED 1 |
#define ENDIAN_ALREADY_DEFINED 1 |
12741 |
EOF |
_ACEOF |
12742 |
|
|
12743 |
fi |
fi |
12744 |
|
|
12748 |
|
|
12749 |
|
|
12750 |
# if test "x$enable_machine" = "x" ; then |
# if test "x$enable_machine" = "x" ; then |
12751 |
echo $ac_n "checking FIONBIO vs. O_NONBLOCK for nonblocking I/O""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking FIONBIO vs. O_NONBLOCK for nonblocking I/O" >&5 |
12752 |
echo "configure:6670: checking FIONBIO vs. O_NONBLOCK for nonblocking I/O" >&5 |
echo $ECHO_N "checking FIONBIO vs. O_NONBLOCK for nonblocking I/O... $ECHO_C" >&6 |
12753 |
|
|
12754 |
case $system in |
case $system in |
12755 |
OSF*) |
OSF*) |
12756 |
cat >> confdefs.h <<\EOF |
cat >>confdefs.h <<\_ACEOF |
12757 |
#define USE_FIONBIO 1 |
#define USE_FIONBIO 1 |
12758 |
EOF |
_ACEOF |
12759 |
|
|
12760 |
echo "$ac_t""FIONBIO" 1>&6 |
echo "$as_me:$LINENO: result: FIONBIO" >&5 |
12761 |
|
echo "${ECHO_T}FIONBIO" >&6 |
12762 |
;; |
;; |
12763 |
SunOS-4*) |
SunOS-4*) |
12764 |
cat >> confdefs.h <<\EOF |
cat >>confdefs.h <<\_ACEOF |
12765 |
#define USE_FIONBIO 1 |
#define USE_FIONBIO 1 |
12766 |
EOF |
_ACEOF |
12767 |
|
|
12768 |
echo "$ac_t""FIONBIO" 1>&6 |
echo "$as_me:$LINENO: result: FIONBIO" >&5 |
12769 |
|
echo "${ECHO_T}FIONBIO" >&6 |
12770 |
;; |
;; |
12771 |
ULTRIX-4.*) |
ULTRIX-4.*) |
12772 |
cat >> confdefs.h <<\EOF |
cat >>confdefs.h <<\_ACEOF |
12773 |
#define USE_FIONBIO 1 |
#define USE_FIONBIO 1 |
12774 |
EOF |
_ACEOF |
12775 |
|
|
12776 |
echo "$ac_t""FIONBIO" 1>&6 |
echo "$as_me:$LINENO: result: FIONBIO" >&5 |
12777 |
|
echo "${ECHO_T}FIONBIO" >&6 |
12778 |
;; |
;; |
12779 |
*) |
*) |
12780 |
echo "$ac_t""O_NONBLOCK" 1>&6 |
echo "$as_me:$LINENO: result: O_NONBLOCK" >&5 |
12781 |
|
echo "${ECHO_T}O_NONBLOCK" >&6 |
12782 |
;; |
;; |
12783 |
esac |
esac |
12784 |
|
|
12785 |
|
|
12786 |
echo $ac_n "checking check for SV_ONSTACK""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking check for SV_ONSTACK" >&5 |
12787 |
echo "configure:6701: checking check for SV_ONSTACK" >&5 |
echo $ECHO_N "checking check for SV_ONSTACK... $ECHO_C" >&6 |
12788 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
12789 |
#line 6703 "configure" |
#line $LINENO "configure" |
12790 |
#include "confdefs.h" |
/* confdefs.h. */ |
12791 |
|
_ACEOF |
12792 |
|
cat confdefs.h >>conftest.$ac_ext |
12793 |
|
cat >>conftest.$ac_ext <<_ACEOF |
12794 |
|
/* end confdefs.h. */ |
12795 |
#include <signal.h> |
#include <signal.h> |
12796 |
int joe=SV_ONSTACK; |
int joe=SV_ONSTACK; |
12797 |
|
|
12798 |
int main() { |
int |
12799 |
|
main () |
12800 |
|
{ |
12801 |
|
|
12802 |
; return 0; } |
; |
12803 |
EOF |
return 0; |
12804 |
if { (eval echo configure:6712: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
} |
12805 |
rm -rf conftest* |
_ACEOF |
12806 |
cat >> confdefs.h <<\EOF |
rm -f conftest.$ac_objext |
12807 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
12808 |
|
(eval $ac_compile) 2>&5 |
12809 |
|
ac_status=$? |
12810 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12811 |
|
(exit $ac_status); } && |
12812 |
|
{ ac_try='test -s conftest.$ac_objext' |
12813 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12814 |
|
(eval $ac_try) 2>&5 |
12815 |
|
ac_status=$? |
12816 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12817 |
|
(exit $ac_status); }; }; then |
12818 |
|
cat >>confdefs.h <<\_ACEOF |
12819 |
#define HAVE_SV_ONSTACK 1 |
#define HAVE_SV_ONSTACK 1 |
12820 |
EOF |
_ACEOF |
12821 |
|
|
12822 |
|
|
12823 |
echo "$ac_t""yes" 1>&6 |
echo "$as_me:$LINENO: result: yes" >&5 |
12824 |
|
echo "${ECHO_T}yes" >&6 |
12825 |
else |
else |
12826 |
echo "configure: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
12827 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
12828 |
rm -rf conftest* |
|
12829 |
echo "$ac_t""no" 1>&6 |
echo "$as_me:$LINENO: result: no" >&5 |
12830 |
|
echo "${ECHO_T}no" >&6 |
12831 |
fi |
fi |
12832 |
rm -f conftest* |
rm -f conftest.$ac_objext conftest.$ac_ext |
12833 |
|
|
12834 |
echo $ac_n "checking check for SIGSYS""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking check for SIGSYS" >&5 |
12835 |
echo "configure:6729: checking check for SIGSYS" >&5 |
echo $ECHO_N "checking check for SIGSYS... $ECHO_C" >&6 |
12836 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
12837 |
#line 6731 "configure" |
#line $LINENO "configure" |
12838 |
#include "confdefs.h" |
/* confdefs.h. */ |
12839 |
|
_ACEOF |
12840 |
|
cat confdefs.h >>conftest.$ac_ext |
12841 |
|
cat >>conftest.$ac_ext <<_ACEOF |
12842 |
|
/* end confdefs.h. */ |
12843 |
#include <signal.h> |
#include <signal.h> |
12844 |
int joe=SIGSYS; |
int joe=SIGSYS; |
12845 |
|
|
12846 |
int main() { |
int |
12847 |
|
main () |
12848 |
|
{ |
12849 |
|
|
12850 |
; return 0; } |
; |
12851 |
EOF |
return 0; |
12852 |
if { (eval echo configure:6740: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
} |
12853 |
rm -rf conftest* |
_ACEOF |
12854 |
cat >> confdefs.h <<\EOF |
rm -f conftest.$ac_objext |
12855 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
12856 |
|
(eval $ac_compile) 2>&5 |
12857 |
|
ac_status=$? |
12858 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12859 |
|
(exit $ac_status); } && |
12860 |
|
{ ac_try='test -s conftest.$ac_objext' |
12861 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12862 |
|
(eval $ac_try) 2>&5 |
12863 |
|
ac_status=$? |
12864 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12865 |
|
(exit $ac_status); }; }; then |
12866 |
|
cat >>confdefs.h <<\_ACEOF |
12867 |
#define HAVE_SIGSYS 1 |
#define HAVE_SIGSYS 1 |
12868 |
EOF |
_ACEOF |
12869 |
|
|
12870 |
|
|
12871 |
|
echo "$as_me:$LINENO: result: yes" >&5 |
12872 |
echo "$ac_t""yes" 1>&6 |
echo "${ECHO_T}yes" >&6 |
12873 |
else |
else |
12874 |
echo "configure: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
12875 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
12876 |
rm -rf conftest* |
|
12877 |
echo "$ac_t""no" 1>&6 |
echo "$as_me:$LINENO: result: no" >&5 |
12878 |
|
echo "${ECHO_T}no" >&6 |
12879 |
fi |
fi |
12880 |
rm -f conftest* |
rm -f conftest.$ac_objext conftest.$ac_ext |
12881 |
|
|
12882 |
|
|
12883 |
echo $ac_n "checking check for SIGEMT""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking check for SIGEMT" >&5 |
12884 |
echo "configure:6758: checking check for SIGEMT" >&5 |
echo $ECHO_N "checking check for SIGEMT... $ECHO_C" >&6 |
12885 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
12886 |
#line 6760 "configure" |
#line $LINENO "configure" |
12887 |
#include "confdefs.h" |
/* confdefs.h. */ |
12888 |
|
_ACEOF |
12889 |
|
cat confdefs.h >>conftest.$ac_ext |
12890 |
|
cat >>conftest.$ac_ext <<_ACEOF |
12891 |
|
/* end confdefs.h. */ |
12892 |
#include <signal.h> |
#include <signal.h> |
12893 |
int joe=SIGEMT; |
int joe=SIGEMT; |
12894 |
|
|
12895 |
int main() { |
int |
12896 |
|
main () |
12897 |
|
{ |
12898 |
|
|
12899 |
; return 0; } |
; |
12900 |
EOF |
return 0; |
12901 |
if { (eval echo configure:6769: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
} |
12902 |
rm -rf conftest* |
_ACEOF |
12903 |
cat >> confdefs.h <<\EOF |
rm -f conftest.$ac_objext |
12904 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
12905 |
|
(eval $ac_compile) 2>&5 |
12906 |
|
ac_status=$? |
12907 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12908 |
|
(exit $ac_status); } && |
12909 |
|
{ ac_try='test -s conftest.$ac_objext' |
12910 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12911 |
|
(eval $ac_try) 2>&5 |
12912 |
|
ac_status=$? |
12913 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12914 |
|
(exit $ac_status); }; }; then |
12915 |
|
cat >>confdefs.h <<\_ACEOF |
12916 |
#define HAVE_SIGEMT 1 |
#define HAVE_SIGEMT 1 |
12917 |
EOF |
_ACEOF |
12918 |
|
|
12919 |
|
|
12920 |
|
echo "$as_me:$LINENO: result: yes" >&5 |
12921 |
echo "$ac_t""yes" 1>&6 |
echo "${ECHO_T}yes" >&6 |
12922 |
else |
else |
12923 |
echo "configure: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
12924 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
12925 |
rm -rf conftest* |
|
12926 |
echo "$ac_t""no" 1>&6 |
echo "$as_me:$LINENO: result: no" >&5 |
12927 |
|
echo "${ECHO_T}no" >&6 |
12928 |
fi |
fi |
12929 |
rm -f conftest* |
rm -f conftest.$ac_objext conftest.$ac_ext |
12930 |
|
|
12931 |
|
|
12932 |
|
|
12933 |
|
|
12934 |
#if test $use = "386-linux" ; then |
#if test $use = "386-linux" ; then |
12935 |
for ac_hdr in asm/sigcontext.h |
|
12936 |
|
for ac_header in asm/sigcontext.h |
12937 |
do |
do |
12938 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
12939 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
12940 |
echo "configure:6793: checking for $ac_hdr" >&5 |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
12941 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
12942 |
echo $ac_n "(cached) $ac_c" 1>&6 |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
12943 |
else |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
12944 |
cat > conftest.$ac_ext <<EOF |
fi |
12945 |
#line 6798 "configure" |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
12946 |
#include "confdefs.h" |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
12947 |
#include <$ac_hdr> |
else |
12948 |
EOF |
# Is the header compilable? |
12949 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
12950 |
{ (eval echo configure:6803: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
12951 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
cat >conftest.$ac_ext <<_ACEOF |
12952 |
if test -z "$ac_err"; then |
#line $LINENO "configure" |
12953 |
rm -rf conftest* |
/* confdefs.h. */ |
12954 |
eval "ac_cv_header_$ac_safe=yes" |
_ACEOF |
12955 |
else |
cat confdefs.h >>conftest.$ac_ext |
12956 |
echo "$ac_err" >&5 |
cat >>conftest.$ac_ext <<_ACEOF |
12957 |
echo "configure: failed program was:" >&5 |
/* end confdefs.h. */ |
12958 |
cat conftest.$ac_ext >&5 |
$ac_includes_default |
12959 |
rm -rf conftest* |
#include <$ac_header> |
12960 |
eval "ac_cv_header_$ac_safe=no" |
_ACEOF |
12961 |
fi |
rm -f conftest.$ac_objext |
12962 |
rm -f conftest* |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
12963 |
|
(eval $ac_compile) 2>&5 |
12964 |
|
ac_status=$? |
12965 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12966 |
|
(exit $ac_status); } && |
12967 |
|
{ ac_try='test -s conftest.$ac_objext' |
12968 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12969 |
|
(eval $ac_try) 2>&5 |
12970 |
|
ac_status=$? |
12971 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12972 |
|
(exit $ac_status); }; }; then |
12973 |
|
ac_header_compiler=yes |
12974 |
|
else |
12975 |
|
echo "$as_me: failed program was:" >&5 |
12976 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
12977 |
|
|
12978 |
|
ac_header_compiler=no |
12979 |
|
fi |
12980 |
|
rm -f conftest.$ac_objext conftest.$ac_ext |
12981 |
|
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
12982 |
|
echo "${ECHO_T}$ac_header_compiler" >&6 |
12983 |
|
|
12984 |
|
# Is the header present? |
12985 |
|
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
12986 |
|
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
12987 |
|
cat >conftest.$ac_ext <<_ACEOF |
12988 |
|
#line $LINENO "configure" |
12989 |
|
/* confdefs.h. */ |
12990 |
|
_ACEOF |
12991 |
|
cat confdefs.h >>conftest.$ac_ext |
12992 |
|
cat >>conftest.$ac_ext <<_ACEOF |
12993 |
|
/* end confdefs.h. */ |
12994 |
|
#include <$ac_header> |
12995 |
|
_ACEOF |
12996 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
12997 |
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
12998 |
|
ac_status=$? |
12999 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
13000 |
|
rm -f conftest.er1 |
13001 |
|
cat conftest.err >&5 |
13002 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13003 |
|
(exit $ac_status); } >/dev/null; then |
13004 |
|
if test -s conftest.err; then |
13005 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
13006 |
|
else |
13007 |
|
ac_cpp_err= |
13008 |
|
fi |
13009 |
|
else |
13010 |
|
ac_cpp_err=yes |
13011 |
fi |
fi |
13012 |
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
if test -z "$ac_cpp_err"; then |
13013 |
echo "$ac_t""yes" 1>&6 |
ac_header_preproc=yes |
|
ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` |
|
|
cat >> confdefs.h <<EOF |
|
|
#define $ac_tr_hdr 1 |
|
|
EOF |
|
|
|
|
13014 |
else |
else |
13015 |
echo "$ac_t""no" 1>&6 |
echo "$as_me: failed program was:" >&5 |
13016 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
13017 |
|
|
13018 |
|
ac_header_preproc=no |
13019 |
|
fi |
13020 |
|
rm -f conftest.err conftest.$ac_ext |
13021 |
|
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
13022 |
|
echo "${ECHO_T}$ac_header_preproc" >&6 |
13023 |
|
|
13024 |
|
# So? What about this header? |
13025 |
|
case $ac_header_compiler:$ac_header_preproc in |
13026 |
|
yes:no ) |
13027 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
13028 |
|
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
13029 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
13030 |
|
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
13031 |
|
( |
13032 |
|
cat <<\_ASBOX |
13033 |
|
## ------------------------------------ ## |
13034 |
|
## Report this to bug-autoconf@gnu.org. ## |
13035 |
|
## ------------------------------------ ## |
13036 |
|
_ASBOX |
13037 |
|
) | |
13038 |
|
sed "s/^/$as_me: WARNING: /" >&2 |
13039 |
|
;; |
13040 |
|
no:yes ) |
13041 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
13042 |
|
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
13043 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
13044 |
|
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
13045 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
13046 |
|
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
13047 |
|
( |
13048 |
|
cat <<\_ASBOX |
13049 |
|
## ------------------------------------ ## |
13050 |
|
## Report this to bug-autoconf@gnu.org. ## |
13051 |
|
## ------------------------------------ ## |
13052 |
|
_ASBOX |
13053 |
|
) | |
13054 |
|
sed "s/^/$as_me: WARNING: /" >&2 |
13055 |
|
;; |
13056 |
|
esac |
13057 |
|
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
13058 |
|
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
13059 |
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
13060 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
13061 |
|
else |
13062 |
|
eval "$as_ac_Header=$ac_header_preproc" |
13063 |
|
fi |
13064 |
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
13065 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
13066 |
|
|
13067 |
|
fi |
13068 |
|
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
13069 |
|
cat >>confdefs.h <<_ACEOF |
13070 |
|
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
13071 |
|
_ACEOF |
13072 |
|
|
13073 |
fi |
fi |
13074 |
|
|
13075 |
done |
done |
13076 |
|
|
13077 |
for ac_hdr in asm/signal.h |
|
13078 |
|
for ac_header in asm/signal.h |
13079 |
do |
do |
13080 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
13081 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
13082 |
echo "configure:6833: checking for $ac_hdr" >&5 |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
13083 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
13084 |
echo $ac_n "(cached) $ac_c" 1>&6 |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
13085 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
13086 |
|
fi |
13087 |
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
13088 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
13089 |
|
else |
13090 |
|
# Is the header compilable? |
13091 |
|
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
13092 |
|
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
13093 |
|
cat >conftest.$ac_ext <<_ACEOF |
13094 |
|
#line $LINENO "configure" |
13095 |
|
/* confdefs.h. */ |
13096 |
|
_ACEOF |
13097 |
|
cat confdefs.h >>conftest.$ac_ext |
13098 |
|
cat >>conftest.$ac_ext <<_ACEOF |
13099 |
|
/* end confdefs.h. */ |
13100 |
|
$ac_includes_default |
13101 |
|
#include <$ac_header> |
13102 |
|
_ACEOF |
13103 |
|
rm -f conftest.$ac_objext |
13104 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
13105 |
|
(eval $ac_compile) 2>&5 |
13106 |
|
ac_status=$? |
13107 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13108 |
|
(exit $ac_status); } && |
13109 |
|
{ ac_try='test -s conftest.$ac_objext' |
13110 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
13111 |
|
(eval $ac_try) 2>&5 |
13112 |
|
ac_status=$? |
13113 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13114 |
|
(exit $ac_status); }; }; then |
13115 |
|
ac_header_compiler=yes |
13116 |
|
else |
13117 |
|
echo "$as_me: failed program was:" >&5 |
13118 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
13119 |
|
|
13120 |
|
ac_header_compiler=no |
13121 |
|
fi |
13122 |
|
rm -f conftest.$ac_objext conftest.$ac_ext |
13123 |
|
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
13124 |
|
echo "${ECHO_T}$ac_header_compiler" >&6 |
13125 |
|
|
13126 |
|
# Is the header present? |
13127 |
|
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
13128 |
|
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
13129 |
|
cat >conftest.$ac_ext <<_ACEOF |
13130 |
|
#line $LINENO "configure" |
13131 |
|
/* confdefs.h. */ |
13132 |
|
_ACEOF |
13133 |
|
cat confdefs.h >>conftest.$ac_ext |
13134 |
|
cat >>conftest.$ac_ext <<_ACEOF |
13135 |
|
/* end confdefs.h. */ |
13136 |
|
#include <$ac_header> |
13137 |
|
_ACEOF |
13138 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
13139 |
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
13140 |
|
ac_status=$? |
13141 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
13142 |
|
rm -f conftest.er1 |
13143 |
|
cat conftest.err >&5 |
13144 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13145 |
|
(exit $ac_status); } >/dev/null; then |
13146 |
|
if test -s conftest.err; then |
13147 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
13148 |
|
else |
13149 |
|
ac_cpp_err= |
13150 |
|
fi |
13151 |
else |
else |
13152 |
cat > conftest.$ac_ext <<EOF |
ac_cpp_err=yes |
|
#line 6838 "configure" |
|
|
#include "confdefs.h" |
|
|
#include <$ac_hdr> |
|
|
EOF |
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
|
|
{ (eval echo configure:6843: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|
|
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
|
|
if test -z "$ac_err"; then |
|
|
rm -rf conftest* |
|
|
eval "ac_cv_header_$ac_safe=yes" |
|
|
else |
|
|
echo "$ac_err" >&5 |
|
|
echo "configure: failed program was:" >&5 |
|
|
cat conftest.$ac_ext >&5 |
|
|
rm -rf conftest* |
|
|
eval "ac_cv_header_$ac_safe=no" |
|
|
fi |
|
|
rm -f conftest* |
|
13153 |
fi |
fi |
13154 |
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
if test -z "$ac_cpp_err"; then |
13155 |
echo "$ac_t""yes" 1>&6 |
ac_header_preproc=yes |
|
ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` |
|
|
cat >> confdefs.h <<EOF |
|
|
#define $ac_tr_hdr 1 |
|
|
EOF |
|
|
|
|
13156 |
else |
else |
13157 |
echo "$ac_t""no" 1>&6 |
echo "$as_me: failed program was:" >&5 |
13158 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
13159 |
|
|
13160 |
|
ac_header_preproc=no |
13161 |
|
fi |
13162 |
|
rm -f conftest.err conftest.$ac_ext |
13163 |
|
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
13164 |
|
echo "${ECHO_T}$ac_header_preproc" >&6 |
13165 |
|
|
13166 |
|
# So? What about this header? |
13167 |
|
case $ac_header_compiler:$ac_header_preproc in |
13168 |
|
yes:no ) |
13169 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
13170 |
|
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
13171 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
13172 |
|
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
13173 |
|
( |
13174 |
|
cat <<\_ASBOX |
13175 |
|
## ------------------------------------ ## |
13176 |
|
## Report this to bug-autoconf@gnu.org. ## |
13177 |
|
## ------------------------------------ ## |
13178 |
|
_ASBOX |
13179 |
|
) | |
13180 |
|
sed "s/^/$as_me: WARNING: /" >&2 |
13181 |
|
;; |
13182 |
|
no:yes ) |
13183 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
13184 |
|
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
13185 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
13186 |
|
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
13187 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
13188 |
|
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
13189 |
|
( |
13190 |
|
cat <<\_ASBOX |
13191 |
|
## ------------------------------------ ## |
13192 |
|
## Report this to bug-autoconf@gnu.org. ## |
13193 |
|
## ------------------------------------ ## |
13194 |
|
_ASBOX |
13195 |
|
) | |
13196 |
|
sed "s/^/$as_me: WARNING: /" >&2 |
13197 |
|
;; |
13198 |
|
esac |
13199 |
|
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
13200 |
|
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
13201 |
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
13202 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
13203 |
|
else |
13204 |
|
eval "$as_ac_Header=$ac_header_preproc" |
13205 |
fi |
fi |
13206 |
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
13207 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
13208 |
|
|
13209 |
|
fi |
13210 |
|
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
13211 |
|
cat >>confdefs.h <<_ACEOF |
13212 |
|
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
13213 |
|
_ACEOF |
13214 |
|
|
13215 |
|
fi |
13216 |
|
|
13217 |
done |
done |
13218 |
|
|
13219 |
echo $ac_n "checking for sigcontext...""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for sigcontext..." >&5 |
13220 |
echo "configure:6870: checking for sigcontext..." >&5 |
echo $ECHO_N "checking for sigcontext...... $ECHO_C" >&6 |
13221 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
13222 |
#line 6872 "configure" |
#line $LINENO "configure" |
13223 |
#include "confdefs.h" |
/* confdefs.h. */ |
13224 |
|
_ACEOF |
13225 |
|
cat confdefs.h >>conftest.$ac_ext |
13226 |
|
cat >>conftest.$ac_ext <<_ACEOF |
13227 |
|
/* end confdefs.h. */ |
13228 |
#include <signal.h> |
#include <signal.h> |
13229 |
|
|
13230 |
int main() { |
int |
13231 |
|
main () |
13232 |
|
{ |
13233 |
|
|
13234 |
struct sigcontext foo; |
struct sigcontext foo; |
13235 |
|
|
13236 |
; return 0; } |
; |
13237 |
EOF |
return 0; |
13238 |
if { (eval echo configure:6882: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
} |
13239 |
rm -rf conftest* |
_ACEOF |
13240 |
|
rm -f conftest.$ac_objext |
13241 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
13242 |
|
(eval $ac_compile) 2>&5 |
13243 |
|
ac_status=$? |
13244 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13245 |
|
(exit $ac_status); } && |
13246 |
|
{ ac_try='test -s conftest.$ac_objext' |
13247 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
13248 |
|
(eval $ac_try) 2>&5 |
13249 |
|
ac_status=$? |
13250 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13251 |
|
(exit $ac_status); }; }; then |
13252 |
|
|
13253 |
sigcontext_works=1; |
sigcontext_works=1; |
13254 |
cat >> confdefs.h <<\EOF |
cat >>confdefs.h <<\_ACEOF |
13255 |
#define SIGNAL_H_HAS_SIGCONTEXT 1 |
#define SIGNAL_H_HAS_SIGCONTEXT 1 |
13256 |
EOF |
_ACEOF |
13257 |
|
|
13258 |
|
echo "$as_me:$LINENO: result: sigcontext in signal.h" >&5 |
13259 |
|
echo "${ECHO_T}sigcontext in signal.h" >&6 |
13260 |
|
|
|
echo "$ac_t""sigcontext in signal.h" 1>&6 |
|
|
|
|
13261 |
else |
else |
13262 |
echo "configure: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
13263 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
13264 |
rm -rf conftest* |
|
13265 |
sigcontext_works=0; |
sigcontext_works=0; |
13266 |
echo "$ac_t""sigcontext NOT in signal.h" 1>&6 |
echo "$as_me:$LINENO: result: sigcontext NOT in signal.h" >&5 |
13267 |
|
echo "${ECHO_T}sigcontext NOT in signal.h" >&6 |
13268 |
|
|
13269 |
fi |
fi |
13270 |
rm -f conftest* |
rm -f conftest.$ac_objext conftest.$ac_ext |
13271 |
if test "$sigcontext_works" = 0 ; then |
if test "$sigcontext_works" = 0 ; then |
13272 |
echo $ac_n "checking for sigcontext...""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for sigcontext..." >&5 |
13273 |
echo "configure:6903: checking for sigcontext..." >&5 |
echo $ECHO_N "checking for sigcontext...... $ECHO_C" >&6 |
13274 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
13275 |
#line 6905 "configure" |
#line $LINENO "configure" |
13276 |
#include "confdefs.h" |
/* confdefs.h. */ |
13277 |
|
_ACEOF |
13278 |
|
cat confdefs.h >>conftest.$ac_ext |
13279 |
|
cat >>conftest.$ac_ext <<_ACEOF |
13280 |
|
/* end confdefs.h. */ |
13281 |
#include <signal.h> |
#include <signal.h> |
13282 |
#ifdef HAVE_ASM_SIGCONTEXT_H |
#ifdef HAVE_ASM_SIGCONTEXT_H |
13283 |
#include <asm/sigcontext.h> |
#include <asm/sigcontext.h> |
13284 |
#endif |
#endif |
13285 |
#ifdef HAVE_ASM_SIGNAL_H |
#ifdef HAVE_ASM_SIGNAL_H |
13286 |
#include <asm/signal.h> |
#include <asm/signal.h> |
13287 |
#endif |
#endif |
13288 |
|
|
13289 |
int main() { |
int |
13290 |
|
main () |
13291 |
|
{ |
13292 |
|
|
13293 |
struct sigcontext foo; |
struct sigcontext foo; |
13294 |
|
|
13295 |
; return 0; } |
; |
13296 |
EOF |
return 0; |
13297 |
if { (eval echo configure:6921: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
} |
13298 |
rm -rf conftest* |
_ACEOF |
13299 |
|
rm -f conftest.$ac_objext |
13300 |
cat >> confdefs.h <<\EOF |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
13301 |
|
(eval $ac_compile) 2>&5 |
13302 |
|
ac_status=$? |
13303 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13304 |
|
(exit $ac_status); } && |
13305 |
|
{ ac_try='test -s conftest.$ac_objext' |
13306 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
13307 |
|
(eval $ac_try) 2>&5 |
13308 |
|
ac_status=$? |
13309 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13310 |
|
(exit $ac_status); }; }; then |
13311 |
|
|
13312 |
|
cat >>confdefs.h <<\_ACEOF |
13313 |
#define HAVE_SIGCONTEXT 1 |
#define HAVE_SIGCONTEXT 1 |
13314 |
EOF |
_ACEOF |
13315 |
|
|
13316 |
|
echo "$as_me:$LINENO: result: sigcontext in asm files" >&5 |
13317 |
|
echo "${ECHO_T}sigcontext in asm files" >&6 |
13318 |
|
|
|
echo "$ac_t""sigcontext in asm files" 1>&6 |
|
|
|
|
13319 |
else |
else |
13320 |
echo "configure: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
13321 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
13322 |
rm -rf conftest* |
|
13323 |
|
|
13324 |
echo "$ac_t""no sigcontext found" 1>&6 |
echo "$as_me:$LINENO: result: no sigcontext found" >&5 |
13325 |
|
echo "${ECHO_T}no sigcontext found" >&6 |
13326 |
|
|
13327 |
fi |
fi |
13328 |
rm -f conftest* |
rm -f conftest.$ac_objext conftest.$ac_ext |
13329 |
|
|
13330 |
|
|
13331 |
fi |
fi |
13332 |
# echo 'foo() {}' > conftest1.c |
# echo 'foo() {}' > conftest1.c |
13333 |
# $CC -S conftest1.c |
# $CC -S conftest1.c |
13334 |
# use_underscore=0 |
# use_underscore=0 |
13335 |
# if fgrep _foo conftest1.s ; then use_underscore=1 ; fi |
# if fgrep _foo conftest1.s ; then use_underscore=1 ; fi |
13336 |
# if test $use_underscore = 0 ; then |
# if test $use_underscore = 0 ; then |
13337 |
# MPI_FILE=mpi-386_no_under.o |
# MPI_FILE=mpi-386_no_under.o |
13349 |
|
|
13350 |
# Extract the first word of "emacs", so it can be a program name with args. |
# Extract the first word of "emacs", so it can be a program name with args. |
13351 |
set dummy emacs; ac_word=$2 |
set dummy emacs; ac_word=$2 |
13352 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
13353 |
echo "configure:6963: checking for $ac_word" >&5 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
13354 |
if eval "test \"`echo '$''{'ac_cv_path_EMACS'+set}'`\" = set"; then |
if test "${ac_cv_path_EMACS+set}" = set; then |
13355 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
13356 |
else |
else |
13357 |
case "$EMACS" in |
case $EMACS in |
13358 |
/*) |
[\\/]* | ?:[\\/]*) |
13359 |
ac_cv_path_EMACS="$EMACS" # Let the user override the test with a path. |
ac_cv_path_EMACS="$EMACS" # Let the user override the test with a path. |
13360 |
;; |
;; |
|
?:/*) |
|
|
ac_cv_path_EMACS="$EMACS" # Let the user override the test with a dos path. |
|
|
;; |
|
13361 |
*) |
*) |
13362 |
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
13363 |
ac_dummy="$PATH" |
for as_dir in $PATH |
13364 |
for ac_dir in $ac_dummy; do |
do |
13365 |
test -z "$ac_dir" && ac_dir=. |
IFS=$as_save_IFS |
13366 |
if test -f $ac_dir/$ac_word; then |
test -z "$as_dir" && as_dir=. |
13367 |
ac_cv_path_EMACS="$ac_dir/$ac_word" |
for ac_exec_ext in '' $ac_executable_extensions; do |
13368 |
break |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
13369 |
fi |
ac_cv_path_EMACS="$as_dir/$ac_word$ac_exec_ext" |
13370 |
done |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
13371 |
IFS="$ac_save_ifs" |
break 2 |
13372 |
|
fi |
13373 |
|
done |
13374 |
|
done |
13375 |
|
|
13376 |
;; |
;; |
13377 |
esac |
esac |
13378 |
fi |
fi |
13379 |
EMACS="$ac_cv_path_EMACS" |
EMACS=$ac_cv_path_EMACS |
13380 |
|
|
13381 |
if test -n "$EMACS"; then |
if test -n "$EMACS"; then |
13382 |
echo "$ac_t""$EMACS" 1>&6 |
echo "$as_me:$LINENO: result: $EMACS" >&5 |
13383 |
|
echo "${ECHO_T}$EMACS" >&6 |
13384 |
else |
else |
13385 |
echo "$ac_t""no" 1>&6 |
echo "$as_me:$LINENO: result: no" >&5 |
13386 |
|
echo "${ECHO_T}no" >&6 |
13387 |
fi |
fi |
13388 |
|
|
13389 |
|
|
13401 |
(message ans)) |
(message ans)) |
13402 |
EOF |
EOF |
13403 |
|
|
13404 |
echo $ac_n "checking emacs site lisp directory""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking emacs site lisp directory" >&5 |
13405 |
echo "configure:7011: checking emacs site lisp directory" >&5 |
echo $ECHO_N "checking emacs site lisp directory... $ECHO_C" >&6 |
13406 |
if [ "$EMACS_SITE_LISP" = "unknown" ] ; then |
if [ "$EMACS_SITE_LISP" = "unknown" ] ; then |
13407 |
if [ "$EMACS" != "" ] ; then |
if [ "$EMACS" != "" ] ; then |
13408 |
EMACS_SITE_LISP=`$EMACS -q -batch --no-site-file -l conftest.el 2>&1 | sed -e /Loading/d | sed -e /load/d ` |
EMACS_SITE_LISP=`$EMACS -q -batch --no-site-file -l conftest.el 2>&1 | sed -e /Loading/d | sed -e /load/d ` |
13410 |
EMACS_SITE_LISP="" |
EMACS_SITE_LISP="" |
13411 |
fi |
fi |
13412 |
fi |
fi |
13413 |
echo "$ac_t""$EMACS_SITE_LISP" 1>&6 |
echo "$as_me:$LINENO: result: $EMACS_SITE_LISP" >&5 |
13414 |
|
echo "${ECHO_T}$EMACS_SITE_LISP" >&6 |
13415 |
|
|
13416 |
|
|
13417 |
# check for where the emacs site lisp default.el is |
# check for where the emacs site lisp default.el is |
13426 |
(message ans)) |
(message ans)) |
13427 |
EOF |
EOF |
13428 |
|
|
13429 |
echo $ac_n "checking emacs default.el""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking emacs default.el" >&5 |
13430 |
echo "configure:7035: checking emacs default.el" >&5 |
echo $ECHO_N "checking emacs default.el... $ECHO_C" >&6 |
13431 |
if [ "$EMACS" != "" ] ; then |
if [ "$EMACS" != "" ] ; then |
13432 |
EMACS_DEFAULT_EL=`$EMACS -q -batch --no-site-file -l conftest.el 2>&1 | sed -e /Loading/d | sed -e /load/d ` |
EMACS_DEFAULT_EL=`$EMACS -q -batch --no-site-file -l conftest.el 2>&1 | sed -e /Loading/d | sed -e /load/d ` |
13433 |
else |
else |
13438 |
EMACS_DEFAULT_EL=${EMACS_SITE_LISP}/default.el |
EMACS_DEFAULT_EL=${EMACS_SITE_LISP}/default.el |
13439 |
fi |
fi |
13440 |
fi |
fi |
13441 |
echo "$ac_t""$EMACS_DEFAULT_EL" 1>&6 |
echo "$as_me:$LINENO: result: $EMACS_DEFAULT_EL" >&5 |
13442 |
|
echo "${ECHO_T}$EMACS_DEFAULT_EL" >&6 |
13443 |
|
|
13444 |
|
|
13445 |
|
|
13450 |
(let ((ans "") file (tem Info-default-directory-list)) |
(let ((ans "") file (tem Info-default-directory-list)) |
13451 |
(while tem |
(while tem |
13452 |
(cond ((file-exists-p (setq file (expand-file-name "dir" (car tem)))) |
(cond ((file-exists-p (setq file (expand-file-name "dir" (car tem)))) |
13453 |
(setq ans (file-name-as-directory (car tem))) |
(setq ans (file-name-as-directory (car tem))) |
13454 |
(setq tem nil) )) |
(setq tem nil) )) |
13455 |
(setq tem (cdr tem))) |
(setq tem (cdr tem))) |
13456 |
(message ans)) |
(message ans)) |
13457 |
EOF |
EOF |
13458 |
|
|
13459 |
echo $ac_n "checking emacs info/dir""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking emacs info/dir" >&5 |
13460 |
echo "configure:7064: checking emacs info/dir" >&5 |
echo $ECHO_N "checking emacs info/dir... $ECHO_C" >&6 |
13461 |
if test "$use" = "mingw" ; then |
if test "$use" = "mingw" ; then |
13462 |
INFO_DIR=\$\(prefix\)/lib/gcl-$VERSION/info/ |
INFO_DIR=\$\(prefix\)/lib/gcl-$VERSION/info/ |
13463 |
else |
else |
13471 |
else true; |
else true; |
13472 |
fi |
fi |
13473 |
fi |
fi |
13474 |
echo "$ac_t""$INFO_DIR" 1>&6 |
echo "$as_me:$LINENO: result: $INFO_DIR" >&5 |
13475 |
|
echo "${ECHO_T}$INFO_DIR" >&6 |
13476 |
|
|
13477 |
|
|
13478 |
echo $ac_n "checking for tcl/tk""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for tcl/tk" >&5 |
13479 |
echo "configure:7082: checking for tcl/tk" >&5 |
echo $ECHO_N "checking for tcl/tk... $ECHO_C" >&6 |
13480 |
|
|
13481 |
|
|
13482 |
if test -d "${TCL_CONFIG_PREFIX}" ; then true ; else |
if test -d "${TCL_CONFIG_PREFIX}" ; then true ; else |
13486 |
set dir [set tcl_library] |
set dir [set tcl_library] |
13487 |
if { [file exists [file join [set dir] tclConfig.sh]] } { |
if { [file exists [file join [set dir] tclConfig.sh]] } { |
13488 |
puts [set dir] |
puts [set dir] |
13489 |
exit |
exit |
13490 |
} |
} |
13491 |
set dir [file dirname [set tcl_library]] |
set dir [file dirname [set tcl_library]] |
13492 |
if { [file exists [file join [set dir] tclConfig.sh]] } { |
if { [file exists [file join [set dir] tclConfig.sh]] } { |
13498 |
|
|
13499 |
# Extract the first word of "tclsh", so it can be a program name with args. |
# Extract the first word of "tclsh", so it can be a program name with args. |
13500 |
set dummy tclsh; ac_word=$2 |
set dummy tclsh; ac_word=$2 |
13501 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
13502 |
echo "configure:7105: checking for $ac_word" >&5 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
13503 |
if eval "test \"`echo '$''{'ac_cv_prog_TCLSH'+set}'`\" = set"; then |
if test "${ac_cv_prog_TCLSH+set}" = set; then |
13504 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
13505 |
else |
else |
13506 |
if test -n "$TCLSH"; then |
if test -n "$TCLSH"; then |
13507 |
ac_cv_prog_TCLSH="$TCLSH" # Let the user override the test. |
ac_cv_prog_TCLSH="$TCLSH" # Let the user override the test. |
13508 |
else |
else |
13509 |
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
13510 |
ac_dummy="$PATH" |
for as_dir in $PATH |
13511 |
for ac_dir in $ac_dummy; do |
do |
13512 |
test -z "$ac_dir" && ac_dir=. |
IFS=$as_save_IFS |
13513 |
if test -f $ac_dir/$ac_word; then |
test -z "$as_dir" && as_dir=. |
13514 |
ac_cv_prog_TCLSH="tclsh" |
for ac_exec_ext in '' $ac_executable_extensions; do |
13515 |
break |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
13516 |
fi |
ac_cv_prog_TCLSH="tclsh" |
13517 |
done |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
13518 |
IFS="$ac_save_ifs" |
break 2 |
13519 |
|
fi |
13520 |
|
done |
13521 |
|
done |
13522 |
|
|
13523 |
test -z "$ac_cv_prog_TCLSH" && ac_cv_prog_TCLSH="${TCLSH}" |
test -z "$ac_cv_prog_TCLSH" && ac_cv_prog_TCLSH="${TCLSH}" |
13524 |
fi |
fi |
13525 |
fi |
fi |
13526 |
TCLSH="$ac_cv_prog_TCLSH" |
TCLSH=$ac_cv_prog_TCLSH |
13527 |
if test -n "$TCLSH"; then |
if test -n "$TCLSH"; then |
13528 |
echo "$ac_t""$TCLSH" 1>&6 |
echo "$as_me:$LINENO: result: $TCLSH" >&5 |
13529 |
|
echo "${ECHO_T}$TCLSH" >&6 |
13530 |
else |
else |
13531 |
echo "$ac_t""no" 1>&6 |
echo "$as_me:$LINENO: result: no" >&5 |
13532 |
|
echo "${ECHO_T}no" >&6 |
13533 |
fi |
fi |
13534 |
|
|
13535 |
#AC_CHECK_PROG(TCLSH,tclsh8.0,tclsh8.0,${TCLSH}) |
#AC_CHECK_PROG(TCLSH,tclsh8.0,tclsh8.0,${TCLSH}) |
13595 |
else |
else |
13596 |
if test -f /usr/include/tcl${TCL_VERSION}/tk.h ; then |
if test -f /usr/include/tcl${TCL_VERSION}/tk.h ; then |
13597 |
TK_INCLUDE=-I/usr/include/tcl${TCL_VERSION} |
TK_INCLUDE=-I/usr/include/tcl${TCL_VERSION} |
13598 |
fi |
fi |
13599 |
fi |
fi |
13600 |
if test -f ${TCL_CONFIG_PREFIX}/../include/tcl.h ; then |
if test -f ${TCL_CONFIG_PREFIX}/../include/tcl.h ; then |
13601 |
TCL_INCLUDE=-I${TCL_CONFIG_PREFIX}/../include |
TCL_INCLUDE=-I${TCL_CONFIG_PREFIX}/../include |
13609 |
TCL_LIBS="-L${TK_CONFIG_PREFIX}/../bin -ltk${TCL_VERSION_DOT_FREE} -ltcl${TCL_VERSION_DOT_FREE}" |
TCL_LIBS="-L${TK_CONFIG_PREFIX}/../bin -ltk${TCL_VERSION_DOT_FREE} -ltcl${TCL_VERSION_DOT_FREE}" |
13610 |
TCL_STUB_LIBS="-L${TK_CONFIG_PREFIX}/lib -ltkstub${TCL_VERSION_DOT_FREE} -ltclstub${TCL_VERSION_DOT_FREE}" |
TCL_STUB_LIBS="-L${TK_CONFIG_PREFIX}/lib -ltkstub${TCL_VERSION_DOT_FREE} -ltclstub${TCL_VERSION_DOT_FREE}" |
13611 |
else |
else |
13612 |
echo $ac_n "checking for main in -llieee""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for main in -llieee" >&5 |
13613 |
echo "configure:7210: checking for main in -llieee" >&5 |
echo $ECHO_N "checking for main in -llieee... $ECHO_C" >&6 |
13614 |
ac_lib_var=`echo lieee'_'main | sed 'y%./+-%__p_%'` |
if test "${ac_cv_lib_lieee_main+set}" = set; then |
13615 |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
13616 |
else |
else |
13617 |
ac_save_LIBS="$LIBS" |
ac_check_lib_save_LIBS=$LIBS |
13618 |
LIBS="-llieee $LIBS" |
LIBS="-llieee $LIBS" |
13619 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
13620 |
#line 7218 "configure" |
#line $LINENO "configure" |
13621 |
#include "confdefs.h" |
/* confdefs.h. */ |
13622 |
|
_ACEOF |
13623 |
|
cat confdefs.h >>conftest.$ac_ext |
13624 |
|
cat >>conftest.$ac_ext <<_ACEOF |
13625 |
|
/* end confdefs.h. */ |
13626 |
|
|
|
int main() { |
|
|
main() |
|
|
; return 0; } |
|
|
EOF |
|
|
if { (eval echo configure:7225: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|
|
rm -rf conftest* |
|
|
eval "ac_cv_lib_$ac_lib_var=yes" |
|
|
else |
|
|
echo "configure: failed program was:" >&5 |
|
|
cat conftest.$ac_ext >&5 |
|
|
rm -rf conftest* |
|
|
eval "ac_cv_lib_$ac_lib_var=no" |
|
|
fi |
|
|
rm -f conftest* |
|
|
LIBS="$ac_save_LIBS" |
|
13627 |
|
|
13628 |
fi |
int |
13629 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
main () |
13630 |
echo "$ac_t""yes" 1>&6 |
{ |
13631 |
|
main (); |
13632 |
|
; |
13633 |
|
return 0; |
13634 |
|
} |
13635 |
|
_ACEOF |
13636 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
13637 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
13638 |
|
(eval $ac_link) 2>&5 |
13639 |
|
ac_status=$? |
13640 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13641 |
|
(exit $ac_status); } && |
13642 |
|
{ ac_try='test -s conftest$ac_exeext' |
13643 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
13644 |
|
(eval $ac_try) 2>&5 |
13645 |
|
ac_status=$? |
13646 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13647 |
|
(exit $ac_status); }; }; then |
13648 |
|
ac_cv_lib_lieee_main=yes |
13649 |
|
else |
13650 |
|
echo "$as_me: failed program was:" >&5 |
13651 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
13652 |
|
|
13653 |
|
ac_cv_lib_lieee_main=no |
13654 |
|
fi |
13655 |
|
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
13656 |
|
LIBS=$ac_check_lib_save_LIBS |
13657 |
|
fi |
13658 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_lieee_main" >&5 |
13659 |
|
echo "${ECHO_T}$ac_cv_lib_lieee_main" >&6 |
13660 |
|
if test $ac_cv_lib_lieee_main = yes; then |
13661 |
have_ieee=1 |
have_ieee=1 |
13662 |
else |
else |
13663 |
echo "$ac_t""no" 1>&6 |
have_ieee=0 |
|
have_ieee=0 |
|
13664 |
fi |
fi |
13665 |
|
|
13666 |
if test "$have_ieee" = "0" ; then |
if test "$have_ieee" = "0" ; then |
13693 |
|
|
13694 |
|
|
13695 |
if test -d "${TK_CONFIG_PREFIX}" ; then |
if test -d "${TK_CONFIG_PREFIX}" ; then |
13696 |
echo "$ac_t""using TK_VERSION=${TK_VERSION} in ${TK_CONFIG_PREFIX}" 1>&6 |
echo "$as_me:$LINENO: result: using TK_VERSION=${TK_VERSION} in ${TK_CONFIG_PREFIX}" >&5 |
13697 |
|
echo "${ECHO_T}using TK_VERSION=${TK_VERSION} in ${TK_CONFIG_PREFIX}" >&6 |
13698 |
else |
else |
13699 |
echo "$ac_t""not found" 1>&6 |
echo "$as_me:$LINENO: result: not found" >&5 |
13700 |
|
echo "${ECHO_T}not found" >&6 |
13701 |
fi |
fi |
13702 |
|
|
13703 |
NOTIFY=$enable_notify |
NOTIFY=$enable_notify |
13704 |
|
|
13705 |
|
|
13706 |
|
|
13707 |
|
|
13708 |
|
|
13709 |
# for sgbc the mprotect capabilities. |
# for sgbc the mprotect capabilities. |
13710 |
|
|
13711 |
# the time handling for unixtime, add timezone |
# the time handling for unixtime, add timezone |
13712 |
|
|
13713 |
echo $ac_n "checking alloca""... $ac_c" 1>&6 |
if test "$use" != "mingw" ; then |
13714 |
echo "configure:7292: checking alloca" >&5 |
echo "$as_me:$LINENO: checking alloca" >&5 |
13715 |
if test "$cross_compiling" = yes; then |
echo $ECHO_N "checking alloca... $ECHO_C" >&6 |
13716 |
|
if test "$cross_compiling" = yes; then |
13717 |
gcl_ok=no |
gcl_ok=no |
13718 |
else |
else |
13719 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
13720 |
#line 7297 "configure" |
#line $LINENO "configure" |
13721 |
#include "confdefs.h" |
/* confdefs.h. */ |
13722 |
|
_ACEOF |
13723 |
|
cat confdefs.h >>conftest.$ac_ext |
13724 |
|
cat >>conftest.$ac_ext <<_ACEOF |
13725 |
|
/* end confdefs.h. */ |
13726 |
#include <stdio.h> |
#include <stdio.h> |
13727 |
int main() { exit(alloca(500) != NULL ? 0 : 1);} |
int main() { exit(alloca(500) != NULL ? 0 : 1);} |
13728 |
EOF |
_ACEOF |
13729 |
if { (eval echo configure:7302: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
rm -f conftest$ac_exeext |
13730 |
then |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
13731 |
|
(eval $ac_link) 2>&5 |
13732 |
|
ac_status=$? |
13733 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13734 |
|
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
13735 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
13736 |
|
(eval $ac_try) 2>&5 |
13737 |
|
ac_status=$? |
13738 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13739 |
|
(exit $ac_status); }; }; then |
13740 |
: |
: |
13741 |
else |
else |
13742 |
echo "configure: failed program was:" >&5 |
echo "$as_me: program exited with status $ac_status" >&5 |
13743 |
cat conftest.$ac_ext >&5 |
echo "$as_me: failed program was:" >&5 |
13744 |
rm -fr conftest* |
sed 's/^/| /' conftest.$ac_ext >&5 |
13745 |
gcl_ok=yes |
|
13746 |
fi |
( exit $ac_status ) |
13747 |
rm -fr conftest* |
gcl_ok=yes |
13748 |
fi |
fi |
13749 |
|
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
13750 |
if test $gcl_ok = yes ; then |
fi |
13751 |
echo "$ac_t""yes" 1>&6 |
if test $gcl_ok = yes ; then |
13752 |
cat >> confdefs.h <<\EOF |
echo "$as_me:$LINENO: result: yes" >&5 |
13753 |
|
echo "${ECHO_T}yes" >&6 |
13754 |
|
cat >>confdefs.h <<\_ACEOF |
13755 |
#define HAVE_ALLOCA 1 |
#define HAVE_ALLOCA 1 |
13756 |
EOF |
_ACEOF |
13757 |
|
|
13758 |
else |
else |
13759 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
13760 |
gcl_ok=no |
gcl_ok=no |
13761 |
else |
else |
13762 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
13763 |
#line 7325 "configure" |
#line $LINENO "configure" |
13764 |
#include "confdefs.h" |
/* confdefs.h. */ |
13765 |
|
_ACEOF |
13766 |
|
cat confdefs.h >>conftest.$ac_ext |
13767 |
|
cat >>conftest.$ac_ext <<_ACEOF |
13768 |
|
/* end confdefs.h. */ |
13769 |
#include <alloca.h> |
#include <alloca.h> |
13770 |
int main() { exit(alloca(500) != NULL ? 0 : 1)} |
int main() { exit(alloca(500) != NULL ? 0 : 1)} |
13771 |
EOF |
_ACEOF |
13772 |
if { (eval echo configure:7330: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
rm -f conftest$ac_exeext |
13773 |
then |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
13774 |
|
(eval $ac_link) 2>&5 |
13775 |
|
ac_status=$? |
13776 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13777 |
|
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
13778 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
13779 |
|
(eval $ac_try) 2>&5 |
13780 |
|
ac_status=$? |
13781 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13782 |
|
(exit $ac_status); }; }; then |
13783 |
: |
: |
13784 |
else |
else |
13785 |
echo "configure: failed program was:" >&5 |
echo "$as_me: program exited with status $ac_status" >&5 |
13786 |
cat conftest.$ac_ext >&5 |
echo "$as_me: failed program was:" >&5 |
13787 |
rm -fr conftest* |
sed 's/^/| /' conftest.$ac_ext >&5 |
13788 |
gcl_ok=yes |
|
13789 |
fi |
( exit $ac_status ) |
13790 |
rm -fr conftest* |
gcl_ok=yes |
13791 |
fi |
fi |
13792 |
|
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
13793 |
if test $gcl_ok = yes ; then |
fi |
13794 |
echo "$ac_t""yes" 1>&6 |
if test $gcl_ok = yes ; then |
13795 |
cat >> confdefs.h <<\EOF |
echo "$as_me:$LINENO: result: yes" >&5 |
13796 |
|
echo "${ECHO_T}yes" >&6 |
13797 |
|
cat >>confdefs.h <<\_ACEOF |
13798 |
#define HAVE_ALLOCA 1 |
#define HAVE_ALLOCA 1 |
13799 |
EOF |
_ACEOF |
13800 |
|
|
13801 |
cat >> confdefs.h <<\EOF |
cat >>confdefs.h <<\_ACEOF |
13802 |
#define NEED_ALLOCA_H 1 |
#define NEED_ALLOCA_H 1 |
13803 |
EOF |
_ACEOF |
|
|
|
|
fi |
|
|
fi |
|
|
if test $gcl_ok = no ; then echo "$ac_t""no" 1>&6 ; fi |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
13804 |
|
|
13805 |
|
fi |
13806 |
|
fi |
13807 |
|
|
13808 |
|
if test $gcl_ok = no ; then echo "$as_me:$LINENO: result: no" >&5 |
13809 |
|
echo "${ECHO_T}no" >&6 ; fi |
13810 |
|
fi |
13811 |
|
|
13812 |
|
|
13813 |
# alloca |
# alloca |
13815 |
# dlopen etc |
# dlopen etc |
13816 |
# idea make it so you do something dlopen(libX.so,RTLD_GLOBAL) |
# idea make it so you do something dlopen(libX.so,RTLD_GLOBAL) |
13817 |
# then dlload("foo.o") a lisp file can refer to things in libX.so |
# then dlload("foo.o") a lisp file can refer to things in libX.so |
13818 |
# |
# |
13819 |
|
|
13820 |
# what machine this is, and include then a machine specific hdr. |
# what machine this is, and include then a machine specific hdr. |
13821 |
# and machine specific defs. |
# and machine specific defs. |
13835 |
|
|
13836 |
# redhat/cygnus released for some reason a buggy version of gcc, |
# redhat/cygnus released for some reason a buggy version of gcc, |
13837 |
# which no one else released. Catch that here. |
# which no one else released. Catch that here. |
13838 |
echo $ac_n "checking Checking for buggy gcc version from redhat""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for buggy gcc version from redhat" >&5 |
13839 |
echo "configure:7391: checking Checking for buggy gcc version from redhat" >&5 |
echo $ECHO_N "checking for buggy gcc version from redhat... $ECHO_C" >&6 |
13840 |
if 2>&1 $CC -v | fgrep "gcc version 2.96" > /dev/null |
if 2>&1 $CC -v | fgrep "gcc version 2.96" > /dev/null |
13841 |
then |
then |
13842 |
BROKEN_O4_OPT=1 |
BROKEN_O4_OPT=1 |
13843 |
cat >> confdefs.h <<\EOF |
cat >>confdefs.h <<\_ACEOF |
13844 |
#define BROKEN_O4_OPT 1 |
#define BROKEN_O4_OPT 1 |
13845 |
EOF |
_ACEOF |
13846 |
|
|
13847 |
|
|
|
|
|
13848 |
echo ODIR_DEBUG=-O >> makedefsafter |
echo ODIR_DEBUG=-O >> makedefsafter |
13849 |
echo >> makedefsafter |
echo >> makedefsafter |
13850 |
echo "$ac_t""yes .. turning off -O4" 1>&6 |
echo "$as_me:$LINENO: result: yes .. turning off -O4" >&5 |
13851 |
|
echo "${ECHO_T}yes .. turning off -O4" >&6 |
13852 |
else |
else |
13853 |
echo "$ac_t""no" 1>&6 |
echo "$as_me:$LINENO: result: no" >&5 |
13854 |
fi |
echo "${ECHO_T}no" >&6 |
13855 |
|
fi |
13856 |
|
|
13857 |
LIBS="`echo $LDFLAGS | sed 's,gcl.script,../unixport/gcl.script,g'` $TLDFLAGS $LIBS $TLIBS" |
LIBS="`echo $LDFLAGS | sed 's,gcl.script,../unixport/gcl.script,g'` $TLDFLAGS $LIBS $TLIBS" |
13858 |
|
|
13876 |
|
|
13877 |
if test -f h/$use.defs ; then |
if test -f h/$use.defs ; then |
13878 |
|
|
13879 |
|
|
13880 |
trap '' 1 2 15 |
ac_config_files="$ac_config_files makedefc windows/gcl.iss windows/sysdir.bat windows/install.lsp" |
13881 |
cat > confcache <<\EOF |
cat >confcache <<\_ACEOF |
13882 |
# This file is a shell script that caches the results of configure |
# This file is a shell script that caches the results of configure |
13883 |
# tests run on this system so they can be shared between configure |
# tests run on this system so they can be shared between configure |
13884 |
# scripts and configure runs. It is not useful on other systems. |
# scripts and configure runs, see configure's option --config-cache. |
13885 |
# If it contains results you don't want to keep, you may remove or edit it. |
# It is not useful on other systems. If it contains results you don't |
13886 |
|
# want to keep, you may remove or edit it. |
13887 |
# |
# |
13888 |
# By default, configure uses ./config.cache as the cache file, |
# config.status only pays attention to the cache file if you give it |
13889 |
# creating it if it does not exist already. You can give configure |
# the --recheck option to rerun configure. |
|
# the --cache-file=FILE option to use a different cache file; that is |
|
|
# what configure does when it calls configure scripts in |
|
|
# subdirectories, so they share the cache. |
|
|
# Giving --cache-file=/dev/null disables caching, for debugging configure. |
|
|
# config.status only pays attention to the cache file if you give it the |
|
|
# --recheck option to rerun configure. |
|
13890 |
# |
# |
13891 |
EOF |
# `ac_cv_env_foo' variables (set or unset) will be overridden when |
13892 |
|
# loading this file, other *unset* `ac_cv_foo' will be assigned the |
13893 |
|
# following values. |
13894 |
|
|
13895 |
|
_ACEOF |
13896 |
|
|
13897 |
# The following way of writing the cache mishandles newlines in values, |
# The following way of writing the cache mishandles newlines in values, |
13898 |
# but we know of no workaround that is simple, portable, and efficient. |
# but we know of no workaround that is simple, portable, and efficient. |
13899 |
# So, don't put newlines in cache variables' values. |
# So, don't put newlines in cache variables' values. |
13900 |
# Ultrix sh set writes to stderr and can't be redirected directly, |
# Ultrix sh set writes to stderr and can't be redirected directly, |
13901 |
# and sets the high bit in the cache file unless we assign to the vars. |
# and sets the high bit in the cache file unless we assign to the vars. |
13902 |
(set) 2>&1 | |
{ |
13903 |
case `(ac_space=' '; set | grep ac_space) 2>&1` in |
(set) 2>&1 | |
13904 |
*ac_space=\ *) |
case `(ac_space=' '; set | grep ac_space) 2>&1` in |
13905 |
# `set' does not quote correctly, so add quotes (double-quote substitution |
*ac_space=\ *) |
13906 |
# turns \\\\ into \\, and sed turns \\ into \). |
# `set' does not quote correctly, so add quotes (double-quote |
13907 |
sed -n \ |
# substitution turns \\\\ into \\, and sed turns \\ into \). |
13908 |
-e "s/'/'\\\\''/g" \ |
sed -n \ |
13909 |
-e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p" |
"s/'/'\\\\''/g; |
13910 |
;; |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
13911 |
*) |
;; |
13912 |
# `set' quotes correctly as required by POSIX, so do not add quotes. |
*) |
13913 |
sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p' |
# `set' quotes correctly as required by POSIX, so do not add quotes. |
13914 |
;; |
sed -n \ |
13915 |
esac >> confcache |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
13916 |
if cmp -s $cache_file confcache; then |
;; |
13917 |
: |
esac; |
13918 |
else |
} | |
13919 |
|
sed ' |
13920 |
|
t clear |
13921 |
|
: clear |
13922 |
|
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ |
13923 |
|
t end |
13924 |
|
/^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
13925 |
|
: end' >>confcache |
13926 |
|
if diff $cache_file confcache >/dev/null 2>&1; then :; else |
13927 |
if test -w $cache_file; then |
if test -w $cache_file; then |
13928 |
echo "updating cache $cache_file" |
test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" |
13929 |
cat confcache > $cache_file |
cat confcache >$cache_file |
13930 |
else |
else |
13931 |
echo "not updating unwritable cache $cache_file" |
echo "not updating unwritable cache $cache_file" |
13932 |
fi |
fi |
13933 |
fi |
fi |
13934 |
rm -f confcache |
rm -f confcache |
13935 |
|
|
|
trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 |
|
|
|
|
13936 |
test "x$prefix" = xNONE && prefix=$ac_default_prefix |
test "x$prefix" = xNONE && prefix=$ac_default_prefix |
13937 |
# Let make expand exec_prefix. |
# Let make expand exec_prefix. |
13938 |
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
13939 |
|
|
13940 |
# Any assignment to VPATH causes Sun make to only execute |
# VPATH may cause trouble with some makes, so we remove $(srcdir), |
13941 |
# the first set of double-colon rules, so remove it if not needed. |
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and |
13942 |
# If there is a colon in the path, we need to keep it. |
# trailing colons and then remove the whole line if VPATH becomes empty |
13943 |
|
# (actually we leave an empty line to preserve line numbers). |
13944 |
if test "x$srcdir" = x.; then |
if test "x$srcdir" = x.; then |
13945 |
ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d' |
ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
13946 |
|
s/:*\$(srcdir):*/:/; |
13947 |
|
s/:*\${srcdir}:*/:/; |
13948 |
|
s/:*@srcdir@:*/:/; |
13949 |
|
s/^\([^=]*=[ ]*\):*/\1/; |
13950 |
|
s/:*$//; |
13951 |
|
s/^[^=]*=[ ]*$//; |
13952 |
|
}' |
13953 |
fi |
fi |
13954 |
|
|
|
trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15 |
|
|
|
|
13955 |
DEFS=-DHAVE_CONFIG_H |
DEFS=-DHAVE_CONFIG_H |
13956 |
|
|
13957 |
# Without the "./", some shells look in PATH for config.status. |
ac_libobjs= |
13958 |
: ${CONFIG_STATUS=./config.status} |
ac_ltlibobjs= |
13959 |
|
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
13960 |
|
# 1. Remove the extension, and $U if already installed. |
13961 |
|
ac_i=`echo "$ac_i" | |
13962 |
|
sed 's/\$U\././;s/\.o$//;s/\.obj$//'` |
13963 |
|
# 2. Add them. |
13964 |
|
ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" |
13965 |
|
ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' |
13966 |
|
done |
13967 |
|
LIBOBJS=$ac_libobjs |
13968 |
|
|
13969 |
echo creating $CONFIG_STATUS |
LTLIBOBJS=$ac_ltlibobjs |
13970 |
rm -f $CONFIG_STATUS |
|
13971 |
cat > $CONFIG_STATUS <<EOF |
|
13972 |
#! /bin/sh |
|
13973 |
# Generated automatically by configure. |
: ${CONFIG_STATUS=./config.status} |
13974 |
|
ac_clean_files_save=$ac_clean_files |
13975 |
|
ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
13976 |
|
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 |
13977 |
|
echo "$as_me: creating $CONFIG_STATUS" >&6;} |
13978 |
|
cat >$CONFIG_STATUS <<_ACEOF |
13979 |
|
#! $SHELL |
13980 |
|
# Generated by $as_me. |
13981 |
# Run this file to recreate the current configuration. |
# Run this file to recreate the current configuration. |
|
# This directory was configured as follows, |
|
|
# on host `(hostname || uname -n) 2>/dev/null | sed 1q`: |
|
|
# |
|
|
# $0 $ac_configure_args |
|
|
# |
|
13982 |
# Compiler output produced by configure, useful for debugging |
# Compiler output produced by configure, useful for debugging |
13983 |
# configure, is in ./config.log if it exists. |
# configure, is in config.log if it exists. |
13984 |
|
|
13985 |
ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]" |
debug=false |
13986 |
for ac_option |
ac_cs_recheck=false |
13987 |
|
ac_cs_silent=false |
13988 |
|
SHELL=\${CONFIG_SHELL-$SHELL} |
13989 |
|
_ACEOF |
13990 |
|
|
13991 |
|
cat >>$CONFIG_STATUS <<\_ACEOF |
13992 |
|
## --------------------- ## |
13993 |
|
## M4sh Initialization. ## |
13994 |
|
## --------------------- ## |
13995 |
|
|
13996 |
|
# Be Bourne compatible |
13997 |
|
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
13998 |
|
emulate sh |
13999 |
|
NULLCMD=: |
14000 |
|
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
14001 |
|
# is contrary to our usage. Disable this feature. |
14002 |
|
alias -g '${1+"$@"}'='"$@"' |
14003 |
|
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
14004 |
|
set -o posix |
14005 |
|
fi |
14006 |
|
|
14007 |
|
# Support unset when possible. |
14008 |
|
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then |
14009 |
|
as_unset=unset |
14010 |
|
else |
14011 |
|
as_unset=false |
14012 |
|
fi |
14013 |
|
|
14014 |
|
|
14015 |
|
# Work around bugs in pre-3.0 UWIN ksh. |
14016 |
|
$as_unset ENV MAIL MAILPATH |
14017 |
|
PS1='$ ' |
14018 |
|
PS2='> ' |
14019 |
|
PS4='+ ' |
14020 |
|
|
14021 |
|
# NLS nuisances. |
14022 |
|
for as_var in \ |
14023 |
|
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ |
14024 |
|
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
14025 |
|
LC_TELEPHONE LC_TIME |
14026 |
|
do |
14027 |
|
if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then |
14028 |
|
eval $as_var=C; export $as_var |
14029 |
|
else |
14030 |
|
$as_unset $as_var |
14031 |
|
fi |
14032 |
|
done |
14033 |
|
|
14034 |
|
# Required to use basename. |
14035 |
|
if expr a : '\(a\)' >/dev/null 2>&1; then |
14036 |
|
as_expr=expr |
14037 |
|
else |
14038 |
|
as_expr=false |
14039 |
|
fi |
14040 |
|
|
14041 |
|
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then |
14042 |
|
as_basename=basename |
14043 |
|
else |
14044 |
|
as_basename=false |
14045 |
|
fi |
14046 |
|
|
14047 |
|
|
14048 |
|
# Name of the executable. |
14049 |
|
as_me=`$as_basename "$0" || |
14050 |
|
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
14051 |
|
X"$0" : 'X\(//\)$' \| \ |
14052 |
|
X"$0" : 'X\(/\)$' \| \ |
14053 |
|
. : '\(.\)' 2>/dev/null || |
14054 |
|
echo X/"$0" | |
14055 |
|
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } |
14056 |
|
/^X\/\(\/\/\)$/{ s//\1/; q; } |
14057 |
|
/^X\/\(\/\).*/{ s//\1/; q; } |
14058 |
|
s/.*/./; q'` |
14059 |
|
|
14060 |
|
|
14061 |
|
# PATH needs CR, and LINENO needs CR and PATH. |
14062 |
|
# Avoid depending upon Character Ranges. |
14063 |
|
as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
14064 |
|
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
14065 |
|
as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
14066 |
|
as_cr_digits='0123456789' |
14067 |
|
as_cr_alnum=$as_cr_Letters$as_cr_digits |
14068 |
|
|
14069 |
|
# The user is always right. |
14070 |
|
if test "${PATH_SEPARATOR+set}" != set; then |
14071 |
|
echo "#! /bin/sh" >conf$$.sh |
14072 |
|
echo "exit 0" >>conf$$.sh |
14073 |
|
chmod +x conf$$.sh |
14074 |
|
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
14075 |
|
PATH_SEPARATOR=';' |
14076 |
|
else |
14077 |
|
PATH_SEPARATOR=: |
14078 |
|
fi |
14079 |
|
rm -f conf$$.sh |
14080 |
|
fi |
14081 |
|
|
14082 |
|
|
14083 |
|
as_lineno_1=$LINENO |
14084 |
|
as_lineno_2=$LINENO |
14085 |
|
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
14086 |
|
test "x$as_lineno_1" != "x$as_lineno_2" && |
14087 |
|
test "x$as_lineno_3" = "x$as_lineno_2" || { |
14088 |
|
# Find who we are. Look in the path if we contain no path at all |
14089 |
|
# relative or not. |
14090 |
|
case $0 in |
14091 |
|
*[\\/]* ) as_myself=$0 ;; |
14092 |
|
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
14093 |
|
for as_dir in $PATH |
14094 |
|
do |
14095 |
|
IFS=$as_save_IFS |
14096 |
|
test -z "$as_dir" && as_dir=. |
14097 |
|
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
14098 |
|
done |
14099 |
|
|
14100 |
|
;; |
14101 |
|
esac |
14102 |
|
# We did not find ourselves, most probably we were run as `sh COMMAND' |
14103 |
|
# in which case we are not to be found in the path. |
14104 |
|
if test "x$as_myself" = x; then |
14105 |
|
as_myself=$0 |
14106 |
|
fi |
14107 |
|
if test ! -f "$as_myself"; then |
14108 |
|
{ { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 |
14109 |
|
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} |
14110 |
|
{ (exit 1); exit 1; }; } |
14111 |
|
fi |
14112 |
|
case $CONFIG_SHELL in |
14113 |
|
'') |
14114 |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
14115 |
|
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
14116 |
|
do |
14117 |
|
IFS=$as_save_IFS |
14118 |
|
test -z "$as_dir" && as_dir=. |
14119 |
|
for as_base in sh bash ksh sh5; do |
14120 |
|
case $as_dir in |
14121 |
|
/*) |
14122 |
|
if ("$as_dir/$as_base" -c ' |
14123 |
|
as_lineno_1=$LINENO |
14124 |
|
as_lineno_2=$LINENO |
14125 |
|
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
14126 |
|
test "x$as_lineno_1" != "x$as_lineno_2" && |
14127 |
|
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then |
14128 |
|
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } |
14129 |
|
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } |
14130 |
|
CONFIG_SHELL=$as_dir/$as_base |
14131 |
|
export CONFIG_SHELL |
14132 |
|
exec "$CONFIG_SHELL" "$0" ${1+"$@"} |
14133 |
|
fi;; |
14134 |
|
esac |
14135 |
|
done |
14136 |
|
done |
14137 |
|
;; |
14138 |
|
esac |
14139 |
|
|
14140 |
|
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
14141 |
|
# uniformly replaced by the line number. The first 'sed' inserts a |
14142 |
|
# line-number line before each line; the second 'sed' does the real |
14143 |
|
# work. The second script uses 'N' to pair each line-number line |
14144 |
|
# with the numbered line, and appends trailing '-' during |
14145 |
|
# substitution so that $LINENO is not a special case at line end. |
14146 |
|
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
14147 |
|
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) |
14148 |
|
sed '=' <$as_myself | |
14149 |
|
sed ' |
14150 |
|
N |
14151 |
|
s,$,-, |
14152 |
|
: loop |
14153 |
|
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, |
14154 |
|
t loop |
14155 |
|
s,-$,, |
14156 |
|
s,^['$as_cr_digits']*\n,, |
14157 |
|
' >$as_me.lineno && |
14158 |
|
chmod +x $as_me.lineno || |
14159 |
|
{ { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 |
14160 |
|
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} |
14161 |
|
{ (exit 1); exit 1; }; } |
14162 |
|
|
14163 |
|
# Don't try to exec as it changes $[0], causing all sort of problems |
14164 |
|
# (the dirname of $[0] is not the place where we might find the |
14165 |
|
# original and so on. Autoconf is especially sensible to this). |
14166 |
|
. ./$as_me.lineno |
14167 |
|
# Exit status is that of the last command. |
14168 |
|
exit |
14169 |
|
} |
14170 |
|
|
14171 |
|
|
14172 |
|
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in |
14173 |
|
*c*,-n*) ECHO_N= ECHO_C=' |
14174 |
|
' ECHO_T=' ' ;; |
14175 |
|
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; |
14176 |
|
*) ECHO_N= ECHO_C='\c' ECHO_T= ;; |
14177 |
|
esac |
14178 |
|
|
14179 |
|
if expr a : '\(a\)' >/dev/null 2>&1; then |
14180 |
|
as_expr=expr |
14181 |
|
else |
14182 |
|
as_expr=false |
14183 |
|
fi |
14184 |
|
|
14185 |
|
rm -f conf$$ conf$$.exe conf$$.file |
14186 |
|
echo >conf$$.file |
14187 |
|
if ln -s conf$$.file conf$$ 2>/dev/null; then |
14188 |
|
# We could just check for DJGPP; but this test a) works b) is more generic |
14189 |
|
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). |
14190 |
|
if test -f conf$$.exe; then |
14191 |
|
# Don't use ln at all; we don't have any links |
14192 |
|
as_ln_s='cp -p' |
14193 |
|
else |
14194 |
|
as_ln_s='ln -s' |
14195 |
|
fi |
14196 |
|
elif ln conf$$.file conf$$ 2>/dev/null; then |
14197 |
|
as_ln_s=ln |
14198 |
|
else |
14199 |
|
as_ln_s='cp -p' |
14200 |
|
fi |
14201 |
|
rm -f conf$$ conf$$.exe conf$$.file |
14202 |
|
|
14203 |
|
if mkdir -p . 2>/dev/null; then |
14204 |
|
as_mkdir_p=: |
14205 |
|
else |
14206 |
|
as_mkdir_p=false |
14207 |
|
fi |
14208 |
|
|
14209 |
|
as_executable_p="test -f" |
14210 |
|
|
14211 |
|
# Sed expression to map a string onto a valid CPP name. |
14212 |
|
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" |
14213 |
|
|
14214 |
|
# Sed expression to map a string onto a valid variable name. |
14215 |
|
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" |
14216 |
|
|
14217 |
|
|
14218 |
|
# IFS |
14219 |
|
# We need space, tab and new line, in precisely that order. |
14220 |
|
as_nl=' |
14221 |
|
' |
14222 |
|
IFS=" $as_nl" |
14223 |
|
|
14224 |
|
# CDPATH. |
14225 |
|
$as_unset CDPATH |
14226 |
|
|
14227 |
|
exec 6>&1 |
14228 |
|
|
14229 |
|
# Open the log real soon, to keep \$[0] and so on meaningful, and to |
14230 |
|
# report actual input values of CONFIG_FILES etc. instead of their |
14231 |
|
# values after options handling. Logging --version etc. is OK. |
14232 |
|
exec 5>>config.log |
14233 |
|
{ |
14234 |
|
echo |
14235 |
|
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX |
14236 |
|
## Running $as_me. ## |
14237 |
|
_ASBOX |
14238 |
|
} >&5 |
14239 |
|
cat >&5 <<_CSEOF |
14240 |
|
|
14241 |
|
This file was extended by $as_me, which was |
14242 |
|
generated by GNU Autoconf 2.56. Invocation command line was |
14243 |
|
|
14244 |
|
CONFIG_FILES = $CONFIG_FILES |
14245 |
|
CONFIG_HEADERS = $CONFIG_HEADERS |
14246 |
|
CONFIG_LINKS = $CONFIG_LINKS |
14247 |
|
CONFIG_COMMANDS = $CONFIG_COMMANDS |
14248 |
|
$ $0 $@ |
14249 |
|
|
14250 |
|
_CSEOF |
14251 |
|
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 |
14252 |
|
echo >&5 |
14253 |
|
_ACEOF |
14254 |
|
|
14255 |
|
# Files that config.status was made for. |
14256 |
|
if test -n "$ac_config_files"; then |
14257 |
|
echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS |
14258 |
|
fi |
14259 |
|
|
14260 |
|
if test -n "$ac_config_headers"; then |
14261 |
|
echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS |
14262 |
|
fi |
14263 |
|
|
14264 |
|
if test -n "$ac_config_links"; then |
14265 |
|
echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS |
14266 |
|
fi |
14267 |
|
|
14268 |
|
if test -n "$ac_config_commands"; then |
14269 |
|
echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS |
14270 |
|
fi |
14271 |
|
|
14272 |
|
cat >>$CONFIG_STATUS <<\_ACEOF |
14273 |
|
|
14274 |
|
ac_cs_usage="\ |
14275 |
|
\`$as_me' instantiates files from templates according to the |
14276 |
|
current configuration. |
14277 |
|
|
14278 |
|
Usage: $0 [OPTIONS] [FILE]... |
14279 |
|
|
14280 |
|
-h, --help print this help, then exit |
14281 |
|
-V, --version print version number, then exit |
14282 |
|
-q, --quiet do not print progress messages |
14283 |
|
-d, --debug don't remove temporary files |
14284 |
|
--recheck update $as_me by reconfiguring in the same conditions |
14285 |
|
--file=FILE[:TEMPLATE] |
14286 |
|
instantiate the configuration file FILE |
14287 |
|
--header=FILE[:TEMPLATE] |
14288 |
|
instantiate the configuration header FILE |
14289 |
|
|
14290 |
|
Configuration files: |
14291 |
|
$config_files |
14292 |
|
|
14293 |
|
Configuration headers: |
14294 |
|
$config_headers |
14295 |
|
|
14296 |
|
Report bugs to <bug-autoconf@gnu.org>." |
14297 |
|
_ACEOF |
14298 |
|
|
14299 |
|
cat >>$CONFIG_STATUS <<_ACEOF |
14300 |
|
ac_cs_version="\\ |
14301 |
|
config.status |
14302 |
|
configured by $0, generated by GNU Autoconf 2.56, |
14303 |
|
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" |
14304 |
|
|
14305 |
|
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 |
14306 |
|
Free Software Foundation, Inc. |
14307 |
|
This config.status script is free software; the Free Software Foundation |
14308 |
|
gives unlimited permission to copy, distribute and modify it." |
14309 |
|
srcdir=$srcdir |
14310 |
|
_ACEOF |
14311 |
|
|
14312 |
|
cat >>$CONFIG_STATUS <<\_ACEOF |
14313 |
|
# If no file are specified by the user, then we need to provide default |
14314 |
|
# value. By we need to know if files were specified by the user. |
14315 |
|
ac_need_defaults=: |
14316 |
|
while test $# != 0 |
14317 |
do |
do |
14318 |
case "\$ac_option" in |
case $1 in |
14319 |
|
--*=*) |
14320 |
|
ac_option=`expr "x$1" : 'x\([^=]*\)='` |
14321 |
|
ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` |
14322 |
|
ac_shift=: |
14323 |
|
;; |
14324 |
|
-*) |
14325 |
|
ac_option=$1 |
14326 |
|
ac_optarg=$2 |
14327 |
|
ac_shift=shift |
14328 |
|
;; |
14329 |
|
*) # This is not an option, so the user has probably given explicit |
14330 |
|
# arguments. |
14331 |
|
ac_option=$1 |
14332 |
|
ac_need_defaults=false;; |
14333 |
|
esac |
14334 |
|
|
14335 |
|
case $ac_option in |
14336 |
|
# Handling of the options. |
14337 |
|
_ACEOF |
14338 |
|
cat >>$CONFIG_STATUS <<\_ACEOF |
14339 |
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
14340 |
echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion" |
ac_cs_recheck=: ;; |
14341 |
exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;; |
--version | --vers* | -V ) |
14342 |
-version | --version | --versio | --versi | --vers | --ver | --ve | --v) |
echo "$ac_cs_version"; exit 0 ;; |
14343 |
echo "$CONFIG_STATUS generated by autoconf version 2.13" |
--he | --h) |
14344 |
exit 0 ;; |
# Conflict between --help and --header |
14345 |
-help | --help | --hel | --he | --h) |
{ { echo "$as_me:$LINENO: error: ambiguous option: $1 |
14346 |
echo "\$ac_cs_usage"; exit 0 ;; |
Try \`$0 --help' for more information." >&5 |
14347 |
*) echo "\$ac_cs_usage"; exit 1 ;; |
echo "$as_me: error: ambiguous option: $1 |
14348 |
|
Try \`$0 --help' for more information." >&2;} |
14349 |
|
{ (exit 1); exit 1; }; };; |
14350 |
|
--help | --hel | -h ) |
14351 |
|
echo "$ac_cs_usage"; exit 0 ;; |
14352 |
|
--debug | --d* | -d ) |
14353 |
|
debug=: ;; |
14354 |
|
--file | --fil | --fi | --f ) |
14355 |
|
$ac_shift |
14356 |
|
CONFIG_FILES="$CONFIG_FILES $ac_optarg" |
14357 |
|
ac_need_defaults=false;; |
14358 |
|
--header | --heade | --head | --hea ) |
14359 |
|
$ac_shift |
14360 |
|
CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" |
14361 |
|
ac_need_defaults=false;; |
14362 |
|
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
14363 |
|
| -silent | --silent | --silen | --sile | --sil | --si | --s) |
14364 |
|
ac_cs_silent=: ;; |
14365 |
|
|
14366 |
|
# This is an error. |
14367 |
|
-*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 |
14368 |
|
Try \`$0 --help' for more information." >&5 |
14369 |
|
echo "$as_me: error: unrecognized option: $1 |
14370 |
|
Try \`$0 --help' for more information." >&2;} |
14371 |
|
{ (exit 1); exit 1; }; } ;; |
14372 |
|
|
14373 |
|
*) ac_config_targets="$ac_config_targets $1" ;; |
14374 |
|
|
14375 |
esac |
esac |
14376 |
|
shift |
14377 |
done |
done |
14378 |
|
|
14379 |
ac_given_srcdir=$srcdir |
ac_configure_extra_args= |
14380 |
|
|
14381 |
trap 'rm -fr `echo "makedefc windows/gcl.iss windows/sysdir.bat windows/install.lsp h/gclincl.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 |
if $ac_cs_silent; then |
14382 |
EOF |
exec 6>/dev/null |
14383 |
cat >> $CONFIG_STATUS <<EOF |
ac_configure_extra_args="$ac_configure_extra_args --silent" |
14384 |
|
fi |
14385 |
|
|
14386 |
# Protect against being on the right side of a sed subst in config.status. |
_ACEOF |
14387 |
sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g; |
cat >>$CONFIG_STATUS <<_ACEOF |
14388 |
s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF |
if \$ac_cs_recheck; then |
14389 |
$ac_vpsub |
echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 |
14390 |
$extrasub |
exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
14391 |
s%@SHELL@%$SHELL%g |
fi |
14392 |
s%@CFLAGS@%$CFLAGS%g |
|
14393 |
s%@CPPFLAGS@%$CPPFLAGS%g |
_ACEOF |
14394 |
s%@CXXFLAGS@%$CXXFLAGS%g |
|
14395 |
s%@FFLAGS@%$FFLAGS%g |
|
14396 |
s%@DEFS@%$DEFS%g |
|
14397 |
s%@LDFLAGS@%$LDFLAGS%g |
|
14398 |
s%@LIBS@%$LIBS%g |
|
14399 |
s%@exec_prefix@%$exec_prefix%g |
cat >>$CONFIG_STATUS <<\_ACEOF |
14400 |
s%@prefix@%$prefix%g |
for ac_config_target in $ac_config_targets |
14401 |
s%@program_transform_name@%$program_transform_name%g |
do |
14402 |
s%@bindir@%$bindir%g |
case "$ac_config_target" in |
14403 |
s%@sbindir@%$sbindir%g |
# Handling of arguments. |
14404 |
s%@libexecdir@%$libexecdir%g |
"makedefc" ) CONFIG_FILES="$CONFIG_FILES makedefc" ;; |
14405 |
s%@datadir@%$datadir%g |
"windows/gcl.iss" ) CONFIG_FILES="$CONFIG_FILES windows/gcl.iss" ;; |
14406 |
s%@sysconfdir@%$sysconfdir%g |
"windows/sysdir.bat" ) CONFIG_FILES="$CONFIG_FILES windows/sysdir.bat" ;; |
14407 |
s%@sharedstatedir@%$sharedstatedir%g |
"windows/install.lsp" ) CONFIG_FILES="$CONFIG_FILES windows/install.lsp" ;; |
14408 |
s%@localstatedir@%$localstatedir%g |
"h/gclincl.h" ) CONFIG_HEADERS="$CONFIG_HEADERS h/gclincl.h" ;; |
14409 |
s%@libdir@%$libdir%g |
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
14410 |
s%@includedir@%$includedir%g |
echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
14411 |
s%@oldincludedir@%$oldincludedir%g |
{ (exit 1); exit 1; }; };; |
14412 |
s%@infodir@%$infodir%g |
esac |
14413 |
s%@mandir@%$mandir%g |
done |
14414 |
s%@VERSION@%$VERSION%g |
|
14415 |
s%@host@%$host%g |
# If the user did not use the arguments to specify the items to instantiate, |
14416 |
s%@host_alias@%$host_alias%g |
# then the envvar interface is used. Set only those that are not. |
14417 |
s%@host_cpu@%$host_cpu%g |
# We use the long form for the default assignment because of an extremely |
14418 |
s%@host_vendor@%$host_vendor%g |
# bizarre bug on SunOS 4.1.3. |
14419 |
s%@host_os@%$host_os%g |
if $ac_need_defaults; then |
14420 |
s%@PROCESSOR_FLAGS@%$PROCESSOR_FLAGS%g |
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files |
14421 |
s%@CC@%$CC%g |
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers |
14422 |
s%@CPP@%$CPP%g |
fi |
14423 |
s%@AWK@%$AWK%g |
|
14424 |
s%@MAKEINFO@%$MAKEINFO%g |
# Have a temporary directory for convenience. Make it in the build tree |
14425 |
s%@GMP@%$GMP%g |
# simply because there is no reason to put it here, and in addition, |
14426 |
s%@GMPDIR@%$GMPDIR%g |
# creating and moving files from /tmp can sometimes cause problems. |
14427 |
s%@X_CFLAGS@%$X_CFLAGS%g |
# Create a temporary directory, and hook for its removal unless debugging. |
14428 |
s%@X_PRE_LIBS@%$X_PRE_LIBS%g |
$debug || |
14429 |
s%@X_LIBS@%$X_LIBS%g |
{ |
14430 |
s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g |
trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 |
14431 |
s%@BUILD_BFD@%$BUILD_BFD%g |
trap '{ (exit 1); exit 1; }' 1 2 13 15 |
14432 |
s%@LITTLE_END@%$LITTLE_END%g |
} |
|
s%@PAGEWIDTH@%$PAGEWIDTH%g |
|
|
s%@HAVE_LONG_LONG@%$HAVE_LONG_LONG%g |
|
|
s%@FLISP@%$FLISP%g |
|
|
s%@SYSTEM@%$SYSTEM%g |
|
|
s%@CLSTANDARD@%$CLSTANDARD%g |
|
|
s%@RL_OBJS@%$RL_OBJS%g |
|
|
s%@RL_LIB@%$RL_LIB%g |
|
|
s%@NO_PROFILE@%$NO_PROFILE%g |
|
|
s%@HAVE_SETENV@%$HAVE_SETENV%g |
|
|
s%@HAVE_PUTENV@%$HAVE_PUTENV%g |
|
|
s%@USE_CLEANUP@%$USE_CLEANUP%g |
|
|
s%@ENDIAN_ALREADY_DEFINED@%$ENDIAN_ALREADY_DEFINED%g |
|
|
s%@HAVE_SV_ONSTACK@%$HAVE_SV_ONSTACK%g |
|
|
s%@HAVE_SIGSYS@%$HAVE_SIGSYS%g |
|
|
s%@HAVE_SIGEMT@%$HAVE_SIGEMT%g |
|
|
s%@EMACS@%$EMACS%g |
|
|
s%@EMACS_SITE_LISP@%$EMACS_SITE_LISP%g |
|
|
s%@EMACS_DEFAULT_EL@%$EMACS_DEFAULT_EL%g |
|
|
s%@INFO_DIR@%$INFO_DIR%g |
|
|
s%@TCLSH@%$TCLSH%g |
|
|
s%@TK_CONFIG_PREFIX@%$TK_CONFIG_PREFIX%g |
|
|
s%@TK_LIBRARY@%$TK_LIBRARY%g |
|
|
s%@TCL_LIBRARY@%$TCL_LIBRARY%g |
|
|
s%@TK_XINCLUDES@%$TK_XINCLUDES%g |
|
|
s%@TK_INCLUDE@%$TK_INCLUDE%g |
|
|
s%@TCL_INCLUDE@%$TCL_INCLUDE%g |
|
|
s%@TK_LIB_SPEC@%$TK_LIB_SPEC%g |
|
|
s%@TK_BUILD_LIB_SPEC@%$TK_BUILD_LIB_SPEC%g |
|
|
s%@TK_XLIBSW@%$TK_XLIBSW%g |
|
|
s%@TCL_LIB_SPEC@%$TCL_LIB_SPEC%g |
|
|
s%@TCL_DL_LIBS@%$TCL_DL_LIBS%g |
|
|
s%@TCL_LIBS@%$TCL_LIBS%g |
|
|
s%@TCL_STUB_LIBS@%$TCL_STUB_LIBS%g |
|
|
s%@NOTIFY@%$NOTIFY%g |
|
|
s%@BROKEN_O4_OPT@%$BROKEN_O4_OPT%g |
|
|
s%@FINAL_CFLAGS@%$FINAL_CFLAGS%g |
|
|
s%@NIFLAGS@%$NIFLAGS%g |
|
|
s%@O3FLAGS@%$O3FLAGS%g |
|
|
s%@O2FLAGS@%$O2FLAGS%g |
|
|
s%@EXTRA_LOBJS@%$EXTRA_LOBJS%g |
|
|
s%@LEADING_UNDERSCORE@%$LEADING_UNDERSCORE%g |
|
|
s%@GNU_LD@%$GNU_LD%g |
|
|
s%@LD_STACK_FLAGS@%$LD_STACK_FLAGS%g |
|
|
s%@use@%$use%g |
|
14433 |
|
|
14434 |
|
# Create a (secure) tmp directory for tmp files. |
14435 |
|
|
14436 |
|
{ |
14437 |
|
tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && |
14438 |
|
test -n "$tmp" && test -d "$tmp" |
14439 |
|
} || |
14440 |
|
{ |
14441 |
|
tmp=./confstat$$-$RANDOM |
14442 |
|
(umask 077 && mkdir $tmp) |
14443 |
|
} || |
14444 |
|
{ |
14445 |
|
echo "$me: cannot create a temporary directory in ." >&2 |
14446 |
|
{ (exit 1); exit 1; } |
14447 |
|
} |
14448 |
|
|
14449 |
|
_ACEOF |
14450 |
|
|
14451 |
|
cat >>$CONFIG_STATUS <<_ACEOF |
14452 |
|
|
14453 |
|
# |
14454 |
|
# CONFIG_FILES section. |
14455 |
|
# |
14456 |
|
|
14457 |
|
# No need to generate the scripts if there are no CONFIG_FILES. |
14458 |
|
# This happens for instance when ./config.status config.h |
14459 |
|
if test -n "\$CONFIG_FILES"; then |
14460 |
|
# Protect against being on the right side of a sed subst in config.status. |
14461 |
|
sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; |
14462 |
|
s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF |
14463 |
|
s,@SHELL@,$SHELL,;t t |
14464 |
|
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t |
14465 |
|
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t |
14466 |
|
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t |
14467 |
|
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t |
14468 |
|
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t |
14469 |
|
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t |
14470 |
|
s,@exec_prefix@,$exec_prefix,;t t |
14471 |
|
s,@prefix@,$prefix,;t t |
14472 |
|
s,@program_transform_name@,$program_transform_name,;t t |
14473 |
|
s,@bindir@,$bindir,;t t |
14474 |
|
s,@sbindir@,$sbindir,;t t |
14475 |
|
s,@libexecdir@,$libexecdir,;t t |
14476 |
|
s,@datadir@,$datadir,;t t |
14477 |
|
s,@sysconfdir@,$sysconfdir,;t t |
14478 |
|
s,@sharedstatedir@,$sharedstatedir,;t t |
14479 |
|
s,@localstatedir@,$localstatedir,;t t |
14480 |
|
s,@libdir@,$libdir,;t t |
14481 |
|
s,@includedir@,$includedir,;t t |
14482 |
|
s,@oldincludedir@,$oldincludedir,;t t |
14483 |
|
s,@infodir@,$infodir,;t t |
14484 |
|
s,@mandir@,$mandir,;t t |
14485 |
|
s,@build_alias@,$build_alias,;t t |
14486 |
|
s,@host_alias@,$host_alias,;t t |
14487 |
|
s,@target_alias@,$target_alias,;t t |
14488 |
|
s,@DEFS@,$DEFS,;t t |
14489 |
|
s,@ECHO_C@,$ECHO_C,;t t |
14490 |
|
s,@ECHO_N@,$ECHO_N,;t t |
14491 |
|
s,@ECHO_T@,$ECHO_T,;t t |
14492 |
|
s,@LIBS@,$LIBS,;t t |
14493 |
|
s,@VERSION@,$VERSION,;t t |
14494 |
|
s,@build@,$build,;t t |
14495 |
|
s,@build_cpu@,$build_cpu,;t t |
14496 |
|
s,@build_vendor@,$build_vendor,;t t |
14497 |
|
s,@build_os@,$build_os,;t t |
14498 |
|
s,@host@,$host,;t t |
14499 |
|
s,@host_cpu@,$host_cpu,;t t |
14500 |
|
s,@host_vendor@,$host_vendor,;t t |
14501 |
|
s,@host_os@,$host_os,;t t |
14502 |
|
s,@PROCESSOR_FLAGS@,$PROCESSOR_FLAGS,;t t |
14503 |
|
s,@CC@,$CC,;t t |
14504 |
|
s,@CFLAGS@,$CFLAGS,;t t |
14505 |
|
s,@LDFLAGS@,$LDFLAGS,;t t |
14506 |
|
s,@CPPFLAGS@,$CPPFLAGS,;t t |
14507 |
|
s,@ac_ct_CC@,$ac_ct_CC,;t t |
14508 |
|
s,@EXEEXT@,$EXEEXT,;t t |
14509 |
|
s,@OBJEXT@,$OBJEXT,;t t |
14510 |
|
s,@CPP@,$CPP,;t t |
14511 |
|
s,@AWK@,$AWK,;t t |
14512 |
|
s,@MAKEINFO@,$MAKEINFO,;t t |
14513 |
|
s,@EGREP@,$EGREP,;t t |
14514 |
|
s,@GMP@,$GMP,;t t |
14515 |
|
s,@GMPDIR@,$GMPDIR,;t t |
14516 |
|
s,@X_CFLAGS@,$X_CFLAGS,;t t |
14517 |
|
s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t |
14518 |
|
s,@X_LIBS@,$X_LIBS,;t t |
14519 |
|
s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t |
14520 |
|
s,@BUILD_BFD@,$BUILD_BFD,;t t |
14521 |
|
s,@LITTLE_END@,$LITTLE_END,;t t |
14522 |
|
s,@PAGEWIDTH@,$PAGEWIDTH,;t t |
14523 |
|
s,@HAVE_LONG_LONG@,$HAVE_LONG_LONG,;t t |
14524 |
|
s,@FLISP@,$FLISP,;t t |
14525 |
|
s,@SYSTEM@,$SYSTEM,;t t |
14526 |
|
s,@CLSTANDARD@,$CLSTANDARD,;t t |
14527 |
|
s,@RL_OBJS@,$RL_OBJS,;t t |
14528 |
|
s,@RL_LIB@,$RL_LIB,;t t |
14529 |
|
s,@NO_PROFILE@,$NO_PROFILE,;t t |
14530 |
|
s,@HAVE_SETENV@,$HAVE_SETENV,;t t |
14531 |
|
s,@HAVE_PUTENV@,$HAVE_PUTENV,;t t |
14532 |
|
s,@USE_CLEANUP@,$USE_CLEANUP,;t t |
14533 |
|
s,@ENDIAN_ALREADY_DEFINED@,$ENDIAN_ALREADY_DEFINED,;t t |
14534 |
|
s,@HAVE_SV_ONSTACK@,$HAVE_SV_ONSTACK,;t t |
14535 |
|
s,@HAVE_SIGSYS@,$HAVE_SIGSYS,;t t |
14536 |
|
s,@HAVE_SIGEMT@,$HAVE_SIGEMT,;t t |
14537 |
|
s,@EMACS@,$EMACS,;t t |
14538 |
|
s,@EMACS_SITE_LISP@,$EMACS_SITE_LISP,;t t |
14539 |
|
s,@EMACS_DEFAULT_EL@,$EMACS_DEFAULT_EL,;t t |
14540 |
|
s,@INFO_DIR@,$INFO_DIR,;t t |
14541 |
|
s,@TCLSH@,$TCLSH,;t t |
14542 |
|
s,@TK_CONFIG_PREFIX@,$TK_CONFIG_PREFIX,;t t |
14543 |
|
s,@TK_LIBRARY@,$TK_LIBRARY,;t t |
14544 |
|
s,@TCL_LIBRARY@,$TCL_LIBRARY,;t t |
14545 |
|
s,@TK_XINCLUDES@,$TK_XINCLUDES,;t t |
14546 |
|
s,@TK_INCLUDE@,$TK_INCLUDE,;t t |
14547 |
|
s,@TCL_INCLUDE@,$TCL_INCLUDE,;t t |
14548 |
|
s,@TK_LIB_SPEC@,$TK_LIB_SPEC,;t t |
14549 |
|
s,@TK_BUILD_LIB_SPEC@,$TK_BUILD_LIB_SPEC,;t t |
14550 |
|
s,@TK_XLIBSW@,$TK_XLIBSW,;t t |
14551 |
|
s,@TCL_LIB_SPEC@,$TCL_LIB_SPEC,;t t |
14552 |
|
s,@TCL_DL_LIBS@,$TCL_DL_LIBS,;t t |
14553 |
|
s,@TCL_LIBS@,$TCL_LIBS,;t t |
14554 |
|
s,@TCL_STUB_LIBS@,$TCL_STUB_LIBS,;t t |
14555 |
|
s,@NOTIFY@,$NOTIFY,;t t |
14556 |
|
s,@BROKEN_O4_OPT@,$BROKEN_O4_OPT,;t t |
14557 |
|
s,@FINAL_CFLAGS@,$FINAL_CFLAGS,;t t |
14558 |
|
s,@NIFLAGS@,$NIFLAGS,;t t |
14559 |
|
s,@O3FLAGS@,$O3FLAGS,;t t |
14560 |
|
s,@O2FLAGS@,$O2FLAGS,;t t |
14561 |
|
s,@EXTRA_LOBJS@,$EXTRA_LOBJS,;t t |
14562 |
|
s,@LEADING_UNDERSCORE@,$LEADING_UNDERSCORE,;t t |
14563 |
|
s,@GNU_LD@,$GNU_LD,;t t |
14564 |
|
s,@LD_STACK_FLAGS@,$LD_STACK_FLAGS,;t t |
14565 |
|
s,@use@,$use,;t t |
14566 |
|
s,@LIBOBJS@,$LIBOBJS,;t t |
14567 |
|
s,@LTLIBOBJS@,$LTLIBOBJS,;t t |
14568 |
CEOF |
CEOF |
|
EOF |
|
14569 |
|
|
14570 |
cat >> $CONFIG_STATUS <<\EOF |
_ACEOF |
14571 |
|
|
14572 |
# Split the substitutions into bite-sized pieces for seds with |
cat >>$CONFIG_STATUS <<\_ACEOF |
14573 |
# small command number limits, like on Digital OSF/1 and HP-UX. |
# Split the substitutions into bite-sized pieces for seds with |
14574 |
ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script. |
# small command number limits, like on Digital OSF/1 and HP-UX. |
14575 |
ac_file=1 # Number of current file. |
ac_max_sed_lines=48 |
14576 |
ac_beg=1 # First line for current file. |
ac_sed_frag=1 # Number of current file. |
14577 |
ac_end=$ac_max_sed_cmds # Line after last line for current file. |
ac_beg=1 # First line for current file. |
14578 |
ac_more_lines=: |
ac_end=$ac_max_sed_lines # Line after last line for current file. |
14579 |
ac_sed_cmds="" |
ac_more_lines=: |
14580 |
while $ac_more_lines; do |
ac_sed_cmds= |
14581 |
if test $ac_beg -gt 1; then |
while $ac_more_lines; do |
14582 |
sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file |
if test $ac_beg -gt 1; then |
14583 |
else |
sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag |
|
sed "${ac_end}q" conftest.subs > conftest.s$ac_file |
|
|
fi |
|
|
if test ! -s conftest.s$ac_file; then |
|
|
ac_more_lines=false |
|
|
rm -f conftest.s$ac_file |
|
|
else |
|
|
if test -z "$ac_sed_cmds"; then |
|
|
ac_sed_cmds="sed -f conftest.s$ac_file" |
|
14584 |
else |
else |
14585 |
ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file" |
sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag |
14586 |
fi |
fi |
14587 |
ac_file=`expr $ac_file + 1` |
if test ! -s $tmp/subs.frag; then |
14588 |
ac_beg=$ac_end |
ac_more_lines=false |
14589 |
ac_end=`expr $ac_end + $ac_max_sed_cmds` |
else |
14590 |
|
# The purpose of the label and of the branching condition is to |
14591 |
|
# speed up the sed processing (if there are no `@' at all, there |
14592 |
|
# is no need to browse any of the substitutions). |
14593 |
|
# These are the two extra sed commands mentioned above. |
14594 |
|
(echo ':t |
14595 |
|
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed |
14596 |
|
if test -z "$ac_sed_cmds"; then |
14597 |
|
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" |
14598 |
|
else |
14599 |
|
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" |
14600 |
|
fi |
14601 |
|
ac_sed_frag=`expr $ac_sed_frag + 1` |
14602 |
|
ac_beg=$ac_end |
14603 |
|
ac_end=`expr $ac_end + $ac_max_sed_lines` |
14604 |
|
fi |
14605 |
|
done |
14606 |
|
if test -z "$ac_sed_cmds"; then |
14607 |
|
ac_sed_cmds=cat |
14608 |
fi |
fi |
14609 |
done |
fi # test -n "$CONFIG_FILES" |
|
if test -z "$ac_sed_cmds"; then |
|
|
ac_sed_cmds=cat |
|
|
fi |
|
|
EOF |
|
|
|
|
|
cat >> $CONFIG_STATUS <<EOF |
|
14610 |
|
|
14611 |
CONFIG_FILES=\${CONFIG_FILES-"makedefc windows/gcl.iss windows/sysdir.bat windows/install.lsp"} |
_ACEOF |
14612 |
EOF |
cat >>$CONFIG_STATUS <<\_ACEOF |
14613 |
cat >> $CONFIG_STATUS <<\EOF |
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue |
|
for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then |
|
14614 |
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
14615 |
case "$ac_file" in |
case $ac_file in |
14616 |
*:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'` |
- | *:- | *:-:* ) # input from stdin |
14617 |
ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; |
cat >$tmp/stdin |
14618 |
*) ac_file_in="${ac_file}.in" ;; |
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
14619 |
|
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
14620 |
|
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
14621 |
|
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
14622 |
|
* ) ac_file_in=$ac_file.in ;; |
14623 |
esac |
esac |
14624 |
|
|
14625 |
# Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories. |
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. |
14626 |
|
ac_dir=`(dirname "$ac_file") 2>/dev/null || |
14627 |
# Remove last slash and all that follows it. Not all systems have dirname. |
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
14628 |
ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'` |
X"$ac_file" : 'X\(//\)[^/]' \| \ |
14629 |
if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then |
X"$ac_file" : 'X\(//\)$' \| \ |
14630 |
# The file is in a subdirectory. |
X"$ac_file" : 'X\(/\)' \| \ |
14631 |
test ! -d "$ac_dir" && mkdir "$ac_dir" |
. : '\(.\)' 2>/dev/null || |
14632 |
ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`" |
echo X"$ac_file" | |
14633 |
# A "../" for each directory in $ac_dir_suffix. |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
14634 |
ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'` |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
14635 |
else |
/^X\(\/\/\)$/{ s//\1/; q; } |
14636 |
ac_dir_suffix= ac_dots= |
/^X\(\/\).*/{ s//\1/; q; } |
14637 |
fi |
s/.*/./; q'` |
14638 |
|
{ if $as_mkdir_p; then |
14639 |
case "$ac_given_srcdir" in |
mkdir -p "$ac_dir" |
14640 |
.) srcdir=. |
else |
14641 |
if test -z "$ac_dots"; then top_srcdir=. |
as_dir="$ac_dir" |
14642 |
else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;; |
as_dirs= |
14643 |
/*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;; |
while test ! -d "$as_dir"; do |
14644 |
|
as_dirs="$as_dir $as_dirs" |
14645 |
|
as_dir=`(dirname "$as_dir") 2>/dev/null || |
14646 |
|
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
14647 |
|
X"$as_dir" : 'X\(//\)[^/]' \| \ |
14648 |
|
X"$as_dir" : 'X\(//\)$' \| \ |
14649 |
|
X"$as_dir" : 'X\(/\)' \| \ |
14650 |
|
. : '\(.\)' 2>/dev/null || |
14651 |
|
echo X"$as_dir" | |
14652 |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
14653 |
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
14654 |
|
/^X\(\/\/\)$/{ s//\1/; q; } |
14655 |
|
/^X\(\/\).*/{ s//\1/; q; } |
14656 |
|
s/.*/./; q'` |
14657 |
|
done |
14658 |
|
test ! -n "$as_dirs" || mkdir $as_dirs |
14659 |
|
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 |
14660 |
|
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} |
14661 |
|
{ (exit 1); exit 1; }; }; } |
14662 |
|
|
14663 |
|
ac_builddir=. |
14664 |
|
|
14665 |
|
if test "$ac_dir" != .; then |
14666 |
|
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
14667 |
|
# A "../" for each directory in $ac_dir_suffix. |
14668 |
|
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` |
14669 |
|
else |
14670 |
|
ac_dir_suffix= ac_top_builddir= |
14671 |
|
fi |
14672 |
|
|
14673 |
|
case $srcdir in |
14674 |
|
.) # No --srcdir option. We are building in place. |
14675 |
|
ac_srcdir=. |
14676 |
|
if test -z "$ac_top_builddir"; then |
14677 |
|
ac_top_srcdir=. |
14678 |
|
else |
14679 |
|
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` |
14680 |
|
fi ;; |
14681 |
|
[\\/]* | ?:[\\/]* ) # Absolute path. |
14682 |
|
ac_srcdir=$srcdir$ac_dir_suffix; |
14683 |
|
ac_top_srcdir=$srcdir ;; |
14684 |
*) # Relative path. |
*) # Relative path. |
14685 |
srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix" |
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
14686 |
top_srcdir="$ac_dots$ac_given_srcdir" ;; |
ac_top_srcdir=$ac_top_builddir$srcdir ;; |
14687 |
esac |
esac |
14688 |
|
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be |
14689 |
|
# absolute. |
14690 |
|
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` |
14691 |
|
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` |
14692 |
|
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` |
14693 |
|
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` |
14694 |
|
|
14695 |
|
|
|
echo creating "$ac_file" |
|
|
rm -f "$ac_file" |
|
|
configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure." |
|
|
case "$ac_file" in |
|
|
*Makefile*) ac_comsub="1i\\ |
|
|
# $configure_input" ;; |
|
|
*) ac_comsub= ;; |
|
|
esac |
|
14696 |
|
|
14697 |
ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"` |
if test x"$ac_file" != x-; then |
14698 |
sed -e "$ac_comsub |
{ echo "$as_me:$LINENO: creating $ac_file" >&5 |
14699 |
s%@configure_input@%$configure_input%g |
echo "$as_me: creating $ac_file" >&6;} |
14700 |
s%@srcdir@%$srcdir%g |
rm -f "$ac_file" |
14701 |
s%@top_srcdir@%$top_srcdir%g |
fi |
14702 |
" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file |
# Let's still pretend it is `configure' which instantiates (i.e., don't |
14703 |
fi; done |
# use $as_me), people would be surprised to read: |
14704 |
rm -f conftest.s* |
# /* config.h. Generated by config.status. */ |
14705 |
|
if test x"$ac_file" = x-; then |
14706 |
|
configure_input= |
14707 |
|
else |
14708 |
|
configure_input="$ac_file. " |
14709 |
|
fi |
14710 |
|
configure_input=$configure_input"Generated from `echo $ac_file_in | |
14711 |
|
sed 's,.*/,,'` by configure." |
14712 |
|
|
14713 |
|
# First look for the input files in the build tree, otherwise in the |
14714 |
|
# src tree. |
14715 |
|
ac_file_inputs=`IFS=: |
14716 |
|
for f in $ac_file_in; do |
14717 |
|
case $f in |
14718 |
|
-) echo $tmp/stdin ;; |
14719 |
|
[\\/$]*) |
14720 |
|
# Absolute (can't be DOS-style, as IFS=:) |
14721 |
|
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
14722 |
|
echo "$as_me: error: cannot find input file: $f" >&2;} |
14723 |
|
{ (exit 1); exit 1; }; } |
14724 |
|
echo $f;; |
14725 |
|
*) # Relative |
14726 |
|
if test -f "$f"; then |
14727 |
|
# Build tree |
14728 |
|
echo $f |
14729 |
|
elif test -f "$srcdir/$f"; then |
14730 |
|
# Source tree |
14731 |
|
echo $srcdir/$f |
14732 |
|
else |
14733 |
|
# /dev/null tree |
14734 |
|
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
14735 |
|
echo "$as_me: error: cannot find input file: $f" >&2;} |
14736 |
|
{ (exit 1); exit 1; }; } |
14737 |
|
fi;; |
14738 |
|
esac |
14739 |
|
done` || { (exit 1); exit 1; } |
14740 |
|
_ACEOF |
14741 |
|
cat >>$CONFIG_STATUS <<_ACEOF |
14742 |
|
sed "$ac_vpsub |
14743 |
|
$extrasub |
14744 |
|
_ACEOF |
14745 |
|
cat >>$CONFIG_STATUS <<\_ACEOF |
14746 |
|
:t |
14747 |
|
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
14748 |
|
s,@configure_input@,$configure_input,;t t |
14749 |
|
s,@srcdir@,$ac_srcdir,;t t |
14750 |
|
s,@abs_srcdir@,$ac_abs_srcdir,;t t |
14751 |
|
s,@top_srcdir@,$ac_top_srcdir,;t t |
14752 |
|
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t |
14753 |
|
s,@builddir@,$ac_builddir,;t t |
14754 |
|
s,@abs_builddir@,$ac_abs_builddir,;t t |
14755 |
|
s,@top_builddir@,$ac_top_builddir,;t t |
14756 |
|
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t |
14757 |
|
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out |
14758 |
|
rm -f $tmp/stdin |
14759 |
|
if test x"$ac_file" != x-; then |
14760 |
|
mv $tmp/out $ac_file |
14761 |
|
else |
14762 |
|
cat $tmp/out |
14763 |
|
rm -f $tmp/out |
14764 |
|
fi |
14765 |
|
|
14766 |
|
done |
14767 |
|
_ACEOF |
14768 |
|
cat >>$CONFIG_STATUS <<\_ACEOF |
14769 |
|
|
14770 |
|
# |
14771 |
|
# CONFIG_HEADER section. |
14772 |
|
# |
14773 |
|
|
14774 |
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where |
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where |
14775 |
# NAME is the cpp macro being defined and VALUE is the value it is being given. |
# NAME is the cpp macro being defined and VALUE is the value it is being given. |
14776 |
# |
# |
14777 |
# ac_d sets the value in "#define NAME VALUE" lines. |
# ac_d sets the value in "#define NAME VALUE" lines. |
14778 |
ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)' |
ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' |
14779 |
ac_dB='\([ ][ ]*\)[^ ]*%\1#\2' |
ac_dB='[ ].*$,\1#\2' |
14780 |
ac_dC='\3' |
ac_dC=' ' |
14781 |
ac_dD='%g' |
ac_dD=',;t' |
14782 |
# ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE". |
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". |
14783 |
ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' |
ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' |
14784 |
ac_uB='\([ ]\)%\1#\2define\3' |
ac_uB='$,\1#\2define\3' |
14785 |
ac_uC=' ' |
ac_uC=' ' |
14786 |
ac_uD='\4%g' |
ac_uD=',;t' |
|
# ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE". |
|
|
ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' |
|
|
ac_eB='$%\1#\2define\3' |
|
|
ac_eC=' ' |
|
|
ac_eD='%g' |
|
14787 |
|
|
14788 |
if test "${CONFIG_HEADERS+set}" != set; then |
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue |
|
EOF |
|
|
cat >> $CONFIG_STATUS <<EOF |
|
|
CONFIG_HEADERS="h/gclincl.h" |
|
|
EOF |
|
|
cat >> $CONFIG_STATUS <<\EOF |
|
|
fi |
|
|
for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then |
|
14789 |
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
14790 |
case "$ac_file" in |
case $ac_file in |
14791 |
*:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'` |
- | *:- | *:-:* ) # input from stdin |
14792 |
ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; |
cat >$tmp/stdin |
14793 |
*) ac_file_in="${ac_file}.in" ;; |
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
14794 |
|
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
14795 |
|
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
14796 |
|
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
14797 |
|
* ) ac_file_in=$ac_file.in ;; |
14798 |
esac |
esac |
14799 |
|
|
14800 |
echo creating $ac_file |
test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 |
14801 |
|
echo "$as_me: creating $ac_file" >&6;} |
14802 |
|
|
14803 |
rm -f conftest.frag conftest.in conftest.out |
# First look for the input files in the build tree, otherwise in the |
14804 |
ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"` |
# src tree. |
14805 |
cat $ac_file_inputs > conftest.in |
ac_file_inputs=`IFS=: |
14806 |
|
for f in $ac_file_in; do |
14807 |
EOF |
case $f in |
14808 |
|
-) echo $tmp/stdin ;; |
14809 |
# Transform confdefs.h into a sed script conftest.vals that substitutes |
[\\/$]*) |
14810 |
# the proper values into config.h.in to produce config.h. And first: |
# Absolute (can't be DOS-style, as IFS=:) |
14811 |
# Protect against being on the right side of a sed subst in config.status. |
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
14812 |
# Protect against being in an unquoted here document in config.status. |
echo "$as_me: error: cannot find input file: $f" >&2;} |
14813 |
rm -f conftest.vals |
{ (exit 1); exit 1; }; } |
14814 |
cat > conftest.hdr <<\EOF |
echo $f;; |
14815 |
s/[\\&%]/\\&/g |
*) # Relative |
14816 |
s%[\\$`]%\\&%g |
if test -f "$f"; then |
14817 |
s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp |
# Build tree |
14818 |
s%ac_d%ac_u%gp |
echo $f |
14819 |
s%ac_u%ac_e%gp |
elif test -f "$srcdir/$f"; then |
14820 |
EOF |
# Source tree |
14821 |
sed -n -f conftest.hdr confdefs.h > conftest.vals |
echo $srcdir/$f |
14822 |
rm -f conftest.hdr |
else |
14823 |
|
# /dev/null tree |
14824 |
|
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
14825 |
|
echo "$as_me: error: cannot find input file: $f" >&2;} |
14826 |
|
{ (exit 1); exit 1; }; } |
14827 |
|
fi;; |
14828 |
|
esac |
14829 |
|
done` || { (exit 1); exit 1; } |
14830 |
|
# Remove the trailing spaces. |
14831 |
|
sed 's/[ ]*$//' $ac_file_inputs >$tmp/in |
14832 |
|
|
14833 |
|
_ACEOF |
14834 |
|
|
14835 |
|
# Transform confdefs.h into two sed scripts, `conftest.defines' and |
14836 |
|
# `conftest.undefs', that substitutes the proper values into |
14837 |
|
# config.h.in to produce config.h. The first handles `#define' |
14838 |
|
# templates, and the second `#undef' templates. |
14839 |
|
# And first: Protect against being on the right side of a sed subst in |
14840 |
|
# config.status. Protect against being in an unquoted here document |
14841 |
|
# in config.status. |
14842 |
|
rm -f conftest.defines conftest.undefs |
14843 |
|
# Using a here document instead of a string reduces the quoting nightmare. |
14844 |
|
# Putting comments in sed scripts is not portable. |
14845 |
|
# |
14846 |
|
# `end' is used to avoid that the second main sed command (meant for |
14847 |
|
# 0-ary CPP macros) applies to n-ary macro definitions. |
14848 |
|
# See the Autoconf documentation for `clear'. |
14849 |
|
cat >confdef2sed.sed <<\_ACEOF |
14850 |
|
s/[\\&,]/\\&/g |
14851 |
|
s,[\\$`],\\&,g |
14852 |
|
t clear |
14853 |
|
: clear |
14854 |
|
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp |
14855 |
|
t end |
14856 |
|
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp |
14857 |
|
: end |
14858 |
|
_ACEOF |
14859 |
|
# If some macros were called several times there might be several times |
14860 |
|
# the same #defines, which is useless. Nevertheless, we may not want to |
14861 |
|
# sort them, since we want the *last* AC-DEFINE to be honored. |
14862 |
|
uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines |
14863 |
|
sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs |
14864 |
|
rm -f confdef2sed.sed |
14865 |
|
|
14866 |
# This sed command replaces #undef with comments. This is necessary, for |
# This sed command replaces #undef with comments. This is necessary, for |
14867 |
# example, in the case of _POSIX_SOURCE, which is predefined and required |
# example, in the case of _POSIX_SOURCE, which is predefined and required |
14868 |
# on some systems where configure will not decide to define it. |
# on some systems where configure will not decide to define it. |
14869 |
cat >> conftest.vals <<\EOF |
cat >>conftest.undefs <<\_ACEOF |
14870 |
s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */% |
s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, |
14871 |
EOF |
_ACEOF |
14872 |
|
|
14873 |
# Break up conftest.vals because some shells have a limit on |
# Break up conftest.defines because some shells have a limit on the size |
14874 |
# the size of here documents, and old seds have small limits too. |
# of here documents, and old seds have small limits too (100 cmds). |
14875 |
|
echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS |
14876 |
|
echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS |
14877 |
|
echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS |
14878 |
|
echo ' :' >>$CONFIG_STATUS |
14879 |
rm -f conftest.tail |
rm -f conftest.tail |
14880 |
while : |
while grep . conftest.defines >/dev/null |
14881 |
do |
do |
14882 |
ac_lines=`grep -c . conftest.vals` |
# Write a limited-size here document to $tmp/defines.sed. |
14883 |
# grep -c gives empty output for an empty file on some AIX systems. |
echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS |
14884 |
if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi |
# Speed up: don't consider the non `#define' lines. |
14885 |
# Write a limited-size here document to conftest.frag. |
echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS |
14886 |
echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS |
# Work around the forget-to-reset-the-flag bug. |
14887 |
sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS |
echo 't clr' >>$CONFIG_STATUS |
14888 |
|
echo ': clr' >>$CONFIG_STATUS |
14889 |
|
sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS |
14890 |
echo 'CEOF |
echo 'CEOF |
14891 |
sed -f conftest.frag conftest.in > conftest.out |
sed -f $tmp/defines.sed $tmp/in >$tmp/out |
14892 |
rm -f conftest.in |
rm -f $tmp/in |
14893 |
mv conftest.out conftest.in |
mv $tmp/out $tmp/in |
14894 |
' >> $CONFIG_STATUS |
' >>$CONFIG_STATUS |
14895 |
sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail |
sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail |
14896 |
rm -f conftest.vals |
rm -f conftest.defines |
14897 |
mv conftest.tail conftest.vals |
mv conftest.tail conftest.defines |
14898 |
done |
done |
14899 |
rm -f conftest.vals |
rm -f conftest.defines |
14900 |
|
echo ' fi # grep' >>$CONFIG_STATUS |
14901 |
cat >> $CONFIG_STATUS <<\EOF |
echo >>$CONFIG_STATUS |
14902 |
rm -f conftest.frag conftest.h |
|
14903 |
echo "/* $ac_file. Generated automatically by configure. */" > conftest.h |
# Break up conftest.undefs because some shells have a limit on the size |
14904 |
cat conftest.in >> conftest.h |
# of here documents, and old seds have small limits too (100 cmds). |
14905 |
rm -f conftest.in |
echo ' # Handle all the #undef templates' >>$CONFIG_STATUS |
14906 |
if cmp -s $ac_file conftest.h 2>/dev/null; then |
rm -f conftest.tail |
14907 |
echo "$ac_file is unchanged" |
while grep . conftest.undefs >/dev/null |
14908 |
rm -f conftest.h |
do |
14909 |
else |
# Write a limited-size here document to $tmp/undefs.sed. |
14910 |
# Remove last slash and all that follows it. Not all systems have dirname. |
echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS |
14911 |
ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'` |
# Speed up: don't consider the non `#undef' |
14912 |
if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then |
echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS |
14913 |
# The file is in a subdirectory. |
# Work around the forget-to-reset-the-flag bug. |
14914 |
test ! -d "$ac_dir" && mkdir "$ac_dir" |
echo 't clr' >>$CONFIG_STATUS |
14915 |
fi |
echo ': clr' >>$CONFIG_STATUS |
14916 |
rm -f $ac_file |
sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS |
14917 |
mv conftest.h $ac_file |
echo 'CEOF |
14918 |
|
sed -f $tmp/undefs.sed $tmp/in >$tmp/out |
14919 |
|
rm -f $tmp/in |
14920 |
|
mv $tmp/out $tmp/in |
14921 |
|
' >>$CONFIG_STATUS |
14922 |
|
sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail |
14923 |
|
rm -f conftest.undefs |
14924 |
|
mv conftest.tail conftest.undefs |
14925 |
|
done |
14926 |
|
rm -f conftest.undefs |
14927 |
|
|
14928 |
|
cat >>$CONFIG_STATUS <<\_ACEOF |
14929 |
|
# Let's still pretend it is `configure' which instantiates (i.e., don't |
14930 |
|
# use $as_me), people would be surprised to read: |
14931 |
|
# /* config.h. Generated by config.status. */ |
14932 |
|
if test x"$ac_file" = x-; then |
14933 |
|
echo "/* Generated by configure. */" >$tmp/config.h |
14934 |
|
else |
14935 |
|
echo "/* $ac_file. Generated by configure. */" >$tmp/config.h |
14936 |
fi |
fi |
14937 |
fi; done |
cat $tmp/in >>$tmp/config.h |
14938 |
|
rm -f $tmp/in |
14939 |
|
if test x"$ac_file" != x-; then |
14940 |
|
if diff $ac_file $tmp/config.h >/dev/null 2>&1; then |
14941 |
|
{ echo "$as_me:$LINENO: $ac_file is unchanged" >&5 |
14942 |
|
echo "$as_me: $ac_file is unchanged" >&6;} |
14943 |
|
else |
14944 |
|
ac_dir=`(dirname "$ac_file") 2>/dev/null || |
14945 |
|
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
14946 |
|
X"$ac_file" : 'X\(//\)[^/]' \| \ |
14947 |
|
X"$ac_file" : 'X\(//\)$' \| \ |
14948 |
|
X"$ac_file" : 'X\(/\)' \| \ |
14949 |
|
. : '\(.\)' 2>/dev/null || |
14950 |
|
echo X"$ac_file" | |
14951 |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
14952 |
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
14953 |
|
/^X\(\/\/\)$/{ s//\1/; q; } |
14954 |
|
/^X\(\/\).*/{ s//\1/; q; } |
14955 |
|
s/.*/./; q'` |
14956 |
|
{ if $as_mkdir_p; then |
14957 |
|
mkdir -p "$ac_dir" |
14958 |
|
else |
14959 |
|
as_dir="$ac_dir" |
14960 |
|
as_dirs= |
14961 |
|
while test ! -d "$as_dir"; do |
14962 |
|
as_dirs="$as_dir $as_dirs" |
14963 |
|
as_dir=`(dirname "$as_dir") 2>/dev/null || |
14964 |
|
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
14965 |
|
X"$as_dir" : 'X\(//\)[^/]' \| \ |
14966 |
|
X"$as_dir" : 'X\(//\)$' \| \ |
14967 |
|
X"$as_dir" : 'X\(/\)' \| \ |
14968 |
|
. : '\(.\)' 2>/dev/null || |
14969 |
|
echo X"$as_dir" | |
14970 |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
14971 |
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
14972 |
|
/^X\(\/\/\)$/{ s//\1/; q; } |
14973 |
|
/^X\(\/\).*/{ s//\1/; q; } |
14974 |
|
s/.*/./; q'` |
14975 |
|
done |
14976 |
|
test ! -n "$as_dirs" || mkdir $as_dirs |
14977 |
|
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 |
14978 |
|
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} |
14979 |
|
{ (exit 1); exit 1; }; }; } |
14980 |
|
|
14981 |
EOF |
rm -f $ac_file |
14982 |
cat >> $CONFIG_STATUS <<EOF |
mv $tmp/config.h $ac_file |
14983 |
|
fi |
14984 |
|
else |
14985 |
|
cat $tmp/config.h |
14986 |
|
rm -f $tmp/config.h |
14987 |
|
fi |
14988 |
|
done |
14989 |
|
_ACEOF |
14990 |
|
|
14991 |
EOF |
cat >>$CONFIG_STATUS <<\_ACEOF |
|
cat >> $CONFIG_STATUS <<\EOF |
|
14992 |
|
|
14993 |
exit 0 |
{ (exit 0); exit 0; } |
14994 |
EOF |
_ACEOF |
14995 |
chmod +x $CONFIG_STATUS |
chmod +x $CONFIG_STATUS |
14996 |
rm -fr confdefs* $ac_clean_files |
ac_clean_files=$ac_clean_files_save |
14997 |
test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1 |
|
14998 |
|
|
14999 |
|
# configure is writing to config.log, and then calls config.status. |
15000 |
|
# config.status does its own redirection, appending to config.log. |
15001 |
|
# Unfortunately, on DOS this fails, as config.log is still kept open |
15002 |
|
# by configure, so config.status won't be able to write to it; its |
15003 |
|
# output is simply discarded. So we exec the FD to /dev/null, |
15004 |
|
# effectively closing config.log, so it can be properly (re)opened and |
15005 |
|
# appended to by config.status. When coming back to configure, we |
15006 |
|
# need to make the FD available again. |
15007 |
|
if test "$no_create" != yes; then |
15008 |
|
ac_cs_success=: |
15009 |
|
ac_config_status_args= |
15010 |
|
test "$silent" = yes && |
15011 |
|
ac_config_status_args="$ac_config_status_args --quiet" |
15012 |
|
exec 5>/dev/null |
15013 |
|
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
15014 |
|
exec 5>>config.log |
15015 |
|
# Use ||, not &&, to avoid exiting from the if with $? = 1, which |
15016 |
|
# would make configure fail if this is the last instruction. |
15017 |
|
$ac_cs_success || { (exit 1); exit 1; } |
15018 |
|
fi |
15019 |
|
|
15020 |
echo makedefc |
echo makedefc |
15021 |
cat makedefc |
cat makedefc |