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.57. |
|
# 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 |
# Defaults: |
as_executable_p="test -f" |
225 |
ac_help= |
|
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 |
|
# IFS |
234 |
|
# 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-vssize=XXXX will compile in a value stack of size XXX " |
MAKEFLAGS= |
259 |
ac_help="$ac_help |
SHELL=${CONFIG_SHELL-/bin/sh} |
260 |
--enable-machine=XXXX will force the use of one of the definitions in h/XXXX.defs " |
|
261 |
ac_help="$ac_help |
# Maximum number of lines to put in a shell here document. |
262 |
--enable-gmp=no will disable use of GMP gnu multiprecision arithmetic, (default is =yes) " |
# 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-notify=no will disable the automatic notification of gcl maintainers of successful builds/problems " |
: ${ac_max_here_lines=38} |
265 |
ac_help="$ac_help |
|
266 |
--enable-tkconfig=XXXX will force the use of a TK_CONFIG_PREFIX=XXXXX as place to look for tkConfig.sh and tclConfig.sh " |
# Identity of this package. |
267 |
ac_help="$ac_help |
PACKAGE_NAME= |
268 |
--enable-tclconfig=XXXX will force the use of a TCL_CONFIG_PREFIX=XXXXX as place to look for tclConfig.sh and tclConfig.sh " |
PACKAGE_TARNAME= |
269 |
ac_help="$ac_help |
PACKAGE_VERSION= |
270 |
--enable-infodir=XXXX will force the use of a INFO_DIR=XXXXX as place to look for info " |
PACKAGE_STRING= |
271 |
ac_help="$ac_help |
PACKAGE_BUGREPORT= |
272 |
--enable-emacsdir=XXXX will manually specify the location for elisp files " |
|
273 |
ac_help="$ac_help |
# Factoring default headers for most tests. |
274 |
--enable-common-binary=yes forces use of lowest common denominator instruction sets, (default is =yes) " |
ac_includes_default="\ |
275 |
ac_help="$ac_help |
#include <stdio.h> |
276 |
--enable-japi=yes will compile in support for the JAPI graphical interface if present on your system" |
#if HAVE_SYS_TYPES_H |
277 |
ac_help="$ac_help |
# include <sys/types.h> |
278 |
--enable-dlopen uses dlopen for loading objects, which can then not be retained in saved images |
#endif |
279 |
" |
#if HAVE_SYS_STAT_H |
280 |
ac_help="$ac_help |
# include <sys/stat.h> |
281 |
--enable-statsysbfd uses a static sytem bfd library for loading and relocationing object files |
#endif |
282 |
" |
#if STDC_HEADERS |
283 |
ac_help="$ac_help |
# include <stdlib.h> |
284 |
--enable-dynsysbfd uses a dynamic shared sytem bfd library for loading and relocationing object files |
# include <stddef.h> |
285 |
" |
#else |
286 |
ac_help="$ac_help |
# if HAVE_STDLIB_H |
287 |
--enable-locbfd uses a static bfd library built from this source tree for loading and relocationing object files |
# include <stdlib.h> |
288 |
" |
# endif |
289 |
ac_help="$ac_help |
#endif |
290 |
--enable-custreloc uses custom gcl code if available for loading and relocationing object files |
#if HAVE_STRING_H |
291 |
" |
# if !STDC_HEADERS && HAVE_MEMORY_H |
292 |
ac_help="$ac_help |
# include <memory.h> |
293 |
--enable-debug builds gcl with -g in CFLAGS to enable running under gdb |
# endif |
294 |
" |
# include <string.h> |
295 |
ac_help="$ac_help |
#endif |
296 |
--enable-pic builds gcl with -fPIC in CFLAGS |
#if HAVE_STRINGS_H |
297 |
" |
# include <strings.h> |
298 |
ac_help="$ac_help |
#endif |
299 |
--enable-oldgmp will link against gmp2 instead of gmp3 |
#if HAVE_INTTYPES_H |
300 |
" |
# include <inttypes.h> |
301 |
ac_help="$ac_help |
#else |
302 |
--enable-dynsysgmp will link against the system libgmp3 overriding certain functions with patched versions from the local source |
# if HAVE_STDINT_H |
303 |
" |
# include <stdint.h> |
304 |
ac_help="$ac_help |
# endif |
305 |
--with-x use the X Window System" |
#endif |
306 |
ac_help="$ac_help |
#if HAVE_UNISTD_H |
307 |
--enable-readine enables command line completion via the readline library " |
# include <unistd.h> |
308 |
ac_help="$ac_help |
#endif" |
309 |
--enable-ansi builds a large gcl aiming for ansi compliance, |
|
310 |
--disable-ansi builds the smaller traditional CLtL1 image" |
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 HAVE_LONG_LONG FLISP SYSTEM PAGEWIDTH 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 NOTIFY BROKEN_O4_OPT FINAL_CFLAGS O3FLAGS O2FLAGS EXTRA_LOBJS use LIBOBJS LTLIBOBJS' |
311 |
|
ac_subst_files='' |
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 |
|
{ echo "$as_me: error: missing argument to $ac_option" >&2 |
653 |
|
{ (exit 1); exit 1; }; } |
654 |
fi |
fi |
655 |
|
|
656 |
trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 |
# Be sure to have absolute paths. |
657 |
|
for ac_var in exec_prefix prefix |
658 |
# File descriptor usage: |
do |
659 |
# 0 standard input |
eval ac_val=$`echo $ac_var` |
660 |
# 1 file creation |
case $ac_val in |
661 |
# 2 errors and warnings |
[\\/$]* | ?:[\\/]* | NONE | '' ) ;; |
662 |
# 3 some systems may open it to /dev/tty |
*) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
663 |
# 4 used on the Kubota Titan |
{ (exit 1); exit 1; }; };; |
664 |
# 6 checking for... messages and results |
esac |
665 |
# 5 compiler messages saved in config.log |
done |
|
if test "$silent" = yes; then |
|
|
exec 6>/dev/null |
|
|
else |
|
|
exec 6>&1 |
|
|
fi |
|
|
exec 5>./config.log |
|
|
|
|
|
echo "\ |
|
|
This file contains any messages produced by compilers while |
|
|
running configure, to aid debugging if configure makes a mistake. |
|
|
" 1>&5 |
|
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-vssize=XXXX will compile in a value stack of size XXX |
851 |
|
--enable-machine=XXXX will force the use of one of the definitions in h/XXXX.defs |
852 |
|
--enable-gmp=no will disable use of GMP gnu multiprecision arithmetic, (default is =yes) |
853 |
|
--enable-notify=no will disable the automatic notification of gcl maintainers of successful builds/problems |
854 |
|
--enable-tkconfig=XXXX will force the use of a TK_CONFIG_PREFIX=XXXXX as place to look for tkConfig.sh and tclConfig.sh |
855 |
|
--enable-tclconfig=XXXX will force the use of a TCL_CONFIG_PREFIX=XXXXX as place to look for tclConfig.sh and tclConfig.sh |
856 |
|
--enable-infodir=XXXX will force the use of a INFO_DIR=XXXXX as place to look for info |
857 |
|
--enable-emacsdir=XXXX will manually specify the location for elisp files |
858 |
|
--enable-common-binary=yes forces use of lowest common denominator instruction sets, (default is =yes) |
859 |
|
--enable-japi=yes will compile in support for the JAPI graphical interface if present on your system |
860 |
|
--enable-xdr=yes will compile in support for XDR |
861 |
|
--enable-dlopen uses dlopen for loading objects, which can then not be retained in saved images |
862 |
|
|
863 |
|
--enable-statsysbfd uses a static sytem bfd library for loading and relocationing object files |
864 |
|
|
865 |
|
--enable-dynsysbfd uses a dynamic shared sytem bfd library for loading and relocationing object files |
866 |
|
|
867 |
|
--enable-locbfd uses a static bfd library built from this source tree for loading and relocationing object files |
868 |
|
|
869 |
|
--enable-custreloc uses custom gcl code if available for loading and relocationing object files |
870 |
|
|
871 |
|
--enable-debug builds gcl with -g in CFLAGS to enable running under gdb |
872 |
|
|
873 |
|
--enable-pic builds gcl with -fPIC in CFLAGS |
874 |
|
|
875 |
|
--enable-oldgmp will link against gmp2 instead of gmp3 |
876 |
|
|
877 |
|
--enable-dynsysgmp will link against the system libgmp3 overriding certain functions with patched versions from the local source |
878 |
|
|
879 |
|
--enable-readine enables command line completion via the readline library |
880 |
|
--enable-ansi builds a large gcl aiming for ansi compliance, |
881 |
|
--disable-ansi builds the smaller traditional CLtL1 image |
882 |
|
|
883 |
|
Optional Packages: |
884 |
|
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
885 |
|
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
886 |
|
--with-x use the X Window System |
887 |
|
|
888 |
|
Some influential environment variables: |
889 |
|
CC C compiler command |
890 |
|
CFLAGS C compiler flags |
891 |
|
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
892 |
|
nonstandard directory <lib dir> |
893 |
|
CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have |
894 |
|
headers in a nonstandard directory <include dir> |
895 |
|
CPP C preprocessor |
896 |
|
|
897 |
|
Use these variables to override the choices made by `configure' or to help |
898 |
|
it to find libraries and programs with nonstandard names/locations. |
899 |
|
|
900 |
|
_ACEOF |
901 |
|
fi |
902 |
|
|
903 |
|
if test "$ac_init_help" = "recursive"; then |
904 |
|
# If there are subdirs, report their specific --help. |
905 |
|
ac_popdir=`pwd` |
906 |
|
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
907 |
|
test -d $ac_dir || continue |
908 |
|
ac_builddir=. |
909 |
|
|
910 |
|
if test "$ac_dir" != .; then |
911 |
|
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
912 |
|
# A "../" for each directory in $ac_dir_suffix. |
913 |
|
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` |
914 |
|
else |
915 |
|
ac_dir_suffix= ac_top_builddir= |
916 |
|
fi |
917 |
|
|
918 |
|
case $srcdir in |
919 |
|
.) # No --srcdir option. We are building in place. |
920 |
|
ac_srcdir=. |
921 |
|
if test -z "$ac_top_builddir"; then |
922 |
|
ac_top_srcdir=. |
923 |
|
else |
924 |
|
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` |
925 |
|
fi ;; |
926 |
|
[\\/]* | ?:[\\/]* ) # Absolute path. |
927 |
|
ac_srcdir=$srcdir$ac_dir_suffix; |
928 |
|
ac_top_srcdir=$srcdir ;; |
929 |
|
*) # Relative path. |
930 |
|
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
931 |
|
ac_top_srcdir=$ac_top_builddir$srcdir ;; |
932 |
|
esac |
933 |
|
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be |
934 |
|
# absolute. |
935 |
|
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` |
936 |
|
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` |
937 |
|
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` |
938 |
|
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` |
939 |
|
|
940 |
|
cd $ac_dir |
941 |
|
# Check for guested configure; otherwise get Cygnus style configure. |
942 |
|
if test -f $ac_srcdir/configure.gnu; then |
943 |
|
echo |
944 |
|
$SHELL $ac_srcdir/configure.gnu --help=recursive |
945 |
|
elif test -f $ac_srcdir/configure; then |
946 |
|
echo |
947 |
|
$SHELL $ac_srcdir/configure --help=recursive |
948 |
|
elif test -f $ac_srcdir/configure.ac || |
949 |
|
test -f $ac_srcdir/configure.in; then |
950 |
|
echo |
951 |
|
$ac_configure --help |
952 |
|
else |
953 |
|
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
954 |
|
fi |
955 |
|
cd $ac_popdir |
956 |
|
done |
957 |
|
fi |
958 |
|
|
959 |
|
test -n "$ac_init_help" && exit 0 |
960 |
|
if $ac_init_version; then |
961 |
|
cat <<\_ACEOF |
962 |
|
|
963 |
|
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 |
964 |
|
Free Software Foundation, Inc. |
965 |
|
This configure script is free software; the Free Software Foundation |
966 |
|
gives unlimited permission to copy, distribute and modify it. |
967 |
|
_ACEOF |
968 |
|
exit 0 |
969 |
|
fi |
970 |
|
exec 5>config.log |
971 |
|
cat >&5 <<_ACEOF |
972 |
|
This file contains any messages produced by compilers while |
973 |
|
running configure, to aid debugging if configure makes a mistake. |
974 |
|
|
975 |
|
It was created by $as_me, which was |
976 |
|
generated by GNU Autoconf 2.57. Invocation command line was |
977 |
|
|
978 |
|
$ $0 $@ |
979 |
|
|
980 |
|
_ACEOF |
981 |
|
{ |
982 |
|
cat <<_ASUNAME |
983 |
|
## --------- ## |
984 |
|
## Platform. ## |
985 |
|
## --------- ## |
986 |
|
|
987 |
|
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` |
988 |
|
uname -m = `(uname -m) 2>/dev/null || echo unknown` |
989 |
|
uname -r = `(uname -r) 2>/dev/null || echo unknown` |
990 |
|
uname -s = `(uname -s) 2>/dev/null || echo unknown` |
991 |
|
uname -v = `(uname -v) 2>/dev/null || echo unknown` |
992 |
|
|
993 |
|
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` |
994 |
|
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` |
995 |
|
|
996 |
|
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` |
997 |
|
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` |
998 |
|
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` |
999 |
|
hostinfo = `(hostinfo) 2>/dev/null || echo unknown` |
1000 |
|
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` |
1001 |
|
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` |
1002 |
|
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` |
1003 |
|
|
1004 |
|
_ASUNAME |
1005 |
|
|
1006 |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1007 |
|
for as_dir in $PATH |
1008 |
|
do |
1009 |
|
IFS=$as_save_IFS |
1010 |
|
test -z "$as_dir" && as_dir=. |
1011 |
|
echo "PATH: $as_dir" |
1012 |
|
done |
1013 |
|
|
1014 |
|
} >&5 |
1015 |
|
|
1016 |
|
cat >&5 <<_ACEOF |
1017 |
|
|
1018 |
|
|
1019 |
|
## ----------- ## |
1020 |
|
## Core tests. ## |
1021 |
|
## ----------- ## |
1022 |
|
|
1023 |
|
_ACEOF |
1024 |
|
|
1025 |
|
|
1026 |
|
# Keep a trace of the command line. |
1027 |
|
# Strip out --no-create and --no-recursion so they do not pile up. |
1028 |
|
# Strip out --silent because we don't want to record it for future runs. |
1029 |
|
# Also quote any args containing shell meta-characters. |
1030 |
|
# Make two passes to allow for proper duplicate-argument suppression. |
1031 |
|
ac_configure_args= |
1032 |
|
ac_configure_args0= |
1033 |
|
ac_configure_args1= |
1034 |
|
ac_sep= |
1035 |
|
ac_must_keep_next=false |
1036 |
|
for ac_pass in 1 2 |
1037 |
|
do |
1038 |
|
for ac_arg |
1039 |
|
do |
1040 |
|
case $ac_arg in |
1041 |
|
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
1042 |
|
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
1043 |
|
| -silent | --silent | --silen | --sile | --sil) |
1044 |
|
continue ;; |
1045 |
|
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) |
1046 |
|
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
1047 |
|
esac |
1048 |
|
case $ac_pass in |
1049 |
|
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; |
1050 |
|
2) |
1051 |
|
ac_configure_args1="$ac_configure_args1 '$ac_arg'" |
1052 |
|
if test $ac_must_keep_next = true; then |
1053 |
|
ac_must_keep_next=false # Got value, back to normal. |
1054 |
|
else |
1055 |
|
case $ac_arg in |
1056 |
|
*=* | --config-cache | -C | -disable-* | --disable-* \ |
1057 |
|
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
1058 |
|
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
1059 |
|
| -with-* | --with-* | -without-* | --without-* | --x) |
1060 |
|
case "$ac_configure_args0 " in |
1061 |
|
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
1062 |
|
esac |
1063 |
|
;; |
1064 |
|
-* ) ac_must_keep_next=true ;; |
1065 |
|
esac |
1066 |
|
fi |
1067 |
|
ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" |
1068 |
|
# Get rid of the leading space. |
1069 |
|
ac_sep=" " |
1070 |
|
;; |
1071 |
|
esac |
1072 |
|
done |
1073 |
|
done |
1074 |
|
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } |
1075 |
|
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } |
1076 |
|
|
1077 |
|
# When interrupted or exit'd, cleanup temporary files, and complete |
1078 |
|
# config.log. We remove comments because anyway the quotes in there |
1079 |
|
# would cause problems or look ugly. |
1080 |
|
# WARNING: Be sure not to use single quotes in there, as some shells, |
1081 |
|
# such as our DU 5.0 friend, will then `close' the trap. |
1082 |
|
trap 'exit_status=$? |
1083 |
|
# Save into config.log some information that might help in debugging. |
1084 |
|
{ |
1085 |
|
echo |
1086 |
|
|
1087 |
|
cat <<\_ASBOX |
1088 |
|
## ---------------- ## |
1089 |
|
## Cache variables. ## |
1090 |
|
## ---------------- ## |
1091 |
|
_ASBOX |
1092 |
|
echo |
1093 |
|
# The following way of writing the cache mishandles newlines in values, |
1094 |
|
{ |
1095 |
|
(set) 2>&1 | |
1096 |
|
case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in |
1097 |
|
*ac_space=\ *) |
1098 |
|
sed -n \ |
1099 |
|
"s/'"'"'/'"'"'\\\\'"'"''"'"'/g; |
1100 |
|
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" |
1101 |
|
;; |
1102 |
|
*) |
1103 |
|
sed -n \ |
1104 |
|
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
1105 |
|
;; |
1106 |
|
esac; |
1107 |
|
} |
1108 |
|
echo |
1109 |
|
|
1110 |
|
cat <<\_ASBOX |
1111 |
|
## ----------------- ## |
1112 |
|
## Output variables. ## |
1113 |
|
## ----------------- ## |
1114 |
|
_ASBOX |
1115 |
|
echo |
1116 |
|
for ac_var in $ac_subst_vars |
1117 |
|
do |
1118 |
|
eval ac_val=$`echo $ac_var` |
1119 |
|
echo "$ac_var='"'"'$ac_val'"'"'" |
1120 |
|
done | sort |
1121 |
|
echo |
1122 |
|
|
1123 |
|
if test -n "$ac_subst_files"; then |
1124 |
|
cat <<\_ASBOX |
1125 |
|
## ------------- ## |
1126 |
|
## Output files. ## |
1127 |
|
## ------------- ## |
1128 |
|
_ASBOX |
1129 |
|
echo |
1130 |
|
for ac_var in $ac_subst_files |
1131 |
|
do |
1132 |
|
eval ac_val=$`echo $ac_var` |
1133 |
|
echo "$ac_var='"'"'$ac_val'"'"'" |
1134 |
|
done | sort |
1135 |
|
echo |
1136 |
|
fi |
1137 |
|
|
1138 |
|
if test -s confdefs.h; then |
1139 |
|
cat <<\_ASBOX |
1140 |
|
## ----------- ## |
1141 |
|
## confdefs.h. ## |
1142 |
|
## ----------- ## |
1143 |
|
_ASBOX |
1144 |
|
echo |
1145 |
|
sed "/^$/d" confdefs.h | sort |
1146 |
|
echo |
1147 |
|
fi |
1148 |
|
test "$ac_signal" != 0 && |
1149 |
|
echo "$as_me: caught signal $ac_signal" |
1150 |
|
echo "$as_me: exit $exit_status" |
1151 |
|
} >&5 |
1152 |
|
rm -f core core.* *.core && |
1153 |
|
rm -rf conftest* confdefs* conf$$* $ac_clean_files && |
1154 |
|
exit $exit_status |
1155 |
|
' 0 |
1156 |
|
for ac_signal in 1 2 13 15; do |
1157 |
|
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal |
1158 |
|
done |
1159 |
|
ac_signal=0 |
1160 |
|
|
1161 |
|
# confdefs.h avoids OS command line length limits that DEFS can exceed. |
1162 |
|
rm -rf conftest* confdefs.h |
1163 |
|
# AIX cpp loses on an empty file, so make sure it contains at least a newline. |
1164 |
|
echo >confdefs.h |
1165 |
|
|
1166 |
|
# Predefined preprocessor variables. |
1167 |
|
|
1168 |
|
cat >>confdefs.h <<_ACEOF |
1169 |
|
#define PACKAGE_NAME "$PACKAGE_NAME" |
1170 |
|
_ACEOF |
1171 |
|
|
1172 |
|
|
1173 |
|
cat >>confdefs.h <<_ACEOF |
1174 |
|
#define PACKAGE_TARNAME "$PACKAGE_TARNAME" |
1175 |
|
_ACEOF |
1176 |
|
|
1177 |
|
|
1178 |
|
cat >>confdefs.h <<_ACEOF |
1179 |
|
#define PACKAGE_VERSION "$PACKAGE_VERSION" |
1180 |
|
_ACEOF |
1181 |
|
|
1182 |
|
|
1183 |
|
cat >>confdefs.h <<_ACEOF |
1184 |
|
#define PACKAGE_STRING "$PACKAGE_STRING" |
1185 |
|
_ACEOF |
1186 |
|
|
1187 |
|
|
1188 |
|
cat >>confdefs.h <<_ACEOF |
1189 |
|
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
1190 |
|
_ACEOF |
1191 |
|
|
1192 |
|
|
1193 |
|
# Let the site file select an alternate cache file if it wants to. |
1194 |
# Prefer explicitly selected file to automatically selected ones. |
# Prefer explicitly selected file to automatically selected ones. |
1195 |
if test -z "$CONFIG_SITE"; then |
if test -z "$CONFIG_SITE"; then |
1196 |
if test "x$prefix" != xNONE; then |
if test "x$prefix" != xNONE; then |
1201 |
fi |
fi |
1202 |
for ac_site_file in $CONFIG_SITE; do |
for ac_site_file in $CONFIG_SITE; do |
1203 |
if test -r "$ac_site_file"; then |
if test -r "$ac_site_file"; then |
1204 |
echo "loading site script $ac_site_file" |
{ echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 |
1205 |
|
echo "$as_me: loading site script $ac_site_file" >&6;} |
1206 |
|
sed 's/^/| /' "$ac_site_file" >&5 |
1207 |
. "$ac_site_file" |
. "$ac_site_file" |
1208 |
fi |
fi |
1209 |
done |
done |
1210 |
|
|
1211 |
if test -r "$cache_file"; then |
if test -r "$cache_file"; then |
1212 |
echo "loading cache $cache_file" |
# Some versions of bash will fail to source /dev/null (special |
1213 |
. $cache_file |
# files actually), so we avoid doing that. |
1214 |
|
if test -f "$cache_file"; then |
1215 |
|
{ echo "$as_me:$LINENO: loading cache $cache_file" >&5 |
1216 |
|
echo "$as_me: loading cache $cache_file" >&6;} |
1217 |
|
case $cache_file in |
1218 |
|
[\\/]* | ?:[\\/]* ) . $cache_file;; |
1219 |
|
*) . ./$cache_file;; |
1220 |
|
esac |
1221 |
|
fi |
1222 |
else |
else |
1223 |
echo "creating cache $cache_file" |
{ echo "$as_me:$LINENO: creating cache $cache_file" >&5 |
1224 |
> $cache_file |
echo "$as_me: creating cache $cache_file" >&6;} |
1225 |
|
>$cache_file |
1226 |
|
fi |
1227 |
|
|
1228 |
|
# Check that the precious variables saved in the cache have kept the same |
1229 |
|
# value. |
1230 |
|
ac_cache_corrupted=false |
1231 |
|
for ac_var in `(set) 2>&1 | |
1232 |
|
sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do |
1233 |
|
eval ac_old_set=\$ac_cv_env_${ac_var}_set |
1234 |
|
eval ac_new_set=\$ac_env_${ac_var}_set |
1235 |
|
eval ac_old_val="\$ac_cv_env_${ac_var}_value" |
1236 |
|
eval ac_new_val="\$ac_env_${ac_var}_value" |
1237 |
|
case $ac_old_set,$ac_new_set in |
1238 |
|
set,) |
1239 |
|
{ echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
1240 |
|
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
1241 |
|
ac_cache_corrupted=: ;; |
1242 |
|
,set) |
1243 |
|
{ echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 |
1244 |
|
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
1245 |
|
ac_cache_corrupted=: ;; |
1246 |
|
,);; |
1247 |
|
*) |
1248 |
|
if test "x$ac_old_val" != "x$ac_new_val"; then |
1249 |
|
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 |
1250 |
|
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
1251 |
|
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5 |
1252 |
|
echo "$as_me: former value: $ac_old_val" >&2;} |
1253 |
|
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5 |
1254 |
|
echo "$as_me: current value: $ac_new_val" >&2;} |
1255 |
|
ac_cache_corrupted=: |
1256 |
|
fi;; |
1257 |
|
esac |
1258 |
|
# Pass precious variables to config.status. |
1259 |
|
if test "$ac_new_set" = set; then |
1260 |
|
case $ac_new_val in |
1261 |
|
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) |
1262 |
|
ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
1263 |
|
*) ac_arg=$ac_var=$ac_new_val ;; |
1264 |
|
esac |
1265 |
|
case " $ac_configure_args " in |
1266 |
|
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
1267 |
|
*) ac_configure_args="$ac_configure_args '$ac_arg'" ;; |
1268 |
|
esac |
1269 |
|
fi |
1270 |
|
done |
1271 |
|
if $ac_cache_corrupted; then |
1272 |
|
{ echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 |
1273 |
|
echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
1274 |
|
{ { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 |
1275 |
|
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} |
1276 |
|
{ (exit 1); exit 1; }; } |
1277 |
fi |
fi |
1278 |
|
|
1279 |
ac_ext=c |
ac_ext=c |
|
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. |
|
1280 |
ac_cpp='$CPP $CPPFLAGS' |
ac_cpp='$CPP $CPPFLAGS' |
1281 |
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
1282 |
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' |
1283 |
cross_compiling=$ac_cv_prog_cc_cross |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
1284 |
|
|
1285 |
|
|
1286 |
|
|
1287 |
|
|
1288 |
|
|
1289 |
|
|
1290 |
|
|
1291 |
|
|
|
ac_exeext= |
|
|
ac_objext=o |
|
|
if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then |
|
|
# Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu. |
|
|
if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then |
|
|
ac_n= ac_c=' |
|
|
' ac_t=' ' |
|
|
else |
|
|
ac_n=-n ac_c= ac_t= |
|
|
fi |
|
|
else |
|
|
ac_n= ac_c='\c' ac_t= |
|
|
fi |
|
1292 |
|
|
1293 |
|
|
1294 |
|
|
1295 |
|
|
1296 |
VERSION=2.5.0 |
|
1297 |
|
|
1298 |
|
|
1299 |
|
|
1300 |
|
|
1301 |
|
|
1302 |
|
|
1303 |
|
ac_config_headers="$ac_config_headers h/gclincl.h" |
1304 |
|
|
1305 |
|
|
1306 |
|
VERSION=2.5.4 |
1307 |
|
|
1308 |
|
|
1309 |
# some parts of this configure script are taken from the tcl configure.in |
# some parts of this configure script are taken from the tcl configure.in |
1316 |
# Check whether --enable-maxpage or --disable-maxpage was given. |
# Check whether --enable-maxpage or --disable-maxpage was given. |
1317 |
if test "${enable_maxpage+set}" = set; then |
if test "${enable_maxpage+set}" = set; then |
1318 |
enableval="$enable_maxpage" |
enableval="$enable_maxpage" |
1319 |
cat >> confdefs.h <<EOF |
cat >>confdefs.h <<_ACEOF |
1320 |
#define MAXPAGE $enable_maxpage |
#define MAXPAGE $enable_maxpage |
1321 |
EOF |
_ACEOF |
1322 |
|
|
1323 |
|
|
1324 |
fi |
fi; |
|
|
|
1325 |
|
|
1326 |
# Check whether --enable-vssize or --disable-vssize was given. |
# Check whether --enable-vssize or --disable-vssize was given. |
1327 |
if test "${enable_vssize+set}" = set; then |
if test "${enable_vssize+set}" = set; then |
1328 |
enableval="$enable_vssize" |
enableval="$enable_vssize" |
1329 |
cat >> confdefs.h <<EOF |
cat >>confdefs.h <<_ACEOF |
1330 |
#define VSSIZE $enable_vssize |
#define VSSIZE $enable_vssize |
1331 |
EOF |
_ACEOF |
|
|
|
1332 |
|
|
|
fi |
|
1333 |
|
|
1334 |
|
fi; |
1335 |
|
|
1336 |
# Check whether --enable-machine or --disable-machine was given. |
# Check whether --enable-machine or --disable-machine was given. |
1337 |
if test "${enable_machine+set}" = set; then |
if test "${enable_machine+set}" = set; then |
1339 |
enable_machine=$enableval |
enable_machine=$enableval |
1340 |
else |
else |
1341 |
enable_machine="" |
enable_machine="" |
1342 |
fi |
fi; |
|
|
|
1343 |
|
|
1344 |
# Check whether --enable-gmp or --disable-gmp was given. |
# Check whether --enable-gmp or --disable-gmp was given. |
1345 |
if test "${enable_gmp+set}" = set; then |
if test "${enable_gmp+set}" = set; then |
1347 |
use_gmp=$enableval |
use_gmp=$enableval |
1348 |
else |
else |
1349 |
use_gmp="yes" |
use_gmp="yes" |
1350 |
fi |
fi; |
|
|
|
1351 |
|
|
1352 |
# Check whether --enable-notify or --disable-notify was given. |
# Check whether --enable-notify or --disable-notify was given. |
1353 |
if test "${enable_notify+set}" = set; then |
if test "${enable_notify+set}" = set; then |
1355 |
enable_notify=$enableval |
enable_notify=$enableval |
1356 |
else |
else |
1357 |
enable_notify="yes" |
enable_notify="yes" |
1358 |
fi |
fi; |
|
|
|
1359 |
|
|
1360 |
# Check whether --enable-tkconfig or --disable-tkconfig was given. |
# Check whether --enable-tkconfig or --disable-tkconfig was given. |
1361 |
if test "${enable_tkconfig+set}" = set; then |
if test "${enable_tkconfig+set}" = set; then |
1363 |
TK_CONFIG_PREFIX=$enableval |
TK_CONFIG_PREFIX=$enableval |
1364 |
else |
else |
1365 |
TK_CONFIG_PREFIX="unknown" |
TK_CONFIG_PREFIX="unknown" |
1366 |
fi |
fi; |
|
|
|
1367 |
|
|
1368 |
|
|
1369 |
# Check whether --enable-tclconfig or --disable-tclconfig was given. |
# Check whether --enable-tclconfig or --disable-tclconfig was given. |
1372 |
TCL_CONFIG_PREFIX=$enableval |
TCL_CONFIG_PREFIX=$enableval |
1373 |
else |
else |
1374 |
TCL_CONFIG_PREFIX="unknown" |
TCL_CONFIG_PREFIX="unknown" |
1375 |
fi |
fi; |
|
|
|
1376 |
|
|
1377 |
# Check whether --enable-infodir or --disable-infodir was given. |
# Check whether --enable-infodir or --disable-infodir was given. |
1378 |
if test "${enable_infodir+set}" = set; then |
if test "${enable_infodir+set}" = set; then |
1380 |
INFO_DIR=$enableval |
INFO_DIR=$enableval |
1381 |
else |
else |
1382 |
INFO_DIR="unknown" |
INFO_DIR="unknown" |
1383 |
fi |
fi; |
|
|
|
1384 |
|
|
1385 |
# Check whether --enable-emacsdir or --disable-emacsdir was given. |
# Check whether --enable-emacsdir or --disable-emacsdir was given. |
1386 |
if test "${enable_emacsdir+set}" = set; then |
if test "${enable_emacsdir+set}" = set; then |
1388 |
EMACS_SITE_LISP=$enableval |
EMACS_SITE_LISP=$enableval |
1389 |
else |
else |
1390 |
EMACS_SITE_LISP="unknown" |
EMACS_SITE_LISP="unknown" |
1391 |
fi |
fi; |
|
|
|
1392 |
|
|
1393 |
# Check whether --enable-common-binary or --disable-common-binary was given. |
# Check whether --enable-common-binary or --disable-common-binary was given. |
1394 |
if test "${enable_common_binary+set}" = set; then |
if test "${enable_common_binary+set}" = set; then |
1396 |
use_common_binary=$enableval |
use_common_binary=$enableval |
1397 |
else |
else |
1398 |
use_common_binary="yes" |
use_common_binary="yes" |
1399 |
fi |
fi; |
|
|
|
1400 |
|
|
1401 |
# Check whether --enable-japi or --disable-japi was given. |
# Check whether --enable-japi or --disable-japi was given. |
1402 |
if test "${enable_japi+set}" = set; then |
if test "${enable_japi+set}" = set; then |
1404 |
try_japi=$enableval |
try_japi=$enableval |
1405 |
else |
else |
1406 |
try_japi="no" |
try_japi="no" |
1407 |
fi |
fi; |
1408 |
|
|
1409 |
|
# Check whether --enable-xdr or --disable-xdr was given. |
1410 |
|
if test "${enable_xdr+set}" = set; then |
1411 |
|
enableval="$enable_xdr" |
1412 |
|
try_xdr=$enableval |
1413 |
|
else |
1414 |
|
try_xdr="no" |
1415 |
|
fi; |
1416 |
|
|
1417 |
# |
# |
1418 |
# Host information |
# Host information |
1419 |
# |
# |
1420 |
|
|
1421 |
|
|
1429 |
ac_aux_dir=$ac_dir |
ac_aux_dir=$ac_dir |
1430 |
ac_install_sh="$ac_aux_dir/install.sh -c" |
ac_install_sh="$ac_aux_dir/install.sh -c" |
1431 |
break |
break |
1432 |
|
elif test -f $ac_dir/shtool; then |
1433 |
|
ac_aux_dir=$ac_dir |
1434 |
|
ac_install_sh="$ac_aux_dir/shtool install -c" |
1435 |
|
break |
1436 |
fi |
fi |
1437 |
done |
done |
1438 |
if test -z "$ac_aux_dir"; then |
if test -z "$ac_aux_dir"; then |
1439 |
{ 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 |
1440 |
fi |
echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} |
1441 |
ac_config_guess=$ac_aux_dir/config.guess |
{ (exit 1); exit 1; }; } |
1442 |
ac_config_sub=$ac_aux_dir/config.sub |
fi |
1443 |
ac_configure=$ac_aux_dir/configure # This should be Cygnus configure. |
ac_config_guess="$SHELL $ac_aux_dir/config.guess" |
1444 |
|
ac_config_sub="$SHELL $ac_aux_dir/config.sub" |
1445 |
|
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. |
1446 |
|
|
1447 |
# Make sure we can run config.sub. |
# Make sure we can run config.sub. |
1448 |
if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then : |
$ac_config_sub sun4 >/dev/null 2>&1 || |
1449 |
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 |
1450 |
fi |
echo "$as_me: error: cannot run $ac_config_sub" >&2;} |
1451 |
|
{ (exit 1); exit 1; }; } |
1452 |
echo $ac_n "checking host system type""... $ac_c" 1>&6 |
|
1453 |
echo "configure:728: checking host system type" >&5 |
echo "$as_me:$LINENO: checking build system type" >&5 |
1454 |
|
echo $ECHO_N "checking build system type... $ECHO_C" >&6 |
1455 |
|
if test "${ac_cv_build+set}" = set; then |
1456 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1457 |
|
else |
1458 |
|
ac_cv_build_alias=$build_alias |
1459 |
|
test -z "$ac_cv_build_alias" && |
1460 |
|
ac_cv_build_alias=`$ac_config_guess` |
1461 |
|
test -z "$ac_cv_build_alias" && |
1462 |
|
{ { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 |
1463 |
|
echo "$as_me: error: cannot guess build type; you must specify one" >&2;} |
1464 |
|
{ (exit 1); exit 1; }; } |
1465 |
|
ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || |
1466 |
|
{ { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 |
1467 |
|
echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} |
1468 |
|
{ (exit 1); exit 1; }; } |
1469 |
|
|
1470 |
|
fi |
1471 |
|
echo "$as_me:$LINENO: result: $ac_cv_build" >&5 |
1472 |
|
echo "${ECHO_T}$ac_cv_build" >&6 |
1473 |
|
build=$ac_cv_build |
1474 |
|
build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
1475 |
|
build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
1476 |
|
build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
1477 |
|
|
1478 |
|
|
1479 |
|
echo "$as_me:$LINENO: checking host system type" >&5 |
1480 |
|
echo $ECHO_N "checking host system type... $ECHO_C" >&6 |
1481 |
|
if test "${ac_cv_host+set}" = set; then |
1482 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1483 |
|
else |
1484 |
|
ac_cv_host_alias=$host_alias |
1485 |
|
test -z "$ac_cv_host_alias" && |
1486 |
|
ac_cv_host_alias=$ac_cv_build_alias |
1487 |
|
ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || |
1488 |
|
{ { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 |
1489 |
|
echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} |
1490 |
|
{ (exit 1); exit 1; }; } |
1491 |
|
|
1492 |
|
fi |
1493 |
|
echo "$as_me:$LINENO: result: $ac_cv_host" >&5 |
1494 |
|
echo "${ECHO_T}$ac_cv_host" >&6 |
1495 |
|
host=$ac_cv_host |
1496 |
|
host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
1497 |
|
host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
1498 |
|
host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
1499 |
|
|
|
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 |
|
1500 |
|
|
1501 |
canonical=$host |
canonical=$host |
1502 |
## host=CPU-COMPANY-SYSTEM |
## host=CPU-COMPANY-SYSTEM |
1503 |
echo "$ac_t""host=$host" 1>&6 |
echo "$as_me:$LINENO: result: host=$host" >&5 |
1504 |
|
echo "${ECHO_T}host=$host" >&6 |
1505 |
|
|
1506 |
PROCESSOR_FLAGS="" |
PROCESSOR_FLAGS="" |
1507 |
|
|
1578 |
IRIX3*) |
IRIX3*) |
1579 |
use=sgi4d;; |
use=sgi4d;; |
1580 |
esac ;; |
esac ;; |
1581 |
|
|
1582 |
|
|
1583 |
m68k-apple-aux*) |
m68k-apple-aux*) |
1584 |
use=mac2;; |
use=mac2;; |
1649 |
i*mingw*) |
i*mingw*) |
1650 |
if test "$use_common_binary" = "yes"; then |
if test "$use_common_binary" = "yes"; then |
1651 |
host=i386-pc-mingw32 |
host=i386-pc-mingw32 |
1652 |
PROCESSOR_FLAGS="-march=i386 " |
PROCESSOR_FLAGS="-mcpu=i386 -march=i386 " |
1653 |
echo "The host is canonicalised to $host" |
echo "The host is canonicalised to $host" |
1654 |
fi |
fi |
1655 |
use=mingw;; |
use=mingw;; |
1659 |
then use=mingw |
then use=mingw |
1660 |
else use=gnuwin95 |
else use=gnuwin95 |
1661 |
fi;; |
fi;; |
1662 |
|
|
1663 |
esac |
esac |
1664 |
|
|
1665 |
|
|
1674 |
def_custreloc="no" |
def_custreloc="no" |
1675 |
def_oldgmp="no" |
def_oldgmp="no" |
1676 |
def_pic="no"; |
def_pic="no"; |
1677 |
case $use in |
case $use in |
1678 |
*linux) |
*linux) |
1679 |
ln -snf linux.defs h/$use.defs; |
ln -snf linux.defs h/$use.defs; |
1680 |
case $use in |
case $use in |
1696 |
# Check whether --enable-dlopen or --disable-dlopen was given. |
# Check whether --enable-dlopen or --disable-dlopen was given. |
1697 |
if test "${enable_dlopen+set}" = set; then |
if test "${enable_dlopen+set}" = set; then |
1698 |
enableval="$enable_dlopen" |
enableval="$enable_dlopen" |
1699 |
: |
|
1700 |
else |
else |
1701 |
enable_dlopen="$def_dlopen" |
enable_dlopen="$def_dlopen" |
1702 |
fi |
fi; |
|
|
|
1703 |
# Check whether --enable-statsysbfd or --disable-statsysbfd was given. |
# Check whether --enable-statsysbfd or --disable-statsysbfd was given. |
1704 |
if test "${enable_statsysbfd+set}" = set; then |
if test "${enable_statsysbfd+set}" = set; then |
1705 |
enableval="$enable_statsysbfd" |
enableval="$enable_statsysbfd" |
1706 |
: |
|
1707 |
else |
else |
1708 |
enable_statsysbfd="$def_statsysbfd" |
enable_statsysbfd="$def_statsysbfd" |
1709 |
fi |
fi; |
|
|
|
1710 |
# Check whether --enable-dynsysbfd or --disable-dynsysbfd was given. |
# Check whether --enable-dynsysbfd or --disable-dynsysbfd was given. |
1711 |
if test "${enable_dynsysbfd+set}" = set; then |
if test "${enable_dynsysbfd+set}" = set; then |
1712 |
enableval="$enable_dynsysbfd" |
enableval="$enable_dynsysbfd" |
1713 |
: |
|
1714 |
else |
else |
1715 |
enable_dynsysbfd="no" |
enable_dynsysbfd="no" |
1716 |
fi |
fi; |
|
|
|
1717 |
# Check whether --enable-locbfd or --disable-locbfd was given. |
# Check whether --enable-locbfd or --disable-locbfd was given. |
1718 |
if test "${enable_locbfd+set}" = set; then |
if test "${enable_locbfd+set}" = set; then |
1719 |
enableval="$enable_locbfd" |
enableval="$enable_locbfd" |
1720 |
: |
|
1721 |
else |
else |
1722 |
enable_locbfd="no" |
enable_locbfd="no" |
1723 |
fi |
fi; |
|
|
|
1724 |
# Check whether --enable-custreloc or --disable-custreloc was given. |
# Check whether --enable-custreloc or --disable-custreloc was given. |
1725 |
if test "${enable_custreloc+set}" = set; then |
if test "${enable_custreloc+set}" = set; then |
1726 |
enableval="$enable_custreloc" |
enableval="$enable_custreloc" |
1727 |
: |
|
1728 |
else |
else |
1729 |
enable_custreloc="$def_custreloc" |
enable_custreloc="$def_custreloc" |
1730 |
fi |
fi; |
|
|
|
1731 |
# Check whether --enable-debug or --disable-debug was given. |
# Check whether --enable-debug or --disable-debug was given. |
1732 |
if test "${enable_debug+set}" = set; then |
if test "${enable_debug+set}" = set; then |
1733 |
enableval="$enable_debug" |
enableval="$enable_debug" |
1734 |
: |
|
1735 |
else |
else |
1736 |
enable_debug="no" |
enable_debug="no" |
1737 |
fi |
fi; |
|
|
|
1738 |
# Check whether --enable-pic or --disable-pic was given. |
# Check whether --enable-pic or --disable-pic was given. |
1739 |
if test "${enable_pic+set}" = set; then |
if test "${enable_pic+set}" = set; then |
1740 |
enableval="$enable_pic" |
enableval="$enable_pic" |
1741 |
: |
|
1742 |
else |
else |
1743 |
enable_pic="$def_pic" |
enable_pic="$def_pic" |
1744 |
fi |
fi; |
|
|
|
1745 |
|
|
1746 |
# Check whether --enable-oldgmp or --disable-oldgmp was given. |
# Check whether --enable-oldgmp or --disable-oldgmp was given. |
1747 |
if test "${enable_oldgmp+set}" = set; then |
if test "${enable_oldgmp+set}" = set; then |
1748 |
enableval="$enable_oldgmp" |
enableval="$enable_oldgmp" |
1749 |
: |
|
1750 |
else |
else |
1751 |
enable_oldgmp="$def_oldgmp" |
enable_oldgmp="$def_oldgmp" |
1752 |
fi |
fi; |
|
|
|
1753 |
|
|
1754 |
# Check whether --enable-dynsysgmp or --disable-dynsysgmp was given. |
# Check whether --enable-dynsysgmp or --disable-dynsysgmp was given. |
1755 |
if test "${enable_dynsysgmp+set}" = set; then |
if test "${enable_dynsysgmp+set}" = set; then |
1756 |
enableval="$enable_dynsysgmp" |
enableval="$enable_dynsysgmp" |
1757 |
: |
|
1758 |
else |
else |
1759 |
enable_dynsysgmp="no" |
enable_dynsysgmp="no" |
1760 |
fi |
fi; |
|
|
|
1761 |
|
|
1762 |
load_opt="0" |
load_opt="0" |
1763 |
if test "$enable_dlopen" = "yes" ; then |
if test "$enable_dlopen" = "yes" ; then |
1803 |
## |
## |
1804 |
#if test "$use" = "unknown" ; then |
#if test "$use" = "unknown" ; then |
1805 |
#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"` |
1806 |
#echo got canonical=$canonical, but was not recognized. |
#echo got canonical=$canonical, but was not recognized. |
1807 |
#echo Unable to guess type to use. Try one of |
#echo Unable to guess type to use. Try one of |
1808 |
#exit(1) |
#exit(1) |
1809 |
#fi |
#fi |
1810 |
|
|
1811 |
echo "$ac_t""use=$use" 1>&6 |
echo "$as_me:$LINENO: result: use=$use" >&5 |
1812 |
|
echo "${ECHO_T}use=$use" >&6 |
1813 |
|
|
1814 |
|
|
1815 |
# |
# |
1816 |
# System programs |
# System programs |
1817 |
# |
# |
1818 |
|
|
1819 |
# Extract the first word of "gcc", so it can be a program name with args. |
ac_ext=c |
1820 |
|
ac_cpp='$CPP $CPPFLAGS' |
1821 |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
1822 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
1823 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
1824 |
|
if test -n "$ac_tool_prefix"; then |
1825 |
|
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
1826 |
|
set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
1827 |
|
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1828 |
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1829 |
|
if test "${ac_cv_prog_CC+set}" = set; then |
1830 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1831 |
|
else |
1832 |
|
if test -n "$CC"; then |
1833 |
|
ac_cv_prog_CC="$CC" # Let the user override the test. |
1834 |
|
else |
1835 |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1836 |
|
for as_dir in $PATH |
1837 |
|
do |
1838 |
|
IFS=$as_save_IFS |
1839 |
|
test -z "$as_dir" && as_dir=. |
1840 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
1841 |
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1842 |
|
ac_cv_prog_CC="${ac_tool_prefix}gcc" |
1843 |
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1844 |
|
break 2 |
1845 |
|
fi |
1846 |
|
done |
1847 |
|
done |
1848 |
|
|
1849 |
|
fi |
1850 |
|
fi |
1851 |
|
CC=$ac_cv_prog_CC |
1852 |
|
if test -n "$CC"; then |
1853 |
|
echo "$as_me:$LINENO: result: $CC" >&5 |
1854 |
|
echo "${ECHO_T}$CC" >&6 |
1855 |
|
else |
1856 |
|
echo "$as_me:$LINENO: result: no" >&5 |
1857 |
|
echo "${ECHO_T}no" >&6 |
1858 |
|
fi |
1859 |
|
|
1860 |
|
fi |
1861 |
|
if test -z "$ac_cv_prog_CC"; then |
1862 |
|
ac_ct_CC=$CC |
1863 |
|
# Extract the first word of "gcc", so it can be a program name with args. |
1864 |
set dummy gcc; ac_word=$2 |
set dummy gcc; ac_word=$2 |
1865 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1866 |
echo "configure:1076: checking for $ac_word" >&5 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1867 |
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
1868 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1869 |
|
else |
1870 |
|
if test -n "$ac_ct_CC"; then |
1871 |
|
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
1872 |
|
else |
1873 |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1874 |
|
for as_dir in $PATH |
1875 |
|
do |
1876 |
|
IFS=$as_save_IFS |
1877 |
|
test -z "$as_dir" && as_dir=. |
1878 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
1879 |
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1880 |
|
ac_cv_prog_ac_ct_CC="gcc" |
1881 |
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1882 |
|
break 2 |
1883 |
|
fi |
1884 |
|
done |
1885 |
|
done |
1886 |
|
|
1887 |
|
fi |
1888 |
|
fi |
1889 |
|
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
1890 |
|
if test -n "$ac_ct_CC"; then |
1891 |
|
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
1892 |
|
echo "${ECHO_T}$ac_ct_CC" >&6 |
1893 |
|
else |
1894 |
|
echo "$as_me:$LINENO: result: no" >&5 |
1895 |
|
echo "${ECHO_T}no" >&6 |
1896 |
|
fi |
1897 |
|
|
1898 |
|
CC=$ac_ct_CC |
1899 |
|
else |
1900 |
|
CC="$ac_cv_prog_CC" |
1901 |
|
fi |
1902 |
|
|
1903 |
|
if test -z "$CC"; then |
1904 |
|
if test -n "$ac_tool_prefix"; then |
1905 |
|
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
1906 |
|
set dummy ${ac_tool_prefix}cc; ac_word=$2 |
1907 |
|
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1908 |
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1909 |
|
if test "${ac_cv_prog_CC+set}" = set; then |
1910 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1911 |
else |
else |
1912 |
if test -n "$CC"; then |
if test -n "$CC"; then |
1913 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
ac_cv_prog_CC="$CC" # Let the user override the test. |
1914 |
else |
else |
1915 |
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1916 |
ac_dummy="$PATH" |
for as_dir in $PATH |
1917 |
for ac_dir in $ac_dummy; do |
do |
1918 |
test -z "$ac_dir" && ac_dir=. |
IFS=$as_save_IFS |
1919 |
if test -f $ac_dir/$ac_word; then |
test -z "$as_dir" && as_dir=. |
1920 |
ac_cv_prog_CC="gcc" |
for ac_exec_ext in '' $ac_executable_extensions; do |
1921 |
break |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1922 |
fi |
ac_cv_prog_CC="${ac_tool_prefix}cc" |
1923 |
done |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1924 |
IFS="$ac_save_ifs" |
break 2 |
1925 |
|
fi |
1926 |
|
done |
1927 |
|
done |
1928 |
|
|
1929 |
fi |
fi |
1930 |
fi |
fi |
1931 |
CC="$ac_cv_prog_CC" |
CC=$ac_cv_prog_CC |
1932 |
if test -n "$CC"; then |
if test -n "$CC"; then |
1933 |
echo "$ac_t""$CC" 1>&6 |
echo "$as_me:$LINENO: result: $CC" >&5 |
1934 |
|
echo "${ECHO_T}$CC" >&6 |
1935 |
else |
else |
1936 |
echo "$ac_t""no" 1>&6 |
echo "$as_me:$LINENO: result: no" >&5 |
1937 |
|
echo "${ECHO_T}no" >&6 |
1938 |
|
fi |
1939 |
|
|
1940 |
fi |
fi |
1941 |
|
if test -z "$ac_cv_prog_CC"; then |
1942 |
|
ac_ct_CC=$CC |
1943 |
|
# Extract the first word of "cc", so it can be a program name with args. |
1944 |
|
set dummy cc; ac_word=$2 |
1945 |
|
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1946 |
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1947 |
|
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
1948 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1949 |
|
else |
1950 |
|
if test -n "$ac_ct_CC"; then |
1951 |
|
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
1952 |
|
else |
1953 |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1954 |
|
for as_dir in $PATH |
1955 |
|
do |
1956 |
|
IFS=$as_save_IFS |
1957 |
|
test -z "$as_dir" && as_dir=. |
1958 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
1959 |
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1960 |
|
ac_cv_prog_ac_ct_CC="cc" |
1961 |
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1962 |
|
break 2 |
1963 |
|
fi |
1964 |
|
done |
1965 |
|
done |
1966 |
|
|
1967 |
|
fi |
1968 |
|
fi |
1969 |
|
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
1970 |
|
if test -n "$ac_ct_CC"; then |
1971 |
|
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
1972 |
|
echo "${ECHO_T}$ac_ct_CC" >&6 |
1973 |
|
else |
1974 |
|
echo "$as_me:$LINENO: result: no" >&5 |
1975 |
|
echo "${ECHO_T}no" >&6 |
1976 |
|
fi |
1977 |
|
|
1978 |
|
CC=$ac_ct_CC |
1979 |
|
else |
1980 |
|
CC="$ac_cv_prog_CC" |
1981 |
|
fi |
1982 |
|
|
1983 |
|
fi |
1984 |
if test -z "$CC"; then |
if test -z "$CC"; then |
1985 |
# 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. |
1986 |
set dummy cc; ac_word=$2 |
set dummy cc; ac_word=$2 |
1987 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1988 |
echo "configure:1106: checking for $ac_word" >&5 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1989 |
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
if test "${ac_cv_prog_CC+set}" = set; then |
1990 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1991 |
else |
else |
1992 |
if test -n "$CC"; then |
if test -n "$CC"; then |
1993 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
ac_cv_prog_CC="$CC" # Let the user override the test. |
1994 |
else |
else |
|
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
|
1995 |
ac_prog_rejected=no |
ac_prog_rejected=no |
1996 |
ac_dummy="$PATH" |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1997 |
for ac_dir in $ac_dummy; do |
for as_dir in $PATH |
1998 |
test -z "$ac_dir" && ac_dir=. |
do |
1999 |
if test -f $ac_dir/$ac_word; then |
IFS=$as_save_IFS |
2000 |
if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then |
test -z "$as_dir" && as_dir=. |
2001 |
ac_prog_rejected=yes |
for ac_exec_ext in '' $ac_executable_extensions; do |
2002 |
continue |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2003 |
fi |
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
2004 |
ac_cv_prog_CC="cc" |
ac_prog_rejected=yes |
2005 |
break |
continue |
2006 |
fi |
fi |
2007 |
done |
ac_cv_prog_CC="cc" |
2008 |
IFS="$ac_save_ifs" |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2009 |
|
break 2 |
2010 |
|
fi |
2011 |
|
done |
2012 |
|
done |
2013 |
|
|
2014 |
if test $ac_prog_rejected = yes; then |
if test $ac_prog_rejected = yes; then |
2015 |
# 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. |
2016 |
set dummy $ac_cv_prog_CC |
set dummy $ac_cv_prog_CC |
2017 |
shift |
shift |
2018 |
if test $# -gt 0; then |
if test $# != 0; then |
2019 |
# We chose a different compiler from the bogus one. |
# We chose a different compiler from the bogus one. |
2020 |
# However, it has the same basename, so the bogon will be chosen |
# However, it has the same basename, so the bogon will be chosen |
2021 |
# 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. |
2022 |
shift |
shift |
2023 |
set dummy "$ac_dir/$ac_word" "$@" |
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
|
shift |
|
|
ac_cv_prog_CC="$@" |
|
2024 |
fi |
fi |
2025 |
fi |
fi |
2026 |
fi |
fi |
2027 |
fi |
fi |
2028 |
CC="$ac_cv_prog_CC" |
CC=$ac_cv_prog_CC |
2029 |
if test -n "$CC"; then |
if test -n "$CC"; then |
2030 |
echo "$ac_t""$CC" 1>&6 |
echo "$as_me:$LINENO: result: $CC" >&5 |
2031 |
|
echo "${ECHO_T}$CC" >&6 |
2032 |
else |
else |
2033 |
echo "$ac_t""no" 1>&6 |
echo "$as_me:$LINENO: result: no" >&5 |
2034 |
|
echo "${ECHO_T}no" >&6 |
2035 |
fi |
fi |
2036 |
|
|
2037 |
if test -z "$CC"; then |
fi |
2038 |
case "`uname -s`" in |
if test -z "$CC"; then |
2039 |
*win32* | *WIN32*) |
if test -n "$ac_tool_prefix"; then |
2040 |
# Extract the first word of "cl", so it can be a program name with args. |
for ac_prog in cl |
2041 |
set dummy cl; ac_word=$2 |
do |
2042 |
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. |
2043 |
echo "configure:1157: checking for $ac_word" >&5 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
2044 |
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2045 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
2046 |
|
if test "${ac_cv_prog_CC+set}" = set; then |
2047 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2048 |
else |
else |
2049 |
if test -n "$CC"; then |
if test -n "$CC"; then |
2050 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
ac_cv_prog_CC="$CC" # Let the user override the test. |
2051 |
else |
else |
2052 |
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2053 |
ac_dummy="$PATH" |
for as_dir in $PATH |
2054 |
for ac_dir in $ac_dummy; do |
do |
2055 |
test -z "$ac_dir" && ac_dir=. |
IFS=$as_save_IFS |
2056 |
if test -f $ac_dir/$ac_word; then |
test -z "$as_dir" && as_dir=. |
2057 |
ac_cv_prog_CC="cl" |
for ac_exec_ext in '' $ac_executable_extensions; do |
2058 |
break |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2059 |
fi |
ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
2060 |
done |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2061 |
IFS="$ac_save_ifs" |
break 2 |
2062 |
|
fi |
2063 |
|
done |
2064 |
|
done |
2065 |
|
|
2066 |
fi |
fi |
2067 |
fi |
fi |
2068 |
CC="$ac_cv_prog_CC" |
CC=$ac_cv_prog_CC |
2069 |
if test -n "$CC"; then |
if test -n "$CC"; then |
2070 |
echo "$ac_t""$CC" 1>&6 |
echo "$as_me:$LINENO: result: $CC" >&5 |
2071 |
|
echo "${ECHO_T}$CC" >&6 |
2072 |
else |
else |
2073 |
echo "$ac_t""no" 1>&6 |
echo "$as_me:$LINENO: result: no" >&5 |
2074 |
|
echo "${ECHO_T}no" >&6 |
2075 |
fi |
fi |
2076 |
;; |
|
2077 |
esac |
test -n "$CC" && break |
2078 |
|
done |
2079 |
|
fi |
2080 |
|
if test -z "$CC"; then |
2081 |
|
ac_ct_CC=$CC |
2082 |
|
for ac_prog in cl |
2083 |
|
do |
2084 |
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
2085 |
|
set dummy $ac_prog; ac_word=$2 |
2086 |
|
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2087 |
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
2088 |
|
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
2089 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2090 |
|
else |
2091 |
|
if test -n "$ac_ct_CC"; then |
2092 |
|
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
2093 |
|
else |
2094 |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2095 |
|
for as_dir in $PATH |
2096 |
|
do |
2097 |
|
IFS=$as_save_IFS |
2098 |
|
test -z "$as_dir" && as_dir=. |
2099 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
2100 |
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2101 |
|
ac_cv_prog_ac_ct_CC="$ac_prog" |
2102 |
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2103 |
|
break 2 |
2104 |
fi |
fi |
2105 |
test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
done |
2106 |
|
done |
2107 |
|
|
2108 |
|
fi |
2109 |
|
fi |
2110 |
|
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
2111 |
|
if test -n "$ac_ct_CC"; then |
2112 |
|
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
2113 |
|
echo "${ECHO_T}$ac_ct_CC" >&6 |
2114 |
|
else |
2115 |
|
echo "$as_me:$LINENO: result: no" >&5 |
2116 |
|
echo "${ECHO_T}no" >&6 |
2117 |
fi |
fi |
2118 |
|
|
2119 |
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
test -n "$ac_ct_CC" && break |
2120 |
echo "configure:1189: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
done |
2121 |
|
|
2122 |
ac_ext=c |
CC=$ac_ct_CC |
2123 |
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. |
fi |
2124 |
ac_cpp='$CPP $CPPFLAGS' |
|
2125 |
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' |
fi |
|
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' |
|
|
cross_compiling=$ac_cv_prog_cc_cross |
|
2126 |
|
|
|
cat > conftest.$ac_ext << EOF |
|
2127 |
|
|
2128 |
#line 1200 "configure" |
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH |
2129 |
#include "confdefs.h" |
See \`config.log' for more details." >&5 |
2130 |
|
echo "$as_me: error: no acceptable C compiler found in \$PATH |
2131 |
|
See \`config.log' for more details." >&2;} |
2132 |
|
{ (exit 1); exit 1; }; } |
2133 |
|
|
2134 |
|
# Provide some information about the compiler. |
2135 |
|
echo "$as_me:$LINENO:" \ |
2136 |
|
"checking for C compiler version" >&5 |
2137 |
|
ac_compiler=`set X $ac_compile; echo $2` |
2138 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 |
2139 |
|
(eval $ac_compiler --version </dev/null >&5) 2>&5 |
2140 |
|
ac_status=$? |
2141 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2142 |
|
(exit $ac_status); } |
2143 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 |
2144 |
|
(eval $ac_compiler -v </dev/null >&5) 2>&5 |
2145 |
|
ac_status=$? |
2146 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2147 |
|
(exit $ac_status); } |
2148 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 |
2149 |
|
(eval $ac_compiler -V </dev/null >&5) 2>&5 |
2150 |
|
ac_status=$? |
2151 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2152 |
|
(exit $ac_status); } |
2153 |
|
|
2154 |
|
cat >conftest.$ac_ext <<_ACEOF |
2155 |
|
#line $LINENO "configure" |
2156 |
|
/* confdefs.h. */ |
2157 |
|
_ACEOF |
2158 |
|
cat confdefs.h >>conftest.$ac_ext |
2159 |
|
cat >>conftest.$ac_ext <<_ACEOF |
2160 |
|
/* end confdefs.h. */ |
2161 |
|
|
2162 |
main(){return(0);} |
int |
2163 |
EOF |
main () |
2164 |
if { (eval echo configure:1205: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
{ |
2165 |
ac_cv_prog_cc_works=yes |
|
2166 |
# If we can't run a trivial program, we are probably using a cross compiler. |
; |
2167 |
if (./conftest; exit) 2>/dev/null; then |
return 0; |
2168 |
ac_cv_prog_cc_cross=no |
} |
2169 |
|
_ACEOF |
2170 |
|
ac_clean_files_save=$ac_clean_files |
2171 |
|
ac_clean_files="$ac_clean_files a.out a.exe b.out" |
2172 |
|
# Try to create an executable without -o first, disregard a.out. |
2173 |
|
# It will help us diagnose broken compilers, and finding out an intuition |
2174 |
|
# of exeext. |
2175 |
|
echo "$as_me:$LINENO: checking for C compiler default output" >&5 |
2176 |
|
echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6 |
2177 |
|
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
2178 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 |
2179 |
|
(eval $ac_link_default) 2>&5 |
2180 |
|
ac_status=$? |
2181 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2182 |
|
(exit $ac_status); }; then |
2183 |
|
# Find the output, starting from the most likely. This scheme is |
2184 |
|
# not robust to junk in `.', hence go to wildcards (a.*) only as a last |
2185 |
|
# resort. |
2186 |
|
|
2187 |
|
# Be careful to initialize this variable, since it used to be cached. |
2188 |
|
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. |
2189 |
|
ac_cv_exeext= |
2190 |
|
# b.out is created by i960 compilers. |
2191 |
|
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out |
2192 |
|
do |
2193 |
|
test -f "$ac_file" || continue |
2194 |
|
case $ac_file in |
2195 |
|
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) |
2196 |
|
;; |
2197 |
|
conftest.$ac_ext ) |
2198 |
|
# This is the source file. |
2199 |
|
;; |
2200 |
|
[ab].out ) |
2201 |
|
# We found the default executable, but exeext='' is most |
2202 |
|
# certainly right. |
2203 |
|
break;; |
2204 |
|
*.* ) |
2205 |
|
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
2206 |
|
# FIXME: I believe we export ac_cv_exeext for Libtool, |
2207 |
|
# but it would be cool to find out if it's true. Does anybody |
2208 |
|
# maintain Libtool? --akim. |
2209 |
|
export ac_cv_exeext |
2210 |
|
break;; |
2211 |
|
* ) |
2212 |
|
break;; |
2213 |
|
esac |
2214 |
|
done |
2215 |
|
else |
2216 |
|
echo "$as_me: failed program was:" >&5 |
2217 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
2218 |
|
|
2219 |
|
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables |
2220 |
|
See \`config.log' for more details." >&5 |
2221 |
|
echo "$as_me: error: C compiler cannot create executables |
2222 |
|
See \`config.log' for more details." >&2;} |
2223 |
|
{ (exit 77); exit 77; }; } |
2224 |
|
fi |
2225 |
|
|
2226 |
|
ac_exeext=$ac_cv_exeext |
2227 |
|
echo "$as_me:$LINENO: result: $ac_file" >&5 |
2228 |
|
echo "${ECHO_T}$ac_file" >&6 |
2229 |
|
|
2230 |
|
# Check the compiler produces executables we can run. If not, either |
2231 |
|
# the compiler is broken, or we cross compile. |
2232 |
|
echo "$as_me:$LINENO: checking whether the C compiler works" >&5 |
2233 |
|
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 |
2234 |
|
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 |
2235 |
|
# If not cross compiling, check that we can run a simple program. |
2236 |
|
if test "$cross_compiling" != yes; then |
2237 |
|
if { ac_try='./$ac_file' |
2238 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2239 |
|
(eval $ac_try) 2>&5 |
2240 |
|
ac_status=$? |
2241 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2242 |
|
(exit $ac_status); }; }; then |
2243 |
|
cross_compiling=no |
2244 |
else |
else |
2245 |
ac_cv_prog_cc_cross=yes |
if test "$cross_compiling" = maybe; then |
2246 |
|
cross_compiling=yes |
2247 |
|
else |
2248 |
|
{ { echo "$as_me:$LINENO: error: cannot run C compiled programs. |
2249 |
|
If you meant to cross compile, use \`--host'. |
2250 |
|
See \`config.log' for more details." >&5 |
2251 |
|
echo "$as_me: error: cannot run C compiled programs. |
2252 |
|
If you meant to cross compile, use \`--host'. |
2253 |
|
See \`config.log' for more details." >&2;} |
2254 |
|
{ (exit 1); exit 1; }; } |
2255 |
|
fi |
2256 |
fi |
fi |
|
else |
|
|
echo "configure: failed program was:" >&5 |
|
|
cat conftest.$ac_ext >&5 |
|
|
ac_cv_prog_cc_works=no |
|
2257 |
fi |
fi |
2258 |
rm -fr conftest* |
echo "$as_me:$LINENO: result: yes" >&5 |
2259 |
ac_ext=c |
echo "${ECHO_T}yes" >&6 |
2260 |
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. |
|
2261 |
ac_cpp='$CPP $CPPFLAGS' |
rm -f a.out a.exe conftest$ac_cv_exeext b.out |
2262 |
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' |
ac_clean_files=$ac_clean_files_save |
2263 |
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 |
2264 |
cross_compiling=$ac_cv_prog_cc_cross |
# the compiler is broken, or we cross compile. |
2265 |
|
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 |
2266 |
echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 |
2267 |
if test $ac_cv_prog_cc_works = no; then |
echo "$as_me:$LINENO: result: $cross_compiling" >&5 |
2268 |
{ echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
echo "${ECHO_T}$cross_compiling" >&6 |
2269 |
fi |
|
2270 |
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 |
2271 |
echo "configure:1231: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 |
2272 |
echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
2273 |
cross_compiling=$ac_cv_prog_cc_cross |
(eval $ac_link) 2>&5 |
2274 |
|
ac_status=$? |
2275 |
echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2276 |
echo "configure:1236: checking whether we are using GNU C" >&5 |
(exit $ac_status); }; then |
2277 |
if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then |
# If both `conftest.exe' and `conftest' are `present' (well, observable) |
2278 |
echo $ac_n "(cached) $ac_c" 1>&6 |
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
2279 |
else |
# work properly (i.e., refer to `conftest.exe'), while it won't with |
2280 |
cat > conftest.c <<EOF |
# `rm'. |
2281 |
#ifdef __GNUC__ |
for ac_file in conftest.exe conftest conftest.*; do |
2282 |
yes; |
test -f "$ac_file" || continue |
2283 |
#endif |
case $ac_file in |
2284 |
EOF |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; |
2285 |
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1245: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
2286 |
ac_cv_prog_gcc=yes |
export ac_cv_exeext |
2287 |
|
break;; |
2288 |
|
* ) break;; |
2289 |
|
esac |
2290 |
|
done |
2291 |
else |
else |
2292 |
ac_cv_prog_gcc=no |
{ { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link |
2293 |
fi |
See \`config.log' for more details." >&5 |
2294 |
fi |
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link |
2295 |
|
See \`config.log' for more details." >&2;} |
2296 |
|
{ (exit 1); exit 1; }; } |
2297 |
|
fi |
2298 |
|
|
2299 |
|
rm -f conftest$ac_cv_exeext |
2300 |
|
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 |
2301 |
|
echo "${ECHO_T}$ac_cv_exeext" >&6 |
2302 |
|
|
2303 |
|
rm -f conftest.$ac_ext |
2304 |
|
EXEEXT=$ac_cv_exeext |
2305 |
|
ac_exeext=$EXEEXT |
2306 |
|
echo "$as_me:$LINENO: checking for suffix of object files" >&5 |
2307 |
|
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 |
2308 |
|
if test "${ac_cv_objext+set}" = set; then |
2309 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2310 |
|
else |
2311 |
|
cat >conftest.$ac_ext <<_ACEOF |
2312 |
|
#line $LINENO "configure" |
2313 |
|
/* confdefs.h. */ |
2314 |
|
_ACEOF |
2315 |
|
cat confdefs.h >>conftest.$ac_ext |
2316 |
|
cat >>conftest.$ac_ext <<_ACEOF |
2317 |
|
/* end confdefs.h. */ |
2318 |
|
|
2319 |
echo "$ac_t""$ac_cv_prog_gcc" 1>&6 |
int |
2320 |
|
main () |
2321 |
|
{ |
2322 |
|
|
2323 |
if test $ac_cv_prog_gcc = yes; then |
; |
2324 |
GCC=yes |
return 0; |
2325 |
|
} |
2326 |
|
_ACEOF |
2327 |
|
rm -f conftest.o conftest.obj |
2328 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2329 |
|
(eval $ac_compile) 2>&5 |
2330 |
|
ac_status=$? |
2331 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2332 |
|
(exit $ac_status); }; then |
2333 |
|
for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do |
2334 |
|
case $ac_file in |
2335 |
|
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; |
2336 |
|
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
2337 |
|
break;; |
2338 |
|
esac |
2339 |
|
done |
2340 |
else |
else |
2341 |
GCC= |
echo "$as_me: failed program was:" >&5 |
2342 |
fi |
sed 's/^/| /' conftest.$ac_ext >&5 |
2343 |
|
|
2344 |
ac_test_CFLAGS="${CFLAGS+set}" |
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile |
2345 |
ac_save_CFLAGS="$CFLAGS" |
See \`config.log' for more details." >&5 |
2346 |
CFLAGS= |
echo "$as_me: error: cannot compute suffix of object files: cannot compile |
2347 |
echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
See \`config.log' for more details." >&2;} |
2348 |
echo "configure:1264: checking whether ${CC-cc} accepts -g" >&5 |
{ (exit 1); exit 1; }; } |
2349 |
if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then |
fi |
2350 |
echo $ac_n "(cached) $ac_c" 1>&6 |
|
2351 |
else |
rm -f conftest.$ac_cv_objext conftest.$ac_ext |
2352 |
echo 'void f(){}' > conftest.c |
fi |
2353 |
if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 |
2354 |
|
echo "${ECHO_T}$ac_cv_objext" >&6 |
2355 |
|
OBJEXT=$ac_cv_objext |
2356 |
|
ac_objext=$OBJEXT |
2357 |
|
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 |
2358 |
|
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 |
2359 |
|
if test "${ac_cv_c_compiler_gnu+set}" = set; then |
2360 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2361 |
|
else |
2362 |
|
cat >conftest.$ac_ext <<_ACEOF |
2363 |
|
#line $LINENO "configure" |
2364 |
|
/* confdefs.h. */ |
2365 |
|
_ACEOF |
2366 |
|
cat confdefs.h >>conftest.$ac_ext |
2367 |
|
cat >>conftest.$ac_ext <<_ACEOF |
2368 |
|
/* end confdefs.h. */ |
2369 |
|
|
2370 |
|
int |
2371 |
|
main () |
2372 |
|
{ |
2373 |
|
#ifndef __GNUC__ |
2374 |
|
choke me |
2375 |
|
#endif |
2376 |
|
|
2377 |
|
; |
2378 |
|
return 0; |
2379 |
|
} |
2380 |
|
_ACEOF |
2381 |
|
rm -f conftest.$ac_objext |
2382 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2383 |
|
(eval $ac_compile) 2>&5 |
2384 |
|
ac_status=$? |
2385 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2386 |
|
(exit $ac_status); } && |
2387 |
|
{ ac_try='test -s conftest.$ac_objext' |
2388 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2389 |
|
(eval $ac_try) 2>&5 |
2390 |
|
ac_status=$? |
2391 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2392 |
|
(exit $ac_status); }; }; then |
2393 |
|
ac_compiler_gnu=yes |
2394 |
|
else |
2395 |
|
echo "$as_me: failed program was:" >&5 |
2396 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
2397 |
|
|
2398 |
|
ac_compiler_gnu=no |
2399 |
|
fi |
2400 |
|
rm -f conftest.$ac_objext conftest.$ac_ext |
2401 |
|
ac_cv_c_compiler_gnu=$ac_compiler_gnu |
2402 |
|
|
2403 |
|
fi |
2404 |
|
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
2405 |
|
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 |
2406 |
|
GCC=`test $ac_compiler_gnu = yes && echo yes` |
2407 |
|
ac_test_CFLAGS=${CFLAGS+set} |
2408 |
|
ac_save_CFLAGS=$CFLAGS |
2409 |
|
CFLAGS="-g" |
2410 |
|
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 |
2411 |
|
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 |
2412 |
|
if test "${ac_cv_prog_cc_g+set}" = set; then |
2413 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2414 |
|
else |
2415 |
|
cat >conftest.$ac_ext <<_ACEOF |
2416 |
|
#line $LINENO "configure" |
2417 |
|
/* confdefs.h. */ |
2418 |
|
_ACEOF |
2419 |
|
cat confdefs.h >>conftest.$ac_ext |
2420 |
|
cat >>conftest.$ac_ext <<_ACEOF |
2421 |
|
/* end confdefs.h. */ |
2422 |
|
|
2423 |
|
int |
2424 |
|
main () |
2425 |
|
{ |
2426 |
|
|
2427 |
|
; |
2428 |
|
return 0; |
2429 |
|
} |
2430 |
|
_ACEOF |
2431 |
|
rm -f conftest.$ac_objext |
2432 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2433 |
|
(eval $ac_compile) 2>&5 |
2434 |
|
ac_status=$? |
2435 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2436 |
|
(exit $ac_status); } && |
2437 |
|
{ ac_try='test -s conftest.$ac_objext' |
2438 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2439 |
|
(eval $ac_try) 2>&5 |
2440 |
|
ac_status=$? |
2441 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2442 |
|
(exit $ac_status); }; }; then |
2443 |
ac_cv_prog_cc_g=yes |
ac_cv_prog_cc_g=yes |
2444 |
else |
else |
2445 |
ac_cv_prog_cc_g=no |
echo "$as_me: failed program was:" >&5 |
2446 |
fi |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
rm -f conftest* |
|
2447 |
|
|
2448 |
|
ac_cv_prog_cc_g=no |
2449 |
fi |
fi |
2450 |
|
rm -f conftest.$ac_objext conftest.$ac_ext |
2451 |
echo "$ac_t""$ac_cv_prog_cc_g" 1>&6 |
fi |
2452 |
|
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
2453 |
|
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 |
2454 |
if test "$ac_test_CFLAGS" = set; then |
if test "$ac_test_CFLAGS" = set; then |
2455 |
CFLAGS="$ac_save_CFLAGS" |
CFLAGS=$ac_save_CFLAGS |
2456 |
elif test $ac_cv_prog_cc_g = yes; then |
elif test $ac_cv_prog_cc_g = yes; then |
2457 |
if test "$GCC" = yes; then |
if test "$GCC" = yes; then |
2458 |
CFLAGS="-g -O2" |
CFLAGS="-g -O2" |
2466 |
CFLAGS= |
CFLAGS= |
2467 |
fi |
fi |
2468 |
fi |
fi |
2469 |
|
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 |
2470 |
|
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 |
2471 |
|
if test "${ac_cv_prog_cc_stdc+set}" = set; then |
2472 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2473 |
|
else |
2474 |
|
ac_cv_prog_cc_stdc=no |
2475 |
|
ac_save_CC=$CC |
2476 |
|
cat >conftest.$ac_ext <<_ACEOF |
2477 |
|
#line $LINENO "configure" |
2478 |
|
/* confdefs.h. */ |
2479 |
|
_ACEOF |
2480 |
|
cat confdefs.h >>conftest.$ac_ext |
2481 |
|
cat >>conftest.$ac_ext <<_ACEOF |
2482 |
|
/* end confdefs.h. */ |
2483 |
|
#include <stdarg.h> |
2484 |
|
#include <stdio.h> |
2485 |
|
#include <sys/types.h> |
2486 |
|
#include <sys/stat.h> |
2487 |
|
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
2488 |
|
struct buf { int x; }; |
2489 |
|
FILE * (*rcsopen) (struct buf *, struct stat *, int); |
2490 |
|
static char *e (p, i) |
2491 |
|
char **p; |
2492 |
|
int i; |
2493 |
|
{ |
2494 |
|
return p[i]; |
2495 |
|
} |
2496 |
|
static char *f (char * (*g) (char **, int), char **p, ...) |
2497 |
|
{ |
2498 |
|
char *s; |
2499 |
|
va_list v; |
2500 |
|
va_start (v,p); |
2501 |
|
s = g (p, va_arg (v,int)); |
2502 |
|
va_end (v); |
2503 |
|
return s; |
2504 |
|
} |
2505 |
|
int test (int i, double x); |
2506 |
|
struct s1 {int (*f) (int a);}; |
2507 |
|
struct s2 {int (*f) (double a);}; |
2508 |
|
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
2509 |
|
int argc; |
2510 |
|
char **argv; |
2511 |
|
int |
2512 |
|
main () |
2513 |
|
{ |
2514 |
|
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
2515 |
|
; |
2516 |
|
return 0; |
2517 |
|
} |
2518 |
|
_ACEOF |
2519 |
|
# Don't try gcc -ansi; that turns off useful extensions and |
2520 |
|
# breaks some systems' header files. |
2521 |
|
# AIX -qlanglvl=ansi |
2522 |
|
# Ultrix and OSF/1 -std1 |
2523 |
|
# HP-UX 10.20 and later -Ae |
2524 |
|
# HP-UX older versions -Aa -D_HPUX_SOURCE |
2525 |
|
# SVR4 -Xc -D__EXTENSIONS__ |
2526 |
|
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
2527 |
|
do |
2528 |
|
CC="$ac_save_CC $ac_arg" |
2529 |
|
rm -f conftest.$ac_objext |
2530 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2531 |
|
(eval $ac_compile) 2>&5 |
2532 |
|
ac_status=$? |
2533 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2534 |
|
(exit $ac_status); } && |
2535 |
|
{ ac_try='test -s conftest.$ac_objext' |
2536 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2537 |
|
(eval $ac_try) 2>&5 |
2538 |
|
ac_status=$? |
2539 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2540 |
|
(exit $ac_status); }; }; then |
2541 |
|
ac_cv_prog_cc_stdc=$ac_arg |
2542 |
|
break |
2543 |
|
else |
2544 |
|
echo "$as_me: failed program was:" >&5 |
2545 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
2546 |
|
|
2547 |
|
fi |
2548 |
|
rm -f conftest.$ac_objext |
2549 |
|
done |
2550 |
|
rm -f conftest.$ac_ext conftest.$ac_objext |
2551 |
|
CC=$ac_save_CC |
2552 |
|
|
2553 |
|
fi |
2554 |
|
|
2555 |
|
case "x$ac_cv_prog_cc_stdc" in |
2556 |
|
x|xno) |
2557 |
|
echo "$as_me:$LINENO: result: none needed" >&5 |
2558 |
|
echo "${ECHO_T}none needed" >&6 ;; |
2559 |
|
*) |
2560 |
|
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 |
2561 |
|
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 |
2562 |
|
CC="$CC $ac_cv_prog_cc_stdc" ;; |
2563 |
|
esac |
2564 |
|
|
2565 |
|
# Some people use a C++ compiler to compile C. Since we use `exit', |
2566 |
|
# in C++ we need to declare it. In case someone uses the same compiler |
2567 |
|
# for both compiling C and C++ we need to have the C++ compiler decide |
2568 |
|
# the declaration of exit, since it's the most demanding environment. |
2569 |
|
cat >conftest.$ac_ext <<_ACEOF |
2570 |
|
#ifndef __cplusplus |
2571 |
|
choke me |
2572 |
|
#endif |
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 |
|
for ac_declaration in \ |
2587 |
|
'' \ |
2588 |
|
'extern "C" void std::exit (int) throw (); using std::exit;' \ |
2589 |
|
'extern "C" void std::exit (int); using std::exit;' \ |
2590 |
|
'extern "C" void exit (int) throw ();' \ |
2591 |
|
'extern "C" void exit (int);' \ |
2592 |
|
'void exit (int);' |
2593 |
|
do |
2594 |
|
cat >conftest.$ac_ext <<_ACEOF |
2595 |
|
#line $LINENO "configure" |
2596 |
|
/* confdefs.h. */ |
2597 |
|
_ACEOF |
2598 |
|
cat confdefs.h >>conftest.$ac_ext |
2599 |
|
cat >>conftest.$ac_ext <<_ACEOF |
2600 |
|
/* end confdefs.h. */ |
2601 |
|
$ac_declaration |
2602 |
|
#include <stdlib.h> |
2603 |
|
int |
2604 |
|
main () |
2605 |
|
{ |
2606 |
|
exit (42); |
2607 |
|
; |
2608 |
|
return 0; |
2609 |
|
} |
2610 |
|
_ACEOF |
2611 |
|
rm -f conftest.$ac_objext |
2612 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2613 |
|
(eval $ac_compile) 2>&5 |
2614 |
|
ac_status=$? |
2615 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2616 |
|
(exit $ac_status); } && |
2617 |
|
{ ac_try='test -s conftest.$ac_objext' |
2618 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2619 |
|
(eval $ac_try) 2>&5 |
2620 |
|
ac_status=$? |
2621 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2622 |
|
(exit $ac_status); }; }; then |
2623 |
|
: |
2624 |
|
else |
2625 |
|
echo "$as_me: failed program was:" >&5 |
2626 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
2627 |
|
|
2628 |
|
continue |
2629 |
|
fi |
2630 |
|
rm -f conftest.$ac_objext conftest.$ac_ext |
2631 |
|
cat >conftest.$ac_ext <<_ACEOF |
2632 |
|
#line $LINENO "configure" |
2633 |
|
/* confdefs.h. */ |
2634 |
|
_ACEOF |
2635 |
|
cat confdefs.h >>conftest.$ac_ext |
2636 |
|
cat >>conftest.$ac_ext <<_ACEOF |
2637 |
|
/* end confdefs.h. */ |
2638 |
|
$ac_declaration |
2639 |
|
int |
2640 |
|
main () |
2641 |
|
{ |
2642 |
|
exit (42); |
2643 |
|
; |
2644 |
|
return 0; |
2645 |
|
} |
2646 |
|
_ACEOF |
2647 |
|
rm -f conftest.$ac_objext |
2648 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2649 |
|
(eval $ac_compile) 2>&5 |
2650 |
|
ac_status=$? |
2651 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2652 |
|
(exit $ac_status); } && |
2653 |
|
{ ac_try='test -s conftest.$ac_objext' |
2654 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2655 |
|
(eval $ac_try) 2>&5 |
2656 |
|
ac_status=$? |
2657 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2658 |
|
(exit $ac_status); }; }; then |
2659 |
|
break |
2660 |
|
else |
2661 |
|
echo "$as_me: failed program was:" >&5 |
2662 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
2663 |
|
|
2664 |
|
fi |
2665 |
|
rm -f conftest.$ac_objext conftest.$ac_ext |
2666 |
|
done |
2667 |
|
rm -f conftest* |
2668 |
|
if test -n "$ac_declaration"; then |
2669 |
|
echo '#ifdef __cplusplus' >>confdefs.h |
2670 |
|
echo $ac_declaration >>confdefs.h |
2671 |
|
echo '#endif' >>confdefs.h |
2672 |
|
fi |
2673 |
|
|
2674 |
|
else |
2675 |
|
echo "$as_me: failed program was:" >&5 |
2676 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
2677 |
|
|
2678 |
echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 |
fi |
2679 |
echo "configure:1296: checking how to run the C preprocessor" >&5 |
rm -f conftest.$ac_objext conftest.$ac_ext |
2680 |
|
ac_ext=c |
2681 |
|
ac_cpp='$CPP $CPPFLAGS' |
2682 |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
2683 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
2684 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
2685 |
|
|
2686 |
|
ac_ext=c |
2687 |
|
ac_cpp='$CPP $CPPFLAGS' |
2688 |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
2689 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
2690 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
2691 |
|
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 |
2692 |
|
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 |
2693 |
# On Suns, sometimes $CPP names a directory. |
# On Suns, sometimes $CPP names a directory. |
2694 |
if test -n "$CPP" && test -d "$CPP"; then |
if test -n "$CPP" && test -d "$CPP"; then |
2695 |
CPP= |
CPP= |
2696 |
fi |
fi |
2697 |
if test -z "$CPP"; then |
if test -z "$CPP"; then |
2698 |
if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then |
if test "${ac_cv_prog_CPP+set}" = set; then |
2699 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2700 |
else |
else |
2701 |
# This must be in double quotes, not single quotes, because CPP may get |
# Double quotes because CPP needs to be expanded |
2702 |
# substituted into the Makefile and "${CC-cc}" will confuse make. |
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
2703 |
CPP="${CC-cc} -E" |
do |
2704 |
|
ac_preproc_ok=false |
2705 |
|
for ac_c_preproc_warn_flag in '' yes |
2706 |
|
do |
2707 |
|
# Use a header file that comes with gcc, so configuring glibc |
2708 |
|
# with a fresh cross-compiler works. |
2709 |
|
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
2710 |
|
# <limits.h> exists even on freestanding compilers. |
2711 |
# 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, |
2712 |
# not just through cpp. |
# not just through cpp. "Syntax error" is here to catch this case. |
2713 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
2714 |
#line 1311 "configure" |
#line $LINENO "configure" |
2715 |
#include "confdefs.h" |
/* confdefs.h. */ |
2716 |
#include <assert.h> |
_ACEOF |
2717 |
Syntax Error |
cat confdefs.h >>conftest.$ac_ext |
2718 |
EOF |
cat >>conftest.$ac_ext <<_ACEOF |
2719 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
/* end confdefs.h. */ |
2720 |
{ (eval echo configure:1317: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
#ifdef __STDC__ |
2721 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
# include <limits.h> |
2722 |
if test -z "$ac_err"; then |
#else |
2723 |
: |
# include <assert.h> |
2724 |
|
#endif |
2725 |
|
Syntax error |
2726 |
|
_ACEOF |
2727 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
2728 |
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
2729 |
|
ac_status=$? |
2730 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
2731 |
|
rm -f conftest.er1 |
2732 |
|
cat conftest.err >&5 |
2733 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2734 |
|
(exit $ac_status); } >/dev/null; then |
2735 |
|
if test -s conftest.err; then |
2736 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
2737 |
|
else |
2738 |
|
ac_cpp_err= |
2739 |
|
fi |
2740 |
else |
else |
2741 |
echo "$ac_err" >&5 |
ac_cpp_err=yes |
2742 |
echo "configure: failed program was:" >&5 |
fi |
2743 |
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 1328 "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:1334: \"$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 |
|
2744 |
: |
: |
2745 |
else |
else |
2746 |
echo "$ac_err" >&5 |
echo "$as_me: failed program was:" >&5 |
2747 |
echo "configure: failed program was:" >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
2748 |
cat conftest.$ac_ext >&5 |
|
2749 |
rm -rf conftest* |
# Broken: fails on valid input. |
2750 |
CPP="${CC-cc} -nologo -E" |
continue |
2751 |
cat > conftest.$ac_ext <<EOF |
fi |
2752 |
#line 1345 "configure" |
rm -f conftest.err conftest.$ac_ext |
2753 |
#include "confdefs.h" |
|
2754 |
#include <assert.h> |
# OK, works on sane cases. Now check whether non-existent headers |
2755 |
Syntax Error |
# can be detected and how. |
2756 |
EOF |
cat >conftest.$ac_ext <<_ACEOF |
2757 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
#line $LINENO "configure" |
2758 |
{ (eval echo configure:1351: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
/* confdefs.h. */ |
2759 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
_ACEOF |
2760 |
if test -z "$ac_err"; then |
cat confdefs.h >>conftest.$ac_ext |
2761 |
: |
cat >>conftest.$ac_ext <<_ACEOF |
2762 |
|
/* end confdefs.h. */ |
2763 |
|
#include <ac_nonexistent.h> |
2764 |
|
_ACEOF |
2765 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
2766 |
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
2767 |
|
ac_status=$? |
2768 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
2769 |
|
rm -f conftest.er1 |
2770 |
|
cat conftest.err >&5 |
2771 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2772 |
|
(exit $ac_status); } >/dev/null; then |
2773 |
|
if test -s conftest.err; then |
2774 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
2775 |
|
else |
2776 |
|
ac_cpp_err= |
2777 |
|
fi |
2778 |
else |
else |
2779 |
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 |
|
2780 |
fi |
fi |
2781 |
rm -f conftest* |
if test -z "$ac_cpp_err"; then |
2782 |
|
# Broken: success on invalid input. |
2783 |
|
continue |
2784 |
|
else |
2785 |
|
echo "$as_me: failed program was:" >&5 |
2786 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
2787 |
|
|
2788 |
|
# Passes both tests. |
2789 |
|
ac_preproc_ok=: |
2790 |
|
break |
2791 |
fi |
fi |
2792 |
rm -f conftest* |
rm -f conftest.err conftest.$ac_ext |
2793 |
|
|
2794 |
|
done |
2795 |
|
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
2796 |
|
rm -f conftest.err conftest.$ac_ext |
2797 |
|
if $ac_preproc_ok; then |
2798 |
|
break |
2799 |
fi |
fi |
2800 |
rm -f conftest* |
|
2801 |
ac_cv_prog_CPP="$CPP" |
done |
2802 |
|
ac_cv_prog_CPP=$CPP |
2803 |
|
|
2804 |
|
fi |
2805 |
|
CPP=$ac_cv_prog_CPP |
2806 |
|
else |
2807 |
|
ac_cv_prog_CPP=$CPP |
2808 |
|
fi |
2809 |
|
echo "$as_me:$LINENO: result: $CPP" >&5 |
2810 |
|
echo "${ECHO_T}$CPP" >&6 |
2811 |
|
ac_preproc_ok=false |
2812 |
|
for ac_c_preproc_warn_flag in '' yes |
2813 |
|
do |
2814 |
|
# Use a header file that comes with gcc, so configuring glibc |
2815 |
|
# with a fresh cross-compiler works. |
2816 |
|
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
2817 |
|
# <limits.h> exists even on freestanding compilers. |
2818 |
|
# On the NeXT, cc -E runs the code through the compiler's parser, |
2819 |
|
# not just through cpp. "Syntax error" is here to catch this case. |
2820 |
|
cat >conftest.$ac_ext <<_ACEOF |
2821 |
|
#line $LINENO "configure" |
2822 |
|
/* confdefs.h. */ |
2823 |
|
_ACEOF |
2824 |
|
cat confdefs.h >>conftest.$ac_ext |
2825 |
|
cat >>conftest.$ac_ext <<_ACEOF |
2826 |
|
/* end confdefs.h. */ |
2827 |
|
#ifdef __STDC__ |
2828 |
|
# include <limits.h> |
2829 |
|
#else |
2830 |
|
# include <assert.h> |
2831 |
|
#endif |
2832 |
|
Syntax error |
2833 |
|
_ACEOF |
2834 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
2835 |
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
2836 |
|
ac_status=$? |
2837 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
2838 |
|
rm -f conftest.er1 |
2839 |
|
cat conftest.err >&5 |
2840 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2841 |
|
(exit $ac_status); } >/dev/null; then |
2842 |
|
if test -s conftest.err; then |
2843 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
2844 |
|
else |
2845 |
|
ac_cpp_err= |
2846 |
|
fi |
2847 |
|
else |
2848 |
|
ac_cpp_err=yes |
2849 |
|
fi |
2850 |
|
if test -z "$ac_cpp_err"; then |
2851 |
|
: |
2852 |
|
else |
2853 |
|
echo "$as_me: failed program was:" >&5 |
2854 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
2855 |
|
|
2856 |
|
# Broken: fails on valid input. |
2857 |
|
continue |
2858 |
|
fi |
2859 |
|
rm -f conftest.err conftest.$ac_ext |
2860 |
|
|
2861 |
|
# OK, works on sane cases. Now check whether non-existent headers |
2862 |
|
# can be detected and how. |
2863 |
|
cat >conftest.$ac_ext <<_ACEOF |
2864 |
|
#line $LINENO "configure" |
2865 |
|
/* confdefs.h. */ |
2866 |
|
_ACEOF |
2867 |
|
cat confdefs.h >>conftest.$ac_ext |
2868 |
|
cat >>conftest.$ac_ext <<_ACEOF |
2869 |
|
/* end confdefs.h. */ |
2870 |
|
#include <ac_nonexistent.h> |
2871 |
|
_ACEOF |
2872 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
2873 |
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
2874 |
|
ac_status=$? |
2875 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
2876 |
|
rm -f conftest.er1 |
2877 |
|
cat conftest.err >&5 |
2878 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2879 |
|
(exit $ac_status); } >/dev/null; then |
2880 |
|
if test -s conftest.err; then |
2881 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
2882 |
|
else |
2883 |
|
ac_cpp_err= |
2884 |
|
fi |
2885 |
|
else |
2886 |
|
ac_cpp_err=yes |
2887 |
|
fi |
2888 |
|
if test -z "$ac_cpp_err"; then |
2889 |
|
# Broken: success on invalid input. |
2890 |
|
continue |
2891 |
|
else |
2892 |
|
echo "$as_me: failed program was:" >&5 |
2893 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
2894 |
|
|
2895 |
|
# Passes both tests. |
2896 |
|
ac_preproc_ok=: |
2897 |
|
break |
2898 |
fi |
fi |
2899 |
CPP="$ac_cv_prog_CPP" |
rm -f conftest.err conftest.$ac_ext |
2900 |
|
|
2901 |
|
done |
2902 |
|
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
2903 |
|
rm -f conftest.err conftest.$ac_ext |
2904 |
|
if $ac_preproc_ok; then |
2905 |
|
: |
2906 |
else |
else |
2907 |
ac_cv_prog_CPP="$CPP" |
{ { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check |
2908 |
|
See \`config.log' for more details." >&5 |
2909 |
|
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check |
2910 |
|
See \`config.log' for more details." >&2;} |
2911 |
|
{ (exit 1); exit 1; }; } |
2912 |
fi |
fi |
2913 |
echo "$ac_t""$CPP" 1>&6 |
|
2914 |
|
ac_ext=c |
2915 |
|
ac_cpp='$CPP $CPPFLAGS' |
2916 |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
2917 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
2918 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
2919 |
|
|
2920 |
|
|
2921 |
|
|
2949 |
|
|
2950 |
for ac_prog in gawk nawk awk |
for ac_prog in gawk nawk awk |
2951 |
do |
do |
2952 |
# 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. |
2953 |
set dummy $ac_prog; ac_word=$2 |
set dummy $ac_prog; ac_word=$2 |
2954 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2955 |
echo "configure:1410: checking for $ac_word" >&5 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
2956 |
if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then |
if test "${ac_cv_prog_AWK+set}" = set; then |
2957 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2958 |
else |
else |
2959 |
if test -n "$AWK"; then |
if test -n "$AWK"; then |
2960 |
ac_cv_prog_AWK="$AWK" # Let the user override the test. |
ac_cv_prog_AWK="$AWK" # Let the user override the test. |
2961 |
else |
else |
2962 |
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2963 |
ac_dummy="$PATH" |
for as_dir in $PATH |
2964 |
for ac_dir in $ac_dummy; do |
do |
2965 |
test -z "$ac_dir" && ac_dir=. |
IFS=$as_save_IFS |
2966 |
if test -f $ac_dir/$ac_word; then |
test -z "$as_dir" && as_dir=. |
2967 |
ac_cv_prog_AWK="$ac_prog" |
for ac_exec_ext in '' $ac_executable_extensions; do |
2968 |
break |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2969 |
fi |
ac_cv_prog_AWK="$ac_prog" |
2970 |
done |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2971 |
IFS="$ac_save_ifs" |
break 2 |
2972 |
|
fi |
2973 |
|
done |
2974 |
|
done |
2975 |
|
|
2976 |
fi |
fi |
2977 |
fi |
fi |
2978 |
AWK="$ac_cv_prog_AWK" |
AWK=$ac_cv_prog_AWK |
2979 |
if test -n "$AWK"; then |
if test -n "$AWK"; then |
2980 |
echo "$ac_t""$AWK" 1>&6 |
echo "$as_me:$LINENO: result: $AWK" >&5 |
2981 |
|
echo "${ECHO_T}$AWK" >&6 |
2982 |
else |
else |
2983 |
echo "$ac_t""no" 1>&6 |
echo "$as_me:$LINENO: result: no" >&5 |
2984 |
|
echo "${ECHO_T}no" >&6 |
2985 |
fi |
fi |
2986 |
|
|
2987 |
test -n "$AWK" && break |
test -n "$AWK" && break |
2988 |
done |
done |
2989 |
test -n "$AWK" || AWK="""" |
test -n "$AWK" || AWK="""" |
2990 |
|
|
2991 |
|
|
2992 |
case $use in |
case $use in |
2993 |
*linux) |
*linux) |
2994 |
case $use in |
case $use in |
2995 |
alpha*) |
alpha*) |
3002 |
TO2FLAGS="-O" |
TO2FLAGS="-O" |
3003 |
;; |
;; |
3004 |
arm*) |
arm*) |
3005 |
TCFLAGS="$TCFLAGS -mlong-calls";; |
TCFLAGS="$TCFLAGS -mlong-calls";; |
3006 |
powerpc*) |
powerpc*) |
3007 |
if $CC -v 2>&1 | grep -q "gcc version 3.2" ; then |
if $CC -v 2>&1 | grep -q "gcc version 3.2" ; then |
3008 |
echo Reducing optimization for buggy gcc-3.2 |
echo Reducing optimization for buggy gcc-3.2 |
3009 |
TO3FLAGS="-O -fomit-frame-pointer" |
TO3FLAGS="-O -fomit-frame-pointer" |
3026 |
# 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 |
3027 |
# there are a few systems, like Next, where this doesn't work. |
# there are a few systems, like Next, where this doesn't work. |
3028 |
|
|
3029 |
echo $ac_n "checking system version (for dynamic loading)""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking system version (for dynamic loading)" >&5 |
3030 |
echo "configure:1479: checking system version (for dynamic loading)" >&5 |
echo $ECHO_N "checking system version (for dynamic loading)... $ECHO_C" >&6 |
3031 |
if machine=`uname -m` ; then true; else machine=unknown ; fi |
if machine=`uname -m` ; then true; else machine=unknown ; fi |
3032 |
|
|
3033 |
for ac_prog in makeinfo |
for ac_prog in makeinfo |
3034 |
do |
do |
3035 |
# 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. |
3036 |
set dummy $ac_prog; ac_word=$2 |
set dummy $ac_prog; ac_word=$2 |
3037 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3038 |
echo "configure:1487: checking for $ac_word" >&5 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
3039 |
if eval "test \"`echo '$''{'ac_cv_prog_MAKEINFO'+set}'`\" = set"; then |
if test "${ac_cv_prog_MAKEINFO+set}" = set; then |
3040 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3041 |
else |
else |
3042 |
if test -n "$MAKEINFO"; then |
if test -n "$MAKEINFO"; then |
3043 |
ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test. |
ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test. |
3044 |
else |
else |
3045 |
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3046 |
ac_dummy="$PATH" |
for as_dir in $PATH |
3047 |
for ac_dir in $ac_dummy; do |
do |
3048 |
test -z "$ac_dir" && ac_dir=. |
IFS=$as_save_IFS |
3049 |
if test -f $ac_dir/$ac_word; then |
test -z "$as_dir" && as_dir=. |
3050 |
ac_cv_prog_MAKEINFO="$ac_prog" |
for ac_exec_ext in '' $ac_executable_extensions; do |
3051 |
break |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3052 |
fi |
ac_cv_prog_MAKEINFO="$ac_prog" |
3053 |
done |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3054 |
IFS="$ac_save_ifs" |
break 2 |
3055 |
|
fi |
3056 |
|
done |
3057 |
|
done |
3058 |
|
|
3059 |
fi |
fi |
3060 |
fi |
fi |
3061 |
MAKEINFO="$ac_cv_prog_MAKEINFO" |
MAKEINFO=$ac_cv_prog_MAKEINFO |
3062 |
if test -n "$MAKEINFO"; then |
if test -n "$MAKEINFO"; then |
3063 |
echo "$ac_t""$MAKEINFO" 1>&6 |
echo "$as_me:$LINENO: result: $MAKEINFO" >&5 |
3064 |
|
echo "${ECHO_T}$MAKEINFO" >&6 |
3065 |
else |
else |
3066 |
echo "$ac_t""no" 1>&6 |
echo "$as_me:$LINENO: result: no" >&5 |
3067 |
|
echo "${ECHO_T}no" >&6 |
3068 |
fi |
fi |
3069 |
|
|
3070 |
test -n "$MAKEINFO" && break |
test -n "$MAKEINFO" && break |
3071 |
done |
done |
3072 |
test -n "$MAKEINFO" || MAKEINFO=""false"" |
test -n "$MAKEINFO" || MAKEINFO=""false"" |
3073 |
|
|
3078 |
else |
else |
3079 |
system=`uname -s`-`uname -r` |
system=`uname -s`-`uname -r` |
3080 |
if test "$?" -ne 0 ; then |
if test "$?" -ne 0 ; then |
3081 |
echo "$ac_t""unknown (can't find uname command)" 1>&6 |
echo "$as_me:$LINENO: result: unknown (can't find uname command)" >&5 |
3082 |
|
echo "${ECHO_T}unknown (can't find uname command)" >&6 |
3083 |
system=unknown |
system=unknown |
3084 |
else |
else |
3085 |
# Special check for weird MP-RAS system (uname returns weird |
# Special check for weird MP-RAS system (uname returns weird |
3086 |
# results, and the version is kept in special file). |
# results, and the version is kept in special file). |
3087 |
|
|
3088 |
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 |
3089 |
system=MP-RAS-`${AWK} '{print $3}' /etc/.relid'` |
system=MP-RAS-`${AWK} '{print $3}' /etc/.relid'` |
3090 |
fi |
fi |
3091 |
if test "`uname -s`" = "AIX" ; then |
if test "`uname -s`" = "AIX" ; then |
3092 |
system=AIX-`uname -v`.`uname -r` |
system=AIX-`uname -v`.`uname -r` |
3093 |
fi |
fi |
3094 |
echo "$ac_t""$system" 1>&6 |
echo "$as_me:$LINENO: result: $system" >&5 |
3095 |
|
echo "${ECHO_T}$system" >&6 |
3096 |
fi |
fi |
3097 |
fi |
fi |
3098 |
|
|
3107 |
MP_INLCUDE="" |
MP_INLCUDE="" |
3108 |
if test $use_gmp = yes ; then |
if test $use_gmp = yes ; then |
3109 |
|
|
3110 |
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 |
3111 |
echo "configure:1552: 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 |
3112 |
echo |
echo |
3113 |
echo "#" |
echo "#" |
3114 |
echo "#" |
echo "#" |
3128 |
else |
else |
3129 |
cd $GMPDIR && ./configure && cd .. |
cd $GMPDIR && ./configure && cd .. |
3130 |
fi |
fi |
3131 |
#MY_SUBDIRS="$MY_SUBDIRS $GMPDIR" |
#MY_SUBDIRS="$MY_SUBDIRS $GMPDIR" |
3132 |
|
|
3133 |
echo "#" |
echo "#" |
3134 |
echo "#" |
echo "#" |
3139 |
|
|
3140 |
PATCHED_SYMBOLS="" |
PATCHED_SYMBOLS="" |
3141 |
if test "$enable_dynsysgmp" = "yes" ; then |
if test "$enable_dynsysgmp" = "yes" ; then |
3142 |
ac_safe=`echo "gmp.h" | sed 'y%./+-%__p_%'` |
|
3143 |
echo $ac_n "checking for gmp.h""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for egrep" >&5 |
3144 |
echo "configure:1585: checking for gmp.h" >&5 |
echo $ECHO_N "checking for egrep... $ECHO_C" >&6 |
3145 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if test "${ac_cv_prog_egrep+set}" = set; then |
3146 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3147 |
else |
else |
3148 |
cat > conftest.$ac_ext <<EOF |
if echo a | (grep -E '(a|b)') >/dev/null 2>&1 |
3149 |
#line 1590 "configure" |
then ac_cv_prog_egrep='grep -E' |
3150 |
#include "confdefs.h" |
else ac_cv_prog_egrep='egrep' |
3151 |
#include <gmp.h> |
fi |
3152 |
EOF |
fi |
3153 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 |
3154 |
{ (eval echo configure:1595: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
echo "${ECHO_T}$ac_cv_prog_egrep" >&6 |
3155 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
EGREP=$ac_cv_prog_egrep |
3156 |
if test -z "$ac_err"; then |
|
3157 |
rm -rf conftest* |
|
3158 |
eval "ac_cv_header_$ac_safe=yes" |
echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
3159 |
else |
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 |
3160 |
echo "$ac_err" >&5 |
if test "${ac_cv_header_stdc+set}" = set; then |
3161 |
echo "configure: failed program was:" >&5 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3162 |
cat conftest.$ac_ext >&5 |
else |
3163 |
rm -rf conftest* |
cat >conftest.$ac_ext <<_ACEOF |
3164 |
eval "ac_cv_header_$ac_safe=no" |
#line $LINENO "configure" |
3165 |
|
/* confdefs.h. */ |
3166 |
|
_ACEOF |
3167 |
|
cat confdefs.h >>conftest.$ac_ext |
3168 |
|
cat >>conftest.$ac_ext <<_ACEOF |
3169 |
|
/* end confdefs.h. */ |
3170 |
|
#include <stdlib.h> |
3171 |
|
#include <stdarg.h> |
3172 |
|
#include <string.h> |
3173 |
|
#include <float.h> |
3174 |
|
|
3175 |
|
int |
3176 |
|
main () |
3177 |
|
{ |
3178 |
|
|
3179 |
|
; |
3180 |
|
return 0; |
3181 |
|
} |
3182 |
|
_ACEOF |
3183 |
|
rm -f conftest.$ac_objext |
3184 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3185 |
|
(eval $ac_compile) 2>&5 |
3186 |
|
ac_status=$? |
3187 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3188 |
|
(exit $ac_status); } && |
3189 |
|
{ ac_try='test -s conftest.$ac_objext' |
3190 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3191 |
|
(eval $ac_try) 2>&5 |
3192 |
|
ac_status=$? |
3193 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3194 |
|
(exit $ac_status); }; }; then |
3195 |
|
ac_cv_header_stdc=yes |
3196 |
|
else |
3197 |
|
echo "$as_me: failed program was:" >&5 |
3198 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
3199 |
|
|
3200 |
|
ac_cv_header_stdc=no |
3201 |
|
fi |
3202 |
|
rm -f conftest.$ac_objext conftest.$ac_ext |
3203 |
|
|
3204 |
|
if test $ac_cv_header_stdc = yes; then |
3205 |
|
# SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
3206 |
|
cat >conftest.$ac_ext <<_ACEOF |
3207 |
|
#line $LINENO "configure" |
3208 |
|
/* confdefs.h. */ |
3209 |
|
_ACEOF |
3210 |
|
cat confdefs.h >>conftest.$ac_ext |
3211 |
|
cat >>conftest.$ac_ext <<_ACEOF |
3212 |
|
/* end confdefs.h. */ |
3213 |
|
#include <string.h> |
3214 |
|
|
3215 |
|
_ACEOF |
3216 |
|
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3217 |
|
$EGREP "memchr" >/dev/null 2>&1; then |
3218 |
|
: |
3219 |
|
else |
3220 |
|
ac_cv_header_stdc=no |
3221 |
fi |
fi |
3222 |
rm -f conftest* |
rm -f conftest* |
3223 |
|
|
3224 |
fi |
fi |
|
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
|
|
echo "$ac_t""yes" 1>&6 |
|
|
echo $ac_n "checking for __gmpz_init in -lgmp""... $ac_c" 1>&6 |
|
|
echo "configure:1612: 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 |
|
|
else |
|
|
ac_save_LIBS="$LIBS" |
|
|
LIBS="-lgmp $LIBS" |
|
|
cat > conftest.$ac_ext <<EOF |
|
|
#line 1620 "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(); |
|
3225 |
|
|
3226 |
int main() { |
if test $ac_cv_header_stdc = yes; then |
3227 |
__gmpz_init() |
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
3228 |
; return 0; } |
cat >conftest.$ac_ext <<_ACEOF |
3229 |
EOF |
#line $LINENO "configure" |
3230 |
if { (eval echo configure:1631: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
/* confdefs.h. */ |
3231 |
rm -rf conftest* |
_ACEOF |
3232 |
eval "ac_cv_lib_$ac_lib_var=yes" |
cat confdefs.h >>conftest.$ac_ext |
3233 |
else |
cat >>conftest.$ac_ext <<_ACEOF |
3234 |
echo "configure: failed program was:" >&5 |
/* end confdefs.h. */ |
3235 |
cat conftest.$ac_ext >&5 |
#include <stdlib.h> |
3236 |
rm -rf conftest* |
|
3237 |
eval "ac_cv_lib_$ac_lib_var=no" |
_ACEOF |
3238 |
|
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3239 |
|
$EGREP "free" >/dev/null 2>&1; then |
3240 |
|
: |
3241 |
|
else |
3242 |
|
ac_cv_header_stdc=no |
3243 |
fi |
fi |
3244 |
rm -f conftest* |
rm -f conftest* |
|
LIBS="$ac_save_LIBS" |
|
3245 |
|
|
3246 |
fi |
fi |
3247 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
|
3248 |
echo "$ac_t""yes" 1>&6 |
if test $ac_cv_header_stdc = yes; then |
3249 |
|
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
3250 |
|
if test "$cross_compiling" = yes; then |
3251 |
|
: |
3252 |
|
else |
3253 |
|
cat >conftest.$ac_ext <<_ACEOF |
3254 |
|
#line $LINENO "configure" |
3255 |
|
/* confdefs.h. */ |
3256 |
|
_ACEOF |
3257 |
|
cat confdefs.h >>conftest.$ac_ext |
3258 |
|
cat >>conftest.$ac_ext <<_ACEOF |
3259 |
|
/* end confdefs.h. */ |
3260 |
|
#include <ctype.h> |
3261 |
|
#if ((' ' & 0x0FF) == 0x020) |
3262 |
|
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
3263 |
|
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
3264 |
|
#else |
3265 |
|
# define ISLOWER(c) \ |
3266 |
|
(('a' <= (c) && (c) <= 'i') \ |
3267 |
|
|| ('j' <= (c) && (c) <= 'r') \ |
3268 |
|
|| ('s' <= (c) && (c) <= 'z')) |
3269 |
|
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
3270 |
|
#endif |
3271 |
|
|
3272 |
|
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
3273 |
|
int |
3274 |
|
main () |
3275 |
|
{ |
3276 |
|
int i; |
3277 |
|
for (i = 0; i < 256; i++) |
3278 |
|
if (XOR (islower (i), ISLOWER (i)) |
3279 |
|
|| toupper (i) != TOUPPER (i)) |
3280 |
|
exit(2); |
3281 |
|
exit (0); |
3282 |
|
} |
3283 |
|
_ACEOF |
3284 |
|
rm -f conftest$ac_exeext |
3285 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
3286 |
|
(eval $ac_link) 2>&5 |
3287 |
|
ac_status=$? |
3288 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3289 |
|
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
3290 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3291 |
|
(eval $ac_try) 2>&5 |
3292 |
|
ac_status=$? |
3293 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3294 |
|
(exit $ac_status); }; }; then |
3295 |
|
: |
3296 |
|
else |
3297 |
|
echo "$as_me: program exited with status $ac_status" >&5 |
3298 |
|
echo "$as_me: failed program was:" >&5 |
3299 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
3300 |
|
|
3301 |
|
( exit $ac_status ) |
3302 |
|
ac_cv_header_stdc=no |
3303 |
|
fi |
3304 |
|
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
3305 |
|
fi |
3306 |
|
fi |
3307 |
|
fi |
3308 |
|
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 |
3309 |
|
echo "${ECHO_T}$ac_cv_header_stdc" >&6 |
3310 |
|
if test $ac_cv_header_stdc = yes; then |
3311 |
|
|
3312 |
|
cat >>confdefs.h <<\_ACEOF |
3313 |
|
#define STDC_HEADERS 1 |
3314 |
|
_ACEOF |
3315 |
|
|
3316 |
|
fi |
3317 |
|
|
3318 |
|
# On IRIX 5.3, sys/types and inttypes.h are conflicting. |
3319 |
|
|
3320 |
|
|
3321 |
|
|
3322 |
|
|
3323 |
|
|
3324 |
|
|
3325 |
|
|
3326 |
|
|
3327 |
|
|
3328 |
|
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
3329 |
|
inttypes.h stdint.h unistd.h |
3330 |
|
do |
3331 |
|
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
3332 |
|
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
3333 |
|
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
3334 |
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
3335 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3336 |
|
else |
3337 |
|
cat >conftest.$ac_ext <<_ACEOF |
3338 |
|
#line $LINENO "configure" |
3339 |
|
/* confdefs.h. */ |
3340 |
|
_ACEOF |
3341 |
|
cat confdefs.h >>conftest.$ac_ext |
3342 |
|
cat >>conftest.$ac_ext <<_ACEOF |
3343 |
|
/* end confdefs.h. */ |
3344 |
|
$ac_includes_default |
3345 |
|
|
3346 |
|
#include <$ac_header> |
3347 |
|
_ACEOF |
3348 |
|
rm -f conftest.$ac_objext |
3349 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3350 |
|
(eval $ac_compile) 2>&5 |
3351 |
|
ac_status=$? |
3352 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3353 |
|
(exit $ac_status); } && |
3354 |
|
{ ac_try='test -s conftest.$ac_objext' |
3355 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3356 |
|
(eval $ac_try) 2>&5 |
3357 |
|
ac_status=$? |
3358 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3359 |
|
(exit $ac_status); }; }; then |
3360 |
|
eval "$as_ac_Header=yes" |
3361 |
|
else |
3362 |
|
echo "$as_me: failed program was:" >&5 |
3363 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
3364 |
|
|
3365 |
|
eval "$as_ac_Header=no" |
3366 |
|
fi |
3367 |
|
rm -f conftest.$ac_objext conftest.$ac_ext |
3368 |
|
fi |
3369 |
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
3370 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
3371 |
|
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
3372 |
|
cat >>confdefs.h <<_ACEOF |
3373 |
|
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
3374 |
|
_ACEOF |
3375 |
|
|
3376 |
|
fi |
3377 |
|
|
3378 |
|
done |
3379 |
|
|
3380 |
|
|
3381 |
|
if test "${ac_cv_header_gmp_h+set}" = set; then |
3382 |
|
echo "$as_me:$LINENO: checking for gmp.h" >&5 |
3383 |
|
echo $ECHO_N "checking for gmp.h... $ECHO_C" >&6 |
3384 |
|
if test "${ac_cv_header_gmp_h+set}" = set; then |
3385 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3386 |
|
fi |
3387 |
|
echo "$as_me:$LINENO: result: $ac_cv_header_gmp_h" >&5 |
3388 |
|
echo "${ECHO_T}$ac_cv_header_gmp_h" >&6 |
3389 |
|
else |
3390 |
|
# Is the header compilable? |
3391 |
|
echo "$as_me:$LINENO: checking gmp.h usability" >&5 |
3392 |
|
echo $ECHO_N "checking gmp.h usability... $ECHO_C" >&6 |
3393 |
|
cat >conftest.$ac_ext <<_ACEOF |
3394 |
|
#line $LINENO "configure" |
3395 |
|
/* confdefs.h. */ |
3396 |
|
_ACEOF |
3397 |
|
cat confdefs.h >>conftest.$ac_ext |
3398 |
|
cat >>conftest.$ac_ext <<_ACEOF |
3399 |
|
/* end confdefs.h. */ |
3400 |
|
$ac_includes_default |
3401 |
|
#include <gmp.h> |
3402 |
|
_ACEOF |
3403 |
|
rm -f conftest.$ac_objext |
3404 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3405 |
|
(eval $ac_compile) 2>&5 |
3406 |
|
ac_status=$? |
3407 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3408 |
|
(exit $ac_status); } && |
3409 |
|
{ ac_try='test -s conftest.$ac_objext' |
3410 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3411 |
|
(eval $ac_try) 2>&5 |
3412 |
|
ac_status=$? |
3413 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3414 |
|
(exit $ac_status); }; }; then |
3415 |
|
ac_header_compiler=yes |
3416 |
|
else |
3417 |
|
echo "$as_me: failed program was:" >&5 |
3418 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
3419 |
|
|
3420 |
|
ac_header_compiler=no |
3421 |
|
fi |
3422 |
|
rm -f conftest.$ac_objext conftest.$ac_ext |
3423 |
|
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
3424 |
|
echo "${ECHO_T}$ac_header_compiler" >&6 |
3425 |
|
|
3426 |
|
# Is the header present? |
3427 |
|
echo "$as_me:$LINENO: checking gmp.h presence" >&5 |
3428 |
|
echo $ECHO_N "checking gmp.h presence... $ECHO_C" >&6 |
3429 |
|
cat >conftest.$ac_ext <<_ACEOF |
3430 |
|
#line $LINENO "configure" |
3431 |
|
/* confdefs.h. */ |
3432 |
|
_ACEOF |
3433 |
|
cat confdefs.h >>conftest.$ac_ext |
3434 |
|
cat >>conftest.$ac_ext <<_ACEOF |
3435 |
|
/* end confdefs.h. */ |
3436 |
|
#include <gmp.h> |
3437 |
|
_ACEOF |
3438 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
3439 |
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
3440 |
|
ac_status=$? |
3441 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
3442 |
|
rm -f conftest.er1 |
3443 |
|
cat conftest.err >&5 |
3444 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3445 |
|
(exit $ac_status); } >/dev/null; then |
3446 |
|
if test -s conftest.err; then |
3447 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
3448 |
|
else |
3449 |
|
ac_cpp_err= |
3450 |
|
fi |
3451 |
|
else |
3452 |
|
ac_cpp_err=yes |
3453 |
|
fi |
3454 |
|
if test -z "$ac_cpp_err"; then |
3455 |
|
ac_header_preproc=yes |
3456 |
|
else |
3457 |
|
echo "$as_me: failed program was:" >&5 |
3458 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
3459 |
|
|
3460 |
|
ac_header_preproc=no |
3461 |
|
fi |
3462 |
|
rm -f conftest.err conftest.$ac_ext |
3463 |
|
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
3464 |
|
echo "${ECHO_T}$ac_header_preproc" >&6 |
3465 |
|
|
3466 |
|
# So? What about this header? |
3467 |
|
case $ac_header_compiler:$ac_header_preproc in |
3468 |
|
yes:no ) |
3469 |
|
{ echo "$as_me:$LINENO: WARNING: gmp.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
3470 |
|
echo "$as_me: WARNING: gmp.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
3471 |
|
{ echo "$as_me:$LINENO: WARNING: gmp.h: proceeding with the preprocessor's result" >&5 |
3472 |
|
echo "$as_me: WARNING: gmp.h: proceeding with the preprocessor's result" >&2;} |
3473 |
|
( |
3474 |
|
cat <<\_ASBOX |
3475 |
|
## ------------------------------------ ## |
3476 |
|
## Report this to bug-autoconf@gnu.org. ## |
3477 |
|
## ------------------------------------ ## |
3478 |
|
_ASBOX |
3479 |
|
) | |
3480 |
|
sed "s/^/$as_me: WARNING: /" >&2 |
3481 |
|
;; |
3482 |
|
no:yes ) |
3483 |
|
{ echo "$as_me:$LINENO: WARNING: gmp.h: present but cannot be compiled" >&5 |
3484 |
|
echo "$as_me: WARNING: gmp.h: present but cannot be compiled" >&2;} |
3485 |
|
{ echo "$as_me:$LINENO: WARNING: gmp.h: check for missing prerequisite headers?" >&5 |
3486 |
|
echo "$as_me: WARNING: gmp.h: check for missing prerequisite headers?" >&2;} |
3487 |
|
{ echo "$as_me:$LINENO: WARNING: gmp.h: proceeding with the preprocessor's result" >&5 |
3488 |
|
echo "$as_me: WARNING: gmp.h: proceeding with the preprocessor's result" >&2;} |
3489 |
|
( |
3490 |
|
cat <<\_ASBOX |
3491 |
|
## ------------------------------------ ## |
3492 |
|
## Report this to bug-autoconf@gnu.org. ## |
3493 |
|
## ------------------------------------ ## |
3494 |
|
_ASBOX |
3495 |
|
) | |
3496 |
|
sed "s/^/$as_me: WARNING: /" >&2 |
3497 |
|
;; |
3498 |
|
esac |
3499 |
|
echo "$as_me:$LINENO: checking for gmp.h" >&5 |
3500 |
|
echo $ECHO_N "checking for gmp.h... $ECHO_C" >&6 |
3501 |
|
if test "${ac_cv_header_gmp_h+set}" = set; then |
3502 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3503 |
|
else |
3504 |
|
ac_cv_header_gmp_h=$ac_header_preproc |
3505 |
|
fi |
3506 |
|
echo "$as_me:$LINENO: result: $ac_cv_header_gmp_h" >&5 |
3507 |
|
echo "${ECHO_T}$ac_cv_header_gmp_h" >&6 |
3508 |
|
|
3509 |
|
fi |
3510 |
|
if test $ac_cv_header_gmp_h = yes; then |
3511 |
|
echo "$as_me:$LINENO: checking for __gmpz_init in -lgmp" >&5 |
3512 |
|
echo $ECHO_N "checking for __gmpz_init in -lgmp... $ECHO_C" >&6 |
3513 |
|
if test "${ac_cv_lib_gmp___gmpz_init+set}" = set; then |
3514 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3515 |
|
else |
3516 |
|
ac_check_lib_save_LIBS=$LIBS |
3517 |
|
LIBS="-lgmp $LIBS" |
3518 |
|
|
3519 |
|
cat >conftest.$ac_ext <<_ACEOF |
3520 |
|
#line $LINENO "configure" |
3521 |
|
/* confdefs.h. */ |
3522 |
|
_ACEOF |
3523 |
|
cat confdefs.h >>conftest.$ac_ext |
3524 |
|
cat >>conftest.$ac_ext <<_ACEOF |
3525 |
|
/* end confdefs.h. */ |
3526 |
|
|
3527 |
|
/* Override any gcc2 internal prototype to avoid an error. */ |
3528 |
|
#ifdef __cplusplus |
3529 |
|
extern "C" |
3530 |
|
#endif |
3531 |
|
/* We use char because int might match the return type of a gcc2 |
3532 |
|
builtin and then its argument prototype would still apply. */ |
3533 |
|
char __gmpz_init (); |
3534 |
|
int |
3535 |
|
main () |
3536 |
|
{ |
3537 |
|
__gmpz_init (); |
3538 |
|
; |
3539 |
|
return 0; |
3540 |
|
} |
3541 |
|
_ACEOF |
3542 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
3543 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
3544 |
|
(eval $ac_link) 2>&5 |
3545 |
|
ac_status=$? |
3546 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3547 |
|
(exit $ac_status); } && |
3548 |
|
{ ac_try='test -s conftest$ac_exeext' |
3549 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3550 |
|
(eval $ac_try) 2>&5 |
3551 |
|
ac_status=$? |
3552 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3553 |
|
(exit $ac_status); }; }; then |
3554 |
|
ac_cv_lib_gmp___gmpz_init=yes |
3555 |
|
else |
3556 |
|
echo "$as_me: failed program was:" >&5 |
3557 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
3558 |
|
|
3559 |
|
ac_cv_lib_gmp___gmpz_init=no |
3560 |
|
fi |
3561 |
|
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
3562 |
|
LIBS=$ac_check_lib_save_LIBS |
3563 |
|
fi |
3564 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_gmp___gmpz_init" >&5 |
3565 |
|
echo "${ECHO_T}$ac_cv_lib_gmp___gmpz_init" >&6 |
3566 |
|
if test $ac_cv_lib_gmp___gmpz_init = yes; then |
3567 |
MPFILES=$GMPDIR/mpn/mul_n.o |
MPFILES=$GMPDIR/mpn/mul_n.o |
3568 |
PATCHED_SYMBOLS=__gmpn_toom3_mul_n |
PATCHED_SYMBOLS=__gmpn_toom3_mul_n |
3569 |
if test "$use" = "m68k-linux" ; then |
if test "$use" = "m68k-linux" ; then |
3576 |
MP_INCLUDE=`cpp foo.c | grep /gmp.h | head -1l | $AWK '{print $3}' | tr -d '"'` |
MP_INCLUDE=`cpp foo.c | grep /gmp.h | head -1l | $AWK '{print $3}' | tr -d '"'` |
3577 |
rm -f foo.c |
rm -f foo.c |
3578 |
else |
else |
3579 |
echo "$ac_t""no" 1>&6 |
echo "Cannot use dynamic gmp lib" ; exit 1 |
|
echo "Cannot use dynamic gmp lib" ; exit 1 |
|
3580 |
fi |
fi |
3581 |
|
|
3582 |
else |
else |
3583 |
echo "$ac_t""no" 1>&6 |
echo "Cannot use dynamic gmp lib" ; exit 1 |
|
echo "Cannot use dynamic gmp lib" ; exit 1 |
|
3584 |
fi |
fi |
3585 |
|
|
3586 |
|
|
3587 |
else |
|
3588 |
|
else |
3589 |
|
|
3590 |
cp $GMPDIR/gmp.h h/gmp.h |
cp $GMPDIR/gmp.h h/gmp.h |
3591 |
MP_INCLUDE=h/gmp.h |
MP_INCLUDE=h/gmp.h |
3593 |
|
|
3594 |
fi |
fi |
3595 |
|
|
3596 |
echo $ac_n "checking "for size of gmp limbs"""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking \"for size of gmp limbs\"" >&5 |
3597 |
echo "configure:1677: checking "for size of gmp limbs"" >&5 |
echo $ECHO_N "checking \"for size of gmp limbs\"... $ECHO_C" >&6 |
3598 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
3599 |
mpsize=0 |
mpsize=0 |
3600 |
else |
else |
3601 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
3602 |
#line 1682 "configure" |
#line $LINENO "configure" |
3603 |
#include "confdefs.h" |
/* confdefs.h. */ |
3604 |
|
_ACEOF |
3605 |
|
cat confdefs.h >>conftest.$ac_ext |
3606 |
|
cat >>conftest.$ac_ext <<_ACEOF |
3607 |
|
/* end confdefs.h. */ |
3608 |
#include <stdio.h> |
#include <stdio.h> |
3609 |
#include "$MP_INCLUDE" |
#include "$MP_INCLUDE" |
3610 |
int main() { |
int main() { |
3613 |
fclose(fp); |
fclose(fp); |
3614 |
return 0; |
return 0; |
3615 |
} |
} |
3616 |
EOF |
_ACEOF |
3617 |
if { (eval echo configure:1693: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
rm -f conftest$ac_exeext |
3618 |
then |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
3619 |
|
(eval $ac_link) 2>&5 |
3620 |
|
ac_status=$? |
3621 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3622 |
|
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
3623 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3624 |
|
(eval $ac_try) 2>&5 |
3625 |
|
ac_status=$? |
3626 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3627 |
|
(exit $ac_status); }; }; then |
3628 |
mpsize=`cat conftest1` |
mpsize=`cat conftest1` |
3629 |
else |
else |
3630 |
echo "configure: failed program was:" >&5 |
echo "$as_me: program exited with status $ac_status" >&5 |
3631 |
cat conftest.$ac_ext >&5 |
echo "$as_me: failed program was:" >&5 |
3632 |
rm -fr conftest* |
sed 's/^/| /' conftest.$ac_ext >&5 |
3633 |
mpsize=0 |
|
3634 |
|
( exit $ac_status ) |
3635 |
|
mpsize=0 |
3636 |
fi |
fi |
3637 |
rm -fr conftest* |
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
3638 |
fi |
fi |
|
|
|
3639 |
if test "$mpsize" = "0" ; then |
if test "$mpsize" = "0" ; then |
3640 |
echo "Cannot determine mpsize" |
echo "Cannot determine mpsize" |
3641 |
exit 1 |
exit 1 |
3642 |
fi |
fi |
3643 |
cat >> confdefs.h <<EOF |
cat >>confdefs.h <<_ACEOF |
3644 |
#define MP_LIMB_BYTES $mpsize |
#define MP_LIMB_BYTES $mpsize |
3645 |
EOF |
_ACEOF |
3646 |
|
|
3647 |
echo "$ac_t""$mpsize" 1>&6 |
echo "$as_me:$LINENO: result: $mpsize" >&5 |
3648 |
|
echo "${ECHO_T}$mpsize" >&6 |
3649 |
|
|
3650 |
echo $ac_n "checking "_SHORT_LIMB"""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking \"_SHORT_LIMB\"" >&5 |
3651 |
echo "configure:1716: checking "_SHORT_LIMB"" >&5 |
echo $ECHO_N "checking \"_SHORT_LIMB\"... $ECHO_C" >&6 |
3652 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
3653 |
echo "$ac_t""no" 1>&6 |
echo "$as_me:$LINENO: result: no" >&5 |
3654 |
|
echo "${ECHO_T}no" >&6 |
3655 |
else |
else |
3656 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
3657 |
#line 1721 "configure" |
#line $LINENO "configure" |
3658 |
#include "confdefs.h" |
/* confdefs.h. */ |
3659 |
|
_ACEOF |
3660 |
|
cat confdefs.h >>conftest.$ac_ext |
3661 |
|
cat >>conftest.$ac_ext <<_ACEOF |
3662 |
|
/* end confdefs.h. */ |
3663 |
#include <stdio.h> |
#include <stdio.h> |
3664 |
#include "$MP_INCLUDE" |
#include "$MP_INCLUDE" |
3665 |
int main() { |
int main() { |
3669 |
return 1; |
return 1; |
3670 |
#endif |
#endif |
3671 |
} |
} |
3672 |
EOF |
_ACEOF |
3673 |
if { (eval echo configure:1733: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
rm -f conftest$ac_exeext |
3674 |
then |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
3675 |
cat >> confdefs.h <<\EOF |
(eval $ac_link) 2>&5 |
3676 |
|
ac_status=$? |
3677 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3678 |
|
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
3679 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3680 |
|
(eval $ac_try) 2>&5 |
3681 |
|
ac_status=$? |
3682 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3683 |
|
(exit $ac_status); }; }; then |
3684 |
|
cat >>confdefs.h <<\_ACEOF |
3685 |
#define __SHORT_LIMB 1 |
#define __SHORT_LIMB 1 |
3686 |
EOF |
_ACEOF |
3687 |
echo "$ac_t""yes" 1>&6 |
echo "$as_me:$LINENO: result: yes" >&5 |
3688 |
else |
echo "${ECHO_T}yes" >&6 |
3689 |
echo "configure: failed program was:" >&5 |
else |
3690 |
cat conftest.$ac_ext >&5 |
echo "$as_me: program exited with status $ac_status" >&5 |
3691 |
rm -fr conftest* |
echo "$as_me: failed program was:" >&5 |
3692 |
echo "$ac_t""no" 1>&6 |
sed 's/^/| /' conftest.$ac_ext >&5 |
3693 |
|
|
3694 |
|
( exit $ac_status ) |
3695 |
|
echo "$as_me:$LINENO: result: no" >&5 |
3696 |
|
echo "${ECHO_T}no" >&6 |
3697 |
fi |
fi |
3698 |
rm -fr conftest* |
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
3699 |
fi |
fi |
3700 |
|
echo "$as_me:$LINENO: checking \"_LONG_LONG_LIMB\"" >&5 |
3701 |
echo $ac_n "checking "_LONG_LONG_LIMB"""... $ac_c" 1>&6 |
echo $ECHO_N "checking \"_LONG_LONG_LIMB\"... $ECHO_C" >&6 |
|
echo "configure:1749: checking "_LONG_LONG_LIMB"" >&5 |
|
3702 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
3703 |
echo "$ac_t""no" 1>&6 |
echo "$as_me:$LINENO: result: no" >&5 |
3704 |
|
echo "${ECHO_T}no" >&6 |
3705 |
else |
else |
3706 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
3707 |
#line 1754 "configure" |
#line $LINENO "configure" |
3708 |
#include "confdefs.h" |
/* confdefs.h. */ |
3709 |
|
_ACEOF |
3710 |
|
cat confdefs.h >>conftest.$ac_ext |
3711 |
|
cat >>conftest.$ac_ext <<_ACEOF |
3712 |
|
/* end confdefs.h. */ |
3713 |
#include <stdio.h> |
#include <stdio.h> |
3714 |
#include "$MP_INCLUDE" |
#include "$MP_INCLUDE" |
3715 |
int main() { |
int main() { |
3719 |
return 1; |
return 1; |
3720 |
#endif |
#endif |
3721 |
} |
} |
3722 |
EOF |
_ACEOF |
3723 |
if { (eval echo configure:1766: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
rm -f conftest$ac_exeext |
3724 |
then |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
3725 |
cat >> confdefs.h <<\EOF |
(eval $ac_link) 2>&5 |
3726 |
|
ac_status=$? |
3727 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3728 |
|
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
3729 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3730 |
|
(eval $ac_try) 2>&5 |
3731 |
|
ac_status=$? |
3732 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3733 |
|
(exit $ac_status); }; }; then |
3734 |
|
cat >>confdefs.h <<\_ACEOF |
3735 |
#define __LONG_LONG_LIMB 1 |
#define __LONG_LONG_LIMB 1 |
3736 |
EOF |
_ACEOF |
3737 |
echo "$ac_t""yes" 1>&6 |
echo "$as_me:$LINENO: result: yes" >&5 |
3738 |
else |
echo "${ECHO_T}yes" >&6 |
3739 |
echo "configure: failed program was:" >&5 |
else |
3740 |
cat conftest.$ac_ext >&5 |
echo "$as_me: program exited with status $ac_status" >&5 |
3741 |
rm -fr conftest* |
echo "$as_me: failed program was:" >&5 |
3742 |
echo "$ac_t""no" 1>&6 |
sed 's/^/| /' conftest.$ac_ext >&5 |
3743 |
|
|
3744 |
|
( exit $ac_status ) |
3745 |
|
echo "$as_me:$LINENO: result: no" >&5 |
3746 |
|
echo "${ECHO_T}no" >&6 |
3747 |
fi |
fi |
3748 |
rm -fr conftest* |
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
3749 |
fi |
fi |
3750 |
|
|
|
|
|
3751 |
GMP=1 |
GMP=1 |
3752 |
cat >> confdefs.h <<\EOF |
cat >>confdefs.h <<\_ACEOF |
3753 |
#define GMP 1 |
#define GMP 1 |
3754 |
EOF |
_ACEOF |
3755 |
|
|
3756 |
|
|
3757 |
|
|
|
|
|
|
|
|
3758 |
echo > makedefsafter |
echo > makedefsafter |
3759 |
echo "MPFILES=$MPFILES" >> makedefsafter |
echo "MPFILES=$MPFILES" >> makedefsafter |
3760 |
echo "PATCHED_SYMBOLS=$PATCHED_SYMBOLS" >> makedefsafter |
echo "PATCHED_SYMBOLS=$PATCHED_SYMBOLS" >> makedefsafter |
3764 |
|
|
3765 |
# |
# |
3766 |
# X windows |
# X windows |
3767 |
# |
# |
3768 |
|
|
3769 |
|
echo "$as_me:$LINENO: checking for X" >&5 |
3770 |
|
echo $ECHO_N "checking for X... $ECHO_C" >&6 |
3771 |
|
|
|
# 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:1805: checking for X" >&5 |
|
3772 |
|
|
3773 |
# Check whether --with-x or --without-x was given. |
# Check whether --with-x or --without-x was given. |
3774 |
if test "${with_x+set}" = set; then |
if test "${with_x+set}" = set; then |
3775 |
withval="$with_x" |
withval="$with_x" |
|
: |
|
|
fi |
|
3776 |
|
|
3777 |
|
fi; |
3778 |
# $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. |
3779 |
if test "x$with_x" = xno; then |
if test "x$with_x" = xno; then |
3780 |
# The user explicitly disabled X. |
# The user explicitly disabled X. |
3784 |
# Both variables are already set. |
# Both variables are already set. |
3785 |
have_x=yes |
have_x=yes |
3786 |
else |
else |
3787 |
if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then |
if test "${ac_cv_have_x+set}" = set; then |
3788 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3789 |
else |
else |
3790 |
# 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. |
3791 |
ac_x_includes=NO ac_x_libraries=NO |
ac_x_includes=no ac_x_libraries=no |
3792 |
rm -fr conftestdir |
rm -fr conftest.dir |
3793 |
if mkdir conftestdir; then |
if mkdir conftest.dir; then |
3794 |
cd conftestdir |
cd conftest.dir |
3795 |
# 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. |
3796 |
cat > Imakefile <<'EOF' |
cat >Imakefile <<'_ACEOF' |
3797 |
acfindx: |
acfindx: |
3798 |
@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}"' |
3799 |
EOF |
_ACEOF |
3800 |
if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then |
if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then |
3801 |
# GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
# GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
3802 |
eval `${MAKE-make} acfindx 2>/dev/null | grep -v make` |
eval `${MAKE-make} acfindx 2>/dev/null | grep -v make` |
3803 |
# Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR. |
# Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR. |
3804 |
for ac_extension in a so sl; do |
for ac_extension in a so sl; do |
3805 |
if test ! -f $ac_im_usrlibdir/libX11.$ac_extension && |
if test ! -f $ac_im_usrlibdir/libX11.$ac_extension && |
3806 |
test -f $ac_im_libdir/libX11.$ac_extension; then |
test -f $ac_im_libdir/libX11.$ac_extension; then |
3807 |
ac_im_usrlibdir=$ac_im_libdir; break |
ac_im_usrlibdir=$ac_im_libdir; break |
3808 |
fi |
fi |
3809 |
done |
done |
3810 |
# Screen out bogus values from the imake configuration. They are |
# Screen out bogus values from the imake configuration. They are |
3811 |
# bogus both because they are the default anyway, and because |
# bogus both because they are the default anyway, and because |
3812 |
# using them would break gcc on systems where it needs fixed includes. |
# using them would break gcc on systems where it needs fixed includes. |
3813 |
case "$ac_im_incroot" in |
case $ac_im_incroot in |
3814 |
/usr/include) ;; |
/usr/include) ;; |
3815 |
*) 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;; |
3816 |
esac |
esac |
3817 |
case "$ac_im_usrlibdir" in |
case $ac_im_usrlibdir in |
3818 |
/usr/lib | /lib) ;; |
/usr/lib | /lib) ;; |
3819 |
*) test -d "$ac_im_usrlibdir" && ac_x_libraries="$ac_im_usrlibdir" ;; |
*) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;; |
3820 |
esac |
esac |
3821 |
fi |
fi |
3822 |
cd .. |
cd .. |
3823 |
rm -fr conftestdir |
rm -fr conftest.dir |
3824 |
fi |
fi |
3825 |
|
|
3826 |
if test "$ac_x_includes" = NO; then |
# Standard set of common directories for X headers. |
3827 |
# 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. |
3828 |
test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h |
ac_x_header_dirs=' |
3829 |
|
/usr/X11/include |
3830 |
|
/usr/X11R6/include |
3831 |
|
/usr/X11R5/include |
3832 |
|
/usr/X11R4/include |
3833 |
|
|
3834 |
|
/usr/include/X11 |
3835 |
|
/usr/include/X11R6 |
3836 |
|
/usr/include/X11R5 |
3837 |
|
/usr/include/X11R4 |
3838 |
|
|
3839 |
|
/usr/local/X11/include |
3840 |
|
/usr/local/X11R6/include |
3841 |
|
/usr/local/X11R5/include |
3842 |
|
/usr/local/X11R4/include |
3843 |
|
|
3844 |
|
/usr/local/include/X11 |
3845 |
|
/usr/local/include/X11R6 |
3846 |
|
/usr/local/include/X11R5 |
3847 |
|
/usr/local/include/X11R4 |
3848 |
|
|
3849 |
|
/usr/X386/include |
3850 |
|
/usr/x386/include |
3851 |
|
/usr/XFree86/include/X11 |
3852 |
|
|
3853 |
|
/usr/include |
3854 |
|
/usr/local/include |
3855 |
|
/usr/unsupported/include |
3856 |
|
/usr/athena/include |
3857 |
|
/usr/local/x11r5/include |
3858 |
|
/usr/lpp/Xamples/include |
3859 |
|
|
3860 |
|
/usr/openwin/include |
3861 |
|
/usr/openwin/share/include' |
3862 |
|
|
3863 |
|
if test "$ac_x_includes" = no; then |
3864 |
|
# Guess where to find include files, by looking for Intrinsic.h. |
3865 |
# First, try using that file with no special directory specified. |
# First, try using that file with no special directory specified. |
3866 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
3867 |
#line 1867 "configure" |
#line $LINENO "configure" |
3868 |
#include "confdefs.h" |
/* confdefs.h. */ |
3869 |
#include <$x_direct_test_include> |
_ACEOF |
3870 |
EOF |
cat confdefs.h >>conftest.$ac_ext |
3871 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
cat >>conftest.$ac_ext <<_ACEOF |
3872 |
{ (eval echo configure:1872: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
/* end confdefs.h. */ |
3873 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
#include <X11/Intrinsic.h> |
3874 |
if test -z "$ac_err"; then |
_ACEOF |
3875 |
rm -rf conftest* |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
3876 |
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
3877 |
|
ac_status=$? |
3878 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
3879 |
|
rm -f conftest.er1 |
3880 |
|
cat conftest.err >&5 |
3881 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3882 |
|
(exit $ac_status); } >/dev/null; then |
3883 |
|
if test -s conftest.err; then |
3884 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
3885 |
|
else |
3886 |
|
ac_cpp_err= |
3887 |
|
fi |
3888 |
|
else |
3889 |
|
ac_cpp_err=yes |
3890 |
|
fi |
3891 |
|
if test -z "$ac_cpp_err"; then |
3892 |
# We can compile using X headers with no special include directory. |
# We can compile using X headers with no special include directory. |
3893 |
ac_x_includes= |
ac_x_includes= |
3894 |
else |
else |
3895 |
echo "$ac_err" >&5 |
echo "$as_me: failed program was:" >&5 |
3896 |
echo "configure: failed program was:" >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
3897 |
cat conftest.$ac_ext >&5 |
|
3898 |
rm -rf conftest* |
for ac_dir in $ac_x_header_dirs; do |
3899 |
# Look for the header file in a standard set of common directories. |
if test -r "$ac_dir/X11/Intrinsic.h"; then |
3900 |
# Check X11 before X11Rn because it is often a symlink to the current release. |
ac_x_includes=$ac_dir |
3901 |
for ac_dir in \ |
break |
3902 |
/usr/X11/include \ |
fi |
3903 |
/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 |
|
3904 |
fi |
fi |
3905 |
rm -f conftest* |
rm -f conftest.err conftest.$ac_ext |
3906 |
fi # $ac_x_includes = NO |
fi # $ac_x_includes = no |
3907 |
|
|
3908 |
if test "$ac_x_libraries" = NO; then |
if test "$ac_x_libraries" = no; then |
3909 |
# 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 |
|
|
|
|
3910 |
# See if we find them without any special options. |
# See if we find them without any special options. |
3911 |
# Don't add to $LIBS permanently. |
# Don't add to $LIBS permanently. |
3912 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS=$LIBS |
3913 |
LIBS="-l$x_direct_test_library $LIBS" |
LIBS="-lXt $LIBS" |
3914 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
3915 |
#line 1941 "configure" |
#line $LINENO "configure" |
3916 |
#include "confdefs.h" |
/* confdefs.h. */ |
3917 |
|
_ACEOF |
3918 |
int main() { |
cat confdefs.h >>conftest.$ac_ext |
3919 |
${x_direct_test_function}() |
cat >>conftest.$ac_ext <<_ACEOF |
3920 |
; return 0; } |
/* end confdefs.h. */ |
3921 |
EOF |
#include <X11/Intrinsic.h> |
3922 |
if { (eval echo configure:1948: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
int |
3923 |
rm -rf conftest* |
main () |
3924 |
LIBS="$ac_save_LIBS" |
{ |
3925 |
|
XtMalloc (0) |
3926 |
|
; |
3927 |
|
return 0; |
3928 |
|
} |
3929 |
|
_ACEOF |
3930 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
3931 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
3932 |
|
(eval $ac_link) 2>&5 |
3933 |
|
ac_status=$? |
3934 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3935 |
|
(exit $ac_status); } && |
3936 |
|
{ ac_try='test -s conftest$ac_exeext' |
3937 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3938 |
|
(eval $ac_try) 2>&5 |
3939 |
|
ac_status=$? |
3940 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3941 |
|
(exit $ac_status); }; }; then |
3942 |
|
LIBS=$ac_save_LIBS |
3943 |
# We can link X programs with no special library path. |
# We can link X programs with no special library path. |
3944 |
ac_x_libraries= |
ac_x_libraries= |
3945 |
else |
else |
3946 |
echo "configure: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
3947 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
3948 |
rm -rf conftest* |
|
3949 |
LIBS="$ac_save_LIBS" |
LIBS=$ac_save_LIBS |
3950 |
# 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 \ |
|
|
; \ |
|
3951 |
do |
do |
3952 |
|
# Don't even attempt the hair of trying to link an X program! |
3953 |
for ac_extension in a so sl; do |
for ac_extension in a so sl; do |
3954 |
if test -r $ac_dir/lib${x_direct_test_library}.$ac_extension; then |
if test -r $ac_dir/libXt.$ac_extension; then |
3955 |
ac_x_libraries=$ac_dir |
ac_x_libraries=$ac_dir |
3956 |
break 2 |
break 2 |
3957 |
fi |
fi |
3958 |
done |
done |
3959 |
done |
done |
3960 |
fi |
fi |
3961 |
rm -f conftest* |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
3962 |
fi # $ac_x_libraries = NO |
fi # $ac_x_libraries = no |
3963 |
|
|
3964 |
if test "$ac_x_includes" = NO || test "$ac_x_libraries" = NO; then |
if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then |
3965 |
# Didn't find X anywhere. Cache the known absence of X. |
# Didn't find X anywhere. Cache the known absence of X. |
3966 |
ac_cv_have_x="have_x=no" |
ac_cv_have_x="have_x=no" |
3967 |
else |
else |
3970 |
ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries" |
ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries" |
3971 |
fi |
fi |
3972 |
fi |
fi |
3973 |
|
|
3974 |
fi |
fi |
3975 |
eval "$ac_cv_have_x" |
eval "$ac_cv_have_x" |
3976 |
fi # $with_x != no |
fi # $with_x != no |
3977 |
|
|
3978 |
if test "$have_x" != yes; then |
if test "$have_x" != yes; then |
3979 |
echo "$ac_t""$have_x" 1>&6 |
echo "$as_me:$LINENO: result: $have_x" >&5 |
3980 |
|
echo "${ECHO_T}$have_x" >&6 |
3981 |
no_x=yes |
no_x=yes |
3982 |
else |
else |
3983 |
# 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. |
3986 |
# Update the cache value to reflect the command line values. |
# Update the cache value to reflect the command line values. |
3987 |
ac_cv_have_x="have_x=yes \ |
ac_cv_have_x="have_x=yes \ |
3988 |
ac_x_includes=$x_includes ac_x_libraries=$x_libraries" |
ac_x_includes=$x_includes ac_x_libraries=$x_libraries" |
3989 |
echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6 |
echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5 |
3990 |
|
echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6 |
3991 |
fi |
fi |
3992 |
|
|
3993 |
if test "$no_x" = yes; then |
if test "$no_x" = yes; then |
3994 |
# 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. |
3995 |
cat >> confdefs.h <<\EOF |
|
3996 |
|
cat >>confdefs.h <<\_ACEOF |
3997 |
#define X_DISPLAY_MISSING 1 |
#define X_DISPLAY_MISSING 1 |
3998 |
EOF |
_ACEOF |
3999 |
|
|
4000 |
X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS= |
X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS= |
4001 |
else |
else |
4008 |
X_LIBS="$X_LIBS -L$x_libraries" |
X_LIBS="$X_LIBS -L$x_libraries" |
4009 |
# 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 |
4010 |
# others require no space. Words are not sufficient . . . . |
# others require no space. Words are not sufficient . . . . |
4011 |
case "`(uname -sr) 2>/dev/null`" in |
case `(uname -sr) 2>/dev/null` in |
4012 |
"SunOS 5"*) |
"SunOS 5"*) |
4013 |
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 |
4014 |
echo "configure:2054: 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 |
4015 |
ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" |
ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries" |
4016 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
4017 |
#line 2057 "configure" |
#line $LINENO "configure" |
4018 |
#include "confdefs.h" |
/* confdefs.h. */ |
4019 |
|
_ACEOF |
4020 |
|
cat confdefs.h >>conftest.$ac_ext |
4021 |
|
cat >>conftest.$ac_ext <<_ACEOF |
4022 |
|
/* end confdefs.h. */ |
4023 |
|
|
4024 |
int main() { |
int |
4025 |
|
main () |
4026 |
|
{ |
4027 |
|
|
4028 |
; return 0; } |
; |
4029 |
EOF |
return 0; |
4030 |
if { (eval echo configure:2064: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
} |
4031 |
rm -rf conftest* |
_ACEOF |
4032 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
4033 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
4034 |
|
(eval $ac_link) 2>&5 |
4035 |
|
ac_status=$? |
4036 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4037 |
|
(exit $ac_status); } && |
4038 |
|
{ ac_try='test -s conftest$ac_exeext' |
4039 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4040 |
|
(eval $ac_try) 2>&5 |
4041 |
|
ac_status=$? |
4042 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4043 |
|
(exit $ac_status); }; }; then |
4044 |
ac_R_nospace=yes |
ac_R_nospace=yes |
4045 |
else |
else |
4046 |
echo "configure: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
4047 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
4048 |
rm -rf conftest* |
|
4049 |
ac_R_nospace=no |
ac_R_nospace=no |
4050 |
fi |
fi |
4051 |
rm -f conftest* |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
4052 |
if test $ac_R_nospace = yes; then |
if test $ac_R_nospace = yes; then |
4053 |
echo "$ac_t""no" 1>&6 |
echo "$as_me:$LINENO: result: no" >&5 |
4054 |
|
echo "${ECHO_T}no" >&6 |
4055 |
X_LIBS="$X_LIBS -R$x_libraries" |
X_LIBS="$X_LIBS -R$x_libraries" |
4056 |
else |
else |
4057 |
LIBS="$ac_xsave_LIBS -R $x_libraries" |
LIBS="$ac_xsave_LIBS -R $x_libraries" |
4058 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
4059 |
#line 2080 "configure" |
#line $LINENO "configure" |
4060 |
#include "confdefs.h" |
/* confdefs.h. */ |
4061 |
|
_ACEOF |
4062 |
|
cat confdefs.h >>conftest.$ac_ext |
4063 |
|
cat >>conftest.$ac_ext <<_ACEOF |
4064 |
|
/* end confdefs.h. */ |
4065 |
|
|
4066 |
int main() { |
int |
4067 |
|
main () |
4068 |
|
{ |
4069 |
|
|
4070 |
; return 0; } |
; |
4071 |
EOF |
return 0; |
4072 |
if { (eval echo configure:2087: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
} |
4073 |
rm -rf conftest* |
_ACEOF |
4074 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
4075 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
4076 |
|
(eval $ac_link) 2>&5 |
4077 |
|
ac_status=$? |
4078 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4079 |
|
(exit $ac_status); } && |
4080 |
|
{ ac_try='test -s conftest$ac_exeext' |
4081 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4082 |
|
(eval $ac_try) 2>&5 |
4083 |
|
ac_status=$? |
4084 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4085 |
|
(exit $ac_status); }; }; then |
4086 |
ac_R_space=yes |
ac_R_space=yes |
4087 |
else |
else |
4088 |
echo "configure: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
4089 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
4090 |
rm -rf conftest* |
|
4091 |
ac_R_space=no |
ac_R_space=no |
4092 |
fi |
fi |
4093 |
rm -f conftest* |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
4094 |
if test $ac_R_space = yes; then |
if test $ac_R_space = yes; then |
4095 |
echo "$ac_t""yes" 1>&6 |
echo "$as_me:$LINENO: result: yes" >&5 |
4096 |
|
echo "${ECHO_T}yes" >&6 |
4097 |
X_LIBS="$X_LIBS -R $x_libraries" |
X_LIBS="$X_LIBS -R $x_libraries" |
4098 |
else |
else |
4099 |
echo "$ac_t""neither works" 1>&6 |
echo "$as_me:$LINENO: result: neither works" >&5 |
4100 |
|
echo "${ECHO_T}neither works" >&6 |
4101 |
fi |
fi |
4102 |
fi |
fi |
4103 |
LIBS="$ac_xsave_LIBS" |
LIBS=$ac_xsave_LIBS |
4104 |
esac |
esac |
4105 |
fi |
fi |
4106 |
|
|
4111 |
if test "$ISC" = yes; then |
if test "$ISC" = yes; then |
4112 |
X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet" |
X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet" |
4113 |
else |
else |
4114 |
# 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 |
4115 |
# libraries were built with DECnet support. And karl@cs.umb.edu says |
# libraries were built with DECnet support. And Karl Berry says |
4116 |
# the Alpha needs dnet_stub (dnet does not exist). |
# the Alpha needs dnet_stub (dnet does not exist). |
4117 |
echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 |
ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11" |
4118 |
echo "configure:2119: checking for dnet_ntoa in -ldnet" >&5 |
cat >conftest.$ac_ext <<_ACEOF |
4119 |
ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
#line $LINENO "configure" |
4120 |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
/* confdefs.h. */ |
4121 |
echo $ac_n "(cached) $ac_c" 1>&6 |
_ACEOF |
4122 |
else |
cat confdefs.h >>conftest.$ac_ext |
4123 |
ac_save_LIBS="$LIBS" |
cat >>conftest.$ac_ext <<_ACEOF |
4124 |
LIBS="-ldnet $LIBS" |
/* end confdefs.h. */ |
4125 |
cat > conftest.$ac_ext <<EOF |
|
|
#line 2127 "configure" |
|
|
#include "confdefs.h" |
|
4126 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
4127 |
|
#ifdef __cplusplus |
4128 |
|
extern "C" |
4129 |
|
#endif |
4130 |
/* 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 |
4131 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
4132 |
char dnet_ntoa(); |
char XOpenDisplay (); |
4133 |
|
int |
4134 |
|
main () |
4135 |
|
{ |
4136 |
|
XOpenDisplay (); |
4137 |
|
; |
4138 |
|
return 0; |
4139 |
|
} |
4140 |
|
_ACEOF |
4141 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
4142 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
4143 |
|
(eval $ac_link) 2>&5 |
4144 |
|
ac_status=$? |
4145 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4146 |
|
(exit $ac_status); } && |
4147 |
|
{ ac_try='test -s conftest$ac_exeext' |
4148 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4149 |
|
(eval $ac_try) 2>&5 |
4150 |
|
ac_status=$? |
4151 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4152 |
|
(exit $ac_status); }; }; then |
4153 |
|
: |
4154 |
|
else |
4155 |
|
echo "$as_me: failed program was:" >&5 |
4156 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
4157 |
|
|
4158 |
int main() { |
echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5 |
4159 |
dnet_ntoa() |
echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6 |
4160 |
; return 0; } |
if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then |
4161 |
EOF |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4162 |
if { (eval echo configure:2138: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
else |
4163 |
rm -rf conftest* |
ac_check_lib_save_LIBS=$LIBS |
4164 |
eval "ac_cv_lib_$ac_lib_var=yes" |
LIBS="-ldnet $LIBS" |
4165 |
else |
cat >conftest.$ac_ext <<_ACEOF |
4166 |
echo "configure: failed program was:" >&5 |
#line $LINENO "configure" |
4167 |
cat conftest.$ac_ext >&5 |
/* confdefs.h. */ |
4168 |
rm -rf conftest* |
_ACEOF |
4169 |
eval "ac_cv_lib_$ac_lib_var=no" |
cat confdefs.h >>conftest.$ac_ext |
4170 |
fi |
cat >>conftest.$ac_ext <<_ACEOF |
4171 |
rm -f conftest* |
/* end confdefs.h. */ |
|
LIBS="$ac_save_LIBS" |
|
4172 |
|
|
4173 |
fi |
/* Override any gcc2 internal prototype to avoid an error. */ |
4174 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
#ifdef __cplusplus |
4175 |
echo "$ac_t""yes" 1>&6 |
extern "C" |
4176 |
|
#endif |
4177 |
|
/* We use char because int might match the return type of a gcc2 |
4178 |
|
builtin and then its argument prototype would still apply. */ |
4179 |
|
char dnet_ntoa (); |
4180 |
|
int |
4181 |
|
main () |
4182 |
|
{ |
4183 |
|
dnet_ntoa (); |
4184 |
|
; |
4185 |
|
return 0; |
4186 |
|
} |
4187 |
|
_ACEOF |
4188 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
4189 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
4190 |
|
(eval $ac_link) 2>&5 |
4191 |
|
ac_status=$? |
4192 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4193 |
|
(exit $ac_status); } && |
4194 |
|
{ ac_try='test -s conftest$ac_exeext' |
4195 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4196 |
|
(eval $ac_try) 2>&5 |
4197 |
|
ac_status=$? |
4198 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4199 |
|
(exit $ac_status); }; }; then |
4200 |
|
ac_cv_lib_dnet_dnet_ntoa=yes |
4201 |
|
else |
4202 |
|
echo "$as_me: failed program was:" >&5 |
4203 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
4204 |
|
|
4205 |
|
ac_cv_lib_dnet_dnet_ntoa=no |
4206 |
|
fi |
4207 |
|
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
4208 |
|
LIBS=$ac_check_lib_save_LIBS |
4209 |
|
fi |
4210 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5 |
4211 |
|
echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6 |
4212 |
|
if test $ac_cv_lib_dnet_dnet_ntoa = yes; then |
4213 |
X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet" |
X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet" |
|
else |
|
|
echo "$ac_t""no" 1>&6 |
|
4214 |
fi |
fi |
4215 |
|
|
4216 |
if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
4217 |
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 |
4218 |
echo "configure:2160: checking for dnet_ntoa in -ldnet_stub" >&5 |
echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6 |
4219 |
ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then |
4220 |
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 |
|
4221 |
else |
else |
4222 |
ac_save_LIBS="$LIBS" |
ac_check_lib_save_LIBS=$LIBS |
4223 |
LIBS="-ldnet_stub $LIBS" |
LIBS="-ldnet_stub $LIBS" |
4224 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
4225 |
#line 2168 "configure" |
#line $LINENO "configure" |
4226 |
#include "confdefs.h" |
/* confdefs.h. */ |
4227 |
|
_ACEOF |
4228 |
|
cat confdefs.h >>conftest.$ac_ext |
4229 |
|
cat >>conftest.$ac_ext <<_ACEOF |
4230 |
|
/* end confdefs.h. */ |
4231 |
|
|
4232 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
4233 |
|
#ifdef __cplusplus |
4234 |
|
extern "C" |
4235 |
|
#endif |
4236 |
/* 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 |
4237 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
4238 |
char dnet_ntoa(); |
char dnet_ntoa (); |
4239 |
|
int |
4240 |
int main() { |
main () |
4241 |
dnet_ntoa() |
{ |
4242 |
; return 0; } |
dnet_ntoa (); |
4243 |
EOF |
; |
4244 |
if { (eval echo configure:2179: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
return 0; |
4245 |
rm -rf conftest* |
} |
4246 |
eval "ac_cv_lib_$ac_lib_var=yes" |
_ACEOF |
4247 |
else |
rm -f conftest.$ac_objext conftest$ac_exeext |
4248 |
echo "configure: failed program was:" >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
4249 |
cat conftest.$ac_ext >&5 |
(eval $ac_link) 2>&5 |
4250 |
rm -rf conftest* |
ac_status=$? |
4251 |
eval "ac_cv_lib_$ac_lib_var=no" |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4252 |
fi |
(exit $ac_status); } && |
4253 |
rm -f conftest* |
{ ac_try='test -s conftest$ac_exeext' |
4254 |
LIBS="$ac_save_LIBS" |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4255 |
|
(eval $ac_try) 2>&5 |
4256 |
fi |
ac_status=$? |
4257 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4258 |
echo "$ac_t""yes" 1>&6 |
(exit $ac_status); }; }; then |
4259 |
|
ac_cv_lib_dnet_stub_dnet_ntoa=yes |
4260 |
|
else |
4261 |
|
echo "$as_me: failed program was:" >&5 |
4262 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
4263 |
|
|
4264 |
|
ac_cv_lib_dnet_stub_dnet_ntoa=no |
4265 |
|
fi |
4266 |
|
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
4267 |
|
LIBS=$ac_check_lib_save_LIBS |
4268 |
|
fi |
4269 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5 |
4270 |
|
echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6 |
4271 |
|
if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then |
4272 |
X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub" |
X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub" |
|
else |
|
|
echo "$ac_t""no" 1>&6 |
|
4273 |
fi |
fi |
4274 |
|
|
4275 |
fi |
fi |
4276 |
|
fi |
4277 |
|
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
4278 |
|
LIBS="$ac_xsave_LIBS" |
4279 |
|
|
4280 |
# 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, |
4281 |
# to get the SysV transport functions. |
# to get the SysV transport functions. |
4282 |
# chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) |
# Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4) |
4283 |
# needs -lnsl. |
# needs -lnsl. |
4284 |
# The nsl library prevents programs from opening the X display |
# The nsl library prevents programs from opening the X display |
4285 |
# on Irix 5.2, according to dickey@clark.net. |
# on Irix 5.2, according to T.E. Dickey. |
4286 |
echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
# The functions gethostbyname, getservbyname, and inet_addr are |
4287 |
echo "configure:2208: checking for gethostbyname" >&5 |
# in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking. |
4288 |
if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then |
echo "$as_me:$LINENO: checking for gethostbyname" >&5 |
4289 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6 |
4290 |
else |
if test "${ac_cv_func_gethostbyname+set}" = set; then |
4291 |
cat > conftest.$ac_ext <<EOF |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4292 |
#line 2213 "configure" |
else |
4293 |
#include "confdefs.h" |
cat >conftest.$ac_ext <<_ACEOF |
4294 |
|
#line $LINENO "configure" |
4295 |
|
/* confdefs.h. */ |
4296 |
|
_ACEOF |
4297 |
|
cat confdefs.h >>conftest.$ac_ext |
4298 |
|
cat >>conftest.$ac_ext <<_ACEOF |
4299 |
|
/* end confdefs.h. */ |
4300 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
4301 |
which can conflict with char gethostbyname(); below. */ |
which can conflict with char gethostbyname (); below. |
4302 |
#include <assert.h> |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
4303 |
|
<limits.h> exists even on freestanding compilers. */ |
4304 |
|
#ifdef __STDC__ |
4305 |
|
# include <limits.h> |
4306 |
|
#else |
4307 |
|
# include <assert.h> |
4308 |
|
#endif |
4309 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
4310 |
|
#ifdef __cplusplus |
4311 |
|
extern "C" |
4312 |
|
{ |
4313 |
|
#endif |
4314 |
/* 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 |
4315 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
4316 |
char gethostbyname(); |
char gethostbyname (); |
|
|
|
|
int main() { |
|
|
|
|
4317 |
/* The GNU C library defines this for functions which it implements |
/* The GNU C library defines this for functions which it implements |
4318 |
to always fail with ENOSYS. Some functions are actually named |
to always fail with ENOSYS. Some functions are actually named |
4319 |
something starting with __ and the normal name is an alias. */ |
something starting with __ and the normal name is an alias. */ |
4320 |
#if defined (__stub_gethostbyname) || defined (__stub___gethostbyname) |
#if defined (__stub_gethostbyname) || defined (__stub___gethostbyname) |
4321 |
choke me |
choke me |
4322 |
#else |
#else |
4323 |
gethostbyname(); |
char (*f) () = gethostbyname; |
4324 |
|
#endif |
4325 |
|
#ifdef __cplusplus |
4326 |
|
} |
4327 |
#endif |
#endif |
4328 |
|
|
4329 |
; return 0; } |
int |
4330 |
EOF |
main () |
4331 |
if { (eval echo configure:2236: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
{ |
4332 |
rm -rf conftest* |
return f != gethostbyname; |
4333 |
eval "ac_cv_func_gethostbyname=yes" |
; |
4334 |
else |
return 0; |
4335 |
echo "configure: failed program was:" >&5 |
} |
4336 |
cat conftest.$ac_ext >&5 |
_ACEOF |
4337 |
rm -rf conftest* |
rm -f conftest.$ac_objext conftest$ac_exeext |
4338 |
eval "ac_cv_func_gethostbyname=no" |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
4339 |
fi |
(eval $ac_link) 2>&5 |
4340 |
rm -f conftest* |
ac_status=$? |
4341 |
fi |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4342 |
|
(exit $ac_status); } && |
4343 |
|
{ ac_try='test -s conftest$ac_exeext' |
4344 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4345 |
|
(eval $ac_try) 2>&5 |
4346 |
|
ac_status=$? |
4347 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4348 |
|
(exit $ac_status); }; }; then |
4349 |
|
ac_cv_func_gethostbyname=yes |
4350 |
|
else |
4351 |
|
echo "$as_me: failed program was:" >&5 |
4352 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
4353 |
|
|
4354 |
if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then |
ac_cv_func_gethostbyname=no |
4355 |
echo "$ac_t""yes" 1>&6 |
fi |
4356 |
: |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
|
else |
|
|
echo "$ac_t""no" 1>&6 |
|
4357 |
fi |
fi |
4358 |
|
echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5 |
4359 |
|
echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6 |
4360 |
|
|
4361 |
if test $ac_cv_func_gethostbyname = no; then |
if test $ac_cv_func_gethostbyname = no; then |
4362 |
echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5 |
4363 |
echo "configure:2257: checking for gethostbyname in -lnsl" >&5 |
echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6 |
4364 |
ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then |
4365 |
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 |
|
4366 |
else |
else |
4367 |
ac_save_LIBS="$LIBS" |
ac_check_lib_save_LIBS=$LIBS |
4368 |
LIBS="-lnsl $LIBS" |
LIBS="-lnsl $LIBS" |
4369 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
4370 |
#line 2265 "configure" |
#line $LINENO "configure" |
4371 |
#include "confdefs.h" |
/* confdefs.h. */ |
4372 |
|
_ACEOF |
4373 |
|
cat confdefs.h >>conftest.$ac_ext |
4374 |
|
cat >>conftest.$ac_ext <<_ACEOF |
4375 |
|
/* end confdefs.h. */ |
4376 |
|
|
4377 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
4378 |
|
#ifdef __cplusplus |
4379 |
|
extern "C" |
4380 |
|
#endif |
4381 |
/* 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 |
4382 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
4383 |
char gethostbyname(); |
char gethostbyname (); |
4384 |
|
int |
4385 |
int main() { |
main () |
4386 |
gethostbyname() |
{ |
4387 |
; return 0; } |
gethostbyname (); |
4388 |
EOF |
; |
4389 |
if { (eval echo configure:2276: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
return 0; |
4390 |
rm -rf conftest* |
} |
4391 |
eval "ac_cv_lib_$ac_lib_var=yes" |
_ACEOF |
4392 |
else |
rm -f conftest.$ac_objext conftest$ac_exeext |
4393 |
echo "configure: failed program was:" >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
4394 |
cat conftest.$ac_ext >&5 |
(eval $ac_link) 2>&5 |
4395 |
rm -rf conftest* |
ac_status=$? |
4396 |
eval "ac_cv_lib_$ac_lib_var=no" |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4397 |
|
(exit $ac_status); } && |
4398 |
|
{ ac_try='test -s conftest$ac_exeext' |
4399 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4400 |
|
(eval $ac_try) 2>&5 |
4401 |
|
ac_status=$? |
4402 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4403 |
|
(exit $ac_status); }; }; then |
4404 |
|
ac_cv_lib_nsl_gethostbyname=yes |
4405 |
|
else |
4406 |
|
echo "$as_me: failed program was:" >&5 |
4407 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
4408 |
|
|
4409 |
|
ac_cv_lib_nsl_gethostbyname=no |
4410 |
|
fi |
4411 |
|
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
4412 |
|
LIBS=$ac_check_lib_save_LIBS |
4413 |
|
fi |
4414 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5 |
4415 |
|
echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6 |
4416 |
|
if test $ac_cv_lib_nsl_gethostbyname = yes; then |
4417 |
|
X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl" |
4418 |
fi |
fi |
|
rm -f conftest* |
|
|
LIBS="$ac_save_LIBS" |
|
4419 |
|
|
4420 |
fi |
if test $ac_cv_lib_nsl_gethostbyname = no; then |
4421 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5 |
4422 |
echo "$ac_t""yes" 1>&6 |
echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6 |
4423 |
X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl" |
if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then |
4424 |
else |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4425 |
echo "$ac_t""no" 1>&6 |
else |
4426 |
|
ac_check_lib_save_LIBS=$LIBS |
4427 |
|
LIBS="-lbsd $LIBS" |
4428 |
|
cat >conftest.$ac_ext <<_ACEOF |
4429 |
|
#line $LINENO "configure" |
4430 |
|
/* confdefs.h. */ |
4431 |
|
_ACEOF |
4432 |
|
cat confdefs.h >>conftest.$ac_ext |
4433 |
|
cat >>conftest.$ac_ext <<_ACEOF |
4434 |
|
/* end confdefs.h. */ |
4435 |
|
|
4436 |
|
/* Override any gcc2 internal prototype to avoid an error. */ |
4437 |
|
#ifdef __cplusplus |
4438 |
|
extern "C" |
4439 |
|
#endif |
4440 |
|
/* We use char because int might match the return type of a gcc2 |
4441 |
|
builtin and then its argument prototype would still apply. */ |
4442 |
|
char gethostbyname (); |
4443 |
|
int |
4444 |
|
main () |
4445 |
|
{ |
4446 |
|
gethostbyname (); |
4447 |
|
; |
4448 |
|
return 0; |
4449 |
|
} |
4450 |
|
_ACEOF |
4451 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
4452 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
4453 |
|
(eval $ac_link) 2>&5 |
4454 |
|
ac_status=$? |
4455 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4456 |
|
(exit $ac_status); } && |
4457 |
|
{ ac_try='test -s conftest$ac_exeext' |
4458 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4459 |
|
(eval $ac_try) 2>&5 |
4460 |
|
ac_status=$? |
4461 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4462 |
|
(exit $ac_status); }; }; then |
4463 |
|
ac_cv_lib_bsd_gethostbyname=yes |
4464 |
|
else |
4465 |
|
echo "$as_me: failed program was:" >&5 |
4466 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
4467 |
|
|
4468 |
|
ac_cv_lib_bsd_gethostbyname=no |
4469 |
|
fi |
4470 |
|
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
4471 |
|
LIBS=$ac_check_lib_save_LIBS |
4472 |
|
fi |
4473 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5 |
4474 |
|
echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6 |
4475 |
|
if test $ac_cv_lib_bsd_gethostbyname = yes; then |
4476 |
|
X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd" |
4477 |
fi |
fi |
4478 |
|
|
4479 |
|
fi |
4480 |
fi |
fi |
4481 |
|
|
4482 |
# lieder@skyler.mavd.honeywell.com says without -lsocket, |
# lieder@skyler.mavd.honeywell.com says without -lsocket, |
4483 |
# socket/setsockopt and other routines are undefined under SCO ODT |
# socket/setsockopt and other routines are undefined under SCO ODT |
4484 |
# 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 |
4485 |
# on later versions), says simon@lia.di.epfl.ch: it contains |
# on later versions), says Simon Leinen: it contains gethostby* |
4486 |
# gethostby* variants that don't use the nameserver (or something). |
# variants that don't use the name server (or something). -lsocket |
4487 |
# -lsocket must be given before -lnsl if both are needed. |
# must be given before -lnsl if both are needed. We assume that |
4488 |
# We assume that if connect needs -lnsl, so does gethostbyname. |
# if connect needs -lnsl, so does gethostbyname. |
4489 |
echo $ac_n "checking for connect""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for connect" >&5 |
4490 |
echo "configure:2306: checking for connect" >&5 |
echo $ECHO_N "checking for connect... $ECHO_C" >&6 |
4491 |
if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then |
if test "${ac_cv_func_connect+set}" = set; then |
4492 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4493 |
else |
else |
4494 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
4495 |
#line 2311 "configure" |
#line $LINENO "configure" |
4496 |
#include "confdefs.h" |
/* confdefs.h. */ |
4497 |
|
_ACEOF |
4498 |
|
cat confdefs.h >>conftest.$ac_ext |
4499 |
|
cat >>conftest.$ac_ext <<_ACEOF |
4500 |
|
/* end confdefs.h. */ |
4501 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
4502 |
which can conflict with char connect(); below. */ |
which can conflict with char connect (); below. |
4503 |
#include <assert.h> |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
4504 |
|
<limits.h> exists even on freestanding compilers. */ |
4505 |
|
#ifdef __STDC__ |
4506 |
|
# include <limits.h> |
4507 |
|
#else |
4508 |
|
# include <assert.h> |
4509 |
|
#endif |
4510 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
4511 |
|
#ifdef __cplusplus |
4512 |
|
extern "C" |
4513 |
|
{ |
4514 |
|
#endif |
4515 |
/* 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 |
4516 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
4517 |
char connect(); |
char connect (); |
|
|
|
|
int main() { |
|
|
|
|
4518 |
/* The GNU C library defines this for functions which it implements |
/* The GNU C library defines this for functions which it implements |
4519 |
to always fail with ENOSYS. Some functions are actually named |
to always fail with ENOSYS. Some functions are actually named |
4520 |
something starting with __ and the normal name is an alias. */ |
something starting with __ and the normal name is an alias. */ |
4521 |
#if defined (__stub_connect) || defined (__stub___connect) |
#if defined (__stub_connect) || defined (__stub___connect) |
4522 |
choke me |
choke me |
4523 |
#else |
#else |
4524 |
connect(); |
char (*f) () = connect; |
4525 |
|
#endif |
4526 |
|
#ifdef __cplusplus |
4527 |
|
} |
4528 |
#endif |
#endif |
4529 |
|
|
4530 |
; return 0; } |
int |
4531 |
EOF |
main () |
4532 |
if { (eval echo configure:2334: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
{ |
4533 |
rm -rf conftest* |
return f != connect; |
4534 |
eval "ac_cv_func_connect=yes" |
; |
4535 |
else |
return 0; |
4536 |
echo "configure: failed program was:" >&5 |
} |
4537 |
cat conftest.$ac_ext >&5 |
_ACEOF |
4538 |
rm -rf conftest* |
rm -f conftest.$ac_objext conftest$ac_exeext |
4539 |
eval "ac_cv_func_connect=no" |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
4540 |
fi |
(eval $ac_link) 2>&5 |
4541 |
rm -f conftest* |
ac_status=$? |
4542 |
fi |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4543 |
|
(exit $ac_status); } && |
4544 |
|
{ ac_try='test -s conftest$ac_exeext' |
4545 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4546 |
|
(eval $ac_try) 2>&5 |
4547 |
|
ac_status=$? |
4548 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4549 |
|
(exit $ac_status); }; }; then |
4550 |
|
ac_cv_func_connect=yes |
4551 |
|
else |
4552 |
|
echo "$as_me: failed program was:" >&5 |
4553 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
4554 |
|
|
4555 |
if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then |
ac_cv_func_connect=no |
|
echo "$ac_t""yes" 1>&6 |
|
|
: |
|
|
else |
|
|
echo "$ac_t""no" 1>&6 |
|
4556 |
fi |
fi |
4557 |
|
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
4558 |
|
fi |
4559 |
|
echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5 |
4560 |
|
echo "${ECHO_T}$ac_cv_func_connect" >&6 |
4561 |
|
|
4562 |
if test $ac_cv_func_connect = no; then |
if test $ac_cv_func_connect = no; then |
4563 |
echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for connect in -lsocket" >&5 |
4564 |
echo "configure:2355: checking for connect in -lsocket" >&5 |
echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6 |
4565 |
ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` |
if test "${ac_cv_lib_socket_connect+set}" = set; then |
4566 |
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 |
|
4567 |
else |
else |
4568 |
ac_save_LIBS="$LIBS" |
ac_check_lib_save_LIBS=$LIBS |
4569 |
LIBS="-lsocket $X_EXTRA_LIBS $LIBS" |
LIBS="-lsocket $X_EXTRA_LIBS $LIBS" |
4570 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
4571 |
#line 2363 "configure" |
#line $LINENO "configure" |
4572 |
#include "confdefs.h" |
/* confdefs.h. */ |
4573 |
|
_ACEOF |
4574 |
|
cat confdefs.h >>conftest.$ac_ext |
4575 |
|
cat >>conftest.$ac_ext <<_ACEOF |
4576 |
|
/* end confdefs.h. */ |
4577 |
|
|
4578 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
4579 |
|
#ifdef __cplusplus |
4580 |
|
extern "C" |
4581 |
|
#endif |
4582 |
/* 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 |
4583 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
4584 |
char connect(); |
char connect (); |
4585 |
|
int |
4586 |
int main() { |
main () |
4587 |
connect() |
{ |
4588 |
; return 0; } |
connect (); |
4589 |
EOF |
; |
4590 |
if { (eval echo configure:2374: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
return 0; |
4591 |
rm -rf conftest* |
} |
4592 |
eval "ac_cv_lib_$ac_lib_var=yes" |
_ACEOF |
4593 |
else |
rm -f conftest.$ac_objext conftest$ac_exeext |
4594 |
echo "configure: failed program was:" >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
4595 |
cat conftest.$ac_ext >&5 |
(eval $ac_link) 2>&5 |
4596 |
rm -rf conftest* |
ac_status=$? |
4597 |
eval "ac_cv_lib_$ac_lib_var=no" |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4598 |
fi |
(exit $ac_status); } && |
4599 |
rm -f conftest* |
{ ac_try='test -s conftest$ac_exeext' |
4600 |
LIBS="$ac_save_LIBS" |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4601 |
|
(eval $ac_try) 2>&5 |
4602 |
fi |
ac_status=$? |
4603 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4604 |
echo "$ac_t""yes" 1>&6 |
(exit $ac_status); }; }; then |
4605 |
|
ac_cv_lib_socket_connect=yes |
4606 |
|
else |
4607 |
|
echo "$as_me: failed program was:" >&5 |
4608 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
4609 |
|
|
4610 |
|
ac_cv_lib_socket_connect=no |
4611 |
|
fi |
4612 |
|
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
4613 |
|
LIBS=$ac_check_lib_save_LIBS |
4614 |
|
fi |
4615 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5 |
4616 |
|
echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6 |
4617 |
|
if test $ac_cv_lib_socket_connect = yes; then |
4618 |
X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS" |
X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS" |
|
else |
|
|
echo "$ac_t""no" 1>&6 |
|
4619 |
fi |
fi |
4620 |
|
|
4621 |
fi |
fi |
4622 |
|
|
4623 |
# gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. |
# Guillermo Gomez says -lposix is necessary on A/UX. |
4624 |
echo $ac_n "checking for remove""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for remove" >&5 |
4625 |
echo "configure:2398: checking for remove" >&5 |
echo $ECHO_N "checking for remove... $ECHO_C" >&6 |
4626 |
if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then |
if test "${ac_cv_func_remove+set}" = set; then |
4627 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4628 |
else |
else |
4629 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
4630 |
#line 2403 "configure" |
#line $LINENO "configure" |
4631 |
#include "confdefs.h" |
/* confdefs.h. */ |
4632 |
|
_ACEOF |
4633 |
|
cat confdefs.h >>conftest.$ac_ext |
4634 |
|
cat >>conftest.$ac_ext <<_ACEOF |
4635 |
|
/* end confdefs.h. */ |
4636 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
4637 |
which can conflict with char remove(); below. */ |
which can conflict with char remove (); below. |
4638 |
#include <assert.h> |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
4639 |
|
<limits.h> exists even on freestanding compilers. */ |
4640 |
|
#ifdef __STDC__ |
4641 |
|
# include <limits.h> |
4642 |
|
#else |
4643 |
|
# include <assert.h> |
4644 |
|
#endif |
4645 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
4646 |
|
#ifdef __cplusplus |
4647 |
|
extern "C" |
4648 |
|
{ |
4649 |
|
#endif |
4650 |
/* 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 |
4651 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
4652 |
char remove(); |
char remove (); |
|
|
|
|
int main() { |
|
|
|
|
4653 |
/* The GNU C library defines this for functions which it implements |
/* The GNU C library defines this for functions which it implements |
4654 |
to always fail with ENOSYS. Some functions are actually named |
to always fail with ENOSYS. Some functions are actually named |
4655 |
something starting with __ and the normal name is an alias. */ |
something starting with __ and the normal name is an alias. */ |
4656 |
#if defined (__stub_remove) || defined (__stub___remove) |
#if defined (__stub_remove) || defined (__stub___remove) |
4657 |
choke me |
choke me |
4658 |
#else |
#else |
4659 |
remove(); |
char (*f) () = remove; |
4660 |
|
#endif |
4661 |
|
#ifdef __cplusplus |
4662 |
|
} |
4663 |
#endif |
#endif |
4664 |
|
|
4665 |
; return 0; } |
int |
4666 |
EOF |
main () |
4667 |
if { (eval echo configure:2426: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
{ |
4668 |
rm -rf conftest* |
return f != remove; |
4669 |
eval "ac_cv_func_remove=yes" |
; |
4670 |
else |
return 0; |
4671 |
echo "configure: failed program was:" >&5 |
} |
4672 |
cat conftest.$ac_ext >&5 |
_ACEOF |
4673 |
rm -rf conftest* |
rm -f conftest.$ac_objext conftest$ac_exeext |
4674 |
eval "ac_cv_func_remove=no" |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
4675 |
fi |
(eval $ac_link) 2>&5 |
4676 |
rm -f conftest* |
ac_status=$? |
4677 |
fi |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4678 |
|
(exit $ac_status); } && |
4679 |
|
{ ac_try='test -s conftest$ac_exeext' |
4680 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4681 |
|
(eval $ac_try) 2>&5 |
4682 |
|
ac_status=$? |
4683 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4684 |
|
(exit $ac_status); }; }; then |
4685 |
|
ac_cv_func_remove=yes |
4686 |
|
else |
4687 |
|
echo "$as_me: failed program was:" >&5 |
4688 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
4689 |
|
|
4690 |
if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then |
ac_cv_func_remove=no |
4691 |
echo "$ac_t""yes" 1>&6 |
fi |
4692 |
: |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
|
else |
|
|
echo "$ac_t""no" 1>&6 |
|
4693 |
fi |
fi |
4694 |
|
echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5 |
4695 |
|
echo "${ECHO_T}$ac_cv_func_remove" >&6 |
4696 |
|
|
4697 |
if test $ac_cv_func_remove = no; then |
if test $ac_cv_func_remove = no; then |
4698 |
echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for remove in -lposix" >&5 |
4699 |
echo "configure:2447: checking for remove in -lposix" >&5 |
echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6 |
4700 |
ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` |
if test "${ac_cv_lib_posix_remove+set}" = set; then |
4701 |
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 |
|
4702 |
else |
else |
4703 |
ac_save_LIBS="$LIBS" |
ac_check_lib_save_LIBS=$LIBS |
4704 |
LIBS="-lposix $LIBS" |
LIBS="-lposix $LIBS" |
4705 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
4706 |
#line 2455 "configure" |
#line $LINENO "configure" |
4707 |
#include "confdefs.h" |
/* confdefs.h. */ |
4708 |
|
_ACEOF |
4709 |
|
cat confdefs.h >>conftest.$ac_ext |
4710 |
|
cat >>conftest.$ac_ext <<_ACEOF |
4711 |
|
/* end confdefs.h. */ |
4712 |
|
|
4713 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
4714 |
|
#ifdef __cplusplus |
4715 |
|
extern "C" |
4716 |
|
#endif |
4717 |
/* 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 |
4718 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
4719 |
char remove(); |
char remove (); |
4720 |
|
int |
4721 |
int main() { |
main () |
4722 |
remove() |
{ |
4723 |
; return 0; } |
remove (); |
4724 |
EOF |
; |
4725 |
if { (eval echo configure:2466: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
return 0; |
4726 |
rm -rf conftest* |
} |
4727 |
eval "ac_cv_lib_$ac_lib_var=yes" |
_ACEOF |
4728 |
else |
rm -f conftest.$ac_objext conftest$ac_exeext |
4729 |
echo "configure: failed program was:" >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
4730 |
cat conftest.$ac_ext >&5 |
(eval $ac_link) 2>&5 |
4731 |
rm -rf conftest* |
ac_status=$? |
4732 |
eval "ac_cv_lib_$ac_lib_var=no" |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4733 |
fi |
(exit $ac_status); } && |
4734 |
rm -f conftest* |
{ ac_try='test -s conftest$ac_exeext' |
4735 |
LIBS="$ac_save_LIBS" |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4736 |
|
(eval $ac_try) 2>&5 |
4737 |
fi |
ac_status=$? |
4738 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4739 |
echo "$ac_t""yes" 1>&6 |
(exit $ac_status); }; }; then |
4740 |
|
ac_cv_lib_posix_remove=yes |
4741 |
|
else |
4742 |
|
echo "$as_me: failed program was:" >&5 |
4743 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
4744 |
|
|
4745 |
|
ac_cv_lib_posix_remove=no |
4746 |
|
fi |
4747 |
|
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
4748 |
|
LIBS=$ac_check_lib_save_LIBS |
4749 |
|
fi |
4750 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5 |
4751 |
|
echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6 |
4752 |
|
if test $ac_cv_lib_posix_remove = yes; then |
4753 |
X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix" |
X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix" |
|
else |
|
|
echo "$ac_t""no" 1>&6 |
|
4754 |
fi |
fi |
4755 |
|
|
4756 |
fi |
fi |
4757 |
|
|
4758 |
# BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
# BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
4759 |
echo $ac_n "checking for shmat""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for shmat" >&5 |
4760 |
echo "configure:2490: checking for shmat" >&5 |
echo $ECHO_N "checking for shmat... $ECHO_C" >&6 |
4761 |
if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then |
if test "${ac_cv_func_shmat+set}" = set; then |
4762 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4763 |
else |
else |
4764 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
4765 |
#line 2495 "configure" |
#line $LINENO "configure" |
4766 |
#include "confdefs.h" |
/* confdefs.h. */ |
4767 |
|
_ACEOF |
4768 |
|
cat confdefs.h >>conftest.$ac_ext |
4769 |
|
cat >>conftest.$ac_ext <<_ACEOF |
4770 |
|
/* end confdefs.h. */ |
4771 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
4772 |
which can conflict with char shmat(); below. */ |
which can conflict with char shmat (); below. |
4773 |
#include <assert.h> |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
4774 |
|
<limits.h> exists even on freestanding compilers. */ |
4775 |
|
#ifdef __STDC__ |
4776 |
|
# include <limits.h> |
4777 |
|
#else |
4778 |
|
# include <assert.h> |
4779 |
|
#endif |
4780 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
4781 |
|
#ifdef __cplusplus |
4782 |
|
extern "C" |
4783 |
|
{ |
4784 |
|
#endif |
4785 |
/* 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 |
4786 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
4787 |
char shmat(); |
char shmat (); |
|
|
|
|
int main() { |
|
|
|
|
4788 |
/* The GNU C library defines this for functions which it implements |
/* The GNU C library defines this for functions which it implements |
4789 |
to always fail with ENOSYS. Some functions are actually named |
to always fail with ENOSYS. Some functions are actually named |
4790 |
something starting with __ and the normal name is an alias. */ |
something starting with __ and the normal name is an alias. */ |
4791 |
#if defined (__stub_shmat) || defined (__stub___shmat) |
#if defined (__stub_shmat) || defined (__stub___shmat) |
4792 |
choke me |
choke me |
4793 |
#else |
#else |
4794 |
shmat(); |
char (*f) () = shmat; |
4795 |
|
#endif |
4796 |
|
#ifdef __cplusplus |
4797 |
|
} |
4798 |
#endif |
#endif |
4799 |
|
|
4800 |
; return 0; } |
int |
4801 |
EOF |
main () |
4802 |
if { (eval echo configure:2518: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
{ |
4803 |
rm -rf conftest* |
return f != shmat; |
4804 |
eval "ac_cv_func_shmat=yes" |
; |
4805 |
else |
return 0; |
4806 |
echo "configure: failed program was:" >&5 |
} |
4807 |
cat conftest.$ac_ext >&5 |
_ACEOF |
4808 |
rm -rf conftest* |
rm -f conftest.$ac_objext conftest$ac_exeext |
4809 |
eval "ac_cv_func_shmat=no" |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
4810 |
fi |
(eval $ac_link) 2>&5 |
4811 |
rm -f conftest* |
ac_status=$? |
4812 |
fi |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4813 |
|
(exit $ac_status); } && |
4814 |
|
{ ac_try='test -s conftest$ac_exeext' |
4815 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4816 |
|
(eval $ac_try) 2>&5 |
4817 |
|
ac_status=$? |
4818 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4819 |
|
(exit $ac_status); }; }; then |
4820 |
|
ac_cv_func_shmat=yes |
4821 |
|
else |
4822 |
|
echo "$as_me: failed program was:" >&5 |
4823 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
4824 |
|
|
4825 |
if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then |
ac_cv_func_shmat=no |
|
echo "$ac_t""yes" 1>&6 |
|
|
: |
|
|
else |
|
|
echo "$ac_t""no" 1>&6 |
|
4826 |
fi |
fi |
4827 |
|
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
4828 |
|
fi |
4829 |
|
echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5 |
4830 |
|
echo "${ECHO_T}$ac_cv_func_shmat" >&6 |
4831 |
|
|
4832 |
if test $ac_cv_func_shmat = no; then |
if test $ac_cv_func_shmat = no; then |
4833 |
echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for shmat in -lipc" >&5 |
4834 |
echo "configure:2539: checking for shmat in -lipc" >&5 |
echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6 |
4835 |
ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` |
if test "${ac_cv_lib_ipc_shmat+set}" = set; then |
4836 |
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 |
|
4837 |
else |
else |
4838 |
ac_save_LIBS="$LIBS" |
ac_check_lib_save_LIBS=$LIBS |
4839 |
LIBS="-lipc $LIBS" |
LIBS="-lipc $LIBS" |
4840 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
4841 |
#line 2547 "configure" |
#line $LINENO "configure" |
4842 |
#include "confdefs.h" |
/* confdefs.h. */ |
4843 |
|
_ACEOF |
4844 |
|
cat confdefs.h >>conftest.$ac_ext |
4845 |
|
cat >>conftest.$ac_ext <<_ACEOF |
4846 |
|
/* end confdefs.h. */ |
4847 |
|
|
4848 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
4849 |
|
#ifdef __cplusplus |
4850 |
|
extern "C" |
4851 |
|
#endif |
4852 |
/* 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 |
4853 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
4854 |
char shmat(); |
char shmat (); |
4855 |
|
int |
4856 |
int main() { |
main () |
4857 |
shmat() |
{ |
4858 |
; return 0; } |
shmat (); |
4859 |
EOF |
; |
4860 |
if { (eval echo configure:2558: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
return 0; |
4861 |
rm -rf conftest* |
} |
4862 |
eval "ac_cv_lib_$ac_lib_var=yes" |
_ACEOF |
4863 |
else |
rm -f conftest.$ac_objext conftest$ac_exeext |
4864 |
echo "configure: failed program was:" >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
4865 |
cat conftest.$ac_ext >&5 |
(eval $ac_link) 2>&5 |
4866 |
rm -rf conftest* |
ac_status=$? |
4867 |
eval "ac_cv_lib_$ac_lib_var=no" |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4868 |
fi |
(exit $ac_status); } && |
4869 |
rm -f conftest* |
{ ac_try='test -s conftest$ac_exeext' |
4870 |
LIBS="$ac_save_LIBS" |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4871 |
|
(eval $ac_try) 2>&5 |
4872 |
fi |
ac_status=$? |
4873 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4874 |
echo "$ac_t""yes" 1>&6 |
(exit $ac_status); }; }; then |
4875 |
|
ac_cv_lib_ipc_shmat=yes |
4876 |
|
else |
4877 |
|
echo "$as_me: failed program was:" >&5 |
4878 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
4879 |
|
|
4880 |
|
ac_cv_lib_ipc_shmat=no |
4881 |
|
fi |
4882 |
|
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
4883 |
|
LIBS=$ac_check_lib_save_LIBS |
4884 |
|
fi |
4885 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5 |
4886 |
|
echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6 |
4887 |
|
if test $ac_cv_lib_ipc_shmat = yes; then |
4888 |
X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc" |
X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc" |
|
else |
|
|
echo "$ac_t""no" 1>&6 |
|
4889 |
fi |
fi |
4890 |
|
|
4891 |
fi |
fi |
4892 |
fi |
fi |
4893 |
|
|
4894 |
# Check for libraries that X11R6 Xt/Xaw programs need. |
# Check for libraries that X11R6 Xt/Xaw programs need. |
4895 |
ac_save_LDFLAGS="$LDFLAGS" |
ac_save_LDFLAGS=$LDFLAGS |
4896 |
test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries" |
test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries" |
4897 |
# 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 |
4898 |
# 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 |
4899 |
# 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. |
4900 |
# These have to be linked with before -lX11, unlike the other |
# These have to be linked with before -lX11, unlike the other |
4901 |
# libraries we check for below, so use a different variable. |
# libraries we check for below, so use a different variable. |
4902 |
# --interran@uluru.Stanford.EDU, kb@cs.umb.edu. |
# John Interrante, Karl Berry |
4903 |
echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5 |
4904 |
echo "configure:2591: checking for IceConnectionNumber in -lICE" >&5 |
echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6 |
4905 |
ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` |
if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then |
4906 |
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 |
|
4907 |
else |
else |
4908 |
ac_save_LIBS="$LIBS" |
ac_check_lib_save_LIBS=$LIBS |
4909 |
LIBS="-lICE $X_EXTRA_LIBS $LIBS" |
LIBS="-lICE $X_EXTRA_LIBS $LIBS" |
4910 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
4911 |
#line 2599 "configure" |
#line $LINENO "configure" |
4912 |
#include "confdefs.h" |
/* confdefs.h. */ |
4913 |
|
_ACEOF |
4914 |
|
cat confdefs.h >>conftest.$ac_ext |
4915 |
|
cat >>conftest.$ac_ext <<_ACEOF |
4916 |
|
/* end confdefs.h. */ |
4917 |
|
|
4918 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
4919 |
|
#ifdef __cplusplus |
4920 |
|
extern "C" |
4921 |
|
#endif |
4922 |
/* 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 |
4923 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
4924 |
char IceConnectionNumber(); |
char IceConnectionNumber (); |
4925 |
|
int |
4926 |
int main() { |
main () |
4927 |
IceConnectionNumber() |
{ |
4928 |
; return 0; } |
IceConnectionNumber (); |
4929 |
EOF |
; |
4930 |
if { (eval echo configure:2610: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
return 0; |
4931 |
rm -rf conftest* |
} |
4932 |
eval "ac_cv_lib_$ac_lib_var=yes" |
_ACEOF |
4933 |
else |
rm -f conftest.$ac_objext conftest$ac_exeext |
4934 |
echo "configure: failed program was:" >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
4935 |
cat conftest.$ac_ext >&5 |
(eval $ac_link) 2>&5 |
4936 |
rm -rf conftest* |
ac_status=$? |
4937 |
eval "ac_cv_lib_$ac_lib_var=no" |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4938 |
fi |
(exit $ac_status); } && |
4939 |
rm -f conftest* |
{ ac_try='test -s conftest$ac_exeext' |
4940 |
LIBS="$ac_save_LIBS" |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4941 |
|
(eval $ac_try) 2>&5 |
4942 |
fi |
ac_status=$? |
4943 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4944 |
echo "$ac_t""yes" 1>&6 |
(exit $ac_status); }; }; then |
4945 |
|
ac_cv_lib_ICE_IceConnectionNumber=yes |
4946 |
|
else |
4947 |
|
echo "$as_me: failed program was:" >&5 |
4948 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
4949 |
|
|
4950 |
|
ac_cv_lib_ICE_IceConnectionNumber=no |
4951 |
|
fi |
4952 |
|
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
4953 |
|
LIBS=$ac_check_lib_save_LIBS |
4954 |
|
fi |
4955 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5 |
4956 |
|
echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6 |
4957 |
|
if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then |
4958 |
X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE" |
X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE" |
|
else |
|
|
echo "$ac_t""no" 1>&6 |
|
4959 |
fi |
fi |
4960 |
|
|
4961 |
LDFLAGS="$ac_save_LDFLAGS" |
LDFLAGS=$ac_save_LDFLAGS |
4962 |
|
|
4963 |
fi |
fi |
4964 |
|
|
4968 |
echo $X_PRE_LIBS |
echo $X_PRE_LIBS |
4969 |
|
|
4970 |
miss=0 |
miss=0 |
4971 |
echo $ac_n "checking for main in -lXmu""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for main in -lXmu" >&5 |
4972 |
echo "configure:2641: checking for main in -lXmu" >&5 |
echo $ECHO_N "checking for main in -lXmu... $ECHO_C" >&6 |
4973 |
ac_lib_var=`echo Xmu'_'main | sed 'y%./+-%__p_%'` |
if test "${ac_cv_lib_Xmu_main+set}" = set; then |
4974 |
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 |
|
4975 |
else |
else |
4976 |
ac_save_LIBS="$LIBS" |
ac_check_lib_save_LIBS=$LIBS |
4977 |
LIBS="-lXmu $X_LIBS $LIBS" |
LIBS="-lXmu $X_LIBS $LIBS" |
4978 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
4979 |
#line 2649 "configure" |
#line $LINENO "configure" |
4980 |
#include "confdefs.h" |
/* confdefs.h. */ |
4981 |
|
_ACEOF |
4982 |
|
cat confdefs.h >>conftest.$ac_ext |
4983 |
|
cat >>conftest.$ac_ext <<_ACEOF |
4984 |
|
/* end confdefs.h. */ |
4985 |
|
|
|
int main() { |
|
|
main() |
|
|
; return 0; } |
|
|
EOF |
|
|
if { (eval echo configure:2656: \"$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" |
|
4986 |
|
|
4987 |
fi |
int |
4988 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
main () |
4989 |
echo "$ac_t""yes" 1>&6 |
{ |
4990 |
|
main (); |
4991 |
|
; |
4992 |
|
return 0; |
4993 |
|
} |
4994 |
|
_ACEOF |
4995 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
4996 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
4997 |
|
(eval $ac_link) 2>&5 |
4998 |
|
ac_status=$? |
4999 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5000 |
|
(exit $ac_status); } && |
5001 |
|
{ ac_try='test -s conftest$ac_exeext' |
5002 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5003 |
|
(eval $ac_try) 2>&5 |
5004 |
|
ac_status=$? |
5005 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5006 |
|
(exit $ac_status); }; }; then |
5007 |
|
ac_cv_lib_Xmu_main=yes |
5008 |
|
else |
5009 |
|
echo "$as_me: failed program was:" >&5 |
5010 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
5011 |
|
|
5012 |
|
ac_cv_lib_Xmu_main=no |
5013 |
|
fi |
5014 |
|
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
5015 |
|
LIBS=$ac_check_lib_save_LIBS |
5016 |
|
fi |
5017 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_Xmu_main" >&5 |
5018 |
|
echo "${ECHO_T}$ac_cv_lib_Xmu_main" >&6 |
5019 |
|
if test $ac_cv_lib_Xmu_main = yes; then |
5020 |
X_LIBS="$X_LIBS -lXmu" |
X_LIBS="$X_LIBS -lXmu" |
5021 |
else |
else |
5022 |
echo "$ac_t""no" 1>&6 |
miss=1 |
|
miss=1 |
|
5023 |
fi |
fi |
5024 |
|
|
5025 |
echo $ac_n "checking for main in -lXt""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for main in -lXt" >&5 |
5026 |
echo "configure:2678: checking for main in -lXt" >&5 |
echo $ECHO_N "checking for main in -lXt... $ECHO_C" >&6 |
5027 |
ac_lib_var=`echo Xt'_'main | sed 'y%./+-%__p_%'` |
if test "${ac_cv_lib_Xt_main+set}" = set; then |
5028 |
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 |
|
5029 |
else |
else |
5030 |
ac_save_LIBS="$LIBS" |
ac_check_lib_save_LIBS=$LIBS |
5031 |
LIBS="-lXt $X_LIBS $LIBS" |
LIBS="-lXt $X_LIBS $LIBS" |
5032 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
5033 |
#line 2686 "configure" |
#line $LINENO "configure" |
5034 |
#include "confdefs.h" |
/* confdefs.h. */ |
5035 |
|
_ACEOF |
5036 |
|
cat confdefs.h >>conftest.$ac_ext |
5037 |
|
cat >>conftest.$ac_ext <<_ACEOF |
5038 |
|
/* end confdefs.h. */ |
5039 |
|
|
|
int main() { |
|
|
main() |
|
|
; return 0; } |
|
|
EOF |
|
|
if { (eval echo configure:2693: \"$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" |
|
5040 |
|
|
5041 |
fi |
int |
5042 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
main () |
5043 |
echo "$ac_t""yes" 1>&6 |
{ |
5044 |
|
main (); |
5045 |
|
; |
5046 |
|
return 0; |
5047 |
|
} |
5048 |
|
_ACEOF |
5049 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
5050 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
5051 |
|
(eval $ac_link) 2>&5 |
5052 |
|
ac_status=$? |
5053 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5054 |
|
(exit $ac_status); } && |
5055 |
|
{ ac_try='test -s conftest$ac_exeext' |
5056 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5057 |
|
(eval $ac_try) 2>&5 |
5058 |
|
ac_status=$? |
5059 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5060 |
|
(exit $ac_status); }; }; then |
5061 |
|
ac_cv_lib_Xt_main=yes |
5062 |
|
else |
5063 |
|
echo "$as_me: failed program was:" >&5 |
5064 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
5065 |
|
|
5066 |
|
ac_cv_lib_Xt_main=no |
5067 |
|
fi |
5068 |
|
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
5069 |
|
LIBS=$ac_check_lib_save_LIBS |
5070 |
|
fi |
5071 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_Xt_main" >&5 |
5072 |
|
echo "${ECHO_T}$ac_cv_lib_Xt_main" >&6 |
5073 |
|
if test $ac_cv_lib_Xt_main = yes; then |
5074 |
X_LIBS="$X_LIBS -lXt" |
X_LIBS="$X_LIBS -lXt" |
5075 |
else |
else |
5076 |
echo "$ac_t""no" 1>&6 |
miss=1 |
|
miss=1 |
|
5077 |
fi |
fi |
5078 |
|
|
5079 |
echo $ac_n "checking for main in -lXext""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for main in -lXext" >&5 |
5080 |
echo "configure:2715: checking for main in -lXext" >&5 |
echo $ECHO_N "checking for main in -lXext... $ECHO_C" >&6 |
5081 |
ac_lib_var=`echo Xext'_'main | sed 'y%./+-%__p_%'` |
if test "${ac_cv_lib_Xext_main+set}" = set; then |
5082 |
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 |
|
5083 |
else |
else |
5084 |
ac_save_LIBS="$LIBS" |
ac_check_lib_save_LIBS=$LIBS |
5085 |
LIBS="-lXext $X_LIBS $LIBS" |
LIBS="-lXext $X_LIBS $LIBS" |
5086 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
5087 |
#line 2723 "configure" |
#line $LINENO "configure" |
5088 |
#include "confdefs.h" |
/* confdefs.h. */ |
5089 |
|
_ACEOF |
5090 |
|
cat confdefs.h >>conftest.$ac_ext |
5091 |
|
cat >>conftest.$ac_ext <<_ACEOF |
5092 |
|
/* end confdefs.h. */ |
5093 |
|
|
|
int main() { |
|
|
main() |
|
|
; return 0; } |
|
|
EOF |
|
|
if { (eval echo configure:2730: \"$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" |
|
5094 |
|
|
5095 |
fi |
int |
5096 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
main () |
5097 |
echo "$ac_t""yes" 1>&6 |
{ |
5098 |
|
main (); |
5099 |
|
; |
5100 |
|
return 0; |
5101 |
|
} |
5102 |
|
_ACEOF |
5103 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
5104 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
5105 |
|
(eval $ac_link) 2>&5 |
5106 |
|
ac_status=$? |
5107 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5108 |
|
(exit $ac_status); } && |
5109 |
|
{ ac_try='test -s conftest$ac_exeext' |
5110 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5111 |
|
(eval $ac_try) 2>&5 |
5112 |
|
ac_status=$? |
5113 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5114 |
|
(exit $ac_status); }; }; then |
5115 |
|
ac_cv_lib_Xext_main=yes |
5116 |
|
else |
5117 |
|
echo "$as_me: failed program was:" >&5 |
5118 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
5119 |
|
|
5120 |
|
ac_cv_lib_Xext_main=no |
5121 |
|
fi |
5122 |
|
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
5123 |
|
LIBS=$ac_check_lib_save_LIBS |
5124 |
|
fi |
5125 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_main" >&5 |
5126 |
|
echo "${ECHO_T}$ac_cv_lib_Xext_main" >&6 |
5127 |
|
if test $ac_cv_lib_Xext_main = yes; then |
5128 |
X_LIBS="$X_LIBS -lXext" |
X_LIBS="$X_LIBS -lXext" |
5129 |
else |
else |
5130 |
echo "$ac_t""no" 1>&6 |
miss=1 |
|
miss=1 |
|
5131 |
fi |
fi |
5132 |
|
|
5133 |
echo $ac_n "checking for main in -lXaw""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for main in -lXaw" >&5 |
5134 |
echo "configure:2752: checking for main in -lXaw" >&5 |
echo $ECHO_N "checking for main in -lXaw... $ECHO_C" >&6 |
5135 |
ac_lib_var=`echo Xaw'_'main | sed 'y%./+-%__p_%'` |
if test "${ac_cv_lib_Xaw_main+set}" = set; then |
5136 |
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 |
|
5137 |
else |
else |
5138 |
ac_save_LIBS="$LIBS" |
ac_check_lib_save_LIBS=$LIBS |
5139 |
LIBS="-lXaw $X_LIBS $LIBS" |
LIBS="-lXaw $X_LIBS $LIBS" |
5140 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
5141 |
#line 2760 "configure" |
#line $LINENO "configure" |
5142 |
#include "confdefs.h" |
/* confdefs.h. */ |
5143 |
|
_ACEOF |
5144 |
|
cat confdefs.h >>conftest.$ac_ext |
5145 |
|
cat >>conftest.$ac_ext <<_ACEOF |
5146 |
|
/* end confdefs.h. */ |
5147 |
|
|
|
int main() { |
|
|
main() |
|
|
; return 0; } |
|
|
EOF |
|
|
if { (eval echo configure:2767: \"$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" |
|
5148 |
|
|
5149 |
fi |
int |
5150 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
main () |
5151 |
echo "$ac_t""yes" 1>&6 |
{ |
5152 |
|
main (); |
5153 |
|
; |
5154 |
|
return 0; |
5155 |
|
} |
5156 |
|
_ACEOF |
5157 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
5158 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
5159 |
|
(eval $ac_link) 2>&5 |
5160 |
|
ac_status=$? |
5161 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5162 |
|
(exit $ac_status); } && |
5163 |
|
{ ac_try='test -s conftest$ac_exeext' |
5164 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5165 |
|
(eval $ac_try) 2>&5 |
5166 |
|
ac_status=$? |
5167 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5168 |
|
(exit $ac_status); }; }; then |
5169 |
|
ac_cv_lib_Xaw_main=yes |
5170 |
|
else |
5171 |
|
echo "$as_me: failed program was:" >&5 |
5172 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
5173 |
|
|
5174 |
|
ac_cv_lib_Xaw_main=no |
5175 |
|
fi |
5176 |
|
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
5177 |
|
LIBS=$ac_check_lib_save_LIBS |
5178 |
|
fi |
5179 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_Xaw_main" >&5 |
5180 |
|
echo "${ECHO_T}$ac_cv_lib_Xaw_main" >&6 |
5181 |
|
if test $ac_cv_lib_Xaw_main = yes; then |
5182 |
X_LIBS="$X_LIBS -lXaw" |
X_LIBS="$X_LIBS -lXaw" |
5183 |
else |
else |
5184 |
echo "$ac_t""no" 1>&6 |
miss=1 |
|
miss=1 |
|
5185 |
fi |
fi |
5186 |
|
|
5187 |
echo $ac_n "checking for main in -lX11""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for main in -lX11" >&5 |
5188 |
echo "configure:2789: checking for main in -lX11" >&5 |
echo $ECHO_N "checking for main in -lX11... $ECHO_C" >&6 |
5189 |
ac_lib_var=`echo X11'_'main | sed 'y%./+-%__p_%'` |
if test "${ac_cv_lib_X11_main+set}" = set; then |
5190 |
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 |
|
5191 |
else |
else |
5192 |
ac_save_LIBS="$LIBS" |
ac_check_lib_save_LIBS=$LIBS |
5193 |
LIBS="-lX11 $X_LIBS $LIBS" |
LIBS="-lX11 $X_LIBS $LIBS" |
5194 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
5195 |
#line 2797 "configure" |
#line $LINENO "configure" |
5196 |
#include "confdefs.h" |
/* confdefs.h. */ |
5197 |
|
_ACEOF |
5198 |
|
cat confdefs.h >>conftest.$ac_ext |
5199 |
|
cat >>conftest.$ac_ext <<_ACEOF |
5200 |
|
/* end confdefs.h. */ |
5201 |
|
|
|
int main() { |
|
|
main() |
|
|
; return 0; } |
|
|
EOF |
|
|
if { (eval echo configure:2804: \"$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" |
|
5202 |
|
|
5203 |
fi |
int |
5204 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
main () |
5205 |
echo "$ac_t""yes" 1>&6 |
{ |
5206 |
|
main (); |
5207 |
|
; |
5208 |
|
return 0; |
5209 |
|
} |
5210 |
|
_ACEOF |
5211 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
5212 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
5213 |
|
(eval $ac_link) 2>&5 |
5214 |
|
ac_status=$? |
5215 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5216 |
|
(exit $ac_status); } && |
5217 |
|
{ ac_try='test -s conftest$ac_exeext' |
5218 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5219 |
|
(eval $ac_try) 2>&5 |
5220 |
|
ac_status=$? |
5221 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5222 |
|
(exit $ac_status); }; }; then |
5223 |
|
ac_cv_lib_X11_main=yes |
5224 |
|
else |
5225 |
|
echo "$as_me: failed program was:" >&5 |
5226 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
5227 |
|
|
5228 |
|
ac_cv_lib_X11_main=no |
5229 |
|
fi |
5230 |
|
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
5231 |
|
LIBS=$ac_check_lib_save_LIBS |
5232 |
|
fi |
5233 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_X11_main" >&5 |
5234 |
|
echo "${ECHO_T}$ac_cv_lib_X11_main" >&6 |
5235 |
|
if test $ac_cv_lib_X11_main = yes; then |
5236 |
X_LIBS="$X_LIBS -lX11" |
X_LIBS="$X_LIBS -lX11" |
5237 |
else |
else |
5238 |
echo "$ac_t""no" 1>&6 |
miss=1 |
|
miss=1 |
|
5239 |
fi |
fi |
5240 |
|
|
5241 |
|
|
5242 |
if test "$miss" = "1" ; then |
if test "$miss" = "1" ; then |
5243 |
X_CFLAGS= |
X_CFLAGS= |
5244 |
X_LIBS= |
X_LIBS= |
5255 |
|
|
5256 |
if test "$enable_dlopen" = "yes" ; then |
if test "$enable_dlopen" = "yes" ; then |
5257 |
|
|
5258 |
echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 |
5259 |
echo "configure:2843: checking for dlopen in -ldl" >&5 |
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 |
5260 |
ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` |
if test "${ac_cv_lib_dl_dlopen+set}" = set; then |
5261 |
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 |
|
5262 |
else |
else |
5263 |
ac_save_LIBS="$LIBS" |
ac_check_lib_save_LIBS=$LIBS |
5264 |
LIBS="-ldl $LIBS" |
LIBS="-ldl $LIBS" |
5265 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
5266 |
#line 2851 "configure" |
#line $LINENO "configure" |
5267 |
#include "confdefs.h" |
/* confdefs.h. */ |
5268 |
|
_ACEOF |
5269 |
|
cat confdefs.h >>conftest.$ac_ext |
5270 |
|
cat >>conftest.$ac_ext <<_ACEOF |
5271 |
|
/* end confdefs.h. */ |
5272 |
|
|
5273 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
5274 |
|
#ifdef __cplusplus |
5275 |
|
extern "C" |
5276 |
|
#endif |
5277 |
/* 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 |
5278 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
5279 |
char dlopen(); |
char dlopen (); |
5280 |
|
int |
5281 |
int main() { |
main () |
5282 |
dlopen() |
{ |
5283 |
; return 0; } |
dlopen (); |
5284 |
EOF |
; |
5285 |
if { (eval echo configure:2862: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
return 0; |
5286 |
rm -rf conftest* |
} |
5287 |
eval "ac_cv_lib_$ac_lib_var=yes" |
_ACEOF |
5288 |
else |
rm -f conftest.$ac_objext conftest$ac_exeext |
5289 |
echo "configure: failed program was:" >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
5290 |
cat conftest.$ac_ext >&5 |
(eval $ac_link) 2>&5 |
5291 |
rm -rf conftest* |
ac_status=$? |
5292 |
eval "ac_cv_lib_$ac_lib_var=no" |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5293 |
fi |
(exit $ac_status); } && |
5294 |
rm -f conftest* |
{ ac_try='test -s conftest$ac_exeext' |
5295 |
LIBS="$ac_save_LIBS" |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5296 |
|
(eval $ac_try) 2>&5 |
5297 |
fi |
ac_status=$? |
5298 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5299 |
echo "$ac_t""yes" 1>&6 |
(exit $ac_status); }; }; then |
5300 |
|
ac_cv_lib_dl_dlopen=yes |
5301 |
|
else |
5302 |
|
echo "$as_me: failed program was:" >&5 |
5303 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
5304 |
|
|
5305 |
|
ac_cv_lib_dl_dlopen=no |
5306 |
|
fi |
5307 |
|
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
5308 |
|
LIBS=$ac_check_lib_save_LIBS |
5309 |
|
fi |
5310 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 |
5311 |
|
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 |
5312 |
|
if test $ac_cv_lib_dl_dlopen = yes; then |
5313 |
have_dl=1 |
have_dl=1 |
5314 |
else |
else |
5315 |
echo "$ac_t""no" 1>&6 |
have_dl=0 |
|
have_dl=0 |
|
5316 |
fi |
fi |
5317 |
|
|
5318 |
if test "$have_dl" = "0" ; then |
if test "$have_dl" = "0" ; then |
5321 |
fi |
fi |
5322 |
|
|
5323 |
TLIBS="$TLIBS -ldl -rdynamic" |
TLIBS="$TLIBS -ldl -rdynamic" |
5324 |
cat >> confdefs.h <<\EOF |
cat >>confdefs.h <<\_ACEOF |
5325 |
#define USE_DLOPEN 1 |
#define USE_DLOPEN 1 |
5326 |
EOF |
_ACEOF |
5327 |
|
|
5328 |
fi |
fi |
5329 |
|
|
5330 |
if test "$enable_statsysbfd" = "yes" || test "$enable_dynsysbfd" = "yes" ; then |
if test "$enable_statsysbfd" = "yes" || test "$enable_dynsysbfd" = "yes" ; then |
5331 |
ac_safe=`echo "bfd.h" | sed 'y%./+-%__p_%'` |
if test "${ac_cv_header_bfd_h+set}" = set; then |
5332 |
echo $ac_n "checking for bfd.h""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for bfd.h" >&5 |
5333 |
echo "configure:2898: checking for bfd.h" >&5 |
echo $ECHO_N "checking for bfd.h... $ECHO_C" >&6 |
5334 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if test "${ac_cv_header_bfd_h+set}" = set; then |
5335 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5336 |
else |
fi |
5337 |
cat > conftest.$ac_ext <<EOF |
echo "$as_me:$LINENO: result: $ac_cv_header_bfd_h" >&5 |
5338 |
#line 2903 "configure" |
echo "${ECHO_T}$ac_cv_header_bfd_h" >&6 |
5339 |
#include "confdefs.h" |
else |
5340 |
|
# Is the header compilable? |
5341 |
|
echo "$as_me:$LINENO: checking bfd.h usability" >&5 |
5342 |
|
echo $ECHO_N "checking bfd.h usability... $ECHO_C" >&6 |
5343 |
|
cat >conftest.$ac_ext <<_ACEOF |
5344 |
|
#line $LINENO "configure" |
5345 |
|
/* confdefs.h. */ |
5346 |
|
_ACEOF |
5347 |
|
cat confdefs.h >>conftest.$ac_ext |
5348 |
|
cat >>conftest.$ac_ext <<_ACEOF |
5349 |
|
/* end confdefs.h. */ |
5350 |
|
$ac_includes_default |
5351 |
#include <bfd.h> |
#include <bfd.h> |
5352 |
EOF |
_ACEOF |
5353 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
rm -f conftest.$ac_objext |
5354 |
{ (eval echo configure:2908: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5355 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
(eval $ac_compile) 2>&5 |
5356 |
if test -z "$ac_err"; then |
ac_status=$? |
5357 |
rm -rf conftest* |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5358 |
eval "ac_cv_header_$ac_safe=yes" |
(exit $ac_status); } && |
5359 |
else |
{ ac_try='test -s conftest.$ac_objext' |
5360 |
echo "$ac_err" >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5361 |
echo "configure: failed program was:" >&5 |
(eval $ac_try) 2>&5 |
5362 |
cat conftest.$ac_ext >&5 |
ac_status=$? |
5363 |
rm -rf conftest* |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5364 |
eval "ac_cv_header_$ac_safe=no" |
(exit $ac_status); }; }; then |
5365 |
fi |
ac_header_compiler=yes |
5366 |
rm -f conftest* |
else |
5367 |
|
echo "$as_me: failed program was:" >&5 |
5368 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
5369 |
|
|
5370 |
|
ac_header_compiler=no |
5371 |
|
fi |
5372 |
|
rm -f conftest.$ac_objext conftest.$ac_ext |
5373 |
|
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
5374 |
|
echo "${ECHO_T}$ac_header_compiler" >&6 |
5375 |
|
|
5376 |
|
# Is the header present? |
5377 |
|
echo "$as_me:$LINENO: checking bfd.h presence" >&5 |
5378 |
|
echo $ECHO_N "checking bfd.h presence... $ECHO_C" >&6 |
5379 |
|
cat >conftest.$ac_ext <<_ACEOF |
5380 |
|
#line $LINENO "configure" |
5381 |
|
/* confdefs.h. */ |
5382 |
|
_ACEOF |
5383 |
|
cat confdefs.h >>conftest.$ac_ext |
5384 |
|
cat >>conftest.$ac_ext <<_ACEOF |
5385 |
|
/* end confdefs.h. */ |
5386 |
|
#include <bfd.h> |
5387 |
|
_ACEOF |
5388 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
5389 |
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
5390 |
|
ac_status=$? |
5391 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
5392 |
|
rm -f conftest.er1 |
5393 |
|
cat conftest.err >&5 |
5394 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5395 |
|
(exit $ac_status); } >/dev/null; then |
5396 |
|
if test -s conftest.err; then |
5397 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
5398 |
|
else |
5399 |
|
ac_cpp_err= |
5400 |
|
fi |
5401 |
|
else |
5402 |
|
ac_cpp_err=yes |
5403 |
fi |
fi |
5404 |
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
if test -z "$ac_cpp_err"; then |
5405 |
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:2925: 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 |
|
5406 |
else |
else |
5407 |
ac_save_LIBS="$LIBS" |
echo "$as_me: failed program was:" >&5 |
5408 |
LIBS="-lbfd -liberty $LIBS" |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
cat > conftest.$ac_ext <<EOF |
|
|
#line 2933 "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(); |
|
5409 |
|
|
5410 |
int main() { |
ac_header_preproc=no |
5411 |
bfd_init() |
fi |
5412 |
; return 0; } |
rm -f conftest.err conftest.$ac_ext |
5413 |
EOF |
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
5414 |
if { (eval echo configure:2944: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
echo "${ECHO_T}$ac_header_preproc" >&6 |
5415 |
rm -rf conftest* |
|
5416 |
eval "ac_cv_lib_$ac_lib_var=yes" |
# So? What about this header? |
5417 |
else |
case $ac_header_compiler:$ac_header_preproc in |
5418 |
echo "configure: failed program was:" >&5 |
yes:no ) |
5419 |
cat conftest.$ac_ext >&5 |
{ echo "$as_me:$LINENO: WARNING: bfd.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
5420 |
rm -rf conftest* |
echo "$as_me: WARNING: bfd.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
5421 |
eval "ac_cv_lib_$ac_lib_var=no" |
{ echo "$as_me:$LINENO: WARNING: bfd.h: proceeding with the preprocessor's result" >&5 |
5422 |
|
echo "$as_me: WARNING: bfd.h: proceeding with the preprocessor's result" >&2;} |
5423 |
|
( |
5424 |
|
cat <<\_ASBOX |
5425 |
|
## ------------------------------------ ## |
5426 |
|
## Report this to bug-autoconf@gnu.org. ## |
5427 |
|
## ------------------------------------ ## |
5428 |
|
_ASBOX |
5429 |
|
) | |
5430 |
|
sed "s/^/$as_me: WARNING: /" >&2 |
5431 |
|
;; |
5432 |
|
no:yes ) |
5433 |
|
{ echo "$as_me:$LINENO: WARNING: bfd.h: present but cannot be compiled" >&5 |
5434 |
|
echo "$as_me: WARNING: bfd.h: present but cannot be compiled" >&2;} |
5435 |
|
{ echo "$as_me:$LINENO: WARNING: bfd.h: check for missing prerequisite headers?" >&5 |
5436 |
|
echo "$as_me: WARNING: bfd.h: check for missing prerequisite headers?" >&2;} |
5437 |
|
{ echo "$as_me:$LINENO: WARNING: bfd.h: proceeding with the preprocessor's result" >&5 |
5438 |
|
echo "$as_me: WARNING: bfd.h: proceeding with the preprocessor's result" >&2;} |
5439 |
|
( |
5440 |
|
cat <<\_ASBOX |
5441 |
|
## ------------------------------------ ## |
5442 |
|
## Report this to bug-autoconf@gnu.org. ## |
5443 |
|
## ------------------------------------ ## |
5444 |
|
_ASBOX |
5445 |
|
) | |
5446 |
|
sed "s/^/$as_me: WARNING: /" >&2 |
5447 |
|
;; |
5448 |
|
esac |
5449 |
|
echo "$as_me:$LINENO: checking for bfd.h" >&5 |
5450 |
|
echo $ECHO_N "checking for bfd.h... $ECHO_C" >&6 |
5451 |
|
if test "${ac_cv_header_bfd_h+set}" = set; then |
5452 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5453 |
|
else |
5454 |
|
ac_cv_header_bfd_h=$ac_header_preproc |
5455 |
fi |
fi |
5456 |
rm -f conftest* |
echo "$as_me:$LINENO: result: $ac_cv_header_bfd_h" >&5 |
5457 |
LIBS="$ac_save_LIBS" |
echo "${ECHO_T}$ac_cv_header_bfd_h" >&6 |
5458 |
|
|
5459 |
fi |
fi |
5460 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
if test $ac_cv_header_bfd_h = yes; then |
5461 |
echo "$ac_t""yes" 1>&6 |
echo "$as_me:$LINENO: checking for bfd_init in -lbfd" >&5 |
5462 |
|
echo $ECHO_N "checking for bfd_init in -lbfd... $ECHO_C" >&6 |
5463 |
|
if test "${ac_cv_lib_bfd_bfd_init+set}" = set; then |
5464 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5465 |
|
else |
5466 |
|
ac_check_lib_save_LIBS=$LIBS |
5467 |
|
LIBS="-lbfd -liberty $LIBS" |
5468 |
|
cat >conftest.$ac_ext <<_ACEOF |
5469 |
|
#line $LINENO "configure" |
5470 |
|
/* confdefs.h. */ |
5471 |
|
_ACEOF |
5472 |
|
cat confdefs.h >>conftest.$ac_ext |
5473 |
|
cat >>conftest.$ac_ext <<_ACEOF |
5474 |
|
/* end confdefs.h. */ |
5475 |
|
|
5476 |
|
/* Override any gcc2 internal prototype to avoid an error. */ |
5477 |
|
#ifdef __cplusplus |
5478 |
|
extern "C" |
5479 |
|
#endif |
5480 |
|
/* We use char because int might match the return type of a gcc2 |
5481 |
|
builtin and then its argument prototype would still apply. */ |
5482 |
|
char bfd_init (); |
5483 |
|
int |
5484 |
|
main () |
5485 |
|
{ |
5486 |
|
bfd_init (); |
5487 |
|
; |
5488 |
|
return 0; |
5489 |
|
} |
5490 |
|
_ACEOF |
5491 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
5492 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
5493 |
|
(eval $ac_link) 2>&5 |
5494 |
|
ac_status=$? |
5495 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5496 |
|
(exit $ac_status); } && |
5497 |
|
{ ac_try='test -s conftest$ac_exeext' |
5498 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5499 |
|
(eval $ac_try) 2>&5 |
5500 |
|
ac_status=$? |
5501 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5502 |
|
(exit $ac_status); }; }; then |
5503 |
|
ac_cv_lib_bfd_bfd_init=yes |
5504 |
|
else |
5505 |
|
echo "$as_me: failed program was:" >&5 |
5506 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
5507 |
|
|
5508 |
|
ac_cv_lib_bfd_bfd_init=no |
5509 |
|
fi |
5510 |
|
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
5511 |
|
LIBS=$ac_check_lib_save_LIBS |
5512 |
|
fi |
5513 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_bfd_bfd_init" >&5 |
5514 |
|
echo "${ECHO_T}$ac_cv_lib_bfd_bfd_init" >&6 |
5515 |
|
if test $ac_cv_lib_bfd_bfd_init = yes; then |
5516 |
# |
# |
5517 |
# Old binutils appear to need CONST defined to const |
# Old binutils appear to need CONST defined to const |
5518 |
# |
# |
5519 |
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 |
5520 |
echo "configure:2963: checking if need to define CONST for bfd" >&5 |
echo $ECHO_N "checking if need to define CONST for bfd... $ECHO_C" >&6 |
5521 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
5522 |
echo "$ac_t""cannot use bfd" 1>&6 exit 1; |
echo "$as_me:$LINENO: result: cannot use bfd" >&5 |
5523 |
|
echo "${ECHO_T}cannot use bfd" >&6 exit 1; |
5524 |
else |
else |
5525 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
5526 |
#line 2968 "configure" |
#line $LINENO "configure" |
5527 |
#include "confdefs.h" |
/* confdefs.h. */ |
5528 |
|
_ACEOF |
5529 |
|
cat confdefs.h >>conftest.$ac_ext |
5530 |
|
cat >>conftest.$ac_ext <<_ACEOF |
5531 |
|
/* end confdefs.h. */ |
5532 |
#define IN_GCC |
#define IN_GCC |
5533 |
#include <bfd.h> |
#include <bfd.h> |
5534 |
int main() { symbol_info t; return 0;} |
int main() { symbol_info t; return 0;} |
5535 |
EOF |
_ACEOF |
5536 |
if { (eval echo configure:2974: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
rm -f conftest$ac_exeext |
5537 |
then |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
5538 |
echo "$ac_t""no" 1>&6 |
(eval $ac_link) 2>&5 |
5539 |
else |
ac_status=$? |
5540 |
echo "configure: failed program was:" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5541 |
cat conftest.$ac_ext >&5 |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
5542 |
rm -fr conftest* |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5543 |
if test "$cross_compiling" = yes; then |
(eval $ac_try) 2>&5 |
5544 |
echo "$ac_t""cannot use bfd" 1>&6 exit 1; |
ac_status=$? |
5545 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5546 |
|
(exit $ac_status); }; }; then |
5547 |
|
echo "$as_me:$LINENO: result: no" >&5 |
5548 |
|
echo "${ECHO_T}no" >&6 |
5549 |
|
else |
5550 |
|
echo "$as_me: program exited with status $ac_status" >&5 |
5551 |
|
echo "$as_me: failed program was:" >&5 |
5552 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
5553 |
|
|
5554 |
|
( exit $ac_status ) |
5555 |
|
if test "$cross_compiling" = yes; then |
5556 |
|
echo "$as_me:$LINENO: result: cannot use bfd" >&5 |
5557 |
|
echo "${ECHO_T}cannot use bfd" >&6 exit 1; |
5558 |
else |
else |
5559 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
5560 |
#line 2985 "configure" |
#line $LINENO "configure" |
5561 |
#include "confdefs.h" |
/* confdefs.h. */ |
5562 |
|
_ACEOF |
5563 |
|
cat confdefs.h >>conftest.$ac_ext |
5564 |
|
cat >>conftest.$ac_ext <<_ACEOF |
5565 |
|
/* end confdefs.h. */ |
5566 |
#define CONST const |
#define CONST const |
5567 |
#define IN_GCC |
#define IN_GCC |
5568 |
#include <bfd.h> |
#include <bfd.h> |
5569 |
int main() {symbol_info t; return 0;} |
int main() {symbol_info t; return 0;} |
5570 |
EOF |
_ACEOF |
5571 |
if { (eval echo configure:2992: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
rm -f conftest$ac_exeext |
5572 |
then |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
5573 |
echo "$ac_t""yes" 1>&6 |
(eval $ac_link) 2>&5 |
5574 |
cat >> confdefs.h <<\EOF |
ac_status=$? |
5575 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5576 |
|
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
5577 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5578 |
|
(eval $ac_try) 2>&5 |
5579 |
|
ac_status=$? |
5580 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5581 |
|
(exit $ac_status); }; }; then |
5582 |
|
echo "$as_me:$LINENO: result: yes" >&5 |
5583 |
|
echo "${ECHO_T}yes" >&6 |
5584 |
|
cat >>confdefs.h <<\_ACEOF |
5585 |
#define NEED_CONST 1 |
#define NEED_CONST 1 |
5586 |
EOF |
_ACEOF |
5587 |
|
|
5588 |
else |
else |
5589 |
echo "configure: failed program was:" >&5 |
echo "$as_me: program exited with status $ac_status" >&5 |
5590 |
cat conftest.$ac_ext >&5 |
echo "$as_me: failed program was:" >&5 |
5591 |
rm -fr conftest* |
sed 's/^/| /' conftest.$ac_ext >&5 |
5592 |
echo "$ac_t""cannot use bfd" 1>&6 exit 1; |
|
5593 |
|
( exit $ac_status ) |
5594 |
|
echo "$as_me:$LINENO: result: cannot use bfd" >&5 |
5595 |
|
echo "${ECHO_T}cannot use bfd" >&6 exit 1; |
5596 |
fi |
fi |
5597 |
rm -fr conftest* |
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
5598 |
fi |
fi |
|
|
|
5599 |
fi |
fi |
5600 |
rm -fr conftest* |
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
5601 |
fi |
fi |
5602 |
|
|
|
|
|
|
else |
|
|
echo "$ac_t""no" 1>&6 |
|
5603 |
fi |
fi |
5604 |
|
|
|
else |
|
|
echo "$ac_t""no" 1>&6 |
|
5605 |
fi |
fi |
5606 |
|
|
5607 |
|
|
5608 |
cat >> confdefs.h <<\EOF |
|
5609 |
|
cat >>confdefs.h <<\_ACEOF |
5610 |
#define HAVE_LIBBFD 1 |
#define HAVE_LIBBFD 1 |
5611 |
EOF |
_ACEOF |
5612 |
|
|
5613 |
|
|
5614 |
# |
# |
5615 |
# BFD boolean syntax |
# BFD boolean syntax |
5616 |
# |
# |
5617 |
|
|
5618 |
echo $ac_n "checking for useable bfd_boolean""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for useable bfd_boolean" >&5 |
5619 |
echo "configure:3032: checking for useable bfd_boolean" >&5 |
echo $ECHO_N "checking for useable bfd_boolean... $ECHO_C" >&6 |
5620 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
5621 |
echo "$ac_t""no" 1>&6 |
echo "$as_me:$LINENO: result: no" >&5 |
5622 |
|
echo "${ECHO_T}no" >&6 |
5623 |
else |
else |
5624 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
5625 |
#line 3037 "configure" |
#line $LINENO "configure" |
5626 |
#include "confdefs.h" |
/* confdefs.h. */ |
5627 |
|
_ACEOF |
5628 |
|
cat confdefs.h >>conftest.$ac_ext |
5629 |
|
cat >>conftest.$ac_ext <<_ACEOF |
5630 |
|
/* end confdefs.h. */ |
5631 |
#define IN_GCC |
#define IN_GCC |
5632 |
#include <bfd.h> |
#include <bfd.h> |
5633 |
bfd_boolean foo() {return FALSE;} |
bfd_boolean foo() {return FALSE;} |
5634 |
int main() {return 0;} |
int main() {return 0;} |
5635 |
EOF |
_ACEOF |
5636 |
if { (eval echo configure:3044: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
rm -f conftest$ac_exeext |
5637 |
then |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
5638 |
echo "$ac_t""yes" 1>&6 |
(eval $ac_link) 2>&5 |
5639 |
cat >> confdefs.h <<\EOF |
ac_status=$? |
5640 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5641 |
|
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
5642 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5643 |
|
(eval $ac_try) 2>&5 |
5644 |
|
ac_status=$? |
5645 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5646 |
|
(exit $ac_status); }; }; then |
5647 |
|
echo "$as_me:$LINENO: result: yes" >&5 |
5648 |
|
echo "${ECHO_T}yes" >&6 |
5649 |
|
cat >>confdefs.h <<\_ACEOF |
5650 |
#define HAVE_BFD_BOOLEAN 1 |
#define HAVE_BFD_BOOLEAN 1 |
5651 |
EOF |
_ACEOF |
5652 |
|
|
5653 |
else |
else |
5654 |
echo "configure: failed program was:" >&5 |
echo "$as_me: program exited with status $ac_status" >&5 |
5655 |
cat conftest.$ac_ext >&5 |
echo "$as_me: failed program was:" >&5 |
5656 |
rm -fr conftest* |
sed 's/^/| /' conftest.$ac_ext >&5 |
5657 |
echo "$ac_t""no" 1>&6 |
|
5658 |
|
( exit $ac_status ) |
5659 |
|
echo "$as_me:$LINENO: result: no" >&5 |
5660 |
|
echo "${ECHO_T}no" >&6 |
5661 |
fi |
fi |
5662 |
rm -fr conftest* |
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
5663 |
fi |
fi |
5664 |
|
|
5665 |
|
|
|
|
|
5666 |
# |
# |
5667 |
# FIXME: Need to workaround mingw before this point -- CM |
# FIXME: Need to workaround mingw before this point -- CM |
5668 |
# |
# |
5675 |
else |
else |
5676 |
echo Guessing path to libbfd.a due to gcc bug |
echo Guessing path to libbfd.a due to gcc bug |
5677 |
TLIBS="$TLIBS /usr/lib/libbfd.a" |
TLIBS="$TLIBS /usr/lib/libbfd.a" |
5678 |
fi |
fi |
5679 |
if echo $MP | tr ' ' '\012' | grep -q libiberty.a ; then |
if echo $MP | tr ' ' '\012' | grep -q libiberty.a ; then |
5680 |
TLIBS="$TLIBS `echo $MP | tr ' ' '\012' | grep libiberty.a`" |
TLIBS="$TLIBS `echo $MP | tr ' ' '\012' | grep libiberty.a`" |
5681 |
else |
else |
5682 |
echo Guessing path to libiberty.a due to gcc bug |
echo Guessing path to libiberty.a due to gcc bug |
5683 |
TLIBS="$TLIBS /usr/lib/libiberty.a" |
TLIBS="$TLIBS /usr/lib/libiberty.a" |
5684 |
fi |
fi |
5685 |
else |
else |
5686 |
TLIBS="$TLIBS -lbfd -liberty" |
TLIBS="$TLIBS -lbfd -liberty" |
5687 |
fi |
fi |
5695 |
echo "#" |
echo "#" |
5696 |
echo "#" |
echo "#" |
5697 |
cd binutils/libiberty && chmod +x configure && ./configure && cd ../.. |
cd binutils/libiberty && chmod +x configure && ./configure && cd ../.. |
5698 |
# MY_SUBDIRS="$MY_SUBDIRS binutils/libiberty " |
# MY_SUBDIRS="$MY_SUBDIRS binutils/libiberty " |
5699 |
echo "#" |
echo "#" |
5700 |
echo "#" |
echo "#" |
5701 |
echo "#" |
echo "#" |
5709 |
echo "#" |
echo "#" |
5710 |
echo "#" |
echo "#" |
5711 |
cd binutils/bfd && chmod +x configure && ./configure && cd ../.. |
cd binutils/bfd && chmod +x configure && ./configure && cd ../.. |
5712 |
# MY_SUBDIRS="$MY_SUBDIRS binutils/bfd " |
# MY_SUBDIRS="$MY_SUBDIRS binutils/bfd " |
5713 |
echo "#" |
echo "#" |
5714 |
echo "#" |
echo "#" |
5715 |
echo "#" |
echo "#" |
5717 |
echo "# ------------------------" |
echo "# ------------------------" |
5718 |
echo "#" |
echo "#" |
5719 |
TLIBS="$TLIBS `pwd`/binutils/bfd/libbfd.a `pwd`/binutils/libiberty/libiberty.a" |
TLIBS="$TLIBS `pwd`/binutils/bfd/libbfd.a `pwd`/binutils/libiberty/libiberty.a" |
5720 |
cat >> confdefs.h <<\EOF |
cat >>confdefs.h <<\_ACEOF |
5721 |
#define HAVE_LIBBFD 1 |
#define HAVE_LIBBFD 1 |
5722 |
EOF |
_ACEOF |
5723 |
|
|
5724 |
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" |
5725 |
|
|
5726 |
fi |
fi |
5727 |
|
|
5728 |
#AC_CONFIG_SUBDIRS($MY_SUBDIRS) |
#AC_CONFIG_SUBDIRS($MY_SUBDIRS) |
5731 |
# mechanism, in the PAGE macro. This offset is subtracted from |
# mechanism, in the PAGE macro. This offset is subtracted from |
5732 |
# addresses, in calculating a page for an address in the heap. |
# addresses, in calculating a page for an address in the heap. |
5733 |
|
|
5734 |
echo $ac_n "checking size of long *""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for long *" >&5 |
5735 |
echo "configure:3131: checking size of long *" >&5 |
echo $ECHO_N "checking for long *... $ECHO_C" >&6 |
5736 |
if eval "test \"`echo '$''{'ac_cv_sizeof_long_p'+set}'`\" = set"; then |
if test "${ac_cv_type_long_p+set}" = set; then |
5737 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5738 |
else |
else |
5739 |
|
cat >conftest.$ac_ext <<_ACEOF |
5740 |
|
#line $LINENO "configure" |
5741 |
|
/* confdefs.h. */ |
5742 |
|
_ACEOF |
5743 |
|
cat confdefs.h >>conftest.$ac_ext |
5744 |
|
cat >>conftest.$ac_ext <<_ACEOF |
5745 |
|
/* end confdefs.h. */ |
5746 |
|
$ac_includes_default |
5747 |
|
int |
5748 |
|
main () |
5749 |
|
{ |
5750 |
|
if ((long * *) 0) |
5751 |
|
return 0; |
5752 |
|
if (sizeof (long *)) |
5753 |
|
return 0; |
5754 |
|
; |
5755 |
|
return 0; |
5756 |
|
} |
5757 |
|
_ACEOF |
5758 |
|
rm -f conftest.$ac_objext |
5759 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5760 |
|
(eval $ac_compile) 2>&5 |
5761 |
|
ac_status=$? |
5762 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5763 |
|
(exit $ac_status); } && |
5764 |
|
{ ac_try='test -s conftest.$ac_objext' |
5765 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5766 |
|
(eval $ac_try) 2>&5 |
5767 |
|
ac_status=$? |
5768 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5769 |
|
(exit $ac_status); }; }; then |
5770 |
|
ac_cv_type_long_p=yes |
5771 |
|
else |
5772 |
|
echo "$as_me: failed program was:" >&5 |
5773 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
5774 |
|
|
5775 |
|
ac_cv_type_long_p=no |
5776 |
|
fi |
5777 |
|
rm -f conftest.$ac_objext conftest.$ac_ext |
5778 |
|
fi |
5779 |
|
echo "$as_me:$LINENO: result: $ac_cv_type_long_p" >&5 |
5780 |
|
echo "${ECHO_T}$ac_cv_type_long_p" >&6 |
5781 |
|
|
5782 |
|
echo "$as_me:$LINENO: checking size of long *" >&5 |
5783 |
|
echo $ECHO_N "checking size of long *... $ECHO_C" >&6 |
5784 |
|
if test "${ac_cv_sizeof_long_p+set}" = set; then |
5785 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5786 |
|
else |
5787 |
|
if test "$ac_cv_type_long_p" = yes; then |
5788 |
|
# The cast to unsigned long works around a bug in the HP C Compiler |
5789 |
|
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
5790 |
|
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
5791 |
|
# This bug is HP SR number 8606223364. |
5792 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
5793 |
ac_cv_sizeof_long_p=0 |
# Depending upon the size, compute the lo and hi bounds. |
5794 |
|
cat >conftest.$ac_ext <<_ACEOF |
5795 |
|
#line $LINENO "configure" |
5796 |
|
/* confdefs.h. */ |
5797 |
|
_ACEOF |
5798 |
|
cat confdefs.h >>conftest.$ac_ext |
5799 |
|
cat >>conftest.$ac_ext <<_ACEOF |
5800 |
|
/* end confdefs.h. */ |
5801 |
|
$ac_includes_default |
5802 |
|
int |
5803 |
|
main () |
5804 |
|
{ |
5805 |
|
static int test_array [1 - 2 * !(((long) (sizeof (long *))) >= 0)]; |
5806 |
|
test_array [0] = 0 |
5807 |
|
|
5808 |
|
; |
5809 |
|
return 0; |
5810 |
|
} |
5811 |
|
_ACEOF |
5812 |
|
rm -f conftest.$ac_objext |
5813 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5814 |
|
(eval $ac_compile) 2>&5 |
5815 |
|
ac_status=$? |
5816 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5817 |
|
(exit $ac_status); } && |
5818 |
|
{ ac_try='test -s conftest.$ac_objext' |
5819 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5820 |
|
(eval $ac_try) 2>&5 |
5821 |
|
ac_status=$? |
5822 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5823 |
|
(exit $ac_status); }; }; then |
5824 |
|
ac_lo=0 ac_mid=0 |
5825 |
|
while :; do |
5826 |
|
cat >conftest.$ac_ext <<_ACEOF |
5827 |
|
#line $LINENO "configure" |
5828 |
|
/* confdefs.h. */ |
5829 |
|
_ACEOF |
5830 |
|
cat confdefs.h >>conftest.$ac_ext |
5831 |
|
cat >>conftest.$ac_ext <<_ACEOF |
5832 |
|
/* end confdefs.h. */ |
5833 |
|
$ac_includes_default |
5834 |
|
int |
5835 |
|
main () |
5836 |
|
{ |
5837 |
|
static int test_array [1 - 2 * !(((long) (sizeof (long *))) <= $ac_mid)]; |
5838 |
|
test_array [0] = 0 |
5839 |
|
|
5840 |
|
; |
5841 |
|
return 0; |
5842 |
|
} |
5843 |
|
_ACEOF |
5844 |
|
rm -f conftest.$ac_objext |
5845 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5846 |
|
(eval $ac_compile) 2>&5 |
5847 |
|
ac_status=$? |
5848 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5849 |
|
(exit $ac_status); } && |
5850 |
|
{ ac_try='test -s conftest.$ac_objext' |
5851 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5852 |
|
(eval $ac_try) 2>&5 |
5853 |
|
ac_status=$? |
5854 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5855 |
|
(exit $ac_status); }; }; then |
5856 |
|
ac_hi=$ac_mid; break |
5857 |
|
else |
5858 |
|
echo "$as_me: failed program was:" >&5 |
5859 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
5860 |
|
|
5861 |
|
ac_lo=`expr $ac_mid + 1` |
5862 |
|
if test $ac_lo -le $ac_mid; then |
5863 |
|
ac_lo= ac_hi= |
5864 |
|
break |
5865 |
|
fi |
5866 |
|
ac_mid=`expr 2 '*' $ac_mid + 1` |
5867 |
|
fi |
5868 |
|
rm -f conftest.$ac_objext conftest.$ac_ext |
5869 |
|
done |
5870 |
else |
else |
5871 |
cat > conftest.$ac_ext <<EOF |
echo "$as_me: failed program was:" >&5 |
5872 |
#line 3139 "configure" |
sed 's/^/| /' conftest.$ac_ext >&5 |
5873 |
#include "confdefs.h" |
|
5874 |
#include <stdio.h> |
cat >conftest.$ac_ext <<_ACEOF |
5875 |
#include <sys/types.h> |
#line $LINENO "configure" |
5876 |
main() |
/* confdefs.h. */ |
5877 |
|
_ACEOF |
5878 |
|
cat confdefs.h >>conftest.$ac_ext |
5879 |
|
cat >>conftest.$ac_ext <<_ACEOF |
5880 |
|
/* end confdefs.h. */ |
5881 |
|
$ac_includes_default |
5882 |
|
int |
5883 |
|
main () |
5884 |
{ |
{ |
5885 |
FILE *f=fopen("conftestval", "w"); |
static int test_array [1 - 2 * !(((long) (sizeof (long *))) < 0)]; |
5886 |
if (!f) exit(1); |
test_array [0] = 0 |
5887 |
fprintf(f, "%d\n", sizeof(long *)); |
|
5888 |
exit(0); |
; |
5889 |
|
return 0; |
5890 |
} |
} |
5891 |
EOF |
_ACEOF |
5892 |
if { (eval echo configure:3151: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
rm -f conftest.$ac_objext |
5893 |
then |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5894 |
ac_cv_sizeof_long_p=`cat conftestval` |
(eval $ac_compile) 2>&5 |
5895 |
else |
ac_status=$? |
5896 |
echo "configure: failed program was:" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5897 |
cat conftest.$ac_ext >&5 |
(exit $ac_status); } && |
5898 |
rm -fr conftest* |
{ ac_try='test -s conftest.$ac_objext' |
5899 |
ac_cv_sizeof_long_p=0 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5900 |
|
(eval $ac_try) 2>&5 |
5901 |
|
ac_status=$? |
5902 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5903 |
|
(exit $ac_status); }; }; then |
5904 |
|
ac_hi=-1 ac_mid=-1 |
5905 |
|
while :; do |
5906 |
|
cat >conftest.$ac_ext <<_ACEOF |
5907 |
|
#line $LINENO "configure" |
5908 |
|
/* confdefs.h. */ |
5909 |
|
_ACEOF |
5910 |
|
cat confdefs.h >>conftest.$ac_ext |
5911 |
|
cat >>conftest.$ac_ext <<_ACEOF |
5912 |
|
/* end confdefs.h. */ |
5913 |
|
$ac_includes_default |
5914 |
|
int |
5915 |
|
main () |
5916 |
|
{ |
5917 |
|
static int test_array [1 - 2 * !(((long) (sizeof (long *))) >= $ac_mid)]; |
5918 |
|
test_array [0] = 0 |
5919 |
|
|
5920 |
|
; |
5921 |
|
return 0; |
5922 |
|
} |
5923 |
|
_ACEOF |
5924 |
|
rm -f conftest.$ac_objext |
5925 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5926 |
|
(eval $ac_compile) 2>&5 |
5927 |
|
ac_status=$? |
5928 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5929 |
|
(exit $ac_status); } && |
5930 |
|
{ ac_try='test -s conftest.$ac_objext' |
5931 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5932 |
|
(eval $ac_try) 2>&5 |
5933 |
|
ac_status=$? |
5934 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5935 |
|
(exit $ac_status); }; }; then |
5936 |
|
ac_lo=$ac_mid; break |
5937 |
|
else |
5938 |
|
echo "$as_me: failed program was:" >&5 |
5939 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
5940 |
|
|
5941 |
|
ac_hi=`expr '(' $ac_mid ')' - 1` |
5942 |
|
if test $ac_mid -le $ac_hi; then |
5943 |
|
ac_lo= ac_hi= |
5944 |
|
break |
5945 |
|
fi |
5946 |
|
ac_mid=`expr 2 '*' $ac_mid` |
5947 |
fi |
fi |
5948 |
rm -fr conftest* |
rm -f conftest.$ac_objext conftest.$ac_ext |
5949 |
|
done |
5950 |
|
else |
5951 |
|
echo "$as_me: failed program was:" >&5 |
5952 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
5953 |
|
|
5954 |
|
ac_lo= ac_hi= |
5955 |
|
fi |
5956 |
|
rm -f conftest.$ac_objext conftest.$ac_ext |
5957 |
fi |
fi |
5958 |
|
rm -f conftest.$ac_objext conftest.$ac_ext |
5959 |
|
# Binary search between lo and hi bounds. |
5960 |
|
while test "x$ac_lo" != "x$ac_hi"; do |
5961 |
|
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` |
5962 |
|
cat >conftest.$ac_ext <<_ACEOF |
5963 |
|
#line $LINENO "configure" |
5964 |
|
/* confdefs.h. */ |
5965 |
|
_ACEOF |
5966 |
|
cat confdefs.h >>conftest.$ac_ext |
5967 |
|
cat >>conftest.$ac_ext <<_ACEOF |
5968 |
|
/* end confdefs.h. */ |
5969 |
|
$ac_includes_default |
5970 |
|
int |
5971 |
|
main () |
5972 |
|
{ |
5973 |
|
static int test_array [1 - 2 * !(((long) (sizeof (long *))) <= $ac_mid)]; |
5974 |
|
test_array [0] = 0 |
5975 |
|
|
5976 |
|
; |
5977 |
|
return 0; |
5978 |
|
} |
5979 |
|
_ACEOF |
5980 |
|
rm -f conftest.$ac_objext |
5981 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5982 |
|
(eval $ac_compile) 2>&5 |
5983 |
|
ac_status=$? |
5984 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5985 |
|
(exit $ac_status); } && |
5986 |
|
{ ac_try='test -s conftest.$ac_objext' |
5987 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5988 |
|
(eval $ac_try) 2>&5 |
5989 |
|
ac_status=$? |
5990 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5991 |
|
(exit $ac_status); }; }; then |
5992 |
|
ac_hi=$ac_mid |
5993 |
|
else |
5994 |
|
echo "$as_me: failed program was:" >&5 |
5995 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
5996 |
|
|
5997 |
|
ac_lo=`expr '(' $ac_mid ')' + 1` |
5998 |
|
fi |
5999 |
|
rm -f conftest.$ac_objext conftest.$ac_ext |
6000 |
|
done |
6001 |
|
case $ac_lo in |
6002 |
|
?*) ac_cv_sizeof_long_p=$ac_lo;; |
6003 |
|
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long *), 77 |
6004 |
|
See \`config.log' for more details." >&5 |
6005 |
|
echo "$as_me: error: cannot compute sizeof (long *), 77 |
6006 |
|
See \`config.log' for more details." >&2;} |
6007 |
|
{ (exit 1); exit 1; }; } ;; |
6008 |
|
esac |
6009 |
|
else |
6010 |
|
if test "$cross_compiling" = yes; then |
6011 |
|
{ { echo "$as_me:$LINENO: error: cannot run test program while cross compiling |
6012 |
|
See \`config.log' for more details." >&5 |
6013 |
|
echo "$as_me: error: cannot run test program while cross compiling |
6014 |
|
See \`config.log' for more details." >&2;} |
6015 |
|
{ (exit 1); exit 1; }; } |
6016 |
|
else |
6017 |
|
cat >conftest.$ac_ext <<_ACEOF |
6018 |
|
#line $LINENO "configure" |
6019 |
|
/* confdefs.h. */ |
6020 |
|
_ACEOF |
6021 |
|
cat confdefs.h >>conftest.$ac_ext |
6022 |
|
cat >>conftest.$ac_ext <<_ACEOF |
6023 |
|
/* end confdefs.h. */ |
6024 |
|
$ac_includes_default |
6025 |
|
long longval () { return (long) (sizeof (long *)); } |
6026 |
|
unsigned long ulongval () { return (long) (sizeof (long *)); } |
6027 |
|
#include <stdio.h> |
6028 |
|
#include <stdlib.h> |
6029 |
|
int |
6030 |
|
main () |
6031 |
|
{ |
6032 |
|
|
6033 |
|
FILE *f = fopen ("conftest.val", "w"); |
6034 |
|
if (! f) |
6035 |
|
exit (1); |
6036 |
|
if (((long) (sizeof (long *))) < 0) |
6037 |
|
{ |
6038 |
|
long i = longval (); |
6039 |
|
if (i != ((long) (sizeof (long *)))) |
6040 |
|
exit (1); |
6041 |
|
fprintf (f, "%ld\n", i); |
6042 |
|
} |
6043 |
|
else |
6044 |
|
{ |
6045 |
|
unsigned long i = ulongval (); |
6046 |
|
if (i != ((long) (sizeof (long *)))) |
6047 |
|
exit (1); |
6048 |
|
fprintf (f, "%lu\n", i); |
6049 |
|
} |
6050 |
|
exit (ferror (f) || fclose (f) != 0); |
6051 |
|
|
6052 |
|
; |
6053 |
|
return 0; |
6054 |
|
} |
6055 |
|
_ACEOF |
6056 |
|
rm -f conftest$ac_exeext |
6057 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
6058 |
|
(eval $ac_link) 2>&5 |
6059 |
|
ac_status=$? |
6060 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6061 |
|
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
6062 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6063 |
|
(eval $ac_try) 2>&5 |
6064 |
|
ac_status=$? |
6065 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6066 |
|
(exit $ac_status); }; }; then |
6067 |
|
ac_cv_sizeof_long_p=`cat conftest.val` |
6068 |
|
else |
6069 |
|
echo "$as_me: program exited with status $ac_status" >&5 |
6070 |
|
echo "$as_me: failed program was:" >&5 |
6071 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
6072 |
|
|
6073 |
|
( exit $ac_status ) |
6074 |
|
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long *), 77 |
6075 |
|
See \`config.log' for more details." >&5 |
6076 |
|
echo "$as_me: error: cannot compute sizeof (long *), 77 |
6077 |
|
See \`config.log' for more details." >&2;} |
6078 |
|
{ (exit 1); exit 1; }; } |
6079 |
fi |
fi |
6080 |
echo "$ac_t""$ac_cv_sizeof_long_p" 1>&6 |
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
6081 |
cat >> confdefs.h <<EOF |
fi |
6082 |
|
fi |
6083 |
|
rm -f conftest.val |
6084 |
|
else |
6085 |
|
ac_cv_sizeof_long_p=0 |
6086 |
|
fi |
6087 |
|
fi |
6088 |
|
echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_p" >&5 |
6089 |
|
echo "${ECHO_T}$ac_cv_sizeof_long_p" >&6 |
6090 |
|
cat >>confdefs.h <<_ACEOF |
6091 |
#define SIZEOF_LONG_P $ac_cv_sizeof_long_p |
#define SIZEOF_LONG_P $ac_cv_sizeof_long_p |
6092 |
EOF |
_ACEOF |
6093 |
|
|
6094 |
|
|
6095 |
|
|
6096 |
|
|
6097 |
for ac_hdr in endian.h |
for ac_header in endian.h |
6098 |
do |
do |
6099 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
6100 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
6101 |
echo "configure:3175: checking for $ac_hdr" >&5 |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
6102 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
6103 |
echo $ac_n "(cached) $ac_c" 1>&6 |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
6104 |
else |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
6105 |
cat > conftest.$ac_ext <<EOF |
fi |
6106 |
#line 3180 "configure" |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
6107 |
#include "confdefs.h" |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
6108 |
#include <$ac_hdr> |
else |
6109 |
EOF |
# Is the header compilable? |
6110 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
6111 |
{ (eval echo configure:3185: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
6112 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
cat >conftest.$ac_ext <<_ACEOF |
6113 |
if test -z "$ac_err"; then |
#line $LINENO "configure" |
6114 |
rm -rf conftest* |
/* confdefs.h. */ |
6115 |
eval "ac_cv_header_$ac_safe=yes" |
_ACEOF |
6116 |
else |
cat confdefs.h >>conftest.$ac_ext |
6117 |
echo "$ac_err" >&5 |
cat >>conftest.$ac_ext <<_ACEOF |
6118 |
echo "configure: failed program was:" >&5 |
/* end confdefs.h. */ |
6119 |
cat conftest.$ac_ext >&5 |
$ac_includes_default |
6120 |
rm -rf conftest* |
#include <$ac_header> |
6121 |
eval "ac_cv_header_$ac_safe=no" |
_ACEOF |
6122 |
fi |
rm -f conftest.$ac_objext |
6123 |
rm -f conftest* |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
6124 |
|
(eval $ac_compile) 2>&5 |
6125 |
|
ac_status=$? |
6126 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6127 |
|
(exit $ac_status); } && |
6128 |
|
{ ac_try='test -s conftest.$ac_objext' |
6129 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6130 |
|
(eval $ac_try) 2>&5 |
6131 |
|
ac_status=$? |
6132 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6133 |
|
(exit $ac_status); }; }; then |
6134 |
|
ac_header_compiler=yes |
6135 |
|
else |
6136 |
|
echo "$as_me: failed program was:" >&5 |
6137 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
6138 |
|
|
6139 |
|
ac_header_compiler=no |
6140 |
|
fi |
6141 |
|
rm -f conftest.$ac_objext conftest.$ac_ext |
6142 |
|
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
6143 |
|
echo "${ECHO_T}$ac_header_compiler" >&6 |
6144 |
|
|
6145 |
|
# Is the header present? |
6146 |
|
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
6147 |
|
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
6148 |
|
cat >conftest.$ac_ext <<_ACEOF |
6149 |
|
#line $LINENO "configure" |
6150 |
|
/* confdefs.h. */ |
6151 |
|
_ACEOF |
6152 |
|
cat confdefs.h >>conftest.$ac_ext |
6153 |
|
cat >>conftest.$ac_ext <<_ACEOF |
6154 |
|
/* end confdefs.h. */ |
6155 |
|
#include <$ac_header> |
6156 |
|
_ACEOF |
6157 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
6158 |
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
6159 |
|
ac_status=$? |
6160 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
6161 |
|
rm -f conftest.er1 |
6162 |
|
cat conftest.err >&5 |
6163 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6164 |
|
(exit $ac_status); } >/dev/null; then |
6165 |
|
if test -s conftest.err; then |
6166 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
6167 |
|
else |
6168 |
|
ac_cpp_err= |
6169 |
|
fi |
6170 |
|
else |
6171 |
|
ac_cpp_err=yes |
6172 |
fi |
fi |
6173 |
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
if test -z "$ac_cpp_err"; then |
6174 |
echo "$ac_t""yes" 1>&6 |
ac_header_preproc=yes |
6175 |
ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` |
else |
6176 |
cat >> confdefs.h <<EOF |
echo "$as_me: failed program was:" >&5 |
6177 |
#define $ac_tr_hdr 1 |
sed 's/^/| /' conftest.$ac_ext >&5 |
6178 |
EOF |
|
6179 |
echo $ac_n "checking "endianness"""... $ac_c" 1>&6 |
ac_header_preproc=no |
6180 |
echo "configure:3206: checking "endianness"" >&5 |
fi |
6181 |
|
rm -f conftest.err conftest.$ac_ext |
6182 |
|
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
6183 |
|
echo "${ECHO_T}$ac_header_preproc" >&6 |
6184 |
|
|
6185 |
|
# So? What about this header? |
6186 |
|
case $ac_header_compiler:$ac_header_preproc in |
6187 |
|
yes:no ) |
6188 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
6189 |
|
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
6190 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
6191 |
|
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
6192 |
|
( |
6193 |
|
cat <<\_ASBOX |
6194 |
|
## ------------------------------------ ## |
6195 |
|
## Report this to bug-autoconf@gnu.org. ## |
6196 |
|
## ------------------------------------ ## |
6197 |
|
_ASBOX |
6198 |
|
) | |
6199 |
|
sed "s/^/$as_me: WARNING: /" >&2 |
6200 |
|
;; |
6201 |
|
no:yes ) |
6202 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
6203 |
|
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
6204 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
6205 |
|
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
6206 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
6207 |
|
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
6208 |
|
( |
6209 |
|
cat <<\_ASBOX |
6210 |
|
## ------------------------------------ ## |
6211 |
|
## Report this to bug-autoconf@gnu.org. ## |
6212 |
|
## ------------------------------------ ## |
6213 |
|
_ASBOX |
6214 |
|
) | |
6215 |
|
sed "s/^/$as_me: WARNING: /" >&2 |
6216 |
|
;; |
6217 |
|
esac |
6218 |
|
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
6219 |
|
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
6220 |
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
6221 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
6222 |
|
else |
6223 |
|
eval "$as_ac_Header=$ac_header_preproc" |
6224 |
|
fi |
6225 |
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
6226 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
6227 |
|
|
6228 |
|
fi |
6229 |
|
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
6230 |
|
cat >>confdefs.h <<_ACEOF |
6231 |
|
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
6232 |
|
_ACEOF |
6233 |
|
echo "$as_me:$LINENO: checking \"endianness\"" >&5 |
6234 |
|
echo $ECHO_N "checking \"endianness\"... $ECHO_C" >&6 |
6235 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
6236 |
echo "$ac_t""big" 1>&6 |
echo "$as_me:$LINENO: result: big" >&5 |
6237 |
|
echo "${ECHO_T}big" >&6 |
6238 |
else |
else |
6239 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
6240 |
#line 3211 "configure" |
#line $LINENO "configure" |
6241 |
#include "confdefs.h" |
/* confdefs.h. */ |
6242 |
|
_ACEOF |
6243 |
|
cat confdefs.h >>conftest.$ac_ext |
6244 |
|
cat >>conftest.$ac_ext <<_ACEOF |
6245 |
|
/* end confdefs.h. */ |
6246 |
#define __ARMEB__ |
#define __ARMEB__ |
6247 |
#include <endian.h> |
#include <endian.h> |
6248 |
int main() { return BYTE_ORDER == __LITTLE_ENDIAN ? 0 : 1;} |
int main() { return BYTE_ORDER == __LITTLE_ENDIAN ? 0 : 1;} |
6249 |
EOF |
_ACEOF |
6250 |
if { (eval echo configure:3217: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
rm -f conftest$ac_exeext |
6251 |
then |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
6252 |
cat >> confdefs.h <<\EOF |
(eval $ac_link) 2>&5 |
6253 |
|
ac_status=$? |
6254 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6255 |
|
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
6256 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6257 |
|
(eval $ac_try) 2>&5 |
6258 |
|
ac_status=$? |
6259 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6260 |
|
(exit $ac_status); }; }; then |
6261 |
|
cat >>confdefs.h <<\_ACEOF |
6262 |
#define LITTLE_END 1 |
#define LITTLE_END 1 |
6263 |
EOF |
_ACEOF |
6264 |
echo "$ac_t""little" 1>&6 |
echo "$as_me:$LINENO: result: little" >&5 |
6265 |
else |
echo "${ECHO_T}little" >&6 |
6266 |
echo "configure: failed program was:" >&5 |
else |
6267 |
cat conftest.$ac_ext >&5 |
echo "$as_me: program exited with status $ac_status" >&5 |
6268 |
rm -fr conftest* |
echo "$as_me: failed program was:" >&5 |
6269 |
echo "$ac_t""big" 1>&6 |
sed 's/^/| /' conftest.$ac_ext >&5 |
6270 |
|
|
6271 |
|
( exit $ac_status ) |
6272 |
|
echo "$as_me:$LINENO: result: big" >&5 |
6273 |
|
echo "${ECHO_T}big" >&6 |
6274 |
fi |
fi |
6275 |
rm -fr conftest* |
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
6276 |
fi |
fi |
|
|
|
|
else |
|
|
echo "$ac_t""no" 1>&6 |
|
6277 |
fi |
fi |
6278 |
|
|
6279 |
done |
done |
6280 |
|
|
6281 |
|
|
6282 |
|
|
6283 |
echo $ac_n "checking "finding DBEGIN"""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking \"finding DBEGIN\"" >&5 |
6284 |
echo "configure:3240: checking "finding DBEGIN"" >&5 |
echo $ECHO_N "checking \"finding DBEGIN\"... $ECHO_C" >&6 |
6285 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
6286 |
dbegin=0 |
dbegin=0 |
6287 |
else |
else |
6288 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
6289 |
#line 3245 "configure" |
#line $LINENO "configure" |
6290 |
#include "confdefs.h" |
/* confdefs.h. */ |
6291 |
|
_ACEOF |
6292 |
|
cat confdefs.h >>conftest.$ac_ext |
6293 |
|
cat >>conftest.$ac_ext <<_ACEOF |
6294 |
|
/* end confdefs.h. */ |
6295 |
#include <stdio.h> |
#include <stdio.h> |
6296 |
#include <stdlib.h> |
#include <stdlib.h> |
6297 |
main() |
main() |
6306 |
fclose(fp); |
fclose(fp); |
6307 |
return 0; |
return 0; |
6308 |
} |
} |
6309 |
EOF |
_ACEOF |
6310 |
if { (eval echo configure:3262: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
rm -f conftest$ac_exeext |
6311 |
then |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
6312 |
|
(eval $ac_link) 2>&5 |
6313 |
|
ac_status=$? |
6314 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6315 |
|
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
6316 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6317 |
|
(eval $ac_try) 2>&5 |
6318 |
|
ac_status=$? |
6319 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6320 |
|
(exit $ac_status); }; }; then |
6321 |
dbegin=`cat conftest1` |
dbegin=`cat conftest1` |
6322 |
else |
else |
6323 |
echo "configure: failed program was:" >&5 |
echo "$as_me: program exited with status $ac_status" >&5 |
6324 |
cat conftest.$ac_ext >&5 |
echo "$as_me: failed program was:" >&5 |
6325 |
rm -fr conftest* |
sed 's/^/| /' conftest.$ac_ext >&5 |
6326 |
dbegin=0 |
|
6327 |
|
( exit $ac_status ) |
6328 |
|
dbegin=0 |
6329 |
fi |
fi |
6330 |
rm -fr conftest* |
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
6331 |
fi |
fi |
6332 |
|
cat >>confdefs.h <<_ACEOF |
|
cat >> confdefs.h <<EOF |
|
6333 |
#define DBEGIN $dbegin \ |
#define DBEGIN $dbegin \ |
6334 |
/* where data begins */ |
/* where data begins */ |
6335 |
|
|
6336 |
EOF |
_ACEOF |
6337 |
|
|
6338 |
echo "$ac_t""got $dbegin" 1>&6 |
echo "$as_me:$LINENO: result: got $dbegin" >&5 |
6339 |
|
echo "${ECHO_T}got $dbegin" >&6 |
6340 |
|
|
6341 |
|
|
6342 |
echo $ac_n "checking "finding CSTACK_ADDRESS"""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking \"finding CSTACK_ADDRESS\"" >&5 |
6343 |
echo "configure:3284: checking "finding CSTACK_ADDRESS"" >&5 |
echo $ECHO_N "checking \"finding CSTACK_ADDRESS\"... $ECHO_C" >&6 |
6344 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
6345 |
cstack_address=0 |
cstack_address=0 |
6346 |
else |
else |
6347 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
6348 |
#line 3289 "configure" |
#line $LINENO "configure" |
6349 |
#include "confdefs.h" |
/* confdefs.h. */ |
6350 |
|
_ACEOF |
6351 |
|
cat confdefs.h >>conftest.$ac_ext |
6352 |
|
cat >>conftest.$ac_ext <<_ACEOF |
6353 |
|
/* end confdefs.h. */ |
6354 |
#include <stdio.h> |
#include <stdio.h> |
6355 |
main() |
main() |
6356 |
{ |
{ |
6360 |
fclose(fp); |
fclose(fp); |
6361 |
return 0; |
return 0; |
6362 |
} |
} |
6363 |
EOF |
_ACEOF |
6364 |
if { (eval echo configure:3301: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
rm -f conftest$ac_exeext |
6365 |
then |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
6366 |
|
(eval $ac_link) 2>&5 |
6367 |
|
ac_status=$? |
6368 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6369 |
|
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
6370 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6371 |
|
(eval $ac_try) 2>&5 |
6372 |
|
ac_status=$? |
6373 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6374 |
|
(exit $ac_status); }; }; then |
6375 |
cstack_address=`cat conftest1` |
cstack_address=`cat conftest1` |
6376 |
else |
else |
6377 |
echo "configure: failed program was:" >&5 |
echo "$as_me: program exited with status $ac_status" >&5 |
6378 |
cat conftest.$ac_ext >&5 |
echo "$as_me: failed program was:" >&5 |
6379 |
rm -fr conftest* |
sed 's/^/| /' conftest.$ac_ext >&5 |
6380 |
cstack_address=0 |
|
6381 |
|
( exit $ac_status ) |
6382 |
|
cstack_address=0 |
6383 |
fi |
fi |
6384 |
rm -fr conftest* |
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
6385 |
fi |
fi |
6386 |
|
cat >>confdefs.h <<_ACEOF |
|
cat >> confdefs.h <<EOF |
|
6387 |
#define CSTACK_ADDRESS $cstack_address \ |
#define CSTACK_ADDRESS $cstack_address \ |
6388 |
|
|
6389 |
EOF |
_ACEOF |
6390 |
|
|
6391 |
echo "$ac_t""got $cstack_address" 1>&6 |
echo "$as_me:$LINENO: result: got $cstack_address" >&5 |
6392 |
|
echo "${ECHO_T}got $cstack_address" >&6 |
6393 |
|
|
6394 |
|
|
6395 |
|
|
6396 |
echo $ac_n "checking "sizeof long long int"""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking \"sizeof long long int\"" >&5 |
6397 |
echo "configure:3323: checking "sizeof long long int"" >&5 |
echo $ECHO_N "checking \"sizeof long long int\"... $ECHO_C" >&6 |
6398 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
6399 |
echo "$ac_t""no" 1>&6 |
echo "$as_me:$LINENO: result: no" >&5 |
6400 |
|
echo "${ECHO_T}no" >&6 |
6401 |
|
|
6402 |
else |
else |
6403 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
6404 |
#line 3329 "configure" |
#line $LINENO "configure" |
6405 |
#include "confdefs.h" |
/* confdefs.h. */ |
6406 |
|
_ACEOF |
6407 |
|
cat confdefs.h >>conftest.$ac_ext |
6408 |
|
cat >>conftest.$ac_ext <<_ACEOF |
6409 |
|
/* end confdefs.h. */ |
6410 |
#include <stdio.h> |
#include <stdio.h> |
6411 |
main() |
main() |
6412 |
{ |
{ |
6414 |
return 1; |
return 1; |
6415 |
} |
} |
6416 |
|
|
6417 |
EOF |
_ACEOF |
6418 |
if { (eval echo configure:3339: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
rm -f conftest$ac_exeext |
6419 |
then |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
6420 |
cat >> confdefs.h <<\EOF |
(eval $ac_link) 2>&5 |
6421 |
|
ac_status=$? |
6422 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6423 |
|
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
6424 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6425 |
|
(eval $ac_try) 2>&5 |
6426 |
|
ac_status=$? |
6427 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6428 |
|
(exit $ac_status); }; }; then |
6429 |
|
cat >>confdefs.h <<\_ACEOF |
6430 |
#define HAVE_LONG_LONG 1 |
#define HAVE_LONG_LONG 1 |
6431 |
EOF |
_ACEOF |
6432 |
|
|
6433 |
echo "$ac_t""yes" 1>&6 |
echo "$as_me:$LINENO: result: yes" >&5 |
6434 |
|
echo "${ECHO_T}yes" >&6 |
6435 |
else |
else |
6436 |
echo "configure: failed program was:" >&5 |
echo "$as_me: program exited with status $ac_status" >&5 |
6437 |
cat conftest.$ac_ext >&5 |
echo "$as_me: failed program was:" >&5 |
6438 |
rm -fr conftest* |
sed 's/^/| /' conftest.$ac_ext >&5 |
6439 |
echo "$ac_t""no" 1>&6 |
|
6440 |
|
( exit $ac_status ) |
6441 |
|
echo "$as_me:$LINENO: result: no" >&5 |
6442 |
|
echo "${ECHO_T}no" >&6 |
6443 |
fi |
fi |
6444 |
rm -fr conftest* |
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
6445 |
fi |
fi |
6446 |
|
|
6447 |
|
|
6448 |
|
|
|
|
|
6449 |
# readline |
# readline |
6450 |
# Check whether --enable-readline or --disable-readline was given. |
# Check whether --enable-readline or --disable-readline was given. |
6451 |
if test "${enable_readline+set}" = set; then |
if test "${enable_readline+set}" = set; then |
6452 |
enableval="$enable_readline" |
enableval="$enable_readline" |
6453 |
: |
|
6454 |
else |
else |
6455 |
enable_readline="yes" |
enable_readline="yes" |
6456 |
fi |
fi; |
|
|
|
6457 |
|
|
6458 |
# ansi lisp |
# ansi lisp |
6459 |
# Check whether --enable-ansi or --disable-ansi was given. |
# Check whether --enable-ansi or --disable-ansi was given. |
6460 |
if test "${enable_ansi+set}" = set; then |
if test "${enable_ansi+set}" = set; then |
6461 |
enableval="$enable_ansi" |
enableval="$enable_ansi" |
6462 |
: |
|
6463 |
else |
else |
6464 |
enable_ansi="no" |
enable_ansi="no" |
6465 |
fi |
fi; |
|
|
|
6466 |
|
|
6467 |
if test "$enable_ansi" = "yes" ; then |
if test "$enable_ansi" = "yes" ; then |
6468 |
SYSTEM=ansi_gcl |
SYSTEM=ansi_gcl |
6469 |
cat >> confdefs.h <<\EOF |
cat >>confdefs.h <<\_ACEOF |
6470 |
#define ANSI_COMMON_LISP 1 |
#define ANSI_COMMON_LISP 1 |
6471 |
EOF |
_ACEOF |
6472 |
|
|
6473 |
else |
else |
6474 |
SYSTEM=gcl |
SYSTEM=gcl |
6479 |
|
|
6480 |
|
|
6481 |
# pagewidth |
# pagewidth |
6482 |
echo $ac_n "checking for pagewidth""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for pagewidth" >&5 |
6483 |
echo "configure:3394: checking for pagewidth" >&5 |
echo $ECHO_N "checking for pagewidth... $ECHO_C" >&6 |
6484 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
6485 |
PAGEWIDTH=0 |
PAGEWIDTH=0 |
6486 |
else |
else |
6487 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
6488 |
#line 3399 "configure" |
#line $LINENO "configure" |
6489 |
#include "confdefs.h" |
/* confdefs.h. */ |
6490 |
|
_ACEOF |
6491 |
|
cat confdefs.h >>conftest.$ac_ext |
6492 |
|
cat >>conftest.$ac_ext <<_ACEOF |
6493 |
|
/* end confdefs.h. */ |
6494 |
#include <stdio.h> |
#include <stdio.h> |
6495 |
#include <unistd.h> |
#include <unistd.h> |
6496 |
int main() {size_t i=getpagesize(),j; |
int main() {size_t i=getpagesize(),j; |
6497 |
FILE *fp=fopen("conftest1","w"); |
FILE *fp=fopen("conftest1","w"); |
6498 |
for (j=0;i>>=1;j++); |
for (j=0;i>>=1;j++); |
6499 |
fprintf(fp,"%u",j); |
fprintf(fp,"%u",j); |
6500 |
return 0;} |
return 0;} |
6501 |
EOF |
_ACEOF |
6502 |
if { (eval echo configure:3409: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
rm -f conftest$ac_exeext |
6503 |
then |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
6504 |
|
(eval $ac_link) 2>&5 |
6505 |
|
ac_status=$? |
6506 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6507 |
|
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
6508 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6509 |
|
(eval $ac_try) 2>&5 |
6510 |
|
ac_status=$? |
6511 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6512 |
|
(exit $ac_status); }; }; then |
6513 |
PAGEWIDTH=`cat conftest1` |
PAGEWIDTH=`cat conftest1` |
6514 |
else |
else |
6515 |
echo "configure: failed program was:" >&5 |
echo "$as_me: program exited with status $ac_status" >&5 |
6516 |
cat conftest.$ac_ext >&5 |
echo "$as_me: failed program was:" >&5 |
6517 |
rm -fr conftest* |
sed 's/^/| /' conftest.$ac_ext >&5 |
6518 |
PAGEWIDTH=0 |
|
6519 |
fi |
( exit $ac_status ) |
6520 |
rm -fr conftest* |
PAGEWIDTH=0 |
6521 |
fi |
fi |
6522 |
|
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
6523 |
echo "$ac_t""$PAGEWIDTH" 1>&6 |
fi |
6524 |
cat >> confdefs.h <<EOF |
echo "$as_me:$LINENO: result: $PAGEWIDTH" >&5 |
6525 |
|
echo "${ECHO_T}$PAGEWIDTH" >&6 |
6526 |
|
cat >>confdefs.h <<_ACEOF |
6527 |
#define PAGEWIDTH $PAGEWIDTH |
#define PAGEWIDTH $PAGEWIDTH |
6528 |
EOF |
_ACEOF |
6529 |
|
|
6530 |
|
|
6531 |
|
|
6534 |
|
|
6535 |
|
|
6536 |
# Check if Posix compliant getcwd exists, if not we'll use getwd. |
# Check if Posix compliant getcwd exists, if not we'll use getwd. |
6537 |
|
|
6538 |
for ac_func in getcwd |
for ac_func in getcwd |
6539 |
do |
do |
6540 |
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
6541 |
echo "configure:3436: checking for $ac_func" >&5 |
echo "$as_me:$LINENO: checking for $ac_func" >&5 |
6542 |
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
6543 |
echo $ac_n "(cached) $ac_c" 1>&6 |
if eval "test \"\${$as_ac_var+set}\" = set"; then |
6544 |
else |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
6545 |
cat > conftest.$ac_ext <<EOF |
else |
6546 |
#line 3441 "configure" |
cat >conftest.$ac_ext <<_ACEOF |
6547 |
#include "confdefs.h" |
#line $LINENO "configure" |
6548 |
|
/* confdefs.h. */ |
6549 |
|
_ACEOF |
6550 |
|
cat confdefs.h >>conftest.$ac_ext |
6551 |
|
cat >>conftest.$ac_ext <<_ACEOF |
6552 |
|
/* end confdefs.h. */ |
6553 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
6554 |
which can conflict with char $ac_func(); below. */ |
which can conflict with char $ac_func (); below. |
6555 |
#include <assert.h> |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
6556 |
|
<limits.h> exists even on freestanding compilers. */ |
6557 |
|
#ifdef __STDC__ |
6558 |
|
# include <limits.h> |
6559 |
|
#else |
6560 |
|
# include <assert.h> |
6561 |
|
#endif |
6562 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
6563 |
|
#ifdef __cplusplus |
6564 |
|
extern "C" |
6565 |
|
{ |
6566 |
|
#endif |
6567 |
/* 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 |
6568 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
6569 |
char $ac_func(); |
char $ac_func (); |
|
|
|
|
int main() { |
|
|
|
|
6570 |
/* The GNU C library defines this for functions which it implements |
/* The GNU C library defines this for functions which it implements |
6571 |
to always fail with ENOSYS. Some functions are actually named |
to always fail with ENOSYS. Some functions are actually named |
6572 |
something starting with __ and the normal name is an alias. */ |
something starting with __ and the normal name is an alias. */ |
6573 |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
6574 |
choke me |
choke me |
6575 |
#else |
#else |
6576 |
$ac_func(); |
char (*f) () = $ac_func; |
6577 |
|
#endif |
6578 |
|
#ifdef __cplusplus |
6579 |
|
} |
6580 |
#endif |
#endif |
6581 |
|
|
6582 |
; return 0; } |
int |
6583 |
EOF |
main () |
6584 |
if { (eval echo configure:3464: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
{ |
6585 |
rm -rf conftest* |
return f != $ac_func; |
6586 |
eval "ac_cv_func_$ac_func=yes" |
; |
6587 |
else |
return 0; |
6588 |
echo "configure: failed program was:" >&5 |
} |
6589 |
cat conftest.$ac_ext >&5 |
_ACEOF |
6590 |
rm -rf conftest* |
rm -f conftest.$ac_objext conftest$ac_exeext |
6591 |
eval "ac_cv_func_$ac_func=no" |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
6592 |
fi |
(eval $ac_link) 2>&5 |
6593 |
rm -f conftest* |
ac_status=$? |
6594 |
fi |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6595 |
|
(exit $ac_status); } && |
6596 |
|
{ ac_try='test -s conftest$ac_exeext' |
6597 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6598 |
|
(eval $ac_try) 2>&5 |
6599 |
|
ac_status=$? |
6600 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6601 |
|
(exit $ac_status); }; }; then |
6602 |
|
eval "$as_ac_var=yes" |
6603 |
|
else |
6604 |
|
echo "$as_me: failed program was:" >&5 |
6605 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
6606 |
|
|
6607 |
|
eval "$as_ac_var=no" |
6608 |
|
fi |
6609 |
|
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
6610 |
|
fi |
6611 |
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
6612 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
6613 |
|
if test `eval echo '${'$as_ac_var'}'` = yes; then |
6614 |
|
cat >>confdefs.h <<_ACEOF |
6615 |
|
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
6616 |
|
_ACEOF |
6617 |
|
|
|
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 |
|
6618 |
fi |
fi |
6619 |
done |
done |
6620 |
|
|
6621 |
|
|
6622 |
for ac_func in getwd |
for ac_func in getwd |
6623 |
do |
do |
6624 |
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
6625 |
echo "configure:3491: checking for $ac_func" >&5 |
echo "$as_me:$LINENO: checking for $ac_func" >&5 |
6626 |
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
6627 |
echo $ac_n "(cached) $ac_c" 1>&6 |
if eval "test \"\${$as_ac_var+set}\" = set"; then |
6628 |
else |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
6629 |
cat > conftest.$ac_ext <<EOF |
else |
6630 |
#line 3496 "configure" |
cat >conftest.$ac_ext <<_ACEOF |
6631 |
#include "confdefs.h" |
#line $LINENO "configure" |
6632 |
|
/* confdefs.h. */ |
6633 |
|
_ACEOF |
6634 |
|
cat confdefs.h >>conftest.$ac_ext |
6635 |
|
cat >>conftest.$ac_ext <<_ACEOF |
6636 |
|
/* end confdefs.h. */ |
6637 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
6638 |
which can conflict with char $ac_func(); below. */ |
which can conflict with char $ac_func (); below. |
6639 |
#include <assert.h> |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
6640 |
|
<limits.h> exists even on freestanding compilers. */ |
6641 |
|
#ifdef __STDC__ |
6642 |
|
# include <limits.h> |
6643 |
|
#else |
6644 |
|
# include <assert.h> |
6645 |
|
#endif |
6646 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
6647 |
|
#ifdef __cplusplus |
6648 |
|
extern "C" |
6649 |
|
{ |
6650 |
|
#endif |
6651 |
/* 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 |
6652 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
6653 |
char $ac_func(); |
char $ac_func (); |
|
|
|
|
int main() { |
|
|
|
|
6654 |
/* The GNU C library defines this for functions which it implements |
/* The GNU C library defines this for functions which it implements |
6655 |
to always fail with ENOSYS. Some functions are actually named |
to always fail with ENOSYS. Some functions are actually named |
6656 |
something starting with __ and the normal name is an alias. */ |
something starting with __ and the normal name is an alias. */ |
6657 |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
6658 |
choke me |
choke me |
6659 |
#else |
#else |
6660 |
$ac_func(); |
char (*f) () = $ac_func; |
6661 |
|
#endif |
6662 |
|
#ifdef __cplusplus |
6663 |
|
} |
6664 |
#endif |
#endif |
6665 |
|
|
6666 |
; return 0; } |
int |
6667 |
EOF |
main () |
6668 |
if { (eval echo configure:3519: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
{ |
6669 |
rm -rf conftest* |
return f != $ac_func; |
6670 |
eval "ac_cv_func_$ac_func=yes" |
; |
6671 |
else |
return 0; |
6672 |
echo "configure: failed program was:" >&5 |
} |
6673 |
cat conftest.$ac_ext >&5 |
_ACEOF |
6674 |
rm -rf conftest* |
rm -f conftest.$ac_objext conftest$ac_exeext |
6675 |
eval "ac_cv_func_$ac_func=no" |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
6676 |
fi |
(eval $ac_link) 2>&5 |
6677 |
rm -f conftest* |
ac_status=$? |
6678 |
fi |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6679 |
|
(exit $ac_status); } && |
6680 |
|
{ ac_try='test -s conftest$ac_exeext' |
6681 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6682 |
|
(eval $ac_try) 2>&5 |
6683 |
|
ac_status=$? |
6684 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6685 |
|
(exit $ac_status); }; }; then |
6686 |
|
eval "$as_ac_var=yes" |
6687 |
|
else |
6688 |
|
echo "$as_me: failed program was:" >&5 |
6689 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
6690 |
|
|
6691 |
|
eval "$as_ac_var=no" |
6692 |
|
fi |
6693 |
|
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
6694 |
|
fi |
6695 |
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
6696 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
6697 |
|
if test `eval echo '${'$as_ac_var'}'` = yes; then |
6698 |
|
cat >>confdefs.h <<_ACEOF |
6699 |
|
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
6700 |
|
_ACEOF |
6701 |
|
|
|
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 |
|
6702 |
fi |
fi |
6703 |
done |
done |
6704 |
|
|
6705 |
echo $ac_n "checking for uname""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for uname" >&5 |
6706 |
echo "configure:3544: checking for uname" >&5 |
echo $ECHO_N "checking for uname... $ECHO_C" >&6 |
6707 |
if eval "test \"`echo '$''{'ac_cv_func_uname'+set}'`\" = set"; then |
if test "${ac_cv_func_uname+set}" = set; then |
6708 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
6709 |
else |
else |
6710 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
6711 |
#line 3549 "configure" |
#line $LINENO "configure" |
6712 |
#include "confdefs.h" |
/* confdefs.h. */ |
6713 |
|
_ACEOF |
6714 |
|
cat confdefs.h >>conftest.$ac_ext |
6715 |
|
cat >>conftest.$ac_ext <<_ACEOF |
6716 |
|
/* end confdefs.h. */ |
6717 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
6718 |
which can conflict with char uname(); below. */ |
which can conflict with char uname (); below. |
6719 |
#include <assert.h> |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
6720 |
|
<limits.h> exists even on freestanding compilers. */ |
6721 |
|
#ifdef __STDC__ |
6722 |
|
# include <limits.h> |
6723 |
|
#else |
6724 |
|
# include <assert.h> |
6725 |
|
#endif |
6726 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
6727 |
|
#ifdef __cplusplus |
6728 |
|
extern "C" |
6729 |
|
{ |
6730 |
|
#endif |
6731 |
/* 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 |
6732 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
6733 |
char uname(); |
char uname (); |
|
|
|
|
int main() { |
|
|
|
|
6734 |
/* The GNU C library defines this for functions which it implements |
/* The GNU C library defines this for functions which it implements |
6735 |
to always fail with ENOSYS. Some functions are actually named |
to always fail with ENOSYS. Some functions are actually named |
6736 |
something starting with __ and the normal name is an alias. */ |
something starting with __ and the normal name is an alias. */ |
6737 |
#if defined (__stub_uname) || defined (__stub___uname) |
#if defined (__stub_uname) || defined (__stub___uname) |
6738 |
choke me |
choke me |
6739 |
#else |
#else |
6740 |
uname(); |
char (*f) () = uname; |
6741 |
|
#endif |
6742 |
|
#ifdef __cplusplus |
6743 |
|
} |
6744 |
#endif |
#endif |
6745 |
|
|
6746 |
; return 0; } |
int |
6747 |
EOF |
main () |
6748 |
if { (eval echo configure:3572: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
{ |
6749 |
rm -rf conftest* |
return f != uname; |
6750 |
eval "ac_cv_func_uname=yes" |
; |
6751 |
else |
return 0; |
6752 |
echo "configure: failed program was:" >&5 |
} |
6753 |
cat conftest.$ac_ext >&5 |
_ACEOF |
6754 |
rm -rf conftest* |
rm -f conftest.$ac_objext conftest$ac_exeext |
6755 |
eval "ac_cv_func_uname=no" |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
6756 |
fi |
(eval $ac_link) 2>&5 |
6757 |
rm -f conftest* |
ac_status=$? |
6758 |
fi |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6759 |
|
(exit $ac_status); } && |
6760 |
if eval "test \"`echo '$ac_cv_func_'uname`\" = yes"; then |
{ ac_try='test -s conftest$ac_exeext' |
6761 |
echo "$ac_t""yes" 1>&6 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6762 |
|
(eval $ac_try) 2>&5 |
6763 |
|
ac_status=$? |
6764 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6765 |
|
(exit $ac_status); }; }; then |
6766 |
|
ac_cv_func_uname=yes |
6767 |
|
else |
6768 |
|
echo "$as_me: failed program was:" >&5 |
6769 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
6770 |
|
|
6771 |
|
ac_cv_func_uname=no |
6772 |
|
fi |
6773 |
|
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
6774 |
|
fi |
6775 |
|
echo "$as_me:$LINENO: result: $ac_cv_func_uname" >&5 |
6776 |
|
echo "${ECHO_T}$ac_cv_func_uname" >&6 |
6777 |
|
if test $ac_cv_func_uname = yes; then |
6778 |
: |
: |
6779 |
else |
else |
6780 |
echo "$ac_t""no" 1>&6 |
cat >>confdefs.h <<\_ACEOF |
|
cat >> confdefs.h <<\EOF |
|
6781 |
#define NO_UNAME 1 |
#define NO_UNAME 1 |
6782 |
EOF |
_ACEOF |
6783 |
|
|
6784 |
fi |
fi |
6785 |
|
|
6786 |
echo $ac_n "checking for gettimeofday""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for gettimeofday" >&5 |
6787 |
echo "configure:3596: checking for gettimeofday" >&5 |
echo $ECHO_N "checking for gettimeofday... $ECHO_C" >&6 |
6788 |
if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+set}'`\" = set"; then |
if test "${ac_cv_func_gettimeofday+set}" = set; then |
6789 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
6790 |
else |
else |
6791 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
6792 |
#line 3601 "configure" |
#line $LINENO "configure" |
6793 |
#include "confdefs.h" |
/* confdefs.h. */ |
6794 |
|
_ACEOF |
6795 |
|
cat confdefs.h >>conftest.$ac_ext |
6796 |
|
cat >>conftest.$ac_ext <<_ACEOF |
6797 |
|
/* end confdefs.h. */ |
6798 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
6799 |
which can conflict with char gettimeofday(); below. */ |
which can conflict with char gettimeofday (); below. |
6800 |
#include <assert.h> |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
6801 |
|
<limits.h> exists even on freestanding compilers. */ |
6802 |
|
#ifdef __STDC__ |
6803 |
|
# include <limits.h> |
6804 |
|
#else |
6805 |
|
# include <assert.h> |
6806 |
|
#endif |
6807 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
6808 |
|
#ifdef __cplusplus |
6809 |
|
extern "C" |
6810 |
|
{ |
6811 |
|
#endif |
6812 |
/* 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 |
6813 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
6814 |
char gettimeofday(); |
char gettimeofday (); |
|
|
|
|
int main() { |
|
|
|
|
6815 |
/* The GNU C library defines this for functions which it implements |
/* The GNU C library defines this for functions which it implements |
6816 |
to always fail with ENOSYS. Some functions are actually named |
to always fail with ENOSYS. Some functions are actually named |
6817 |
something starting with __ and the normal name is an alias. */ |
something starting with __ and the normal name is an alias. */ |
6818 |
#if defined (__stub_gettimeofday) || defined (__stub___gettimeofday) |
#if defined (__stub_gettimeofday) || defined (__stub___gettimeofday) |
6819 |
choke me |
choke me |
6820 |
#else |
#else |
6821 |
gettimeofday(); |
char (*f) () = gettimeofday; |
6822 |
|
#endif |
6823 |
|
#ifdef __cplusplus |
6824 |
|
} |
6825 |
#endif |
#endif |
6826 |
|
|
6827 |
; return 0; } |
int |
6828 |
EOF |
main () |
6829 |
if { (eval echo configure:3624: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
{ |
6830 |
rm -rf conftest* |
return f != gettimeofday; |
6831 |
eval "ac_cv_func_gettimeofday=yes" |
; |
6832 |
else |
return 0; |
6833 |
echo "configure: failed program was:" >&5 |
} |
6834 |
cat conftest.$ac_ext >&5 |
_ACEOF |
6835 |
rm -rf conftest* |
rm -f conftest.$ac_objext conftest$ac_exeext |
6836 |
eval "ac_cv_func_gettimeofday=no" |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
6837 |
fi |
(eval $ac_link) 2>&5 |
6838 |
rm -f conftest* |
ac_status=$? |
6839 |
fi |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6840 |
|
(exit $ac_status); } && |
6841 |
if eval "test \"`echo '$ac_cv_func_'gettimeofday`\" = yes"; then |
{ ac_try='test -s conftest$ac_exeext' |
6842 |
echo "$ac_t""yes" 1>&6 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6843 |
|
(eval $ac_try) 2>&5 |
6844 |
|
ac_status=$? |
6845 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6846 |
|
(exit $ac_status); }; }; then |
6847 |
|
ac_cv_func_gettimeofday=yes |
6848 |
|
else |
6849 |
|
echo "$as_me: failed program was:" >&5 |
6850 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
6851 |
|
|
6852 |
|
ac_cv_func_gettimeofday=no |
6853 |
|
fi |
6854 |
|
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
6855 |
|
fi |
6856 |
|
echo "$as_me:$LINENO: result: $ac_cv_func_gettimeofday" >&5 |
6857 |
|
echo "${ECHO_T}$ac_cv_func_gettimeofday" >&6 |
6858 |
|
if test $ac_cv_func_gettimeofday = yes; then |
6859 |
: |
: |
6860 |
else |
else |
6861 |
echo "$ac_t""no" 1>&6 |
cat >>confdefs.h <<\_ACEOF |
|
cat >> confdefs.h <<\EOF |
|
6862 |
#define NO_GETTOD 1 |
#define NO_GETTOD 1 |
6863 |
EOF |
_ACEOF |
6864 |
|
|
6865 |
fi |
fi |
6866 |
|
|
6867 |
|
|
6868 |
|
|
6869 |
for ac_hdr in sys/ioctl.h |
|
6870 |
|
for ac_header in sys/ioctl.h |
6871 |
do |
do |
6872 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
6873 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
6874 |
echo "configure:3653: checking for $ac_hdr" >&5 |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
6875 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
6876 |
echo $ac_n "(cached) $ac_c" 1>&6 |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
6877 |
else |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
6878 |
cat > conftest.$ac_ext <<EOF |
fi |
6879 |
#line 3658 "configure" |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
6880 |
#include "confdefs.h" |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
6881 |
#include <$ac_hdr> |
else |
6882 |
EOF |
# Is the header compilable? |
6883 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
6884 |
{ (eval echo configure:3663: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
6885 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
cat >conftest.$ac_ext <<_ACEOF |
6886 |
if test -z "$ac_err"; then |
#line $LINENO "configure" |
6887 |
rm -rf conftest* |
/* confdefs.h. */ |
6888 |
eval "ac_cv_header_$ac_safe=yes" |
_ACEOF |
6889 |
else |
cat confdefs.h >>conftest.$ac_ext |
6890 |
echo "$ac_err" >&5 |
cat >>conftest.$ac_ext <<_ACEOF |
6891 |
echo "configure: failed program was:" >&5 |
/* end confdefs.h. */ |
6892 |
cat conftest.$ac_ext >&5 |
$ac_includes_default |
6893 |
rm -rf conftest* |
#include <$ac_header> |
6894 |
eval "ac_cv_header_$ac_safe=no" |
_ACEOF |
6895 |
fi |
rm -f conftest.$ac_objext |
6896 |
rm -f conftest* |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
6897 |
|
(eval $ac_compile) 2>&5 |
6898 |
|
ac_status=$? |
6899 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6900 |
|
(exit $ac_status); } && |
6901 |
|
{ ac_try='test -s conftest.$ac_objext' |
6902 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6903 |
|
(eval $ac_try) 2>&5 |
6904 |
|
ac_status=$? |
6905 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6906 |
|
(exit $ac_status); }; }; then |
6907 |
|
ac_header_compiler=yes |
6908 |
|
else |
6909 |
|
echo "$as_me: failed program was:" >&5 |
6910 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
6911 |
|
|
6912 |
|
ac_header_compiler=no |
6913 |
|
fi |
6914 |
|
rm -f conftest.$ac_objext conftest.$ac_ext |
6915 |
|
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
6916 |
|
echo "${ECHO_T}$ac_header_compiler" >&6 |
6917 |
|
|
6918 |
|
# Is the header present? |
6919 |
|
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
6920 |
|
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
6921 |
|
cat >conftest.$ac_ext <<_ACEOF |
6922 |
|
#line $LINENO "configure" |
6923 |
|
/* confdefs.h. */ |
6924 |
|
_ACEOF |
6925 |
|
cat confdefs.h >>conftest.$ac_ext |
6926 |
|
cat >>conftest.$ac_ext <<_ACEOF |
6927 |
|
/* end confdefs.h. */ |
6928 |
|
#include <$ac_header> |
6929 |
|
_ACEOF |
6930 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
6931 |
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
6932 |
|
ac_status=$? |
6933 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
6934 |
|
rm -f conftest.er1 |
6935 |
|
cat conftest.err >&5 |
6936 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6937 |
|
(exit $ac_status); } >/dev/null; then |
6938 |
|
if test -s conftest.err; then |
6939 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
6940 |
|
else |
6941 |
|
ac_cpp_err= |
6942 |
|
fi |
6943 |
|
else |
6944 |
|
ac_cpp_err=yes |
6945 |
fi |
fi |
6946 |
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
if test -z "$ac_cpp_err"; then |
6947 |
echo "$ac_t""yes" 1>&6 |
ac_header_preproc=yes |
6948 |
ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` |
else |
6949 |
cat >> confdefs.h <<EOF |
echo "$as_me: failed program was:" >&5 |
6950 |
#define $ac_tr_hdr 1 |
sed 's/^/| /' conftest.$ac_ext >&5 |
6951 |
EOF |
|
6952 |
|
ac_header_preproc=no |
6953 |
|
fi |
6954 |
|
rm -f conftest.err conftest.$ac_ext |
6955 |
|
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
6956 |
|
echo "${ECHO_T}$ac_header_preproc" >&6 |
6957 |
|
|
6958 |
|
# So? What about this header? |
6959 |
|
case $ac_header_compiler:$ac_header_preproc in |
6960 |
|
yes:no ) |
6961 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
6962 |
|
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
6963 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
6964 |
|
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
6965 |
|
( |
6966 |
|
cat <<\_ASBOX |
6967 |
|
## ------------------------------------ ## |
6968 |
|
## Report this to bug-autoconf@gnu.org. ## |
6969 |
|
## ------------------------------------ ## |
6970 |
|
_ASBOX |
6971 |
|
) | |
6972 |
|
sed "s/^/$as_me: WARNING: /" >&2 |
6973 |
|
;; |
6974 |
|
no:yes ) |
6975 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
6976 |
|
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
6977 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
6978 |
|
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
6979 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
6980 |
|
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
6981 |
|
( |
6982 |
|
cat <<\_ASBOX |
6983 |
|
## ------------------------------------ ## |
6984 |
|
## Report this to bug-autoconf@gnu.org. ## |
6985 |
|
## ------------------------------------ ## |
6986 |
|
_ASBOX |
6987 |
|
) | |
6988 |
|
sed "s/^/$as_me: WARNING: /" >&2 |
6989 |
|
;; |
6990 |
|
esac |
6991 |
|
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
6992 |
|
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
6993 |
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
6994 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
6995 |
else |
else |
6996 |
echo "$ac_t""no" 1>&6 |
eval "$as_ac_Header=$ac_header_preproc" |
6997 |
|
fi |
6998 |
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
6999 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
7000 |
|
|
7001 |
fi |
fi |
7002 |
|
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
7003 |
|
cat >>confdefs.h <<_ACEOF |
7004 |
|
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
7005 |
|
_ACEOF |
7006 |
|
|
7007 |
|
fi |
7008 |
|
|
7009 |
done |
done |
7010 |
|
|
7011 |
|
|
7021 |
# declare it. |
# declare it. |
7022 |
#-------------------------------------------------------------------- |
#-------------------------------------------------------------------- |
7023 |
|
|
7024 |
echo $ac_n "checking for BSDgettimeofday""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for BSDgettimeofday" >&5 |
7025 |
echo "configure:3703: checking for BSDgettimeofday" >&5 |
echo $ECHO_N "checking for BSDgettimeofday... $ECHO_C" >&6 |
7026 |
if eval "test \"`echo '$''{'ac_cv_func_BSDgettimeofday'+set}'`\" = set"; then |
if test "${ac_cv_func_BSDgettimeofday+set}" = set; then |
7027 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
7028 |
else |
else |
7029 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
7030 |
#line 3708 "configure" |
#line $LINENO "configure" |
7031 |
#include "confdefs.h" |
/* confdefs.h. */ |
7032 |
|
_ACEOF |
7033 |
|
cat confdefs.h >>conftest.$ac_ext |
7034 |
|
cat >>conftest.$ac_ext <<_ACEOF |
7035 |
|
/* end confdefs.h. */ |
7036 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
7037 |
which can conflict with char BSDgettimeofday(); below. */ |
which can conflict with char BSDgettimeofday (); below. |
7038 |
#include <assert.h> |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
7039 |
|
<limits.h> exists even on freestanding compilers. */ |
7040 |
|
#ifdef __STDC__ |
7041 |
|
# include <limits.h> |
7042 |
|
#else |
7043 |
|
# include <assert.h> |
7044 |
|
#endif |
7045 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
7046 |
|
#ifdef __cplusplus |
7047 |
|
extern "C" |
7048 |
|
{ |
7049 |
|
#endif |
7050 |
/* 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 |
7051 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
7052 |
char BSDgettimeofday(); |
char BSDgettimeofday (); |
|
|
|
|
int main() { |
|
|
|
|
7053 |
/* The GNU C library defines this for functions which it implements |
/* The GNU C library defines this for functions which it implements |
7054 |
to always fail with ENOSYS. Some functions are actually named |
to always fail with ENOSYS. Some functions are actually named |
7055 |
something starting with __ and the normal name is an alias. */ |
something starting with __ and the normal name is an alias. */ |
7056 |
#if defined (__stub_BSDgettimeofday) || defined (__stub___BSDgettimeofday) |
#if defined (__stub_BSDgettimeofday) || defined (__stub___BSDgettimeofday) |
7057 |
choke me |
choke me |
7058 |
#else |
#else |
7059 |
BSDgettimeofday(); |
char (*f) () = BSDgettimeofday; |
7060 |
|
#endif |
7061 |
|
#ifdef __cplusplus |
7062 |
|
} |
7063 |
#endif |
#endif |
7064 |
|
|
7065 |
; return 0; } |
int |
7066 |
EOF |
main () |
7067 |
if { (eval echo configure:3731: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
{ |
7068 |
rm -rf conftest* |
return f != BSDgettimeofday; |
7069 |
eval "ac_cv_func_BSDgettimeofday=yes" |
; |
7070 |
else |
return 0; |
7071 |
echo "configure: failed program was:" >&5 |
} |
7072 |
cat conftest.$ac_ext >&5 |
_ACEOF |
7073 |
rm -rf conftest* |
rm -f conftest.$ac_objext conftest$ac_exeext |
7074 |
eval "ac_cv_func_BSDgettimeofday=no" |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
7075 |
fi |
(eval $ac_link) 2>&5 |
7076 |
rm -f conftest* |
ac_status=$? |
7077 |
fi |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7078 |
|
(exit $ac_status); } && |
7079 |
if eval "test \"`echo '$ac_cv_func_'BSDgettimeofday`\" = yes"; then |
{ ac_try='test -s conftest$ac_exeext' |
7080 |
echo "$ac_t""yes" 1>&6 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7081 |
cat >> confdefs.h <<\EOF |
(eval $ac_try) 2>&5 |
7082 |
|
ac_status=$? |
7083 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7084 |
|
(exit $ac_status); }; }; then |
7085 |
|
ac_cv_func_BSDgettimeofday=yes |
7086 |
|
else |
7087 |
|
echo "$as_me: failed program was:" >&5 |
7088 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
7089 |
|
|
7090 |
|
ac_cv_func_BSDgettimeofday=no |
7091 |
|
fi |
7092 |
|
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
7093 |
|
fi |
7094 |
|
echo "$as_me:$LINENO: result: $ac_cv_func_BSDgettimeofday" >&5 |
7095 |
|
echo "${ECHO_T}$ac_cv_func_BSDgettimeofday" >&6 |
7096 |
|
if test $ac_cv_func_BSDgettimeofday = yes; then |
7097 |
|
cat >>confdefs.h <<\_ACEOF |
7098 |
#define HAVE_BSDGETTIMEOFDAY 1 |
#define HAVE_BSDGETTIMEOFDAY 1 |
7099 |
EOF |
_ACEOF |
7100 |
|
|
7101 |
else |
else |
7102 |
echo "$ac_t""no" 1>&6 |
echo "$as_me:$LINENO: checking for gettimeofday" >&5 |
7103 |
echo $ac_n "checking for gettimeofday""... $ac_c" 1>&6 |
echo $ECHO_N "checking for gettimeofday... $ECHO_C" >&6 |
7104 |
echo "configure:3752: checking for gettimeofday" >&5 |
if test "${ac_cv_func_gettimeofday+set}" = set; then |
7105 |
if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+set}'`\" = set"; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
7106 |
echo $ac_n "(cached) $ac_c" 1>&6 |
else |
7107 |
else |
cat >conftest.$ac_ext <<_ACEOF |
7108 |
cat > conftest.$ac_ext <<EOF |
#line $LINENO "configure" |
7109 |
#line 3757 "configure" |
/* confdefs.h. */ |
7110 |
#include "confdefs.h" |
_ACEOF |
7111 |
|
cat confdefs.h >>conftest.$ac_ext |
7112 |
|
cat >>conftest.$ac_ext <<_ACEOF |
7113 |
|
/* end confdefs.h. */ |
7114 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
7115 |
which can conflict with char gettimeofday(); below. */ |
which can conflict with char gettimeofday (); below. |
7116 |
#include <assert.h> |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
7117 |
|
<limits.h> exists even on freestanding compilers. */ |
7118 |
|
#ifdef __STDC__ |
7119 |
|
# include <limits.h> |
7120 |
|
#else |
7121 |
|
# include <assert.h> |
7122 |
|
#endif |
7123 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
7124 |
|
#ifdef __cplusplus |
7125 |
|
extern "C" |
7126 |
|
{ |
7127 |
|
#endif |
7128 |
/* 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 |
7129 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
7130 |
char gettimeofday(); |
char gettimeofday (); |
|
|
|
|
int main() { |
|
|
|
|
7131 |
/* The GNU C library defines this for functions which it implements |
/* The GNU C library defines this for functions which it implements |
7132 |
to always fail with ENOSYS. Some functions are actually named |
to always fail with ENOSYS. Some functions are actually named |
7133 |
something starting with __ and the normal name is an alias. */ |
something starting with __ and the normal name is an alias. */ |
7134 |
#if defined (__stub_gettimeofday) || defined (__stub___gettimeofday) |
#if defined (__stub_gettimeofday) || defined (__stub___gettimeofday) |
7135 |
choke me |
choke me |
7136 |
#else |
#else |
7137 |
gettimeofday(); |
char (*f) () = gettimeofday; |
7138 |
|
#endif |
7139 |
|
#ifdef __cplusplus |
7140 |
|
} |
7141 |
#endif |
#endif |
7142 |
|
|
7143 |
; return 0; } |
int |
7144 |
EOF |
main () |
7145 |
if { (eval echo configure:3780: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
{ |
7146 |
rm -rf conftest* |
return f != gettimeofday; |
7147 |
eval "ac_cv_func_gettimeofday=yes" |
; |
7148 |
else |
return 0; |
7149 |
echo "configure: failed program was:" >&5 |
} |
7150 |
cat conftest.$ac_ext >&5 |
_ACEOF |
7151 |
rm -rf conftest* |
rm -f conftest.$ac_objext conftest$ac_exeext |
7152 |
eval "ac_cv_func_gettimeofday=no" |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
7153 |
fi |
(eval $ac_link) 2>&5 |
7154 |
rm -f conftest* |
ac_status=$? |
7155 |
fi |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7156 |
|
(exit $ac_status); } && |
7157 |
if eval "test \"`echo '$ac_cv_func_'gettimeofday`\" = yes"; then |
{ ac_try='test -s conftest$ac_exeext' |
7158 |
echo "$ac_t""yes" 1>&6 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7159 |
|
(eval $ac_try) 2>&5 |
7160 |
|
ac_status=$? |
7161 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7162 |
|
(exit $ac_status); }; }; then |
7163 |
|
ac_cv_func_gettimeofday=yes |
7164 |
|
else |
7165 |
|
echo "$as_me: failed program was:" >&5 |
7166 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
7167 |
|
|
7168 |
|
ac_cv_func_gettimeofday=no |
7169 |
|
fi |
7170 |
|
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
7171 |
|
fi |
7172 |
|
echo "$as_me:$LINENO: result: $ac_cv_func_gettimeofday" >&5 |
7173 |
|
echo "${ECHO_T}$ac_cv_func_gettimeofday" >&6 |
7174 |
|
if test $ac_cv_func_gettimeofday = yes; then |
7175 |
: |
: |
7176 |
else |
else |
7177 |
echo "$ac_t""no" 1>&6 |
cat >>confdefs.h <<\_ACEOF |
|
cat >> confdefs.h <<\EOF |
|
7178 |
#define NO_GETTOD 1 |
#define NO_GETTOD 1 |
7179 |
EOF |
_ACEOF |
7180 |
|
|
7181 |
fi |
fi |
7182 |
|
|
7183 |
fi |
fi |
7184 |
|
|
7185 |
|
|
7186 |
echo $ac_n "checking for gettimeofday declaration""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for gettimeofday declaration" >&5 |
7187 |
echo "configure:3807: checking for gettimeofday declaration" >&5 |
echo $ECHO_N "checking for gettimeofday declaration... $ECHO_C" >&6 |
7188 |
|
|
7189 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
7190 |
#line 3810 "configure" |
#line $LINENO "configure" |
7191 |
#include "confdefs.h" |
/* confdefs.h. */ |
7192 |
|
_ACEOF |
7193 |
|
cat confdefs.h >>conftest.$ac_ext |
7194 |
|
cat >>conftest.$ac_ext <<_ACEOF |
7195 |
|
/* end confdefs.h. */ |
7196 |
#include <sys/time.h> |
#include <sys/time.h> |
7197 |
EOF |
|
7198 |
|
_ACEOF |
7199 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
7200 |
egrep "gettimeofday" >/dev/null 2>&1; then |
$EGREP "gettimeofday" >/dev/null 2>&1; then |
7201 |
rm -rf conftest* |
echo "$as_me:$LINENO: result: present" >&5 |
7202 |
echo "$ac_t""present" 1>&6 |
echo "${ECHO_T}present" >&6 |
7203 |
else |
else |
7204 |
rm -rf conftest* |
echo "$as_me:$LINENO: result: missing" >&5 |
7205 |
echo "$ac_t""missing" 1>&6 |
echo "${ECHO_T}missing" >&6 |
7206 |
cat >> confdefs.h <<\EOF |
cat >>confdefs.h <<\_ACEOF |
7207 |
#define GETTOD_NOT_DECLARED 1 |
#define GETTOD_NOT_DECLARED 1 |
7208 |
EOF |
_ACEOF |
7209 |
|
|
7210 |
fi |
fi |
7211 |
rm -f conftest* |
rm -f conftest* |
7212 |
|
|
7213 |
|
|
7214 |
|
|
7215 |
echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for sin in -lm" >&5 |
7216 |
echo "configure:3831: checking for sin in -lm" >&5 |
echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6 |
7217 |
ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` |
if test "${ac_cv_lib_m_sin+set}" = set; then |
7218 |
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 |
|
7219 |
else |
else |
7220 |
ac_save_LIBS="$LIBS" |
ac_check_lib_save_LIBS=$LIBS |
7221 |
LIBS="-lm $LIBS" |
LIBS="-lm $LIBS" |
7222 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
7223 |
#line 3839 "configure" |
#line $LINENO "configure" |
7224 |
#include "confdefs.h" |
/* confdefs.h. */ |
7225 |
|
_ACEOF |
7226 |
|
cat confdefs.h >>conftest.$ac_ext |
7227 |
|
cat >>conftest.$ac_ext <<_ACEOF |
7228 |
|
/* end confdefs.h. */ |
7229 |
|
|
7230 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
7231 |
|
#ifdef __cplusplus |
7232 |
|
extern "C" |
7233 |
|
#endif |
7234 |
/* 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 |
7235 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
7236 |
char sin(); |
char sin (); |
7237 |
|
int |
7238 |
int main() { |
main () |
7239 |
sin() |
{ |
7240 |
; return 0; } |
sin (); |
7241 |
EOF |
; |
7242 |
if { (eval echo configure:3850: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
return 0; |
7243 |
rm -rf conftest* |
} |
7244 |
eval "ac_cv_lib_$ac_lib_var=yes" |
_ACEOF |
7245 |
else |
rm -f conftest.$ac_objext conftest$ac_exeext |
7246 |
echo "configure: failed program was:" >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
7247 |
cat conftest.$ac_ext >&5 |
(eval $ac_link) 2>&5 |
7248 |
rm -rf conftest* |
ac_status=$? |
7249 |
eval "ac_cv_lib_$ac_lib_var=no" |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7250 |
fi |
(exit $ac_status); } && |
7251 |
rm -f conftest* |
{ ac_try='test -s conftest$ac_exeext' |
7252 |
LIBS="$ac_save_LIBS" |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7253 |
|
(eval $ac_try) 2>&5 |
7254 |
fi |
ac_status=$? |
7255 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7256 |
echo "$ac_t""yes" 1>&6 |
(exit $ac_status); }; }; then |
7257 |
|
ac_cv_lib_m_sin=yes |
7258 |
|
else |
7259 |
|
echo "$as_me: failed program was:" >&5 |
7260 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
7261 |
|
|
7262 |
|
ac_cv_lib_m_sin=no |
7263 |
|
fi |
7264 |
|
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
7265 |
|
LIBS=$ac_check_lib_save_LIBS |
7266 |
|
fi |
7267 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5 |
7268 |
|
echo "${ECHO_T}$ac_cv_lib_m_sin" >&6 |
7269 |
|
if test $ac_cv_lib_m_sin = yes; then |
7270 |
LIBS="${LIBS} -lm" |
LIBS="${LIBS} -lm" |
7271 |
else |
else |
7272 |
echo "$ac_t""no" 1>&6 |
true |
|
true |
|
7273 |
fi |
fi |
7274 |
|
|
7275 |
echo $ac_n "checking for main in -lmingwex""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for main in -lmingwex" >&5 |
7276 |
echo "configure:3872: checking for main in -lmingwex" >&5 |
echo $ECHO_N "checking for main in -lmingwex... $ECHO_C" >&6 |
7277 |
ac_lib_var=`echo mingwex'_'main | sed 'y%./+-%__p_%'` |
if test "${ac_cv_lib_mingwex_main+set}" = set; then |
7278 |
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 |
|
7279 |
else |
else |
7280 |
ac_save_LIBS="$LIBS" |
ac_check_lib_save_LIBS=$LIBS |
7281 |
LIBS="-lmingwex $LIBS" |
LIBS="-lmingwex $LIBS" |
7282 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
7283 |
#line 3880 "configure" |
#line $LINENO "configure" |
7284 |
#include "confdefs.h" |
/* confdefs.h. */ |
7285 |
|
_ACEOF |
7286 |
|
cat confdefs.h >>conftest.$ac_ext |
7287 |
|
cat >>conftest.$ac_ext <<_ACEOF |
7288 |
|
/* end confdefs.h. */ |
7289 |
|
|
|
int main() { |
|
|
main() |
|
|
; return 0; } |
|
|
EOF |
|
|
if { (eval echo configure:3887: \"$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" |
|
7290 |
|
|
7291 |
fi |
int |
7292 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
main () |
7293 |
echo "$ac_t""yes" 1>&6 |
{ |
7294 |
|
main (); |
7295 |
|
; |
7296 |
|
return 0; |
7297 |
|
} |
7298 |
|
_ACEOF |
7299 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
7300 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
7301 |
|
(eval $ac_link) 2>&5 |
7302 |
|
ac_status=$? |
7303 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7304 |
|
(exit $ac_status); } && |
7305 |
|
{ ac_try='test -s conftest$ac_exeext' |
7306 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7307 |
|
(eval $ac_try) 2>&5 |
7308 |
|
ac_status=$? |
7309 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7310 |
|
(exit $ac_status); }; }; then |
7311 |
|
ac_cv_lib_mingwex_main=yes |
7312 |
|
else |
7313 |
|
echo "$as_me: failed program was:" >&5 |
7314 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
7315 |
|
|
7316 |
|
ac_cv_lib_mingwex_main=no |
7317 |
|
fi |
7318 |
|
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
7319 |
|
LIBS=$ac_check_lib_save_LIBS |
7320 |
|
fi |
7321 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_mingwex_main" >&5 |
7322 |
|
echo "${ECHO_T}$ac_cv_lib_mingwex_main" >&6 |
7323 |
|
if test $ac_cv_lib_mingwex_main = yes; then |
7324 |
LIBS="${LIBS} -lmingwex" |
LIBS="${LIBS} -lmingwex" |
7325 |
else |
else |
7326 |
echo "$ac_t""no" 1>&6 |
true |
|
true |
|
7327 |
fi |
fi |
7328 |
|
|
7329 |
# AC_CHECK_LIB(japi,j_start,LIBS="${LIBS} -ljapi -lwsock32",true) |
# AC_CHECK_LIB(japi,j_start,LIBS="${LIBS} -ljapi -lws2_32",true) |
7330 |
EXTRA_LOBJS= |
EXTRA_LOBJS= |
7331 |
if test "$try_japi" = "yes" ; then |
if test "$try_japi" = "yes" ; then |
7332 |
for ac_hdr in japi.h |
|
7333 |
|
for ac_header in japi.h |
7334 |
do |
do |
7335 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
7336 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
7337 |
echo "configure:3915: checking for $ac_hdr" >&5 |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
7338 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
7339 |
echo $ac_n "(cached) $ac_c" 1>&6 |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
7340 |
else |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
7341 |
cat > conftest.$ac_ext <<EOF |
fi |
7342 |
#line 3920 "configure" |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
7343 |
#include "confdefs.h" |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
7344 |
#include <$ac_hdr> |
else |
7345 |
EOF |
# Is the header compilable? |
7346 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
7347 |
{ (eval echo configure:3925: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
7348 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
cat >conftest.$ac_ext <<_ACEOF |
7349 |
if test -z "$ac_err"; then |
#line $LINENO "configure" |
7350 |
rm -rf conftest* |
/* confdefs.h. */ |
7351 |
eval "ac_cv_header_$ac_safe=yes" |
_ACEOF |
7352 |
else |
cat confdefs.h >>conftest.$ac_ext |
7353 |
echo "$ac_err" >&5 |
cat >>conftest.$ac_ext <<_ACEOF |
7354 |
echo "configure: failed program was:" >&5 |
/* end confdefs.h. */ |
7355 |
cat conftest.$ac_ext >&5 |
$ac_includes_default |
7356 |
rm -rf conftest* |
#include <$ac_header> |
7357 |
eval "ac_cv_header_$ac_safe=no" |
_ACEOF |
7358 |
fi |
rm -f conftest.$ac_objext |
7359 |
rm -f conftest* |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
7360 |
|
(eval $ac_compile) 2>&5 |
7361 |
|
ac_status=$? |
7362 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7363 |
|
(exit $ac_status); } && |
7364 |
|
{ ac_try='test -s conftest.$ac_objext' |
7365 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7366 |
|
(eval $ac_try) 2>&5 |
7367 |
|
ac_status=$? |
7368 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7369 |
|
(exit $ac_status); }; }; then |
7370 |
|
ac_header_compiler=yes |
7371 |
|
else |
7372 |
|
echo "$as_me: failed program was:" >&5 |
7373 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
7374 |
|
|
7375 |
|
ac_header_compiler=no |
7376 |
|
fi |
7377 |
|
rm -f conftest.$ac_objext conftest.$ac_ext |
7378 |
|
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
7379 |
|
echo "${ECHO_T}$ac_header_compiler" >&6 |
7380 |
|
|
7381 |
|
# Is the header present? |
7382 |
|
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
7383 |
|
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
7384 |
|
cat >conftest.$ac_ext <<_ACEOF |
7385 |
|
#line $LINENO "configure" |
7386 |
|
/* confdefs.h. */ |
7387 |
|
_ACEOF |
7388 |
|
cat confdefs.h >>conftest.$ac_ext |
7389 |
|
cat >>conftest.$ac_ext <<_ACEOF |
7390 |
|
/* end confdefs.h. */ |
7391 |
|
#include <$ac_header> |
7392 |
|
_ACEOF |
7393 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
7394 |
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
7395 |
|
ac_status=$? |
7396 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
7397 |
|
rm -f conftest.er1 |
7398 |
|
cat conftest.err >&5 |
7399 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7400 |
|
(exit $ac_status); } >/dev/null; then |
7401 |
|
if test -s conftest.err; then |
7402 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
7403 |
|
else |
7404 |
|
ac_cpp_err= |
7405 |
|
fi |
7406 |
|
else |
7407 |
|
ac_cpp_err=yes |
7408 |
fi |
fi |
7409 |
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
if test -z "$ac_cpp_err"; then |
7410 |
echo "$ac_t""yes" 1>&6 |
ac_header_preproc=yes |
7411 |
ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` |
else |
7412 |
cat >> confdefs.h <<EOF |
echo "$as_me: failed program was:" >&5 |
7413 |
#define $ac_tr_hdr 1 |
sed 's/^/| /' conftest.$ac_ext >&5 |
7414 |
EOF |
|
7415 |
cat >> confdefs.h <<\EOF |
ac_header_preproc=no |
7416 |
|
fi |
7417 |
|
rm -f conftest.err conftest.$ac_ext |
7418 |
|
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
7419 |
|
echo "${ECHO_T}$ac_header_preproc" >&6 |
7420 |
|
|
7421 |
|
# So? What about this header? |
7422 |
|
case $ac_header_compiler:$ac_header_preproc in |
7423 |
|
yes:no ) |
7424 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
7425 |
|
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
7426 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
7427 |
|
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
7428 |
|
( |
7429 |
|
cat <<\_ASBOX |
7430 |
|
## ------------------------------------ ## |
7431 |
|
## Report this to bug-autoconf@gnu.org. ## |
7432 |
|
## ------------------------------------ ## |
7433 |
|
_ASBOX |
7434 |
|
) | |
7435 |
|
sed "s/^/$as_me: WARNING: /" >&2 |
7436 |
|
;; |
7437 |
|
no:yes ) |
7438 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
7439 |
|
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
7440 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
7441 |
|
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
7442 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
7443 |
|
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
7444 |
|
( |
7445 |
|
cat <<\_ASBOX |
7446 |
|
## ------------------------------------ ## |
7447 |
|
## Report this to bug-autoconf@gnu.org. ## |
7448 |
|
## ------------------------------------ ## |
7449 |
|
_ASBOX |
7450 |
|
) | |
7451 |
|
sed "s/^/$as_me: WARNING: /" >&2 |
7452 |
|
;; |
7453 |
|
esac |
7454 |
|
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
7455 |
|
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
7456 |
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
7457 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
7458 |
|
else |
7459 |
|
eval "$as_ac_Header=$ac_header_preproc" |
7460 |
|
fi |
7461 |
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
7462 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
7463 |
|
|
7464 |
|
fi |
7465 |
|
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
7466 |
|
cat >>confdefs.h <<_ACEOF |
7467 |
|
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
7468 |
|
_ACEOF |
7469 |
|
cat >>confdefs.h <<\_ACEOF |
7470 |
#define HAVE_JAPI_H 1 |
#define HAVE_JAPI_H 1 |
7471 |
EOF |
_ACEOF |
7472 |
|
|
7473 |
EXTRA_LOBJS="${EXTRA_LOBJS} japi.o" |
EXTRA_LOBJS="${EXTRA_LOBJS} japi.o" |
7474 |
LIBS="${LIBS} -ljapi -lwsock32" |
LIBS="${LIBS} -ljapi -lws2_32" |
7475 |
|
fi |
7476 |
|
|
7477 |
|
done |
7478 |
|
|
7479 |
|
fi |
7480 |
|
if test "$use" = "mingw" ; then |
7481 |
|
if test "$try_xdr" = "yes" ; then |
7482 |
|
|
7483 |
|
for ac_header in rpc/rpc.h |
7484 |
|
do |
7485 |
|
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
7486 |
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
7487 |
|
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
7488 |
|
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
7489 |
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
7490 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
7491 |
|
fi |
7492 |
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
7493 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
7494 |
|
else |
7495 |
|
# Is the header compilable? |
7496 |
|
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
7497 |
|
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
7498 |
|
cat >conftest.$ac_ext <<_ACEOF |
7499 |
|
#line $LINENO "configure" |
7500 |
|
/* confdefs.h. */ |
7501 |
|
_ACEOF |
7502 |
|
cat confdefs.h >>conftest.$ac_ext |
7503 |
|
cat >>conftest.$ac_ext <<_ACEOF |
7504 |
|
/* end confdefs.h. */ |
7505 |
|
$ac_includes_default |
7506 |
|
#include <$ac_header> |
7507 |
|
_ACEOF |
7508 |
|
rm -f conftest.$ac_objext |
7509 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
7510 |
|
(eval $ac_compile) 2>&5 |
7511 |
|
ac_status=$? |
7512 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7513 |
|
(exit $ac_status); } && |
7514 |
|
{ ac_try='test -s conftest.$ac_objext' |
7515 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7516 |
|
(eval $ac_try) 2>&5 |
7517 |
|
ac_status=$? |
7518 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7519 |
|
(exit $ac_status); }; }; then |
7520 |
|
ac_header_compiler=yes |
7521 |
|
else |
7522 |
|
echo "$as_me: failed program was:" >&5 |
7523 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
7524 |
|
|
7525 |
|
ac_header_compiler=no |
7526 |
|
fi |
7527 |
|
rm -f conftest.$ac_objext conftest.$ac_ext |
7528 |
|
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
7529 |
|
echo "${ECHO_T}$ac_header_compiler" >&6 |
7530 |
|
|
7531 |
|
# Is the header present? |
7532 |
|
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
7533 |
|
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
7534 |
|
cat >conftest.$ac_ext <<_ACEOF |
7535 |
|
#line $LINENO "configure" |
7536 |
|
/* confdefs.h. */ |
7537 |
|
_ACEOF |
7538 |
|
cat confdefs.h >>conftest.$ac_ext |
7539 |
|
cat >>conftest.$ac_ext <<_ACEOF |
7540 |
|
/* end confdefs.h. */ |
7541 |
|
#include <$ac_header> |
7542 |
|
_ACEOF |
7543 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
7544 |
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
7545 |
|
ac_status=$? |
7546 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
7547 |
|
rm -f conftest.er1 |
7548 |
|
cat conftest.err >&5 |
7549 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7550 |
|
(exit $ac_status); } >/dev/null; then |
7551 |
|
if test -s conftest.err; then |
7552 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
7553 |
|
else |
7554 |
|
ac_cpp_err= |
7555 |
|
fi |
7556 |
|
else |
7557 |
|
ac_cpp_err=yes |
7558 |
|
fi |
7559 |
|
if test -z "$ac_cpp_err"; then |
7560 |
|
ac_header_preproc=yes |
7561 |
else |
else |
7562 |
echo "$ac_t""no" 1>&6 |
echo "$as_me: failed program was:" >&5 |
7563 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
7564 |
|
|
7565 |
|
ac_header_preproc=no |
7566 |
|
fi |
7567 |
|
rm -f conftest.err conftest.$ac_ext |
7568 |
|
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
7569 |
|
echo "${ECHO_T}$ac_header_preproc" >&6 |
7570 |
|
|
7571 |
|
# So? What about this header? |
7572 |
|
case $ac_header_compiler:$ac_header_preproc in |
7573 |
|
yes:no ) |
7574 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
7575 |
|
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
7576 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
7577 |
|
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
7578 |
|
( |
7579 |
|
cat <<\_ASBOX |
7580 |
|
## ------------------------------------ ## |
7581 |
|
## Report this to bug-autoconf@gnu.org. ## |
7582 |
|
## ------------------------------------ ## |
7583 |
|
_ASBOX |
7584 |
|
) | |
7585 |
|
sed "s/^/$as_me: WARNING: /" >&2 |
7586 |
|
;; |
7587 |
|
no:yes ) |
7588 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
7589 |
|
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
7590 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
7591 |
|
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
7592 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
7593 |
|
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
7594 |
|
( |
7595 |
|
cat <<\_ASBOX |
7596 |
|
## ------------------------------------ ## |
7597 |
|
## Report this to bug-autoconf@gnu.org. ## |
7598 |
|
## ------------------------------------ ## |
7599 |
|
_ASBOX |
7600 |
|
) | |
7601 |
|
sed "s/^/$as_me: WARNING: /" >&2 |
7602 |
|
;; |
7603 |
|
esac |
7604 |
|
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
7605 |
|
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
7606 |
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
7607 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
7608 |
|
else |
7609 |
|
eval "$as_ac_Header=$ac_header_preproc" |
7610 |
|
fi |
7611 |
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
7612 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
7613 |
|
|
7614 |
|
fi |
7615 |
|
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
7616 |
|
cat >>confdefs.h <<_ACEOF |
7617 |
|
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
7618 |
|
_ACEOF |
7619 |
|
cat >>confdefs.h <<\_ACEOF |
7620 |
|
#define HAVE_XDR 1 |
7621 |
|
_ACEOF |
7622 |
|
|
7623 |
|
LIBS="${LIBS} -loncrpc" |
7624 |
fi |
fi |
7625 |
|
|
7626 |
done |
done |
7627 |
|
|
7628 |
|
fi |
7629 |
|
else |
7630 |
|
if test "$try_xdr" = "yes" ; then |
7631 |
|
|
7632 |
|
for ac_header in rpc/rpc.h |
7633 |
|
do |
7634 |
|
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
7635 |
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
7636 |
|
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
7637 |
|
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
7638 |
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
7639 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
7640 |
|
fi |
7641 |
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
7642 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
7643 |
|
else |
7644 |
|
# Is the header compilable? |
7645 |
|
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
7646 |
|
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
7647 |
|
cat >conftest.$ac_ext <<_ACEOF |
7648 |
|
#line $LINENO "configure" |
7649 |
|
/* confdefs.h. */ |
7650 |
|
_ACEOF |
7651 |
|
cat confdefs.h >>conftest.$ac_ext |
7652 |
|
cat >>conftest.$ac_ext <<_ACEOF |
7653 |
|
/* end confdefs.h. */ |
7654 |
|
$ac_includes_default |
7655 |
|
#include <$ac_header> |
7656 |
|
_ACEOF |
7657 |
|
rm -f conftest.$ac_objext |
7658 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
7659 |
|
(eval $ac_compile) 2>&5 |
7660 |
|
ac_status=$? |
7661 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7662 |
|
(exit $ac_status); } && |
7663 |
|
{ ac_try='test -s conftest.$ac_objext' |
7664 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7665 |
|
(eval $ac_try) 2>&5 |
7666 |
|
ac_status=$? |
7667 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7668 |
|
(exit $ac_status); }; }; then |
7669 |
|
ac_header_compiler=yes |
7670 |
|
else |
7671 |
|
echo "$as_me: failed program was:" >&5 |
7672 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
7673 |
|
|
7674 |
|
ac_header_compiler=no |
7675 |
|
fi |
7676 |
|
rm -f conftest.$ac_objext conftest.$ac_ext |
7677 |
|
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
7678 |
|
echo "${ECHO_T}$ac_header_compiler" >&6 |
7679 |
|
|
7680 |
|
# Is the header present? |
7681 |
|
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
7682 |
|
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
7683 |
|
cat >conftest.$ac_ext <<_ACEOF |
7684 |
|
#line $LINENO "configure" |
7685 |
|
/* confdefs.h. */ |
7686 |
|
_ACEOF |
7687 |
|
cat confdefs.h >>conftest.$ac_ext |
7688 |
|
cat >>conftest.$ac_ext <<_ACEOF |
7689 |
|
/* end confdefs.h. */ |
7690 |
|
#include <$ac_header> |
7691 |
|
_ACEOF |
7692 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
7693 |
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
7694 |
|
ac_status=$? |
7695 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
7696 |
|
rm -f conftest.er1 |
7697 |
|
cat conftest.err >&5 |
7698 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7699 |
|
(exit $ac_status); } >/dev/null; then |
7700 |
|
if test -s conftest.err; then |
7701 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
7702 |
|
else |
7703 |
|
ac_cpp_err= |
7704 |
|
fi |
7705 |
|
else |
7706 |
|
ac_cpp_err=yes |
7707 |
fi |
fi |
7708 |
|
if test -z "$ac_cpp_err"; then |
7709 |
|
ac_header_preproc=yes |
7710 |
|
else |
7711 |
|
echo "$as_me: failed program was:" >&5 |
7712 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
7713 |
|
|
7714 |
|
ac_header_preproc=no |
7715 |
|
fi |
7716 |
|
rm -f conftest.err conftest.$ac_ext |
7717 |
|
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
7718 |
|
echo "${ECHO_T}$ac_header_preproc" >&6 |
7719 |
|
|
7720 |
|
# So? What about this header? |
7721 |
|
case $ac_header_compiler:$ac_header_preproc in |
7722 |
|
yes:no ) |
7723 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
7724 |
|
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
7725 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
7726 |
|
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
7727 |
|
( |
7728 |
|
cat <<\_ASBOX |
7729 |
|
## ------------------------------------ ## |
7730 |
|
## Report this to bug-autoconf@gnu.org. ## |
7731 |
|
## ------------------------------------ ## |
7732 |
|
_ASBOX |
7733 |
|
) | |
7734 |
|
sed "s/^/$as_me: WARNING: /" >&2 |
7735 |
|
;; |
7736 |
|
no:yes ) |
7737 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
7738 |
|
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
7739 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
7740 |
|
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
7741 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
7742 |
|
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
7743 |
|
( |
7744 |
|
cat <<\_ASBOX |
7745 |
|
## ------------------------------------ ## |
7746 |
|
## Report this to bug-autoconf@gnu.org. ## |
7747 |
|
## ------------------------------------ ## |
7748 |
|
_ASBOX |
7749 |
|
) | |
7750 |
|
sed "s/^/$as_me: WARNING: /" >&2 |
7751 |
|
;; |
7752 |
|
esac |
7753 |
|
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
7754 |
|
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
7755 |
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
7756 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
7757 |
|
else |
7758 |
|
eval "$as_ac_Header=$ac_header_preproc" |
7759 |
|
fi |
7760 |
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
7761 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
7762 |
|
|
7763 |
|
fi |
7764 |
|
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
7765 |
|
cat >>confdefs.h <<_ACEOF |
7766 |
|
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
7767 |
|
_ACEOF |
7768 |
|
cat >>confdefs.h <<\_ACEOF |
7769 |
|
#define HAVE_XDR 1 |
7770 |
|
_ACEOF |
7771 |
|
|
7772 |
|
LIBS="${LIBS} -lrpc" |
7773 |
|
fi |
7774 |
|
|
7775 |
|
done |
7776 |
|
|
7777 |
# Should really find a way to check for prototypes, but this |
fi |
7778 |
|
fi |
7779 |
|
|
7780 |
|
# Should really find a way to check for prototypes, but this |
7781 |
# basically works for now. CM |
# basically works for now. CM |
7782 |
# |
# |
7783 |
for ac_hdr in math.h |
|
7784 |
|
for ac_header in math.h |
7785 |
do |
do |
7786 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
7787 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
7788 |
echo "configure:3965: checking for $ac_hdr" >&5 |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
7789 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
7790 |
echo $ac_n "(cached) $ac_c" 1>&6 |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
7791 |
else |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
7792 |
cat > conftest.$ac_ext <<EOF |
fi |
7793 |
#line 3970 "configure" |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
7794 |
#include "confdefs.h" |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
7795 |
#include <$ac_hdr> |
else |
7796 |
EOF |
# Is the header compilable? |
7797 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
7798 |
{ (eval echo configure:3975: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
7799 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
cat >conftest.$ac_ext <<_ACEOF |
7800 |
if test -z "$ac_err"; then |
#line $LINENO "configure" |
7801 |
rm -rf conftest* |
/* confdefs.h. */ |
7802 |
eval "ac_cv_header_$ac_safe=yes" |
_ACEOF |
7803 |
else |
cat confdefs.h >>conftest.$ac_ext |
7804 |
echo "$ac_err" >&5 |
cat >>conftest.$ac_ext <<_ACEOF |
7805 |
echo "configure: failed program was:" >&5 |
/* end confdefs.h. */ |
7806 |
cat conftest.$ac_ext >&5 |
$ac_includes_default |
7807 |
rm -rf conftest* |
#include <$ac_header> |
7808 |
eval "ac_cv_header_$ac_safe=no" |
_ACEOF |
7809 |
fi |
rm -f conftest.$ac_objext |
7810 |
rm -f conftest* |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
7811 |
|
(eval $ac_compile) 2>&5 |
7812 |
|
ac_status=$? |
7813 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7814 |
|
(exit $ac_status); } && |
7815 |
|
{ ac_try='test -s conftest.$ac_objext' |
7816 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7817 |
|
(eval $ac_try) 2>&5 |
7818 |
|
ac_status=$? |
7819 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7820 |
|
(exit $ac_status); }; }; then |
7821 |
|
ac_header_compiler=yes |
7822 |
|
else |
7823 |
|
echo "$as_me: failed program was:" >&5 |
7824 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
7825 |
|
|
7826 |
|
ac_header_compiler=no |
7827 |
|
fi |
7828 |
|
rm -f conftest.$ac_objext conftest.$ac_ext |
7829 |
|
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
7830 |
|
echo "${ECHO_T}$ac_header_compiler" >&6 |
7831 |
|
|
7832 |
|
# Is the header present? |
7833 |
|
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
7834 |
|
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
7835 |
|
cat >conftest.$ac_ext <<_ACEOF |
7836 |
|
#line $LINENO "configure" |
7837 |
|
/* confdefs.h. */ |
7838 |
|
_ACEOF |
7839 |
|
cat confdefs.h >>conftest.$ac_ext |
7840 |
|
cat >>conftest.$ac_ext <<_ACEOF |
7841 |
|
/* end confdefs.h. */ |
7842 |
|
#include <$ac_header> |
7843 |
|
_ACEOF |
7844 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
7845 |
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
7846 |
|
ac_status=$? |
7847 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
7848 |
|
rm -f conftest.er1 |
7849 |
|
cat conftest.err >&5 |
7850 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7851 |
|
(exit $ac_status); } >/dev/null; then |
7852 |
|
if test -s conftest.err; then |
7853 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
7854 |
|
else |
7855 |
|
ac_cpp_err= |
7856 |
|
fi |
7857 |
|
else |
7858 |
|
ac_cpp_err=yes |
7859 |
fi |
fi |
7860 |
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
if test -z "$ac_cpp_err"; then |
7861 |
echo "$ac_t""yes" 1>&6 |
ac_header_preproc=yes |
7862 |
ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` |
else |
7863 |
cat >> confdefs.h <<EOF |
echo "$as_me: failed program was:" >&5 |
7864 |
#define $ac_tr_hdr 1 |
sed 's/^/| /' conftest.$ac_ext >&5 |
7865 |
EOF |
|
7866 |
cat >> confdefs.h <<\EOF |
ac_header_preproc=no |
7867 |
|
fi |
7868 |
|
rm -f conftest.err conftest.$ac_ext |
7869 |
|
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
7870 |
|
echo "${ECHO_T}$ac_header_preproc" >&6 |
7871 |
|
|
7872 |
|
# So? What about this header? |
7873 |
|
case $ac_header_compiler:$ac_header_preproc in |
7874 |
|
yes:no ) |
7875 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
7876 |
|
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
7877 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
7878 |
|
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
7879 |
|
( |
7880 |
|
cat <<\_ASBOX |
7881 |
|
## ------------------------------------ ## |
7882 |
|
## Report this to bug-autoconf@gnu.org. ## |
7883 |
|
## ------------------------------------ ## |
7884 |
|
_ASBOX |
7885 |
|
) | |
7886 |
|
sed "s/^/$as_me: WARNING: /" >&2 |
7887 |
|
;; |
7888 |
|
no:yes ) |
7889 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
7890 |
|
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
7891 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
7892 |
|
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
7893 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
7894 |
|
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
7895 |
|
( |
7896 |
|
cat <<\_ASBOX |
7897 |
|
## ------------------------------------ ## |
7898 |
|
## Report this to bug-autoconf@gnu.org. ## |
7899 |
|
## ------------------------------------ ## |
7900 |
|
_ASBOX |
7901 |
|
) | |
7902 |
|
sed "s/^/$as_me: WARNING: /" >&2 |
7903 |
|
;; |
7904 |
|
esac |
7905 |
|
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
7906 |
|
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
7907 |
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
7908 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
7909 |
|
else |
7910 |
|
eval "$as_ac_Header=$ac_header_preproc" |
7911 |
|
fi |
7912 |
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
7913 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
7914 |
|
|
7915 |
|
fi |
7916 |
|
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
7917 |
|
cat >>confdefs.h <<_ACEOF |
7918 |
|
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
7919 |
|
_ACEOF |
7920 |
|
cat >>confdefs.h <<\_ACEOF |
7921 |
#define HAVE_MATH_H 1 |
#define HAVE_MATH_H 1 |
7922 |
EOF |
_ACEOF |
7923 |
|
|
|
else |
|
|
echo "$ac_t""no" 1>&6 |
|
7924 |
fi |
fi |
7925 |
|
|
7926 |
done |
done |
7927 |
|
|
7928 |
|
|
7929 |
# |
# |
7930 |
# For DBL_MAX et. al. on (only) certain Linux arches, apparently CM |
# For DBL_MAX et. al. on (only) certain Linux arches, apparently CM |
7931 |
# |
# |
7932 |
for ac_hdr in values.h |
|
7933 |
|
for ac_header in values.h |
7934 |
do |
do |
7935 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
7936 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
7937 |
echo "configure:4012: checking for $ac_hdr" >&5 |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
7938 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
7939 |
echo $ac_n "(cached) $ac_c" 1>&6 |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
7940 |
else |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
7941 |
cat > conftest.$ac_ext <<EOF |
fi |
7942 |
#line 4017 "configure" |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
7943 |
#include "confdefs.h" |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
7944 |
#include <$ac_hdr> |
else |
7945 |
EOF |
# Is the header compilable? |
7946 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
7947 |
{ (eval echo configure:4022: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
7948 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
cat >conftest.$ac_ext <<_ACEOF |
7949 |
if test -z "$ac_err"; then |
#line $LINENO "configure" |
7950 |
rm -rf conftest* |
/* confdefs.h. */ |
7951 |
eval "ac_cv_header_$ac_safe=yes" |
_ACEOF |
7952 |
else |
cat confdefs.h >>conftest.$ac_ext |
7953 |
echo "$ac_err" >&5 |
cat >>conftest.$ac_ext <<_ACEOF |
7954 |
echo "configure: failed program was:" >&5 |
/* end confdefs.h. */ |
7955 |
cat conftest.$ac_ext >&5 |
$ac_includes_default |
7956 |
rm -rf conftest* |
#include <$ac_header> |
7957 |
eval "ac_cv_header_$ac_safe=no" |
_ACEOF |
7958 |
fi |
rm -f conftest.$ac_objext |
7959 |
rm -f conftest* |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
7960 |
|
(eval $ac_compile) 2>&5 |
7961 |
|
ac_status=$? |
7962 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7963 |
|
(exit $ac_status); } && |
7964 |
|
{ ac_try='test -s conftest.$ac_objext' |
7965 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7966 |
|
(eval $ac_try) 2>&5 |
7967 |
|
ac_status=$? |
7968 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7969 |
|
(exit $ac_status); }; }; then |
7970 |
|
ac_header_compiler=yes |
7971 |
|
else |
7972 |
|
echo "$as_me: failed program was:" >&5 |
7973 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
7974 |
|
|
7975 |
|
ac_header_compiler=no |
7976 |
|
fi |
7977 |
|
rm -f conftest.$ac_objext conftest.$ac_ext |
7978 |
|
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
7979 |
|
echo "${ECHO_T}$ac_header_compiler" >&6 |
7980 |
|
|
7981 |
|
# Is the header present? |
7982 |
|
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
7983 |
|
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
7984 |
|
cat >conftest.$ac_ext <<_ACEOF |
7985 |
|
#line $LINENO "configure" |
7986 |
|
/* confdefs.h. */ |
7987 |
|
_ACEOF |
7988 |
|
cat confdefs.h >>conftest.$ac_ext |
7989 |
|
cat >>conftest.$ac_ext <<_ACEOF |
7990 |
|
/* end confdefs.h. */ |
7991 |
|
#include <$ac_header> |
7992 |
|
_ACEOF |
7993 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
7994 |
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
7995 |
|
ac_status=$? |
7996 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
7997 |
|
rm -f conftest.er1 |
7998 |
|
cat conftest.err >&5 |
7999 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8000 |
|
(exit $ac_status); } >/dev/null; then |
8001 |
|
if test -s conftest.err; then |
8002 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
8003 |
|
else |
8004 |
|
ac_cpp_err= |
8005 |
|
fi |
8006 |
|
else |
8007 |
|
ac_cpp_err=yes |
8008 |
fi |
fi |
8009 |
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
if test -z "$ac_cpp_err"; then |
8010 |
echo "$ac_t""yes" 1>&6 |
ac_header_preproc=yes |
8011 |
ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` |
else |
8012 |
cat >> confdefs.h <<EOF |
echo "$as_me: failed program was:" >&5 |
8013 |
#define $ac_tr_hdr 1 |
sed 's/^/| /' conftest.$ac_ext >&5 |
8014 |
EOF |
|
8015 |
cat >> confdefs.h <<\EOF |
ac_header_preproc=no |
8016 |
|
fi |
8017 |
|
rm -f conftest.err conftest.$ac_ext |
8018 |
|
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
8019 |
|
echo "${ECHO_T}$ac_header_preproc" >&6 |
8020 |
|
|
8021 |
|
# So? What about this header? |
8022 |
|
case $ac_header_compiler:$ac_header_preproc in |
8023 |
|
yes:no ) |
8024 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
8025 |
|
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
8026 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
8027 |
|
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
8028 |
|
( |
8029 |
|
cat <<\_ASBOX |
8030 |
|
## ------------------------------------ ## |
8031 |
|
## Report this to bug-autoconf@gnu.org. ## |
8032 |
|
## ------------------------------------ ## |
8033 |
|
_ASBOX |
8034 |
|
) | |
8035 |
|
sed "s/^/$as_me: WARNING: /" >&2 |
8036 |
|
;; |
8037 |
|
no:yes ) |
8038 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
8039 |
|
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
8040 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
8041 |
|
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
8042 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
8043 |
|
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
8044 |
|
( |
8045 |
|
cat <<\_ASBOX |
8046 |
|
## ------------------------------------ ## |
8047 |
|
## Report this to bug-autoconf@gnu.org. ## |
8048 |
|
## ------------------------------------ ## |
8049 |
|
_ASBOX |
8050 |
|
) | |
8051 |
|
sed "s/^/$as_me: WARNING: /" >&2 |
8052 |
|
;; |
8053 |
|
esac |
8054 |
|
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
8055 |
|
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
8056 |
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
8057 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
8058 |
|
else |
8059 |
|
eval "$as_ac_Header=$ac_header_preproc" |
8060 |
|
fi |
8061 |
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
8062 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
8063 |
|
|
8064 |
|
fi |
8065 |
|
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
8066 |
|
cat >>confdefs.h <<_ACEOF |
8067 |
|
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
8068 |
|
_ACEOF |
8069 |
|
cat >>confdefs.h <<\_ACEOF |
8070 |
#define HAVE_VALUES_H 1 |
#define HAVE_VALUES_H 1 |
8071 |
EOF |
_ACEOF |
8072 |
|
|
|
else |
|
|
echo "$ac_t""no" 1>&6 |
|
8073 |
fi |
fi |
8074 |
|
|
8075 |
done |
done |
8076 |
|
|
8077 |
|
|
8078 |
# |
# |
8079 |
# 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 |
8080 |
# |
# |
8081 |
for ac_hdr in float.h |
|
8082 |
|
for ac_header in float.h |
8083 |
do |
do |
8084 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
8085 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
8086 |
echo "configure:4059: checking for $ac_hdr" >&5 |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
8087 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
8088 |
echo $ac_n "(cached) $ac_c" 1>&6 |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
8089 |
else |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
8090 |
cat > conftest.$ac_ext <<EOF |
fi |
8091 |
#line 4064 "configure" |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
8092 |
#include "confdefs.h" |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
8093 |
#include <$ac_hdr> |
else |
8094 |
EOF |
# Is the header compilable? |
8095 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
8096 |
{ (eval echo configure:4069: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
8097 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
cat >conftest.$ac_ext <<_ACEOF |
8098 |
if test -z "$ac_err"; then |
#line $LINENO "configure" |
8099 |
rm -rf conftest* |
/* confdefs.h. */ |
8100 |
eval "ac_cv_header_$ac_safe=yes" |
_ACEOF |
8101 |
else |
cat confdefs.h >>conftest.$ac_ext |
8102 |
echo "$ac_err" >&5 |
cat >>conftest.$ac_ext <<_ACEOF |
8103 |
echo "configure: failed program was:" >&5 |
/* end confdefs.h. */ |
8104 |
cat conftest.$ac_ext >&5 |
$ac_includes_default |
8105 |
rm -rf conftest* |
#include <$ac_header> |
8106 |
eval "ac_cv_header_$ac_safe=no" |
_ACEOF |
8107 |
fi |
rm -f conftest.$ac_objext |
8108 |
rm -f conftest* |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
8109 |
|
(eval $ac_compile) 2>&5 |
8110 |
|
ac_status=$? |
8111 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8112 |
|
(exit $ac_status); } && |
8113 |
|
{ ac_try='test -s conftest.$ac_objext' |
8114 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8115 |
|
(eval $ac_try) 2>&5 |
8116 |
|
ac_status=$? |
8117 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8118 |
|
(exit $ac_status); }; }; then |
8119 |
|
ac_header_compiler=yes |
8120 |
|
else |
8121 |
|
echo "$as_me: failed program was:" >&5 |
8122 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
8123 |
|
|
8124 |
|
ac_header_compiler=no |
8125 |
|
fi |
8126 |
|
rm -f conftest.$ac_objext conftest.$ac_ext |
8127 |
|
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
8128 |
|
echo "${ECHO_T}$ac_header_compiler" >&6 |
8129 |
|
|
8130 |
|
# Is the header present? |
8131 |
|
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
8132 |
|
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
8133 |
|
cat >conftest.$ac_ext <<_ACEOF |
8134 |
|
#line $LINENO "configure" |
8135 |
|
/* confdefs.h. */ |
8136 |
|
_ACEOF |
8137 |
|
cat confdefs.h >>conftest.$ac_ext |
8138 |
|
cat >>conftest.$ac_ext <<_ACEOF |
8139 |
|
/* end confdefs.h. */ |
8140 |
|
#include <$ac_header> |
8141 |
|
_ACEOF |
8142 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
8143 |
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
8144 |
|
ac_status=$? |
8145 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
8146 |
|
rm -f conftest.er1 |
8147 |
|
cat conftest.err >&5 |
8148 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8149 |
|
(exit $ac_status); } >/dev/null; then |
8150 |
|
if test -s conftest.err; then |
8151 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
8152 |
|
else |
8153 |
|
ac_cpp_err= |
8154 |
|
fi |
8155 |
|
else |
8156 |
|
ac_cpp_err=yes |
8157 |
fi |
fi |
8158 |
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
if test -z "$ac_cpp_err"; then |
8159 |
echo "$ac_t""yes" 1>&6 |
ac_header_preproc=yes |
8160 |
ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` |
else |
8161 |
cat >> confdefs.h <<EOF |
echo "$as_me: failed program was:" >&5 |
8162 |
#define $ac_tr_hdr 1 |
sed 's/^/| /' conftest.$ac_ext >&5 |
8163 |
EOF |
|
8164 |
cat >> confdefs.h <<\EOF |
ac_header_preproc=no |
8165 |
|
fi |
8166 |
|
rm -f conftest.err conftest.$ac_ext |
8167 |
|
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
8168 |
|
echo "${ECHO_T}$ac_header_preproc" >&6 |
8169 |
|
|
8170 |
|
# So? What about this header? |
8171 |
|
case $ac_header_compiler:$ac_header_preproc in |
8172 |
|
yes:no ) |
8173 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
8174 |
|
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
8175 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
8176 |
|
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
8177 |
|
( |
8178 |
|
cat <<\_ASBOX |
8179 |
|
## ------------------------------------ ## |
8180 |
|
## Report this to bug-autoconf@gnu.org. ## |
8181 |
|
## ------------------------------------ ## |
8182 |
|
_ASBOX |
8183 |
|
) | |
8184 |
|
sed "s/^/$as_me: WARNING: /" >&2 |
8185 |
|
;; |
8186 |
|
no:yes ) |
8187 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
8188 |
|
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
8189 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
8190 |
|
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
8191 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
8192 |
|
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
8193 |
|
( |
8194 |
|
cat <<\_ASBOX |
8195 |
|
## ------------------------------------ ## |
8196 |
|
## Report this to bug-autoconf@gnu.org. ## |
8197 |
|
## ------------------------------------ ## |
8198 |
|
_ASBOX |
8199 |
|
) | |
8200 |
|
sed "s/^/$as_me: WARNING: /" >&2 |
8201 |
|
;; |
8202 |
|
esac |
8203 |
|
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
8204 |
|
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
8205 |
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
8206 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
8207 |
|
else |
8208 |
|
eval "$as_ac_Header=$ac_header_preproc" |
8209 |
|
fi |
8210 |
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
8211 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
8212 |
|
|
8213 |
|
fi |
8214 |
|
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
8215 |
|
cat >>confdefs.h <<_ACEOF |
8216 |
|
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
8217 |
|
_ACEOF |
8218 |
|
cat >>confdefs.h <<\_ACEOF |
8219 |
#define HAVE_FLOAT_H 1 |
#define HAVE_FLOAT_H 1 |
8220 |
EOF |
_ACEOF |
8221 |
|
|
|
else |
|
|
echo "$ac_t""no" 1>&6 |
|
8222 |
fi |
fi |
8223 |
|
|
8224 |
done |
done |
8225 |
|
|
8226 |
|
|
8229 |
# a more comprehensive later, i.e. checking that the fpclass |
# a more comprehensive later, i.e. checking that the fpclass |
8230 |
# test makes sense. CM |
# test makes sense. CM |
8231 |
# |
# |
8232 |
echo $ac_n "checking for isnormal""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for isnormal" >&5 |
8233 |
echo "configure:4105: checking for isnormal" >&5 |
echo $ECHO_N "checking for isnormal... $ECHO_C" >&6 |
8234 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
8235 |
HAVE_ISNORMAL=0 echo "$ac_t""no" 1>&6 |
HAVE_ISNORMAL=0 echo "$as_me:$LINENO: result: no" >&5 |
8236 |
|
echo "${ECHO_T}no" >&6 |
8237 |
else |
else |
8238 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
8239 |
#line 4110 "configure" |
#line $LINENO "configure" |
8240 |
#include "confdefs.h" |
/* confdefs.h. */ |
8241 |
|
_ACEOF |
8242 |
|
cat confdefs.h >>conftest.$ac_ext |
8243 |
|
cat >>conftest.$ac_ext <<_ACEOF |
8244 |
|
/* end confdefs.h. */ |
8245 |
#define _GNU_SOURCE |
#define _GNU_SOURCE |
8246 |
#include <math.h> |
#include <math.h> |
8247 |
int main() { |
int main() { |
8248 |
float f; |
float f; |
8249 |
return isnormal(f) || !isnormal(f) ? 0 : 1; |
return isnormal(f) || !isnormal(f) ? 0 : 1; |
8250 |
} |
} |
8251 |
EOF |
_ACEOF |
8252 |
if { (eval echo configure:4119: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
rm -f conftest$ac_exeext |
8253 |
then |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
8254 |
cat >> confdefs.h <<\EOF |
(eval $ac_link) 2>&5 |
8255 |
|
ac_status=$? |
8256 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8257 |
|
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
8258 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8259 |
|
(eval $ac_try) 2>&5 |
8260 |
|
ac_status=$? |
8261 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8262 |
|
(exit $ac_status); }; }; then |
8263 |
|
cat >>confdefs.h <<\_ACEOF |
8264 |
#define HAVE_ISNORMAL 1 |
#define HAVE_ISNORMAL 1 |
8265 |
EOF |
_ACEOF |
8266 |
echo "$ac_t""yes" 1>&6 |
echo "$as_me:$LINENO: result: yes" >&5 |
8267 |
else |
echo "${ECHO_T}yes" >&6 |
8268 |
echo "configure: failed program was:" >&5 |
else |
8269 |
cat conftest.$ac_ext >&5 |
echo "$as_me: program exited with status $ac_status" >&5 |
8270 |
rm -fr conftest* |
echo "$as_me: failed program was:" >&5 |
8271 |
echo $ac_n "checking for fpclass in ieeefp.h""... $ac_c" 1>&6 |
sed 's/^/| /' conftest.$ac_ext >&5 |
8272 |
echo "configure:4130: checking for fpclass in ieeefp.h" >&5 |
|
8273 |
|
( exit $ac_status ) |
8274 |
|
echo "$as_me:$LINENO: checking for fpclass in ieeefp.h" >&5 |
8275 |
|
echo $ECHO_N "checking for fpclass in ieeefp.h... $ECHO_C" >&6 |
8276 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
8277 |
HAVE_IEEEFP=0 echo "$ac_t""no" 1>&6 |
HAVE_IEEEFP=0 echo "$as_me:$LINENO: result: no" >&5 |
8278 |
|
echo "${ECHO_T}no" >&6 |
8279 |
else |
else |
8280 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
8281 |
#line 4135 "configure" |
#line $LINENO "configure" |
8282 |
#include "confdefs.h" |
/* confdefs.h. */ |
8283 |
|
_ACEOF |
8284 |
|
cat confdefs.h >>conftest.$ac_ext |
8285 |
|
cat >>conftest.$ac_ext <<_ACEOF |
8286 |
|
/* end confdefs.h. */ |
8287 |
#include <ieeefp.h> |
#include <ieeefp.h> |
8288 |
int main() { |
int main() { |
8289 |
float f; |
float f; |
8290 |
return fpclass(f)>=FP_NZERO || fpclass(f)<FP_NZERO ? 0 : 1; |
return fpclass(f)>=FP_NZERO || fpclass(f)<FP_NZERO ? 0 : 1; |
8291 |
} |
} |
8292 |
EOF |
_ACEOF |
8293 |
if { (eval echo configure:4143: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
rm -f conftest$ac_exeext |
8294 |
then |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
8295 |
cat >> confdefs.h <<\EOF |
(eval $ac_link) 2>&5 |
8296 |
|
ac_status=$? |
8297 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8298 |
|
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
8299 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8300 |
|
(eval $ac_try) 2>&5 |
8301 |
|
ac_status=$? |
8302 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8303 |
|
(exit $ac_status); }; }; then |
8304 |
|
cat >>confdefs.h <<\_ACEOF |
8305 |
#define HAVE_IEEEFP 1 |
#define HAVE_IEEEFP 1 |
8306 |
EOF |
_ACEOF |
8307 |
echo "$ac_t""yes" 1>&6 |
echo "$as_me:$LINENO: result: yes" >&5 |
8308 |
|
echo "${ECHO_T}yes" >&6 |
8309 |
else |
else |
8310 |
echo "configure: failed program was:" >&5 |
echo "$as_me: program exited with status $ac_status" >&5 |
8311 |
cat conftest.$ac_ext >&5 |
echo "$as_me: failed program was:" >&5 |
8312 |
rm -fr conftest* |
sed 's/^/| /' conftest.$ac_ext >&5 |
8313 |
HAVE_IEEEFP=0 echo "$ac_t""no" 1>&6 |
|
8314 |
|
( exit $ac_status ) |
8315 |
|
HAVE_IEEEFP=0 echo "$as_me:$LINENO: result: no" >&5 |
8316 |
|
echo "${ECHO_T}no" >&6 |
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 |
|
|
|
|
|
8321 |
fi |
fi |
8322 |
rm -fr conftest* |
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
8323 |
fi |
fi |
8324 |
|
|
8325 |
|
echo "$as_me:$LINENO: checking for isfinite" >&5 |
8326 |
echo $ac_n "checking for isfinite""... $ac_c" 1>&6 |
echo $ECHO_N "checking for isfinite... $ECHO_C" >&6 |
|
echo "configure:4165: checking for isfinite" >&5 |
|
8327 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
8328 |
HAVE_ISFINITE=0 echo "$ac_t""no" 1>&6 |
HAVE_ISFINITE=0 echo "$as_me:$LINENO: result: no" >&5 |
8329 |
|
echo "${ECHO_T}no" >&6 |
8330 |
else |
else |
8331 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
8332 |
#line 4170 "configure" |
#line $LINENO "configure" |
8333 |
#include "confdefs.h" |
/* confdefs.h. */ |
8334 |
|
_ACEOF |
8335 |
|
cat confdefs.h >>conftest.$ac_ext |
8336 |
|
cat >>conftest.$ac_ext <<_ACEOF |
8337 |
|
/* end confdefs.h. */ |
8338 |
#define _GNU_SOURCE |
#define _GNU_SOURCE |
8339 |
#include <math.h> |
#include <math.h> |
8340 |
int main() { |
int main() { |
8341 |
float f; |
float f; |
8342 |
return isfinite(f) || !isfinite(f) ? 0 : 1; |
return isfinite(f) || !isfinite(f) ? 0 : 1; |
8343 |
} |
} |
8344 |
EOF |
_ACEOF |
8345 |
if { (eval echo configure:4179: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
rm -f conftest$ac_exeext |
8346 |
then |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
8347 |
cat >> confdefs.h <<\EOF |
(eval $ac_link) 2>&5 |
8348 |
|
ac_status=$? |
8349 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8350 |
|
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
8351 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8352 |
|
(eval $ac_try) 2>&5 |
8353 |
|
ac_status=$? |
8354 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8355 |
|
(exit $ac_status); }; }; then |
8356 |
|
cat >>confdefs.h <<\_ACEOF |
8357 |
#define HAVE_ISFINITE 1 |
#define HAVE_ISFINITE 1 |
8358 |
EOF |
_ACEOF |
8359 |
echo "$ac_t""yes" 1>&6 |
echo "$as_me:$LINENO: result: yes" >&5 |
8360 |
else |
echo "${ECHO_T}yes" >&6 |
8361 |
echo "configure: failed program was:" >&5 |
else |
8362 |
cat conftest.$ac_ext >&5 |
echo "$as_me: program exited with status $ac_status" >&5 |
8363 |
rm -fr conftest* |
echo "$as_me: failed program was:" >&5 |
8364 |
echo $ac_n "checking for finite()""... $ac_c" 1>&6 |
sed 's/^/| /' conftest.$ac_ext >&5 |
8365 |
echo "configure:4190: checking for finite()" >&5 |
|
8366 |
|
( exit $ac_status ) |
8367 |
|
echo "$as_me:$LINENO: checking for finite()" >&5 |
8368 |
|
echo $ECHO_N "checking for finite()... $ECHO_C" >&6 |
8369 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
8370 |
HAVE_FINITE=0 echo "$ac_t""no" 1>&6 |
HAVE_FINITE=0 echo "$as_me:$LINENO: result: no" >&5 |
8371 |
|
echo "${ECHO_T}no" >&6 |
8372 |
else |
else |
8373 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
8374 |
#line 4195 "configure" |
#line $LINENO "configure" |
8375 |
#include "confdefs.h" |
/* confdefs.h. */ |
8376 |
|
_ACEOF |
8377 |
|
cat confdefs.h >>conftest.$ac_ext |
8378 |
|
cat >>conftest.$ac_ext <<_ACEOF |
8379 |
|
/* end confdefs.h. */ |
8380 |
#include <math.h> |
#include <math.h> |
8381 |
#include <ieeefp.h> |
#include <ieeefp.h> |
8382 |
int main() { |
int main() { |
8383 |
float f; |
float f; |
8384 |
return finite(f) || !finite(f) ? 0 : 1; |
return finite(f) || !finite(f) ? 0 : 1; |
8385 |
} |
} |
8386 |
EOF |
_ACEOF |
8387 |
if { (eval echo configure:4204: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
rm -f conftest$ac_exeext |
8388 |
then |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
8389 |
cat >> confdefs.h <<\EOF |
(eval $ac_link) 2>&5 |
8390 |
|
ac_status=$? |
8391 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8392 |
|
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
8393 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8394 |
|
(eval $ac_try) 2>&5 |
8395 |
|
ac_status=$? |
8396 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8397 |
|
(exit $ac_status); }; }; then |
8398 |
|
cat >>confdefs.h <<\_ACEOF |
8399 |
#define HAVE_FINITE 1 |
#define HAVE_FINITE 1 |
8400 |
EOF |
_ACEOF |
8401 |
echo "$ac_t""yes" 1>&6 |
echo "$as_me:$LINENO: result: yes" >&5 |
8402 |
|
echo "${ECHO_T}yes" >&6 |
8403 |
else |
else |
8404 |
echo "configure: failed program was:" >&5 |
echo "$as_me: program exited with status $ac_status" >&5 |
8405 |
cat conftest.$ac_ext >&5 |
echo "$as_me: failed program was:" >&5 |
8406 |
rm -fr conftest* |
sed 's/^/| /' conftest.$ac_ext >&5 |
8407 |
HAVE_FINITE=0 echo "$ac_t""no" 1>&6 |
|
8408 |
|
( exit $ac_status ) |
8409 |
|
HAVE_FINITE=0 echo "$as_me:$LINENO: result: no" >&5 |
8410 |
|
echo "${ECHO_T}no" >&6 |
8411 |
fi |
fi |
8412 |
rm -fr conftest* |
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
8413 |
fi |
fi |
8414 |
|
|
|
|
|
8415 |
fi |
fi |
8416 |
rm -fr conftest* |
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
8417 |
fi |
fi |
8418 |
|
|
8419 |
|
|
8420 |
|
|
|
|
|
8421 |
#-------------------------------------------------------------------- |
#-------------------------------------------------------------------- |
8422 |
# Check for the existence of the -lsocket and -lnsl libraries. |
# Check for the existence of the -lsocket and -lnsl libraries. |
8423 |
# 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 |
8435 |
# To get around this problem, check for both libraries together |
# To get around this problem, check for both libraries together |
8436 |
# if -lsocket doesn't work by itself. |
# if -lsocket doesn't work by itself. |
8437 |
#-------------------------------------------------------------------- |
#-------------------------------------------------------------------- |
8438 |
echo $ac_n "checking for sockets""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for sockets" >&5 |
8439 |
echo "configure:4245: checking for sockets" >&5 |
echo $ECHO_N "checking for sockets... $ECHO_C" >&6 |
8440 |
tcl_checkBoth=0 |
tcl_checkBoth=0 |
8441 |
echo $ac_n "checking for connect""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for connect" >&5 |
8442 |
echo "configure:4248: checking for connect" >&5 |
echo $ECHO_N "checking for connect... $ECHO_C" >&6 |
8443 |
if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then |
if test "${ac_cv_func_connect+set}" = set; then |
8444 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
8445 |
else |
else |
8446 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
8447 |
#line 4253 "configure" |
#line $LINENO "configure" |
8448 |
#include "confdefs.h" |
/* confdefs.h. */ |
8449 |
|
_ACEOF |
8450 |
|
cat confdefs.h >>conftest.$ac_ext |
8451 |
|
cat >>conftest.$ac_ext <<_ACEOF |
8452 |
|
/* end confdefs.h. */ |
8453 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
8454 |
which can conflict with char connect(); below. */ |
which can conflict with char connect (); below. |
8455 |
#include <assert.h> |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
8456 |
|
<limits.h> exists even on freestanding compilers. */ |
8457 |
|
#ifdef __STDC__ |
8458 |
|
# include <limits.h> |
8459 |
|
#else |
8460 |
|
# include <assert.h> |
8461 |
|
#endif |
8462 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
8463 |
|
#ifdef __cplusplus |
8464 |
|
extern "C" |
8465 |
|
{ |
8466 |
|
#endif |
8467 |
/* 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 |
8468 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
8469 |
char connect(); |
char connect (); |
|
|
|
|
int main() { |
|
|
|
|
8470 |
/* The GNU C library defines this for functions which it implements |
/* The GNU C library defines this for functions which it implements |
8471 |
to always fail with ENOSYS. Some functions are actually named |
to always fail with ENOSYS. Some functions are actually named |
8472 |
something starting with __ and the normal name is an alias. */ |
something starting with __ and the normal name is an alias. */ |
8473 |
#if defined (__stub_connect) || defined (__stub___connect) |
#if defined (__stub_connect) || defined (__stub___connect) |
8474 |
choke me |
choke me |
8475 |
#else |
#else |
8476 |
connect(); |
char (*f) () = connect; |
8477 |
|
#endif |
8478 |
|
#ifdef __cplusplus |
8479 |
|
} |
8480 |
#endif |
#endif |
8481 |
|
|
8482 |
; return 0; } |
int |
8483 |
EOF |
main () |
8484 |
if { (eval echo configure:4276: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
{ |
8485 |
rm -rf conftest* |
return f != connect; |
8486 |
eval "ac_cv_func_connect=yes" |
; |
8487 |
else |
return 0; |
8488 |
echo "configure: failed program was:" >&5 |
} |
8489 |
cat conftest.$ac_ext >&5 |
_ACEOF |
8490 |
rm -rf conftest* |
rm -f conftest.$ac_objext conftest$ac_exeext |
8491 |
eval "ac_cv_func_connect=no" |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
8492 |
fi |
(eval $ac_link) 2>&5 |
8493 |
rm -f conftest* |
ac_status=$? |
8494 |
fi |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8495 |
|
(exit $ac_status); } && |
8496 |
if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then |
{ ac_try='test -s conftest$ac_exeext' |
8497 |
echo "$ac_t""yes" 1>&6 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8498 |
|
(eval $ac_try) 2>&5 |
8499 |
|
ac_status=$? |
8500 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8501 |
|
(exit $ac_status); }; }; then |
8502 |
|
ac_cv_func_connect=yes |
8503 |
|
else |
8504 |
|
echo "$as_me: failed program was:" >&5 |
8505 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
8506 |
|
|
8507 |
|
ac_cv_func_connect=no |
8508 |
|
fi |
8509 |
|
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
8510 |
|
fi |
8511 |
|
echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5 |
8512 |
|
echo "${ECHO_T}$ac_cv_func_connect" >&6 |
8513 |
|
if test $ac_cv_func_connect = yes; then |
8514 |
tcl_checkSocket=0 |
tcl_checkSocket=0 |
8515 |
else |
else |
8516 |
echo "$ac_t""no" 1>&6 |
tcl_checkSocket=1 |
|
tcl_checkSocket=1 |
|
8517 |
fi |
fi |
8518 |
|
|
8519 |
if test "$tcl_checkSocket" = 1; then |
if test "$tcl_checkSocket" = 1; then |
8520 |
echo $ac_n "checking for main in -lsocket""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for main in -lsocket" >&5 |
8521 |
echo "configure:4298: checking for main in -lsocket" >&5 |
echo $ECHO_N "checking for main in -lsocket... $ECHO_C" >&6 |
8522 |
ac_lib_var=`echo socket'_'main | sed 'y%./+-%__p_%'` |
if test "${ac_cv_lib_socket_main+set}" = set; then |
8523 |
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 |
|
8524 |
else |
else |
8525 |
ac_save_LIBS="$LIBS" |
ac_check_lib_save_LIBS=$LIBS |
8526 |
LIBS="-lsocket $LIBS" |
LIBS="-lsocket $LIBS" |
8527 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
8528 |
#line 4306 "configure" |
#line $LINENO "configure" |
8529 |
#include "confdefs.h" |
/* confdefs.h. */ |
8530 |
|
_ACEOF |
8531 |
|
cat confdefs.h >>conftest.$ac_ext |
8532 |
|
cat >>conftest.$ac_ext <<_ACEOF |
8533 |
|
/* end confdefs.h. */ |
8534 |
|
|
|
int main() { |
|
|
main() |
|
|
; return 0; } |
|
|
EOF |
|
|
if { (eval echo configure:4313: \"$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" |
|
8535 |
|
|
8536 |
fi |
int |
8537 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
main () |
8538 |
echo "$ac_t""yes" 1>&6 |
{ |
8539 |
|
main (); |
8540 |
|
; |
8541 |
|
return 0; |
8542 |
|
} |
8543 |
|
_ACEOF |
8544 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
8545 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
8546 |
|
(eval $ac_link) 2>&5 |
8547 |
|
ac_status=$? |
8548 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8549 |
|
(exit $ac_status); } && |
8550 |
|
{ ac_try='test -s conftest$ac_exeext' |
8551 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8552 |
|
(eval $ac_try) 2>&5 |
8553 |
|
ac_status=$? |
8554 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8555 |
|
(exit $ac_status); }; }; then |
8556 |
|
ac_cv_lib_socket_main=yes |
8557 |
|
else |
8558 |
|
echo "$as_me: failed program was:" >&5 |
8559 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
8560 |
|
|
8561 |
|
ac_cv_lib_socket_main=no |
8562 |
|
fi |
8563 |
|
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
8564 |
|
LIBS=$ac_check_lib_save_LIBS |
8565 |
|
fi |
8566 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_socket_main" >&5 |
8567 |
|
echo "${ECHO_T}$ac_cv_lib_socket_main" >&6 |
8568 |
|
if test $ac_cv_lib_socket_main = yes; then |
8569 |
TLIBS="$TLIBS -lsocket" |
TLIBS="$TLIBS -lsocket" |
8570 |
else |
else |
8571 |
echo "$ac_t""no" 1>&6 |
tcl_checkBoth=1 |
|
tcl_checkBoth=1 |
|
8572 |
fi |
fi |
8573 |
|
|
8574 |
fi |
fi |
8577 |
if test "$tcl_checkBoth" = 1; then |
if test "$tcl_checkBoth" = 1; then |
8578 |
tk_oldLibs=$TLIBS |
tk_oldLibs=$TLIBS |
8579 |
TLIBS="$TLIBS -lsocket -lnsl" |
TLIBS="$TLIBS -lsocket -lnsl" |
8580 |
echo $ac_n "checking for accept""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for accept" >&5 |
8581 |
echo "configure:4341: checking for accept" >&5 |
echo $ECHO_N "checking for accept... $ECHO_C" >&6 |
8582 |
if eval "test \"`echo '$''{'ac_cv_func_accept'+set}'`\" = set"; then |
if test "${ac_cv_func_accept+set}" = set; then |
8583 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
8584 |
else |
else |
8585 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
8586 |
#line 4346 "configure" |
#line $LINENO "configure" |
8587 |
#include "confdefs.h" |
/* confdefs.h. */ |
8588 |
|
_ACEOF |
8589 |
|
cat confdefs.h >>conftest.$ac_ext |
8590 |
|
cat >>conftest.$ac_ext <<_ACEOF |
8591 |
|
/* end confdefs.h. */ |
8592 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
8593 |
which can conflict with char accept(); below. */ |
which can conflict with char accept (); below. |
8594 |
#include <assert.h> |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
8595 |
|
<limits.h> exists even on freestanding compilers. */ |
8596 |
|
#ifdef __STDC__ |
8597 |
|
# include <limits.h> |
8598 |
|
#else |
8599 |
|
# include <assert.h> |
8600 |
|
#endif |
8601 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
8602 |
|
#ifdef __cplusplus |
8603 |
|
extern "C" |
8604 |
|
{ |
8605 |
|
#endif |
8606 |
/* 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 |
8607 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
8608 |
char accept(); |
char accept (); |
|
|
|
|
int main() { |
|
|
|
|
8609 |
/* The GNU C library defines this for functions which it implements |
/* The GNU C library defines this for functions which it implements |
8610 |
to always fail with ENOSYS. Some functions are actually named |
to always fail with ENOSYS. Some functions are actually named |
8611 |
something starting with __ and the normal name is an alias. */ |
something starting with __ and the normal name is an alias. */ |
8612 |
#if defined (__stub_accept) || defined (__stub___accept) |
#if defined (__stub_accept) || defined (__stub___accept) |
8613 |
choke me |
choke me |
8614 |
#else |
#else |
8615 |
accept(); |
char (*f) () = accept; |
8616 |
|
#endif |
8617 |
|
#ifdef __cplusplus |
8618 |
|
} |
8619 |
#endif |
#endif |
8620 |
|
|
8621 |
; return 0; } |
int |
8622 |
EOF |
main () |
8623 |
if { (eval echo configure:4369: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
{ |
8624 |
rm -rf conftest* |
return f != accept; |
8625 |
eval "ac_cv_func_accept=yes" |
; |
8626 |
else |
return 0; |
8627 |
echo "configure: failed program was:" >&5 |
} |
8628 |
cat conftest.$ac_ext >&5 |
_ACEOF |
8629 |
rm -rf conftest* |
rm -f conftest.$ac_objext conftest$ac_exeext |
8630 |
eval "ac_cv_func_accept=no" |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
8631 |
fi |
(eval $ac_link) 2>&5 |
8632 |
rm -f conftest* |
ac_status=$? |
8633 |
fi |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8634 |
|
(exit $ac_status); } && |
8635 |
if eval "test \"`echo '$ac_cv_func_'accept`\" = yes"; then |
{ ac_try='test -s conftest$ac_exeext' |
8636 |
echo "$ac_t""yes" 1>&6 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8637 |
|
(eval $ac_try) 2>&5 |
8638 |
|
ac_status=$? |
8639 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8640 |
|
(exit $ac_status); }; }; then |
8641 |
|
ac_cv_func_accept=yes |
8642 |
|
else |
8643 |
|
echo "$as_me: failed program was:" >&5 |
8644 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
8645 |
|
|
8646 |
|
ac_cv_func_accept=no |
8647 |
|
fi |
8648 |
|
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
8649 |
|
fi |
8650 |
|
echo "$as_me:$LINENO: result: $ac_cv_func_accept" >&5 |
8651 |
|
echo "${ECHO_T}$ac_cv_func_accept" >&6 |
8652 |
|
if test $ac_cv_func_accept = yes; then |
8653 |
tcl_checkNsl=0 |
tcl_checkNsl=0 |
8654 |
else |
else |
8655 |
echo "$ac_t""no" 1>&6 |
TLIBS=$tk_oldLibs |
|
TLIBS=$tk_oldLibs |
|
8656 |
fi |
fi |
8657 |
|
|
8658 |
fi |
fi |
8659 |
echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for gethostbyname" >&5 |
8660 |
echo "configure:4391: checking for gethostbyname" >&5 |
echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6 |
8661 |
if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then |
if test "${ac_cv_func_gethostbyname+set}" = set; then |
8662 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
8663 |
else |
else |
8664 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
8665 |
#line 4396 "configure" |
#line $LINENO "configure" |
8666 |
#include "confdefs.h" |
/* confdefs.h. */ |
8667 |
|
_ACEOF |
8668 |
|
cat confdefs.h >>conftest.$ac_ext |
8669 |
|
cat >>conftest.$ac_ext <<_ACEOF |
8670 |
|
/* end confdefs.h. */ |
8671 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
8672 |
which can conflict with char gethostbyname(); below. */ |
which can conflict with char gethostbyname (); below. |
8673 |
#include <assert.h> |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
8674 |
|
<limits.h> exists even on freestanding compilers. */ |
8675 |
|
#ifdef __STDC__ |
8676 |
|
# include <limits.h> |
8677 |
|
#else |
8678 |
|
# include <assert.h> |
8679 |
|
#endif |
8680 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
8681 |
|
#ifdef __cplusplus |
8682 |
|
extern "C" |
8683 |
|
{ |
8684 |
|
#endif |
8685 |
/* 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 |
8686 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
8687 |
char gethostbyname(); |
char gethostbyname (); |
|
|
|
|
int main() { |
|
|
|
|
8688 |
/* The GNU C library defines this for functions which it implements |
/* The GNU C library defines this for functions which it implements |
8689 |
to always fail with ENOSYS. Some functions are actually named |
to always fail with ENOSYS. Some functions are actually named |
8690 |
something starting with __ and the normal name is an alias. */ |
something starting with __ and the normal name is an alias. */ |
8691 |
#if defined (__stub_gethostbyname) || defined (__stub___gethostbyname) |
#if defined (__stub_gethostbyname) || defined (__stub___gethostbyname) |
8692 |
choke me |
choke me |
8693 |
#else |
#else |
8694 |
gethostbyname(); |
char (*f) () = gethostbyname; |
8695 |
|
#endif |
8696 |
|
#ifdef __cplusplus |
8697 |
|
} |
8698 |
#endif |
#endif |
8699 |
|
|
8700 |
; return 0; } |
int |
8701 |
EOF |
main () |
8702 |
if { (eval echo configure:4419: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
{ |
8703 |
rm -rf conftest* |
return f != gethostbyname; |
8704 |
eval "ac_cv_func_gethostbyname=yes" |
; |
8705 |
else |
return 0; |
8706 |
echo "configure: failed program was:" >&5 |
} |
8707 |
cat conftest.$ac_ext >&5 |
_ACEOF |
8708 |
rm -rf conftest* |
rm -f conftest.$ac_objext conftest$ac_exeext |
8709 |
eval "ac_cv_func_gethostbyname=no" |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
8710 |
fi |
(eval $ac_link) 2>&5 |
8711 |
rm -f conftest* |
ac_status=$? |
8712 |
fi |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8713 |
|
(exit $ac_status); } && |
8714 |
if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then |
{ ac_try='test -s conftest$ac_exeext' |
8715 |
echo "$ac_t""yes" 1>&6 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8716 |
|
(eval $ac_try) 2>&5 |
8717 |
|
ac_status=$? |
8718 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8719 |
|
(exit $ac_status); }; }; then |
8720 |
|
ac_cv_func_gethostbyname=yes |
8721 |
|
else |
8722 |
|
echo "$as_me: failed program was:" >&5 |
8723 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
8724 |
|
|
8725 |
|
ac_cv_func_gethostbyname=no |
8726 |
|
fi |
8727 |
|
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
8728 |
|
fi |
8729 |
|
echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5 |
8730 |
|
echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6 |
8731 |
|
if test $ac_cv_func_gethostbyname = yes; then |
8732 |
: |
: |
8733 |
else |
else |
8734 |
echo "$ac_t""no" 1>&6 |
echo "$as_me:$LINENO: checking for main in -lnsl" >&5 |
8735 |
echo $ac_n "checking for main in -lnsl""... $ac_c" 1>&6 |
echo $ECHO_N "checking for main in -lnsl... $ECHO_C" >&6 |
8736 |
echo "configure:4437: checking for main in -lnsl" >&5 |
if test "${ac_cv_lib_nsl_main+set}" = set; then |
8737 |
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 |
|
8738 |
else |
else |
8739 |
ac_save_LIBS="$LIBS" |
ac_check_lib_save_LIBS=$LIBS |
8740 |
LIBS="-lnsl $LIBS" |
LIBS="-lnsl $LIBS" |
8741 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
8742 |
#line 4445 "configure" |
#line $LINENO "configure" |
8743 |
#include "confdefs.h" |
/* confdefs.h. */ |
8744 |
|
_ACEOF |
8745 |
|
cat confdefs.h >>conftest.$ac_ext |
8746 |
|
cat >>conftest.$ac_ext <<_ACEOF |
8747 |
|
/* end confdefs.h. */ |
8748 |
|
|
|
int main() { |
|
|
main() |
|
|
; return 0; } |
|
|
EOF |
|
|
if { (eval echo configure:4452: \"$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" |
|
8749 |
|
|
8750 |
fi |
int |
8751 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
main () |
8752 |
echo "$ac_t""yes" 1>&6 |
{ |
8753 |
|
main (); |
8754 |
|
; |
8755 |
|
return 0; |
8756 |
|
} |
8757 |
|
_ACEOF |
8758 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
8759 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
8760 |
|
(eval $ac_link) 2>&5 |
8761 |
|
ac_status=$? |
8762 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8763 |
|
(exit $ac_status); } && |
8764 |
|
{ ac_try='test -s conftest$ac_exeext' |
8765 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8766 |
|
(eval $ac_try) 2>&5 |
8767 |
|
ac_status=$? |
8768 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8769 |
|
(exit $ac_status); }; }; then |
8770 |
|
ac_cv_lib_nsl_main=yes |
8771 |
|
else |
8772 |
|
echo "$as_me: failed program was:" >&5 |
8773 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
8774 |
|
|
8775 |
|
ac_cv_lib_nsl_main=no |
8776 |
|
fi |
8777 |
|
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
8778 |
|
LIBS=$ac_check_lib_save_LIBS |
8779 |
|
fi |
8780 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_main" >&5 |
8781 |
|
echo "${ECHO_T}$ac_cv_lib_nsl_main" >&6 |
8782 |
|
if test $ac_cv_lib_nsl_main = yes; then |
8783 |
TLIBS="$TLIBS -lnsl" |
TLIBS="$TLIBS -lnsl" |
|
else |
|
|
echo "$ac_t""no" 1>&6 |
|
8784 |
fi |
fi |
8785 |
|
|
8786 |
fi |
fi |
8787 |
|
|
8788 |
|
|
8789 |
if test "$enable_readline" = "yes" ; then |
if test "$enable_readline" = "yes" ; then |
8790 |
echo $ac_n "checking for main in -lreadline""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for main in -lreadline" >&5 |
8791 |
echo "configure:4477: checking for main in -lreadline" >&5 |
echo $ECHO_N "checking for main in -lreadline... $ECHO_C" >&6 |
8792 |
ac_lib_var=`echo readline'_'main | sed 'y%./+-%__p_%'` |
if test "${ac_cv_lib_readline_main+set}" = set; then |
8793 |
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 |
|
8794 |
else |
else |
8795 |
ac_save_LIBS="$LIBS" |
ac_check_lib_save_LIBS=$LIBS |
8796 |
LIBS="-lreadline -lncurses $LIBS" |
LIBS="-lreadline -lncurses $LIBS" |
8797 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
8798 |
#line 4485 "configure" |
#line $LINENO "configure" |
8799 |
#include "confdefs.h" |
/* confdefs.h. */ |
8800 |
|
_ACEOF |
8801 |
|
cat confdefs.h >>conftest.$ac_ext |
8802 |
|
cat >>conftest.$ac_ext <<_ACEOF |
8803 |
|
/* end confdefs.h. */ |
8804 |
|
|
|
int main() { |
|
|
main() |
|
|
; return 0; } |
|
|
EOF |
|
|
if { (eval echo configure:4492: \"$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" |
|
8805 |
|
|
8806 |
fi |
int |
8807 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
main () |
8808 |
echo "$ac_t""yes" 1>&6 |
{ |
8809 |
cat >> confdefs.h <<\EOF |
main (); |
8810 |
|
; |
8811 |
|
return 0; |
8812 |
|
} |
8813 |
|
_ACEOF |
8814 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
8815 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
8816 |
|
(eval $ac_link) 2>&5 |
8817 |
|
ac_status=$? |
8818 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8819 |
|
(exit $ac_status); } && |
8820 |
|
{ ac_try='test -s conftest$ac_exeext' |
8821 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8822 |
|
(eval $ac_try) 2>&5 |
8823 |
|
ac_status=$? |
8824 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8825 |
|
(exit $ac_status); }; }; then |
8826 |
|
ac_cv_lib_readline_main=yes |
8827 |
|
else |
8828 |
|
echo "$as_me: failed program was:" >&5 |
8829 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
8830 |
|
|
8831 |
|
ac_cv_lib_readline_main=no |
8832 |
|
fi |
8833 |
|
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
8834 |
|
LIBS=$ac_check_lib_save_LIBS |
8835 |
|
fi |
8836 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_readline_main" >&5 |
8837 |
|
echo "${ECHO_T}$ac_cv_lib_readline_main" >&6 |
8838 |
|
if test $ac_cv_lib_readline_main = yes; then |
8839 |
|
cat >>confdefs.h <<\_ACEOF |
8840 |
#define HAVE_READLINE 1 |
#define HAVE_READLINE 1 |
8841 |
EOF |
_ACEOF |
8842 |
|
|
8843 |
TLIBS="$TLIBS -lreadline -lncurses" |
TLIBS="$TLIBS -lreadline -lncurses" |
8844 |
RL_OBJS=readline.o |
RL_OBJS=readline.o |
8845 |
RL_LIB=lsp/readline.o |
RL_LIB=lsp/readline.o |
|
else |
|
|
echo "$ac_t""no" 1>&6 |
|
8846 |
fi |
fi |
8847 |
|
|
8848 |
fi |
fi |
8850 |
|
|
8851 |
|
|
8852 |
|
|
8853 |
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 |
8854 |
echo "configure:4524: checking For network code for nsocket.c" >&5 |
echo $ECHO_N "checking For network code for nsocket.c... $ECHO_C" >&6 |
8855 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
8856 |
#line 4526 "configure" |
#line $LINENO "configure" |
8857 |
#include "confdefs.h" |
/* confdefs.h. */ |
8858 |
|
_ACEOF |
8859 |
|
cat confdefs.h >>conftest.$ac_ext |
8860 |
|
cat >>conftest.$ac_ext <<_ACEOF |
8861 |
|
/* end confdefs.h. */ |
8862 |
|
|
8863 |
#include <sys/time.h> |
#include <sys/time.h> |
8864 |
#include <sys/types.h> |
#include <sys/types.h> |
8868 |
#include <fcntl.h> |
#include <fcntl.h> |
8869 |
#include <stdio.h> |
#include <stdio.h> |
8870 |
|
|
8871 |
/************* for the sockets ******************/ |
/************* for the sockets ******************/ |
8872 |
#include <sys/socket.h> /* struct sockaddr, SOCK_STREAM, ... */ |
#include <sys/socket.h> /* struct sockaddr, SOCK_STREAM, ... */ |
8873 |
#ifndef NO_UNAME |
#ifndef NO_UNAME |
8874 |
# include <sys/utsname.h> /* uname system call. */ |
# include <sys/utsname.h> /* uname system call. */ |
8877 |
#include <arpa/inet.h> /* inet_ntoa() */ |
#include <arpa/inet.h> /* inet_ntoa() */ |
8878 |
#include <netdb.h> /* gethostbyname() */ |
#include <netdb.h> /* gethostbyname() */ |
8879 |
|
|
8880 |
int main() { |
int |
8881 |
|
main () |
8882 |
|
{ |
8883 |
connect(0,(struct sockaddr *)0,0); |
connect(0,(struct sockaddr *)0,0); |
8884 |
gethostbyname("jil"); |
gethostbyname("jil"); |
8885 |
socket(AF_INET, SOCK_STREAM, 0); |
socket(AF_INET, SOCK_STREAM, 0); |
8886 |
|
|
8887 |
; return 0; } |
; |
8888 |
EOF |
return 0; |
8889 |
if { (eval echo configure:4553: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
} |
8890 |
rm -rf conftest* |
_ACEOF |
8891 |
cat >> confdefs.h <<\EOF |
rm -f conftest.$ac_objext conftest$ac_exeext |
8892 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
8893 |
|
(eval $ac_link) 2>&5 |
8894 |
|
ac_status=$? |
8895 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8896 |
|
(exit $ac_status); } && |
8897 |
|
{ ac_try='test -s conftest$ac_exeext' |
8898 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8899 |
|
(eval $ac_try) 2>&5 |
8900 |
|
ac_status=$? |
8901 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8902 |
|
(exit $ac_status); }; }; then |
8903 |
|
cat >>confdefs.h <<\_ACEOF |
8904 |
#define HAVE_NSOCKET 1 |
#define HAVE_NSOCKET 1 |
8905 |
EOF |
_ACEOF |
8906 |
|
|
8907 |
echo "$ac_t""yes" 1>&6 |
echo "$as_me:$LINENO: result: yes" >&5 |
8908 |
|
echo "${ECHO_T}yes" >&6 |
8909 |
else |
else |
8910 |
echo "configure: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
8911 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
8912 |
rm -rf conftest* |
|
8913 |
echo "$ac_t""no" 1>&6 |
echo "$as_me:$LINENO: result: no" >&5 |
8914 |
|
echo "${ECHO_T}no" >&6 |
8915 |
fi |
fi |
8916 |
rm -f conftest* |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
8917 |
|
|
8918 |
|
|
8919 |
echo $ac_n "checking check for listen using fcntl""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking check for listen using fcntl" >&5 |
8920 |
echo "configure:4570: checking check for listen using fcntl" >&5 |
echo $ECHO_N "checking check for listen using fcntl... $ECHO_C" >&6 |
8921 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
8922 |
#line 4572 "configure" |
#line $LINENO "configure" |
8923 |
#include "confdefs.h" |
/* confdefs.h. */ |
8924 |
|
_ACEOF |
8925 |
|
cat confdefs.h >>conftest.$ac_ext |
8926 |
|
cat >>conftest.$ac_ext <<_ACEOF |
8927 |
|
/* end confdefs.h. */ |
8928 |
#include <stdio.h> |
#include <stdio.h> |
8929 |
#include <fcntl.h> |
#include <fcntl.h> |
8930 |
|
|
8931 |
int main() { |
int |
8932 |
|
main () |
8933 |
|
{ |
8934 |
FILE *fp=fopen("configure.in","r"); |
FILE *fp=fopen("configure.in","r"); |
8935 |
int orig; |
int orig; |
8936 |
orig = fcntl(fileno(fp), F_GETFL); |
orig = fcntl(fileno(fp), F_GETFL); |
8937 |
if (! (orig & O_NONBLOCK )) return 0; |
if (! (orig & O_NONBLOCK )) return 0; |
8938 |
|
|
8939 |
; return 0; } |
; |
8940 |
EOF |
return 0; |
8941 |
if { (eval echo configure:4585: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
} |
8942 |
rm -rf conftest* |
_ACEOF |
8943 |
cat >> confdefs.h <<\EOF |
rm -f conftest.$ac_objext |
8944 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
8945 |
|
(eval $ac_compile) 2>&5 |
8946 |
|
ac_status=$? |
8947 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8948 |
|
(exit $ac_status); } && |
8949 |
|
{ ac_try='test -s conftest.$ac_objext' |
8950 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8951 |
|
(eval $ac_try) 2>&5 |
8952 |
|
ac_status=$? |
8953 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8954 |
|
(exit $ac_status); }; }; then |
8955 |
|
cat >>confdefs.h <<\_ACEOF |
8956 |
#define LISTEN_USE_FCNTL 1 |
#define LISTEN_USE_FCNTL 1 |
8957 |
EOF |
_ACEOF |
8958 |
|
|
8959 |
echo "$ac_t""yes" 1>&6 |
echo "$as_me:$LINENO: result: yes" >&5 |
8960 |
|
echo "${ECHO_T}yes" >&6 |
8961 |
else |
else |
8962 |
echo "configure: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
8963 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
8964 |
rm -rf conftest* |
|
8965 |
echo "$ac_t""no" 1>&6 |
echo "$as_me:$LINENO: result: no" >&5 |
8966 |
|
echo "${ECHO_T}no" >&6 |
8967 |
fi |
fi |
8968 |
rm -f conftest* |
rm -f conftest.$ac_objext conftest.$ac_ext |
8969 |
|
|
8970 |
|
|
8971 |
|
|
8972 |
|
|
8973 |
echo $ac_n "checking for profil""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for profil" >&5 |
8974 |
echo "configure:4604: checking for profil" >&5 |
echo $ECHO_N "checking for profil... $ECHO_C" >&6 |
8975 |
if eval "test \"`echo '$''{'ac_cv_func_profil'+set}'`\" = set"; then |
if test "${ac_cv_func_profil+set}" = set; then |
8976 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
8977 |
else |
else |
8978 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
8979 |
#line 4609 "configure" |
#line $LINENO "configure" |
8980 |
#include "confdefs.h" |
/* confdefs.h. */ |
8981 |
|
_ACEOF |
8982 |
|
cat confdefs.h >>conftest.$ac_ext |
8983 |
|
cat >>conftest.$ac_ext <<_ACEOF |
8984 |
|
/* end confdefs.h. */ |
8985 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
8986 |
which can conflict with char profil(); below. */ |
which can conflict with char profil (); below. |
8987 |
#include <assert.h> |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
8988 |
|
<limits.h> exists even on freestanding compilers. */ |
8989 |
|
#ifdef __STDC__ |
8990 |
|
# include <limits.h> |
8991 |
|
#else |
8992 |
|
# include <assert.h> |
8993 |
|
#endif |
8994 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
8995 |
|
#ifdef __cplusplus |
8996 |
|
extern "C" |
8997 |
|
{ |
8998 |
|
#endif |
8999 |
/* 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 |
9000 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
9001 |
char profil(); |
char profil (); |
|
|
|
|
int main() { |
|
|
|
|
9002 |
/* The GNU C library defines this for functions which it implements |
/* The GNU C library defines this for functions which it implements |
9003 |
to always fail with ENOSYS. Some functions are actually named |
to always fail with ENOSYS. Some functions are actually named |
9004 |
something starting with __ and the normal name is an alias. */ |
something starting with __ and the normal name is an alias. */ |
9005 |
#if defined (__stub_profil) || defined (__stub___profil) |
#if defined (__stub_profil) || defined (__stub___profil) |
9006 |
choke me |
choke me |
9007 |
#else |
#else |
9008 |
profil(); |
char (*f) () = profil; |
9009 |
|
#endif |
9010 |
|
#ifdef __cplusplus |
9011 |
|
} |
9012 |
#endif |
#endif |
9013 |
|
|
9014 |
; return 0; } |
int |
9015 |
EOF |
main () |
9016 |
if { (eval echo configure:4632: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
{ |
9017 |
rm -rf conftest* |
return f != profil; |
9018 |
eval "ac_cv_func_profil=yes" |
; |
9019 |
else |
return 0; |
9020 |
echo "configure: failed program was:" >&5 |
} |
9021 |
cat conftest.$ac_ext >&5 |
_ACEOF |
9022 |
rm -rf conftest* |
rm -f conftest.$ac_objext conftest$ac_exeext |
9023 |
eval "ac_cv_func_profil=no" |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
9024 |
fi |
(eval $ac_link) 2>&5 |
9025 |
rm -f conftest* |
ac_status=$? |
9026 |
fi |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9027 |
|
(exit $ac_status); } && |
9028 |
if eval "test \"`echo '$ac_cv_func_'profil`\" = yes"; then |
{ ac_try='test -s conftest$ac_exeext' |
9029 |
echo "$ac_t""yes" 1>&6 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9030 |
|
(eval $ac_try) 2>&5 |
9031 |
|
ac_status=$? |
9032 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9033 |
|
(exit $ac_status); }; }; then |
9034 |
|
ac_cv_func_profil=yes |
9035 |
|
else |
9036 |
|
echo "$as_me: failed program was:" >&5 |
9037 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
9038 |
|
|
9039 |
|
ac_cv_func_profil=no |
9040 |
|
fi |
9041 |
|
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
9042 |
|
fi |
9043 |
|
echo "$as_me:$LINENO: result: $ac_cv_func_profil" >&5 |
9044 |
|
echo "${ECHO_T}$ac_cv_func_profil" >&6 |
9045 |
|
if test $ac_cv_func_profil = yes; then |
9046 |
: |
: |
9047 |
else |
else |
9048 |
echo "$ac_t""no" 1>&6 |
cat >>confdefs.h <<\_ACEOF |
|
cat >> confdefs.h <<\EOF |
|
9049 |
#define NO_PROFILE 1 |
#define NO_PROFILE 1 |
9050 |
EOF |
_ACEOF |
9051 |
|
|
9052 |
fi |
fi |
9053 |
|
|
9054 |
|
|
9055 |
echo $ac_n "checking for setenv""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for setenv" >&5 |
9056 |
echo "configure:4657: checking for setenv" >&5 |
echo $ECHO_N "checking for setenv... $ECHO_C" >&6 |
9057 |
if eval "test \"`echo '$''{'ac_cv_func_setenv'+set}'`\" = set"; then |
if test "${ac_cv_func_setenv+set}" = set; then |
9058 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
9059 |
else |
else |
9060 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
9061 |
#line 4662 "configure" |
#line $LINENO "configure" |
9062 |
#include "confdefs.h" |
/* confdefs.h. */ |
9063 |
|
_ACEOF |
9064 |
|
cat confdefs.h >>conftest.$ac_ext |
9065 |
|
cat >>conftest.$ac_ext <<_ACEOF |
9066 |
|
/* end confdefs.h. */ |
9067 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
9068 |
which can conflict with char setenv(); below. */ |
which can conflict with char setenv (); below. |
9069 |
#include <assert.h> |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
9070 |
|
<limits.h> exists even on freestanding compilers. */ |
9071 |
|
#ifdef __STDC__ |
9072 |
|
# include <limits.h> |
9073 |
|
#else |
9074 |
|
# include <assert.h> |
9075 |
|
#endif |
9076 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
9077 |
|
#ifdef __cplusplus |
9078 |
|
extern "C" |
9079 |
|
{ |
9080 |
|
#endif |
9081 |
/* 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 |
9082 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
9083 |
char setenv(); |
char setenv (); |
|
|
|
|
int main() { |
|
|
|
|
9084 |
/* The GNU C library defines this for functions which it implements |
/* The GNU C library defines this for functions which it implements |
9085 |
to always fail with ENOSYS. Some functions are actually named |
to always fail with ENOSYS. Some functions are actually named |
9086 |
something starting with __ and the normal name is an alias. */ |
something starting with __ and the normal name is an alias. */ |
9087 |
#if defined (__stub_setenv) || defined (__stub___setenv) |
#if defined (__stub_setenv) || defined (__stub___setenv) |
9088 |
choke me |
choke me |
9089 |
#else |
#else |
9090 |
setenv(); |
char (*f) () = setenv; |
9091 |
|
#endif |
9092 |
|
#ifdef __cplusplus |
9093 |
|
} |
9094 |
#endif |
#endif |
9095 |
|
|
9096 |
; return 0; } |
int |
9097 |
EOF |
main () |
9098 |
if { (eval echo configure:4685: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
{ |
9099 |
rm -rf conftest* |
return f != setenv; |
9100 |
eval "ac_cv_func_setenv=yes" |
; |
9101 |
else |
return 0; |
9102 |
echo "configure: failed program was:" >&5 |
} |
9103 |
cat conftest.$ac_ext >&5 |
_ACEOF |
9104 |
rm -rf conftest* |
rm -f conftest.$ac_objext conftest$ac_exeext |
9105 |
eval "ac_cv_func_setenv=no" |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
9106 |
fi |
(eval $ac_link) 2>&5 |
9107 |
rm -f conftest* |
ac_status=$? |
9108 |
fi |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9109 |
|
(exit $ac_status); } && |
9110 |
if eval "test \"`echo '$ac_cv_func_'setenv`\" = yes"; then |
{ ac_try='test -s conftest$ac_exeext' |
9111 |
echo "$ac_t""yes" 1>&6 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9112 |
cat >> confdefs.h <<\EOF |
(eval $ac_try) 2>&5 |
9113 |
|
ac_status=$? |
9114 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9115 |
|
(exit $ac_status); }; }; then |
9116 |
|
ac_cv_func_setenv=yes |
9117 |
|
else |
9118 |
|
echo "$as_me: failed program was:" >&5 |
9119 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
9120 |
|
|
9121 |
|
ac_cv_func_setenv=no |
9122 |
|
fi |
9123 |
|
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
9124 |
|
fi |
9125 |
|
echo "$as_me:$LINENO: result: $ac_cv_func_setenv" >&5 |
9126 |
|
echo "${ECHO_T}$ac_cv_func_setenv" >&6 |
9127 |
|
if test $ac_cv_func_setenv = yes; then |
9128 |
|
cat >>confdefs.h <<\_ACEOF |
9129 |
#define HAVE_SETENV 1 |
#define HAVE_SETENV 1 |
9130 |
EOF |
_ACEOF |
9131 |
|
|
9132 |
else |
else |
9133 |
echo "$ac_t""no" 1>&6 |
no_setenv=1 |
|
no_setenv=1 |
|
9134 |
fi |
fi |
9135 |
|
|
9136 |
|
|
9137 |
if test "$no_setenv" = "1" ; then |
if test "$no_setenv" = "1" ; then |
9138 |
echo $ac_n "checking for putenv""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for putenv" >&5 |
9139 |
echo "configure:4711: checking for putenv" >&5 |
echo $ECHO_N "checking for putenv... $ECHO_C" >&6 |
9140 |
if eval "test \"`echo '$''{'ac_cv_func_putenv'+set}'`\" = set"; then |
if test "${ac_cv_func_putenv+set}" = set; then |
9141 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
9142 |
else |
else |
9143 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
9144 |
#line 4716 "configure" |
#line $LINENO "configure" |
9145 |
#include "confdefs.h" |
/* confdefs.h. */ |
9146 |
|
_ACEOF |
9147 |
|
cat confdefs.h >>conftest.$ac_ext |
9148 |
|
cat >>conftest.$ac_ext <<_ACEOF |
9149 |
|
/* end confdefs.h. */ |
9150 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
9151 |
which can conflict with char putenv(); below. */ |
which can conflict with char putenv (); below. |
9152 |
#include <assert.h> |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
9153 |
|
<limits.h> exists even on freestanding compilers. */ |
9154 |
|
#ifdef __STDC__ |
9155 |
|
# include <limits.h> |
9156 |
|
#else |
9157 |
|
# include <assert.h> |
9158 |
|
#endif |
9159 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
9160 |
|
#ifdef __cplusplus |
9161 |
|
extern "C" |
9162 |
|
{ |
9163 |
|
#endif |
9164 |
/* 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 |
9165 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
9166 |
char putenv(); |
char putenv (); |
|
|
|
|
int main() { |
|
|
|
|
9167 |
/* The GNU C library defines this for functions which it implements |
/* The GNU C library defines this for functions which it implements |
9168 |
to always fail with ENOSYS. Some functions are actually named |
to always fail with ENOSYS. Some functions are actually named |
9169 |
something starting with __ and the normal name is an alias. */ |
something starting with __ and the normal name is an alias. */ |
9170 |
#if defined (__stub_putenv) || defined (__stub___putenv) |
#if defined (__stub_putenv) || defined (__stub___putenv) |
9171 |
choke me |
choke me |
9172 |
#else |
#else |
9173 |
putenv(); |
char (*f) () = putenv; |
9174 |
|
#endif |
9175 |
|
#ifdef __cplusplus |
9176 |
|
} |
9177 |
#endif |
#endif |
9178 |
|
|
9179 |
; return 0; } |
int |
9180 |
EOF |
main () |
9181 |
if { (eval echo configure:4739: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
{ |
9182 |
rm -rf conftest* |
return f != putenv; |
9183 |
eval "ac_cv_func_putenv=yes" |
; |
9184 |
else |
return 0; |
9185 |
echo "configure: failed program was:" >&5 |
} |
9186 |
cat conftest.$ac_ext >&5 |
_ACEOF |
9187 |
rm -rf conftest* |
rm -f conftest.$ac_objext conftest$ac_exeext |
9188 |
eval "ac_cv_func_putenv=no" |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
9189 |
fi |
(eval $ac_link) 2>&5 |
9190 |
rm -f conftest* |
ac_status=$? |
9191 |
fi |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9192 |
|
(exit $ac_status); } && |
9193 |
if eval "test \"`echo '$ac_cv_func_'putenv`\" = yes"; then |
{ ac_try='test -s conftest$ac_exeext' |
9194 |
echo "$ac_t""yes" 1>&6 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9195 |
cat >> confdefs.h <<\EOF |
(eval $ac_try) 2>&5 |
9196 |
|
ac_status=$? |
9197 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9198 |
|
(exit $ac_status); }; }; then |
9199 |
|
ac_cv_func_putenv=yes |
9200 |
|
else |
9201 |
|
echo "$as_me: failed program was:" >&5 |
9202 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
9203 |
|
|
9204 |
|
ac_cv_func_putenv=no |
9205 |
|
fi |
9206 |
|
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
9207 |
|
fi |
9208 |
|
echo "$as_me:$LINENO: result: $ac_cv_func_putenv" >&5 |
9209 |
|
echo "${ECHO_T}$ac_cv_func_putenv" >&6 |
9210 |
|
if test $ac_cv_func_putenv = yes; then |
9211 |
|
cat >>confdefs.h <<\_ACEOF |
9212 |
#define HAVE_PUTENV 1 |
#define HAVE_PUTENV 1 |
9213 |
EOF |
_ACEOF |
9214 |
|
|
|
else |
|
|
echo "$ac_t""no" 1>&6 |
|
9215 |
fi |
fi |
9216 |
|
|
9217 |
|
|
9218 |
fi |
fi |
9219 |
|
|
9220 |
echo $ac_n "checking for _cleanup""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for _cleanup" >&5 |
9221 |
echo "configure:4765: checking for _cleanup" >&5 |
echo $ECHO_N "checking for _cleanup... $ECHO_C" >&6 |
9222 |
if eval "test \"`echo '$''{'ac_cv_func__cleanup'+set}'`\" = set"; then |
if test "${ac_cv_func__cleanup+set}" = set; then |
9223 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
9224 |
else |
else |
9225 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
9226 |
#line 4770 "configure" |
#line $LINENO "configure" |
9227 |
#include "confdefs.h" |
/* confdefs.h. */ |
9228 |
|
_ACEOF |
9229 |
|
cat confdefs.h >>conftest.$ac_ext |
9230 |
|
cat >>conftest.$ac_ext <<_ACEOF |
9231 |
|
/* end confdefs.h. */ |
9232 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
9233 |
which can conflict with char _cleanup(); below. */ |
which can conflict with char _cleanup (); below. |
9234 |
#include <assert.h> |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
9235 |
|
<limits.h> exists even on freestanding compilers. */ |
9236 |
|
#ifdef __STDC__ |
9237 |
|
# include <limits.h> |
9238 |
|
#else |
9239 |
|
# include <assert.h> |
9240 |
|
#endif |
9241 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
9242 |
|
#ifdef __cplusplus |
9243 |
|
extern "C" |
9244 |
|
{ |
9245 |
|
#endif |
9246 |
/* 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 |
9247 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
9248 |
char _cleanup(); |
char _cleanup (); |
|
|
|
|
int main() { |
|
|
|
|
9249 |
/* The GNU C library defines this for functions which it implements |
/* The GNU C library defines this for functions which it implements |
9250 |
to always fail with ENOSYS. Some functions are actually named |
to always fail with ENOSYS. Some functions are actually named |
9251 |
something starting with __ and the normal name is an alias. */ |
something starting with __ and the normal name is an alias. */ |
9252 |
#if defined (__stub__cleanup) || defined (__stub____cleanup) |
#if defined (__stub__cleanup) || defined (__stub____cleanup) |
9253 |
choke me |
choke me |
9254 |
#else |
#else |
9255 |
_cleanup(); |
char (*f) () = _cleanup; |
9256 |
|
#endif |
9257 |
|
#ifdef __cplusplus |
9258 |
|
} |
9259 |
#endif |
#endif |
9260 |
|
|
9261 |
; return 0; } |
int |
9262 |
EOF |
main () |
9263 |
if { (eval echo configure:4793: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
{ |
9264 |
rm -rf conftest* |
return f != _cleanup; |
9265 |
eval "ac_cv_func__cleanup=yes" |
; |
9266 |
else |
return 0; |
9267 |
echo "configure: failed program was:" >&5 |
} |
9268 |
cat conftest.$ac_ext >&5 |
_ACEOF |
9269 |
rm -rf conftest* |
rm -f conftest.$ac_objext conftest$ac_exeext |
9270 |
eval "ac_cv_func__cleanup=no" |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
9271 |
fi |
(eval $ac_link) 2>&5 |
9272 |
rm -f conftest* |
ac_status=$? |
9273 |
fi |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9274 |
|
(exit $ac_status); } && |
9275 |
if eval "test \"`echo '$ac_cv_func_'_cleanup`\" = yes"; then |
{ ac_try='test -s conftest$ac_exeext' |
9276 |
echo "$ac_t""yes" 1>&6 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9277 |
cat >> confdefs.h <<\EOF |
(eval $ac_try) 2>&5 |
9278 |
|
ac_status=$? |
9279 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9280 |
|
(exit $ac_status); }; }; then |
9281 |
|
ac_cv_func__cleanup=yes |
9282 |
|
else |
9283 |
|
echo "$as_me: failed program was:" >&5 |
9284 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
9285 |
|
|
9286 |
|
ac_cv_func__cleanup=no |
9287 |
|
fi |
9288 |
|
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
9289 |
|
fi |
9290 |
|
echo "$as_me:$LINENO: result: $ac_cv_func__cleanup" >&5 |
9291 |
|
echo "${ECHO_T}$ac_cv_func__cleanup" >&6 |
9292 |
|
if test $ac_cv_func__cleanup = yes; then |
9293 |
|
cat >>confdefs.h <<\_ACEOF |
9294 |
#define USE_CLEANUP 1 |
#define USE_CLEANUP 1 |
9295 |
EOF |
_ACEOF |
9296 |
|
|
|
else |
|
|
echo "$ac_t""no" 1>&6 |
|
9297 |
fi |
fi |
9298 |
|
|
9299 |
|
|
9300 |
gcl_ok=no |
gcl_ok=no |
9301 |
|
|
9302 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
9303 |
#line 4819 "configure" |
#line $LINENO "configure" |
9304 |
#include "confdefs.h" |
/* confdefs.h. */ |
9305 |
|
_ACEOF |
9306 |
|
cat confdefs.h >>conftest.$ac_ext |
9307 |
|
cat >>conftest.$ac_ext <<_ACEOF |
9308 |
|
/* end confdefs.h. */ |
9309 |
#include <ctype.h> |
#include <ctype.h> |
9310 |
EOF |
|
9311 |
|
_ACEOF |
9312 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
9313 |
egrep "LITTLE_ENDIAN" >/dev/null 2>&1; then |
$EGREP "LITTLE_ENDIAN" >/dev/null 2>&1; then |
|
rm -rf conftest* |
|
9314 |
gcl_ok=yes |
gcl_ok=yes |
9315 |
else |
else |
|
rm -rf conftest* |
|
9316 |
gcl_ok=noo |
gcl_ok=noo |
9317 |
fi |
fi |
9318 |
rm -f conftest* |
rm -f conftest* |
9319 |
|
|
9320 |
if test $gcl_ok = yes ; then |
if test $gcl_ok = yes ; then |
9321 |
cat >> confdefs.h <<\EOF |
cat >>confdefs.h <<\_ACEOF |
9322 |
#define ENDIAN_ALREADY_DEFINED 1 |
#define ENDIAN_ALREADY_DEFINED 1 |
9323 |
EOF |
_ACEOF |
9324 |
|
|
9325 |
fi |
fi |
9326 |
|
|
9330 |
|
|
9331 |
|
|
9332 |
# if test "x$enable_machine" = "x" ; then |
# if test "x$enable_machine" = "x" ; then |
9333 |
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 |
9334 |
echo "configure:4847: 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 |
9335 |
|
|
9336 |
case $system in |
case $system in |
9337 |
OSF*) |
OSF*) |
9338 |
cat >> confdefs.h <<\EOF |
cat >>confdefs.h <<\_ACEOF |
9339 |
#define USE_FIONBIO 1 |
#define USE_FIONBIO 1 |
9340 |
EOF |
_ACEOF |
9341 |
|
|
9342 |
echo "$ac_t""FIONBIO" 1>&6 |
echo "$as_me:$LINENO: result: FIONBIO" >&5 |
9343 |
|
echo "${ECHO_T}FIONBIO" >&6 |
9344 |
;; |
;; |
9345 |
SunOS-4*) |
SunOS-4*) |
9346 |
cat >> confdefs.h <<\EOF |
cat >>confdefs.h <<\_ACEOF |
9347 |
#define USE_FIONBIO 1 |
#define USE_FIONBIO 1 |
9348 |
EOF |
_ACEOF |
9349 |
|
|
9350 |
echo "$ac_t""FIONBIO" 1>&6 |
echo "$as_me:$LINENO: result: FIONBIO" >&5 |
9351 |
|
echo "${ECHO_T}FIONBIO" >&6 |
9352 |
;; |
;; |
9353 |
ULTRIX-4.*) |
ULTRIX-4.*) |
9354 |
cat >> confdefs.h <<\EOF |
cat >>confdefs.h <<\_ACEOF |
9355 |
#define USE_FIONBIO 1 |
#define USE_FIONBIO 1 |
9356 |
EOF |
_ACEOF |
9357 |
|
|
9358 |
echo "$ac_t""FIONBIO" 1>&6 |
echo "$as_me:$LINENO: result: FIONBIO" >&5 |
9359 |
|
echo "${ECHO_T}FIONBIO" >&6 |
9360 |
;; |
;; |
9361 |
*) |
*) |
9362 |
echo "$ac_t""O_NONBLOCK" 1>&6 |
echo "$as_me:$LINENO: result: O_NONBLOCK" >&5 |
9363 |
|
echo "${ECHO_T}O_NONBLOCK" >&6 |
9364 |
;; |
;; |
9365 |
esac |
esac |
9366 |
|
|
9367 |
|
|
9368 |
echo $ac_n "checking check for SV_ONSTACK""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking check for SV_ONSTACK" >&5 |
9369 |
echo "configure:4878: checking check for SV_ONSTACK" >&5 |
echo $ECHO_N "checking check for SV_ONSTACK... $ECHO_C" >&6 |
9370 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
9371 |
#line 4880 "configure" |
#line $LINENO "configure" |
9372 |
#include "confdefs.h" |
/* confdefs.h. */ |
9373 |
|
_ACEOF |
9374 |
|
cat confdefs.h >>conftest.$ac_ext |
9375 |
|
cat >>conftest.$ac_ext <<_ACEOF |
9376 |
|
/* end confdefs.h. */ |
9377 |
#include <signal.h> |
#include <signal.h> |
9378 |
int joe=SV_ONSTACK; |
int joe=SV_ONSTACK; |
9379 |
|
|
9380 |
int main() { |
int |
9381 |
|
main () |
9382 |
|
{ |
9383 |
|
|
9384 |
; return 0; } |
; |
9385 |
EOF |
return 0; |
9386 |
if { (eval echo configure:4889: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
} |
9387 |
rm -rf conftest* |
_ACEOF |
9388 |
cat >> confdefs.h <<\EOF |
rm -f conftest.$ac_objext |
9389 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
9390 |
|
(eval $ac_compile) 2>&5 |
9391 |
|
ac_status=$? |
9392 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9393 |
|
(exit $ac_status); } && |
9394 |
|
{ ac_try='test -s conftest.$ac_objext' |
9395 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9396 |
|
(eval $ac_try) 2>&5 |
9397 |
|
ac_status=$? |
9398 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9399 |
|
(exit $ac_status); }; }; then |
9400 |
|
cat >>confdefs.h <<\_ACEOF |
9401 |
#define HAVE_SV_ONSTACK 1 |
#define HAVE_SV_ONSTACK 1 |
9402 |
EOF |
_ACEOF |
9403 |
|
|
9404 |
|
|
9405 |
echo "$ac_t""yes" 1>&6 |
echo "$as_me:$LINENO: result: yes" >&5 |
9406 |
|
echo "${ECHO_T}yes" >&6 |
9407 |
else |
else |
9408 |
echo "configure: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
9409 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
9410 |
rm -rf conftest* |
|
9411 |
echo "$ac_t""no" 1>&6 |
echo "$as_me:$LINENO: result: no" >&5 |
9412 |
|
echo "${ECHO_T}no" >&6 |
9413 |
fi |
fi |
9414 |
rm -f conftest* |
rm -f conftest.$ac_objext conftest.$ac_ext |
9415 |
|
|
9416 |
echo $ac_n "checking check for SIGSYS""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking check for SIGSYS" >&5 |
9417 |
echo "configure:4906: checking check for SIGSYS" >&5 |
echo $ECHO_N "checking check for SIGSYS... $ECHO_C" >&6 |
9418 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
9419 |
#line 4908 "configure" |
#line $LINENO "configure" |
9420 |
#include "confdefs.h" |
/* confdefs.h. */ |
9421 |
|
_ACEOF |
9422 |
|
cat confdefs.h >>conftest.$ac_ext |
9423 |
|
cat >>conftest.$ac_ext <<_ACEOF |
9424 |
|
/* end confdefs.h. */ |
9425 |
#include <signal.h> |
#include <signal.h> |
9426 |
int joe=SIGSYS; |
int joe=SIGSYS; |
9427 |
|
|
9428 |
int main() { |
int |
9429 |
|
main () |
9430 |
|
{ |
9431 |
|
|
9432 |
; return 0; } |
; |
9433 |
EOF |
return 0; |
9434 |
if { (eval echo configure:4917: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
} |
9435 |
rm -rf conftest* |
_ACEOF |
9436 |
cat >> confdefs.h <<\EOF |
rm -f conftest.$ac_objext |
9437 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
9438 |
|
(eval $ac_compile) 2>&5 |
9439 |
|
ac_status=$? |
9440 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9441 |
|
(exit $ac_status); } && |
9442 |
|
{ ac_try='test -s conftest.$ac_objext' |
9443 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9444 |
|
(eval $ac_try) 2>&5 |
9445 |
|
ac_status=$? |
9446 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9447 |
|
(exit $ac_status); }; }; then |
9448 |
|
cat >>confdefs.h <<\_ACEOF |
9449 |
#define HAVE_SIGSYS 1 |
#define HAVE_SIGSYS 1 |
9450 |
EOF |
_ACEOF |
9451 |
|
|
9452 |
|
|
9453 |
|
echo "$as_me:$LINENO: result: yes" >&5 |
9454 |
echo "$ac_t""yes" 1>&6 |
echo "${ECHO_T}yes" >&6 |
9455 |
else |
else |
9456 |
echo "configure: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
9457 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
9458 |
rm -rf conftest* |
|
9459 |
echo "$ac_t""no" 1>&6 |
echo "$as_me:$LINENO: result: no" >&5 |
9460 |
|
echo "${ECHO_T}no" >&6 |
9461 |
fi |
fi |
9462 |
rm -f conftest* |
rm -f conftest.$ac_objext conftest.$ac_ext |
9463 |
|
|
9464 |
|
|
9465 |
echo $ac_n "checking check for SIGEMT""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking check for SIGEMT" >&5 |
9466 |
echo "configure:4935: checking check for SIGEMT" >&5 |
echo $ECHO_N "checking check for SIGEMT... $ECHO_C" >&6 |
9467 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
9468 |
#line 4937 "configure" |
#line $LINENO "configure" |
9469 |
#include "confdefs.h" |
/* confdefs.h. */ |
9470 |
|
_ACEOF |
9471 |
|
cat confdefs.h >>conftest.$ac_ext |
9472 |
|
cat >>conftest.$ac_ext <<_ACEOF |
9473 |
|
/* end confdefs.h. */ |
9474 |
#include <signal.h> |
#include <signal.h> |
9475 |
int joe=SIGEMT; |
int joe=SIGEMT; |
9476 |
|
|
9477 |
int main() { |
int |
9478 |
|
main () |
9479 |
|
{ |
9480 |
|
|
9481 |
; return 0; } |
; |
9482 |
EOF |
return 0; |
9483 |
if { (eval echo configure:4946: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
} |
9484 |
rm -rf conftest* |
_ACEOF |
9485 |
cat >> confdefs.h <<\EOF |
rm -f conftest.$ac_objext |
9486 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
9487 |
|
(eval $ac_compile) 2>&5 |
9488 |
|
ac_status=$? |
9489 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9490 |
|
(exit $ac_status); } && |
9491 |
|
{ ac_try='test -s conftest.$ac_objext' |
9492 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9493 |
|
(eval $ac_try) 2>&5 |
9494 |
|
ac_status=$? |
9495 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9496 |
|
(exit $ac_status); }; }; then |
9497 |
|
cat >>confdefs.h <<\_ACEOF |
9498 |
#define HAVE_SIGEMT 1 |
#define HAVE_SIGEMT 1 |
9499 |
EOF |
_ACEOF |
9500 |
|
|
9501 |
|
|
9502 |
|
echo "$as_me:$LINENO: result: yes" >&5 |
9503 |
echo "$ac_t""yes" 1>&6 |
echo "${ECHO_T}yes" >&6 |
9504 |
else |
else |
9505 |
echo "configure: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
9506 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
9507 |
rm -rf conftest* |
|
9508 |
echo "$ac_t""no" 1>&6 |
echo "$as_me:$LINENO: result: no" >&5 |
9509 |
|
echo "${ECHO_T}no" >&6 |
9510 |
fi |
fi |
9511 |
rm -f conftest* |
rm -f conftest.$ac_objext conftest.$ac_ext |
9512 |
|
|
9513 |
|
|
9514 |
|
|
9515 |
|
|
9516 |
#if test $use = "386-linux" ; then |
#if test $use = "386-linux" ; then |
9517 |
for ac_hdr in asm/sigcontext.h |
|
9518 |
|
for ac_header in asm/sigcontext.h |
9519 |
do |
do |
9520 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
9521 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
9522 |
echo "configure:4970: checking for $ac_hdr" >&5 |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
9523 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
9524 |
echo $ac_n "(cached) $ac_c" 1>&6 |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
9525 |
else |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
9526 |
cat > conftest.$ac_ext <<EOF |
fi |
9527 |
#line 4975 "configure" |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
9528 |
#include "confdefs.h" |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
9529 |
#include <$ac_hdr> |
else |
9530 |
EOF |
# Is the header compilable? |
9531 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
9532 |
{ (eval echo configure:4980: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
9533 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
cat >conftest.$ac_ext <<_ACEOF |
9534 |
if test -z "$ac_err"; then |
#line $LINENO "configure" |
9535 |
rm -rf conftest* |
/* confdefs.h. */ |
9536 |
eval "ac_cv_header_$ac_safe=yes" |
_ACEOF |
9537 |
else |
cat confdefs.h >>conftest.$ac_ext |
9538 |
echo "$ac_err" >&5 |
cat >>conftest.$ac_ext <<_ACEOF |
9539 |
echo "configure: failed program was:" >&5 |
/* end confdefs.h. */ |
9540 |
cat conftest.$ac_ext >&5 |
$ac_includes_default |
9541 |
rm -rf conftest* |
#include <$ac_header> |
9542 |
eval "ac_cv_header_$ac_safe=no" |
_ACEOF |
9543 |
fi |
rm -f conftest.$ac_objext |
9544 |
rm -f conftest* |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
9545 |
|
(eval $ac_compile) 2>&5 |
9546 |
|
ac_status=$? |
9547 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9548 |
|
(exit $ac_status); } && |
9549 |
|
{ ac_try='test -s conftest.$ac_objext' |
9550 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9551 |
|
(eval $ac_try) 2>&5 |
9552 |
|
ac_status=$? |
9553 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9554 |
|
(exit $ac_status); }; }; then |
9555 |
|
ac_header_compiler=yes |
9556 |
|
else |
9557 |
|
echo "$as_me: failed program was:" >&5 |
9558 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
9559 |
|
|
9560 |
|
ac_header_compiler=no |
9561 |
|
fi |
9562 |
|
rm -f conftest.$ac_objext conftest.$ac_ext |
9563 |
|
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
9564 |
|
echo "${ECHO_T}$ac_header_compiler" >&6 |
9565 |
|
|
9566 |
|
# Is the header present? |
9567 |
|
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
9568 |
|
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
9569 |
|
cat >conftest.$ac_ext <<_ACEOF |
9570 |
|
#line $LINENO "configure" |
9571 |
|
/* confdefs.h. */ |
9572 |
|
_ACEOF |
9573 |
|
cat confdefs.h >>conftest.$ac_ext |
9574 |
|
cat >>conftest.$ac_ext <<_ACEOF |
9575 |
|
/* end confdefs.h. */ |
9576 |
|
#include <$ac_header> |
9577 |
|
_ACEOF |
9578 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
9579 |
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
9580 |
|
ac_status=$? |
9581 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
9582 |
|
rm -f conftest.er1 |
9583 |
|
cat conftest.err >&5 |
9584 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9585 |
|
(exit $ac_status); } >/dev/null; then |
9586 |
|
if test -s conftest.err; then |
9587 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
9588 |
|
else |
9589 |
|
ac_cpp_err= |
9590 |
|
fi |
9591 |
|
else |
9592 |
|
ac_cpp_err=yes |
9593 |
fi |
fi |
9594 |
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
if test -z "$ac_cpp_err"; then |
9595 |
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 |
|
|
|
|
9596 |
else |
else |
9597 |
echo "$ac_t""no" 1>&6 |
echo "$as_me: failed program was:" >&5 |
9598 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
9599 |
|
|
9600 |
|
ac_header_preproc=no |
9601 |
|
fi |
9602 |
|
rm -f conftest.err conftest.$ac_ext |
9603 |
|
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
9604 |
|
echo "${ECHO_T}$ac_header_preproc" >&6 |
9605 |
|
|
9606 |
|
# So? What about this header? |
9607 |
|
case $ac_header_compiler:$ac_header_preproc in |
9608 |
|
yes:no ) |
9609 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
9610 |
|
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
9611 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
9612 |
|
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
9613 |
|
( |
9614 |
|
cat <<\_ASBOX |
9615 |
|
## ------------------------------------ ## |
9616 |
|
## Report this to bug-autoconf@gnu.org. ## |
9617 |
|
## ------------------------------------ ## |
9618 |
|
_ASBOX |
9619 |
|
) | |
9620 |
|
sed "s/^/$as_me: WARNING: /" >&2 |
9621 |
|
;; |
9622 |
|
no:yes ) |
9623 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
9624 |
|
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
9625 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
9626 |
|
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
9627 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
9628 |
|
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
9629 |
|
( |
9630 |
|
cat <<\_ASBOX |
9631 |
|
## ------------------------------------ ## |
9632 |
|
## Report this to bug-autoconf@gnu.org. ## |
9633 |
|
## ------------------------------------ ## |
9634 |
|
_ASBOX |
9635 |
|
) | |
9636 |
|
sed "s/^/$as_me: WARNING: /" >&2 |
9637 |
|
;; |
9638 |
|
esac |
9639 |
|
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
9640 |
|
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
9641 |
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
9642 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
9643 |
|
else |
9644 |
|
eval "$as_ac_Header=$ac_header_preproc" |
9645 |
|
fi |
9646 |
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
9647 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
9648 |
|
|
9649 |
fi |
fi |
9650 |
|
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
9651 |
|
cat >>confdefs.h <<_ACEOF |
9652 |
|
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
9653 |
|
_ACEOF |
9654 |
|
|
9655 |
|
fi |
9656 |
|
|
9657 |
done |
done |
9658 |
|
|
9659 |
for ac_hdr in asm/signal.h |
|
9660 |
|
for ac_header in asm/signal.h |
9661 |
do |
do |
9662 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
9663 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
9664 |
echo "configure:5010: checking for $ac_hdr" >&5 |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
9665 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
9666 |
echo $ac_n "(cached) $ac_c" 1>&6 |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
9667 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
9668 |
|
fi |
9669 |
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
9670 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
9671 |
|
else |
9672 |
|
# Is the header compilable? |
9673 |
|
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
9674 |
|
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
9675 |
|
cat >conftest.$ac_ext <<_ACEOF |
9676 |
|
#line $LINENO "configure" |
9677 |
|
/* confdefs.h. */ |
9678 |
|
_ACEOF |
9679 |
|
cat confdefs.h >>conftest.$ac_ext |
9680 |
|
cat >>conftest.$ac_ext <<_ACEOF |
9681 |
|
/* end confdefs.h. */ |
9682 |
|
$ac_includes_default |
9683 |
|
#include <$ac_header> |
9684 |
|
_ACEOF |
9685 |
|
rm -f conftest.$ac_objext |
9686 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
9687 |
|
(eval $ac_compile) 2>&5 |
9688 |
|
ac_status=$? |
9689 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9690 |
|
(exit $ac_status); } && |
9691 |
|
{ ac_try='test -s conftest.$ac_objext' |
9692 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9693 |
|
(eval $ac_try) 2>&5 |
9694 |
|
ac_status=$? |
9695 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9696 |
|
(exit $ac_status); }; }; then |
9697 |
|
ac_header_compiler=yes |
9698 |
|
else |
9699 |
|
echo "$as_me: failed program was:" >&5 |
9700 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
9701 |
|
|
9702 |
|
ac_header_compiler=no |
9703 |
|
fi |
9704 |
|
rm -f conftest.$ac_objext conftest.$ac_ext |
9705 |
|
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
9706 |
|
echo "${ECHO_T}$ac_header_compiler" >&6 |
9707 |
|
|
9708 |
|
# Is the header present? |
9709 |
|
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
9710 |
|
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
9711 |
|
cat >conftest.$ac_ext <<_ACEOF |
9712 |
|
#line $LINENO "configure" |
9713 |
|
/* confdefs.h. */ |
9714 |
|
_ACEOF |
9715 |
|
cat confdefs.h >>conftest.$ac_ext |
9716 |
|
cat >>conftest.$ac_ext <<_ACEOF |
9717 |
|
/* end confdefs.h. */ |
9718 |
|
#include <$ac_header> |
9719 |
|
_ACEOF |
9720 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
9721 |
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
9722 |
|
ac_status=$? |
9723 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
9724 |
|
rm -f conftest.er1 |
9725 |
|
cat conftest.err >&5 |
9726 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9727 |
|
(exit $ac_status); } >/dev/null; then |
9728 |
|
if test -s conftest.err; then |
9729 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
9730 |
|
else |
9731 |
|
ac_cpp_err= |
9732 |
|
fi |
9733 |
else |
else |
9734 |
cat > conftest.$ac_ext <<EOF |
ac_cpp_err=yes |
|
#line 5015 "configure" |
|
|
#include "confdefs.h" |
|
|
#include <$ac_hdr> |
|
|
EOF |
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
|
|
{ (eval echo configure:5020: \"$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" |
|
9735 |
fi |
fi |
9736 |
rm -f conftest* |
if test -z "$ac_cpp_err"; then |
9737 |
fi |
ac_header_preproc=yes |
9738 |
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
else |
9739 |
echo "$ac_t""yes" 1>&6 |
echo "$as_me: failed program was:" >&5 |
9740 |
ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` |
sed 's/^/| /' conftest.$ac_ext >&5 |
9741 |
cat >> confdefs.h <<EOF |
|
9742 |
#define $ac_tr_hdr 1 |
ac_header_preproc=no |
9743 |
EOF |
fi |
9744 |
|
rm -f conftest.err conftest.$ac_ext |
9745 |
|
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
9746 |
|
echo "${ECHO_T}$ac_header_preproc" >&6 |
9747 |
|
|
9748 |
|
# So? What about this header? |
9749 |
|
case $ac_header_compiler:$ac_header_preproc in |
9750 |
|
yes:no ) |
9751 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
9752 |
|
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
9753 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
9754 |
|
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
9755 |
|
( |
9756 |
|
cat <<\_ASBOX |
9757 |
|
## ------------------------------------ ## |
9758 |
|
## Report this to bug-autoconf@gnu.org. ## |
9759 |
|
## ------------------------------------ ## |
9760 |
|
_ASBOX |
9761 |
|
) | |
9762 |
|
sed "s/^/$as_me: WARNING: /" >&2 |
9763 |
|
;; |
9764 |
|
no:yes ) |
9765 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
9766 |
|
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
9767 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
9768 |
|
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
9769 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
9770 |
|
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
9771 |
|
( |
9772 |
|
cat <<\_ASBOX |
9773 |
|
## ------------------------------------ ## |
9774 |
|
## Report this to bug-autoconf@gnu.org. ## |
9775 |
|
## ------------------------------------ ## |
9776 |
|
_ASBOX |
9777 |
|
) | |
9778 |
|
sed "s/^/$as_me: WARNING: /" >&2 |
9779 |
|
;; |
9780 |
|
esac |
9781 |
|
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
9782 |
|
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
9783 |
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
9784 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
9785 |
else |
else |
9786 |
echo "$ac_t""no" 1>&6 |
eval "$as_ac_Header=$ac_header_preproc" |
9787 |
fi |
fi |
9788 |
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
9789 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
9790 |
|
|
9791 |
|
fi |
9792 |
|
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
9793 |
|
cat >>confdefs.h <<_ACEOF |
9794 |
|
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
9795 |
|
_ACEOF |
9796 |
|
|
9797 |
|
fi |
9798 |
|
|
9799 |
done |
done |
9800 |
|
|
9801 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
9802 |
#line 5047 "configure" |
#line $LINENO "configure" |
9803 |
#include "confdefs.h" |
/* confdefs.h. */ |
9804 |
|
_ACEOF |
9805 |
|
cat confdefs.h >>conftest.$ac_ext |
9806 |
|
cat >>conftest.$ac_ext <<_ACEOF |
9807 |
|
/* end confdefs.h. */ |
9808 |
#include <signal.h> |
#include <signal.h> |
9809 |
long code; |
long code; |
9810 |
|
|
9811 |
int main() { |
int |
9812 |
|
main () |
9813 |
|
{ |
9814 |
|
|
9815 |
void *p = ((void *)(((struct sigcontext_struct *)(&code)))); |
void *p = ((void *)(((struct sigcontext_struct *)(&code)))); |
9816 |
|
|
9817 |
; return 0; } |
; |
9818 |
EOF |
return 0; |
9819 |
if { (eval echo configure:5058: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
} |
9820 |
rm -rf conftest* |
_ACEOF |
9821 |
|
rm -f conftest.$ac_objext |
9822 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
9823 |
|
(eval $ac_compile) 2>&5 |
9824 |
|
ac_status=$? |
9825 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9826 |
|
(exit $ac_status); } && |
9827 |
|
{ ac_try='test -s conftest.$ac_objext' |
9828 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9829 |
|
(eval $ac_try) 2>&5 |
9830 |
|
ac_status=$? |
9831 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9832 |
|
(exit $ac_status); }; }; then |
9833 |
|
|
9834 |
sigcontext_struct_works=1; |
sigcontext_struct_works=1; |
9835 |
cat >> confdefs.h <<\EOF |
cat >>confdefs.h <<\_ACEOF |
9836 |
#define SIGNAL_H_HAS_SIGCONTEXT 1 |
#define SIGNAL_H_HAS_SIGCONTEXT 1 |
9837 |
EOF |
_ACEOF |
9838 |
|
|
9839 |
|
echo "$as_me:$LINENO: result: \"sigcontext in signal.h\"" >&5 |
9840 |
|
echo "${ECHO_T}\"sigcontext in signal.h\"" >&6 |
9841 |
|
|
|
echo "$ac_t"""sigcontext in signal.h"" 1>&6 |
|
|
|
|
9842 |
else |
else |
9843 |
echo "configure: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
9844 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
9845 |
rm -rf conftest* |
|
9846 |
sigcontext_struct_works=0; |
sigcontext_struct_works=0; |
9847 |
echo "$ac_t"""sigcontext NOT in signal.h"" 1>&6 |
echo "$as_me:$LINENO: result: \"sigcontext NOT in signal.h\"" >&5 |
9848 |
|
echo "${ECHO_T}\"sigcontext NOT in signal.h\"" >&6 |
9849 |
|
|
9850 |
fi |
fi |
9851 |
rm -f conftest* |
rm -f conftest.$ac_objext conftest.$ac_ext |
9852 |
if test "$sigcontext_struct_works" = 0 ; then |
if test "$sigcontext_struct_works" = 0 ; then |
9853 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
9854 |
#line 5079 "configure" |
#line $LINENO "configure" |
9855 |
#include "confdefs.h" |
/* confdefs.h. */ |
9856 |
|
_ACEOF |
9857 |
|
cat confdefs.h >>conftest.$ac_ext |
9858 |
|
cat >>conftest.$ac_ext <<_ACEOF |
9859 |
|
/* end confdefs.h. */ |
9860 |
#include <signal.h> |
#include <signal.h> |
9861 |
#ifdef HAVE_ASM_SIGCONTEXT_H |
#ifdef HAVE_ASM_SIGCONTEXT_H |
9862 |
#include <asm/sigcontext.h> |
#include <asm/sigcontext.h> |
9863 |
#endif |
#endif |
9864 |
#ifdef HAVE_ASM_SIGNAL_H |
#ifdef HAVE_ASM_SIGNAL_H |
9865 |
#include <asm/signal.h> |
#include <asm/signal.h> |
9866 |
#endif |
#endif |
9867 |
long code; |
long code; |
9868 |
|
|
9869 |
int main() { |
int |
9870 |
|
main () |
9871 |
|
{ |
9872 |
|
|
9873 |
void *p = ((void *)(((struct sigcontext *)(&code)))); |
void *p = ((void *)(((struct sigcontext *)(&code)))); |
9874 |
|
|
9875 |
; return 0; } |
; |
9876 |
EOF |
return 0; |
9877 |
if { (eval echo configure:5096: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
} |
9878 |
rm -rf conftest* |
_ACEOF |
9879 |
|
rm -f conftest.$ac_objext |
9880 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
9881 |
|
(eval $ac_compile) 2>&5 |
9882 |
|
ac_status=$? |
9883 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9884 |
|
(exit $ac_status); } && |
9885 |
|
{ ac_try='test -s conftest.$ac_objext' |
9886 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9887 |
|
(eval $ac_try) 2>&5 |
9888 |
|
ac_status=$? |
9889 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9890 |
|
(exit $ac_status); }; }; then |
9891 |
|
|
9892 |
sigcontext_works=1 ; |
sigcontext_works=1 ; |
9893 |
cat >> confdefs.h <<\EOF |
cat >>confdefs.h <<\_ACEOF |
9894 |
#define HAVE_SIGCONTEXT 1 |
#define HAVE_SIGCONTEXT 1 |
9895 |
EOF |
_ACEOF |
9896 |
|
|
9897 |
|
echo "$as_me:$LINENO: result: \"use struct sigcontext\"" >&5 |
9898 |
|
echo "${ECHO_T}\"use struct sigcontext\"" >&6 |
9899 |
|
|
|
echo "$ac_t"""use struct sigcontext"" 1>&6 |
|
|
|
|
9900 |
else |
else |
9901 |
echo "configure: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
9902 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
9903 |
rm -rf conftest* |
|
9904 |
|
|
9905 |
sigcontext_works=0 ; |
sigcontext_works=0 ; |
9906 |
|
|
9907 |
fi |
fi |
9908 |
rm -f conftest* |
rm -f conftest.$ac_objext conftest.$ac_ext |
9909 |
|
|
9910 |
|
|
9911 |
fi |
fi |
9912 |
# echo 'foo() {}' > conftest1.c |
# echo 'foo() {}' > conftest1.c |
9913 |
# $CC -S conftest1.c |
# $CC -S conftest1.c |
9914 |
# use_underscore=0 |
# use_underscore=0 |
9915 |
# if fgrep _foo conftest1.s ; then use_underscore=1 ; fi |
# if fgrep _foo conftest1.s ; then use_underscore=1 ; fi |
9916 |
# if test $use_underscore = 0 ; then |
# if test $use_underscore = 0 ; then |
9917 |
# MPI_FILE=mpi-386_no_under.o |
# MPI_FILE=mpi-386_no_under.o |
9929 |
|
|
9930 |
# 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. |
9931 |
set dummy emacs; ac_word=$2 |
set dummy emacs; ac_word=$2 |
9932 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
9933 |
echo "configure:5139: checking for $ac_word" >&5 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
9934 |
if eval "test \"`echo '$''{'ac_cv_path_EMACS'+set}'`\" = set"; then |
if test "${ac_cv_path_EMACS+set}" = set; then |
9935 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
9936 |
else |
else |
9937 |
case "$EMACS" in |
case $EMACS in |
9938 |
/*) |
[\\/]* | ?:[\\/]*) |
9939 |
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. |
9940 |
;; |
;; |
|
?:/*) |
|
|
ac_cv_path_EMACS="$EMACS" # Let the user override the test with a dos path. |
|
|
;; |
|
9941 |
*) |
*) |
9942 |
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
9943 |
ac_dummy="$PATH" |
for as_dir in $PATH |
9944 |
for ac_dir in $ac_dummy; do |
do |
9945 |
test -z "$ac_dir" && ac_dir=. |
IFS=$as_save_IFS |
9946 |
if test -f $ac_dir/$ac_word; then |
test -z "$as_dir" && as_dir=. |
9947 |
ac_cv_path_EMACS="$ac_dir/$ac_word" |
for ac_exec_ext in '' $ac_executable_extensions; do |
9948 |
break |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
9949 |
fi |
ac_cv_path_EMACS="$as_dir/$ac_word$ac_exec_ext" |
9950 |
done |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
9951 |
IFS="$ac_save_ifs" |
break 2 |
9952 |
|
fi |
9953 |
|
done |
9954 |
|
done |
9955 |
|
|
9956 |
;; |
;; |
9957 |
esac |
esac |
9958 |
fi |
fi |
9959 |
EMACS="$ac_cv_path_EMACS" |
EMACS=$ac_cv_path_EMACS |
9960 |
|
|
9961 |
if test -n "$EMACS"; then |
if test -n "$EMACS"; then |
9962 |
echo "$ac_t""$EMACS" 1>&6 |
echo "$as_me:$LINENO: result: $EMACS" >&5 |
9963 |
|
echo "${ECHO_T}$EMACS" >&6 |
9964 |
else |
else |
9965 |
echo "$ac_t""no" 1>&6 |
echo "$as_me:$LINENO: result: no" >&5 |
9966 |
|
echo "${ECHO_T}no" >&6 |
9967 |
fi |
fi |
9968 |
|
|
9969 |
|
|
9981 |
(message ans)) |
(message ans)) |
9982 |
EOF |
EOF |
9983 |
|
|
9984 |
echo $ac_n "checking emacs site lisp directory""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking emacs site lisp directory" >&5 |
9985 |
echo "configure:5187: checking emacs site lisp directory" >&5 |
echo $ECHO_N "checking emacs site lisp directory... $ECHO_C" >&6 |
9986 |
if [ "$EMACS" != "" ] && [ "$EMACS_SITE_LISP" = "unknown" ] ; then |
if [ "$EMACS" != "" ] && [ "$EMACS_SITE_LISP" = "unknown" ] ; then |
9987 |
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 ` |
9988 |
else |
else |
9989 |
EMACS_SITE_LISP="" |
EMACS_SITE_LISP="" |
9990 |
fi |
fi |
9991 |
echo "$ac_t""$EMACS_SITE_LISP" 1>&6 |
echo "$as_me:$LINENO: result: $EMACS_SITE_LISP" >&5 |
9992 |
|
echo "${ECHO_T}$EMACS_SITE_LISP" >&6 |
9993 |
|
|
9994 |
|
|
9995 |
# check for where the emacs site lisp default.el is |
# check for where the emacs site lisp default.el is |
10004 |
(message ans)) |
(message ans)) |
10005 |
EOF |
EOF |
10006 |
|
|
10007 |
echo $ac_n "checking emacs default.el""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking emacs default.el" >&5 |
10008 |
echo "configure:5209: checking emacs default.el" >&5 |
echo $ECHO_N "checking emacs default.el... $ECHO_C" >&6 |
10009 |
if [ "$EMACS" != "" ] ; then |
if [ "$EMACS" != "" ] ; then |
10010 |
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 ` |
10011 |
else |
else |
10016 |
EMACS_DEFAULT_EL=${EMACS_SITE_LISP}/default.el |
EMACS_DEFAULT_EL=${EMACS_SITE_LISP}/default.el |
10017 |
fi |
fi |
10018 |
fi |
fi |
10019 |
echo "$ac_t""$EMACS_DEFAULT_EL" 1>&6 |
echo "$as_me:$LINENO: result: $EMACS_DEFAULT_EL" >&5 |
10020 |
|
echo "${ECHO_T}$EMACS_DEFAULT_EL" >&6 |
10021 |
|
|
10022 |
|
|
10023 |
|
|
10028 |
(let ((ans "") file (tem Info-default-directory-list)) |
(let ((ans "") file (tem Info-default-directory-list)) |
10029 |
(while tem |
(while tem |
10030 |
(cond ((file-exists-p (setq file (expand-file-name "dir" (car tem)))) |
(cond ((file-exists-p (setq file (expand-file-name "dir" (car tem)))) |
10031 |
(setq ans (file-name-as-directory (car tem))) |
(setq ans (file-name-as-directory (car tem))) |
10032 |
(setq tem nil) )) |
(setq tem nil) )) |
10033 |
(setq tem (cdr tem))) |
(setq tem (cdr tem))) |
10034 |
(message ans)) |
(message ans)) |
10035 |
EOF |
EOF |
10036 |
|
|
10037 |
echo $ac_n "checking emacs info/dir""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking emacs info/dir" >&5 |
10038 |
echo "configure:5238: checking emacs info/dir" >&5 |
echo $ECHO_N "checking emacs info/dir... $ECHO_C" >&6 |
10039 |
if [ "$EMACS" != "" ] && [ "$INFO_DIR" = "unknown" ] ; then |
if test "$use" = "mingw" ; then |
10040 |
|
INFO_DIR=\$\(prefix\)/lib/gcl-$VERSION/info/ |
10041 |
|
else |
10042 |
|
if [ "$EMACS" != "" ] && [ "$INFO_DIR" = "unknown" ] ; then |
10043 |
INFO_DIR=`$EMACS -q -batch --no-site-file -l conftest.el 2>&1 | sed -e /Loading/d | sed -e /load/d ` |
INFO_DIR=`$EMACS -q -batch --no-site-file -l conftest.el 2>&1 | sed -e /Loading/d | sed -e /load/d ` |
10044 |
|
fi |
10045 |
fi |
fi |
10046 |
if test -f "${INFO_DIR}dir" ; then true;else |
if test -f "${INFO_DIR}dir" ; then true;else |
10047 |
if test -f /usr/info/dir ; then |
if test -f /usr/info/dir ; then |
10049 |
else true; |
else true; |
10050 |
fi |
fi |
10051 |
fi |
fi |
10052 |
echo "$ac_t""$INFO_DIR" 1>&6 |
echo "$as_me:$LINENO: result: $INFO_DIR" >&5 |
10053 |
|
echo "${ECHO_T}$INFO_DIR" >&6 |
10054 |
|
|
10055 |
|
|
10056 |
echo $ac_n "checking for tcl/tk""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for tcl/tk" >&5 |
10057 |
echo "configure:5252: checking for tcl/tk" >&5 |
echo $ECHO_N "checking for tcl/tk... $ECHO_C" >&6 |
10058 |
|
|
10059 |
|
|
10060 |
if test -d "${TCL_CONFIG_PREFIX}" ; then true ; else |
if test -d "${TCL_CONFIG_PREFIX}" ; then true ; else |
10064 |
set dir [set tcl_library] |
set dir [set tcl_library] |
10065 |
if { [file exists [file join [set dir] tclConfig.sh]] } { |
if { [file exists [file join [set dir] tclConfig.sh]] } { |
10066 |
puts [set dir] |
puts [set dir] |
10067 |
exit |
exit |
10068 |
} |
} |
10069 |
set dir [file dirname [set tcl_library]] |
set dir [file dirname [set tcl_library]] |
10070 |
if { [file exists [file join [set dir] tclConfig.sh]] } { |
if { [file exists [file join [set dir] tclConfig.sh]] } { |
10076 |
|
|
10077 |
# 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. |
10078 |
set dummy tclsh; ac_word=$2 |
set dummy tclsh; ac_word=$2 |
10079 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
10080 |
echo "configure:5275: checking for $ac_word" >&5 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
10081 |
if eval "test \"`echo '$''{'ac_cv_prog_TCLSH'+set}'`\" = set"; then |
if test "${ac_cv_prog_TCLSH+set}" = set; then |
10082 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
10083 |
else |
else |
10084 |
if test -n "$TCLSH"; then |
if test -n "$TCLSH"; then |
10085 |
ac_cv_prog_TCLSH="$TCLSH" # Let the user override the test. |
ac_cv_prog_TCLSH="$TCLSH" # Let the user override the test. |
10086 |
else |
else |
10087 |
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
10088 |
ac_dummy="$PATH" |
for as_dir in $PATH |
10089 |
for ac_dir in $ac_dummy; do |
do |
10090 |
test -z "$ac_dir" && ac_dir=. |
IFS=$as_save_IFS |
10091 |
if test -f $ac_dir/$ac_word; then |
test -z "$as_dir" && as_dir=. |
10092 |
ac_cv_prog_TCLSH="tclsh" |
for ac_exec_ext in '' $ac_executable_extensions; do |
10093 |
break |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
10094 |
fi |
ac_cv_prog_TCLSH="tclsh" |
10095 |
done |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
10096 |
IFS="$ac_save_ifs" |
break 2 |
10097 |
|
fi |
10098 |
|
done |
10099 |
|
done |
10100 |
|
|
10101 |
test -z "$ac_cv_prog_TCLSH" && ac_cv_prog_TCLSH="${TCLSH}" |
test -z "$ac_cv_prog_TCLSH" && ac_cv_prog_TCLSH="${TCLSH}" |
10102 |
fi |
fi |
10103 |
fi |
fi |
10104 |
TCLSH="$ac_cv_prog_TCLSH" |
TCLSH=$ac_cv_prog_TCLSH |
10105 |
if test -n "$TCLSH"; then |
if test -n "$TCLSH"; then |
10106 |
echo "$ac_t""$TCLSH" 1>&6 |
echo "$as_me:$LINENO: result: $TCLSH" >&5 |
10107 |
|
echo "${ECHO_T}$TCLSH" >&6 |
10108 |
else |
else |
10109 |
echo "$ac_t""no" 1>&6 |
echo "$as_me:$LINENO: result: no" >&5 |
10110 |
|
echo "${ECHO_T}no" >&6 |
10111 |
fi |
fi |
10112 |
|
|
10113 |
#AC_CHECK_PROG(TCLSH,tclsh8.0,tclsh8.0,${TCLSH}) |
#AC_CHECK_PROG(TCLSH,tclsh8.0,tclsh8.0,${TCLSH}) |
10173 |
else |
else |
10174 |
if test -f /usr/include/tcl${TCL_VERSION}/tk.h ; then |
if test -f /usr/include/tcl${TCL_VERSION}/tk.h ; then |
10175 |
TK_INCLUDE=-I/usr/include/tcl${TCL_VERSION} |
TK_INCLUDE=-I/usr/include/tcl${TCL_VERSION} |
10176 |
fi |
fi |
10177 |
fi |
fi |
10178 |
if test -f ${TCL_CONFIG_PREFIX}/../include/tcl.h ; then |
if test -f ${TCL_CONFIG_PREFIX}/../include/tcl.h ; then |
10179 |
TCL_INCLUDE=-I${TCL_CONFIG_PREFIX}/../include |
TCL_INCLUDE=-I${TCL_CONFIG_PREFIX}/../include |
10182 |
TCL_INCLUDE=-I/usr/include/tcl${TCL_VERSION} |
TCL_INCLUDE=-I/usr/include/tcl${TCL_VERSION} |
10183 |
fi |
fi |
10184 |
fi |
fi |
10185 |
echo $ac_n "checking for main in -llieee""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for main in -llieee" >&5 |
10186 |
echo "configure:5375: checking for main in -llieee" >&5 |
echo $ECHO_N "checking for main in -llieee... $ECHO_C" >&6 |
10187 |
ac_lib_var=`echo lieee'_'main | sed 'y%./+-%__p_%'` |
if test "${ac_cv_lib_lieee_main+set}" = set; then |
10188 |
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 |
|
10189 |
else |
else |
10190 |
ac_save_LIBS="$LIBS" |
ac_check_lib_save_LIBS=$LIBS |
10191 |
LIBS="-llieee $LIBS" |
LIBS="-llieee $LIBS" |
10192 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
10193 |
#line 5383 "configure" |
#line $LINENO "configure" |
10194 |
#include "confdefs.h" |
/* confdefs.h. */ |
10195 |
|
_ACEOF |
10196 |
|
cat confdefs.h >>conftest.$ac_ext |
10197 |
|
cat >>conftest.$ac_ext <<_ACEOF |
10198 |
|
/* end confdefs.h. */ |
10199 |
|
|
|
int main() { |
|
|
main() |
|
|
; return 0; } |
|
|
EOF |
|
|
if { (eval echo configure:5390: \"$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" |
|
10200 |
|
|
10201 |
fi |
int |
10202 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
main () |
10203 |
echo "$ac_t""yes" 1>&6 |
{ |
10204 |
|
main (); |
10205 |
|
; |
10206 |
|
return 0; |
10207 |
|
} |
10208 |
|
_ACEOF |
10209 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
10210 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
10211 |
|
(eval $ac_link) 2>&5 |
10212 |
|
ac_status=$? |
10213 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10214 |
|
(exit $ac_status); } && |
10215 |
|
{ ac_try='test -s conftest$ac_exeext' |
10216 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10217 |
|
(eval $ac_try) 2>&5 |
10218 |
|
ac_status=$? |
10219 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10220 |
|
(exit $ac_status); }; }; then |
10221 |
|
ac_cv_lib_lieee_main=yes |
10222 |
|
else |
10223 |
|
echo "$as_me: failed program was:" >&5 |
10224 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
10225 |
|
|
10226 |
|
ac_cv_lib_lieee_main=no |
10227 |
|
fi |
10228 |
|
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
10229 |
|
LIBS=$ac_check_lib_save_LIBS |
10230 |
|
fi |
10231 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_lieee_main" >&5 |
10232 |
|
echo "${ECHO_T}$ac_cv_lib_lieee_main" >&6 |
10233 |
|
if test $ac_cv_lib_lieee_main = yes; then |
10234 |
have_ieee=1 |
have_ieee=1 |
10235 |
else |
else |
10236 |
echo "$ac_t""no" 1>&6 |
have_ieee=0 |
|
have_ieee=0 |
|
10237 |
fi |
fi |
10238 |
|
|
10239 |
if test "$have_ieee" = "0" ; then |
if test "$have_ieee" = "0" ; then |
10264 |
|
|
10265 |
|
|
10266 |
if test -d "${TK_CONFIG_PREFIX}" ; then |
if test -d "${TK_CONFIG_PREFIX}" ; then |
10267 |
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 |
10268 |
|
echo "${ECHO_T}using TK_VERSION=${TK_VERSION} in ${TK_CONFIG_PREFIX}" >&6 |
10269 |
else |
else |
10270 |
echo "$ac_t""not found" 1>&6 |
echo "$as_me:$LINENO: result: not found" >&5 |
10271 |
|
echo "${ECHO_T}not found" >&6 |
10272 |
fi |
fi |
10273 |
|
|
10274 |
NOTIFY=$enable_notify |
NOTIFY=$enable_notify |
10275 |
|
|
10276 |
|
|
10277 |
|
|
10278 |
|
|
10279 |
|
|
10280 |
# for sgbc the mprotect capabilities. |
# for sgbc the mprotect capabilities. |
10281 |
|
|
10282 |
# the time handling for unixtime, add timezone |
# the time handling for unixtime, add timezone |
10283 |
|
|
10284 |
echo $ac_n "checking alloca""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking alloca" >&5 |
10285 |
echo "configure:5455: checking alloca" >&5 |
echo $ECHO_N "checking alloca... $ECHO_C" >&6 |
10286 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
10287 |
gcl_ok=no |
gcl_ok=no |
10288 |
else |
else |
10289 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
10290 |
#line 5460 "configure" |
#line $LINENO "configure" |
10291 |
#include "confdefs.h" |
/* confdefs.h. */ |
10292 |
|
_ACEOF |
10293 |
|
cat confdefs.h >>conftest.$ac_ext |
10294 |
|
cat >>conftest.$ac_ext <<_ACEOF |
10295 |
|
/* end confdefs.h. */ |
10296 |
int main() { exit(alloca(500) != NULL ? 0 : 1);} |
int main() { exit(alloca(500) != NULL ? 0 : 1);} |
10297 |
EOF |
_ACEOF |
10298 |
if { (eval echo configure:5464: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
rm -f conftest$ac_exeext |
10299 |
then |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
10300 |
|
(eval $ac_link) 2>&5 |
10301 |
|
ac_status=$? |
10302 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10303 |
|
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
10304 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10305 |
|
(eval $ac_try) 2>&5 |
10306 |
|
ac_status=$? |
10307 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10308 |
|
(exit $ac_status); }; }; then |
10309 |
: |
: |
10310 |
else |
else |
10311 |
echo "configure: failed program was:" >&5 |
echo "$as_me: program exited with status $ac_status" >&5 |
10312 |
cat conftest.$ac_ext >&5 |
echo "$as_me: failed program was:" >&5 |
10313 |
rm -fr conftest* |
sed 's/^/| /' conftest.$ac_ext >&5 |
10314 |
gcl_ok=yes |
|
10315 |
|
( exit $ac_status ) |
10316 |
|
gcl_ok=yes |
10317 |
fi |
fi |
10318 |
rm -fr conftest* |
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
10319 |
fi |
fi |
|
|
|
10320 |
if test $gcl_ok = yes ; then |
if test $gcl_ok = yes ; then |
10321 |
echo "$ac_t""yes" 1>&6 |
echo "$as_me:$LINENO: result: yes" >&5 |
10322 |
cat >> confdefs.h <<\EOF |
echo "${ECHO_T}yes" >&6 |
10323 |
|
cat >>confdefs.h <<\_ACEOF |
10324 |
#define HAVE_ALLOCA 1 |
#define HAVE_ALLOCA 1 |
10325 |
EOF |
_ACEOF |
10326 |
|
|
10327 |
else |
else |
10328 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
10329 |
gcl_ok=no |
gcl_ok=no |
10330 |
else |
else |
10331 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
10332 |
#line 5487 "configure" |
#line $LINENO "configure" |
10333 |
#include "confdefs.h" |
/* confdefs.h. */ |
10334 |
|
_ACEOF |
10335 |
|
cat confdefs.h >>conftest.$ac_ext |
10336 |
|
cat >>conftest.$ac_ext <<_ACEOF |
10337 |
|
/* end confdefs.h. */ |
10338 |
#include <alloca.h> |
#include <alloca.h> |
10339 |
int main() { exit(alloca(500) != NULL ? 0 : 1)} |
int main() { exit(alloca(500) != NULL ? 0 : 1)} |
10340 |
EOF |
_ACEOF |
10341 |
if { (eval echo configure:5492: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
rm -f conftest$ac_exeext |
10342 |
then |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
10343 |
|
(eval $ac_link) 2>&5 |
10344 |
|
ac_status=$? |
10345 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10346 |
|
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
10347 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10348 |
|
(eval $ac_try) 2>&5 |
10349 |
|
ac_status=$? |
10350 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10351 |
|
(exit $ac_status); }; }; then |
10352 |
: |
: |
10353 |
else |
else |
10354 |
echo "configure: failed program was:" >&5 |
echo "$as_me: program exited with status $ac_status" >&5 |
10355 |
cat conftest.$ac_ext >&5 |
echo "$as_me: failed program was:" >&5 |
10356 |
rm -fr conftest* |
sed 's/^/| /' conftest.$ac_ext >&5 |
10357 |
gcl_ok=yes |
|
10358 |
|
( exit $ac_status ) |
10359 |
|
gcl_ok=yes |
10360 |
fi |
fi |
10361 |
rm -fr conftest* |
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
10362 |
fi |
fi |
|
|
|
10363 |
if test $gcl_ok = yes ; then |
if test $gcl_ok = yes ; then |
10364 |
echo "$ac_t""yes" 1>&6 |
echo "$as_me:$LINENO: result: yes" >&5 |
10365 |
cat >> confdefs.h <<\EOF |
echo "${ECHO_T}yes" >&6 |
10366 |
|
cat >>confdefs.h <<\_ACEOF |
10367 |
#define HAVE_ALLOCA 1 |
#define HAVE_ALLOCA 1 |
10368 |
EOF |
_ACEOF |
10369 |
|
|
10370 |
cat >> confdefs.h <<\EOF |
cat >>confdefs.h <<\_ACEOF |
10371 |
#define NEED_ALLOCA_H 1 |
#define NEED_ALLOCA_H 1 |
10372 |
EOF |
_ACEOF |
10373 |
|
|
10374 |
fi |
fi |
10375 |
fi |
fi |
10376 |
if test $gcl_ok = no ; then echo "$ac_t""no" 1>&6 ; fi |
if test $gcl_ok = no ; then echo "$as_me:$LINENO: result: no" >&5 |
10377 |
|
echo "${ECHO_T}no" >&6 ; fi |
10378 |
|
|
10379 |
|
|
10380 |
|
|
10390 |
# dlopen etc |
# dlopen etc |
10391 |
# idea make it so you do something dlopen(libX.so,RTLD_GLOBAL) |
# idea make it so you do something dlopen(libX.so,RTLD_GLOBAL) |
10392 |
# 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 |
10393 |
# |
# |
10394 |
|
|
10395 |
# what machine this is, and include then a machine specific hdr. |
# what machine this is, and include then a machine specific hdr. |
10396 |
# and machine specific defs. |
# and machine specific defs. |
10410 |
|
|
10411 |
# redhat/cygnus released for some reason a buggy version of gcc, |
# redhat/cygnus released for some reason a buggy version of gcc, |
10412 |
# which no one else released. Catch that here. |
# which no one else released. Catch that here. |
10413 |
echo $ac_n "checking Checking for buggy gcc version from redhat""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking Checking for buggy gcc version from redhat" >&5 |
10414 |
echo "configure:5553: checking Checking for buggy gcc version from redhat" >&5 |
echo $ECHO_N "checking Checking for buggy gcc version from redhat... $ECHO_C" >&6 |
10415 |
if 2>&1 $CC -v | fgrep "gcc version 2.96" > /dev/null |
if 2>&1 $CC -v | fgrep "gcc version 2.96" > /dev/null |
10416 |
then |
then |
10417 |
BROKEN_O4_OPT=1 |
BROKEN_O4_OPT=1 |
10418 |
cat >> confdefs.h <<\EOF |
cat >>confdefs.h <<\_ACEOF |
10419 |
#define BROKEN_O4_OPT 1 |
#define BROKEN_O4_OPT 1 |
10420 |
EOF |
_ACEOF |
10421 |
|
|
10422 |
|
|
|
|
|
10423 |
echo ODIR_DEBUG=-O >> makedefsafter |
echo ODIR_DEBUG=-O >> makedefsafter |
10424 |
echo >> makedefsafter |
echo >> makedefsafter |
10425 |
echo "$ac_t""yes .. turning off -O4" 1>&6 |
echo "$as_me:$LINENO: result: yes .. turning off -O4" >&5 |
10426 |
|
echo "${ECHO_T}yes .. turning off -O4" >&6 |
10427 |
else |
else |
10428 |
echo "$ac_t""no" 1>&6 |
echo "$as_me:$LINENO: result: no" >&5 |
10429 |
fi |
echo "${ECHO_T}no" >&6 |
10430 |
|
fi |
10431 |
|
|
10432 |
LIBS="$LIBS $TLIBS" |
LIBS="$LIBS $TLIBS" |
10433 |
|
|
10443 |
|
|
10444 |
if test -f h/$use.defs ; then |
if test -f h/$use.defs ; then |
10445 |
|
|
10446 |
|
|
10447 |
trap '' 1 2 15 |
ac_config_files="$ac_config_files makedefc windows/gcl.iss windows/gcl.ansi.iss windows/install.ansi.lsp windows/install.lsp" |
10448 |
cat > confcache <<\EOF |
cat >confcache <<\_ACEOF |
10449 |
# This file is a shell script that caches the results of configure |
# This file is a shell script that caches the results of configure |
10450 |
# tests run on this system so they can be shared between configure |
# tests run on this system so they can be shared between configure |
10451 |
# scripts and configure runs. It is not useful on other systems. |
# scripts and configure runs, see configure's option --config-cache. |
10452 |
# 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 |
10453 |
|
# want to keep, you may remove or edit it. |
10454 |
# |
# |
10455 |
# By default, configure uses ./config.cache as the cache file, |
# config.status only pays attention to the cache file if you give it |
10456 |
# 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. |
|
10457 |
# |
# |
10458 |
EOF |
# `ac_cv_env_foo' variables (set or unset) will be overridden when |
10459 |
|
# loading this file, other *unset* `ac_cv_foo' will be assigned the |
10460 |
|
# following values. |
10461 |
|
|
10462 |
|
_ACEOF |
10463 |
|
|
10464 |
# The following way of writing the cache mishandles newlines in values, |
# The following way of writing the cache mishandles newlines in values, |
10465 |
# but we know of no workaround that is simple, portable, and efficient. |
# but we know of no workaround that is simple, portable, and efficient. |
10466 |
# So, don't put newlines in cache variables' values. |
# So, don't put newlines in cache variables' values. |
10467 |
# Ultrix sh set writes to stderr and can't be redirected directly, |
# Ultrix sh set writes to stderr and can't be redirected directly, |
10468 |
# 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. |
10469 |
(set) 2>&1 | |
{ |
10470 |
case `(ac_space=' '; set | grep ac_space) 2>&1` in |
(set) 2>&1 | |
10471 |
*ac_space=\ *) |
case `(ac_space=' '; set | grep ac_space) 2>&1` in |
10472 |
# `set' does not quote correctly, so add quotes (double-quote substitution |
*ac_space=\ *) |
10473 |
# turns \\\\ into \\, and sed turns \\ into \). |
# `set' does not quote correctly, so add quotes (double-quote |
10474 |
sed -n \ |
# substitution turns \\\\ into \\, and sed turns \\ into \). |
10475 |
-e "s/'/'\\\\''/g" \ |
sed -n \ |
10476 |
-e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p" |
"s/'/'\\\\''/g; |
10477 |
;; |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
10478 |
*) |
;; |
10479 |
# `set' quotes correctly as required by POSIX, so do not add quotes. |
*) |
10480 |
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. |
10481 |
;; |
sed -n \ |
10482 |
esac >> confcache |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
10483 |
if cmp -s $cache_file confcache; then |
;; |
10484 |
: |
esac; |
10485 |
else |
} | |
10486 |
|
sed ' |
10487 |
|
t clear |
10488 |
|
: clear |
10489 |
|
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ |
10490 |
|
t end |
10491 |
|
/^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
10492 |
|
: end' >>confcache |
10493 |
|
if diff $cache_file confcache >/dev/null 2>&1; then :; else |
10494 |
if test -w $cache_file; then |
if test -w $cache_file; then |
10495 |
echo "updating cache $cache_file" |
test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" |
10496 |
cat confcache > $cache_file |
cat confcache >$cache_file |
10497 |
else |
else |
10498 |
echo "not updating unwritable cache $cache_file" |
echo "not updating unwritable cache $cache_file" |
10499 |
fi |
fi |
10500 |
fi |
fi |
10501 |
rm -f confcache |
rm -f confcache |
10502 |
|
|
|
trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 |
|
|
|
|
10503 |
test "x$prefix" = xNONE && prefix=$ac_default_prefix |
test "x$prefix" = xNONE && prefix=$ac_default_prefix |
10504 |
# Let make expand exec_prefix. |
# Let make expand exec_prefix. |
10505 |
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
10506 |
|
|
10507 |
# Any assignment to VPATH causes Sun make to only execute |
# VPATH may cause trouble with some makes, so we remove $(srcdir), |
10508 |
# the first set of double-colon rules, so remove it if not needed. |
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and |
10509 |
# 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 |
10510 |
|
# (actually we leave an empty line to preserve line numbers). |
10511 |
if test "x$srcdir" = x.; then |
if test "x$srcdir" = x.; then |
10512 |
ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d' |
ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
10513 |
|
s/:*\$(srcdir):*/:/; |
10514 |
|
s/:*\${srcdir}:*/:/; |
10515 |
|
s/:*@srcdir@:*/:/; |
10516 |
|
s/^\([^=]*=[ ]*\):*/\1/; |
10517 |
|
s/:*$//; |
10518 |
|
s/^[^=]*=[ ]*$//; |
10519 |
|
}' |
10520 |
fi |
fi |
10521 |
|
|
|
trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15 |
|
|
|
|
10522 |
DEFS=-DHAVE_CONFIG_H |
DEFS=-DHAVE_CONFIG_H |
10523 |
|
|
10524 |
# Without the "./", some shells look in PATH for config.status. |
ac_libobjs= |
10525 |
: ${CONFIG_STATUS=./config.status} |
ac_ltlibobjs= |
10526 |
|
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
10527 |
|
# 1. Remove the extension, and $U if already installed. |
10528 |
|
ac_i=`echo "$ac_i" | |
10529 |
|
sed 's/\$U\././;s/\.o$//;s/\.obj$//'` |
10530 |
|
# 2. Add them. |
10531 |
|
ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" |
10532 |
|
ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' |
10533 |
|
done |
10534 |
|
LIBOBJS=$ac_libobjs |
10535 |
|
|
10536 |
echo creating $CONFIG_STATUS |
LTLIBOBJS=$ac_ltlibobjs |
10537 |
rm -f $CONFIG_STATUS |
|
10538 |
cat > $CONFIG_STATUS <<EOF |
|
10539 |
#! /bin/sh |
|
10540 |
# Generated automatically by configure. |
: ${CONFIG_STATUS=./config.status} |
10541 |
|
ac_clean_files_save=$ac_clean_files |
10542 |
|
ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
10543 |
|
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 |
10544 |
|
echo "$as_me: creating $CONFIG_STATUS" >&6;} |
10545 |
|
cat >$CONFIG_STATUS <<_ACEOF |
10546 |
|
#! $SHELL |
10547 |
|
# Generated by $as_me. |
10548 |
# 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 |
|
|
# |
|
10549 |
# Compiler output produced by configure, useful for debugging |
# Compiler output produced by configure, useful for debugging |
10550 |
# configure, is in ./config.log if it exists. |
# configure, is in config.log if it exists. |
10551 |
|
|
10552 |
ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]" |
debug=false |
10553 |
for ac_option |
ac_cs_recheck=false |
10554 |
|
ac_cs_silent=false |
10555 |
|
SHELL=\${CONFIG_SHELL-$SHELL} |
10556 |
|
_ACEOF |
10557 |
|
|
10558 |
|
cat >>$CONFIG_STATUS <<\_ACEOF |
10559 |
|
## --------------------- ## |
10560 |
|
## M4sh Initialization. ## |
10561 |
|
## --------------------- ## |
10562 |
|
|
10563 |
|
# Be Bourne compatible |
10564 |
|
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
10565 |
|
emulate sh |
10566 |
|
NULLCMD=: |
10567 |
|
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
10568 |
|
# is contrary to our usage. Disable this feature. |
10569 |
|
alias -g '${1+"$@"}'='"$@"' |
10570 |
|
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
10571 |
|
set -o posix |
10572 |
|
fi |
10573 |
|
|
10574 |
|
# Support unset when possible. |
10575 |
|
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then |
10576 |
|
as_unset=unset |
10577 |
|
else |
10578 |
|
as_unset=false |
10579 |
|
fi |
10580 |
|
|
10581 |
|
|
10582 |
|
# Work around bugs in pre-3.0 UWIN ksh. |
10583 |
|
$as_unset ENV MAIL MAILPATH |
10584 |
|
PS1='$ ' |
10585 |
|
PS2='> ' |
10586 |
|
PS4='+ ' |
10587 |
|
|
10588 |
|
# NLS nuisances. |
10589 |
|
for as_var in \ |
10590 |
|
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ |
10591 |
|
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
10592 |
|
LC_TELEPHONE LC_TIME |
10593 |
|
do |
10594 |
|
if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then |
10595 |
|
eval $as_var=C; export $as_var |
10596 |
|
else |
10597 |
|
$as_unset $as_var |
10598 |
|
fi |
10599 |
|
done |
10600 |
|
|
10601 |
|
# Required to use basename. |
10602 |
|
if expr a : '\(a\)' >/dev/null 2>&1; then |
10603 |
|
as_expr=expr |
10604 |
|
else |
10605 |
|
as_expr=false |
10606 |
|
fi |
10607 |
|
|
10608 |
|
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then |
10609 |
|
as_basename=basename |
10610 |
|
else |
10611 |
|
as_basename=false |
10612 |
|
fi |
10613 |
|
|
10614 |
|
|
10615 |
|
# Name of the executable. |
10616 |
|
as_me=`$as_basename "$0" || |
10617 |
|
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
10618 |
|
X"$0" : 'X\(//\)$' \| \ |
10619 |
|
X"$0" : 'X\(/\)$' \| \ |
10620 |
|
. : '\(.\)' 2>/dev/null || |
10621 |
|
echo X/"$0" | |
10622 |
|
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } |
10623 |
|
/^X\/\(\/\/\)$/{ s//\1/; q; } |
10624 |
|
/^X\/\(\/\).*/{ s//\1/; q; } |
10625 |
|
s/.*/./; q'` |
10626 |
|
|
10627 |
|
|
10628 |
|
# PATH needs CR, and LINENO needs CR and PATH. |
10629 |
|
# Avoid depending upon Character Ranges. |
10630 |
|
as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
10631 |
|
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
10632 |
|
as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
10633 |
|
as_cr_digits='0123456789' |
10634 |
|
as_cr_alnum=$as_cr_Letters$as_cr_digits |
10635 |
|
|
10636 |
|
# The user is always right. |
10637 |
|
if test "${PATH_SEPARATOR+set}" != set; then |
10638 |
|
echo "#! /bin/sh" >conf$$.sh |
10639 |
|
echo "exit 0" >>conf$$.sh |
10640 |
|
chmod +x conf$$.sh |
10641 |
|
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
10642 |
|
PATH_SEPARATOR=';' |
10643 |
|
else |
10644 |
|
PATH_SEPARATOR=: |
10645 |
|
fi |
10646 |
|
rm -f conf$$.sh |
10647 |
|
fi |
10648 |
|
|
10649 |
|
|
10650 |
|
as_lineno_1=$LINENO |
10651 |
|
as_lineno_2=$LINENO |
10652 |
|
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
10653 |
|
test "x$as_lineno_1" != "x$as_lineno_2" && |
10654 |
|
test "x$as_lineno_3" = "x$as_lineno_2" || { |
10655 |
|
# Find who we are. Look in the path if we contain no path at all |
10656 |
|
# relative or not. |
10657 |
|
case $0 in |
10658 |
|
*[\\/]* ) as_myself=$0 ;; |
10659 |
|
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
10660 |
|
for as_dir in $PATH |
10661 |
do |
do |
10662 |
case "\$ac_option" in |
IFS=$as_save_IFS |
10663 |
|
test -z "$as_dir" && as_dir=. |
10664 |
|
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
10665 |
|
done |
10666 |
|
|
10667 |
|
;; |
10668 |
|
esac |
10669 |
|
# We did not find ourselves, most probably we were run as `sh COMMAND' |
10670 |
|
# in which case we are not to be found in the path. |
10671 |
|
if test "x$as_myself" = x; then |
10672 |
|
as_myself=$0 |
10673 |
|
fi |
10674 |
|
if test ! -f "$as_myself"; then |
10675 |
|
{ { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 |
10676 |
|
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} |
10677 |
|
{ (exit 1); exit 1; }; } |
10678 |
|
fi |
10679 |
|
case $CONFIG_SHELL in |
10680 |
|
'') |
10681 |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
10682 |
|
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
10683 |
|
do |
10684 |
|
IFS=$as_save_IFS |
10685 |
|
test -z "$as_dir" && as_dir=. |
10686 |
|
for as_base in sh bash ksh sh5; do |
10687 |
|
case $as_dir in |
10688 |
|
/*) |
10689 |
|
if ("$as_dir/$as_base" -c ' |
10690 |
|
as_lineno_1=$LINENO |
10691 |
|
as_lineno_2=$LINENO |
10692 |
|
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
10693 |
|
test "x$as_lineno_1" != "x$as_lineno_2" && |
10694 |
|
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then |
10695 |
|
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } |
10696 |
|
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } |
10697 |
|
CONFIG_SHELL=$as_dir/$as_base |
10698 |
|
export CONFIG_SHELL |
10699 |
|
exec "$CONFIG_SHELL" "$0" ${1+"$@"} |
10700 |
|
fi;; |
10701 |
|
esac |
10702 |
|
done |
10703 |
|
done |
10704 |
|
;; |
10705 |
|
esac |
10706 |
|
|
10707 |
|
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
10708 |
|
# uniformly replaced by the line number. The first 'sed' inserts a |
10709 |
|
# line-number line before each line; the second 'sed' does the real |
10710 |
|
# work. The second script uses 'N' to pair each line-number line |
10711 |
|
# with the numbered line, and appends trailing '-' during |
10712 |
|
# substitution so that $LINENO is not a special case at line end. |
10713 |
|
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
10714 |
|
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) |
10715 |
|
sed '=' <$as_myself | |
10716 |
|
sed ' |
10717 |
|
N |
10718 |
|
s,$,-, |
10719 |
|
: loop |
10720 |
|
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, |
10721 |
|
t loop |
10722 |
|
s,-$,, |
10723 |
|
s,^['$as_cr_digits']*\n,, |
10724 |
|
' >$as_me.lineno && |
10725 |
|
chmod +x $as_me.lineno || |
10726 |
|
{ { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 |
10727 |
|
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} |
10728 |
|
{ (exit 1); exit 1; }; } |
10729 |
|
|
10730 |
|
# Don't try to exec as it changes $[0], causing all sort of problems |
10731 |
|
# (the dirname of $[0] is not the place where we might find the |
10732 |
|
# original and so on. Autoconf is especially sensible to this). |
10733 |
|
. ./$as_me.lineno |
10734 |
|
# Exit status is that of the last command. |
10735 |
|
exit |
10736 |
|
} |
10737 |
|
|
10738 |
|
|
10739 |
|
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in |
10740 |
|
*c*,-n*) ECHO_N= ECHO_C=' |
10741 |
|
' ECHO_T=' ' ;; |
10742 |
|
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; |
10743 |
|
*) ECHO_N= ECHO_C='\c' ECHO_T= ;; |
10744 |
|
esac |
10745 |
|
|
10746 |
|
if expr a : '\(a\)' >/dev/null 2>&1; then |
10747 |
|
as_expr=expr |
10748 |
|
else |
10749 |
|
as_expr=false |
10750 |
|
fi |
10751 |
|
|
10752 |
|
rm -f conf$$ conf$$.exe conf$$.file |
10753 |
|
echo >conf$$.file |
10754 |
|
if ln -s conf$$.file conf$$ 2>/dev/null; then |
10755 |
|
# We could just check for DJGPP; but this test a) works b) is more generic |
10756 |
|
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). |
10757 |
|
if test -f conf$$.exe; then |
10758 |
|
# Don't use ln at all; we don't have any links |
10759 |
|
as_ln_s='cp -p' |
10760 |
|
else |
10761 |
|
as_ln_s='ln -s' |
10762 |
|
fi |
10763 |
|
elif ln conf$$.file conf$$ 2>/dev/null; then |
10764 |
|
as_ln_s=ln |
10765 |
|
else |
10766 |
|
as_ln_s='cp -p' |
10767 |
|
fi |
10768 |
|
rm -f conf$$ conf$$.exe conf$$.file |
10769 |
|
|
10770 |
|
if mkdir -p . 2>/dev/null; then |
10771 |
|
as_mkdir_p=: |
10772 |
|
else |
10773 |
|
as_mkdir_p=false |
10774 |
|
fi |
10775 |
|
|
10776 |
|
as_executable_p="test -f" |
10777 |
|
|
10778 |
|
# Sed expression to map a string onto a valid CPP name. |
10779 |
|
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" |
10780 |
|
|
10781 |
|
# Sed expression to map a string onto a valid variable name. |
10782 |
|
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" |
10783 |
|
|
10784 |
|
|
10785 |
|
# IFS |
10786 |
|
# We need space, tab and new line, in precisely that order. |
10787 |
|
as_nl=' |
10788 |
|
' |
10789 |
|
IFS=" $as_nl" |
10790 |
|
|
10791 |
|
# CDPATH. |
10792 |
|
$as_unset CDPATH |
10793 |
|
|
10794 |
|
exec 6>&1 |
10795 |
|
|
10796 |
|
# Open the log real soon, to keep \$[0] and so on meaningful, and to |
10797 |
|
# report actual input values of CONFIG_FILES etc. instead of their |
10798 |
|
# values after options handling. Logging --version etc. is OK. |
10799 |
|
exec 5>>config.log |
10800 |
|
{ |
10801 |
|
echo |
10802 |
|
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX |
10803 |
|
## Running $as_me. ## |
10804 |
|
_ASBOX |
10805 |
|
} >&5 |
10806 |
|
cat >&5 <<_CSEOF |
10807 |
|
|
10808 |
|
This file was extended by $as_me, which was |
10809 |
|
generated by GNU Autoconf 2.57. Invocation command line was |
10810 |
|
|
10811 |
|
CONFIG_FILES = $CONFIG_FILES |
10812 |
|
CONFIG_HEADERS = $CONFIG_HEADERS |
10813 |
|
CONFIG_LINKS = $CONFIG_LINKS |
10814 |
|
CONFIG_COMMANDS = $CONFIG_COMMANDS |
10815 |
|
$ $0 $@ |
10816 |
|
|
10817 |
|
_CSEOF |
10818 |
|
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 |
10819 |
|
echo >&5 |
10820 |
|
_ACEOF |
10821 |
|
|
10822 |
|
# Files that config.status was made for. |
10823 |
|
if test -n "$ac_config_files"; then |
10824 |
|
echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS |
10825 |
|
fi |
10826 |
|
|
10827 |
|
if test -n "$ac_config_headers"; then |
10828 |
|
echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS |
10829 |
|
fi |
10830 |
|
|
10831 |
|
if test -n "$ac_config_links"; then |
10832 |
|
echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS |
10833 |
|
fi |
10834 |
|
|
10835 |
|
if test -n "$ac_config_commands"; then |
10836 |
|
echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS |
10837 |
|
fi |
10838 |
|
|
10839 |
|
cat >>$CONFIG_STATUS <<\_ACEOF |
10840 |
|
|
10841 |
|
ac_cs_usage="\ |
10842 |
|
\`$as_me' instantiates files from templates according to the |
10843 |
|
current configuration. |
10844 |
|
|
10845 |
|
Usage: $0 [OPTIONS] [FILE]... |
10846 |
|
|
10847 |
|
-h, --help print this help, then exit |
10848 |
|
-V, --version print version number, then exit |
10849 |
|
-q, --quiet do not print progress messages |
10850 |
|
-d, --debug don't remove temporary files |
10851 |
|
--recheck update $as_me by reconfiguring in the same conditions |
10852 |
|
--file=FILE[:TEMPLATE] |
10853 |
|
instantiate the configuration file FILE |
10854 |
|
--header=FILE[:TEMPLATE] |
10855 |
|
instantiate the configuration header FILE |
10856 |
|
|
10857 |
|
Configuration files: |
10858 |
|
$config_files |
10859 |
|
|
10860 |
|
Configuration headers: |
10861 |
|
$config_headers |
10862 |
|
|
10863 |
|
Report bugs to <bug-autoconf@gnu.org>." |
10864 |
|
_ACEOF |
10865 |
|
|
10866 |
|
cat >>$CONFIG_STATUS <<_ACEOF |
10867 |
|
ac_cs_version="\\ |
10868 |
|
config.status |
10869 |
|
configured by $0, generated by GNU Autoconf 2.57, |
10870 |
|
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" |
10871 |
|
|
10872 |
|
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 |
10873 |
|
Free Software Foundation, Inc. |
10874 |
|
This config.status script is free software; the Free Software Foundation |
10875 |
|
gives unlimited permission to copy, distribute and modify it." |
10876 |
|
srcdir=$srcdir |
10877 |
|
_ACEOF |
10878 |
|
|
10879 |
|
cat >>$CONFIG_STATUS <<\_ACEOF |
10880 |
|
# If no file are specified by the user, then we need to provide default |
10881 |
|
# value. By we need to know if files were specified by the user. |
10882 |
|
ac_need_defaults=: |
10883 |
|
while test $# != 0 |
10884 |
|
do |
10885 |
|
case $1 in |
10886 |
|
--*=*) |
10887 |
|
ac_option=`expr "x$1" : 'x\([^=]*\)='` |
10888 |
|
ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` |
10889 |
|
ac_shift=: |
10890 |
|
;; |
10891 |
|
-*) |
10892 |
|
ac_option=$1 |
10893 |
|
ac_optarg=$2 |
10894 |
|
ac_shift=shift |
10895 |
|
;; |
10896 |
|
*) # This is not an option, so the user has probably given explicit |
10897 |
|
# arguments. |
10898 |
|
ac_option=$1 |
10899 |
|
ac_need_defaults=false;; |
10900 |
|
esac |
10901 |
|
|
10902 |
|
case $ac_option in |
10903 |
|
# Handling of the options. |
10904 |
|
_ACEOF |
10905 |
|
cat >>$CONFIG_STATUS <<\_ACEOF |
10906 |
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
10907 |
echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion" |
ac_cs_recheck=: ;; |
10908 |
exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;; |
--version | --vers* | -V ) |
10909 |
-version | --version | --versio | --versi | --vers | --ver | --ve | --v) |
echo "$ac_cs_version"; exit 0 ;; |
10910 |
echo "$CONFIG_STATUS generated by autoconf version 2.13" |
--he | --h) |
10911 |
exit 0 ;; |
# Conflict between --help and --header |
10912 |
-help | --help | --hel | --he | --h) |
{ { echo "$as_me:$LINENO: error: ambiguous option: $1 |
10913 |
echo "\$ac_cs_usage"; exit 0 ;; |
Try \`$0 --help' for more information." >&5 |
10914 |
*) echo "\$ac_cs_usage"; exit 1 ;; |
echo "$as_me: error: ambiguous option: $1 |
10915 |
|
Try \`$0 --help' for more information." >&2;} |
10916 |
|
{ (exit 1); exit 1; }; };; |
10917 |
|
--help | --hel | -h ) |
10918 |
|
echo "$ac_cs_usage"; exit 0 ;; |
10919 |
|
--debug | --d* | -d ) |
10920 |
|
debug=: ;; |
10921 |
|
--file | --fil | --fi | --f ) |
10922 |
|
$ac_shift |
10923 |
|
CONFIG_FILES="$CONFIG_FILES $ac_optarg" |
10924 |
|
ac_need_defaults=false;; |
10925 |
|
--header | --heade | --head | --hea ) |
10926 |
|
$ac_shift |
10927 |
|
CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" |
10928 |
|
ac_need_defaults=false;; |
10929 |
|
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
10930 |
|
| -silent | --silent | --silen | --sile | --sil | --si | --s) |
10931 |
|
ac_cs_silent=: ;; |
10932 |
|
|
10933 |
|
# This is an error. |
10934 |
|
-*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 |
10935 |
|
Try \`$0 --help' for more information." >&5 |
10936 |
|
echo "$as_me: error: unrecognized option: $1 |
10937 |
|
Try \`$0 --help' for more information." >&2;} |
10938 |
|
{ (exit 1); exit 1; }; } ;; |
10939 |
|
|
10940 |
|
*) ac_config_targets="$ac_config_targets $1" ;; |
10941 |
|
|
10942 |
esac |
esac |
10943 |
|
shift |
10944 |
done |
done |
10945 |
|
|
10946 |
ac_given_srcdir=$srcdir |
ac_configure_extra_args= |
10947 |
|
|
10948 |
|
if $ac_cs_silent; then |
10949 |
|
exec 6>/dev/null |
10950 |
|
ac_configure_extra_args="$ac_configure_extra_args --silent" |
10951 |
|
fi |
10952 |
|
|
10953 |
|
_ACEOF |
10954 |
|
cat >>$CONFIG_STATUS <<_ACEOF |
10955 |
|
if \$ac_cs_recheck; then |
10956 |
|
echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 |
10957 |
|
exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
10958 |
|
fi |
10959 |
|
|
10960 |
|
_ACEOF |
10961 |
|
|
|
trap 'rm -fr `echo "makedefc windows/gcl.iss bin/gcl.bat h/gclincl.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 |
|
|
EOF |
|
|
cat >> $CONFIG_STATUS <<EOF |
|
10962 |
|
|
|
# Protect against being on the right side of a sed subst in config.status. |
|
|
sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g; |
|
|
s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF |
|
|
$ac_vpsub |
|
|
$extrasub |
|
|
s%@SHELL@%$SHELL%g |
|
|
s%@CFLAGS@%$CFLAGS%g |
|
|
s%@CPPFLAGS@%$CPPFLAGS%g |
|
|
s%@CXXFLAGS@%$CXXFLAGS%g |
|
|
s%@FFLAGS@%$FFLAGS%g |
|
|
s%@DEFS@%$DEFS%g |
|
|
s%@LDFLAGS@%$LDFLAGS%g |
|
|
s%@LIBS@%$LIBS%g |
|
|
s%@exec_prefix@%$exec_prefix%g |
|
|
s%@prefix@%$prefix%g |
|
|
s%@program_transform_name@%$program_transform_name%g |
|
|
s%@bindir@%$bindir%g |
|
|
s%@sbindir@%$sbindir%g |
|
|
s%@libexecdir@%$libexecdir%g |
|
|
s%@datadir@%$datadir%g |
|
|
s%@sysconfdir@%$sysconfdir%g |
|
|
s%@sharedstatedir@%$sharedstatedir%g |
|
|
s%@localstatedir@%$localstatedir%g |
|
|
s%@libdir@%$libdir%g |
|
|
s%@includedir@%$includedir%g |
|
|
s%@oldincludedir@%$oldincludedir%g |
|
|
s%@infodir@%$infodir%g |
|
|
s%@mandir@%$mandir%g |
|
|
s%@VERSION@%$VERSION%g |
|
|
s%@host@%$host%g |
|
|
s%@host_alias@%$host_alias%g |
|
|
s%@host_cpu@%$host_cpu%g |
|
|
s%@host_vendor@%$host_vendor%g |
|
|
s%@host_os@%$host_os%g |
|
|
s%@PROCESSOR_FLAGS@%$PROCESSOR_FLAGS%g |
|
|
s%@CC@%$CC%g |
|
|
s%@CPP@%$CPP%g |
|
|
s%@AWK@%$AWK%g |
|
|
s%@MAKEINFO@%$MAKEINFO%g |
|
|
s%@GMP@%$GMP%g |
|
|
s%@GMPDIR@%$GMPDIR%g |
|
|
s%@X_CFLAGS@%$X_CFLAGS%g |
|
|
s%@X_PRE_LIBS@%$X_PRE_LIBS%g |
|
|
s%@X_LIBS@%$X_LIBS%g |
|
|
s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g |
|
|
s%@BUILD_BFD@%$BUILD_BFD%g |
|
|
s%@LITTLE_END@%$LITTLE_END%g |
|
|
s%@HAVE_LONG_LONG@%$HAVE_LONG_LONG%g |
|
|
s%@FLISP@%$FLISP%g |
|
|
s%@SYSTEM@%$SYSTEM%g |
|
|
s%@PAGEWIDTH@%$PAGEWIDTH%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%@NOTIFY@%$NOTIFY%g |
|
|
s%@BROKEN_O4_OPT@%$BROKEN_O4_OPT%g |
|
|
s%@FINAL_CFLAGS@%$FINAL_CFLAGS%g |
|
|
s%@O3FLAGS@%$O3FLAGS%g |
|
|
s%@O2FLAGS@%$O2FLAGS%g |
|
|
s%@EXTRA_LOBJS@%$EXTRA_LOBJS%g |
|
|
s%@use@%$use%g |
|
10963 |
|
|
10964 |
|
|
10965 |
|
|
10966 |
|
cat >>$CONFIG_STATUS <<\_ACEOF |
10967 |
|
for ac_config_target in $ac_config_targets |
10968 |
|
do |
10969 |
|
case "$ac_config_target" in |
10970 |
|
# Handling of arguments. |
10971 |
|
"makedefc" ) CONFIG_FILES="$CONFIG_FILES makedefc" ;; |
10972 |
|
"windows/gcl.iss" ) CONFIG_FILES="$CONFIG_FILES windows/gcl.iss" ;; |
10973 |
|
"windows/gcl.ansi.iss" ) CONFIG_FILES="$CONFIG_FILES windows/gcl.ansi.iss" ;; |
10974 |
|
"windows/install.ansi.lsp" ) CONFIG_FILES="$CONFIG_FILES windows/install.ansi.lsp" ;; |
10975 |
|
"windows/install.lsp" ) CONFIG_FILES="$CONFIG_FILES windows/install.lsp" ;; |
10976 |
|
"h/gclincl.h" ) CONFIG_HEADERS="$CONFIG_HEADERS h/gclincl.h" ;; |
10977 |
|
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
10978 |
|
echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
10979 |
|
{ (exit 1); exit 1; }; };; |
10980 |
|
esac |
10981 |
|
done |
10982 |
|
|
10983 |
|
# If the user did not use the arguments to specify the items to instantiate, |
10984 |
|
# then the envvar interface is used. Set only those that are not. |
10985 |
|
# We use the long form for the default assignment because of an extremely |
10986 |
|
# bizarre bug on SunOS 4.1.3. |
10987 |
|
if $ac_need_defaults; then |
10988 |
|
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files |
10989 |
|
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers |
10990 |
|
fi |
10991 |
|
|
10992 |
|
# Have a temporary directory for convenience. Make it in the build tree |
10993 |
|
# simply because there is no reason to put it here, and in addition, |
10994 |
|
# creating and moving files from /tmp can sometimes cause problems. |
10995 |
|
# Create a temporary directory, and hook for its removal unless debugging. |
10996 |
|
$debug || |
10997 |
|
{ |
10998 |
|
trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 |
10999 |
|
trap '{ (exit 1); exit 1; }' 1 2 13 15 |
11000 |
|
} |
11001 |
|
|
11002 |
|
# Create a (secure) tmp directory for tmp files. |
11003 |
|
|
11004 |
|
{ |
11005 |
|
tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && |
11006 |
|
test -n "$tmp" && test -d "$tmp" |
11007 |
|
} || |
11008 |
|
{ |
11009 |
|
tmp=./confstat$$-$RANDOM |
11010 |
|
(umask 077 && mkdir $tmp) |
11011 |
|
} || |
11012 |
|
{ |
11013 |
|
echo "$me: cannot create a temporary directory in ." >&2 |
11014 |
|
{ (exit 1); exit 1; } |
11015 |
|
} |
11016 |
|
|
11017 |
|
_ACEOF |
11018 |
|
|
11019 |
|
cat >>$CONFIG_STATUS <<_ACEOF |
11020 |
|
|
11021 |
|
# |
11022 |
|
# CONFIG_FILES section. |
11023 |
|
# |
11024 |
|
|
11025 |
|
# No need to generate the scripts if there are no CONFIG_FILES. |
11026 |
|
# This happens for instance when ./config.status config.h |
11027 |
|
if test -n "\$CONFIG_FILES"; then |
11028 |
|
# Protect against being on the right side of a sed subst in config.status. |
11029 |
|
sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; |
11030 |
|
s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF |
11031 |
|
s,@SHELL@,$SHELL,;t t |
11032 |
|
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t |
11033 |
|
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t |
11034 |
|
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t |
11035 |
|
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t |
11036 |
|
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t |
11037 |
|
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t |
11038 |
|
s,@exec_prefix@,$exec_prefix,;t t |
11039 |
|
s,@prefix@,$prefix,;t t |
11040 |
|
s,@program_transform_name@,$program_transform_name,;t t |
11041 |
|
s,@bindir@,$bindir,;t t |
11042 |
|
s,@sbindir@,$sbindir,;t t |
11043 |
|
s,@libexecdir@,$libexecdir,;t t |
11044 |
|
s,@datadir@,$datadir,;t t |
11045 |
|
s,@sysconfdir@,$sysconfdir,;t t |
11046 |
|
s,@sharedstatedir@,$sharedstatedir,;t t |
11047 |
|
s,@localstatedir@,$localstatedir,;t t |
11048 |
|
s,@libdir@,$libdir,;t t |
11049 |
|
s,@includedir@,$includedir,;t t |
11050 |
|
s,@oldincludedir@,$oldincludedir,;t t |
11051 |
|
s,@infodir@,$infodir,;t t |
11052 |
|
s,@mandir@,$mandir,;t t |
11053 |
|
s,@build_alias@,$build_alias,;t t |
11054 |
|
s,@host_alias@,$host_alias,;t t |
11055 |
|
s,@target_alias@,$target_alias,;t t |
11056 |
|
s,@DEFS@,$DEFS,;t t |
11057 |
|
s,@ECHO_C@,$ECHO_C,;t t |
11058 |
|
s,@ECHO_N@,$ECHO_N,;t t |
11059 |
|
s,@ECHO_T@,$ECHO_T,;t t |
11060 |
|
s,@LIBS@,$LIBS,;t t |
11061 |
|
s,@VERSION@,$VERSION,;t t |
11062 |
|
s,@build@,$build,;t t |
11063 |
|
s,@build_cpu@,$build_cpu,;t t |
11064 |
|
s,@build_vendor@,$build_vendor,;t t |
11065 |
|
s,@build_os@,$build_os,;t t |
11066 |
|
s,@host@,$host,;t t |
11067 |
|
s,@host_cpu@,$host_cpu,;t t |
11068 |
|
s,@host_vendor@,$host_vendor,;t t |
11069 |
|
s,@host_os@,$host_os,;t t |
11070 |
|
s,@PROCESSOR_FLAGS@,$PROCESSOR_FLAGS,;t t |
11071 |
|
s,@CC@,$CC,;t t |
11072 |
|
s,@CFLAGS@,$CFLAGS,;t t |
11073 |
|
s,@LDFLAGS@,$LDFLAGS,;t t |
11074 |
|
s,@CPPFLAGS@,$CPPFLAGS,;t t |
11075 |
|
s,@ac_ct_CC@,$ac_ct_CC,;t t |
11076 |
|
s,@EXEEXT@,$EXEEXT,;t t |
11077 |
|
s,@OBJEXT@,$OBJEXT,;t t |
11078 |
|
s,@CPP@,$CPP,;t t |
11079 |
|
s,@AWK@,$AWK,;t t |
11080 |
|
s,@MAKEINFO@,$MAKEINFO,;t t |
11081 |
|
s,@EGREP@,$EGREP,;t t |
11082 |
|
s,@GMP@,$GMP,;t t |
11083 |
|
s,@GMPDIR@,$GMPDIR,;t t |
11084 |
|
s,@X_CFLAGS@,$X_CFLAGS,;t t |
11085 |
|
s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t |
11086 |
|
s,@X_LIBS@,$X_LIBS,;t t |
11087 |
|
s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t |
11088 |
|
s,@BUILD_BFD@,$BUILD_BFD,;t t |
11089 |
|
s,@LITTLE_END@,$LITTLE_END,;t t |
11090 |
|
s,@HAVE_LONG_LONG@,$HAVE_LONG_LONG,;t t |
11091 |
|
s,@FLISP@,$FLISP,;t t |
11092 |
|
s,@SYSTEM@,$SYSTEM,;t t |
11093 |
|
s,@PAGEWIDTH@,$PAGEWIDTH,;t t |
11094 |
|
s,@RL_OBJS@,$RL_OBJS,;t t |
11095 |
|
s,@RL_LIB@,$RL_LIB,;t t |
11096 |
|
s,@NO_PROFILE@,$NO_PROFILE,;t t |
11097 |
|
s,@HAVE_SETENV@,$HAVE_SETENV,;t t |
11098 |
|
s,@HAVE_PUTENV@,$HAVE_PUTENV,;t t |
11099 |
|
s,@USE_CLEANUP@,$USE_CLEANUP,;t t |
11100 |
|
s,@ENDIAN_ALREADY_DEFINED@,$ENDIAN_ALREADY_DEFINED,;t t |
11101 |
|
s,@HAVE_SV_ONSTACK@,$HAVE_SV_ONSTACK,;t t |
11102 |
|
s,@HAVE_SIGSYS@,$HAVE_SIGSYS,;t t |
11103 |
|
s,@HAVE_SIGEMT@,$HAVE_SIGEMT,;t t |
11104 |
|
s,@EMACS@,$EMACS,;t t |
11105 |
|
s,@EMACS_SITE_LISP@,$EMACS_SITE_LISP,;t t |
11106 |
|
s,@EMACS_DEFAULT_EL@,$EMACS_DEFAULT_EL,;t t |
11107 |
|
s,@INFO_DIR@,$INFO_DIR,;t t |
11108 |
|
s,@TCLSH@,$TCLSH,;t t |
11109 |
|
s,@TK_CONFIG_PREFIX@,$TK_CONFIG_PREFIX,;t t |
11110 |
|
s,@TK_LIBRARY@,$TK_LIBRARY,;t t |
11111 |
|
s,@TCL_LIBRARY@,$TCL_LIBRARY,;t t |
11112 |
|
s,@TK_XINCLUDES@,$TK_XINCLUDES,;t t |
11113 |
|
s,@TK_INCLUDE@,$TK_INCLUDE,;t t |
11114 |
|
s,@TCL_INCLUDE@,$TCL_INCLUDE,;t t |
11115 |
|
s,@TK_LIB_SPEC@,$TK_LIB_SPEC,;t t |
11116 |
|
s,@TK_BUILD_LIB_SPEC@,$TK_BUILD_LIB_SPEC,;t t |
11117 |
|
s,@TK_XLIBSW@,$TK_XLIBSW,;t t |
11118 |
|
s,@TCL_LIB_SPEC@,$TCL_LIB_SPEC,;t t |
11119 |
|
s,@TCL_DL_LIBS@,$TCL_DL_LIBS,;t t |
11120 |
|
s,@TCL_LIBS@,$TCL_LIBS,;t t |
11121 |
|
s,@NOTIFY@,$NOTIFY,;t t |
11122 |
|
s,@BROKEN_O4_OPT@,$BROKEN_O4_OPT,;t t |
11123 |
|
s,@FINAL_CFLAGS@,$FINAL_CFLAGS,;t t |
11124 |
|
s,@O3FLAGS@,$O3FLAGS,;t t |
11125 |
|
s,@O2FLAGS@,$O2FLAGS,;t t |
11126 |
|
s,@EXTRA_LOBJS@,$EXTRA_LOBJS,;t t |
11127 |
|
s,@use@,$use,;t t |
11128 |
|
s,@LIBOBJS@,$LIBOBJS,;t t |
11129 |
|
s,@LTLIBOBJS@,$LTLIBOBJS,;t t |
11130 |
CEOF |
CEOF |
|
EOF |
|
11131 |
|
|
11132 |
cat >> $CONFIG_STATUS <<\EOF |
_ACEOF |
11133 |
|
|
11134 |
# Split the substitutions into bite-sized pieces for seds with |
cat >>$CONFIG_STATUS <<\_ACEOF |
11135 |
# small command number limits, like on Digital OSF/1 and HP-UX. |
# Split the substitutions into bite-sized pieces for seds with |
11136 |
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. |
11137 |
ac_file=1 # Number of current file. |
ac_max_sed_lines=48 |
11138 |
ac_beg=1 # First line for current file. |
ac_sed_frag=1 # Number of current file. |
11139 |
ac_end=$ac_max_sed_cmds # Line after last line for current file. |
ac_beg=1 # First line for current file. |
11140 |
ac_more_lines=: |
ac_end=$ac_max_sed_lines # Line after last line for current file. |
11141 |
ac_sed_cmds="" |
ac_more_lines=: |
11142 |
while $ac_more_lines; do |
ac_sed_cmds= |
11143 |
if test $ac_beg -gt 1; then |
while $ac_more_lines; do |
11144 |
sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file |
if test $ac_beg -gt 1; then |
11145 |
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" |
|
11146 |
else |
else |
11147 |
ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file" |
sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag |
11148 |
fi |
fi |
11149 |
ac_file=`expr $ac_file + 1` |
if test ! -s $tmp/subs.frag; then |
11150 |
ac_beg=$ac_end |
ac_more_lines=false |
11151 |
ac_end=`expr $ac_end + $ac_max_sed_cmds` |
else |
11152 |
|
# The purpose of the label and of the branching condition is to |
11153 |
|
# speed up the sed processing (if there are no `@' at all, there |
11154 |
|
# is no need to browse any of the substitutions). |
11155 |
|
# These are the two extra sed commands mentioned above. |
11156 |
|
(echo ':t |
11157 |
|
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed |
11158 |
|
if test -z "$ac_sed_cmds"; then |
11159 |
|
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" |
11160 |
|
else |
11161 |
|
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" |
11162 |
|
fi |
11163 |
|
ac_sed_frag=`expr $ac_sed_frag + 1` |
11164 |
|
ac_beg=$ac_end |
11165 |
|
ac_end=`expr $ac_end + $ac_max_sed_lines` |
11166 |
|
fi |
11167 |
|
done |
11168 |
|
if test -z "$ac_sed_cmds"; then |
11169 |
|
ac_sed_cmds=cat |
11170 |
fi |
fi |
11171 |
done |
fi # test -n "$CONFIG_FILES" |
|
if test -z "$ac_sed_cmds"; then |
|
|
ac_sed_cmds=cat |
|
|
fi |
|
|
EOF |
|
|
|
|
|
cat >> $CONFIG_STATUS <<EOF |
|
11172 |
|
|
11173 |
CONFIG_FILES=\${CONFIG_FILES-"makedefc windows/gcl.iss bin/gcl.bat"} |
_ACEOF |
11174 |
EOF |
cat >>$CONFIG_STATUS <<\_ACEOF |
11175 |
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 |
|
11176 |
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
11177 |
case "$ac_file" in |
case $ac_file in |
11178 |
*:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'` |
- | *:- | *:-:* ) # input from stdin |
11179 |
ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; |
cat >$tmp/stdin |
11180 |
*) ac_file_in="${ac_file}.in" ;; |
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
11181 |
|
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
11182 |
|
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
11183 |
|
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
11184 |
|
* ) ac_file_in=$ac_file.in ;; |
11185 |
esac |
esac |
11186 |
|
|
11187 |
# Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories. |
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. |
11188 |
|
ac_dir=`(dirname "$ac_file") 2>/dev/null || |
11189 |
# Remove last slash and all that follows it. Not all systems have dirname. |
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
11190 |
ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'` |
X"$ac_file" : 'X\(//\)[^/]' \| \ |
11191 |
if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then |
X"$ac_file" : 'X\(//\)$' \| \ |
11192 |
# The file is in a subdirectory. |
X"$ac_file" : 'X\(/\)' \| \ |
11193 |
test ! -d "$ac_dir" && mkdir "$ac_dir" |
. : '\(.\)' 2>/dev/null || |
11194 |
ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`" |
echo X"$ac_file" | |
11195 |
# A "../" for each directory in $ac_dir_suffix. |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
11196 |
ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'` |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
11197 |
else |
/^X\(\/\/\)$/{ s//\1/; q; } |
11198 |
ac_dir_suffix= ac_dots= |
/^X\(\/\).*/{ s//\1/; q; } |
11199 |
fi |
s/.*/./; q'` |
11200 |
|
{ if $as_mkdir_p; then |
11201 |
case "$ac_given_srcdir" in |
mkdir -p "$ac_dir" |
11202 |
.) srcdir=. |
else |
11203 |
if test -z "$ac_dots"; then top_srcdir=. |
as_dir="$ac_dir" |
11204 |
else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;; |
as_dirs= |
11205 |
/*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;; |
while test ! -d "$as_dir"; do |
11206 |
|
as_dirs="$as_dir $as_dirs" |
11207 |
|
as_dir=`(dirname "$as_dir") 2>/dev/null || |
11208 |
|
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
11209 |
|
X"$as_dir" : 'X\(//\)[^/]' \| \ |
11210 |
|
X"$as_dir" : 'X\(//\)$' \| \ |
11211 |
|
X"$as_dir" : 'X\(/\)' \| \ |
11212 |
|
. : '\(.\)' 2>/dev/null || |
11213 |
|
echo X"$as_dir" | |
11214 |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
11215 |
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
11216 |
|
/^X\(\/\/\)$/{ s//\1/; q; } |
11217 |
|
/^X\(\/\).*/{ s//\1/; q; } |
11218 |
|
s/.*/./; q'` |
11219 |
|
done |
11220 |
|
test ! -n "$as_dirs" || mkdir $as_dirs |
11221 |
|
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 |
11222 |
|
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} |
11223 |
|
{ (exit 1); exit 1; }; }; } |
11224 |
|
|
11225 |
|
ac_builddir=. |
11226 |
|
|
11227 |
|
if test "$ac_dir" != .; then |
11228 |
|
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
11229 |
|
# A "../" for each directory in $ac_dir_suffix. |
11230 |
|
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` |
11231 |
|
else |
11232 |
|
ac_dir_suffix= ac_top_builddir= |
11233 |
|
fi |
11234 |
|
|
11235 |
|
case $srcdir in |
11236 |
|
.) # No --srcdir option. We are building in place. |
11237 |
|
ac_srcdir=. |
11238 |
|
if test -z "$ac_top_builddir"; then |
11239 |
|
ac_top_srcdir=. |
11240 |
|
else |
11241 |
|
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` |
11242 |
|
fi ;; |
11243 |
|
[\\/]* | ?:[\\/]* ) # Absolute path. |
11244 |
|
ac_srcdir=$srcdir$ac_dir_suffix; |
11245 |
|
ac_top_srcdir=$srcdir ;; |
11246 |
*) # Relative path. |
*) # Relative path. |
11247 |
srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix" |
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
11248 |
top_srcdir="$ac_dots$ac_given_srcdir" ;; |
ac_top_srcdir=$ac_top_builddir$srcdir ;; |
11249 |
esac |
esac |
11250 |
|
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be |
11251 |
|
# absolute. |
11252 |
|
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` |
11253 |
|
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` |
11254 |
|
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` |
11255 |
|
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` |
11256 |
|
|
11257 |
|
|
|
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 |
|
11258 |
|
|
11259 |
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 |
11260 |
sed -e "$ac_comsub |
{ echo "$as_me:$LINENO: creating $ac_file" >&5 |
11261 |
s%@configure_input@%$configure_input%g |
echo "$as_me: creating $ac_file" >&6;} |
11262 |
s%@srcdir@%$srcdir%g |
rm -f "$ac_file" |
11263 |
s%@top_srcdir@%$top_srcdir%g |
fi |
11264 |
" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file |
# Let's still pretend it is `configure' which instantiates (i.e., don't |
11265 |
fi; done |
# use $as_me), people would be surprised to read: |
11266 |
rm -f conftest.s* |
# /* config.h. Generated by config.status. */ |
11267 |
|
if test x"$ac_file" = x-; then |
11268 |
|
configure_input= |
11269 |
|
else |
11270 |
|
configure_input="$ac_file. " |
11271 |
|
fi |
11272 |
|
configure_input=$configure_input"Generated from `echo $ac_file_in | |
11273 |
|
sed 's,.*/,,'` by configure." |
11274 |
|
|
11275 |
|
# First look for the input files in the build tree, otherwise in the |
11276 |
|
# src tree. |
11277 |
|
ac_file_inputs=`IFS=: |
11278 |
|
for f in $ac_file_in; do |
11279 |
|
case $f in |
11280 |
|
-) echo $tmp/stdin ;; |
11281 |
|
[\\/$]*) |
11282 |
|
# Absolute (can't be DOS-style, as IFS=:) |
11283 |
|
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
11284 |
|
echo "$as_me: error: cannot find input file: $f" >&2;} |
11285 |
|
{ (exit 1); exit 1; }; } |
11286 |
|
echo $f;; |
11287 |
|
*) # Relative |
11288 |
|
if test -f "$f"; then |
11289 |
|
# Build tree |
11290 |
|
echo $f |
11291 |
|
elif test -f "$srcdir/$f"; then |
11292 |
|
# Source tree |
11293 |
|
echo $srcdir/$f |
11294 |
|
else |
11295 |
|
# /dev/null tree |
11296 |
|
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
11297 |
|
echo "$as_me: error: cannot find input file: $f" >&2;} |
11298 |
|
{ (exit 1); exit 1; }; } |
11299 |
|
fi;; |
11300 |
|
esac |
11301 |
|
done` || { (exit 1); exit 1; } |
11302 |
|
_ACEOF |
11303 |
|
cat >>$CONFIG_STATUS <<_ACEOF |
11304 |
|
sed "$ac_vpsub |
11305 |
|
$extrasub |
11306 |
|
_ACEOF |
11307 |
|
cat >>$CONFIG_STATUS <<\_ACEOF |
11308 |
|
:t |
11309 |
|
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
11310 |
|
s,@configure_input@,$configure_input,;t t |
11311 |
|
s,@srcdir@,$ac_srcdir,;t t |
11312 |
|
s,@abs_srcdir@,$ac_abs_srcdir,;t t |
11313 |
|
s,@top_srcdir@,$ac_top_srcdir,;t t |
11314 |
|
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t |
11315 |
|
s,@builddir@,$ac_builddir,;t t |
11316 |
|
s,@abs_builddir@,$ac_abs_builddir,;t t |
11317 |
|
s,@top_builddir@,$ac_top_builddir,;t t |
11318 |
|
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t |
11319 |
|
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out |
11320 |
|
rm -f $tmp/stdin |
11321 |
|
if test x"$ac_file" != x-; then |
11322 |
|
mv $tmp/out $ac_file |
11323 |
|
else |
11324 |
|
cat $tmp/out |
11325 |
|
rm -f $tmp/out |
11326 |
|
fi |
11327 |
|
|
11328 |
|
done |
11329 |
|
_ACEOF |
11330 |
|
cat >>$CONFIG_STATUS <<\_ACEOF |
11331 |
|
|
11332 |
|
# |
11333 |
|
# CONFIG_HEADER section. |
11334 |
|
# |
11335 |
|
|
11336 |
# 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 |
11337 |
# 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. |
11338 |
# |
# |
11339 |
# ac_d sets the value in "#define NAME VALUE" lines. |
# ac_d sets the value in "#define NAME VALUE" lines. |
11340 |
ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)' |
ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' |
11341 |
ac_dB='\([ ][ ]*\)[^ ]*%\1#\2' |
ac_dB='[ ].*$,\1#\2' |
11342 |
ac_dC='\3' |
ac_dC=' ' |
11343 |
ac_dD='%g' |
ac_dD=',;t' |
11344 |
# ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE". |
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". |
11345 |
ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' |
ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' |
11346 |
ac_uB='\([ ]\)%\1#\2define\3' |
ac_uB='$,\1#\2define\3' |
11347 |
ac_uC=' ' |
ac_uC=' ' |
11348 |
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' |
|
11349 |
|
|
11350 |
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 |
|
11351 |
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
11352 |
case "$ac_file" in |
case $ac_file in |
11353 |
*:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'` |
- | *:- | *:-:* ) # input from stdin |
11354 |
ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; |
cat >$tmp/stdin |
11355 |
*) ac_file_in="${ac_file}.in" ;; |
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
11356 |
|
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
11357 |
|
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
11358 |
|
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
11359 |
|
* ) ac_file_in=$ac_file.in ;; |
11360 |
esac |
esac |
11361 |
|
|
11362 |
echo creating $ac_file |
test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 |
11363 |
|
echo "$as_me: creating $ac_file" >&6;} |
|
rm -f conftest.frag conftest.in conftest.out |
|
|
ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"` |
|
|
cat $ac_file_inputs > conftest.in |
|
11364 |
|
|
11365 |
EOF |
# First look for the input files in the build tree, otherwise in the |
11366 |
|
# src tree. |
11367 |
# Transform confdefs.h into a sed script conftest.vals that substitutes |
ac_file_inputs=`IFS=: |
11368 |
# the proper values into config.h.in to produce config.h. And first: |
for f in $ac_file_in; do |
11369 |
# Protect against being on the right side of a sed subst in config.status. |
case $f in |
11370 |
# Protect against being in an unquoted here document in config.status. |
-) echo $tmp/stdin ;; |
11371 |
rm -f conftest.vals |
[\\/$]*) |
11372 |
cat > conftest.hdr <<\EOF |
# Absolute (can't be DOS-style, as IFS=:) |
11373 |
s/[\\&%]/\\&/g |
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
11374 |
s%[\\$`]%\\&%g |
echo "$as_me: error: cannot find input file: $f" >&2;} |
11375 |
s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp |
{ (exit 1); exit 1; }; } |
11376 |
s%ac_d%ac_u%gp |
echo $f;; |
11377 |
s%ac_u%ac_e%gp |
*) # Relative |
11378 |
EOF |
if test -f "$f"; then |
11379 |
sed -n -f conftest.hdr confdefs.h > conftest.vals |
# Build tree |
11380 |
rm -f conftest.hdr |
echo $f |
11381 |
|
elif test -f "$srcdir/$f"; then |
11382 |
|
# Source tree |
11383 |
|
echo $srcdir/$f |
11384 |
|
else |
11385 |
|
# /dev/null tree |
11386 |
|
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
11387 |
|
echo "$as_me: error: cannot find input file: $f" >&2;} |
11388 |
|
{ (exit 1); exit 1; }; } |
11389 |
|
fi;; |
11390 |
|
esac |
11391 |
|
done` || { (exit 1); exit 1; } |
11392 |
|
# Remove the trailing spaces. |
11393 |
|
sed 's/[ ]*$//' $ac_file_inputs >$tmp/in |
11394 |
|
|
11395 |
|
_ACEOF |
11396 |
|
|
11397 |
|
# Transform confdefs.h into two sed scripts, `conftest.defines' and |
11398 |
|
# `conftest.undefs', that substitutes the proper values into |
11399 |
|
# config.h.in to produce config.h. The first handles `#define' |
11400 |
|
# templates, and the second `#undef' templates. |
11401 |
|
# And first: Protect against being on the right side of a sed subst in |
11402 |
|
# config.status. Protect against being in an unquoted here document |
11403 |
|
# in config.status. |
11404 |
|
rm -f conftest.defines conftest.undefs |
11405 |
|
# Using a here document instead of a string reduces the quoting nightmare. |
11406 |
|
# Putting comments in sed scripts is not portable. |
11407 |
|
# |
11408 |
|
# `end' is used to avoid that the second main sed command (meant for |
11409 |
|
# 0-ary CPP macros) applies to n-ary macro definitions. |
11410 |
|
# See the Autoconf documentation for `clear'. |
11411 |
|
cat >confdef2sed.sed <<\_ACEOF |
11412 |
|
s/[\\&,]/\\&/g |
11413 |
|
s,[\\$`],\\&,g |
11414 |
|
t clear |
11415 |
|
: clear |
11416 |
|
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp |
11417 |
|
t end |
11418 |
|
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp |
11419 |
|
: end |
11420 |
|
_ACEOF |
11421 |
|
# If some macros were called several times there might be several times |
11422 |
|
# the same #defines, which is useless. Nevertheless, we may not want to |
11423 |
|
# sort them, since we want the *last* AC-DEFINE to be honored. |
11424 |
|
uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines |
11425 |
|
sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs |
11426 |
|
rm -f confdef2sed.sed |
11427 |
|
|
11428 |
# This sed command replaces #undef with comments. This is necessary, for |
# This sed command replaces #undef with comments. This is necessary, for |
11429 |
# example, in the case of _POSIX_SOURCE, which is predefined and required |
# example, in the case of _POSIX_SOURCE, which is predefined and required |
11430 |
# on some systems where configure will not decide to define it. |
# on some systems where configure will not decide to define it. |
11431 |
cat >> conftest.vals <<\EOF |
cat >>conftest.undefs <<\_ACEOF |
11432 |
s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */% |
s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, |
11433 |
EOF |
_ACEOF |
11434 |
|
|
11435 |
# Break up conftest.vals because some shells have a limit on |
# Break up conftest.defines because some shells have a limit on the size |
11436 |
# the size of here documents, and old seds have small limits too. |
# of here documents, and old seds have small limits too (100 cmds). |
11437 |
|
echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS |
11438 |
|
echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS |
11439 |
|
echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS |
11440 |
|
echo ' :' >>$CONFIG_STATUS |
11441 |
rm -f conftest.tail |
rm -f conftest.tail |
11442 |
while : |
while grep . conftest.defines >/dev/null |
11443 |
do |
do |
11444 |
ac_lines=`grep -c . conftest.vals` |
# Write a limited-size here document to $tmp/defines.sed. |
11445 |
# grep -c gives empty output for an empty file on some AIX systems. |
echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS |
11446 |
if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi |
# Speed up: don't consider the non `#define' lines. |
11447 |
# Write a limited-size here document to conftest.frag. |
echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS |
11448 |
echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS |
# Work around the forget-to-reset-the-flag bug. |
11449 |
sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS |
echo 't clr' >>$CONFIG_STATUS |
11450 |
|
echo ': clr' >>$CONFIG_STATUS |
11451 |
|
sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS |
11452 |
echo 'CEOF |
echo 'CEOF |
11453 |
sed -f conftest.frag conftest.in > conftest.out |
sed -f $tmp/defines.sed $tmp/in >$tmp/out |
11454 |
rm -f conftest.in |
rm -f $tmp/in |
11455 |
mv conftest.out conftest.in |
mv $tmp/out $tmp/in |
11456 |
' >> $CONFIG_STATUS |
' >>$CONFIG_STATUS |
11457 |
sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail |
sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail |
11458 |
rm -f conftest.vals |
rm -f conftest.defines |
11459 |
mv conftest.tail conftest.vals |
mv conftest.tail conftest.defines |
11460 |
done |
done |
11461 |
rm -f conftest.vals |
rm -f conftest.defines |
11462 |
|
echo ' fi # grep' >>$CONFIG_STATUS |
11463 |
cat >> $CONFIG_STATUS <<\EOF |
echo >>$CONFIG_STATUS |
11464 |
rm -f conftest.frag conftest.h |
|
11465 |
echo "/* $ac_file. Generated automatically by configure. */" > conftest.h |
# Break up conftest.undefs because some shells have a limit on the size |
11466 |
cat conftest.in >> conftest.h |
# of here documents, and old seds have small limits too (100 cmds). |
11467 |
rm -f conftest.in |
echo ' # Handle all the #undef templates' >>$CONFIG_STATUS |
11468 |
if cmp -s $ac_file conftest.h 2>/dev/null; then |
rm -f conftest.tail |
11469 |
echo "$ac_file is unchanged" |
while grep . conftest.undefs >/dev/null |
11470 |
rm -f conftest.h |
do |
11471 |
else |
# Write a limited-size here document to $tmp/undefs.sed. |
11472 |
# Remove last slash and all that follows it. Not all systems have dirname. |
echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS |
11473 |
ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'` |
# Speed up: don't consider the non `#undef' |
11474 |
if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then |
echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS |
11475 |
# The file is in a subdirectory. |
# Work around the forget-to-reset-the-flag bug. |
11476 |
test ! -d "$ac_dir" && mkdir "$ac_dir" |
echo 't clr' >>$CONFIG_STATUS |
11477 |
fi |
echo ': clr' >>$CONFIG_STATUS |
11478 |
rm -f $ac_file |
sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS |
11479 |
mv conftest.h $ac_file |
echo 'CEOF |
11480 |
|
sed -f $tmp/undefs.sed $tmp/in >$tmp/out |
11481 |
|
rm -f $tmp/in |
11482 |
|
mv $tmp/out $tmp/in |
11483 |
|
' >>$CONFIG_STATUS |
11484 |
|
sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail |
11485 |
|
rm -f conftest.undefs |
11486 |
|
mv conftest.tail conftest.undefs |
11487 |
|
done |
11488 |
|
rm -f conftest.undefs |
11489 |
|
|
11490 |
|
cat >>$CONFIG_STATUS <<\_ACEOF |
11491 |
|
# Let's still pretend it is `configure' which instantiates (i.e., don't |
11492 |
|
# use $as_me), people would be surprised to read: |
11493 |
|
# /* config.h. Generated by config.status. */ |
11494 |
|
if test x"$ac_file" = x-; then |
11495 |
|
echo "/* Generated by configure. */" >$tmp/config.h |
11496 |
|
else |
11497 |
|
echo "/* $ac_file. Generated by configure. */" >$tmp/config.h |
11498 |
fi |
fi |
11499 |
fi; done |
cat $tmp/in >>$tmp/config.h |
11500 |
|
rm -f $tmp/in |
11501 |
|
if test x"$ac_file" != x-; then |
11502 |
|
if diff $ac_file $tmp/config.h >/dev/null 2>&1; then |
11503 |
|
{ echo "$as_me:$LINENO: $ac_file is unchanged" >&5 |
11504 |
|
echo "$as_me: $ac_file is unchanged" >&6;} |
11505 |
|
else |
11506 |
|
ac_dir=`(dirname "$ac_file") 2>/dev/null || |
11507 |
|
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
11508 |
|
X"$ac_file" : 'X\(//\)[^/]' \| \ |
11509 |
|
X"$ac_file" : 'X\(//\)$' \| \ |
11510 |
|
X"$ac_file" : 'X\(/\)' \| \ |
11511 |
|
. : '\(.\)' 2>/dev/null || |
11512 |
|
echo X"$ac_file" | |
11513 |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
11514 |
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
11515 |
|
/^X\(\/\/\)$/{ s//\1/; q; } |
11516 |
|
/^X\(\/\).*/{ s//\1/; q; } |
11517 |
|
s/.*/./; q'` |
11518 |
|
{ if $as_mkdir_p; then |
11519 |
|
mkdir -p "$ac_dir" |
11520 |
|
else |
11521 |
|
as_dir="$ac_dir" |
11522 |
|
as_dirs= |
11523 |
|
while test ! -d "$as_dir"; do |
11524 |
|
as_dirs="$as_dir $as_dirs" |
11525 |
|
as_dir=`(dirname "$as_dir") 2>/dev/null || |
11526 |
|
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
11527 |
|
X"$as_dir" : 'X\(//\)[^/]' \| \ |
11528 |
|
X"$as_dir" : 'X\(//\)$' \| \ |
11529 |
|
X"$as_dir" : 'X\(/\)' \| \ |
11530 |
|
. : '\(.\)' 2>/dev/null || |
11531 |
|
echo X"$as_dir" | |
11532 |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
11533 |
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
11534 |
|
/^X\(\/\/\)$/{ s//\1/; q; } |
11535 |
|
/^X\(\/\).*/{ s//\1/; q; } |
11536 |
|
s/.*/./; q'` |
11537 |
|
done |
11538 |
|
test ! -n "$as_dirs" || mkdir $as_dirs |
11539 |
|
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 |
11540 |
|
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} |
11541 |
|
{ (exit 1); exit 1; }; }; } |
11542 |
|
|
11543 |
EOF |
rm -f $ac_file |
11544 |
cat >> $CONFIG_STATUS <<EOF |
mv $tmp/config.h $ac_file |
11545 |
|
fi |
11546 |
|
else |
11547 |
|
cat $tmp/config.h |
11548 |
|
rm -f $tmp/config.h |
11549 |
|
fi |
11550 |
|
done |
11551 |
|
_ACEOF |
11552 |
|
|
11553 |
EOF |
cat >>$CONFIG_STATUS <<\_ACEOF |
|
cat >> $CONFIG_STATUS <<\EOF |
|
11554 |
|
|
11555 |
exit 0 |
{ (exit 0); exit 0; } |
11556 |
EOF |
_ACEOF |
11557 |
chmod +x $CONFIG_STATUS |
chmod +x $CONFIG_STATUS |
11558 |
rm -fr confdefs* $ac_clean_files |
ac_clean_files=$ac_clean_files_save |
11559 |
test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1 |
|
11560 |
|
|
11561 |
|
# configure is writing to config.log, and then calls config.status. |
11562 |
|
# config.status does its own redirection, appending to config.log. |
11563 |
|
# Unfortunately, on DOS this fails, as config.log is still kept open |
11564 |
|
# by configure, so config.status won't be able to write to it; its |
11565 |
|
# output is simply discarded. So we exec the FD to /dev/null, |
11566 |
|
# effectively closing config.log, so it can be properly (re)opened and |
11567 |
|
# appended to by config.status. When coming back to configure, we |
11568 |
|
# need to make the FD available again. |
11569 |
|
if test "$no_create" != yes; then |
11570 |
|
ac_cs_success=: |
11571 |
|
ac_config_status_args= |
11572 |
|
test "$silent" = yes && |
11573 |
|
ac_config_status_args="$ac_config_status_args --quiet" |
11574 |
|
exec 5>/dev/null |
11575 |
|
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
11576 |
|
exec 5>>config.log |
11577 |
|
# Use ||, not &&, to avoid exiting from the if with $? = 1, which |
11578 |
|
# would make configure fail if this is the last instruction. |
11579 |
|
$ac_cs_success || { (exit 1); exit 1; } |
11580 |
|
fi |
11581 |
|
|
11582 |
echo makedefc |
echo makedefc |
11583 |
cat makedefc |
cat makedefc |