1 |
7 |
jrydberg |
#! /bin/sh
|
2 |
1242 |
hpanther |
# From configure.in for or1ksim-1.2, version 2.14, from autoconf version AC_ACVERSION.
|
3 |
7 |
jrydberg |
# Guess values for system-dependent variables and create Makefiles.
|
4 |
1242 |
hpanther |
# Generated by GNU Autoconf 2.57.
|
5 |
7 |
jrydberg |
#
|
6 |
1242 |
hpanther |
# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
|
7 |
|
|
# Free Software Foundation, Inc.
|
8 |
7 |
jrydberg |
# This configure script is free software; the Free Software Foundation
|
9 |
|
|
# gives unlimited permission to copy, distribute and modify it.
|
10 |
1242 |
hpanther |
## --------------------- ##
|
11 |
|
|
## M4sh Initialization. ##
|
12 |
|
|
## --------------------- ##
|
13 |
7 |
jrydberg |
|
14 |
1242 |
hpanther |
# Be Bourne compatible
|
15 |
|
|
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
16 |
|
|
emulate sh
|
17 |
|
|
NULLCMD=:
|
18 |
|
|
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
|
19 |
|
|
# is contrary to our usage. Disable this feature.
|
20 |
|
|
alias -g '${1+"$@"}'='"$@"'
|
21 |
|
|
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
|
22 |
|
|
set -o posix
|
23 |
|
|
fi
|
24 |
|
|
|
25 |
|
|
# Support unset when possible.
|
26 |
|
|
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
|
27 |
|
|
as_unset=unset
|
28 |
|
|
else
|
29 |
|
|
as_unset=false
|
30 |
|
|
fi
|
31 |
|
|
|
32 |
|
|
|
33 |
|
|
# Work around bugs in pre-3.0 UWIN ksh.
|
34 |
|
|
$as_unset ENV MAIL MAILPATH
|
35 |
|
|
PS1='$ '
|
36 |
|
|
PS2='> '
|
37 |
|
|
PS4='+ '
|
38 |
|
|
|
39 |
|
|
# NLS nuisances.
|
40 |
|
|
for as_var in \
|
41 |
|
|
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
|
42 |
|
|
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
|
43 |
|
|
LC_TELEPHONE LC_TIME
|
44 |
|
|
do
|
45 |
|
|
if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
|
46 |
|
|
eval $as_var=C; export $as_var
|
47 |
|
|
else
|
48 |
|
|
$as_unset $as_var
|
49 |
|
|
fi
|
50 |
|
|
done
|
51 |
|
|
|
52 |
|
|
# Required to use basename.
|
53 |
|
|
if expr a : '\(a\)' >/dev/null 2>&1; then
|
54 |
|
|
as_expr=expr
|
55 |
|
|
else
|
56 |
|
|
as_expr=false
|
57 |
|
|
fi
|
58 |
|
|
|
59 |
|
|
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
|
60 |
|
|
as_basename=basename
|
61 |
|
|
else
|
62 |
|
|
as_basename=false
|
63 |
|
|
fi
|
64 |
|
|
|
65 |
|
|
|
66 |
|
|
# Name of the executable.
|
67 |
|
|
as_me=`$as_basename "$0" ||
|
68 |
|
|
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
69 |
|
|
X"$0" : 'X\(//\)$' \| \
|
70 |
|
|
X"$0" : 'X\(/\)$' \| \
|
71 |
|
|
. : '\(.\)' 2>/dev/null ||
|
72 |
|
|
echo X/"$0" |
|
73 |
|
|
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
|
74 |
|
|
/^X\/\(\/\/\)$/{ s//\1/; q; }
|
75 |
|
|
/^X\/\(\/\).*/{ s//\1/; q; }
|
76 |
|
|
s/.*/./; q'`
|
77 |
|
|
|
78 |
|
|
|
79 |
|
|
# PATH needs CR, and LINENO needs CR and PATH.
|
80 |
|
|
# Avoid depending upon Character Ranges.
|
81 |
|
|
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
82 |
|
|
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
83 |
|
|
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
|
84 |
|
|
as_cr_digits='0123456789'
|
85 |
|
|
as_cr_alnum=$as_cr_Letters$as_cr_digits
|
86 |
|
|
|
87 |
|
|
# The user is always right.
|
88 |
|
|
if test "${PATH_SEPARATOR+set}" != set; then
|
89 |
|
|
echo "#! /bin/sh" >conf$$.sh
|
90 |
|
|
echo "exit 0" >>conf$$.sh
|
91 |
|
|
chmod +x conf$$.sh
|
92 |
|
|
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
|
93 |
|
|
PATH_SEPARATOR=';'
|
94 |
|
|
else
|
95 |
|
|
PATH_SEPARATOR=:
|
96 |
|
|
fi
|
97 |
|
|
rm -f conf$$.sh
|
98 |
|
|
fi
|
99 |
|
|
|
100 |
|
|
|
101 |
|
|
as_lineno_1=$LINENO
|
102 |
|
|
as_lineno_2=$LINENO
|
103 |
|
|
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
|
104 |
|
|
test "x$as_lineno_1" != "x$as_lineno_2" &&
|
105 |
|
|
test "x$as_lineno_3" = "x$as_lineno_2" || {
|
106 |
|
|
# Find who we are. Look in the path if we contain no path at all
|
107 |
|
|
# relative or not.
|
108 |
|
|
case $0 in
|
109 |
|
|
*[\\/]* ) as_myself=$0 ;;
|
110 |
|
|
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
111 |
|
|
for as_dir in $PATH
|
112 |
|
|
do
|
113 |
|
|
IFS=$as_save_IFS
|
114 |
|
|
test -z "$as_dir" && as_dir=.
|
115 |
|
|
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
116 |
|
|
done
|
117 |
|
|
|
118 |
|
|
;;
|
119 |
|
|
esac
|
120 |
|
|
# We did not find ourselves, most probably we were run as `sh COMMAND'
|
121 |
|
|
# in which case we are not to be found in the path.
|
122 |
|
|
if test "x$as_myself" = x; then
|
123 |
|
|
as_myself=$0
|
124 |
|
|
fi
|
125 |
|
|
if test ! -f "$as_myself"; then
|
126 |
|
|
{ echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
|
127 |
|
|
{ (exit 1); exit 1; }; }
|
128 |
|
|
fi
|
129 |
|
|
case $CONFIG_SHELL in
|
130 |
|
|
'')
|
131 |
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
132 |
|
|
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
|
133 |
|
|
do
|
134 |
|
|
IFS=$as_save_IFS
|
135 |
|
|
test -z "$as_dir" && as_dir=.
|
136 |
|
|
for as_base in sh bash ksh sh5; do
|
137 |
|
|
case $as_dir in
|
138 |
|
|
/*)
|
139 |
|
|
if ("$as_dir/$as_base" -c '
|
140 |
|
|
as_lineno_1=$LINENO
|
141 |
|
|
as_lineno_2=$LINENO
|
142 |
|
|
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
|
143 |
|
|
test "x$as_lineno_1" != "x$as_lineno_2" &&
|
144 |
|
|
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
|
145 |
|
|
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
|
146 |
|
|
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
|
147 |
|
|
CONFIG_SHELL=$as_dir/$as_base
|
148 |
|
|
export CONFIG_SHELL
|
149 |
|
|
exec "$CONFIG_SHELL" "$0" ${1+"$@"}
|
150 |
|
|
fi;;
|
151 |
|
|
esac
|
152 |
|
|
done
|
153 |
|
|
done
|
154 |
|
|
;;
|
155 |
|
|
esac
|
156 |
|
|
|
157 |
|
|
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
|
158 |
|
|
# uniformly replaced by the line number. The first 'sed' inserts a
|
159 |
|
|
# line-number line before each line; the second 'sed' does the real
|
160 |
|
|
# work. The second script uses 'N' to pair each line-number line
|
161 |
|
|
# with the numbered line, and appends trailing '-' during
|
162 |
|
|
# substitution so that $LINENO is not a special case at line end.
|
163 |
|
|
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
|
164 |
|
|
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
|
165 |
|
|
sed '=' <$as_myself |
|
166 |
|
|
sed '
|
167 |
|
|
N
|
168 |
|
|
s,$,-,
|
169 |
|
|
: loop
|
170 |
|
|
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
|
171 |
|
|
t loop
|
172 |
|
|
s,-$,,
|
173 |
|
|
s,^['$as_cr_digits']*\n,,
|
174 |
|
|
' >$as_me.lineno &&
|
175 |
|
|
chmod +x $as_me.lineno ||
|
176 |
|
|
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
|
177 |
|
|
{ (exit 1); exit 1; }; }
|
178 |
|
|
|
179 |
|
|
# Don't try to exec as it changes $[0], causing all sort of problems
|
180 |
|
|
# (the dirname of $[0] is not the place where we might find the
|
181 |
|
|
# original and so on. Autoconf is especially sensible to this).
|
182 |
|
|
. ./$as_me.lineno
|
183 |
|
|
# Exit status is that of the last command.
|
184 |
|
|
exit
|
185 |
|
|
}
|
186 |
|
|
|
187 |
|
|
|
188 |
|
|
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
|
189 |
|
|
*c*,-n*) ECHO_N= ECHO_C='
|
190 |
|
|
' ECHO_T=' ' ;;
|
191 |
|
|
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
|
192 |
|
|
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
|
193 |
|
|
esac
|
194 |
|
|
|
195 |
|
|
if expr a : '\(a\)' >/dev/null 2>&1; then
|
196 |
|
|
as_expr=expr
|
197 |
|
|
else
|
198 |
|
|
as_expr=false
|
199 |
|
|
fi
|
200 |
|
|
|
201 |
|
|
rm -f conf$$ conf$$.exe conf$$.file
|
202 |
|
|
echo >conf$$.file
|
203 |
|
|
if ln -s conf$$.file conf$$ 2>/dev/null; then
|
204 |
|
|
# We could just check for DJGPP; but this test a) works b) is more generic
|
205 |
|
|
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
|
206 |
|
|
if test -f conf$$.exe; then
|
207 |
|
|
# Don't use ln at all; we don't have any links
|
208 |
|
|
as_ln_s='cp -p'
|
209 |
|
|
else
|
210 |
|
|
as_ln_s='ln -s'
|
211 |
|
|
fi
|
212 |
|
|
elif ln conf$$.file conf$$ 2>/dev/null; then
|
213 |
|
|
as_ln_s=ln
|
214 |
|
|
else
|
215 |
|
|
as_ln_s='cp -p'
|
216 |
|
|
fi
|
217 |
|
|
rm -f conf$$ conf$$.exe conf$$.file
|
218 |
|
|
|
219 |
|
|
if mkdir -p . 2>/dev/null; then
|
220 |
|
|
as_mkdir_p=:
|
221 |
|
|
else
|
222 |
|
|
as_mkdir_p=false
|
223 |
|
|
fi
|
224 |
|
|
|
225 |
|
|
as_executable_p="test -f"
|
226 |
|
|
|
227 |
|
|
# Sed expression to map a string onto a valid CPP name.
|
228 |
|
|
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
|
229 |
|
|
|
230 |
|
|
# Sed expression to map a string onto a valid variable name.
|
231 |
|
|
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
|
232 |
|
|
|
233 |
|
|
|
234 |
|
|
# IFS
|
235 |
|
|
# We need space, tab and new line, in precisely that order.
|
236 |
|
|
as_nl='
|
237 |
|
|
'
|
238 |
|
|
IFS=" $as_nl"
|
239 |
|
|
|
240 |
|
|
# CDPATH.
|
241 |
|
|
$as_unset CDPATH
|
242 |
|
|
|
243 |
|
|
|
244 |
|
|
# Name of the host.
|
245 |
|
|
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
|
246 |
|
|
# so uname gets run too.
|
247 |
|
|
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
|
248 |
|
|
|
249 |
|
|
exec 6>&1
|
250 |
|
|
|
251 |
|
|
#
|
252 |
|
|
# Initializations.
|
253 |
|
|
#
|
254 |
7 |
jrydberg |
ac_default_prefix=/usr/local
|
255 |
1242 |
hpanther |
ac_config_libobj_dir=.
|
256 |
|
|
cross_compiling=no
|
257 |
|
|
subdirs=
|
258 |
|
|
MFLAGS=
|
259 |
|
|
MAKEFLAGS=
|
260 |
|
|
SHELL=${CONFIG_SHELL-/bin/sh}
|
261 |
7 |
jrydberg |
|
262 |
1242 |
hpanther |
# Maximum number of lines to put in a shell here document.
|
263 |
|
|
# This variable seems obsolete. It should probably be removed, and
|
264 |
|
|
# only ac_max_sed_lines should be used.
|
265 |
|
|
: ${ac_max_here_lines=38}
|
266 |
|
|
|
267 |
|
|
# Identity of this package.
|
268 |
|
|
PACKAGE_NAME=
|
269 |
|
|
PACKAGE_TARNAME=
|
270 |
|
|
PACKAGE_VERSION=
|
271 |
|
|
PACKAGE_STRING=
|
272 |
|
|
PACKAGE_BUGREPORT=
|
273 |
|
|
|
274 |
|
|
ac_unique_file="cpu/or32/execute.c"
|
275 |
|
|
# Factoring default headers for most tests.
|
276 |
|
|
ac_includes_default="\
|
277 |
|
|
#include
|
278 |
|
|
#if HAVE_SYS_TYPES_H
|
279 |
|
|
# include
|
280 |
|
|
#endif
|
281 |
|
|
#if HAVE_SYS_STAT_H
|
282 |
|
|
# include
|
283 |
|
|
#endif
|
284 |
|
|
#if STDC_HEADERS
|
285 |
|
|
# include
|
286 |
|
|
# include
|
287 |
|
|
#else
|
288 |
|
|
# if HAVE_STDLIB_H
|
289 |
|
|
# include
|
290 |
|
|
# endif
|
291 |
|
|
#endif
|
292 |
|
|
#if HAVE_STRING_H
|
293 |
|
|
# if !STDC_HEADERS && HAVE_MEMORY_H
|
294 |
|
|
# include
|
295 |
|
|
# endif
|
296 |
|
|
# include
|
297 |
|
|
#endif
|
298 |
|
|
#if HAVE_STRINGS_H
|
299 |
|
|
# include
|
300 |
|
|
#endif
|
301 |
|
|
#if HAVE_INTTYPES_H
|
302 |
|
|
# include
|
303 |
|
|
#else
|
304 |
|
|
# if HAVE_STDINT_H
|
305 |
|
|
# include
|
306 |
|
|
# endif
|
307 |
|
|
#endif
|
308 |
|
|
#if HAVE_UNISTD_H
|
309 |
|
|
# include
|
310 |
|
|
#endif"
|
311 |
|
|
|
312 |
|
|
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 build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE CPU_ARCH CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE CPP EGREP AR RANLIB ac_ct_RANLIB MAKE_SHELL SIMPLE_EXECUTION_TRUE SIMPLE_EXECUTION_FALSE BUILD_DIR LOCAL_CFLAGS LOCAL_LDFLAGS LOCAL_DEFS ARFLAGS SUMVERSION TERMCAP_LIB INCLUDES LIBOBJS LTLIBOBJS'
|
313 |
|
|
ac_subst_files=''
|
314 |
|
|
|
315 |
7 |
jrydberg |
# Initialize some variables set by options.
|
316 |
1242 |
hpanther |
ac_init_help=
|
317 |
|
|
ac_init_version=false
|
318 |
7 |
jrydberg |
# The variables have the same names as the options, with
|
319 |
|
|
# dashes changed to underlines.
|
320 |
1242 |
hpanther |
cache_file=/dev/null
|
321 |
7 |
jrydberg |
exec_prefix=NONE
|
322 |
|
|
no_create=
|
323 |
|
|
no_recursion=
|
324 |
|
|
prefix=NONE
|
325 |
|
|
program_prefix=NONE
|
326 |
|
|
program_suffix=NONE
|
327 |
|
|
program_transform_name=s,x,x,
|
328 |
|
|
silent=
|
329 |
|
|
site=
|
330 |
|
|
srcdir=
|
331 |
|
|
verbose=
|
332 |
|
|
x_includes=NONE
|
333 |
|
|
x_libraries=NONE
|
334 |
1242 |
hpanther |
|
335 |
|
|
# Installation directory options.
|
336 |
|
|
# These are left unexpanded so users can "make install exec_prefix=/foo"
|
337 |
|
|
# and all the variables that are supposed to be based on exec_prefix
|
338 |
|
|
# by default will actually change.
|
339 |
|
|
# Use braces instead of parens because sh, perl, etc. also accept them.
|
340 |
7 |
jrydberg |
bindir='${exec_prefix}/bin'
|
341 |
|
|
sbindir='${exec_prefix}/sbin'
|
342 |
|
|
libexecdir='${exec_prefix}/libexec'
|
343 |
|
|
datadir='${prefix}/share'
|
344 |
|
|
sysconfdir='${prefix}/etc'
|
345 |
|
|
sharedstatedir='${prefix}/com'
|
346 |
|
|
localstatedir='${prefix}/var'
|
347 |
|
|
libdir='${exec_prefix}/lib'
|
348 |
|
|
includedir='${prefix}/include'
|
349 |
|
|
oldincludedir='/usr/include'
|
350 |
|
|
infodir='${prefix}/info'
|
351 |
|
|
mandir='${prefix}/man'
|
352 |
|
|
|
353 |
|
|
ac_prev=
|
354 |
|
|
for ac_option
|
355 |
|
|
do
|
356 |
|
|
# If the previous option needs an argument, assign it.
|
357 |
|
|
if test -n "$ac_prev"; then
|
358 |
|
|
eval "$ac_prev=\$ac_option"
|
359 |
|
|
ac_prev=
|
360 |
|
|
continue
|
361 |
|
|
fi
|
362 |
|
|
|
363 |
1242 |
hpanther |
ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
|
364 |
7 |
jrydberg |
|
365 |
|
|
# Accept the important Cygnus configure options, so we can diagnose typos.
|
366 |
|
|
|
367 |
1242 |
hpanther |
case $ac_option in
|
368 |
7 |
jrydberg |
|
369 |
|
|
-bindir | --bindir | --bindi | --bind | --bin | --bi)
|
370 |
|
|
ac_prev=bindir ;;
|
371 |
|
|
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
|
372 |
1242 |
hpanther |
bindir=$ac_optarg ;;
|
373 |
7 |
jrydberg |
|
374 |
|
|
-build | --build | --buil | --bui | --bu)
|
375 |
1242 |
hpanther |
ac_prev=build_alias ;;
|
376 |
7 |
jrydberg |
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
|
377 |
1242 |
hpanther |
build_alias=$ac_optarg ;;
|
378 |
7 |
jrydberg |
|
379 |
|
|
-cache-file | --cache-file | --cache-fil | --cache-fi \
|
380 |
|
|
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
|
381 |
|
|
ac_prev=cache_file ;;
|
382 |
|
|
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
|
383 |
|
|
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
|
384 |
1242 |
hpanther |
cache_file=$ac_optarg ;;
|
385 |
7 |
jrydberg |
|
386 |
1242 |
hpanther |
--config-cache | -C)
|
387 |
|
|
cache_file=config.cache ;;
|
388 |
|
|
|
389 |
7 |
jrydberg |
-datadir | --datadir | --datadi | --datad | --data | --dat | --da)
|
390 |
|
|
ac_prev=datadir ;;
|
391 |
|
|
-datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
|
392 |
|
|
| --da=*)
|
393 |
1242 |
hpanther |
datadir=$ac_optarg ;;
|
394 |
7 |
jrydberg |
|
395 |
|
|
-disable-* | --disable-*)
|
396 |
1242 |
hpanther |
ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
|
397 |
7 |
jrydberg |
# Reject names that are not valid shell variable names.
|
398 |
1242 |
hpanther |
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
|
399 |
|
|
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
|
400 |
|
|
{ (exit 1); exit 1; }; }
|
401 |
|
|
ac_feature=`echo $ac_feature | sed 's/-/_/g'`
|
402 |
|
|
eval "enable_$ac_feature=no" ;;
|
403 |
7 |
jrydberg |
|
404 |
|
|
-enable-* | --enable-*)
|
405 |
1242 |
hpanther |
ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
|
406 |
7 |
jrydberg |
# Reject names that are not valid shell variable names.
|
407 |
1242 |
hpanther |
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
|
408 |
|
|
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
|
409 |
|
|
{ (exit 1); exit 1; }; }
|
410 |
|
|
ac_feature=`echo $ac_feature | sed 's/-/_/g'`
|
411 |
|
|
case $ac_option in
|
412 |
|
|
*=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
|
413 |
7 |
jrydberg |
*) ac_optarg=yes ;;
|
414 |
|
|
esac
|
415 |
1242 |
hpanther |
eval "enable_$ac_feature='$ac_optarg'" ;;
|
416 |
7 |
jrydberg |
|
417 |
|
|
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
|
418 |
|
|
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
|
419 |
|
|
| --exec | --exe | --ex)
|
420 |
|
|
ac_prev=exec_prefix ;;
|
421 |
|
|
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
|
422 |
|
|
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
|
423 |
|
|
| --exec=* | --exe=* | --ex=*)
|
424 |
1242 |
hpanther |
exec_prefix=$ac_optarg ;;
|
425 |
7 |
jrydberg |
|
426 |
|
|
-gas | --gas | --ga | --g)
|
427 |
|
|
# Obsolete; use --with-gas.
|
428 |
|
|
with_gas=yes ;;
|
429 |
|
|
|
430 |
1242 |
hpanther |
-help | --help | --hel | --he | -h)
|
431 |
|
|
ac_init_help=long ;;
|
432 |
|
|
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
|
433 |
|
|
ac_init_help=recursive ;;
|
434 |
|
|
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
|
435 |
|
|
ac_init_help=short ;;
|
436 |
7 |
jrydberg |
|
437 |
|
|
-host | --host | --hos | --ho)
|
438 |
1242 |
hpanther |
ac_prev=host_alias ;;
|
439 |
7 |
jrydberg |
-host=* | --host=* | --hos=* | --ho=*)
|
440 |
1242 |
hpanther |
host_alias=$ac_optarg ;;
|
441 |
7 |
jrydberg |
|
442 |
|
|
-includedir | --includedir | --includedi | --included | --include \
|
443 |
|
|
| --includ | --inclu | --incl | --inc)
|
444 |
|
|
ac_prev=includedir ;;
|
445 |
|
|
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
|
446 |
|
|
| --includ=* | --inclu=* | --incl=* | --inc=*)
|
447 |
1242 |
hpanther |
includedir=$ac_optarg ;;
|
448 |
7 |
jrydberg |
|
449 |
|
|
-infodir | --infodir | --infodi | --infod | --info | --inf)
|
450 |
|
|
ac_prev=infodir ;;
|
451 |
|
|
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
|
452 |
1242 |
hpanther |
infodir=$ac_optarg ;;
|
453 |
7 |
jrydberg |
|
454 |
|
|
-libdir | --libdir | --libdi | --libd)
|
455 |
|
|
ac_prev=libdir ;;
|
456 |
|
|
-libdir=* | --libdir=* | --libdi=* | --libd=*)
|
457 |
1242 |
hpanther |
libdir=$ac_optarg ;;
|
458 |
7 |
jrydberg |
|
459 |
|
|
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
|
460 |
|
|
| --libexe | --libex | --libe)
|
461 |
|
|
ac_prev=libexecdir ;;
|
462 |
|
|
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
|
463 |
|
|
| --libexe=* | --libex=* | --libe=*)
|
464 |
1242 |
hpanther |
libexecdir=$ac_optarg ;;
|
465 |
7 |
jrydberg |
|
466 |
|
|
-localstatedir | --localstatedir | --localstatedi | --localstated \
|
467 |
|
|
| --localstate | --localstat | --localsta | --localst \
|
468 |
|
|
| --locals | --local | --loca | --loc | --lo)
|
469 |
|
|
ac_prev=localstatedir ;;
|
470 |
|
|
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
|
471 |
|
|
| --localstate=* | --localstat=* | --localsta=* | --localst=* \
|
472 |
|
|
| --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
|
473 |
1242 |
hpanther |
localstatedir=$ac_optarg ;;
|
474 |
7 |
jrydberg |
|
475 |
|
|
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
|
476 |
|
|
ac_prev=mandir ;;
|
477 |
|
|
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
|
478 |
1242 |
hpanther |
mandir=$ac_optarg ;;
|
479 |
7 |
jrydberg |
|
480 |
|
|
-nfp | --nfp | --nf)
|
481 |
|
|
# Obsolete; use --without-fp.
|
482 |
|
|
with_fp=no ;;
|
483 |
|
|
|
484 |
|
|
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
|
485 |
1242 |
hpanther |
| --no-cr | --no-c | -n)
|
486 |
7 |
jrydberg |
no_create=yes ;;
|
487 |
|
|
|
488 |
|
|
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
|
489 |
|
|
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
|
490 |
|
|
no_recursion=yes ;;
|
491 |
|
|
|
492 |
|
|
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
|
493 |
|
|
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
|
494 |
|
|
| --oldin | --oldi | --old | --ol | --o)
|
495 |
|
|
ac_prev=oldincludedir ;;
|
496 |
|
|
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
|
497 |
|
|
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
|
498 |
|
|
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
|
499 |
1242 |
hpanther |
oldincludedir=$ac_optarg ;;
|
500 |
7 |
jrydberg |
|
501 |
|
|
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
|
502 |
|
|
ac_prev=prefix ;;
|
503 |
|
|
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
|
504 |
1242 |
hpanther |
prefix=$ac_optarg ;;
|
505 |
7 |
jrydberg |
|
506 |
|
|
-program-prefix | --program-prefix | --program-prefi | --program-pref \
|
507 |
|
|
| --program-pre | --program-pr | --program-p)
|
508 |
|
|
ac_prev=program_prefix ;;
|
509 |
|
|
-program-prefix=* | --program-prefix=* | --program-prefi=* \
|
510 |
|
|
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
|
511 |
1242 |
hpanther |
program_prefix=$ac_optarg ;;
|
512 |
7 |
jrydberg |
|
513 |
|
|
-program-suffix | --program-suffix | --program-suffi | --program-suff \
|
514 |
|
|
| --program-suf | --program-su | --program-s)
|
515 |
|
|
ac_prev=program_suffix ;;
|
516 |
|
|
-program-suffix=* | --program-suffix=* | --program-suffi=* \
|
517 |
|
|
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
|
518 |
1242 |
hpanther |
program_suffix=$ac_optarg ;;
|
519 |
7 |
jrydberg |
|
520 |
|
|
-program-transform-name | --program-transform-name \
|
521 |
|
|
| --program-transform-nam | --program-transform-na \
|
522 |
|
|
| --program-transform-n | --program-transform- \
|
523 |
|
|
| --program-transform | --program-transfor \
|
524 |
|
|
| --program-transfo | --program-transf \
|
525 |
|
|
| --program-trans | --program-tran \
|
526 |
|
|
| --progr-tra | --program-tr | --program-t)
|
527 |
|
|
ac_prev=program_transform_name ;;
|
528 |
|
|
-program-transform-name=* | --program-transform-name=* \
|
529 |
|
|
| --program-transform-nam=* | --program-transform-na=* \
|
530 |
|
|
| --program-transform-n=* | --program-transform-=* \
|
531 |
|
|
| --program-transform=* | --program-transfor=* \
|
532 |
|
|
| --program-transfo=* | --program-transf=* \
|
533 |
|
|
| --program-trans=* | --program-tran=* \
|
534 |
|
|
| --progr-tra=* | --program-tr=* | --program-t=*)
|
535 |
1242 |
hpanther |
program_transform_name=$ac_optarg ;;
|
536 |
7 |
jrydberg |
|
537 |
|
|
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
538 |
|
|
| -silent | --silent | --silen | --sile | --sil)
|
539 |
|
|
silent=yes ;;
|
540 |
|
|
|
541 |
|
|
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
|
542 |
|
|
ac_prev=sbindir ;;
|
543 |
|
|
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
|
544 |
|
|
| --sbi=* | --sb=*)
|
545 |
1242 |
hpanther |
sbindir=$ac_optarg ;;
|
546 |
7 |
jrydberg |
|
547 |
|
|
-sharedstatedir | --sharedstatedir | --sharedstatedi \
|
548 |
|
|
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
|
549 |
|
|
| --sharedst | --shareds | --shared | --share | --shar \
|
550 |
|
|
| --sha | --sh)
|
551 |
|
|
ac_prev=sharedstatedir ;;
|
552 |
|
|
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
|
553 |
|
|
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
|
554 |
|
|
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
|
555 |
|
|
| --sha=* | --sh=*)
|
556 |
1242 |
hpanther |
sharedstatedir=$ac_optarg ;;
|
557 |
7 |
jrydberg |
|
558 |
|
|
-site | --site | --sit)
|
559 |
|
|
ac_prev=site ;;
|
560 |
|
|
-site=* | --site=* | --sit=*)
|
561 |
1242 |
hpanther |
site=$ac_optarg ;;
|
562 |
7 |
jrydberg |
|
563 |
|
|
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
|
564 |
|
|
ac_prev=srcdir ;;
|
565 |
|
|
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
|
566 |
1242 |
hpanther |
srcdir=$ac_optarg ;;
|
567 |
7 |
jrydberg |
|
568 |
|
|
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
|
569 |
|
|
| --syscon | --sysco | --sysc | --sys | --sy)
|
570 |
|
|
ac_prev=sysconfdir ;;
|
571 |
|
|
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
|
572 |
|
|
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
|
573 |
1242 |
hpanther |
sysconfdir=$ac_optarg ;;
|
574 |
7 |
jrydberg |
|
575 |
|
|
-target | --target | --targe | --targ | --tar | --ta | --t)
|
576 |
1242 |
hpanther |
ac_prev=target_alias ;;
|
577 |
7 |
jrydberg |
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
|
578 |
1242 |
hpanther |
target_alias=$ac_optarg ;;
|
579 |
7 |
jrydberg |
|
580 |
|
|
-v | -verbose | --verbose | --verbos | --verbo | --verb)
|
581 |
|
|
verbose=yes ;;
|
582 |
|
|
|
583 |
1242 |
hpanther |
-version | --version | --versio | --versi | --vers | -V)
|
584 |
|
|
ac_init_version=: ;;
|
585 |
7 |
jrydberg |
|
586 |
|
|
-with-* | --with-*)
|
587 |
1242 |
hpanther |
ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
|
588 |
7 |
jrydberg |
# Reject names that are not valid shell variable names.
|
589 |
1242 |
hpanther |
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
|
590 |
|
|
{ echo "$as_me: error: invalid package name: $ac_package" >&2
|
591 |
|
|
{ (exit 1); exit 1; }; }
|
592 |
7 |
jrydberg |
ac_package=`echo $ac_package| sed 's/-/_/g'`
|
593 |
1242 |
hpanther |
case $ac_option in
|
594 |
|
|
*=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
|
595 |
7 |
jrydberg |
*) ac_optarg=yes ;;
|
596 |
|
|
esac
|
597 |
1242 |
hpanther |
eval "with_$ac_package='$ac_optarg'" ;;
|
598 |
7 |
jrydberg |
|
599 |
|
|
-without-* | --without-*)
|
600 |
1242 |
hpanther |
ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
|
601 |
7 |
jrydberg |
# Reject names that are not valid shell variable names.
|
602 |
1242 |
hpanther |
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
|
603 |
|
|
{ echo "$as_me: error: invalid package name: $ac_package" >&2
|
604 |
|
|
{ (exit 1); exit 1; }; }
|
605 |
|
|
ac_package=`echo $ac_package | sed 's/-/_/g'`
|
606 |
|
|
eval "with_$ac_package=no" ;;
|
607 |
7 |
jrydberg |
|
608 |
|
|
--x)
|
609 |
|
|
# Obsolete; use --with-x.
|
610 |
|
|
with_x=yes ;;
|
611 |
|
|
|
612 |
|
|
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
|
613 |
|
|
| --x-incl | --x-inc | --x-in | --x-i)
|
614 |
|
|
ac_prev=x_includes ;;
|
615 |
|
|
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
|
616 |
|
|
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
|
617 |
1242 |
hpanther |
x_includes=$ac_optarg ;;
|
618 |
7 |
jrydberg |
|
619 |
|
|
-x-libraries | --x-libraries | --x-librarie | --x-librari \
|
620 |
|
|
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
|
621 |
|
|
ac_prev=x_libraries ;;
|
622 |
|
|
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
|
623 |
|
|
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
|
624 |
1242 |
hpanther |
x_libraries=$ac_optarg ;;
|
625 |
7 |
jrydberg |
|
626 |
1242 |
hpanther |
-*) { echo "$as_me: error: unrecognized option: $ac_option
|
627 |
|
|
Try \`$0 --help' for more information." >&2
|
628 |
|
|
{ (exit 1); exit 1; }; }
|
629 |
7 |
jrydberg |
;;
|
630 |
|
|
|
631 |
1242 |
hpanther |
*=*)
|
632 |
|
|
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
|
633 |
|
|
# Reject names that are not valid shell variable names.
|
634 |
|
|
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
|
635 |
|
|
{ echo "$as_me: error: invalid variable name: $ac_envvar" >&2
|
636 |
|
|
{ (exit 1); exit 1; }; }
|
637 |
|
|
ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
|
638 |
|
|
eval "$ac_envvar='$ac_optarg'"
|
639 |
|
|
export $ac_envvar ;;
|
640 |
|
|
|
641 |
7 |
jrydberg |
*)
|
642 |
1242 |
hpanther |
# FIXME: should be removed in autoconf 3.0.
|
643 |
|
|
echo "$as_me: WARNING: you should use --build, --host, --target" >&2
|
644 |
|
|
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
|
645 |
|
|
echo "$as_me: WARNING: invalid host type: $ac_option" >&2
|
646 |
|
|
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
|
647 |
7 |
jrydberg |
;;
|
648 |
|
|
|
649 |
|
|
esac
|
650 |
|
|
done
|
651 |
|
|
|
652 |
|
|
if test -n "$ac_prev"; then
|
653 |
1242 |
hpanther |
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
|
654 |
|
|
{ echo "$as_me: error: missing argument to $ac_option" >&2
|
655 |
|
|
{ (exit 1); exit 1; }; }
|
656 |
7 |
jrydberg |
fi
|
657 |
|
|
|
658 |
1242 |
hpanther |
# Be sure to have absolute paths.
|
659 |
|
|
for ac_var in exec_prefix prefix
|
660 |
|
|
do
|
661 |
|
|
eval ac_val=$`echo $ac_var`
|
662 |
|
|
case $ac_val in
|
663 |
|
|
[\\/$]* | ?:[\\/]* | NONE | '' ) ;;
|
664 |
|
|
*) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
|
665 |
|
|
{ (exit 1); exit 1; }; };;
|
666 |
|
|
esac
|
667 |
|
|
done
|
668 |
7 |
jrydberg |
|
669 |
1242 |
hpanther |
# Be sure to have absolute paths.
|
670 |
|
|
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
|
671 |
|
|
localstatedir libdir includedir oldincludedir infodir mandir
|
672 |
7 |
jrydberg |
do
|
673 |
1242 |
hpanther |
eval ac_val=$`echo $ac_var`
|
674 |
|
|
case $ac_val in
|
675 |
|
|
[\\/$]* | ?:[\\/]* ) ;;
|
676 |
|
|
*) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
|
677 |
|
|
{ (exit 1); exit 1; }; };;
|
678 |
7 |
jrydberg |
esac
|
679 |
|
|
done
|
680 |
|
|
|
681 |
1242 |
hpanther |
# There might be people who depend on the old broken behavior: `$host'
|
682 |
|
|
# used to hold the argument of --host etc.
|
683 |
|
|
# FIXME: To remove some day.
|
684 |
|
|
build=$build_alias
|
685 |
|
|
host=$host_alias
|
686 |
|
|
target=$target_alias
|
687 |
7 |
jrydberg |
|
688 |
1242 |
hpanther |
# FIXME: To remove some day.
|
689 |
|
|
if test "x$host_alias" != x; then
|
690 |
|
|
if test "x$build_alias" = x; then
|
691 |
|
|
cross_compiling=maybe
|
692 |
|
|
echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
|
693 |
|
|
If a cross compiler is detected then cross compile mode will be used." >&2
|
694 |
|
|
elif test "x$build_alias" != "x$host_alias"; then
|
695 |
|
|
cross_compiling=yes
|
696 |
|
|
fi
|
697 |
|
|
fi
|
698 |
7 |
jrydberg |
|
699 |
1242 |
hpanther |
ac_tool_prefix=
|
700 |
|
|
test -n "$host_alias" && ac_tool_prefix=$host_alias-
|
701 |
7 |
jrydberg |
|
702 |
1242 |
hpanther |
test "$silent" = yes && exec 6>/dev/null
|
703 |
|
|
|
704 |
|
|
|
705 |
7 |
jrydberg |
# Find the source files, if location was not specified.
|
706 |
|
|
if test -z "$srcdir"; then
|
707 |
|
|
ac_srcdir_defaulted=yes
|
708 |
|
|
# Try the directory containing this script, then its parent.
|
709 |
1242 |
hpanther |
ac_confdir=`(dirname "$0") 2>/dev/null ||
|
710 |
|
|
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
711 |
|
|
X"$0" : 'X\(//\)[^/]' \| \
|
712 |
|
|
X"$0" : 'X\(//\)$' \| \
|
713 |
|
|
X"$0" : 'X\(/\)' \| \
|
714 |
|
|
. : '\(.\)' 2>/dev/null ||
|
715 |
|
|
echo X"$0" |
|
716 |
|
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
717 |
|
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
718 |
|
|
/^X\(\/\/\)$/{ s//\1/; q; }
|
719 |
|
|
/^X\(\/\).*/{ s//\1/; q; }
|
720 |
|
|
s/.*/./; q'`
|
721 |
7 |
jrydberg |
srcdir=$ac_confdir
|
722 |
|
|
if test ! -r $srcdir/$ac_unique_file; then
|
723 |
|
|
srcdir=..
|
724 |
|
|
fi
|
725 |
|
|
else
|
726 |
|
|
ac_srcdir_defaulted=no
|
727 |
|
|
fi
|
728 |
|
|
if test ! -r $srcdir/$ac_unique_file; then
|
729 |
|
|
if test "$ac_srcdir_defaulted" = yes; then
|
730 |
1242 |
hpanther |
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
|
731 |
|
|
{ (exit 1); exit 1; }; }
|
732 |
7 |
jrydberg |
else
|
733 |
1242 |
hpanther |
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
|
734 |
|
|
{ (exit 1); exit 1; }; }
|
735 |
7 |
jrydberg |
fi
|
736 |
|
|
fi
|
737 |
1242 |
hpanther |
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
|
738 |
|
|
{ echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
|
739 |
|
|
{ (exit 1); exit 1; }; }
|
740 |
|
|
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
|
741 |
|
|
ac_env_build_alias_set=${build_alias+set}
|
742 |
|
|
ac_env_build_alias_value=$build_alias
|
743 |
|
|
ac_cv_env_build_alias_set=${build_alias+set}
|
744 |
|
|
ac_cv_env_build_alias_value=$build_alias
|
745 |
|
|
ac_env_host_alias_set=${host_alias+set}
|
746 |
|
|
ac_env_host_alias_value=$host_alias
|
747 |
|
|
ac_cv_env_host_alias_set=${host_alias+set}
|
748 |
|
|
ac_cv_env_host_alias_value=$host_alias
|
749 |
|
|
ac_env_target_alias_set=${target_alias+set}
|
750 |
|
|
ac_env_target_alias_value=$target_alias
|
751 |
|
|
ac_cv_env_target_alias_set=${target_alias+set}
|
752 |
|
|
ac_cv_env_target_alias_value=$target_alias
|
753 |
|
|
ac_env_CC_set=${CC+set}
|
754 |
|
|
ac_env_CC_value=$CC
|
755 |
|
|
ac_cv_env_CC_set=${CC+set}
|
756 |
|
|
ac_cv_env_CC_value=$CC
|
757 |
|
|
ac_env_CFLAGS_set=${CFLAGS+set}
|
758 |
|
|
ac_env_CFLAGS_value=$CFLAGS
|
759 |
|
|
ac_cv_env_CFLAGS_set=${CFLAGS+set}
|
760 |
|
|
ac_cv_env_CFLAGS_value=$CFLAGS
|
761 |
|
|
ac_env_LDFLAGS_set=${LDFLAGS+set}
|
762 |
|
|
ac_env_LDFLAGS_value=$LDFLAGS
|
763 |
|
|
ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
|
764 |
|
|
ac_cv_env_LDFLAGS_value=$LDFLAGS
|
765 |
|
|
ac_env_CPPFLAGS_set=${CPPFLAGS+set}
|
766 |
|
|
ac_env_CPPFLAGS_value=$CPPFLAGS
|
767 |
|
|
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
|
768 |
|
|
ac_cv_env_CPPFLAGS_value=$CPPFLAGS
|
769 |
|
|
ac_env_CPP_set=${CPP+set}
|
770 |
|
|
ac_env_CPP_value=$CPP
|
771 |
|
|
ac_cv_env_CPP_set=${CPP+set}
|
772 |
|
|
ac_cv_env_CPP_value=$CPP
|
773 |
7 |
jrydberg |
|
774 |
1242 |
hpanther |
#
|
775 |
|
|
# Report the --help message.
|
776 |
|
|
#
|
777 |
|
|
if test "$ac_init_help" = "long"; then
|
778 |
|
|
# Omit some internal or obsolete options to make the list less imposing.
|
779 |
|
|
# This message is too long to be a string in the A/UX 3.1 sh.
|
780 |
|
|
cat <<_ACEOF
|
781 |
|
|
\`configure' configures this package to adapt to many kinds of systems.
|
782 |
|
|
|
783 |
|
|
Usage: $0 [OPTION]... [VAR=VALUE]...
|
784 |
|
|
|
785 |
|
|
To assign environment variables (e.g., CC, CFLAGS...), specify them as
|
786 |
|
|
VAR=VALUE. See below for descriptions of some of the useful variables.
|
787 |
|
|
|
788 |
|
|
Defaults for the options are specified in brackets.
|
789 |
|
|
|
790 |
|
|
Configuration:
|
791 |
|
|
-h, --help display this help and exit
|
792 |
|
|
--help=short display options specific to this package
|
793 |
|
|
--help=recursive display the short help of all the included packages
|
794 |
|
|
-V, --version display version information and exit
|
795 |
|
|
-q, --quiet, --silent do not print \`checking...' messages
|
796 |
|
|
--cache-file=FILE cache test results in FILE [disabled]
|
797 |
|
|
-C, --config-cache alias for \`--cache-file=config.cache'
|
798 |
|
|
-n, --no-create do not create output files
|
799 |
|
|
--srcdir=DIR find the sources in DIR [configure dir or \`..']
|
800 |
|
|
|
801 |
|
|
_ACEOF
|
802 |
|
|
|
803 |
|
|
cat <<_ACEOF
|
804 |
|
|
Installation directories:
|
805 |
|
|
--prefix=PREFIX install architecture-independent files in PREFIX
|
806 |
|
|
[$ac_default_prefix]
|
807 |
|
|
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
|
808 |
|
|
[PREFIX]
|
809 |
|
|
|
810 |
|
|
By default, \`make install' will install all the files in
|
811 |
|
|
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
|
812 |
|
|
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
|
813 |
|
|
for instance \`--prefix=\$HOME'.
|
814 |
|
|
|
815 |
|
|
For better control, use the options below.
|
816 |
|
|
|
817 |
|
|
Fine tuning of the installation directories:
|
818 |
|
|
--bindir=DIR user executables [EPREFIX/bin]
|
819 |
|
|
--sbindir=DIR system admin executables [EPREFIX/sbin]
|
820 |
|
|
--libexecdir=DIR program executables [EPREFIX/libexec]
|
821 |
|
|
--datadir=DIR read-only architecture-independent data [PREFIX/share]
|
822 |
|
|
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
|
823 |
|
|
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
|
824 |
|
|
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
|
825 |
|
|
--libdir=DIR object code libraries [EPREFIX/lib]
|
826 |
|
|
--includedir=DIR C header files [PREFIX/include]
|
827 |
|
|
--oldincludedir=DIR C header files for non-gcc [/usr/include]
|
828 |
|
|
--infodir=DIR info documentation [PREFIX/info]
|
829 |
|
|
--mandir=DIR man documentation [PREFIX/man]
|
830 |
|
|
_ACEOF
|
831 |
|
|
|
832 |
|
|
cat <<\_ACEOF
|
833 |
|
|
|
834 |
|
|
Program names:
|
835 |
|
|
--program-prefix=PREFIX prepend PREFIX to installed program names
|
836 |
|
|
--program-suffix=SUFFIX append SUFFIX to installed program names
|
837 |
|
|
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
|
838 |
|
|
|
839 |
|
|
System types:
|
840 |
|
|
--build=BUILD configure for building on BUILD [guessed]
|
841 |
|
|
--host=HOST cross-compile to build programs to run on HOST [BUILD]
|
842 |
|
|
--target=TARGET configure for building compilers for TARGET [HOST]
|
843 |
|
|
_ACEOF
|
844 |
|
|
fi
|
845 |
|
|
|
846 |
|
|
if test -n "$ac_init_help"; then
|
847 |
|
|
|
848 |
|
|
cat <<\_ACEOF
|
849 |
|
|
|
850 |
|
|
Optional Features:
|
851 |
|
|
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
|
852 |
|
|
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
|
853 |
|
|
--disable-dependency-tracking Speeds up one-time builds
|
854 |
|
|
--enable-dependency-tracking Do not reject slow dependency extractors
|
855 |
|
|
--enable-readline Use GNU readline
|
856 |
|
|
--enable-profiling generate profiling code
|
857 |
|
|
--enable-fsim compiles fsim, based on fast_config.c
|
858 |
|
|
--enable-simple compiles sim with simple execution
|
859 |
|
|
--enable-ethphy compiles sim with ethernet phy support
|
860 |
|
|
--enable-range-stats Specifies, whether we should do register accesses over time analysis.
|
861 |
|
|
--enable-ov-flag Whether instructions set overflow flag.
|
862 |
|
|
--enable-arith-flag Whether arithmethic instructions setflag.
|
863 |
|
|
--enable-impl= use -specific environment
|
864 |
|
|
(one of: bender, mp3, default)
|
865 |
|
|
|
866 |
|
|
Some influential environment variables:
|
867 |
|
|
CC C compiler command
|
868 |
|
|
CFLAGS C compiler flags
|
869 |
|
|
LDFLAGS linker flags, e.g. -L if you have libraries in a
|
870 |
|
|
nonstandard directory
|
871 |
|
|
CPPFLAGS C/C++ preprocessor flags, e.g. -I if you have
|
872 |
|
|
headers in a nonstandard directory
|
873 |
|
|
CPP C preprocessor
|
874 |
|
|
|
875 |
|
|
Use these variables to override the choices made by `configure' or to help
|
876 |
|
|
it to find libraries and programs with nonstandard names/locations.
|
877 |
|
|
|
878 |
|
|
_ACEOF
|
879 |
|
|
fi
|
880 |
|
|
|
881 |
|
|
if test "$ac_init_help" = "recursive"; then
|
882 |
|
|
# If there are subdirs, report their specific --help.
|
883 |
|
|
ac_popdir=`pwd`
|
884 |
|
|
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
|
885 |
|
|
test -d $ac_dir || continue
|
886 |
|
|
ac_builddir=.
|
887 |
|
|
|
888 |
|
|
if test "$ac_dir" != .; then
|
889 |
|
|
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
|
890 |
|
|
# A "../" for each directory in $ac_dir_suffix.
|
891 |
|
|
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
|
892 |
|
|
else
|
893 |
|
|
ac_dir_suffix= ac_top_builddir=
|
894 |
|
|
fi
|
895 |
|
|
|
896 |
|
|
case $srcdir in
|
897 |
|
|
.) # No --srcdir option. We are building in place.
|
898 |
|
|
ac_srcdir=.
|
899 |
|
|
if test -z "$ac_top_builddir"; then
|
900 |
|
|
ac_top_srcdir=.
|
901 |
|
|
else
|
902 |
|
|
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
|
903 |
|
|
fi ;;
|
904 |
|
|
[\\/]* | ?:[\\/]* ) # Absolute path.
|
905 |
|
|
ac_srcdir=$srcdir$ac_dir_suffix;
|
906 |
|
|
ac_top_srcdir=$srcdir ;;
|
907 |
|
|
*) # Relative path.
|
908 |
|
|
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
|
909 |
|
|
ac_top_srcdir=$ac_top_builddir$srcdir ;;
|
910 |
|
|
esac
|
911 |
|
|
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
|
912 |
|
|
# absolute.
|
913 |
|
|
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
|
914 |
|
|
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
|
915 |
|
|
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
|
916 |
|
|
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
|
917 |
|
|
|
918 |
|
|
cd $ac_dir
|
919 |
|
|
# Check for guested configure; otherwise get Cygnus style configure.
|
920 |
|
|
if test -f $ac_srcdir/configure.gnu; then
|
921 |
|
|
echo
|
922 |
|
|
$SHELL $ac_srcdir/configure.gnu --help=recursive
|
923 |
|
|
elif test -f $ac_srcdir/configure; then
|
924 |
|
|
echo
|
925 |
|
|
$SHELL $ac_srcdir/configure --help=recursive
|
926 |
|
|
elif test -f $ac_srcdir/configure.ac ||
|
927 |
|
|
test -f $ac_srcdir/configure.in; then
|
928 |
|
|
echo
|
929 |
|
|
$ac_configure --help
|
930 |
|
|
else
|
931 |
|
|
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
|
932 |
|
|
fi
|
933 |
|
|
cd $ac_popdir
|
934 |
|
|
done
|
935 |
|
|
fi
|
936 |
|
|
|
937 |
|
|
test -n "$ac_init_help" && exit 0
|
938 |
|
|
if $ac_init_version; then
|
939 |
|
|
cat <<\_ACEOF
|
940 |
|
|
|
941 |
|
|
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
|
942 |
|
|
Free Software Foundation, Inc.
|
943 |
|
|
This configure script is free software; the Free Software Foundation
|
944 |
|
|
gives unlimited permission to copy, distribute and modify it.
|
945 |
|
|
_ACEOF
|
946 |
|
|
exit 0
|
947 |
|
|
fi
|
948 |
|
|
exec 5>config.log
|
949 |
|
|
cat >&5 <<_ACEOF
|
950 |
|
|
This file contains any messages produced by compilers while
|
951 |
|
|
running configure, to aid debugging if configure makes a mistake.
|
952 |
|
|
|
953 |
|
|
It was created by $as_me, which was
|
954 |
|
|
generated by GNU Autoconf 2.57. Invocation command line was
|
955 |
|
|
|
956 |
|
|
$ $0 $@
|
957 |
|
|
|
958 |
|
|
_ACEOF
|
959 |
|
|
{
|
960 |
|
|
cat <<_ASUNAME
|
961 |
|
|
## --------- ##
|
962 |
|
|
## Platform. ##
|
963 |
|
|
## --------- ##
|
964 |
|
|
|
965 |
|
|
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
|
966 |
|
|
uname -m = `(uname -m) 2>/dev/null || echo unknown`
|
967 |
|
|
uname -r = `(uname -r) 2>/dev/null || echo unknown`
|
968 |
|
|
uname -s = `(uname -s) 2>/dev/null || echo unknown`
|
969 |
|
|
uname -v = `(uname -v) 2>/dev/null || echo unknown`
|
970 |
|
|
|
971 |
|
|
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
|
972 |
|
|
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
|
973 |
|
|
|
974 |
|
|
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
|
975 |
|
|
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
|
976 |
|
|
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
|
977 |
|
|
hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
|
978 |
|
|
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
|
979 |
|
|
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
|
980 |
|
|
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
|
981 |
|
|
|
982 |
|
|
_ASUNAME
|
983 |
|
|
|
984 |
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
985 |
|
|
for as_dir in $PATH
|
986 |
|
|
do
|
987 |
|
|
IFS=$as_save_IFS
|
988 |
|
|
test -z "$as_dir" && as_dir=.
|
989 |
|
|
echo "PATH: $as_dir"
|
990 |
|
|
done
|
991 |
|
|
|
992 |
|
|
} >&5
|
993 |
|
|
|
994 |
|
|
cat >&5 <<_ACEOF
|
995 |
|
|
|
996 |
|
|
|
997 |
|
|
## ----------- ##
|
998 |
|
|
## Core tests. ##
|
999 |
|
|
## ----------- ##
|
1000 |
|
|
|
1001 |
|
|
_ACEOF
|
1002 |
|
|
|
1003 |
|
|
|
1004 |
|
|
# Keep a trace of the command line.
|
1005 |
|
|
# Strip out --no-create and --no-recursion so they do not pile up.
|
1006 |
|
|
# Strip out --silent because we don't want to record it for future runs.
|
1007 |
|
|
# Also quote any args containing shell meta-characters.
|
1008 |
|
|
# Make two passes to allow for proper duplicate-argument suppression.
|
1009 |
|
|
ac_configure_args=
|
1010 |
|
|
ac_configure_args0=
|
1011 |
|
|
ac_configure_args1=
|
1012 |
|
|
ac_sep=
|
1013 |
|
|
ac_must_keep_next=false
|
1014 |
|
|
for ac_pass in 1 2
|
1015 |
|
|
do
|
1016 |
|
|
for ac_arg
|
1017 |
|
|
do
|
1018 |
|
|
case $ac_arg in
|
1019 |
|
|
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
|
1020 |
|
|
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
1021 |
|
|
| -silent | --silent | --silen | --sile | --sil)
|
1022 |
|
|
continue ;;
|
1023 |
|
|
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
|
1024 |
|
|
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
1025 |
|
|
esac
|
1026 |
|
|
case $ac_pass in
|
1027 |
|
|
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
|
1028 |
|
|
2)
|
1029 |
|
|
ac_configure_args1="$ac_configure_args1 '$ac_arg'"
|
1030 |
|
|
if test $ac_must_keep_next = true; then
|
1031 |
|
|
ac_must_keep_next=false # Got value, back to normal.
|
1032 |
|
|
else
|
1033 |
|
|
case $ac_arg in
|
1034 |
|
|
*=* | --config-cache | -C | -disable-* | --disable-* \
|
1035 |
|
|
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
|
1036 |
|
|
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
|
1037 |
|
|
| -with-* | --with-* | -without-* | --without-* | --x)
|
1038 |
|
|
case "$ac_configure_args0 " in
|
1039 |
|
|
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
|
1040 |
|
|
esac
|
1041 |
|
|
;;
|
1042 |
|
|
-* ) ac_must_keep_next=true ;;
|
1043 |
|
|
esac
|
1044 |
|
|
fi
|
1045 |
|
|
ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
|
1046 |
|
|
# Get rid of the leading space.
|
1047 |
|
|
ac_sep=" "
|
1048 |
|
|
;;
|
1049 |
|
|
esac
|
1050 |
|
|
done
|
1051 |
|
|
done
|
1052 |
|
|
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
|
1053 |
|
|
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
|
1054 |
|
|
|
1055 |
|
|
# When interrupted or exit'd, cleanup temporary files, and complete
|
1056 |
|
|
# config.log. We remove comments because anyway the quotes in there
|
1057 |
|
|
# would cause problems or look ugly.
|
1058 |
|
|
# WARNING: Be sure not to use single quotes in there, as some shells,
|
1059 |
|
|
# such as our DU 5.0 friend, will then `close' the trap.
|
1060 |
|
|
trap 'exit_status=$?
|
1061 |
|
|
# Save into config.log some information that might help in debugging.
|
1062 |
|
|
{
|
1063 |
|
|
echo
|
1064 |
|
|
|
1065 |
|
|
cat <<\_ASBOX
|
1066 |
|
|
## ---------------- ##
|
1067 |
|
|
## Cache variables. ##
|
1068 |
|
|
## ---------------- ##
|
1069 |
|
|
_ASBOX
|
1070 |
|
|
echo
|
1071 |
|
|
# The following way of writing the cache mishandles newlines in values,
|
1072 |
|
|
{
|
1073 |
|
|
(set) 2>&1 |
|
1074 |
|
|
case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
|
1075 |
|
|
*ac_space=\ *)
|
1076 |
|
|
sed -n \
|
1077 |
|
|
"s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
|
1078 |
|
|
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
|
1079 |
|
|
;;
|
1080 |
|
|
*)
|
1081 |
|
|
sed -n \
|
1082 |
|
|
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
|
1083 |
|
|
;;
|
1084 |
|
|
esac;
|
1085 |
|
|
}
|
1086 |
|
|
echo
|
1087 |
|
|
|
1088 |
|
|
cat <<\_ASBOX
|
1089 |
|
|
## ----------------- ##
|
1090 |
|
|
## Output variables. ##
|
1091 |
|
|
## ----------------- ##
|
1092 |
|
|
_ASBOX
|
1093 |
|
|
echo
|
1094 |
|
|
for ac_var in $ac_subst_vars
|
1095 |
|
|
do
|
1096 |
|
|
eval ac_val=$`echo $ac_var`
|
1097 |
|
|
echo "$ac_var='"'"'$ac_val'"'"'"
|
1098 |
|
|
done | sort
|
1099 |
|
|
echo
|
1100 |
|
|
|
1101 |
|
|
if test -n "$ac_subst_files"; then
|
1102 |
|
|
cat <<\_ASBOX
|
1103 |
|
|
## ------------- ##
|
1104 |
|
|
## Output files. ##
|
1105 |
|
|
## ------------- ##
|
1106 |
|
|
_ASBOX
|
1107 |
|
|
echo
|
1108 |
|
|
for ac_var in $ac_subst_files
|
1109 |
|
|
do
|
1110 |
|
|
eval ac_val=$`echo $ac_var`
|
1111 |
|
|
echo "$ac_var='"'"'$ac_val'"'"'"
|
1112 |
|
|
done | sort
|
1113 |
|
|
echo
|
1114 |
|
|
fi
|
1115 |
|
|
|
1116 |
|
|
if test -s confdefs.h; then
|
1117 |
|
|
cat <<\_ASBOX
|
1118 |
|
|
## ----------- ##
|
1119 |
|
|
## confdefs.h. ##
|
1120 |
|
|
## ----------- ##
|
1121 |
|
|
_ASBOX
|
1122 |
|
|
echo
|
1123 |
|
|
sed "/^$/d" confdefs.h | sort
|
1124 |
|
|
echo
|
1125 |
|
|
fi
|
1126 |
|
|
test "$ac_signal" != 0 &&
|
1127 |
|
|
echo "$as_me: caught signal $ac_signal"
|
1128 |
|
|
echo "$as_me: exit $exit_status"
|
1129 |
|
|
} >&5
|
1130 |
|
|
rm -f core core.* *.core &&
|
1131 |
|
|
rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
|
1132 |
|
|
exit $exit_status
|
1133 |
|
|
' 0
|
1134 |
|
|
for ac_signal in 1 2 13 15; do
|
1135 |
|
|
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
|
1136 |
|
|
done
|
1137 |
|
|
ac_signal=0
|
1138 |
|
|
|
1139 |
|
|
# confdefs.h avoids OS command line length limits that DEFS can exceed.
|
1140 |
|
|
rm -rf conftest* confdefs.h
|
1141 |
|
|
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
|
1142 |
|
|
echo >confdefs.h
|
1143 |
|
|
|
1144 |
|
|
# Predefined preprocessor variables.
|
1145 |
|
|
|
1146 |
|
|
cat >>confdefs.h <<_ACEOF
|
1147 |
|
|
#define PACKAGE_NAME "$PACKAGE_NAME"
|
1148 |
|
|
_ACEOF
|
1149 |
|
|
|
1150 |
|
|
|
1151 |
|
|
cat >>confdefs.h <<_ACEOF
|
1152 |
|
|
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
|
1153 |
|
|
_ACEOF
|
1154 |
|
|
|
1155 |
|
|
|
1156 |
|
|
cat >>confdefs.h <<_ACEOF
|
1157 |
|
|
#define PACKAGE_VERSION "$PACKAGE_VERSION"
|
1158 |
|
|
_ACEOF
|
1159 |
|
|
|
1160 |
|
|
|
1161 |
|
|
cat >>confdefs.h <<_ACEOF
|
1162 |
|
|
#define PACKAGE_STRING "$PACKAGE_STRING"
|
1163 |
|
|
_ACEOF
|
1164 |
|
|
|
1165 |
|
|
|
1166 |
|
|
cat >>confdefs.h <<_ACEOF
|
1167 |
|
|
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
|
1168 |
|
|
_ACEOF
|
1169 |
|
|
|
1170 |
|
|
|
1171 |
|
|
# Let the site file select an alternate cache file if it wants to.
|
1172 |
7 |
jrydberg |
# Prefer explicitly selected file to automatically selected ones.
|
1173 |
|
|
if test -z "$CONFIG_SITE"; then
|
1174 |
|
|
if test "x$prefix" != xNONE; then
|
1175 |
|
|
CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
|
1176 |
|
|
else
|
1177 |
|
|
CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
|
1178 |
|
|
fi
|
1179 |
|
|
fi
|
1180 |
|
|
for ac_site_file in $CONFIG_SITE; do
|
1181 |
|
|
if test -r "$ac_site_file"; then
|
1182 |
1242 |
hpanther |
{ echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
|
1183 |
|
|
echo "$as_me: loading site script $ac_site_file" >&6;}
|
1184 |
|
|
sed 's/^/| /' "$ac_site_file" >&5
|
1185 |
7 |
jrydberg |
. "$ac_site_file"
|
1186 |
|
|
fi
|
1187 |
|
|
done
|
1188 |
|
|
|
1189 |
|
|
if test -r "$cache_file"; then
|
1190 |
1242 |
hpanther |
# Some versions of bash will fail to source /dev/null (special
|
1191 |
|
|
# files actually), so we avoid doing that.
|
1192 |
|
|
if test -f "$cache_file"; then
|
1193 |
|
|
{ echo "$as_me:$LINENO: loading cache $cache_file" >&5
|
1194 |
|
|
echo "$as_me: loading cache $cache_file" >&6;}
|
1195 |
|
|
case $cache_file in
|
1196 |
|
|
[\\/]* | ?:[\\/]* ) . $cache_file;;
|
1197 |
|
|
*) . ./$cache_file;;
|
1198 |
|
|
esac
|
1199 |
|
|
fi
|
1200 |
7 |
jrydberg |
else
|
1201 |
1242 |
hpanther |
{ echo "$as_me:$LINENO: creating cache $cache_file" >&5
|
1202 |
|
|
echo "$as_me: creating cache $cache_file" >&6;}
|
1203 |
|
|
>$cache_file
|
1204 |
7 |
jrydberg |
fi
|
1205 |
|
|
|
1206 |
1242 |
hpanther |
# Check that the precious variables saved in the cache have kept the same
|
1207 |
|
|
# value.
|
1208 |
|
|
ac_cache_corrupted=false
|
1209 |
|
|
for ac_var in `(set) 2>&1 |
|
1210 |
|
|
sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
|
1211 |
|
|
eval ac_old_set=\$ac_cv_env_${ac_var}_set
|
1212 |
|
|
eval ac_new_set=\$ac_env_${ac_var}_set
|
1213 |
|
|
eval ac_old_val="\$ac_cv_env_${ac_var}_value"
|
1214 |
|
|
eval ac_new_val="\$ac_env_${ac_var}_value"
|
1215 |
|
|
case $ac_old_set,$ac_new_set in
|
1216 |
|
|
set,)
|
1217 |
|
|
{ echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
|
1218 |
|
|
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
|
1219 |
|
|
ac_cache_corrupted=: ;;
|
1220 |
|
|
,set)
|
1221 |
|
|
{ echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
|
1222 |
|
|
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
|
1223 |
|
|
ac_cache_corrupted=: ;;
|
1224 |
|
|
,);;
|
1225 |
|
|
*)
|
1226 |
|
|
if test "x$ac_old_val" != "x$ac_new_val"; then
|
1227 |
|
|
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
|
1228 |
|
|
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
|
1229 |
|
|
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5
|
1230 |
|
|
echo "$as_me: former value: $ac_old_val" >&2;}
|
1231 |
|
|
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5
|
1232 |
|
|
echo "$as_me: current value: $ac_new_val" >&2;}
|
1233 |
|
|
ac_cache_corrupted=:
|
1234 |
|
|
fi;;
|
1235 |
|
|
esac
|
1236 |
|
|
# Pass precious variables to config.status.
|
1237 |
|
|
if test "$ac_new_set" = set; then
|
1238 |
|
|
case $ac_new_val in
|
1239 |
|
|
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
|
1240 |
|
|
ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
|
1241 |
|
|
*) ac_arg=$ac_var=$ac_new_val ;;
|
1242 |
|
|
esac
|
1243 |
|
|
case " $ac_configure_args " in
|
1244 |
|
|
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
|
1245 |
|
|
*) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
|
1246 |
|
|
esac
|
1247 |
|
|
fi
|
1248 |
|
|
done
|
1249 |
|
|
if $ac_cache_corrupted; then
|
1250 |
|
|
{ echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
|
1251 |
|
|
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
|
1252 |
|
|
{ { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
|
1253 |
|
|
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
|
1254 |
|
|
{ (exit 1); exit 1; }; }
|
1255 |
|
|
fi
|
1256 |
|
|
|
1257 |
7 |
jrydberg |
ac_ext=c
|
1258 |
|
|
ac_cpp='$CPP $CPPFLAGS'
|
1259 |
1242 |
hpanther |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
1260 |
|
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
1261 |
|
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
1262 |
7 |
jrydberg |
|
1263 |
|
|
|
1264 |
|
|
|
1265 |
1242 |
hpanther |
|
1266 |
|
|
|
1267 |
|
|
|
1268 |
|
|
|
1269 |
|
|
|
1270 |
|
|
|
1271 |
|
|
|
1272 |
|
|
|
1273 |
|
|
|
1274 |
|
|
|
1275 |
|
|
|
1276 |
|
|
|
1277 |
|
|
|
1278 |
|
|
|
1279 |
|
|
|
1280 |
|
|
|
1281 |
7 |
jrydberg |
ac_aux_dir=
|
1282 |
|
|
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
|
1283 |
|
|
if test -f $ac_dir/install-sh; then
|
1284 |
|
|
ac_aux_dir=$ac_dir
|
1285 |
|
|
ac_install_sh="$ac_aux_dir/install-sh -c"
|
1286 |
|
|
break
|
1287 |
|
|
elif test -f $ac_dir/install.sh; then
|
1288 |
|
|
ac_aux_dir=$ac_dir
|
1289 |
|
|
ac_install_sh="$ac_aux_dir/install.sh -c"
|
1290 |
|
|
break
|
1291 |
1242 |
hpanther |
elif test -f $ac_dir/shtool; then
|
1292 |
|
|
ac_aux_dir=$ac_dir
|
1293 |
|
|
ac_install_sh="$ac_aux_dir/shtool install -c"
|
1294 |
|
|
break
|
1295 |
7 |
jrydberg |
fi
|
1296 |
|
|
done
|
1297 |
|
|
if test -z "$ac_aux_dir"; then
|
1298 |
1242 |
hpanther |
{ { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
|
1299 |
|
|
echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
|
1300 |
|
|
{ (exit 1); exit 1; }; }
|
1301 |
7 |
jrydberg |
fi
|
1302 |
1242 |
hpanther |
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
|
1303 |
|
|
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
|
1304 |
|
|
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
|
1305 |
7 |
jrydberg |
|
1306 |
1242 |
hpanther |
# Make sure we can run config.sub.
|
1307 |
|
|
$ac_config_sub sun4 >/dev/null 2>&1 ||
|
1308 |
|
|
{ { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
|
1309 |
|
|
echo "$as_me: error: cannot run $ac_config_sub" >&2;}
|
1310 |
|
|
{ (exit 1); exit 1; }; }
|
1311 |
11 |
jrydberg |
|
1312 |
1242 |
hpanther |
echo "$as_me:$LINENO: checking build system type" >&5
|
1313 |
|
|
echo $ECHO_N "checking build system type... $ECHO_C" >&6
|
1314 |
|
|
if test "${ac_cv_build+set}" = set; then
|
1315 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
1316 |
|
|
else
|
1317 |
|
|
ac_cv_build_alias=$build_alias
|
1318 |
|
|
test -z "$ac_cv_build_alias" &&
|
1319 |
|
|
ac_cv_build_alias=`$ac_config_guess`
|
1320 |
|
|
test -z "$ac_cv_build_alias" &&
|
1321 |
|
|
{ { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
|
1322 |
|
|
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
|
1323 |
|
|
{ (exit 1); exit 1; }; }
|
1324 |
|
|
ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
|
1325 |
|
|
{ { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
|
1326 |
|
|
echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
|
1327 |
|
|
{ (exit 1); exit 1; }; }
|
1328 |
11 |
jrydberg |
|
1329 |
|
|
fi
|
1330 |
1242 |
hpanther |
echo "$as_me:$LINENO: result: $ac_cv_build" >&5
|
1331 |
|
|
echo "${ECHO_T}$ac_cv_build" >&6
|
1332 |
|
|
build=$ac_cv_build
|
1333 |
|
|
build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
|
1334 |
|
|
build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
|
1335 |
|
|
build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
|
1336 |
11 |
jrydberg |
|
1337 |
|
|
|
1338 |
1242 |
hpanther |
echo "$as_me:$LINENO: checking host system type" >&5
|
1339 |
|
|
echo $ECHO_N "checking host system type... $ECHO_C" >&6
|
1340 |
|
|
if test "${ac_cv_host+set}" = set; then
|
1341 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
1342 |
|
|
else
|
1343 |
|
|
ac_cv_host_alias=$host_alias
|
1344 |
|
|
test -z "$ac_cv_host_alias" &&
|
1345 |
|
|
ac_cv_host_alias=$ac_cv_build_alias
|
1346 |
|
|
ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
|
1347 |
|
|
{ { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
|
1348 |
|
|
echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
|
1349 |
|
|
{ (exit 1); exit 1; }; }
|
1350 |
11 |
jrydberg |
|
1351 |
1242 |
hpanther |
fi
|
1352 |
|
|
echo "$as_me:$LINENO: result: $ac_cv_host" >&5
|
1353 |
|
|
echo "${ECHO_T}$ac_cv_host" >&6
|
1354 |
|
|
host=$ac_cv_host
|
1355 |
|
|
host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
|
1356 |
|
|
host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
|
1357 |
|
|
host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
|
1358 |
11 |
jrydberg |
|
1359 |
|
|
|
1360 |
1242 |
hpanther |
echo "$as_me:$LINENO: checking target system type" >&5
|
1361 |
|
|
echo $ECHO_N "checking target system type... $ECHO_C" >&6
|
1362 |
|
|
if test "${ac_cv_target+set}" = set; then
|
1363 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
1364 |
|
|
else
|
1365 |
|
|
ac_cv_target_alias=$target_alias
|
1366 |
|
|
test "x$ac_cv_target_alias" = "x" &&
|
1367 |
|
|
ac_cv_target_alias=$ac_cv_host_alias
|
1368 |
|
|
ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
|
1369 |
|
|
{ { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
|
1370 |
|
|
echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
|
1371 |
|
|
{ (exit 1); exit 1; }; }
|
1372 |
11 |
jrydberg |
|
1373 |
1242 |
hpanther |
fi
|
1374 |
|
|
echo "$as_me:$LINENO: result: $ac_cv_target" >&5
|
1375 |
|
|
echo "${ECHO_T}$ac_cv_target" >&6
|
1376 |
|
|
target=$ac_cv_target
|
1377 |
|
|
target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
|
1378 |
|
|
target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
|
1379 |
|
|
target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
|
1380 |
11 |
jrydberg |
|
1381 |
|
|
|
1382 |
1242 |
hpanther |
# The aliases save the names the user supplied, while $host etc.
|
1383 |
|
|
# will get canonicalized.
|
1384 |
|
|
test -n "$target_alias" &&
|
1385 |
11 |
jrydberg |
test "$program_prefix$program_suffix$program_transform_name" = \
|
1386 |
|
|
NONENONEs,x,x, &&
|
1387 |
|
|
program_prefix=${target_alias}-
|
1388 |
1242 |
hpanther |
am__api_version="1.6"
|
1389 |
7 |
jrydberg |
# Find a good install program. We prefer a C program (faster),
|
1390 |
|
|
# so one script is as good as another. But avoid the broken or
|
1391 |
|
|
# incompatible versions:
|
1392 |
|
|
# SysV /etc/install, /usr/sbin/install
|
1393 |
|
|
# SunOS /usr/etc/install
|
1394 |
|
|
# IRIX /sbin/install
|
1395 |
|
|
# AIX /bin/install
|
1396 |
1242 |
hpanther |
# AmigaOS /C/install, which installs bootblocks on floppy discs
|
1397 |
7 |
jrydberg |
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
|
1398 |
|
|
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
|
1399 |
|
|
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
|
1400 |
|
|
# ./install, which can be erroneously created by make from ./install.sh.
|
1401 |
1242 |
hpanther |
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
|
1402 |
|
|
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
|
1403 |
7 |
jrydberg |
if test -z "$INSTALL"; then
|
1404 |
1242 |
hpanther |
if test "${ac_cv_path_install+set}" = set; then
|
1405 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
1406 |
7 |
jrydberg |
else
|
1407 |
1242 |
hpanther |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
1408 |
|
|
for as_dir in $PATH
|
1409 |
|
|
do
|
1410 |
|
|
IFS=$as_save_IFS
|
1411 |
|
|
test -z "$as_dir" && as_dir=.
|
1412 |
|
|
# Account for people who put trailing slashes in PATH elements.
|
1413 |
|
|
case $as_dir/ in
|
1414 |
|
|
./ | .// | /cC/* | \
|
1415 |
|
|
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
|
1416 |
|
|
/usr/ucb/* ) ;;
|
1417 |
|
|
*)
|
1418 |
|
|
# OSF1 and SCO ODT 3.0 have their own names for install.
|
1419 |
|
|
# Don't use installbsd from OSF since it installs stuff as root
|
1420 |
|
|
# by default.
|
1421 |
|
|
for ac_prog in ginstall scoinst install; do
|
1422 |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
1423 |
|
|
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
|
1424 |
|
|
if test $ac_prog = install &&
|
1425 |
|
|
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
|
1426 |
|
|
# AIX install. It has an incompatible calling convention.
|
1427 |
|
|
:
|
1428 |
|
|
elif test $ac_prog = install &&
|
1429 |
|
|
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
|
1430 |
|
|
# program-specific install script used by HP pwplus--don't use.
|
1431 |
|
|
:
|
1432 |
|
|
else
|
1433 |
|
|
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
|
1434 |
|
|
break 3
|
1435 |
|
|
fi
|
1436 |
|
|
fi
|
1437 |
7 |
jrydberg |
done
|
1438 |
1242 |
hpanther |
done
|
1439 |
|
|
;;
|
1440 |
|
|
esac
|
1441 |
|
|
done
|
1442 |
7 |
jrydberg |
|
1443 |
1242 |
hpanther |
|
1444 |
7 |
jrydberg |
fi
|
1445 |
|
|
if test "${ac_cv_path_install+set}" = set; then
|
1446 |
1242 |
hpanther |
INSTALL=$ac_cv_path_install
|
1447 |
7 |
jrydberg |
else
|
1448 |
|
|
# As a last resort, use the slow shell script. We don't cache a
|
1449 |
|
|
# path for INSTALL within a source directory, because that will
|
1450 |
|
|
# break other packages using the cache if that directory is
|
1451 |
|
|
# removed, or if the path is relative.
|
1452 |
1242 |
hpanther |
INSTALL=$ac_install_sh
|
1453 |
7 |
jrydberg |
fi
|
1454 |
|
|
fi
|
1455 |
1242 |
hpanther |
echo "$as_me:$LINENO: result: $INSTALL" >&5
|
1456 |
|
|
echo "${ECHO_T}$INSTALL" >&6
|
1457 |
7 |
jrydberg |
|
1458 |
|
|
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
|
1459 |
|
|
# It thinks the first close brace ends the variable substitution.
|
1460 |
|
|
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
|
1461 |
|
|
|
1462 |
1242 |
hpanther |
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
|
1463 |
7 |
jrydberg |
|
1464 |
|
|
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
|
1465 |
|
|
|
1466 |
1242 |
hpanther |
echo "$as_me:$LINENO: checking whether build environment is sane" >&5
|
1467 |
|
|
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
|
1468 |
7 |
jrydberg |
# Just in case
|
1469 |
|
|
sleep 1
|
1470 |
1242 |
hpanther |
echo timestamp > conftest.file
|
1471 |
7 |
jrydberg |
# Do `set' in a subshell so we don't clobber the current shell's
|
1472 |
|
|
# arguments. Must try -L first in case configure is actually a
|
1473 |
|
|
# symlink; some systems play weird games with the mod time of symlinks
|
1474 |
|
|
# (eg FreeBSD returns the mod time of the symlink's containing
|
1475 |
|
|
# directory).
|
1476 |
|
|
if (
|
1477 |
1242 |
hpanther |
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
|
1478 |
7 |
jrydberg |
if test "$*" = "X"; then
|
1479 |
|
|
# -L didn't work.
|
1480 |
1242 |
hpanther |
set X `ls -t $srcdir/configure conftest.file`
|
1481 |
7 |
jrydberg |
fi
|
1482 |
1242 |
hpanther |
rm -f conftest.file
|
1483 |
|
|
if test "$*" != "X $srcdir/configure conftest.file" \
|
1484 |
|
|
&& test "$*" != "X conftest.file $srcdir/configure"; then
|
1485 |
7 |
jrydberg |
|
1486 |
|
|
# If neither matched, then we have a broken ls. This can happen
|
1487 |
|
|
# if, for instance, CONFIG_SHELL is bash and it inherits a
|
1488 |
|
|
# broken ls alias from the environment. This has actually
|
1489 |
|
|
# happened. Such a system could not be considered "sane".
|
1490 |
1242 |
hpanther |
{ { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
|
1491 |
|
|
alias in your environment" >&5
|
1492 |
|
|
echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
|
1493 |
|
|
alias in your environment" >&2;}
|
1494 |
|
|
{ (exit 1); exit 1; }; }
|
1495 |
7 |
jrydberg |
fi
|
1496 |
|
|
|
1497 |
1242 |
hpanther |
test "$2" = conftest.file
|
1498 |
7 |
jrydberg |
)
|
1499 |
|
|
then
|
1500 |
|
|
# Ok.
|
1501 |
|
|
:
|
1502 |
|
|
else
|
1503 |
1242 |
hpanther |
{ { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
|
1504 |
|
|
Check your system clock" >&5
|
1505 |
|
|
echo "$as_me: error: newly created file is older than distributed files!
|
1506 |
|
|
Check your system clock" >&2;}
|
1507 |
|
|
{ (exit 1); exit 1; }; }
|
1508 |
7 |
jrydberg |
fi
|
1509 |
1242 |
hpanther |
echo "$as_me:$LINENO: result: yes" >&5
|
1510 |
|
|
echo "${ECHO_T}yes" >&6
|
1511 |
7 |
jrydberg |
test "$program_prefix" != NONE &&
|
1512 |
1242 |
hpanther |
program_transform_name="s,^,$program_prefix,;$program_transform_name"
|
1513 |
7 |
jrydberg |
# Use a double $ so make ignores it.
|
1514 |
|
|
test "$program_suffix" != NONE &&
|
1515 |
1242 |
hpanther |
program_transform_name="s,\$,$program_suffix,;$program_transform_name"
|
1516 |
|
|
# Double any \ or $. echo might interpret backslashes.
|
1517 |
|
|
# By default was `s,x,x', remove it if useless.
|
1518 |
|
|
cat <<\_ACEOF >conftest.sed
|
1519 |
|
|
s/[\\$]/&&/g;s/;s,x,x,$//
|
1520 |
|
|
_ACEOF
|
1521 |
|
|
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
|
1522 |
|
|
rm conftest.sed
|
1523 |
7 |
jrydberg |
|
1524 |
|
|
|
1525 |
1242 |
hpanther |
# expand $ac_aux_dir to an absolute path
|
1526 |
|
|
am_aux_dir=`cd $ac_aux_dir && pwd`
|
1527 |
|
|
|
1528 |
|
|
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
|
1529 |
|
|
# Use eval to expand $SHELL
|
1530 |
|
|
if eval "$MISSING --run true"; then
|
1531 |
|
|
am_missing_run="$MISSING --run "
|
1532 |
7 |
jrydberg |
else
|
1533 |
1242 |
hpanther |
am_missing_run=
|
1534 |
|
|
{ echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
|
1535 |
|
|
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
|
1536 |
|
|
fi
|
1537 |
|
|
|
1538 |
|
|
for ac_prog in gawk mawk nawk awk
|
1539 |
|
|
do
|
1540 |
|
|
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
1541 |
|
|
set dummy $ac_prog; ac_word=$2
|
1542 |
|
|
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
1543 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
1544 |
|
|
if test "${ac_cv_prog_AWK+set}" = set; then
|
1545 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
1546 |
|
|
else
|
1547 |
|
|
if test -n "$AWK"; then
|
1548 |
|
|
ac_cv_prog_AWK="$AWK" # Let the user override the test.
|
1549 |
|
|
else
|
1550 |
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
1551 |
|
|
for as_dir in $PATH
|
1552 |
|
|
do
|
1553 |
|
|
IFS=$as_save_IFS
|
1554 |
|
|
test -z "$as_dir" && as_dir=.
|
1555 |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
1556 |
|
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
1557 |
|
|
ac_cv_prog_AWK="$ac_prog"
|
1558 |
|
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
1559 |
|
|
break 2
|
1560 |
|
|
fi
|
1561 |
|
|
done
|
1562 |
|
|
done
|
1563 |
|
|
|
1564 |
|
|
fi
|
1565 |
|
|
fi
|
1566 |
|
|
AWK=$ac_cv_prog_AWK
|
1567 |
|
|
if test -n "$AWK"; then
|
1568 |
|
|
echo "$as_me:$LINENO: result: $AWK" >&5
|
1569 |
|
|
echo "${ECHO_T}$AWK" >&6
|
1570 |
|
|
else
|
1571 |
|
|
echo "$as_me:$LINENO: result: no" >&5
|
1572 |
|
|
echo "${ECHO_T}no" >&6
|
1573 |
|
|
fi
|
1574 |
|
|
|
1575 |
|
|
test -n "$AWK" && break
|
1576 |
|
|
done
|
1577 |
|
|
|
1578 |
|
|
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
|
1579 |
|
|
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
|
1580 |
|
|
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
|
1581 |
|
|
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
|
1582 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
1583 |
|
|
else
|
1584 |
|
|
cat >conftest.make <<\_ACEOF
|
1585 |
7 |
jrydberg |
all:
|
1586 |
1242 |
hpanther |
@echo 'ac_maketemp="$(MAKE)"'
|
1587 |
|
|
_ACEOF
|
1588 |
7 |
jrydberg |
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
|
1589 |
1242 |
hpanther |
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
|
1590 |
7 |
jrydberg |
if test -n "$ac_maketemp"; then
|
1591 |
|
|
eval ac_cv_prog_make_${ac_make}_set=yes
|
1592 |
|
|
else
|
1593 |
|
|
eval ac_cv_prog_make_${ac_make}_set=no
|
1594 |
|
|
fi
|
1595 |
1242 |
hpanther |
rm -f conftest.make
|
1596 |
7 |
jrydberg |
fi
|
1597 |
|
|
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
|
1598 |
1242 |
hpanther |
echo "$as_me:$LINENO: result: yes" >&5
|
1599 |
|
|
echo "${ECHO_T}yes" >&6
|
1600 |
7 |
jrydberg |
SET_MAKE=
|
1601 |
|
|
else
|
1602 |
1242 |
hpanther |
echo "$as_me:$LINENO: result: no" >&5
|
1603 |
|
|
echo "${ECHO_T}no" >&6
|
1604 |
7 |
jrydberg |
SET_MAKE="MAKE=${MAKE-make}"
|
1605 |
|
|
fi
|
1606 |
|
|
|
1607 |
1242 |
hpanther |
# test to see if srcdir already configured
|
1608 |
|
|
if test "`cd $srcdir && pwd`" != "`pwd`" &&
|
1609 |
|
|
test -f $srcdir/config.status; then
|
1610 |
|
|
{ { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
|
1611 |
|
|
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
|
1612 |
|
|
{ (exit 1); exit 1; }; }
|
1613 |
|
|
fi
|
1614 |
7 |
jrydberg |
|
1615 |
1242 |
hpanther |
# Define the identity of the package.
|
1616 |
|
|
PACKAGE=or1ksim
|
1617 |
|
|
VERSION=1.3
|
1618 |
7 |
jrydberg |
|
1619 |
|
|
|
1620 |
1242 |
hpanther |
cat >>confdefs.h <<_ACEOF
|
1621 |
7 |
jrydberg |
#define PACKAGE "$PACKAGE"
|
1622 |
1242 |
hpanther |
_ACEOF
|
1623 |
7 |
jrydberg |
|
1624 |
1242 |
hpanther |
|
1625 |
|
|
cat >>confdefs.h <<_ACEOF
|
1626 |
7 |
jrydberg |
#define VERSION "$VERSION"
|
1627 |
1242 |
hpanther |
_ACEOF
|
1628 |
7 |
jrydberg |
|
1629 |
1242 |
hpanther |
# Some tools Automake needs.
|
1630 |
7 |
jrydberg |
|
1631 |
1242 |
hpanther |
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
|
1632 |
7 |
jrydberg |
|
1633 |
1242 |
hpanther |
|
1634 |
|
|
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
|
1635 |
|
|
|
1636 |
|
|
|
1637 |
|
|
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
|
1638 |
|
|
|
1639 |
|
|
|
1640 |
|
|
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
|
1641 |
|
|
|
1642 |
|
|
|
1643 |
|
|
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
|
1644 |
|
|
|
1645 |
|
|
|
1646 |
|
|
AMTAR=${AMTAR-"${am_missing_run}tar"}
|
1647 |
|
|
|
1648 |
|
|
install_sh=${install_sh-"$am_aux_dir/install-sh"}
|
1649 |
|
|
|
1650 |
|
|
# Installed binaries are usually stripped using `strip' when the user
|
1651 |
|
|
# run `make install-strip'. However `strip' might not be the right
|
1652 |
|
|
# tool to use in cross-compilation environments, therefore Automake
|
1653 |
|
|
# will honor the `STRIP' environment variable to overrule this program.
|
1654 |
|
|
if test "$cross_compiling" != no; then
|
1655 |
|
|
if test -n "$ac_tool_prefix"; then
|
1656 |
|
|
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
|
1657 |
|
|
set dummy ${ac_tool_prefix}strip; ac_word=$2
|
1658 |
|
|
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
1659 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
1660 |
|
|
if test "${ac_cv_prog_STRIP+set}" = set; then
|
1661 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
1662 |
7 |
jrydberg |
else
|
1663 |
1242 |
hpanther |
if test -n "$STRIP"; then
|
1664 |
|
|
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
|
1665 |
|
|
else
|
1666 |
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
1667 |
|
|
for as_dir in $PATH
|
1668 |
|
|
do
|
1669 |
|
|
IFS=$as_save_IFS
|
1670 |
|
|
test -z "$as_dir" && as_dir=.
|
1671 |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
1672 |
|
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
1673 |
|
|
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
|
1674 |
|
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
1675 |
|
|
break 2
|
1676 |
|
|
fi
|
1677 |
|
|
done
|
1678 |
|
|
done
|
1679 |
|
|
|
1680 |
7 |
jrydberg |
fi
|
1681 |
1242 |
hpanther |
fi
|
1682 |
|
|
STRIP=$ac_cv_prog_STRIP
|
1683 |
|
|
if test -n "$STRIP"; then
|
1684 |
|
|
echo "$as_me:$LINENO: result: $STRIP" >&5
|
1685 |
|
|
echo "${ECHO_T}$STRIP" >&6
|
1686 |
7 |
jrydberg |
else
|
1687 |
1242 |
hpanther |
echo "$as_me:$LINENO: result: no" >&5
|
1688 |
|
|
echo "${ECHO_T}no" >&6
|
1689 |
7 |
jrydberg |
fi
|
1690 |
|
|
|
1691 |
1242 |
hpanther |
fi
|
1692 |
|
|
if test -z "$ac_cv_prog_STRIP"; then
|
1693 |
|
|
ac_ct_STRIP=$STRIP
|
1694 |
|
|
# Extract the first word of "strip", so it can be a program name with args.
|
1695 |
|
|
set dummy strip; ac_word=$2
|
1696 |
|
|
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
1697 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
1698 |
|
|
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
|
1699 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
1700 |
7 |
jrydberg |
else
|
1701 |
1242 |
hpanther |
if test -n "$ac_ct_STRIP"; then
|
1702 |
|
|
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
|
1703 |
|
|
else
|
1704 |
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
1705 |
|
|
for as_dir in $PATH
|
1706 |
|
|
do
|
1707 |
|
|
IFS=$as_save_IFS
|
1708 |
|
|
test -z "$as_dir" && as_dir=.
|
1709 |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
1710 |
|
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
1711 |
|
|
ac_cv_prog_ac_ct_STRIP="strip"
|
1712 |
|
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
1713 |
|
|
break 2
|
1714 |
|
|
fi
|
1715 |
|
|
done
|
1716 |
|
|
done
|
1717 |
|
|
|
1718 |
|
|
test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
|
1719 |
7 |
jrydberg |
fi
|
1720 |
1242 |
hpanther |
fi
|
1721 |
|
|
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
|
1722 |
|
|
if test -n "$ac_ct_STRIP"; then
|
1723 |
|
|
echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
|
1724 |
|
|
echo "${ECHO_T}$ac_ct_STRIP" >&6
|
1725 |
7 |
jrydberg |
else
|
1726 |
1242 |
hpanther |
echo "$as_me:$LINENO: result: no" >&5
|
1727 |
|
|
echo "${ECHO_T}no" >&6
|
1728 |
7 |
jrydberg |
fi
|
1729 |
|
|
|
1730 |
1242 |
hpanther |
STRIP=$ac_ct_STRIP
|
1731 |
7 |
jrydberg |
else
|
1732 |
1242 |
hpanther |
STRIP="$ac_cv_prog_STRIP"
|
1733 |
7 |
jrydberg |
fi
|
1734 |
|
|
|
1735 |
1242 |
hpanther |
fi
|
1736 |
|
|
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
|
1737 |
7 |
jrydberg |
|
1738 |
1242 |
hpanther |
# We need awk for the "check" target. The system "awk" is bad on
|
1739 |
|
|
# some platforms.
|
1740 |
7 |
jrydberg |
|
1741 |
|
|
|
1742 |
|
|
|
1743 |
1242 |
hpanther |
# Add the stamp file to the list of files AC keeps track of,
|
1744 |
|
|
# along with our hook.
|
1745 |
|
|
ac_config_headers="$ac_config_headers config.h"
|
1746 |
7 |
jrydberg |
|
1747 |
|
|
|
1748 |
|
|
|
1749 |
|
|
|
1750 |
|
|
|
1751 |
1242 |
hpanther |
SIMVERSION=1.2
|
1752 |
7 |
jrydberg |
|
1753 |
|
|
|
1754 |
|
|
|
1755 |
|
|
|
1756 |
28 |
lampret |
case "$target_cpu" in
|
1757 |
|
|
or32*) CPU_ARCH=or32;
|
1758 |
|
|
ARCH_ISA=OR32;;
|
1759 |
|
|
dlx*) CPU_ARCH=dlx;
|
1760 |
|
|
ARCH_ISA=DLX;;
|
1761 |
|
|
esac
|
1762 |
|
|
|
1763 |
|
|
|
1764 |
7 |
jrydberg |
# We want these before the checks, so the checks can modify their values.
|
1765 |
|
|
test -z "$CFLAGS" && CFLAGS=-g auto_cflags=1
|
1766 |
|
|
|
1767 |
1242 |
hpanther |
ac_ext=c
|
1768 |
|
|
ac_cpp='$CPP $CPPFLAGS'
|
1769 |
|
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
1770 |
|
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
1771 |
|
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
1772 |
|
|
if test -n "$ac_tool_prefix"; then
|
1773 |
|
|
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
|
1774 |
|
|
set dummy ${ac_tool_prefix}gcc; ac_word=$2
|
1775 |
|
|
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
1776 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
1777 |
|
|
if test "${ac_cv_prog_CC+set}" = set; then
|
1778 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
1779 |
|
|
else
|
1780 |
|
|
if test -n "$CC"; then
|
1781 |
|
|
ac_cv_prog_CC="$CC" # Let the user override the test.
|
1782 |
|
|
else
|
1783 |
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
1784 |
|
|
for as_dir in $PATH
|
1785 |
|
|
do
|
1786 |
|
|
IFS=$as_save_IFS
|
1787 |
|
|
test -z "$as_dir" && as_dir=.
|
1788 |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
1789 |
|
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
1790 |
|
|
ac_cv_prog_CC="${ac_tool_prefix}gcc"
|
1791 |
|
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
1792 |
|
|
break 2
|
1793 |
|
|
fi
|
1794 |
|
|
done
|
1795 |
|
|
done
|
1796 |
|
|
|
1797 |
|
|
fi
|
1798 |
|
|
fi
|
1799 |
|
|
CC=$ac_cv_prog_CC
|
1800 |
|
|
if test -n "$CC"; then
|
1801 |
|
|
echo "$as_me:$LINENO: result: $CC" >&5
|
1802 |
|
|
echo "${ECHO_T}$CC" >&6
|
1803 |
|
|
else
|
1804 |
|
|
echo "$as_me:$LINENO: result: no" >&5
|
1805 |
|
|
echo "${ECHO_T}no" >&6
|
1806 |
|
|
fi
|
1807 |
|
|
|
1808 |
|
|
fi
|
1809 |
|
|
if test -z "$ac_cv_prog_CC"; then
|
1810 |
|
|
ac_ct_CC=$CC
|
1811 |
|
|
# Extract the first word of "gcc", so it can be a program name with args.
|
1812 |
7 |
jrydberg |
set dummy gcc; ac_word=$2
|
1813 |
1242 |
hpanther |
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
1814 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
1815 |
|
|
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
|
1816 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
1817 |
7 |
jrydberg |
else
|
1818 |
1242 |
hpanther |
if test -n "$ac_ct_CC"; then
|
1819 |
|
|
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
1820 |
|
|
else
|
1821 |
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
1822 |
|
|
for as_dir in $PATH
|
1823 |
|
|
do
|
1824 |
|
|
IFS=$as_save_IFS
|
1825 |
|
|
test -z "$as_dir" && as_dir=.
|
1826 |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
1827 |
|
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
1828 |
|
|
ac_cv_prog_ac_ct_CC="gcc"
|
1829 |
|
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
1830 |
|
|
break 2
|
1831 |
|
|
fi
|
1832 |
|
|
done
|
1833 |
|
|
done
|
1834 |
|
|
|
1835 |
|
|
fi
|
1836 |
|
|
fi
|
1837 |
|
|
ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
1838 |
|
|
if test -n "$ac_ct_CC"; then
|
1839 |
|
|
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
|
1840 |
|
|
echo "${ECHO_T}$ac_ct_CC" >&6
|
1841 |
|
|
else
|
1842 |
|
|
echo "$as_me:$LINENO: result: no" >&5
|
1843 |
|
|
echo "${ECHO_T}no" >&6
|
1844 |
|
|
fi
|
1845 |
|
|
|
1846 |
|
|
CC=$ac_ct_CC
|
1847 |
|
|
else
|
1848 |
|
|
CC="$ac_cv_prog_CC"
|
1849 |
|
|
fi
|
1850 |
|
|
|
1851 |
|
|
if test -z "$CC"; then
|
1852 |
|
|
if test -n "$ac_tool_prefix"; then
|
1853 |
|
|
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
|
1854 |
|
|
set dummy ${ac_tool_prefix}cc; ac_word=$2
|
1855 |
|
|
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
1856 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
1857 |
|
|
if test "${ac_cv_prog_CC+set}" = set; then
|
1858 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
1859 |
|
|
else
|
1860 |
7 |
jrydberg |
if test -n "$CC"; then
|
1861 |
|
|
ac_cv_prog_CC="$CC" # Let the user override the test.
|
1862 |
|
|
else
|
1863 |
1242 |
hpanther |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
1864 |
|
|
for as_dir in $PATH
|
1865 |
|
|
do
|
1866 |
|
|
IFS=$as_save_IFS
|
1867 |
|
|
test -z "$as_dir" && as_dir=.
|
1868 |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
1869 |
|
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
1870 |
|
|
ac_cv_prog_CC="${ac_tool_prefix}cc"
|
1871 |
|
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
1872 |
|
|
break 2
|
1873 |
|
|
fi
|
1874 |
|
|
done
|
1875 |
|
|
done
|
1876 |
|
|
|
1877 |
7 |
jrydberg |
fi
|
1878 |
|
|
fi
|
1879 |
1242 |
hpanther |
CC=$ac_cv_prog_CC
|
1880 |
7 |
jrydberg |
if test -n "$CC"; then
|
1881 |
1242 |
hpanther |
echo "$as_me:$LINENO: result: $CC" >&5
|
1882 |
|
|
echo "${ECHO_T}$CC" >&6
|
1883 |
7 |
jrydberg |
else
|
1884 |
1242 |
hpanther |
echo "$as_me:$LINENO: result: no" >&5
|
1885 |
|
|
echo "${ECHO_T}no" >&6
|
1886 |
7 |
jrydberg |
fi
|
1887 |
|
|
|
1888 |
1242 |
hpanther |
fi
|
1889 |
|
|
if test -z "$ac_cv_prog_CC"; then
|
1890 |
|
|
ac_ct_CC=$CC
|
1891 |
|
|
# Extract the first word of "cc", so it can be a program name with args.
|
1892 |
|
|
set dummy cc; ac_word=$2
|
1893 |
|
|
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
1894 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
1895 |
|
|
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
|
1896 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
1897 |
|
|
else
|
1898 |
|
|
if test -n "$ac_ct_CC"; then
|
1899 |
|
|
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
1900 |
|
|
else
|
1901 |
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
1902 |
|
|
for as_dir in $PATH
|
1903 |
|
|
do
|
1904 |
|
|
IFS=$as_save_IFS
|
1905 |
|
|
test -z "$as_dir" && as_dir=.
|
1906 |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
1907 |
|
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
1908 |
|
|
ac_cv_prog_ac_ct_CC="cc"
|
1909 |
|
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
1910 |
|
|
break 2
|
1911 |
|
|
fi
|
1912 |
|
|
done
|
1913 |
|
|
done
|
1914 |
|
|
|
1915 |
|
|
fi
|
1916 |
|
|
fi
|
1917 |
|
|
ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
1918 |
|
|
if test -n "$ac_ct_CC"; then
|
1919 |
|
|
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
|
1920 |
|
|
echo "${ECHO_T}$ac_ct_CC" >&6
|
1921 |
|
|
else
|
1922 |
|
|
echo "$as_me:$LINENO: result: no" >&5
|
1923 |
|
|
echo "${ECHO_T}no" >&6
|
1924 |
|
|
fi
|
1925 |
|
|
|
1926 |
|
|
CC=$ac_ct_CC
|
1927 |
|
|
else
|
1928 |
|
|
CC="$ac_cv_prog_CC"
|
1929 |
|
|
fi
|
1930 |
|
|
|
1931 |
|
|
fi
|
1932 |
7 |
jrydberg |
if test -z "$CC"; then
|
1933 |
|
|
# Extract the first word of "cc", so it can be a program name with args.
|
1934 |
|
|
set dummy cc; ac_word=$2
|
1935 |
1242 |
hpanther |
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
1936 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
1937 |
|
|
if test "${ac_cv_prog_CC+set}" = set; then
|
1938 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
1939 |
7 |
jrydberg |
else
|
1940 |
|
|
if test -n "$CC"; then
|
1941 |
|
|
ac_cv_prog_CC="$CC" # Let the user override the test.
|
1942 |
|
|
else
|
1943 |
|
|
ac_prog_rejected=no
|
1944 |
1242 |
hpanther |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
1945 |
|
|
for as_dir in $PATH
|
1946 |
|
|
do
|
1947 |
|
|
IFS=$as_save_IFS
|
1948 |
|
|
test -z "$as_dir" && as_dir=.
|
1949 |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
1950 |
|
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
1951 |
|
|
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
|
1952 |
|
|
ac_prog_rejected=yes
|
1953 |
|
|
continue
|
1954 |
|
|
fi
|
1955 |
|
|
ac_cv_prog_CC="cc"
|
1956 |
|
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
1957 |
|
|
break 2
|
1958 |
|
|
fi
|
1959 |
|
|
done
|
1960 |
|
|
done
|
1961 |
|
|
|
1962 |
7 |
jrydberg |
if test $ac_prog_rejected = yes; then
|
1963 |
|
|
# We found a bogon in the path, so make sure we never use it.
|
1964 |
|
|
set dummy $ac_cv_prog_CC
|
1965 |
|
|
shift
|
1966 |
1242 |
hpanther |
if test $# != 0; then
|
1967 |
7 |
jrydberg |
# We chose a different compiler from the bogus one.
|
1968 |
|
|
# However, it has the same basename, so the bogon will be chosen
|
1969 |
|
|
# first if we set CC to just the basename; use the full file name.
|
1970 |
|
|
shift
|
1971 |
1242 |
hpanther |
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
|
1972 |
7 |
jrydberg |
fi
|
1973 |
|
|
fi
|
1974 |
|
|
fi
|
1975 |
|
|
fi
|
1976 |
1242 |
hpanther |
CC=$ac_cv_prog_CC
|
1977 |
7 |
jrydberg |
if test -n "$CC"; then
|
1978 |
1242 |
hpanther |
echo "$as_me:$LINENO: result: $CC" >&5
|
1979 |
|
|
echo "${ECHO_T}$CC" >&6
|
1980 |
7 |
jrydberg |
else
|
1981 |
1242 |
hpanther |
echo "$as_me:$LINENO: result: no" >&5
|
1982 |
|
|
echo "${ECHO_T}no" >&6
|
1983 |
7 |
jrydberg |
fi
|
1984 |
|
|
|
1985 |
1242 |
hpanther |
fi
|
1986 |
|
|
if test -z "$CC"; then
|
1987 |
|
|
if test -n "$ac_tool_prefix"; then
|
1988 |
|
|
for ac_prog in cl
|
1989 |
|
|
do
|
1990 |
|
|
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
1991 |
|
|
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
|
1992 |
|
|
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
1993 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
1994 |
|
|
if test "${ac_cv_prog_CC+set}" = set; then
|
1995 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
1996 |
7 |
jrydberg |
else
|
1997 |
|
|
if test -n "$CC"; then
|
1998 |
|
|
ac_cv_prog_CC="$CC" # Let the user override the test.
|
1999 |
|
|
else
|
2000 |
1242 |
hpanther |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
2001 |
|
|
for as_dir in $PATH
|
2002 |
|
|
do
|
2003 |
|
|
IFS=$as_save_IFS
|
2004 |
|
|
test -z "$as_dir" && as_dir=.
|
2005 |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
2006 |
|
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
2007 |
|
|
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
|
2008 |
|
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
2009 |
|
|
break 2
|
2010 |
|
|
fi
|
2011 |
|
|
done
|
2012 |
|
|
done
|
2013 |
|
|
|
2014 |
7 |
jrydberg |
fi
|
2015 |
|
|
fi
|
2016 |
1242 |
hpanther |
CC=$ac_cv_prog_CC
|
2017 |
7 |
jrydberg |
if test -n "$CC"; then
|
2018 |
1242 |
hpanther |
echo "$as_me:$LINENO: result: $CC" >&5
|
2019 |
|
|
echo "${ECHO_T}$CC" >&6
|
2020 |
7 |
jrydberg |
else
|
2021 |
1242 |
hpanther |
echo "$as_me:$LINENO: result: no" >&5
|
2022 |
|
|
echo "${ECHO_T}no" >&6
|
2023 |
7 |
jrydberg |
fi
|
2024 |
1242 |
hpanther |
|
2025 |
|
|
test -n "$CC" && break
|
2026 |
|
|
done
|
2027 |
|
|
fi
|
2028 |
|
|
if test -z "$CC"; then
|
2029 |
|
|
ac_ct_CC=$CC
|
2030 |
|
|
for ac_prog in cl
|
2031 |
|
|
do
|
2032 |
|
|
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
2033 |
|
|
set dummy $ac_prog; ac_word=$2
|
2034 |
|
|
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
2035 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
2036 |
|
|
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
|
2037 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
2038 |
|
|
else
|
2039 |
|
|
if test -n "$ac_ct_CC"; then
|
2040 |
|
|
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
2041 |
|
|
else
|
2042 |
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
2043 |
|
|
for as_dir in $PATH
|
2044 |
|
|
do
|
2045 |
|
|
IFS=$as_save_IFS
|
2046 |
|
|
test -z "$as_dir" && as_dir=.
|
2047 |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
2048 |
|
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
2049 |
|
|
ac_cv_prog_ac_ct_CC="$ac_prog"
|
2050 |
|
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
2051 |
|
|
break 2
|
2052 |
7 |
jrydberg |
fi
|
2053 |
1242 |
hpanther |
done
|
2054 |
|
|
done
|
2055 |
|
|
|
2056 |
7 |
jrydberg |
fi
|
2057 |
1242 |
hpanther |
fi
|
2058 |
|
|
ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
2059 |
|
|
if test -n "$ac_ct_CC"; then
|
2060 |
|
|
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
|
2061 |
|
|
echo "${ECHO_T}$ac_ct_CC" >&6
|
2062 |
|
|
else
|
2063 |
|
|
echo "$as_me:$LINENO: result: no" >&5
|
2064 |
|
|
echo "${ECHO_T}no" >&6
|
2065 |
|
|
fi
|
2066 |
7 |
jrydberg |
|
2067 |
1242 |
hpanther |
test -n "$ac_ct_CC" && break
|
2068 |
|
|
done
|
2069 |
7 |
jrydberg |
|
2070 |
1242 |
hpanther |
CC=$ac_ct_CC
|
2071 |
|
|
fi
|
2072 |
7 |
jrydberg |
|
2073 |
1242 |
hpanther |
fi
|
2074 |
7 |
jrydberg |
|
2075 |
|
|
|
2076 |
1242 |
hpanther |
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
|
2077 |
|
|
See \`config.log' for more details." >&5
|
2078 |
|
|
echo "$as_me: error: no acceptable C compiler found in \$PATH
|
2079 |
|
|
See \`config.log' for more details." >&2;}
|
2080 |
|
|
{ (exit 1); exit 1; }; }
|
2081 |
|
|
|
2082 |
|
|
# Provide some information about the compiler.
|
2083 |
|
|
echo "$as_me:$LINENO:" \
|
2084 |
|
|
"checking for C compiler version" >&5
|
2085 |
|
|
ac_compiler=`set X $ac_compile; echo $2`
|
2086 |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version &5\"") >&5
|
2087 |
|
|
(eval $ac_compiler --version &5) 2>&5
|
2088 |
|
|
ac_status=$?
|
2089 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2090 |
|
|
(exit $ac_status); }
|
2091 |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v &5\"") >&5
|
2092 |
|
|
(eval $ac_compiler -v &5) 2>&5
|
2093 |
|
|
ac_status=$?
|
2094 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2095 |
|
|
(exit $ac_status); }
|
2096 |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V &5\"") >&5
|
2097 |
|
|
(eval $ac_compiler -V &5) 2>&5
|
2098 |
|
|
ac_status=$?
|
2099 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2100 |
|
|
(exit $ac_status); }
|
2101 |
|
|
|
2102 |
|
|
cat >conftest.$ac_ext <<_ACEOF
|
2103 |
|
|
#line $LINENO "configure"
|
2104 |
|
|
/* confdefs.h. */
|
2105 |
|
|
_ACEOF
|
2106 |
|
|
cat confdefs.h >>conftest.$ac_ext
|
2107 |
|
|
cat >>conftest.$ac_ext <<_ACEOF
|
2108 |
|
|
/* end confdefs.h. */
|
2109 |
|
|
|
2110 |
|
|
int
|
2111 |
|
|
main ()
|
2112 |
|
|
{
|
2113 |
|
|
|
2114 |
|
|
;
|
2115 |
|
|
return 0;
|
2116 |
|
|
}
|
2117 |
|
|
_ACEOF
|
2118 |
|
|
ac_clean_files_save=$ac_clean_files
|
2119 |
|
|
ac_clean_files="$ac_clean_files a.out a.exe b.out"
|
2120 |
|
|
# Try to create an executable without -o first, disregard a.out.
|
2121 |
|
|
# It will help us diagnose broken compilers, and finding out an intuition
|
2122 |
|
|
# of exeext.
|
2123 |
|
|
echo "$as_me:$LINENO: checking for C compiler default output" >&5
|
2124 |
|
|
echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
|
2125 |
|
|
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
|
2126 |
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
|
2127 |
|
|
(eval $ac_link_default) 2>&5
|
2128 |
|
|
ac_status=$?
|
2129 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2130 |
|
|
(exit $ac_status); }; then
|
2131 |
|
|
# Find the output, starting from the most likely. This scheme is
|
2132 |
|
|
# not robust to junk in `.', hence go to wildcards (a.*) only as a last
|
2133 |
|
|
# resort.
|
2134 |
|
|
|
2135 |
|
|
# Be careful to initialize this variable, since it used to be cached.
|
2136 |
|
|
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
|
2137 |
|
|
ac_cv_exeext=
|
2138 |
|
|
# b.out is created by i960 compilers.
|
2139 |
|
|
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
|
2140 |
|
|
do
|
2141 |
|
|
test -f "$ac_file" || continue
|
2142 |
|
|
case $ac_file in
|
2143 |
|
|
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
|
2144 |
|
|
;;
|
2145 |
|
|
conftest.$ac_ext )
|
2146 |
|
|
# This is the source file.
|
2147 |
|
|
;;
|
2148 |
|
|
[ab].out )
|
2149 |
|
|
# We found the default executable, but exeext='' is most
|
2150 |
|
|
# certainly right.
|
2151 |
|
|
break;;
|
2152 |
|
|
*.* )
|
2153 |
|
|
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
|
2154 |
|
|
# FIXME: I believe we export ac_cv_exeext for Libtool,
|
2155 |
|
|
# but it would be cool to find out if it's true. Does anybody
|
2156 |
|
|
# maintain Libtool? --akim.
|
2157 |
|
|
export ac_cv_exeext
|
2158 |
|
|
break;;
|
2159 |
|
|
* )
|
2160 |
|
|
break;;
|
2161 |
|
|
esac
|
2162 |
|
|
done
|
2163 |
|
|
else
|
2164 |
|
|
echo "$as_me: failed program was:" >&5
|
2165 |
|
|
sed 's/^/| /' conftest.$ac_ext >&5
|
2166 |
|
|
|
2167 |
|
|
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
|
2168 |
|
|
See \`config.log' for more details." >&5
|
2169 |
|
|
echo "$as_me: error: C compiler cannot create executables
|
2170 |
|
|
See \`config.log' for more details." >&2;}
|
2171 |
|
|
{ (exit 77); exit 77; }; }
|
2172 |
|
|
fi
|
2173 |
|
|
|
2174 |
|
|
ac_exeext=$ac_cv_exeext
|
2175 |
|
|
echo "$as_me:$LINENO: result: $ac_file" >&5
|
2176 |
|
|
echo "${ECHO_T}$ac_file" >&6
|
2177 |
|
|
|
2178 |
|
|
# Check the compiler produces executables we can run. If not, either
|
2179 |
|
|
# the compiler is broken, or we cross compile.
|
2180 |
|
|
echo "$as_me:$LINENO: checking whether the C compiler works" >&5
|
2181 |
|
|
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
|
2182 |
|
|
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
|
2183 |
|
|
# If not cross compiling, check that we can run a simple program.
|
2184 |
|
|
if test "$cross_compiling" != yes; then
|
2185 |
|
|
if { ac_try='./$ac_file'
|
2186 |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
2187 |
|
|
(eval $ac_try) 2>&5
|
2188 |
|
|
ac_status=$?
|
2189 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2190 |
|
|
(exit $ac_status); }; }; then
|
2191 |
|
|
cross_compiling=no
|
2192 |
7 |
jrydberg |
else
|
2193 |
1242 |
hpanther |
if test "$cross_compiling" = maybe; then
|
2194 |
|
|
cross_compiling=yes
|
2195 |
|
|
else
|
2196 |
|
|
{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
|
2197 |
|
|
If you meant to cross compile, use \`--host'.
|
2198 |
|
|
See \`config.log' for more details." >&5
|
2199 |
|
|
echo "$as_me: error: cannot run C compiled programs.
|
2200 |
|
|
If you meant to cross compile, use \`--host'.
|
2201 |
|
|
See \`config.log' for more details." >&2;}
|
2202 |
|
|
{ (exit 1); exit 1; }; }
|
2203 |
|
|
fi
|
2204 |
7 |
jrydberg |
fi
|
2205 |
|
|
fi
|
2206 |
1242 |
hpanther |
echo "$as_me:$LINENO: result: yes" >&5
|
2207 |
|
|
echo "${ECHO_T}yes" >&6
|
2208 |
7 |
jrydberg |
|
2209 |
1242 |
hpanther |
rm -f a.out a.exe conftest$ac_cv_exeext b.out
|
2210 |
|
|
ac_clean_files=$ac_clean_files_save
|
2211 |
|
|
# Check the compiler produces executables we can run. If not, either
|
2212 |
|
|
# the compiler is broken, or we cross compile.
|
2213 |
|
|
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
|
2214 |
|
|
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
|
2215 |
|
|
echo "$as_me:$LINENO: result: $cross_compiling" >&5
|
2216 |
|
|
echo "${ECHO_T}$cross_compiling" >&6
|
2217 |
|
|
|
2218 |
|
|
echo "$as_me:$LINENO: checking for suffix of executables" >&5
|
2219 |
|
|
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
|
2220 |
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
2221 |
|
|
(eval $ac_link) 2>&5
|
2222 |
|
|
ac_status=$?
|
2223 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2224 |
|
|
(exit $ac_status); }; then
|
2225 |
|
|
# If both `conftest.exe' and `conftest' are `present' (well, observable)
|
2226 |
|
|
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
|
2227 |
|
|
# work properly (i.e., refer to `conftest.exe'), while it won't with
|
2228 |
|
|
# `rm'.
|
2229 |
|
|
for ac_file in conftest.exe conftest conftest.*; do
|
2230 |
|
|
test -f "$ac_file" || continue
|
2231 |
|
|
case $ac_file in
|
2232 |
|
|
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
|
2233 |
|
|
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
|
2234 |
|
|
export ac_cv_exeext
|
2235 |
|
|
break;;
|
2236 |
|
|
* ) break;;
|
2237 |
|
|
esac
|
2238 |
|
|
done
|
2239 |
|
|
else
|
2240 |
|
|
{ { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
|
2241 |
|
|
See \`config.log' for more details." >&5
|
2242 |
|
|
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
|
2243 |
|
|
See \`config.log' for more details." >&2;}
|
2244 |
|
|
{ (exit 1); exit 1; }; }
|
2245 |
7 |
jrydberg |
fi
|
2246 |
|
|
|
2247 |
1242 |
hpanther |
rm -f conftest$ac_cv_exeext
|
2248 |
|
|
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
|
2249 |
|
|
echo "${ECHO_T}$ac_cv_exeext" >&6
|
2250 |
|
|
|
2251 |
|
|
rm -f conftest.$ac_ext
|
2252 |
|
|
EXEEXT=$ac_cv_exeext
|
2253 |
|
|
ac_exeext=$EXEEXT
|
2254 |
|
|
echo "$as_me:$LINENO: checking for suffix of object files" >&5
|
2255 |
|
|
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
|
2256 |
|
|
if test "${ac_cv_objext+set}" = set; then
|
2257 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
2258 |
7 |
jrydberg |
else
|
2259 |
1242 |
hpanther |
cat >conftest.$ac_ext <<_ACEOF
|
2260 |
|
|
#line $LINENO "configure"
|
2261 |
|
|
/* confdefs.h. */
|
2262 |
|
|
_ACEOF
|
2263 |
|
|
cat confdefs.h >>conftest.$ac_ext
|
2264 |
|
|
cat >>conftest.$ac_ext <<_ACEOF
|
2265 |
|
|
/* end confdefs.h. */
|
2266 |
|
|
|
2267 |
|
|
int
|
2268 |
|
|
main ()
|
2269 |
|
|
{
|
2270 |
|
|
|
2271 |
|
|
;
|
2272 |
|
|
return 0;
|
2273 |
|
|
}
|
2274 |
|
|
_ACEOF
|
2275 |
|
|
rm -f conftest.o conftest.obj
|
2276 |
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
2277 |
|
|
(eval $ac_compile) 2>&5
|
2278 |
|
|
ac_status=$?
|
2279 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2280 |
|
|
(exit $ac_status); }; then
|
2281 |
|
|
for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
|
2282 |
|
|
case $ac_file in
|
2283 |
|
|
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
|
2284 |
|
|
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
|
2285 |
|
|
break;;
|
2286 |
|
|
esac
|
2287 |
|
|
done
|
2288 |
7 |
jrydberg |
else
|
2289 |
1242 |
hpanther |
echo "$as_me: failed program was:" >&5
|
2290 |
|
|
sed 's/^/| /' conftest.$ac_ext >&5
|
2291 |
|
|
|
2292 |
|
|
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
|
2293 |
|
|
See \`config.log' for more details." >&5
|
2294 |
|
|
echo "$as_me: error: cannot compute suffix of object files: cannot compile
|
2295 |
|
|
See \`config.log' for more details." >&2;}
|
2296 |
|
|
{ (exit 1); exit 1; }; }
|
2297 |
7 |
jrydberg |
fi
|
2298 |
1242 |
hpanther |
|
2299 |
|
|
rm -f conftest.$ac_cv_objext conftest.$ac_ext
|
2300 |
7 |
jrydberg |
fi
|
2301 |
1242 |
hpanther |
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
|
2302 |
|
|
echo "${ECHO_T}$ac_cv_objext" >&6
|
2303 |
|
|
OBJEXT=$ac_cv_objext
|
2304 |
|
|
ac_objext=$OBJEXT
|
2305 |
|
|
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
|
2306 |
|
|
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
|
2307 |
|
|
if test "${ac_cv_c_compiler_gnu+set}" = set; then
|
2308 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
2309 |
|
|
else
|
2310 |
|
|
cat >conftest.$ac_ext <<_ACEOF
|
2311 |
|
|
#line $LINENO "configure"
|
2312 |
|
|
/* confdefs.h. */
|
2313 |
|
|
_ACEOF
|
2314 |
|
|
cat confdefs.h >>conftest.$ac_ext
|
2315 |
|
|
cat >>conftest.$ac_ext <<_ACEOF
|
2316 |
|
|
/* end confdefs.h. */
|
2317 |
7 |
jrydberg |
|
2318 |
1242 |
hpanther |
int
|
2319 |
|
|
main ()
|
2320 |
|
|
{
|
2321 |
|
|
#ifndef __GNUC__
|
2322 |
|
|
choke me
|
2323 |
|
|
#endif
|
2324 |
7 |
jrydberg |
|
2325 |
1242 |
hpanther |
;
|
2326 |
|
|
return 0;
|
2327 |
|
|
}
|
2328 |
|
|
_ACEOF
|
2329 |
|
|
rm -f conftest.$ac_objext
|
2330 |
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
2331 |
|
|
(eval $ac_compile) 2>&5
|
2332 |
|
|
ac_status=$?
|
2333 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2334 |
|
|
(exit $ac_status); } &&
|
2335 |
|
|
{ ac_try='test -s conftest.$ac_objext'
|
2336 |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
2337 |
|
|
(eval $ac_try) 2>&5
|
2338 |
|
|
ac_status=$?
|
2339 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2340 |
|
|
(exit $ac_status); }; }; then
|
2341 |
|
|
ac_compiler_gnu=yes
|
2342 |
7 |
jrydberg |
else
|
2343 |
1242 |
hpanther |
echo "$as_me: failed program was:" >&5
|
2344 |
|
|
sed 's/^/| /' conftest.$ac_ext >&5
|
2345 |
|
|
|
2346 |
|
|
ac_compiler_gnu=no
|
2347 |
7 |
jrydberg |
fi
|
2348 |
1242 |
hpanther |
rm -f conftest.$ac_objext conftest.$ac_ext
|
2349 |
|
|
ac_cv_c_compiler_gnu=$ac_compiler_gnu
|
2350 |
7 |
jrydberg |
|
2351 |
1242 |
hpanther |
fi
|
2352 |
|
|
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
|
2353 |
|
|
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
|
2354 |
|
|
GCC=`test $ac_compiler_gnu = yes && echo yes`
|
2355 |
|
|
ac_test_CFLAGS=${CFLAGS+set}
|
2356 |
|
|
ac_save_CFLAGS=$CFLAGS
|
2357 |
|
|
CFLAGS="-g"
|
2358 |
|
|
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
|
2359 |
|
|
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
|
2360 |
|
|
if test "${ac_cv_prog_cc_g+set}" = set; then
|
2361 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
2362 |
7 |
jrydberg |
else
|
2363 |
1242 |
hpanther |
cat >conftest.$ac_ext <<_ACEOF
|
2364 |
|
|
#line $LINENO "configure"
|
2365 |
|
|
/* confdefs.h. */
|
2366 |
|
|
_ACEOF
|
2367 |
|
|
cat confdefs.h >>conftest.$ac_ext
|
2368 |
|
|
cat >>conftest.$ac_ext <<_ACEOF
|
2369 |
|
|
/* end confdefs.h. */
|
2370 |
|
|
|
2371 |
|
|
int
|
2372 |
|
|
main ()
|
2373 |
|
|
{
|
2374 |
|
|
|
2375 |
|
|
;
|
2376 |
|
|
return 0;
|
2377 |
|
|
}
|
2378 |
|
|
_ACEOF
|
2379 |
|
|
rm -f conftest.$ac_objext
|
2380 |
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
2381 |
|
|
(eval $ac_compile) 2>&5
|
2382 |
|
|
ac_status=$?
|
2383 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2384 |
|
|
(exit $ac_status); } &&
|
2385 |
|
|
{ ac_try='test -s conftest.$ac_objext'
|
2386 |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
2387 |
|
|
(eval $ac_try) 2>&5
|
2388 |
|
|
ac_status=$?
|
2389 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2390 |
|
|
(exit $ac_status); }; }; then
|
2391 |
7 |
jrydberg |
ac_cv_prog_cc_g=yes
|
2392 |
|
|
else
|
2393 |
1242 |
hpanther |
echo "$as_me: failed program was:" >&5
|
2394 |
|
|
sed 's/^/| /' conftest.$ac_ext >&5
|
2395 |
7 |
jrydberg |
|
2396 |
1242 |
hpanther |
ac_cv_prog_cc_g=no
|
2397 |
7 |
jrydberg |
fi
|
2398 |
1242 |
hpanther |
rm -f conftest.$ac_objext conftest.$ac_ext
|
2399 |
|
|
fi
|
2400 |
|
|
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
|
2401 |
|
|
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
|
2402 |
7 |
jrydberg |
if test "$ac_test_CFLAGS" = set; then
|
2403 |
1242 |
hpanther |
CFLAGS=$ac_save_CFLAGS
|
2404 |
7 |
jrydberg |
elif test $ac_cv_prog_cc_g = yes; then
|
2405 |
|
|
if test "$GCC" = yes; then
|
2406 |
|
|
CFLAGS="-g -O2"
|
2407 |
|
|
else
|
2408 |
|
|
CFLAGS="-g"
|
2409 |
|
|
fi
|
2410 |
|
|
else
|
2411 |
|
|
if test "$GCC" = yes; then
|
2412 |
|
|
CFLAGS="-O2"
|
2413 |
|
|
else
|
2414 |
|
|
CFLAGS=
|
2415 |
|
|
fi
|
2416 |
|
|
fi
|
2417 |
1242 |
hpanther |
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
|
2418 |
|
|
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
|
2419 |
|
|
if test "${ac_cv_prog_cc_stdc+set}" = set; then
|
2420 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
2421 |
|
|
else
|
2422 |
|
|
ac_cv_prog_cc_stdc=no
|
2423 |
|
|
ac_save_CC=$CC
|
2424 |
|
|
cat >conftest.$ac_ext <<_ACEOF
|
2425 |
|
|
#line $LINENO "configure"
|
2426 |
|
|
/* confdefs.h. */
|
2427 |
|
|
_ACEOF
|
2428 |
|
|
cat confdefs.h >>conftest.$ac_ext
|
2429 |
|
|
cat >>conftest.$ac_ext <<_ACEOF
|
2430 |
|
|
/* end confdefs.h. */
|
2431 |
|
|
#include
|
2432 |
|
|
#include
|
2433 |
|
|
#include
|
2434 |
|
|
#include
|
2435 |
|
|
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
|
2436 |
|
|
struct buf { int x; };
|
2437 |
|
|
FILE * (*rcsopen) (struct buf *, struct stat *, int);
|
2438 |
|
|
static char *e (p, i)
|
2439 |
|
|
char **p;
|
2440 |
|
|
int i;
|
2441 |
|
|
{
|
2442 |
|
|
return p[i];
|
2443 |
|
|
}
|
2444 |
|
|
static char *f (char * (*g) (char **, int), char **p, ...)
|
2445 |
|
|
{
|
2446 |
|
|
char *s;
|
2447 |
|
|
va_list v;
|
2448 |
|
|
va_start (v,p);
|
2449 |
|
|
s = g (p, va_arg (v,int));
|
2450 |
|
|
va_end (v);
|
2451 |
|
|
return s;
|
2452 |
|
|
}
|
2453 |
|
|
int test (int i, double x);
|
2454 |
|
|
struct s1 {int (*f) (int a);};
|
2455 |
|
|
struct s2 {int (*f) (double a);};
|
2456 |
|
|
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
|
2457 |
|
|
int argc;
|
2458 |
|
|
char **argv;
|
2459 |
|
|
int
|
2460 |
|
|
main ()
|
2461 |
|
|
{
|
2462 |
|
|
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
|
2463 |
|
|
;
|
2464 |
|
|
return 0;
|
2465 |
|
|
}
|
2466 |
|
|
_ACEOF
|
2467 |
|
|
# Don't try gcc -ansi; that turns off useful extensions and
|
2468 |
|
|
# breaks some systems' header files.
|
2469 |
|
|
# AIX -qlanglvl=ansi
|
2470 |
|
|
# Ultrix and OSF/1 -std1
|
2471 |
|
|
# HP-UX 10.20 and later -Ae
|
2472 |
|
|
# HP-UX older versions -Aa -D_HPUX_SOURCE
|
2473 |
|
|
# SVR4 -Xc -D__EXTENSIONS__
|
2474 |
|
|
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
|
2475 |
|
|
do
|
2476 |
|
|
CC="$ac_save_CC $ac_arg"
|
2477 |
|
|
rm -f conftest.$ac_objext
|
2478 |
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
2479 |
|
|
(eval $ac_compile) 2>&5
|
2480 |
|
|
ac_status=$?
|
2481 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2482 |
|
|
(exit $ac_status); } &&
|
2483 |
|
|
{ ac_try='test -s conftest.$ac_objext'
|
2484 |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
2485 |
|
|
(eval $ac_try) 2>&5
|
2486 |
|
|
ac_status=$?
|
2487 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2488 |
|
|
(exit $ac_status); }; }; then
|
2489 |
|
|
ac_cv_prog_cc_stdc=$ac_arg
|
2490 |
|
|
break
|
2491 |
|
|
else
|
2492 |
|
|
echo "$as_me: failed program was:" >&5
|
2493 |
|
|
sed 's/^/| /' conftest.$ac_ext >&5
|
2494 |
7 |
jrydberg |
|
2495 |
1242 |
hpanther |
fi
|
2496 |
|
|
rm -f conftest.$ac_objext
|
2497 |
|
|
done
|
2498 |
|
|
rm -f conftest.$ac_ext conftest.$ac_objext
|
2499 |
|
|
CC=$ac_save_CC
|
2500 |
|
|
|
2501 |
|
|
fi
|
2502 |
|
|
|
2503 |
|
|
case "x$ac_cv_prog_cc_stdc" in
|
2504 |
|
|
x|xno)
|
2505 |
|
|
echo "$as_me:$LINENO: result: none needed" >&5
|
2506 |
|
|
echo "${ECHO_T}none needed" >&6 ;;
|
2507 |
|
|
*)
|
2508 |
|
|
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
|
2509 |
|
|
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
|
2510 |
|
|
CC="$CC $ac_cv_prog_cc_stdc" ;;
|
2511 |
|
|
esac
|
2512 |
|
|
|
2513 |
|
|
# Some people use a C++ compiler to compile C. Since we use `exit',
|
2514 |
|
|
# in C++ we need to declare it. In case someone uses the same compiler
|
2515 |
|
|
# for both compiling C and C++ we need to have the C++ compiler decide
|
2516 |
|
|
# the declaration of exit, since it's the most demanding environment.
|
2517 |
|
|
cat >conftest.$ac_ext <<_ACEOF
|
2518 |
|
|
#ifndef __cplusplus
|
2519 |
|
|
choke me
|
2520 |
|
|
#endif
|
2521 |
|
|
_ACEOF
|
2522 |
|
|
rm -f conftest.$ac_objext
|
2523 |
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
2524 |
|
|
(eval $ac_compile) 2>&5
|
2525 |
|
|
ac_status=$?
|
2526 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2527 |
|
|
(exit $ac_status); } &&
|
2528 |
|
|
{ ac_try='test -s conftest.$ac_objext'
|
2529 |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
2530 |
|
|
(eval $ac_try) 2>&5
|
2531 |
|
|
ac_status=$?
|
2532 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2533 |
|
|
(exit $ac_status); }; }; then
|
2534 |
|
|
for ac_declaration in \
|
2535 |
|
|
''\
|
2536 |
|
|
'#include ' \
|
2537 |
|
|
'extern "C" void std::exit (int) throw (); using std::exit;' \
|
2538 |
|
|
'extern "C" void std::exit (int); using std::exit;' \
|
2539 |
|
|
'extern "C" void exit (int) throw ();' \
|
2540 |
|
|
'extern "C" void exit (int);' \
|
2541 |
|
|
'void exit (int);'
|
2542 |
|
|
do
|
2543 |
|
|
cat >conftest.$ac_ext <<_ACEOF
|
2544 |
|
|
#line $LINENO "configure"
|
2545 |
|
|
/* confdefs.h. */
|
2546 |
|
|
_ACEOF
|
2547 |
|
|
cat confdefs.h >>conftest.$ac_ext
|
2548 |
|
|
cat >>conftest.$ac_ext <<_ACEOF
|
2549 |
|
|
/* end confdefs.h. */
|
2550 |
|
|
#include
|
2551 |
|
|
$ac_declaration
|
2552 |
|
|
int
|
2553 |
|
|
main ()
|
2554 |
|
|
{
|
2555 |
|
|
exit (42);
|
2556 |
|
|
;
|
2557 |
|
|
return 0;
|
2558 |
|
|
}
|
2559 |
|
|
_ACEOF
|
2560 |
|
|
rm -f conftest.$ac_objext
|
2561 |
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
2562 |
|
|
(eval $ac_compile) 2>&5
|
2563 |
|
|
ac_status=$?
|
2564 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2565 |
|
|
(exit $ac_status); } &&
|
2566 |
|
|
{ ac_try='test -s conftest.$ac_objext'
|
2567 |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
2568 |
|
|
(eval $ac_try) 2>&5
|
2569 |
|
|
ac_status=$?
|
2570 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2571 |
|
|
(exit $ac_status); }; }; then
|
2572 |
|
|
:
|
2573 |
|
|
else
|
2574 |
|
|
echo "$as_me: failed program was:" >&5
|
2575 |
|
|
sed 's/^/| /' conftest.$ac_ext >&5
|
2576 |
|
|
|
2577 |
|
|
continue
|
2578 |
|
|
fi
|
2579 |
|
|
rm -f conftest.$ac_objext conftest.$ac_ext
|
2580 |
|
|
cat >conftest.$ac_ext <<_ACEOF
|
2581 |
|
|
#line $LINENO "configure"
|
2582 |
|
|
/* confdefs.h. */
|
2583 |
|
|
_ACEOF
|
2584 |
|
|
cat confdefs.h >>conftest.$ac_ext
|
2585 |
|
|
cat >>conftest.$ac_ext <<_ACEOF
|
2586 |
|
|
/* end confdefs.h. */
|
2587 |
|
|
$ac_declaration
|
2588 |
|
|
int
|
2589 |
|
|
main ()
|
2590 |
|
|
{
|
2591 |
|
|
exit (42);
|
2592 |
|
|
;
|
2593 |
|
|
return 0;
|
2594 |
|
|
}
|
2595 |
|
|
_ACEOF
|
2596 |
|
|
rm -f conftest.$ac_objext
|
2597 |
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
2598 |
|
|
(eval $ac_compile) 2>&5
|
2599 |
|
|
ac_status=$?
|
2600 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2601 |
|
|
(exit $ac_status); } &&
|
2602 |
|
|
{ ac_try='test -s conftest.$ac_objext'
|
2603 |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
2604 |
|
|
(eval $ac_try) 2>&5
|
2605 |
|
|
ac_status=$?
|
2606 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2607 |
|
|
(exit $ac_status); }; }; then
|
2608 |
|
|
break
|
2609 |
|
|
else
|
2610 |
|
|
echo "$as_me: failed program was:" >&5
|
2611 |
|
|
sed 's/^/| /' conftest.$ac_ext >&5
|
2612 |
|
|
|
2613 |
|
|
fi
|
2614 |
|
|
rm -f conftest.$ac_objext conftest.$ac_ext
|
2615 |
|
|
done
|
2616 |
|
|
rm -f conftest*
|
2617 |
|
|
if test -n "$ac_declaration"; then
|
2618 |
|
|
echo '#ifdef __cplusplus' >>confdefs.h
|
2619 |
|
|
echo $ac_declaration >>confdefs.h
|
2620 |
|
|
echo '#endif' >>confdefs.h
|
2621 |
|
|
fi
|
2622 |
|
|
|
2623 |
|
|
else
|
2624 |
|
|
echo "$as_me: failed program was:" >&5
|
2625 |
|
|
sed 's/^/| /' conftest.$ac_ext >&5
|
2626 |
|
|
|
2627 |
|
|
fi
|
2628 |
|
|
rm -f conftest.$ac_objext conftest.$ac_ext
|
2629 |
|
|
ac_ext=c
|
2630 |
|
|
ac_cpp='$CPP $CPPFLAGS'
|
2631 |
|
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
2632 |
|
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
2633 |
|
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
2634 |
|
|
rm -f .deps 2>/dev/null
|
2635 |
|
|
mkdir .deps 2>/dev/null
|
2636 |
|
|
if test -d .deps; then
|
2637 |
|
|
DEPDIR=.deps
|
2638 |
|
|
else
|
2639 |
|
|
# MS-DOS does not allow filenames that begin with a dot.
|
2640 |
|
|
DEPDIR=_deps
|
2641 |
|
|
fi
|
2642 |
|
|
rmdir .deps 2>/dev/null
|
2643 |
|
|
|
2644 |
|
|
|
2645 |
|
|
ac_config_commands="$ac_config_commands depfiles"
|
2646 |
|
|
|
2647 |
|
|
|
2648 |
|
|
am_make=${MAKE-make}
|
2649 |
|
|
cat > confinc << 'END'
|
2650 |
|
|
doit:
|
2651 |
|
|
@echo done
|
2652 |
|
|
END
|
2653 |
|
|
# If we don't find an include directive, just comment out the code.
|
2654 |
|
|
echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
|
2655 |
|
|
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
|
2656 |
|
|
am__include="#"
|
2657 |
|
|
am__quote=
|
2658 |
|
|
_am_result=none
|
2659 |
|
|
# First try GNU make style include.
|
2660 |
|
|
echo "include confinc" > confmf
|
2661 |
|
|
# We grep out `Entering directory' and `Leaving directory'
|
2662 |
|
|
# messages which can occur if `w' ends up in MAKEFLAGS.
|
2663 |
|
|
# In particular we don't look at `^make:' because GNU make might
|
2664 |
|
|
# be invoked under some other name (usually "gmake"), in which
|
2665 |
|
|
# case it prints its new name instead of `make'.
|
2666 |
|
|
if test "`$am_make -s -f confmf 2> /dev/null | fgrep -v 'ing directory'`" = "done"; then
|
2667 |
|
|
am__include=include
|
2668 |
|
|
am__quote=
|
2669 |
|
|
_am_result=GNU
|
2670 |
|
|
fi
|
2671 |
|
|
# Now try BSD make style include.
|
2672 |
|
|
if test "$am__include" = "#"; then
|
2673 |
|
|
echo '.include "confinc"' > confmf
|
2674 |
|
|
if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
|
2675 |
|
|
am__include=.include
|
2676 |
|
|
am__quote="\""
|
2677 |
|
|
_am_result=BSD
|
2678 |
|
|
fi
|
2679 |
|
|
fi
|
2680 |
|
|
|
2681 |
|
|
|
2682 |
|
|
echo "$as_me:$LINENO: result: $_am_result" >&5
|
2683 |
|
|
echo "${ECHO_T}$_am_result" >&6
|
2684 |
|
|
rm -f confinc confmf
|
2685 |
|
|
|
2686 |
|
|
# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
|
2687 |
|
|
if test "${enable_dependency_tracking+set}" = set; then
|
2688 |
|
|
enableval="$enable_dependency_tracking"
|
2689 |
|
|
|
2690 |
|
|
fi;
|
2691 |
|
|
if test "x$enable_dependency_tracking" != xno; then
|
2692 |
|
|
am_depcomp="$ac_aux_dir/depcomp"
|
2693 |
|
|
AMDEPBACKSLASH='\'
|
2694 |
|
|
fi
|
2695 |
|
|
|
2696 |
|
|
|
2697 |
|
|
if test "x$enable_dependency_tracking" != xno; then
|
2698 |
|
|
AMDEP_TRUE=
|
2699 |
|
|
AMDEP_FALSE='#'
|
2700 |
|
|
else
|
2701 |
|
|
AMDEP_TRUE='#'
|
2702 |
|
|
AMDEP_FALSE=
|
2703 |
|
|
fi
|
2704 |
|
|
|
2705 |
|
|
|
2706 |
|
|
|
2707 |
|
|
|
2708 |
|
|
depcc="$CC" am_compiler_list=
|
2709 |
|
|
|
2710 |
|
|
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
|
2711 |
|
|
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
|
2712 |
|
|
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
|
2713 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
2714 |
|
|
else
|
2715 |
|
|
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
|
2716 |
|
|
# We make a subdir and do the tests there. Otherwise we can end up
|
2717 |
|
|
# making bogus files that we don't know about and never remove. For
|
2718 |
|
|
# instance it was reported that on HP-UX the gcc test will end up
|
2719 |
|
|
# making a dummy file named `D' -- because `-MD' means `put the output
|
2720 |
|
|
# in D'.
|
2721 |
|
|
mkdir conftest.dir
|
2722 |
|
|
# Copy depcomp to subdir because otherwise we won't find it if we're
|
2723 |
|
|
# using a relative directory.
|
2724 |
|
|
cp "$am_depcomp" conftest.dir
|
2725 |
|
|
cd conftest.dir
|
2726 |
|
|
|
2727 |
|
|
am_cv_CC_dependencies_compiler_type=none
|
2728 |
|
|
if test "$am_compiler_list" = ""; then
|
2729 |
|
|
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
|
2730 |
|
|
fi
|
2731 |
|
|
for depmode in $am_compiler_list; do
|
2732 |
|
|
# We need to recreate these files for each test, as the compiler may
|
2733 |
|
|
# overwrite some of them when testing with obscure command lines.
|
2734 |
|
|
# This happens at least with the AIX C compiler.
|
2735 |
|
|
echo '#include "conftest.h"' > conftest.c
|
2736 |
|
|
echo 'int i;' > conftest.h
|
2737 |
|
|
echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
|
2738 |
|
|
|
2739 |
|
|
case $depmode in
|
2740 |
|
|
nosideeffect)
|
2741 |
|
|
# after this tag, mechanisms are not by side-effect, so they'll
|
2742 |
|
|
# only be used when explicitly requested
|
2743 |
|
|
if test "x$enable_dependency_tracking" = xyes; then
|
2744 |
|
|
continue
|
2745 |
|
|
else
|
2746 |
|
|
break
|
2747 |
|
|
fi
|
2748 |
|
|
;;
|
2749 |
|
|
none) break ;;
|
2750 |
|
|
esac
|
2751 |
|
|
# We check with `-c' and `-o' for the sake of the "dashmstdout"
|
2752 |
|
|
# mode. It turns out that the SunPro C++ compiler does not properly
|
2753 |
|
|
# handle `-M -o', and we need to detect this.
|
2754 |
|
|
if depmode=$depmode \
|
2755 |
|
|
source=conftest.c object=conftest.o \
|
2756 |
|
|
depfile=conftest.Po tmpdepfile=conftest.TPo \
|
2757 |
|
|
$SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&
|
2758 |
|
|
grep conftest.h conftest.Po > /dev/null 2>&1 &&
|
2759 |
|
|
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
|
2760 |
|
|
am_cv_CC_dependencies_compiler_type=$depmode
|
2761 |
|
|
break
|
2762 |
|
|
fi
|
2763 |
|
|
done
|
2764 |
|
|
|
2765 |
|
|
cd ..
|
2766 |
|
|
rm -rf conftest.dir
|
2767 |
|
|
else
|
2768 |
|
|
am_cv_CC_dependencies_compiler_type=none
|
2769 |
|
|
fi
|
2770 |
|
|
|
2771 |
|
|
fi
|
2772 |
|
|
echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
|
2773 |
|
|
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
|
2774 |
|
|
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
|
2775 |
|
|
|
2776 |
|
|
|
2777 |
|
|
|
2778 |
|
|
ac_ext=c
|
2779 |
|
|
ac_cpp='$CPP $CPPFLAGS'
|
2780 |
|
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
2781 |
|
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
2782 |
|
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
2783 |
|
|
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
|
2784 |
|
|
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
|
2785 |
7 |
jrydberg |
# On Suns, sometimes $CPP names a directory.
|
2786 |
|
|
if test -n "$CPP" && test -d "$CPP"; then
|
2787 |
|
|
CPP=
|
2788 |
|
|
fi
|
2789 |
|
|
if test -z "$CPP"; then
|
2790 |
1242 |
hpanther |
if test "${ac_cv_prog_CPP+set}" = set; then
|
2791 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
2792 |
7 |
jrydberg |
else
|
2793 |
1242 |
hpanther |
# Double quotes because CPP needs to be expanded
|
2794 |
|
|
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
|
2795 |
|
|
do
|
2796 |
|
|
ac_preproc_ok=false
|
2797 |
|
|
for ac_c_preproc_warn_flag in '' yes
|
2798 |
|
|
do
|
2799 |
|
|
# Use a header file that comes with gcc, so configuring glibc
|
2800 |
|
|
# with a fresh cross-compiler works.
|
2801 |
|
|
# Prefer to if __STDC__ is defined, since
|
2802 |
|
|
# exists even on freestanding compilers.
|
2803 |
7 |
jrydberg |
# On the NeXT, cc -E runs the code through the compiler's parser,
|
2804 |
1242 |
hpanther |
# not just through cpp. "Syntax error" is here to catch this case.
|
2805 |
|
|
cat >conftest.$ac_ext <<_ACEOF
|
2806 |
|
|
#line $LINENO "configure"
|
2807 |
|
|
/* confdefs.h. */
|
2808 |
|
|
_ACEOF
|
2809 |
|
|
cat confdefs.h >>conftest.$ac_ext
|
2810 |
|
|
cat >>conftest.$ac_ext <<_ACEOF
|
2811 |
|
|
/* end confdefs.h. */
|
2812 |
|
|
#ifdef __STDC__
|
2813 |
|
|
# include
|
2814 |
|
|
#else
|
2815 |
|
|
# include
|
2816 |
|
|
#endif
|
2817 |
|
|
Syntax error
|
2818 |
|
|
_ACEOF
|
2819 |
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
|
2820 |
|
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
|
2821 |
|
|
ac_status=$?
|
2822 |
|
|
grep -v '^ *+' conftest.er1 >conftest.err
|
2823 |
|
|
rm -f conftest.er1
|
2824 |
|
|
cat conftest.err >&5
|
2825 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2826 |
|
|
(exit $ac_status); } >/dev/null; then
|
2827 |
|
|
if test -s conftest.err; then
|
2828 |
|
|
ac_cpp_err=$ac_c_preproc_warn_flag
|
2829 |
|
|
else
|
2830 |
|
|
ac_cpp_err=
|
2831 |
|
|
fi
|
2832 |
|
|
else
|
2833 |
|
|
ac_cpp_err=yes
|
2834 |
|
|
fi
|
2835 |
|
|
if test -z "$ac_cpp_err"; then
|
2836 |
7 |
jrydberg |
:
|
2837 |
|
|
else
|
2838 |
1242 |
hpanther |
echo "$as_me: failed program was:" >&5
|
2839 |
|
|
sed 's/^/| /' conftest.$ac_ext >&5
|
2840 |
|
|
|
2841 |
|
|
# Broken: fails on valid input.
|
2842 |
|
|
continue
|
2843 |
|
|
fi
|
2844 |
|
|
rm -f conftest.err conftest.$ac_ext
|
2845 |
|
|
|
2846 |
|
|
# OK, works on sane cases. Now check whether non-existent headers
|
2847 |
|
|
# can be detected and how.
|
2848 |
|
|
cat >conftest.$ac_ext <<_ACEOF
|
2849 |
|
|
#line $LINENO "configure"
|
2850 |
|
|
/* confdefs.h. */
|
2851 |
|
|
_ACEOF
|
2852 |
|
|
cat confdefs.h >>conftest.$ac_ext
|
2853 |
|
|
cat >>conftest.$ac_ext <<_ACEOF
|
2854 |
|
|
/* end confdefs.h. */
|
2855 |
|
|
#include
|
2856 |
|
|
_ACEOF
|
2857 |
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
|
2858 |
|
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
|
2859 |
|
|
ac_status=$?
|
2860 |
|
|
grep -v '^ *+' conftest.er1 >conftest.err
|
2861 |
|
|
rm -f conftest.er1
|
2862 |
|
|
cat conftest.err >&5
|
2863 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2864 |
|
|
(exit $ac_status); } >/dev/null; then
|
2865 |
|
|
if test -s conftest.err; then
|
2866 |
|
|
ac_cpp_err=$ac_c_preproc_warn_flag
|
2867 |
|
|
else
|
2868 |
|
|
ac_cpp_err=
|
2869 |
|
|
fi
|
2870 |
|
|
else
|
2871 |
|
|
ac_cpp_err=yes
|
2872 |
|
|
fi
|
2873 |
|
|
if test -z "$ac_cpp_err"; then
|
2874 |
|
|
# Broken: success on invalid input.
|
2875 |
|
|
continue
|
2876 |
|
|
else
|
2877 |
|
|
echo "$as_me: failed program was:" >&5
|
2878 |
|
|
sed 's/^/| /' conftest.$ac_ext >&5
|
2879 |
|
|
|
2880 |
|
|
# Passes both tests.
|
2881 |
|
|
ac_preproc_ok=:
|
2882 |
|
|
break
|
2883 |
|
|
fi
|
2884 |
|
|
rm -f conftest.err conftest.$ac_ext
|
2885 |
|
|
|
2886 |
|
|
done
|
2887 |
|
|
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
2888 |
|
|
rm -f conftest.err conftest.$ac_ext
|
2889 |
|
|
if $ac_preproc_ok; then
|
2890 |
|
|
break
|
2891 |
|
|
fi
|
2892 |
|
|
|
2893 |
|
|
done
|
2894 |
|
|
ac_cv_prog_CPP=$CPP
|
2895 |
|
|
|
2896 |
|
|
fi
|
2897 |
|
|
CPP=$ac_cv_prog_CPP
|
2898 |
|
|
else
|
2899 |
|
|
ac_cv_prog_CPP=$CPP
|
2900 |
|
|
fi
|
2901 |
|
|
echo "$as_me:$LINENO: result: $CPP" >&5
|
2902 |
|
|
echo "${ECHO_T}$CPP" >&6
|
2903 |
|
|
ac_preproc_ok=false
|
2904 |
|
|
for ac_c_preproc_warn_flag in '' yes
|
2905 |
|
|
do
|
2906 |
|
|
# Use a header file that comes with gcc, so configuring glibc
|
2907 |
|
|
# with a fresh cross-compiler works.
|
2908 |
|
|
# Prefer to if __STDC__ is defined, since
|
2909 |
|
|
# exists even on freestanding compilers.
|
2910 |
|
|
# On the NeXT, cc -E runs the code through the compiler's parser,
|
2911 |
|
|
# not just through cpp. "Syntax error" is here to catch this case.
|
2912 |
|
|
cat >conftest.$ac_ext <<_ACEOF
|
2913 |
|
|
#line $LINENO "configure"
|
2914 |
|
|
/* confdefs.h. */
|
2915 |
|
|
_ACEOF
|
2916 |
|
|
cat confdefs.h >>conftest.$ac_ext
|
2917 |
|
|
cat >>conftest.$ac_ext <<_ACEOF
|
2918 |
|
|
/* end confdefs.h. */
|
2919 |
|
|
#ifdef __STDC__
|
2920 |
|
|
# include
|
2921 |
|
|
#else
|
2922 |
|
|
# include
|
2923 |
|
|
#endif
|
2924 |
|
|
Syntax error
|
2925 |
|
|
_ACEOF
|
2926 |
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
|
2927 |
|
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
|
2928 |
|
|
ac_status=$?
|
2929 |
|
|
grep -v '^ *+' conftest.er1 >conftest.err
|
2930 |
|
|
rm -f conftest.er1
|
2931 |
|
|
cat conftest.err >&5
|
2932 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2933 |
|
|
(exit $ac_status); } >/dev/null; then
|
2934 |
|
|
if test -s conftest.err; then
|
2935 |
|
|
ac_cpp_err=$ac_c_preproc_warn_flag
|
2936 |
|
|
else
|
2937 |
|
|
ac_cpp_err=
|
2938 |
|
|
fi
|
2939 |
|
|
else
|
2940 |
|
|
ac_cpp_err=yes
|
2941 |
|
|
fi
|
2942 |
|
|
if test -z "$ac_cpp_err"; then
|
2943 |
7 |
jrydberg |
:
|
2944 |
|
|
else
|
2945 |
1242 |
hpanther |
echo "$as_me: failed program was:" >&5
|
2946 |
|
|
sed 's/^/| /' conftest.$ac_ext >&5
|
2947 |
|
|
|
2948 |
|
|
# Broken: fails on valid input.
|
2949 |
|
|
continue
|
2950 |
|
|
fi
|
2951 |
|
|
rm -f conftest.err conftest.$ac_ext
|
2952 |
|
|
|
2953 |
|
|
# OK, works on sane cases. Now check whether non-existent headers
|
2954 |
|
|
# can be detected and how.
|
2955 |
|
|
cat >conftest.$ac_ext <<_ACEOF
|
2956 |
|
|
#line $LINENO "configure"
|
2957 |
|
|
/* confdefs.h. */
|
2958 |
|
|
_ACEOF
|
2959 |
|
|
cat confdefs.h >>conftest.$ac_ext
|
2960 |
|
|
cat >>conftest.$ac_ext <<_ACEOF
|
2961 |
|
|
/* end confdefs.h. */
|
2962 |
|
|
#include
|
2963 |
|
|
_ACEOF
|
2964 |
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
|
2965 |
|
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
|
2966 |
|
|
ac_status=$?
|
2967 |
|
|
grep -v '^ *+' conftest.er1 >conftest.err
|
2968 |
|
|
rm -f conftest.er1
|
2969 |
|
|
cat conftest.err >&5
|
2970 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2971 |
|
|
(exit $ac_status); } >/dev/null; then
|
2972 |
|
|
if test -s conftest.err; then
|
2973 |
|
|
ac_cpp_err=$ac_c_preproc_warn_flag
|
2974 |
|
|
else
|
2975 |
|
|
ac_cpp_err=
|
2976 |
|
|
fi
|
2977 |
|
|
else
|
2978 |
|
|
ac_cpp_err=yes
|
2979 |
|
|
fi
|
2980 |
|
|
if test -z "$ac_cpp_err"; then
|
2981 |
|
|
# Broken: success on invalid input.
|
2982 |
|
|
continue
|
2983 |
|
|
else
|
2984 |
|
|
echo "$as_me: failed program was:" >&5
|
2985 |
|
|
sed 's/^/| /' conftest.$ac_ext >&5
|
2986 |
|
|
|
2987 |
|
|
# Passes both tests.
|
2988 |
|
|
ac_preproc_ok=:
|
2989 |
|
|
break
|
2990 |
|
|
fi
|
2991 |
|
|
rm -f conftest.err conftest.$ac_ext
|
2992 |
|
|
|
2993 |
|
|
done
|
2994 |
|
|
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
2995 |
|
|
rm -f conftest.err conftest.$ac_ext
|
2996 |
|
|
if $ac_preproc_ok; then
|
2997 |
7 |
jrydberg |
:
|
2998 |
|
|
else
|
2999 |
1242 |
hpanther |
{ { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
|
3000 |
|
|
See \`config.log' for more details." >&5
|
3001 |
|
|
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
|
3002 |
|
|
See \`config.log' for more details." >&2;}
|
3003 |
|
|
{ (exit 1); exit 1; }; }
|
3004 |
7 |
jrydberg |
fi
|
3005 |
1242 |
hpanther |
|
3006 |
|
|
ac_ext=c
|
3007 |
|
|
ac_cpp='$CPP $CPPFLAGS'
|
3008 |
|
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
3009 |
|
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
3010 |
|
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
3011 |
|
|
|
3012 |
|
|
|
3013 |
|
|
echo "$as_me:$LINENO: checking for egrep" >&5
|
3014 |
|
|
echo $ECHO_N "checking for egrep... $ECHO_C" >&6
|
3015 |
|
|
if test "${ac_cv_prog_egrep+set}" = set; then
|
3016 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
3017 |
|
|
else
|
3018 |
|
|
if echo a | (grep -E '(a|b)') >/dev/null 2>&1
|
3019 |
|
|
then ac_cv_prog_egrep='grep -E'
|
3020 |
|
|
else ac_cv_prog_egrep='egrep'
|
3021 |
|
|
fi
|
3022 |
7 |
jrydberg |
fi
|
3023 |
1242 |
hpanther |
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
|
3024 |
|
|
echo "${ECHO_T}$ac_cv_prog_egrep" >&6
|
3025 |
|
|
EGREP=$ac_cv_prog_egrep
|
3026 |
|
|
|
3027 |
|
|
|
3028 |
|
|
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
|
3029 |
|
|
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
|
3030 |
|
|
if test "${ac_cv_header_stdc+set}" = set; then
|
3031 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
3032 |
|
|
else
|
3033 |
|
|
cat >conftest.$ac_ext <<_ACEOF
|
3034 |
|
|
#line $LINENO "configure"
|
3035 |
|
|
/* confdefs.h. */
|
3036 |
|
|
_ACEOF
|
3037 |
|
|
cat confdefs.h >>conftest.$ac_ext
|
3038 |
|
|
cat >>conftest.$ac_ext <<_ACEOF
|
3039 |
|
|
/* end confdefs.h. */
|
3040 |
|
|
#include
|
3041 |
|
|
#include
|
3042 |
|
|
#include
|
3043 |
|
|
#include
|
3044 |
|
|
|
3045 |
|
|
int
|
3046 |
|
|
main ()
|
3047 |
|
|
{
|
3048 |
|
|
|
3049 |
|
|
;
|
3050 |
|
|
return 0;
|
3051 |
|
|
}
|
3052 |
|
|
_ACEOF
|
3053 |
|
|
rm -f conftest.$ac_objext
|
3054 |
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
3055 |
|
|
(eval $ac_compile) 2>&5
|
3056 |
|
|
ac_status=$?
|
3057 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3058 |
|
|
(exit $ac_status); } &&
|
3059 |
|
|
{ ac_try='test -s conftest.$ac_objext'
|
3060 |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
3061 |
|
|
(eval $ac_try) 2>&5
|
3062 |
|
|
ac_status=$?
|
3063 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3064 |
|
|
(exit $ac_status); }; }; then
|
3065 |
|
|
ac_cv_header_stdc=yes
|
3066 |
|
|
else
|
3067 |
|
|
echo "$as_me: failed program was:" >&5
|
3068 |
|
|
sed 's/^/| /' conftest.$ac_ext >&5
|
3069 |
|
|
|
3070 |
|
|
ac_cv_header_stdc=no
|
3071 |
|
|
fi
|
3072 |
|
|
rm -f conftest.$ac_objext conftest.$ac_ext
|
3073 |
|
|
|
3074 |
|
|
if test $ac_cv_header_stdc = yes; then
|
3075 |
|
|
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
|
3076 |
|
|
cat >conftest.$ac_ext <<_ACEOF
|
3077 |
|
|
#line $LINENO "configure"
|
3078 |
|
|
/* confdefs.h. */
|
3079 |
|
|
_ACEOF
|
3080 |
|
|
cat confdefs.h >>conftest.$ac_ext
|
3081 |
|
|
cat >>conftest.$ac_ext <<_ACEOF
|
3082 |
|
|
/* end confdefs.h. */
|
3083 |
|
|
#include
|
3084 |
|
|
|
3085 |
|
|
_ACEOF
|
3086 |
|
|
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
3087 |
|
|
$EGREP "memchr" >/dev/null 2>&1; then
|
3088 |
|
|
:
|
3089 |
|
|
else
|
3090 |
|
|
ac_cv_header_stdc=no
|
3091 |
|
|
fi
|
3092 |
7 |
jrydberg |
rm -f conftest*
|
3093 |
1242 |
hpanther |
|
3094 |
7 |
jrydberg |
fi
|
3095 |
1242 |
hpanther |
|
3096 |
|
|
if test $ac_cv_header_stdc = yes; then
|
3097 |
|
|
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
|
3098 |
|
|
cat >conftest.$ac_ext <<_ACEOF
|
3099 |
|
|
#line $LINENO "configure"
|
3100 |
|
|
/* confdefs.h. */
|
3101 |
|
|
_ACEOF
|
3102 |
|
|
cat confdefs.h >>conftest.$ac_ext
|
3103 |
|
|
cat >>conftest.$ac_ext <<_ACEOF
|
3104 |
|
|
/* end confdefs.h. */
|
3105 |
|
|
#include
|
3106 |
|
|
|
3107 |
|
|
_ACEOF
|
3108 |
|
|
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
3109 |
|
|
$EGREP "free" >/dev/null 2>&1; then
|
3110 |
|
|
:
|
3111 |
|
|
else
|
3112 |
|
|
ac_cv_header_stdc=no
|
3113 |
|
|
fi
|
3114 |
7 |
jrydberg |
rm -f conftest*
|
3115 |
1242 |
hpanther |
|
3116 |
7 |
jrydberg |
fi
|
3117 |
1242 |
hpanther |
|
3118 |
|
|
if test $ac_cv_header_stdc = yes; then
|
3119 |
|
|
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
|
3120 |
|
|
if test "$cross_compiling" = yes; then
|
3121 |
|
|
:
|
3122 |
7 |
jrydberg |
else
|
3123 |
1242 |
hpanther |
cat >conftest.$ac_ext <<_ACEOF
|
3124 |
|
|
#line $LINENO "configure"
|
3125 |
|
|
/* confdefs.h. */
|
3126 |
|
|
_ACEOF
|
3127 |
|
|
cat confdefs.h >>conftest.$ac_ext
|
3128 |
|
|
cat >>conftest.$ac_ext <<_ACEOF
|
3129 |
|
|
/* end confdefs.h. */
|
3130 |
|
|
#include
|
3131 |
|
|
#if ((' ' & 0x0FF) == 0x020)
|
3132 |
|
|
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
|
3133 |
|
|
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
|
3134 |
|
|
#else
|
3135 |
|
|
# define ISLOWER(c) \
|
3136 |
|
|
(('a' <= (c) && (c) <= 'i') \
|
3137 |
|
|
|| ('j' <= (c) && (c) <= 'r') \
|
3138 |
|
|
|| ('s' <= (c) && (c) <= 'z'))
|
3139 |
|
|
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
|
3140 |
|
|
#endif
|
3141 |
|
|
|
3142 |
|
|
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
|
3143 |
|
|
int
|
3144 |
|
|
main ()
|
3145 |
|
|
{
|
3146 |
|
|
int i;
|
3147 |
|
|
for (i = 0; i < 256; i++)
|
3148 |
|
|
if (XOR (islower (i), ISLOWER (i))
|
3149 |
|
|
|| toupper (i) != TOUPPER (i))
|
3150 |
|
|
exit(2);
|
3151 |
|
|
exit (0);
|
3152 |
|
|
}
|
3153 |
|
|
_ACEOF
|
3154 |
|
|
rm -f conftest$ac_exeext
|
3155 |
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
3156 |
|
|
(eval $ac_link) 2>&5
|
3157 |
|
|
ac_status=$?
|
3158 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3159 |
|
|
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
|
3160 |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
3161 |
|
|
(eval $ac_try) 2>&5
|
3162 |
|
|
ac_status=$?
|
3163 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3164 |
|
|
(exit $ac_status); }; }; then
|
3165 |
|
|
:
|
3166 |
|
|
else
|
3167 |
|
|
echo "$as_me: program exited with status $ac_status" >&5
|
3168 |
|
|
echo "$as_me: failed program was:" >&5
|
3169 |
|
|
sed 's/^/| /' conftest.$ac_ext >&5
|
3170 |
|
|
|
3171 |
|
|
( exit $ac_status )
|
3172 |
|
|
ac_cv_header_stdc=no
|
3173 |
7 |
jrydberg |
fi
|
3174 |
1242 |
hpanther |
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
3175 |
|
|
fi
|
3176 |
|
|
fi
|
3177 |
|
|
fi
|
3178 |
|
|
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
|
3179 |
|
|
echo "${ECHO_T}$ac_cv_header_stdc" >&6
|
3180 |
|
|
if test $ac_cv_header_stdc = yes; then
|
3181 |
7 |
jrydberg |
|
3182 |
1242 |
hpanther |
cat >>confdefs.h <<\_ACEOF
|
3183 |
|
|
#define STDC_HEADERS 1
|
3184 |
|
|
_ACEOF
|
3185 |
|
|
|
3186 |
|
|
fi
|
3187 |
|
|
|
3188 |
|
|
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
|
3189 |
|
|
|
3190 |
|
|
|
3191 |
|
|
|
3192 |
|
|
|
3193 |
|
|
|
3194 |
|
|
|
3195 |
|
|
|
3196 |
|
|
|
3197 |
|
|
|
3198 |
|
|
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
|
3199 |
|
|
inttypes.h stdint.h unistd.h
|
3200 |
|
|
do
|
3201 |
|
|
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
3202 |
|
|
echo "$as_me:$LINENO: checking for $ac_header" >&5
|
3203 |
|
|
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
|
3204 |
|
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then
|
3205 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
3206 |
7 |
jrydberg |
else
|
3207 |
1242 |
hpanther |
cat >conftest.$ac_ext <<_ACEOF
|
3208 |
|
|
#line $LINENO "configure"
|
3209 |
|
|
/* confdefs.h. */
|
3210 |
|
|
_ACEOF
|
3211 |
|
|
cat confdefs.h >>conftest.$ac_ext
|
3212 |
|
|
cat >>conftest.$ac_ext <<_ACEOF
|
3213 |
|
|
/* end confdefs.h. */
|
3214 |
|
|
$ac_includes_default
|
3215 |
|
|
|
3216 |
|
|
#include <$ac_header>
|
3217 |
|
|
_ACEOF
|
3218 |
|
|
rm -f conftest.$ac_objext
|
3219 |
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
3220 |
|
|
(eval $ac_compile) 2>&5
|
3221 |
|
|
ac_status=$?
|
3222 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3223 |
|
|
(exit $ac_status); } &&
|
3224 |
|
|
{ ac_try='test -s conftest.$ac_objext'
|
3225 |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
3226 |
|
|
(eval $ac_try) 2>&5
|
3227 |
|
|
ac_status=$?
|
3228 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3229 |
|
|
(exit $ac_status); }; }; then
|
3230 |
|
|
eval "$as_ac_Header=yes"
|
3231 |
|
|
else
|
3232 |
|
|
echo "$as_me: failed program was:" >&5
|
3233 |
|
|
sed 's/^/| /' conftest.$ac_ext >&5
|
3234 |
|
|
|
3235 |
|
|
eval "$as_ac_Header=no"
|
3236 |
|
|
fi
|
3237 |
|
|
rm -f conftest.$ac_objext conftest.$ac_ext
|
3238 |
|
|
fi
|
3239 |
|
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
|
3240 |
|
|
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
|
3241 |
|
|
if test `eval echo '${'$as_ac_Header'}'` = yes; then
|
3242 |
|
|
cat >>confdefs.h <<_ACEOF
|
3243 |
|
|
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
3244 |
|
|
_ACEOF
|
3245 |
|
|
|
3246 |
|
|
fi
|
3247 |
|
|
|
3248 |
|
|
done
|
3249 |
|
|
|
3250 |
|
|
|
3251 |
|
|
if test "${ac_cv_header_minix_config_h+set}" = set; then
|
3252 |
|
|
echo "$as_me:$LINENO: checking for minix/config.h" >&5
|
3253 |
|
|
echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
|
3254 |
|
|
if test "${ac_cv_header_minix_config_h+set}" = set; then
|
3255 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
3256 |
|
|
fi
|
3257 |
|
|
echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
|
3258 |
|
|
echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
|
3259 |
|
|
else
|
3260 |
|
|
# Is the header compilable?
|
3261 |
|
|
echo "$as_me:$LINENO: checking minix/config.h usability" >&5
|
3262 |
|
|
echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6
|
3263 |
|
|
cat >conftest.$ac_ext <<_ACEOF
|
3264 |
|
|
#line $LINENO "configure"
|
3265 |
|
|
/* confdefs.h. */
|
3266 |
|
|
_ACEOF
|
3267 |
|
|
cat confdefs.h >>conftest.$ac_ext
|
3268 |
|
|
cat >>conftest.$ac_ext <<_ACEOF
|
3269 |
|
|
/* end confdefs.h. */
|
3270 |
|
|
$ac_includes_default
|
3271 |
7 |
jrydberg |
#include
|
3272 |
1242 |
hpanther |
_ACEOF
|
3273 |
|
|
rm -f conftest.$ac_objext
|
3274 |
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
3275 |
|
|
(eval $ac_compile) 2>&5
|
3276 |
|
|
ac_status=$?
|
3277 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3278 |
|
|
(exit $ac_status); } &&
|
3279 |
|
|
{ ac_try='test -s conftest.$ac_objext'
|
3280 |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
3281 |
|
|
(eval $ac_try) 2>&5
|
3282 |
|
|
ac_status=$?
|
3283 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3284 |
|
|
(exit $ac_status); }; }; then
|
3285 |
|
|
ac_header_compiler=yes
|
3286 |
7 |
jrydberg |
else
|
3287 |
1242 |
hpanther |
echo "$as_me: failed program was:" >&5
|
3288 |
|
|
sed 's/^/| /' conftest.$ac_ext >&5
|
3289 |
|
|
|
3290 |
|
|
ac_header_compiler=no
|
3291 |
7 |
jrydberg |
fi
|
3292 |
1242 |
hpanther |
rm -f conftest.$ac_objext conftest.$ac_ext
|
3293 |
|
|
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
|
3294 |
|
|
echo "${ECHO_T}$ac_header_compiler" >&6
|
3295 |
|
|
|
3296 |
|
|
# Is the header present?
|
3297 |
|
|
echo "$as_me:$LINENO: checking minix/config.h presence" >&5
|
3298 |
|
|
echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6
|
3299 |
|
|
cat >conftest.$ac_ext <<_ACEOF
|
3300 |
|
|
#line $LINENO "configure"
|
3301 |
|
|
/* confdefs.h. */
|
3302 |
|
|
_ACEOF
|
3303 |
|
|
cat confdefs.h >>conftest.$ac_ext
|
3304 |
|
|
cat >>conftest.$ac_ext <<_ACEOF
|
3305 |
|
|
/* end confdefs.h. */
|
3306 |
|
|
#include
|
3307 |
|
|
_ACEOF
|
3308 |
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
|
3309 |
|
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
|
3310 |
|
|
ac_status=$?
|
3311 |
|
|
grep -v '^ *+' conftest.er1 >conftest.err
|
3312 |
|
|
rm -f conftest.er1
|
3313 |
|
|
cat conftest.err >&5
|
3314 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3315 |
|
|
(exit $ac_status); } >/dev/null; then
|
3316 |
|
|
if test -s conftest.err; then
|
3317 |
|
|
ac_cpp_err=$ac_c_preproc_warn_flag
|
3318 |
|
|
else
|
3319 |
|
|
ac_cpp_err=
|
3320 |
|
|
fi
|
3321 |
|
|
else
|
3322 |
|
|
ac_cpp_err=yes
|
3323 |
7 |
jrydberg |
fi
|
3324 |
1242 |
hpanther |
if test -z "$ac_cpp_err"; then
|
3325 |
|
|
ac_header_preproc=yes
|
3326 |
|
|
else
|
3327 |
|
|
echo "$as_me: failed program was:" >&5
|
3328 |
|
|
sed 's/^/| /' conftest.$ac_ext >&5
|
3329 |
|
|
|
3330 |
|
|
ac_header_preproc=no
|
3331 |
|
|
fi
|
3332 |
|
|
rm -f conftest.err conftest.$ac_ext
|
3333 |
|
|
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
|
3334 |
|
|
echo "${ECHO_T}$ac_header_preproc" >&6
|
3335 |
|
|
|
3336 |
|
|
# So? What about this header?
|
3337 |
|
|
case $ac_header_compiler:$ac_header_preproc in
|
3338 |
|
|
yes:no )
|
3339 |
|
|
{ echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
|
3340 |
|
|
echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
3341 |
|
|
{ echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
|
3342 |
|
|
echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
|
3343 |
|
|
(
|
3344 |
|
|
cat <<\_ASBOX
|
3345 |
|
|
## ------------------------------------ ##
|
3346 |
|
|
## Report this to bug-autoconf@gnu.org. ##
|
3347 |
|
|
## ------------------------------------ ##
|
3348 |
|
|
_ASBOX
|
3349 |
|
|
) |
|
3350 |
|
|
sed "s/^/$as_me: WARNING: /" >&2
|
3351 |
|
|
;;
|
3352 |
|
|
no:yes )
|
3353 |
|
|
{ echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
|
3354 |
|
|
echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
|
3355 |
|
|
{ echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5
|
3356 |
|
|
echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;}
|
3357 |
|
|
{ echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
|
3358 |
|
|
echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
|
3359 |
|
|
(
|
3360 |
|
|
cat <<\_ASBOX
|
3361 |
|
|
## ------------------------------------ ##
|
3362 |
|
|
## Report this to bug-autoconf@gnu.org. ##
|
3363 |
|
|
## ------------------------------------ ##
|
3364 |
|
|
_ASBOX
|
3365 |
|
|
) |
|
3366 |
|
|
sed "s/^/$as_me: WARNING: /" >&2
|
3367 |
|
|
;;
|
3368 |
|
|
esac
|
3369 |
|
|
echo "$as_me:$LINENO: checking for minix/config.h" >&5
|
3370 |
|
|
echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
|
3371 |
|
|
if test "${ac_cv_header_minix_config_h+set}" = set; then
|
3372 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
3373 |
|
|
else
|
3374 |
|
|
ac_cv_header_minix_config_h=$ac_header_preproc
|
3375 |
|
|
fi
|
3376 |
|
|
echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
|
3377 |
|
|
echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
|
3378 |
|
|
|
3379 |
|
|
fi
|
3380 |
|
|
if test $ac_cv_header_minix_config_h = yes; then
|
3381 |
7 |
jrydberg |
MINIX=yes
|
3382 |
|
|
else
|
3383 |
1242 |
hpanther |
MINIX=
|
3384 |
7 |
jrydberg |
fi
|
3385 |
|
|
|
3386 |
1242 |
hpanther |
|
3387 |
7 |
jrydberg |
if test "$MINIX" = yes; then
|
3388 |
1242 |
hpanther |
|
3389 |
|
|
cat >>confdefs.h <<\_ACEOF
|
3390 |
7 |
jrydberg |
#define _POSIX_SOURCE 1
|
3391 |
1242 |
hpanther |
_ACEOF
|
3392 |
7 |
jrydberg |
|
3393 |
1242 |
hpanther |
|
3394 |
|
|
cat >>confdefs.h <<\_ACEOF
|
3395 |
7 |
jrydberg |
#define _POSIX_1_SOURCE 2
|
3396 |
1242 |
hpanther |
_ACEOF
|
3397 |
7 |
jrydberg |
|
3398 |
1242 |
hpanther |
|
3399 |
|
|
cat >>confdefs.h <<\_ACEOF
|
3400 |
7 |
jrydberg |
#define _MINIX 1
|
3401 |
1242 |
hpanther |
_ACEOF
|
3402 |
7 |
jrydberg |
|
3403 |
|
|
fi
|
3404 |
|
|
|
3405 |
|
|
|
3406 |
1242 |
hpanther |
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
|
3407 |
|
|
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
|
3408 |
|
|
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
|
3409 |
|
|
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
|
3410 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
3411 |
7 |
jrydberg |
else
|
3412 |
1242 |
hpanther |
cat >conftest.make <<\_ACEOF
|
3413 |
7 |
jrydberg |
all:
|
3414 |
1242 |
hpanther |
@echo 'ac_maketemp="$(MAKE)"'
|
3415 |
|
|
_ACEOF
|
3416 |
7 |
jrydberg |
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
|
3417 |
1242 |
hpanther |
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
|
3418 |
7 |
jrydberg |
if test -n "$ac_maketemp"; then
|
3419 |
|
|
eval ac_cv_prog_make_${ac_make}_set=yes
|
3420 |
|
|
else
|
3421 |
|
|
eval ac_cv_prog_make_${ac_make}_set=no
|
3422 |
|
|
fi
|
3423 |
1242 |
hpanther |
rm -f conftest.make
|
3424 |
7 |
jrydberg |
fi
|
3425 |
|
|
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
|
3426 |
1242 |
hpanther |
echo "$as_me:$LINENO: result: yes" >&5
|
3427 |
|
|
echo "${ECHO_T}yes" >&6
|
3428 |
7 |
jrydberg |
SET_MAKE=
|
3429 |
|
|
else
|
3430 |
1242 |
hpanther |
echo "$as_me:$LINENO: result: no" >&5
|
3431 |
|
|
echo "${ECHO_T}no" >&6
|
3432 |
7 |
jrydberg |
SET_MAKE="MAKE=${MAKE-make}"
|
3433 |
|
|
fi
|
3434 |
|
|
|
3435 |
|
|
|
3436 |
|
|
# If we're using gcc and the user hasn't specified CFLAGS, add -O2 to CFLAGS.
|
3437 |
28 |
lampret |
test -n "$GCC" && test -n "$auto_cflags" && CFLAGS="$CFLAGS -O2 -D$ARCH_ISA"
|
3438 |
7 |
jrydberg |
|
3439 |
1242 |
hpanther |
if test $ac_cv_c_compiler_gnu = yes; then
|
3440 |
|
|
echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
|
3441 |
|
|
echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
|
3442 |
|
|
if test "${ac_cv_prog_gcc_traditional+set}" = set; then
|
3443 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
3444 |
7 |
jrydberg |
else
|
3445 |
|
|
ac_pattern="Autoconf.*'x'"
|
3446 |
1242 |
hpanther |
cat >conftest.$ac_ext <<_ACEOF
|
3447 |
|
|
#line $LINENO "configure"
|
3448 |
|
|
/* confdefs.h. */
|
3449 |
|
|
_ACEOF
|
3450 |
|
|
cat confdefs.h >>conftest.$ac_ext
|
3451 |
|
|
cat >>conftest.$ac_ext <<_ACEOF
|
3452 |
|
|
/* end confdefs.h. */
|
3453 |
7 |
jrydberg |
#include
|
3454 |
|
|
Autoconf TIOCGETP
|
3455 |
1242 |
hpanther |
_ACEOF
|
3456 |
7 |
jrydberg |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
3457 |
1242 |
hpanther |
$EGREP "$ac_pattern" >/dev/null 2>&1; then
|
3458 |
7 |
jrydberg |
ac_cv_prog_gcc_traditional=yes
|
3459 |
|
|
else
|
3460 |
|
|
ac_cv_prog_gcc_traditional=no
|
3461 |
|
|
fi
|
3462 |
|
|
rm -f conftest*
|
3463 |
|
|
|
3464 |
|
|
|
3465 |
|
|
if test $ac_cv_prog_gcc_traditional = no; then
|
3466 |
1242 |
hpanther |
cat >conftest.$ac_ext <<_ACEOF
|
3467 |
|
|
#line $LINENO "configure"
|
3468 |
|
|
/* confdefs.h. */
|
3469 |
|
|
_ACEOF
|
3470 |
|
|
cat confdefs.h >>conftest.$ac_ext
|
3471 |
|
|
cat >>conftest.$ac_ext <<_ACEOF
|
3472 |
|
|
/* end confdefs.h. */
|
3473 |
7 |
jrydberg |
#include
|
3474 |
|
|
Autoconf TCGETA
|
3475 |
1242 |
hpanther |
_ACEOF
|
3476 |
7 |
jrydberg |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
3477 |
1242 |
hpanther |
$EGREP "$ac_pattern" >/dev/null 2>&1; then
|
3478 |
7 |
jrydberg |
ac_cv_prog_gcc_traditional=yes
|
3479 |
|
|
fi
|
3480 |
|
|
rm -f conftest*
|
3481 |
|
|
|
3482 |
|
|
fi
|
3483 |
|
|
fi
|
3484 |
1242 |
hpanther |
echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
|
3485 |
|
|
echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
|
3486 |
7 |
jrydberg |
if test $ac_cv_prog_gcc_traditional = yes; then
|
3487 |
|
|
CC="$CC -traditional"
|
3488 |
|
|
fi
|
3489 |
|
|
fi
|
3490 |
|
|
|
3491 |
|
|
# Find a good install program. We prefer a C program (faster),
|
3492 |
|
|
# so one script is as good as another. But avoid the broken or
|
3493 |
|
|
# incompatible versions:
|
3494 |
|
|
# SysV /etc/install, /usr/sbin/install
|
3495 |
|
|
# SunOS /usr/etc/install
|
3496 |
|
|
# IRIX /sbin/install
|
3497 |
|
|
# AIX /bin/install
|
3498 |
1242 |
hpanther |
# AmigaOS /C/install, which installs bootblocks on floppy discs
|
3499 |
7 |
jrydberg |
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
|
3500 |
|
|
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
|
3501 |
|
|
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
|
3502 |
|
|
# ./install, which can be erroneously created by make from ./install.sh.
|
3503 |
1242 |
hpanther |
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
|
3504 |
|
|
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
|
3505 |
7 |
jrydberg |
if test -z "$INSTALL"; then
|
3506 |
1242 |
hpanther |
if test "${ac_cv_path_install+set}" = set; then
|
3507 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
3508 |
7 |
jrydberg |
else
|
3509 |
1242 |
hpanther |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
3510 |
|
|
for as_dir in $PATH
|
3511 |
|
|
do
|
3512 |
|
|
IFS=$as_save_IFS
|
3513 |
|
|
test -z "$as_dir" && as_dir=.
|
3514 |
|
|
# Account for people who put trailing slashes in PATH elements.
|
3515 |
|
|
case $as_dir/ in
|
3516 |
|
|
./ | .// | /cC/* | \
|
3517 |
|
|
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
|
3518 |
|
|
/usr/ucb/* ) ;;
|
3519 |
|
|
*)
|
3520 |
|
|
# OSF1 and SCO ODT 3.0 have their own names for install.
|
3521 |
|
|
# Don't use installbsd from OSF since it installs stuff as root
|
3522 |
|
|
# by default.
|
3523 |
|
|
for ac_prog in ginstall scoinst install; do
|
3524 |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
3525 |
|
|
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
|
3526 |
|
|
if test $ac_prog = install &&
|
3527 |
|
|
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
|
3528 |
|
|
# AIX install. It has an incompatible calling convention.
|
3529 |
|
|
:
|
3530 |
|
|
elif test $ac_prog = install &&
|
3531 |
|
|
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
|
3532 |
|
|
# program-specific install script used by HP pwplus--don't use.
|
3533 |
|
|
:
|
3534 |
|
|
else
|
3535 |
|
|
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
|
3536 |
|
|
break 3
|
3537 |
|
|
fi
|
3538 |
|
|
fi
|
3539 |
7 |
jrydberg |
done
|
3540 |
1242 |
hpanther |
done
|
3541 |
|
|
;;
|
3542 |
|
|
esac
|
3543 |
|
|
done
|
3544 |
7 |
jrydberg |
|
3545 |
1242 |
hpanther |
|
3546 |
7 |
jrydberg |
fi
|
3547 |
|
|
if test "${ac_cv_path_install+set}" = set; then
|
3548 |
1242 |
hpanther |
INSTALL=$ac_cv_path_install
|
3549 |
7 |
jrydberg |
else
|
3550 |
|
|
# As a last resort, use the slow shell script. We don't cache a
|
3551 |
|
|
# path for INSTALL within a source directory, because that will
|
3552 |
|
|
# break other packages using the cache if that directory is
|
3553 |
|
|
# removed, or if the path is relative.
|
3554 |
1242 |
hpanther |
INSTALL=$ac_install_sh
|
3555 |
7 |
jrydberg |
fi
|
3556 |
|
|
fi
|
3557 |
1242 |
hpanther |
echo "$as_me:$LINENO: result: $INSTALL" >&5
|
3558 |
|
|
echo "${ECHO_T}$INSTALL" >&6
|
3559 |
7 |
jrydberg |
|
3560 |
|
|
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
|
3561 |
|
|
# It thinks the first close brace ends the variable substitution.
|
3562 |
|
|
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
|
3563 |
|
|
|
3564 |
1242 |
hpanther |
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
|
3565 |
7 |
jrydberg |
|
3566 |
|
|
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
|
3567 |
|
|
|
3568 |
|
|
# Extract the first word of "ar", so it can be a program name with args.
|
3569 |
|
|
set dummy ar; ac_word=$2
|
3570 |
1242 |
hpanther |
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
3571 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
3572 |
|
|
if test "${ac_cv_prog_AR+set}" = set; then
|
3573 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
3574 |
7 |
jrydberg |
else
|
3575 |
|
|
if test -n "$AR"; then
|
3576 |
|
|
ac_cv_prog_AR="$AR" # Let the user override the test.
|
3577 |
|
|
else
|
3578 |
1242 |
hpanther |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
3579 |
|
|
for as_dir in $PATH
|
3580 |
|
|
do
|
3581 |
|
|
IFS=$as_save_IFS
|
3582 |
|
|
test -z "$as_dir" && as_dir=.
|
3583 |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
3584 |
|
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
3585 |
|
|
ac_cv_prog_AR="ar"
|
3586 |
|
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
3587 |
|
|
break 2
|
3588 |
|
|
fi
|
3589 |
|
|
done
|
3590 |
|
|
done
|
3591 |
|
|
|
3592 |
7 |
jrydberg |
fi
|
3593 |
|
|
fi
|
3594 |
1242 |
hpanther |
AR=$ac_cv_prog_AR
|
3595 |
7 |
jrydberg |
if test -n "$AR"; then
|
3596 |
1242 |
hpanther |
echo "$as_me:$LINENO: result: $AR" >&5
|
3597 |
|
|
echo "${ECHO_T}$AR" >&6
|
3598 |
7 |
jrydberg |
else
|
3599 |
1242 |
hpanther |
echo "$as_me:$LINENO: result: no" >&5
|
3600 |
|
|
echo "${ECHO_T}no" >&6
|
3601 |
7 |
jrydberg |
fi
|
3602 |
|
|
|
3603 |
|
|
test -n "$ARFLAGS" || ARFLAGS="cr"
|
3604 |
1242 |
hpanther |
if test -n "$ac_tool_prefix"; then
|
3605 |
|
|
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
|
3606 |
|
|
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
|
3607 |
|
|
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
3608 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
3609 |
|
|
if test "${ac_cv_prog_RANLIB+set}" = set; then
|
3610 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
3611 |
7 |
jrydberg |
else
|
3612 |
|
|
if test -n "$RANLIB"; then
|
3613 |
|
|
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
|
3614 |
|
|
else
|
3615 |
1242 |
hpanther |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
3616 |
|
|
for as_dir in $PATH
|
3617 |
|
|
do
|
3618 |
|
|
IFS=$as_save_IFS
|
3619 |
|
|
test -z "$as_dir" && as_dir=.
|
3620 |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
3621 |
|
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
3622 |
|
|
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
|
3623 |
|
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
3624 |
|
|
break 2
|
3625 |
|
|
fi
|
3626 |
|
|
done
|
3627 |
|
|
done
|
3628 |
|
|
|
3629 |
7 |
jrydberg |
fi
|
3630 |
|
|
fi
|
3631 |
1242 |
hpanther |
RANLIB=$ac_cv_prog_RANLIB
|
3632 |
7 |
jrydberg |
if test -n "$RANLIB"; then
|
3633 |
1242 |
hpanther |
echo "$as_me:$LINENO: result: $RANLIB" >&5
|
3634 |
|
|
echo "${ECHO_T}$RANLIB" >&6
|
3635 |
7 |
jrydberg |
else
|
3636 |
1242 |
hpanther |
echo "$as_me:$LINENO: result: no" >&5
|
3637 |
|
|
echo "${ECHO_T}no" >&6
|
3638 |
7 |
jrydberg |
fi
|
3639 |
|
|
|
3640 |
1242 |
hpanther |
fi
|
3641 |
|
|
if test -z "$ac_cv_prog_RANLIB"; then
|
3642 |
|
|
ac_ct_RANLIB=$RANLIB
|
3643 |
|
|
# Extract the first word of "ranlib", so it can be a program name with args.
|
3644 |
|
|
set dummy ranlib; ac_word=$2
|
3645 |
|
|
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
3646 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
3647 |
|
|
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
|
3648 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
3649 |
|
|
else
|
3650 |
|
|
if test -n "$ac_ct_RANLIB"; then
|
3651 |
|
|
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
|
3652 |
|
|
else
|
3653 |
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
3654 |
|
|
for as_dir in $PATH
|
3655 |
|
|
do
|
3656 |
|
|
IFS=$as_save_IFS
|
3657 |
|
|
test -z "$as_dir" && as_dir=.
|
3658 |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
3659 |
|
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
3660 |
|
|
ac_cv_prog_ac_ct_RANLIB="ranlib"
|
3661 |
|
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
3662 |
|
|
break 2
|
3663 |
|
|
fi
|
3664 |
|
|
done
|
3665 |
|
|
done
|
3666 |
7 |
jrydberg |
|
3667 |
1242 |
hpanther |
test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
|
3668 |
|
|
fi
|
3669 |
|
|
fi
|
3670 |
|
|
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
|
3671 |
|
|
if test -n "$ac_ct_RANLIB"; then
|
3672 |
|
|
echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
|
3673 |
|
|
echo "${ECHO_T}$ac_ct_RANLIB" >&6
|
3674 |
|
|
else
|
3675 |
|
|
echo "$as_me:$LINENO: result: no" >&5
|
3676 |
|
|
echo "${ECHO_T}no" >&6
|
3677 |
|
|
fi
|
3678 |
|
|
|
3679 |
|
|
RANLIB=$ac_ct_RANLIB
|
3680 |
|
|
else
|
3681 |
|
|
RANLIB="$ac_cv_prog_RANLIB"
|
3682 |
|
|
fi
|
3683 |
|
|
|
3684 |
|
|
|
3685 |
7 |
jrydberg |
MAKE_SHELL=/bin/sh
|
3686 |
|
|
|
3687 |
|
|
|
3688 |
|
|
|
3689 |
1242 |
hpanther |
echo "$as_me:$LINENO: checking return type of signal handlers" >&5
|
3690 |
|
|
echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
|
3691 |
|
|
if test "${ac_cv_type_signal+set}" = set; then
|
3692 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
3693 |
7 |
jrydberg |
else
|
3694 |
1242 |
hpanther |
cat >conftest.$ac_ext <<_ACEOF
|
3695 |
|
|
#line $LINENO "configure"
|
3696 |
|
|
/* confdefs.h. */
|
3697 |
|
|
_ACEOF
|
3698 |
|
|
cat confdefs.h >>conftest.$ac_ext
|
3699 |
|
|
cat >>conftest.$ac_ext <<_ACEOF
|
3700 |
|
|
/* end confdefs.h. */
|
3701 |
7 |
jrydberg |
#include
|
3702 |
|
|
#include
|
3703 |
|
|
#ifdef signal
|
3704 |
1242 |
hpanther |
# undef signal
|
3705 |
7 |
jrydberg |
#endif
|
3706 |
|
|
#ifdef __cplusplus
|
3707 |
|
|
extern "C" void (*signal (int, void (*)(int)))(int);
|
3708 |
|
|
#else
|
3709 |
|
|
void (*signal ()) ();
|
3710 |
|
|
#endif
|
3711 |
|
|
|
3712 |
1242 |
hpanther |
int
|
3713 |
|
|
main ()
|
3714 |
|
|
{
|
3715 |
7 |
jrydberg |
int i;
|
3716 |
1242 |
hpanther |
;
|
3717 |
|
|
return 0;
|
3718 |
|
|
}
|
3719 |
|
|
_ACEOF
|
3720 |
|
|
rm -f conftest.$ac_objext
|
3721 |
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
3722 |
|
|
(eval $ac_compile) 2>&5
|
3723 |
|
|
ac_status=$?
|
3724 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3725 |
|
|
(exit $ac_status); } &&
|
3726 |
|
|
{ ac_try='test -s conftest.$ac_objext'
|
3727 |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
3728 |
|
|
(eval $ac_try) 2>&5
|
3729 |
|
|
ac_status=$?
|
3730 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3731 |
|
|
(exit $ac_status); }; }; then
|
3732 |
7 |
jrydberg |
ac_cv_type_signal=void
|
3733 |
|
|
else
|
3734 |
1242 |
hpanther |
echo "$as_me: failed program was:" >&5
|
3735 |
|
|
sed 's/^/| /' conftest.$ac_ext >&5
|
3736 |
|
|
|
3737 |
|
|
ac_cv_type_signal=int
|
3738 |
7 |
jrydberg |
fi
|
3739 |
1242 |
hpanther |
rm -f conftest.$ac_objext conftest.$ac_ext
|
3740 |
7 |
jrydberg |
fi
|
3741 |
1242 |
hpanther |
echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
|
3742 |
|
|
echo "${ECHO_T}$ac_cv_type_signal" >&6
|
3743 |
7 |
jrydberg |
|
3744 |
1242 |
hpanther |
cat >>confdefs.h <<_ACEOF
|
3745 |
7 |
jrydberg |
#define RETSIGTYPE $ac_cv_type_signal
|
3746 |
1242 |
hpanther |
_ACEOF
|
3747 |
7 |
jrydberg |
|
3748 |
|
|
|
3749 |
1242 |
hpanther |
echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
|
3750 |
|
|
echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6
|
3751 |
|
|
if test "${ac_cv_header_stat_broken+set}" = set; then
|
3752 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
3753 |
7 |
jrydberg |
else
|
3754 |
1242 |
hpanther |
cat >conftest.$ac_ext <<_ACEOF
|
3755 |
|
|
#line $LINENO "configure"
|
3756 |
|
|
/* confdefs.h. */
|
3757 |
|
|
_ACEOF
|
3758 |
|
|
cat confdefs.h >>conftest.$ac_ext
|
3759 |
|
|
cat >>conftest.$ac_ext <<_ACEOF
|
3760 |
|
|
/* end confdefs.h. */
|
3761 |
7 |
jrydberg |
#include
|
3762 |
|
|
#include
|
3763 |
|
|
|
3764 |
|
|
#if defined(S_ISBLK) && defined(S_IFDIR)
|
3765 |
|
|
# if S_ISBLK (S_IFDIR)
|
3766 |
|
|
You lose.
|
3767 |
|
|
# endif
|
3768 |
|
|
#endif
|
3769 |
|
|
|
3770 |
|
|
#if defined(S_ISBLK) && defined(S_IFCHR)
|
3771 |
|
|
# if S_ISBLK (S_IFCHR)
|
3772 |
|
|
You lose.
|
3773 |
|
|
# endif
|
3774 |
|
|
#endif
|
3775 |
|
|
|
3776 |
|
|
#if defined(S_ISLNK) && defined(S_IFREG)
|
3777 |
|
|
# if S_ISLNK (S_IFREG)
|
3778 |
|
|
You lose.
|
3779 |
|
|
# endif
|
3780 |
|
|
#endif
|
3781 |
|
|
|
3782 |
|
|
#if defined(S_ISSOCK) && defined(S_IFREG)
|
3783 |
|
|
# if S_ISSOCK (S_IFREG)
|
3784 |
|
|
You lose.
|
3785 |
|
|
# endif
|
3786 |
|
|
#endif
|
3787 |
|
|
|
3788 |
1242 |
hpanther |
_ACEOF
|
3789 |
7 |
jrydberg |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
3790 |
1242 |
hpanther |
$EGREP "You lose" >/dev/null 2>&1; then
|
3791 |
7 |
jrydberg |
ac_cv_header_stat_broken=yes
|
3792 |
|
|
else
|
3793 |
|
|
ac_cv_header_stat_broken=no
|
3794 |
|
|
fi
|
3795 |
|
|
rm -f conftest*
|
3796 |
|
|
|
3797 |
|
|
fi
|
3798 |
1242 |
hpanther |
echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
|
3799 |
|
|
echo "${ECHO_T}$ac_cv_header_stat_broken" >&6
|
3800 |
|
|
if test $ac_cv_header_stat_broken = yes; then
|
3801 |
7 |
jrydberg |
|
3802 |
1242 |
hpanther |
cat >>confdefs.h <<\_ACEOF
|
3803 |
7 |
jrydberg |
#define STAT_MACROS_BROKEN 1
|
3804 |
1242 |
hpanther |
_ACEOF
|
3805 |
7 |
jrydberg |
|
3806 |
|
|
fi
|
3807 |
|
|
|
3808 |
1242 |
hpanther |
|
3809 |
|
|
|
3810 |
|
|
|
3811 |
|
|
|
3812 |
|
|
|
3813 |
7 |
jrydberg |
ac_header_dirent=no
|
3814 |
1242 |
hpanther |
for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
|
3815 |
|
|
as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
|
3816 |
|
|
echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
|
3817 |
|
|
echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
|
3818 |
|
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then
|
3819 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
3820 |
7 |
jrydberg |
else
|
3821 |
1242 |
hpanther |
cat >conftest.$ac_ext <<_ACEOF
|
3822 |
|
|
#line $LINENO "configure"
|
3823 |
|
|
/* confdefs.h. */
|
3824 |
|
|
_ACEOF
|
3825 |
|
|
cat confdefs.h >>conftest.$ac_ext
|
3826 |
|
|
cat >>conftest.$ac_ext <<_ACEOF
|
3827 |
|
|
/* end confdefs.h. */
|
3828 |
7 |
jrydberg |
#include
|
3829 |
|
|
#include <$ac_hdr>
|
3830 |
1242 |
hpanther |
|
3831 |
|
|
int
|
3832 |
|
|
main ()
|
3833 |
|
|
{
|
3834 |
|
|
if ((DIR *) 0)
|
3835 |
|
|
return 0;
|
3836 |
|
|
;
|
3837 |
|
|
return 0;
|
3838 |
|
|
}
|
3839 |
|
|
_ACEOF
|
3840 |
|
|
rm -f conftest.$ac_objext
|
3841 |
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
3842 |
|
|
(eval $ac_compile) 2>&5
|
3843 |
|
|
ac_status=$?
|
3844 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3845 |
|
|
(exit $ac_status); } &&
|
3846 |
|
|
{ ac_try='test -s conftest.$ac_objext'
|
3847 |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
3848 |
|
|
(eval $ac_try) 2>&5
|
3849 |
|
|
ac_status=$?
|
3850 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3851 |
|
|
(exit $ac_status); }; }; then
|
3852 |
|
|
eval "$as_ac_Header=yes"
|
3853 |
7 |
jrydberg |
else
|
3854 |
1242 |
hpanther |
echo "$as_me: failed program was:" >&5
|
3855 |
|
|
sed 's/^/| /' conftest.$ac_ext >&5
|
3856 |
|
|
|
3857 |
|
|
eval "$as_ac_Header=no"
|
3858 |
7 |
jrydberg |
fi
|
3859 |
1242 |
hpanther |
rm -f conftest.$ac_objext conftest.$ac_ext
|
3860 |
7 |
jrydberg |
fi
|
3861 |
1242 |
hpanther |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
|
3862 |
|
|
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
|
3863 |
|
|
if test `eval echo '${'$as_ac_Header'}'` = yes; then
|
3864 |
|
|
cat >>confdefs.h <<_ACEOF
|
3865 |
|
|
#define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
|
3866 |
|
|
_ACEOF
|
3867 |
|
|
|
3868 |
|
|
ac_header_dirent=$ac_hdr; break
|
3869 |
7 |
jrydberg |
fi
|
3870 |
1242 |
hpanther |
|
3871 |
7 |
jrydberg |
done
|
3872 |
|
|
# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
|
3873 |
|
|
if test $ac_header_dirent = dirent.h; then
|
3874 |
1242 |
hpanther |
echo "$as_me:$LINENO: checking for library containing opendir" >&5
|
3875 |
|
|
echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
|
3876 |
|
|
if test "${ac_cv_search_opendir+set}" = set; then
|
3877 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
3878 |
7 |
jrydberg |
else
|
3879 |
1242 |
hpanther |
ac_func_search_save_LIBS=$LIBS
|
3880 |
|
|
ac_cv_search_opendir=no
|
3881 |
|
|
cat >conftest.$ac_ext <<_ACEOF
|
3882 |
|
|
#line $LINENO "configure"
|
3883 |
|
|
/* confdefs.h. */
|
3884 |
|
|
_ACEOF
|
3885 |
|
|
cat confdefs.h >>conftest.$ac_ext
|
3886 |
|
|
cat >>conftest.$ac_ext <<_ACEOF
|
3887 |
|
|
/* end confdefs.h. */
|
3888 |
|
|
|
3889 |
7 |
jrydberg |
/* Override any gcc2 internal prototype to avoid an error. */
|
3890 |
1242 |
hpanther |
#ifdef __cplusplus
|
3891 |
|
|
extern "C"
|
3892 |
|
|
#endif
|
3893 |
7 |
jrydberg |
/* We use char because int might match the return type of a gcc2
|
3894 |
1242 |
hpanther |
builtin and then its argument prototype would still apply. */
|
3895 |
|
|
char opendir ();
|
3896 |
|
|
int
|
3897 |
|
|
main ()
|
3898 |
|
|
{
|
3899 |
|
|
opendir ();
|
3900 |
|
|
;
|
3901 |
|
|
return 0;
|
3902 |
|
|
}
|
3903 |
|
|
_ACEOF
|
3904 |
|
|
rm -f conftest.$ac_objext conftest$ac_exeext
|
3905 |
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
3906 |
|
|
(eval $ac_link) 2>&5
|
3907 |
|
|
ac_status=$?
|
3908 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3909 |
|
|
(exit $ac_status); } &&
|
3910 |
|
|
{ ac_try='test -s conftest$ac_exeext'
|
3911 |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
3912 |
|
|
(eval $ac_try) 2>&5
|
3913 |
|
|
ac_status=$?
|
3914 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3915 |
|
|
(exit $ac_status); }; }; then
|
3916 |
|
|
ac_cv_search_opendir="none required"
|
3917 |
|
|
else
|
3918 |
|
|
echo "$as_me: failed program was:" >&5
|
3919 |
|
|
sed 's/^/| /' conftest.$ac_ext >&5
|
3920 |
7 |
jrydberg |
|
3921 |
|
|
fi
|
3922 |
1242 |
hpanther |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
|
3923 |
|
|
if test "$ac_cv_search_opendir" = no; then
|
3924 |
|
|
for ac_lib in dir; do
|
3925 |
|
|
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
|
3926 |
|
|
cat >conftest.$ac_ext <<_ACEOF
|
3927 |
|
|
#line $LINENO "configure"
|
3928 |
|
|
/* confdefs.h. */
|
3929 |
|
|
_ACEOF
|
3930 |
|
|
cat confdefs.h >>conftest.$ac_ext
|
3931 |
|
|
cat >>conftest.$ac_ext <<_ACEOF
|
3932 |
|
|
/* end confdefs.h. */
|
3933 |
7 |
jrydberg |
|
3934 |
1242 |
hpanther |
/* Override any gcc2 internal prototype to avoid an error. */
|
3935 |
|
|
#ifdef __cplusplus
|
3936 |
|
|
extern "C"
|
3937 |
|
|
#endif
|
3938 |
|
|
/* We use char because int might match the return type of a gcc2
|
3939 |
|
|
builtin and then its argument prototype would still apply. */
|
3940 |
|
|
char opendir ();
|
3941 |
|
|
int
|
3942 |
|
|
main ()
|
3943 |
|
|
{
|
3944 |
|
|
opendir ();
|
3945 |
|
|
;
|
3946 |
|
|
return 0;
|
3947 |
|
|
}
|
3948 |
|
|
_ACEOF
|
3949 |
|
|
rm -f conftest.$ac_objext conftest$ac_exeext
|
3950 |
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
3951 |
|
|
(eval $ac_link) 2>&5
|
3952 |
|
|
ac_status=$?
|
3953 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3954 |
|
|
(exit $ac_status); } &&
|
3955 |
|
|
{ ac_try='test -s conftest$ac_exeext'
|
3956 |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
3957 |
|
|
(eval $ac_try) 2>&5
|
3958 |
|
|
ac_status=$?
|
3959 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3960 |
|
|
(exit $ac_status); }; }; then
|
3961 |
|
|
ac_cv_search_opendir="-l$ac_lib"
|
3962 |
|
|
break
|
3963 |
7 |
jrydberg |
else
|
3964 |
1242 |
hpanther |
echo "$as_me: failed program was:" >&5
|
3965 |
|
|
sed 's/^/| /' conftest.$ac_ext >&5
|
3966 |
|
|
|
3967 |
7 |
jrydberg |
fi
|
3968 |
1242 |
hpanther |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
|
3969 |
|
|
done
|
3970 |
|
|
fi
|
3971 |
|
|
LIBS=$ac_func_search_save_LIBS
|
3972 |
|
|
fi
|
3973 |
|
|
echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
|
3974 |
|
|
echo "${ECHO_T}$ac_cv_search_opendir" >&6
|
3975 |
|
|
if test "$ac_cv_search_opendir" != no; then
|
3976 |
|
|
test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
|
3977 |
7 |
jrydberg |
|
3978 |
1242 |
hpanther |
fi
|
3979 |
|
|
|
3980 |
7 |
jrydberg |
else
|
3981 |
1242 |
hpanther |
echo "$as_me:$LINENO: checking for library containing opendir" >&5
|
3982 |
|
|
echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
|
3983 |
|
|
if test "${ac_cv_search_opendir+set}" = set; then
|
3984 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
3985 |
7 |
jrydberg |
else
|
3986 |
1242 |
hpanther |
ac_func_search_save_LIBS=$LIBS
|
3987 |
|
|
ac_cv_search_opendir=no
|
3988 |
|
|
cat >conftest.$ac_ext <<_ACEOF
|
3989 |
|
|
#line $LINENO "configure"
|
3990 |
|
|
/* confdefs.h. */
|
3991 |
|
|
_ACEOF
|
3992 |
|
|
cat confdefs.h >>conftest.$ac_ext
|
3993 |
|
|
cat >>conftest.$ac_ext <<_ACEOF
|
3994 |
|
|
/* end confdefs.h. */
|
3995 |
|
|
|
3996 |
7 |
jrydberg |
/* Override any gcc2 internal prototype to avoid an error. */
|
3997 |
1242 |
hpanther |
#ifdef __cplusplus
|
3998 |
|
|
extern "C"
|
3999 |
|
|
#endif
|
4000 |
7 |
jrydberg |
/* We use char because int might match the return type of a gcc2
|
4001 |
1242 |
hpanther |
builtin and then its argument prototype would still apply. */
|
4002 |
|
|
char opendir ();
|
4003 |
|
|
int
|
4004 |
|
|
main ()
|
4005 |
|
|
{
|
4006 |
|
|
opendir ();
|
4007 |
|
|
;
|
4008 |
|
|
return 0;
|
4009 |
|
|
}
|
4010 |
|
|
_ACEOF
|
4011 |
|
|
rm -f conftest.$ac_objext conftest$ac_exeext
|
4012 |
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
4013 |
|
|
(eval $ac_link) 2>&5
|
4014 |
|
|
ac_status=$?
|
4015 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4016 |
|
|
(exit $ac_status); } &&
|
4017 |
|
|
{ ac_try='test -s conftest$ac_exeext'
|
4018 |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
4019 |
|
|
(eval $ac_try) 2>&5
|
4020 |
|
|
ac_status=$?
|
4021 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4022 |
|
|
(exit $ac_status); }; }; then
|
4023 |
|
|
ac_cv_search_opendir="none required"
|
4024 |
|
|
else
|
4025 |
|
|
echo "$as_me: failed program was:" >&5
|
4026 |
|
|
sed 's/^/| /' conftest.$ac_ext >&5
|
4027 |
7 |
jrydberg |
|
4028 |
|
|
fi
|
4029 |
1242 |
hpanther |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
|
4030 |
|
|
if test "$ac_cv_search_opendir" = no; then
|
4031 |
|
|
for ac_lib in x; do
|
4032 |
|
|
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
|
4033 |
|
|
cat >conftest.$ac_ext <<_ACEOF
|
4034 |
|
|
#line $LINENO "configure"
|
4035 |
|
|
/* confdefs.h. */
|
4036 |
|
|
_ACEOF
|
4037 |
|
|
cat confdefs.h >>conftest.$ac_ext
|
4038 |
|
|
cat >>conftest.$ac_ext <<_ACEOF
|
4039 |
|
|
/* end confdefs.h. */
|
4040 |
7 |
jrydberg |
|
4041 |
1242 |
hpanther |
/* Override any gcc2 internal prototype to avoid an error. */
|
4042 |
|
|
#ifdef __cplusplus
|
4043 |
|
|
extern "C"
|
4044 |
|
|
#endif
|
4045 |
|
|
/* We use char because int might match the return type of a gcc2
|
4046 |
|
|
builtin and then its argument prototype would still apply. */
|
4047 |
|
|
char opendir ();
|
4048 |
|
|
int
|
4049 |
|
|
main ()
|
4050 |
|
|
{
|
4051 |
|
|
opendir ();
|
4052 |
|
|
;
|
4053 |
|
|
return 0;
|
4054 |
|
|
}
|
4055 |
|
|
_ACEOF
|
4056 |
|
|
rm -f conftest.$ac_objext conftest$ac_exeext
|
4057 |
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
4058 |
|
|
(eval $ac_link) 2>&5
|
4059 |
|
|
ac_status=$?
|
4060 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4061 |
|
|
(exit $ac_status); } &&
|
4062 |
|
|
{ ac_try='test -s conftest$ac_exeext'
|
4063 |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
4064 |
|
|
(eval $ac_try) 2>&5
|
4065 |
|
|
ac_status=$?
|
4066 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4067 |
|
|
(exit $ac_status); }; }; then
|
4068 |
|
|
ac_cv_search_opendir="-l$ac_lib"
|
4069 |
|
|
break
|
4070 |
7 |
jrydberg |
else
|
4071 |
1242 |
hpanther |
echo "$as_me: failed program was:" >&5
|
4072 |
|
|
sed 's/^/| /' conftest.$ac_ext >&5
|
4073 |
|
|
|
4074 |
7 |
jrydberg |
fi
|
4075 |
1242 |
hpanther |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
|
4076 |
|
|
done
|
4077 |
|
|
fi
|
4078 |
|
|
LIBS=$ac_func_search_save_LIBS
|
4079 |
|
|
fi
|
4080 |
|
|
echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
|
4081 |
|
|
echo "${ECHO_T}$ac_cv_search_opendir" >&6
|
4082 |
|
|
if test "$ac_cv_search_opendir" != no; then
|
4083 |
|
|
test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
|
4084 |
7 |
jrydberg |
|
4085 |
|
|
fi
|
4086 |
|
|
|
4087 |
1242 |
hpanther |
fi
|
4088 |
|
|
|
4089 |
|
|
|
4090 |
|
|
|
4091 |
|
|
|
4092 |
|
|
|
4093 |
|
|
|
4094 |
|
|
|
4095 |
|
|
|
4096 |
7 |
jrydberg |
for ac_func in strcasecmp select setenv putenv tcgetattr setlocale lstat
|
4097 |
|
|
do
|
4098 |
1242 |
hpanther |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
4099 |
|
|
echo "$as_me:$LINENO: checking for $ac_func" >&5
|
4100 |
|
|
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
|
4101 |
|
|
if eval "test \"\${$as_ac_var+set}\" = set"; then
|
4102 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
4103 |
7 |
jrydberg |
else
|
4104 |
1242 |
hpanther |
cat >conftest.$ac_ext <<_ACEOF
|
4105 |
|
|
#line $LINENO "configure"
|
4106 |
|
|
/* confdefs.h. */
|
4107 |
|
|
_ACEOF
|
4108 |
|
|
cat confdefs.h >>conftest.$ac_ext
|
4109 |
|
|
cat >>conftest.$ac_ext <<_ACEOF
|
4110 |
|
|
/* end confdefs.h. */
|
4111 |
7 |
jrydberg |
/* System header to define __stub macros and hopefully few prototypes,
|
4112 |
1242 |
hpanther |
which can conflict with char $ac_func (); below.
|
4113 |
|
|
Prefer to if __STDC__ is defined, since
|
4114 |
|
|
exists even on freestanding compilers. */
|
4115 |
|
|
#ifdef __STDC__
|
4116 |
|
|
# include
|
4117 |
|
|
#else
|
4118 |
|
|
# include
|
4119 |
|
|
#endif
|
4120 |
7 |
jrydberg |
/* Override any gcc2 internal prototype to avoid an error. */
|
4121 |
1242 |
hpanther |
#ifdef __cplusplus
|
4122 |
|
|
extern "C"
|
4123 |
|
|
{
|
4124 |
|
|
#endif
|
4125 |
7 |
jrydberg |
/* We use char because int might match the return type of a gcc2
|
4126 |
1242 |
hpanther |
builtin and then its argument prototype would still apply. */
|
4127 |
|
|
char $ac_func ();
|
4128 |
|
|
/* The GNU C library defines this for functions which it implements
|
4129 |
|
|
to always fail with ENOSYS. Some functions are actually named
|
4130 |
|
|
something starting with __ and the normal name is an alias. */
|
4131 |
|
|
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
|
4132 |
|
|
choke me
|
4133 |
|
|
#else
|
4134 |
|
|
char (*f) () = $ac_func;
|
4135 |
|
|
#endif
|
4136 |
|
|
#ifdef __cplusplus
|
4137 |
|
|
}
|
4138 |
|
|
#endif
|
4139 |
7 |
jrydberg |
|
4140 |
1242 |
hpanther |
int
|
4141 |
|
|
main ()
|
4142 |
|
|
{
|
4143 |
|
|
return f != $ac_func;
|
4144 |
|
|
;
|
4145 |
|
|
return 0;
|
4146 |
|
|
}
|
4147 |
|
|
_ACEOF
|
4148 |
|
|
rm -f conftest.$ac_objext conftest$ac_exeext
|
4149 |
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
4150 |
|
|
(eval $ac_link) 2>&5
|
4151 |
|
|
ac_status=$?
|
4152 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4153 |
|
|
(exit $ac_status); } &&
|
4154 |
|
|
{ ac_try='test -s conftest$ac_exeext'
|
4155 |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
4156 |
|
|
(eval $ac_try) 2>&5
|
4157 |
|
|
ac_status=$?
|
4158 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4159 |
|
|
(exit $ac_status); }; }; then
|
4160 |
|
|
eval "$as_ac_var=yes"
|
4161 |
|
|
else
|
4162 |
|
|
echo "$as_me: failed program was:" >&5
|
4163 |
|
|
sed 's/^/| /' conftest.$ac_ext >&5
|
4164 |
7 |
jrydberg |
|
4165 |
1242 |
hpanther |
eval "$as_ac_var=no"
|
4166 |
|
|
fi
|
4167 |
|
|
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
|
4168 |
|
|
fi
|
4169 |
|
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
|
4170 |
|
|
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
|
4171 |
|
|
if test `eval echo '${'$as_ac_var'}'` = yes; then
|
4172 |
|
|
cat >>confdefs.h <<_ACEOF
|
4173 |
|
|
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
|
4174 |
|
|
_ACEOF
|
4175 |
|
|
|
4176 |
|
|
fi
|
4177 |
|
|
done
|
4178 |
|
|
|
4179 |
|
|
|
4180 |
|
|
|
4181 |
|
|
|
4182 |
|
|
|
4183 |
|
|
|
4184 |
|
|
for ac_func in strndup grantpt unlockpt ptsname on_exit
|
4185 |
|
|
do
|
4186 |
|
|
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
4187 |
|
|
echo "$as_me:$LINENO: checking for $ac_func" >&5
|
4188 |
|
|
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
|
4189 |
|
|
if eval "test \"\${$as_ac_var+set}\" = set"; then
|
4190 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
4191 |
|
|
else
|
4192 |
|
|
cat >conftest.$ac_ext <<_ACEOF
|
4193 |
|
|
#line $LINENO "configure"
|
4194 |
|
|
/* confdefs.h. */
|
4195 |
|
|
_ACEOF
|
4196 |
|
|
cat confdefs.h >>conftest.$ac_ext
|
4197 |
|
|
cat >>conftest.$ac_ext <<_ACEOF
|
4198 |
|
|
/* end confdefs.h. */
|
4199 |
|
|
/* System header to define __stub macros and hopefully few prototypes,
|
4200 |
|
|
which can conflict with char $ac_func (); below.
|
4201 |
|
|
Prefer to if __STDC__ is defined, since
|
4202 |
|
|
exists even on freestanding compilers. */
|
4203 |
|
|
#ifdef __STDC__
|
4204 |
|
|
# include
|
4205 |
|
|
#else
|
4206 |
|
|
# include
|
4207 |
|
|
#endif
|
4208 |
|
|
/* Override any gcc2 internal prototype to avoid an error. */
|
4209 |
|
|
#ifdef __cplusplus
|
4210 |
|
|
extern "C"
|
4211 |
|
|
{
|
4212 |
|
|
#endif
|
4213 |
|
|
/* We use char because int might match the return type of a gcc2
|
4214 |
|
|
builtin and then its argument prototype would still apply. */
|
4215 |
|
|
char $ac_func ();
|
4216 |
7 |
jrydberg |
/* The GNU C library defines this for functions which it implements
|
4217 |
|
|
to always fail with ENOSYS. Some functions are actually named
|
4218 |
|
|
something starting with __ and the normal name is an alias. */
|
4219 |
|
|
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
|
4220 |
|
|
choke me
|
4221 |
|
|
#else
|
4222 |
1242 |
hpanther |
char (*f) () = $ac_func;
|
4223 |
7 |
jrydberg |
#endif
|
4224 |
1242 |
hpanther |
#ifdef __cplusplus
|
4225 |
|
|
}
|
4226 |
|
|
#endif
|
4227 |
7 |
jrydberg |
|
4228 |
1242 |
hpanther |
int
|
4229 |
|
|
main ()
|
4230 |
|
|
{
|
4231 |
|
|
return f != $ac_func;
|
4232 |
|
|
;
|
4233 |
|
|
return 0;
|
4234 |
|
|
}
|
4235 |
|
|
_ACEOF
|
4236 |
|
|
rm -f conftest.$ac_objext conftest$ac_exeext
|
4237 |
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
4238 |
|
|
(eval $ac_link) 2>&5
|
4239 |
|
|
ac_status=$?
|
4240 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4241 |
|
|
(exit $ac_status); } &&
|
4242 |
|
|
{ ac_try='test -s conftest$ac_exeext'
|
4243 |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
4244 |
|
|
(eval $ac_try) 2>&5
|
4245 |
|
|
ac_status=$?
|
4246 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4247 |
|
|
(exit $ac_status); }; }; then
|
4248 |
|
|
eval "$as_ac_var=yes"
|
4249 |
7 |
jrydberg |
else
|
4250 |
1242 |
hpanther |
echo "$as_me: failed program was:" >&5
|
4251 |
|
|
sed 's/^/| /' conftest.$ac_ext >&5
|
4252 |
|
|
|
4253 |
|
|
eval "$as_ac_var=no"
|
4254 |
7 |
jrydberg |
fi
|
4255 |
1242 |
hpanther |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
|
4256 |
7 |
jrydberg |
fi
|
4257 |
1242 |
hpanther |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
|
4258 |
|
|
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
|
4259 |
|
|
if test `eval echo '${'$as_ac_var'}'` = yes; then
|
4260 |
|
|
cat >>confdefs.h <<_ACEOF
|
4261 |
|
|
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
|
4262 |
|
|
_ACEOF
|
4263 |
7 |
jrydberg |
|
4264 |
|
|
fi
|
4265 |
|
|
done
|
4266 |
|
|
|
4267 |
1242 |
hpanther |
echo "$as_me:$LINENO: checking for working strcoll" >&5
|
4268 |
|
|
echo $ECHO_N "checking for working strcoll... $ECHO_C" >&6
|
4269 |
|
|
if test "${ac_cv_func_strcoll_works+set}" = set; then
|
4270 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
4271 |
7 |
jrydberg |
else
|
4272 |
|
|
if test "$cross_compiling" = yes; then
|
4273 |
|
|
ac_cv_func_strcoll_works=no
|
4274 |
|
|
else
|
4275 |
1242 |
hpanther |
cat >conftest.$ac_ext <<_ACEOF
|
4276 |
|
|
#line $LINENO "configure"
|
4277 |
|
|
/* confdefs.h. */
|
4278 |
|
|
_ACEOF
|
4279 |
|
|
cat confdefs.h >>conftest.$ac_ext
|
4280 |
|
|
cat >>conftest.$ac_ext <<_ACEOF
|
4281 |
|
|
/* end confdefs.h. */
|
4282 |
|
|
$ac_includes_default
|
4283 |
|
|
int
|
4284 |
7 |
jrydberg |
main ()
|
4285 |
|
|
{
|
4286 |
1242 |
hpanther |
exit (strcoll ("abc", "def") >= 0 ||
|
4287 |
|
|
strcoll ("ABC", "DEF") >= 0 ||
|
4288 |
|
|
strcoll ("123", "456") >= 0)
|
4289 |
|
|
;
|
4290 |
|
|
return 0;
|
4291 |
7 |
jrydberg |
}
|
4292 |
1242 |
hpanther |
_ACEOF
|
4293 |
|
|
rm -f conftest$ac_exeext
|
4294 |
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
4295 |
|
|
(eval $ac_link) 2>&5
|
4296 |
|
|
ac_status=$?
|
4297 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4298 |
|
|
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
|
4299 |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
4300 |
|
|
(eval $ac_try) 2>&5
|
4301 |
|
|
ac_status=$?
|
4302 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4303 |
|
|
(exit $ac_status); }; }; then
|
4304 |
7 |
jrydberg |
ac_cv_func_strcoll_works=yes
|
4305 |
|
|
else
|
4306 |
1242 |
hpanther |
echo "$as_me: program exited with status $ac_status" >&5
|
4307 |
|
|
echo "$as_me: failed program was:" >&5
|
4308 |
|
|
sed 's/^/| /' conftest.$ac_ext >&5
|
4309 |
|
|
|
4310 |
|
|
( exit $ac_status )
|
4311 |
|
|
ac_cv_func_strcoll_works=no
|
4312 |
7 |
jrydberg |
fi
|
4313 |
1242 |
hpanther |
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
4314 |
7 |
jrydberg |
fi
|
4315 |
|
|
fi
|
4316 |
1242 |
hpanther |
echo "$as_me:$LINENO: result: $ac_cv_func_strcoll_works" >&5
|
4317 |
|
|
echo "${ECHO_T}$ac_cv_func_strcoll_works" >&6
|
4318 |
|
|
if test $ac_cv_func_strcoll_works = yes; then
|
4319 |
7 |
jrydberg |
|
4320 |
1242 |
hpanther |
cat >>confdefs.h <<\_ACEOF
|
4321 |
7 |
jrydberg |
#define HAVE_STRCOLL 1
|
4322 |
1242 |
hpanther |
_ACEOF
|
4323 |
7 |
jrydberg |
|
4324 |
|
|
fi
|
4325 |
|
|
|
4326 |
1242 |
hpanther |
|
4327 |
|
|
|
4328 |
|
|
|
4329 |
|
|
|
4330 |
|
|
|
4331 |
|
|
|
4332 |
|
|
|
4333 |
|
|
|
4334 |
|
|
|
4335 |
|
|
|
4336 |
|
|
|
4337 |
|
|
|
4338 |
|
|
|
4339 |
|
|
|
4340 |
|
|
|
4341 |
|
|
|
4342 |
|
|
|
4343 |
|
|
for ac_header in unistd.h stdlib.h varargs.h stdarg.h string.h \
|
4344 |
|
|
sys/ptem.h sys/pte.h sys/stream.h sys/stropts.h sys/select.h \
|
4345 |
345 |
erez |
termcap.h termios.h termio.h sys/file.h locale.h\
|
4346 |
1242 |
hpanther |
net/ethernet.h malloc.h
|
4347 |
7 |
jrydberg |
do
|
4348 |
1242 |
hpanther |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
4349 |
|
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then
|
4350 |
|
|
echo "$as_me:$LINENO: checking for $ac_header" >&5
|
4351 |
|
|
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
|
4352 |
|
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then
|
4353 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
4354 |
|
|
fi
|
4355 |
|
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
|
4356 |
|
|
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
|
4357 |
7 |
jrydberg |
else
|
4358 |
1242 |
hpanther |
# Is the header compilable?
|
4359 |
|
|
echo "$as_me:$LINENO: checking $ac_header usability" >&5
|
4360 |
|
|
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
|
4361 |
|
|
cat >conftest.$ac_ext <<_ACEOF
|
4362 |
|
|
#line $LINENO "configure"
|
4363 |
|
|
/* confdefs.h. */
|
4364 |
|
|
_ACEOF
|
4365 |
|
|
cat confdefs.h >>conftest.$ac_ext
|
4366 |
|
|
cat >>conftest.$ac_ext <<_ACEOF
|
4367 |
|
|
/* end confdefs.h. */
|
4368 |
|
|
$ac_includes_default
|
4369 |
|
|
#include <$ac_header>
|
4370 |
|
|
_ACEOF
|
4371 |
|
|
rm -f conftest.$ac_objext
|
4372 |
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
4373 |
|
|
(eval $ac_compile) 2>&5
|
4374 |
|
|
ac_status=$?
|
4375 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4376 |
|
|
(exit $ac_status); } &&
|
4377 |
|
|
{ ac_try='test -s conftest.$ac_objext'
|
4378 |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
4379 |
|
|
(eval $ac_try) 2>&5
|
4380 |
|
|
ac_status=$?
|
4381 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4382 |
|
|
(exit $ac_status); }; }; then
|
4383 |
|
|
ac_header_compiler=yes
|
4384 |
7 |
jrydberg |
else
|
4385 |
1242 |
hpanther |
echo "$as_me: failed program was:" >&5
|
4386 |
|
|
sed 's/^/| /' conftest.$ac_ext >&5
|
4387 |
|
|
|
4388 |
|
|
ac_header_compiler=no
|
4389 |
7 |
jrydberg |
fi
|
4390 |
1242 |
hpanther |
rm -f conftest.$ac_objext conftest.$ac_ext
|
4391 |
|
|
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
|
4392 |
|
|
echo "${ECHO_T}$ac_header_compiler" >&6
|
4393 |
|
|
|
4394 |
|
|
# Is the header present?
|
4395 |
|
|
echo "$as_me:$LINENO: checking $ac_header presence" >&5
|
4396 |
|
|
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
|
4397 |
|
|
cat >conftest.$ac_ext <<_ACEOF
|
4398 |
|
|
#line $LINENO "configure"
|
4399 |
|
|
/* confdefs.h. */
|
4400 |
|
|
_ACEOF
|
4401 |
|
|
cat confdefs.h >>conftest.$ac_ext
|
4402 |
|
|
cat >>conftest.$ac_ext <<_ACEOF
|
4403 |
|
|
/* end confdefs.h. */
|
4404 |
|
|
#include <$ac_header>
|
4405 |
|
|
_ACEOF
|
4406 |
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
|
4407 |
|
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
|
4408 |
|
|
ac_status=$?
|
4409 |
|
|
grep -v '^ *+' conftest.er1 >conftest.err
|
4410 |
|
|
rm -f conftest.er1
|
4411 |
|
|
cat conftest.err >&5
|
4412 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4413 |
|
|
(exit $ac_status); } >/dev/null; then
|
4414 |
|
|
if test -s conftest.err; then
|
4415 |
|
|
ac_cpp_err=$ac_c_preproc_warn_flag
|
4416 |
|
|
else
|
4417 |
|
|
ac_cpp_err=
|
4418 |
|
|
fi
|
4419 |
|
|
else
|
4420 |
|
|
ac_cpp_err=yes
|
4421 |
7 |
jrydberg |
fi
|
4422 |
1242 |
hpanther |
if test -z "$ac_cpp_err"; then
|
4423 |
|
|
ac_header_preproc=yes
|
4424 |
7 |
jrydberg |
else
|
4425 |
1242 |
hpanther |
echo "$as_me: failed program was:" >&5
|
4426 |
|
|
sed 's/^/| /' conftest.$ac_ext >&5
|
4427 |
|
|
|
4428 |
|
|
ac_header_preproc=no
|
4429 |
7 |
jrydberg |
fi
|
4430 |
1242 |
hpanther |
rm -f conftest.err conftest.$ac_ext
|
4431 |
|
|
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
|
4432 |
|
|
echo "${ECHO_T}$ac_header_preproc" >&6
|
4433 |
|
|
|
4434 |
|
|
# So? What about this header?
|
4435 |
|
|
case $ac_header_compiler:$ac_header_preproc in
|
4436 |
|
|
yes:no )
|
4437 |
|
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
|
4438 |
|
|
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
4439 |
|
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
|
4440 |
|
|
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
|
4441 |
|
|
(
|
4442 |
|
|
cat <<\_ASBOX
|
4443 |
|
|
## ------------------------------------ ##
|
4444 |
|
|
## Report this to bug-autoconf@gnu.org. ##
|
4445 |
|
|
## ------------------------------------ ##
|
4446 |
|
|
_ASBOX
|
4447 |
|
|
) |
|
4448 |
|
|
sed "s/^/$as_me: WARNING: /" >&2
|
4449 |
|
|
;;
|
4450 |
|
|
no:yes )
|
4451 |
|
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
|
4452 |
|
|
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
|
4453 |
|
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
|
4454 |
|
|
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
|
4455 |
|
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
|
4456 |
|
|
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
|
4457 |
|
|
(
|
4458 |
|
|
cat <<\_ASBOX
|
4459 |
|
|
## ------------------------------------ ##
|
4460 |
|
|
## Report this to bug-autoconf@gnu.org. ##
|
4461 |
|
|
## ------------------------------------ ##
|
4462 |
|
|
_ASBOX
|
4463 |
|
|
) |
|
4464 |
|
|
sed "s/^/$as_me: WARNING: /" >&2
|
4465 |
|
|
;;
|
4466 |
|
|
esac
|
4467 |
|
|
echo "$as_me:$LINENO: checking for $ac_header" >&5
|
4468 |
|
|
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
|
4469 |
|
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then
|
4470 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
4471 |
|
|
else
|
4472 |
|
|
eval "$as_ac_Header=$ac_header_preproc"
|
4473 |
|
|
fi
|
4474 |
|
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
|
4475 |
|
|
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
|
4476 |
|
|
|
4477 |
|
|
fi
|
4478 |
|
|
if test `eval echo '${'$as_ac_Header'}'` = yes; then
|
4479 |
|
|
cat >>confdefs.h <<_ACEOF
|
4480 |
|
|
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
4481 |
|
|
_ACEOF
|
4482 |
|
|
|
4483 |
|
|
fi
|
4484 |
|
|
|
4485 |
7 |
jrydberg |
done
|
4486 |
|
|
|
4487 |
1242 |
hpanther |
echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
|
4488 |
|
|
echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
|
4489 |
|
|
if test "${ac_cv_c_bigendian+set}" = set; then
|
4490 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
4491 |
|
|
else
|
4492 |
|
|
# See if sys/param.h defines the BYTE_ORDER macro.
|
4493 |
|
|
cat >conftest.$ac_ext <<_ACEOF
|
4494 |
|
|
#line $LINENO "configure"
|
4495 |
|
|
/* confdefs.h. */
|
4496 |
|
|
_ACEOF
|
4497 |
|
|
cat confdefs.h >>conftest.$ac_ext
|
4498 |
|
|
cat >>conftest.$ac_ext <<_ACEOF
|
4499 |
|
|
/* end confdefs.h. */
|
4500 |
|
|
#include
|
4501 |
|
|
#include
|
4502 |
7 |
jrydberg |
|
4503 |
1242 |
hpanther |
int
|
4504 |
|
|
main ()
|
4505 |
|
|
{
|
4506 |
|
|
#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
|
4507 |
|
|
bogus endian macros
|
4508 |
|
|
#endif
|
4509 |
202 |
erez |
|
4510 |
1242 |
hpanther |
;
|
4511 |
|
|
return 0;
|
4512 |
|
|
}
|
4513 |
|
|
_ACEOF
|
4514 |
|
|
rm -f conftest.$ac_objext
|
4515 |
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
4516 |
|
|
(eval $ac_compile) 2>&5
|
4517 |
|
|
ac_status=$?
|
4518 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4519 |
|
|
(exit $ac_status); } &&
|
4520 |
|
|
{ ac_try='test -s conftest.$ac_objext'
|
4521 |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
4522 |
|
|
(eval $ac_try) 2>&5
|
4523 |
|
|
ac_status=$?
|
4524 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4525 |
|
|
(exit $ac_status); }; }; then
|
4526 |
|
|
# It does; now see whether it defined to BIG_ENDIAN or not.
|
4527 |
|
|
cat >conftest.$ac_ext <<_ACEOF
|
4528 |
|
|
#line $LINENO "configure"
|
4529 |
|
|
/* confdefs.h. */
|
4530 |
|
|
_ACEOF
|
4531 |
|
|
cat confdefs.h >>conftest.$ac_ext
|
4532 |
|
|
cat >>conftest.$ac_ext <<_ACEOF
|
4533 |
|
|
/* end confdefs.h. */
|
4534 |
|
|
#include
|
4535 |
|
|
#include
|
4536 |
|
|
|
4537 |
|
|
int
|
4538 |
|
|
main ()
|
4539 |
|
|
{
|
4540 |
|
|
#if BYTE_ORDER != BIG_ENDIAN
|
4541 |
|
|
not big endian
|
4542 |
|
|
#endif
|
4543 |
|
|
|
4544 |
|
|
;
|
4545 |
|
|
return 0;
|
4546 |
|
|
}
|
4547 |
|
|
_ACEOF
|
4548 |
|
|
rm -f conftest.$ac_objext
|
4549 |
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
4550 |
|
|
(eval $ac_compile) 2>&5
|
4551 |
|
|
ac_status=$?
|
4552 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4553 |
|
|
(exit $ac_status); } &&
|
4554 |
|
|
{ ac_try='test -s conftest.$ac_objext'
|
4555 |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
4556 |
|
|
(eval $ac_try) 2>&5
|
4557 |
|
|
ac_status=$?
|
4558 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4559 |
|
|
(exit $ac_status); }; }; then
|
4560 |
|
|
ac_cv_c_bigendian=yes
|
4561 |
|
|
else
|
4562 |
|
|
echo "$as_me: failed program was:" >&5
|
4563 |
|
|
sed 's/^/| /' conftest.$ac_ext >&5
|
4564 |
|
|
|
4565 |
|
|
ac_cv_c_bigendian=no
|
4566 |
|
|
fi
|
4567 |
|
|
rm -f conftest.$ac_objext conftest.$ac_ext
|
4568 |
|
|
else
|
4569 |
|
|
echo "$as_me: failed program was:" >&5
|
4570 |
|
|
sed 's/^/| /' conftest.$ac_ext >&5
|
4571 |
|
|
|
4572 |
|
|
# It does not; compile a test program.
|
4573 |
|
|
if test "$cross_compiling" = yes; then
|
4574 |
|
|
# try to guess the endianness by grepping values into an object file
|
4575 |
|
|
ac_cv_c_bigendian=unknown
|
4576 |
|
|
cat >conftest.$ac_ext <<_ACEOF
|
4577 |
|
|
#line $LINENO "configure"
|
4578 |
|
|
/* confdefs.h. */
|
4579 |
|
|
_ACEOF
|
4580 |
|
|
cat confdefs.h >>conftest.$ac_ext
|
4581 |
|
|
cat >>conftest.$ac_ext <<_ACEOF
|
4582 |
|
|
/* end confdefs.h. */
|
4583 |
|
|
short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
|
4584 |
|
|
short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
|
4585 |
|
|
void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
|
4586 |
|
|
short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
|
4587 |
|
|
short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
|
4588 |
|
|
void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
|
4589 |
|
|
int
|
4590 |
|
|
main ()
|
4591 |
|
|
{
|
4592 |
|
|
_ascii (); _ebcdic ();
|
4593 |
|
|
;
|
4594 |
|
|
return 0;
|
4595 |
|
|
}
|
4596 |
|
|
_ACEOF
|
4597 |
|
|
rm -f conftest.$ac_objext
|
4598 |
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
4599 |
|
|
(eval $ac_compile) 2>&5
|
4600 |
|
|
ac_status=$?
|
4601 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4602 |
|
|
(exit $ac_status); } &&
|
4603 |
|
|
{ ac_try='test -s conftest.$ac_objext'
|
4604 |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
4605 |
|
|
(eval $ac_try) 2>&5
|
4606 |
|
|
ac_status=$?
|
4607 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4608 |
|
|
(exit $ac_status); }; }; then
|
4609 |
|
|
if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
|
4610 |
|
|
ac_cv_c_bigendian=yes
|
4611 |
|
|
fi
|
4612 |
|
|
if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
|
4613 |
|
|
if test "$ac_cv_c_bigendian" = unknown; then
|
4614 |
|
|
ac_cv_c_bigendian=no
|
4615 |
|
|
else
|
4616 |
|
|
# finding both strings is unlikely to happen, but who knows?
|
4617 |
|
|
ac_cv_c_bigendian=unknown
|
4618 |
|
|
fi
|
4619 |
|
|
fi
|
4620 |
|
|
else
|
4621 |
|
|
echo "$as_me: failed program was:" >&5
|
4622 |
|
|
sed 's/^/| /' conftest.$ac_ext >&5
|
4623 |
|
|
|
4624 |
|
|
fi
|
4625 |
|
|
rm -f conftest.$ac_objext conftest.$ac_ext
|
4626 |
|
|
else
|
4627 |
|
|
cat >conftest.$ac_ext <<_ACEOF
|
4628 |
|
|
#line $LINENO "configure"
|
4629 |
|
|
/* confdefs.h. */
|
4630 |
|
|
_ACEOF
|
4631 |
|
|
cat confdefs.h >>conftest.$ac_ext
|
4632 |
|
|
cat >>conftest.$ac_ext <<_ACEOF
|
4633 |
|
|
/* end confdefs.h. */
|
4634 |
|
|
int
|
4635 |
|
|
main ()
|
4636 |
|
|
{
|
4637 |
|
|
/* Are we little or big endian? From Harbison&Steele. */
|
4638 |
|
|
union
|
4639 |
|
|
{
|
4640 |
|
|
long l;
|
4641 |
|
|
char c[sizeof (long)];
|
4642 |
|
|
} u;
|
4643 |
|
|
u.l = 1;
|
4644 |
|
|
exit (u.c[sizeof (long) - 1] == 1);
|
4645 |
|
|
}
|
4646 |
|
|
_ACEOF
|
4647 |
|
|
rm -f conftest$ac_exeext
|
4648 |
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
4649 |
|
|
(eval $ac_link) 2>&5
|
4650 |
|
|
ac_status=$?
|
4651 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4652 |
|
|
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
|
4653 |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
4654 |
|
|
(eval $ac_try) 2>&5
|
4655 |
|
|
ac_status=$?
|
4656 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4657 |
|
|
(exit $ac_status); }; }; then
|
4658 |
|
|
ac_cv_c_bigendian=no
|
4659 |
|
|
else
|
4660 |
|
|
echo "$as_me: program exited with status $ac_status" >&5
|
4661 |
|
|
echo "$as_me: failed program was:" >&5
|
4662 |
|
|
sed 's/^/| /' conftest.$ac_ext >&5
|
4663 |
|
|
|
4664 |
|
|
( exit $ac_status )
|
4665 |
|
|
ac_cv_c_bigendian=yes
|
4666 |
|
|
fi
|
4667 |
|
|
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
4668 |
|
|
fi
|
4669 |
|
|
fi
|
4670 |
|
|
rm -f conftest.$ac_objext conftest.$ac_ext
|
4671 |
|
|
fi
|
4672 |
|
|
echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
|
4673 |
|
|
echo "${ECHO_T}$ac_cv_c_bigendian" >&6
|
4674 |
|
|
case $ac_cv_c_bigendian in
|
4675 |
|
|
yes)
|
4676 |
|
|
|
4677 |
|
|
cat >>confdefs.h <<\_ACEOF
|
4678 |
|
|
#define WORDS_BIGENDIAN 1
|
4679 |
|
|
_ACEOF
|
4680 |
|
|
;;
|
4681 |
|
|
no)
|
4682 |
|
|
;;
|
4683 |
|
|
*)
|
4684 |
|
|
{ { echo "$as_me:$LINENO: error: unknown endianness
|
4685 |
|
|
presetting ac_cv_c_bigendian=no (or yes) will help" >&5
|
4686 |
|
|
echo "$as_me: error: unknown endianness
|
4687 |
|
|
presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
|
4688 |
|
|
{ (exit 1); exit 1; }; } ;;
|
4689 |
|
|
esac
|
4690 |
|
|
|
4691 |
|
|
|
4692 |
|
|
cat >conftest.$ac_ext <<_ACEOF
|
4693 |
|
|
#line $LINENO "configure"
|
4694 |
|
|
/* confdefs.h. */
|
4695 |
|
|
_ACEOF
|
4696 |
|
|
cat confdefs.h >>conftest.$ac_ext
|
4697 |
|
|
cat >>conftest.$ac_ext <<_ACEOF
|
4698 |
|
|
/* end confdefs.h. */
|
4699 |
|
|
|
4700 |
|
|
int
|
4701 |
|
|
main ()
|
4702 |
|
|
{
|
4703 |
202 |
erez |
long long ll; unsigned long long ull;
|
4704 |
1242 |
hpanther |
;
|
4705 |
|
|
return 0;
|
4706 |
|
|
}
|
4707 |
|
|
_ACEOF
|
4708 |
|
|
rm -f conftest.$ac_objext
|
4709 |
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
4710 |
|
|
(eval $ac_compile) 2>&5
|
4711 |
|
|
ac_status=$?
|
4712 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4713 |
|
|
(exit $ac_status); } &&
|
4714 |
|
|
{ ac_try='test -s conftest.$ac_objext'
|
4715 |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
4716 |
|
|
(eval $ac_try) 2>&5
|
4717 |
|
|
ac_status=$?
|
4718 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4719 |
|
|
(exit $ac_status); }; }; then
|
4720 |
|
|
cat >>confdefs.h <<\_ACEOF
|
4721 |
202 |
erez |
#define CC_HAS_LONG_LONG 1
|
4722 |
1242 |
hpanther |
_ACEOF
|
4723 |
202 |
erez |
|
4724 |
|
|
else
|
4725 |
1242 |
hpanther |
echo "$as_me: failed program was:" >&5
|
4726 |
|
|
sed 's/^/| /' conftest.$ac_ext >&5
|
4727 |
|
|
|
4728 |
202 |
erez |
fi
|
4729 |
1242 |
hpanther |
rm -f conftest.$ac_objext conftest.$ac_ext
|
4730 |
202 |
erez |
|
4731 |
17 |
jrydberg |
# Check whether --enable-readline or --disable-readline was given.
|
4732 |
|
|
if test "${enable_readline+set}" = set; then
|
4733 |
|
|
enableval="$enable_readline"
|
4734 |
1242 |
hpanther |
|
4735 |
|
|
echo "$as_me:$LINENO: checking for add_history in -lreadline" >&5
|
4736 |
|
|
echo $ECHO_N "checking for add_history in -lreadline... $ECHO_C" >&6
|
4737 |
|
|
if test "${ac_cv_lib_readline_add_history+set}" = set; then
|
4738 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
4739 |
17 |
jrydberg |
else
|
4740 |
1242 |
hpanther |
ac_check_lib_save_LIBS=$LIBS
|
4741 |
17 |
jrydberg |
LIBS="-lreadline $LIBS"
|
4742 |
1242 |
hpanther |
cat >conftest.$ac_ext <<_ACEOF
|
4743 |
|
|
#line $LINENO "configure"
|
4744 |
|
|
/* confdefs.h. */
|
4745 |
|
|
_ACEOF
|
4746 |
|
|
cat confdefs.h >>conftest.$ac_ext
|
4747 |
|
|
cat >>conftest.$ac_ext <<_ACEOF
|
4748 |
|
|
/* end confdefs.h. */
|
4749 |
|
|
|
4750 |
17 |
jrydberg |
/* Override any gcc2 internal prototype to avoid an error. */
|
4751 |
1242 |
hpanther |
#ifdef __cplusplus
|
4752 |
|
|
extern "C"
|
4753 |
|
|
#endif
|
4754 |
17 |
jrydberg |
/* We use char because int might match the return type of a gcc2
|
4755 |
1242 |
hpanther |
builtin and then its argument prototype would still apply. */
|
4756 |
|
|
char add_history ();
|
4757 |
|
|
int
|
4758 |
|
|
main ()
|
4759 |
|
|
{
|
4760 |
|
|
add_history ();
|
4761 |
|
|
;
|
4762 |
|
|
return 0;
|
4763 |
|
|
}
|
4764 |
|
|
_ACEOF
|
4765 |
|
|
rm -f conftest.$ac_objext conftest$ac_exeext
|
4766 |
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
4767 |
|
|
(eval $ac_link) 2>&5
|
4768 |
|
|
ac_status=$?
|
4769 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4770 |
|
|
(exit $ac_status); } &&
|
4771 |
|
|
{ ac_try='test -s conftest$ac_exeext'
|
4772 |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
4773 |
|
|
(eval $ac_try) 2>&5
|
4774 |
|
|
ac_status=$?
|
4775 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4776 |
|
|
(exit $ac_status); }; }; then
|
4777 |
|
|
ac_cv_lib_readline_add_history=yes
|
4778 |
17 |
jrydberg |
else
|
4779 |
1242 |
hpanther |
echo "$as_me: failed program was:" >&5
|
4780 |
|
|
sed 's/^/| /' conftest.$ac_ext >&5
|
4781 |
17 |
jrydberg |
|
4782 |
1242 |
hpanther |
ac_cv_lib_readline_add_history=no
|
4783 |
17 |
jrydberg |
fi
|
4784 |
1242 |
hpanther |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
|
4785 |
|
|
LIBS=$ac_check_lib_save_LIBS
|
4786 |
|
|
fi
|
4787 |
|
|
echo "$as_me:$LINENO: result: $ac_cv_lib_readline_add_history" >&5
|
4788 |
|
|
echo "${ECHO_T}$ac_cv_lib_readline_add_history" >&6
|
4789 |
|
|
if test $ac_cv_lib_readline_add_history = yes; then
|
4790 |
|
|
cat >>confdefs.h <<_ACEOF
|
4791 |
|
|
#define HAVE_LIBREADLINE 1
|
4792 |
|
|
_ACEOF
|
4793 |
17 |
jrydberg |
|
4794 |
|
|
LIBS="-lreadline $LIBS"
|
4795 |
|
|
|
4796 |
|
|
fi
|
4797 |
|
|
|
4798 |
1242 |
hpanther |
fi;
|
4799 |
17 |
jrydberg |
|
4800 |
7 |
jrydberg |
case "$host_os" in
|
4801 |
|
|
aix*) prefer_curses=yes ;;
|
4802 |
|
|
esac
|
4803 |
|
|
|
4804 |
|
|
case "$host_cpu" in
|
4805 |
|
|
*cray*) LOCAL_CFLAGS=-DCRAY ;;
|
4806 |
|
|
esac
|
4807 |
|
|
|
4808 |
|
|
case "$host_os" in
|
4809 |
|
|
isc*) LOCAL_CFLAGS=-Disc386 ;;
|
4810 |
|
|
esac
|
4811 |
|
|
|
4812 |
132 |
chris |
case "$host_os" in
|
4813 |
|
|
solaris*) LIBS="-lsocket -lnsl" ;;
|
4814 |
|
|
esac
|
4815 |
|
|
|
4816 |
202 |
erez |
|
4817 |
1242 |
hpanther |
echo "$as_me:$LINENO: checking whether to enable profiling" >&5
|
4818 |
|
|
echo $ECHO_N "checking whether to enable profiling... $ECHO_C" >&6
|
4819 |
517 |
markom |
# Check whether --enable-profiling or --disable-profiling was given.
|
4820 |
|
|
if test "${enable_profiling+set}" = set; then
|
4821 |
|
|
enableval="$enable_profiling"
|
4822 |
1242 |
hpanther |
|
4823 |
517 |
markom |
case "$enableval" in
|
4824 |
|
|
yes) profile="-pg -a" ;;
|
4825 |
|
|
esac
|
4826 |
167 |
markom |
|
4827 |
1242 |
hpanther |
fi;
|
4828 |
|
|
echo "$as_me:$LINENO: result: ${enable_profiling-no}" >&5
|
4829 |
|
|
echo "${ECHO_T}${enable_profiling-no}" >&6
|
4830 |
517 |
markom |
|
4831 |
566 |
simons |
fast_sim="0"
|
4832 |
1242 |
hpanther |
echo "$as_me:$LINENO: checking whether to compile fsim" >&5
|
4833 |
|
|
echo $ECHO_N "checking whether to compile fsim... $ECHO_C" >&6
|
4834 |
551 |
markom |
# Check whether --enable-fsim or --disable-fsim was given.
|
4835 |
|
|
if test "${enable_fsim+set}" = set; then
|
4836 |
|
|
enableval="$enable_fsim"
|
4837 |
1242 |
hpanther |
|
4838 |
551 |
markom |
case "$enableval" in
|
4839 |
557 |
markom |
no) fast_sim="0" ;;
|
4840 |
|
|
yes) fast_sim="1" ;;
|
4841 |
551 |
markom |
esac
|
4842 |
|
|
|
4843 |
1242 |
hpanther |
fi;
|
4844 |
|
|
echo "$as_me:$LINENO: result: ${enable_fsim-no}" >&5
|
4845 |
|
|
echo "${ECHO_T}${enable_fsim-no}" >&6
|
4846 |
551 |
markom |
|
4847 |
706 |
markom |
simple_execution="0"
|
4848 |
1242 |
hpanther |
echo "$as_me:$LINENO: checking whether to use simple execution" >&5
|
4849 |
|
|
echo $ECHO_N "checking whether to use simple execution... $ECHO_C" >&6
|
4850 |
706 |
markom |
# Check whether --enable-simple or --disable-simple was given.
|
4851 |
|
|
if test "${enable_simple+set}" = set; then
|
4852 |
|
|
enableval="$enable_simple"
|
4853 |
1242 |
hpanther |
|
4854 |
706 |
markom |
case "$enableval" in
|
4855 |
|
|
no) simple_execution="0" ;;
|
4856 |
|
|
yes) simple_execution="1" ;;
|
4857 |
|
|
esac
|
4858 |
|
|
|
4859 |
1242 |
hpanther |
fi;
|
4860 |
|
|
echo "$as_me:$LINENO: result: ${enable_simple-no}" >&5
|
4861 |
|
|
echo "${ECHO_T}${enable_simple-no}" >&6
|
4862 |
706 |
markom |
|
4863 |
849 |
markom |
eth_phy="0"
|
4864 |
1242 |
hpanther |
echo "$as_me:$LINENO: checking whether to enable ethernet phy emulation" >&5
|
4865 |
|
|
echo $ECHO_N "checking whether to enable ethernet phy emulation... $ECHO_C" >&6
|
4866 |
849 |
markom |
# Check whether --enable-ethphy or --disable-ethphy was given.
|
4867 |
|
|
if test "${enable_ethphy+set}" = set; then
|
4868 |
|
|
enableval="$enable_ethphy"
|
4869 |
1242 |
hpanther |
|
4870 |
849 |
markom |
case "$enableval" in
|
4871 |
|
|
no) eth_phy="0" ;;
|
4872 |
|
|
yes) eth_phy="1" ;;
|
4873 |
|
|
esac
|
4874 |
|
|
|
4875 |
1242 |
hpanther |
fi;
|
4876 |
|
|
echo "$as_me:$LINENO: result: ${enable_eth_phy-no}" >&5
|
4877 |
|
|
echo "${ECHO_T}${enable_eth_phy-no}" >&6
|
4878 |
849 |
markom |
|
4879 |
|
|
|
4880 |
721 |
markom |
raw_range_stats="0"
|
4881 |
1242 |
hpanther |
echo "$as_me:$LINENO: checking whether to use raw range stats" >&5
|
4882 |
|
|
echo $ECHO_N "checking whether to use raw range stats... $ECHO_C" >&6
|
4883 |
721 |
markom |
# Check whether --enable-range_stats or --disable-range_stats was given.
|
4884 |
|
|
if test "${enable_range_stats+set}" = set; then
|
4885 |
|
|
enableval="$enable_range_stats"
|
4886 |
1242 |
hpanther |
|
4887 |
721 |
markom |
case "$enableval" in
|
4888 |
|
|
no) raw_range_stats="0" ;;
|
4889 |
|
|
yes) raw_range_stats="1" simple_execution="1" ;;
|
4890 |
|
|
esac
|
4891 |
|
|
|
4892 |
1242 |
hpanther |
fi;
|
4893 |
|
|
echo "$as_me:$LINENO: result: ${enable_range_stats-no}" >&5
|
4894 |
|
|
echo "${ECHO_T}${enable_range_stats-no}" >&6
|
4895 |
721 |
markom |
|
4896 |
928 |
markom |
set_ov_flag="0"
|
4897 |
1242 |
hpanther |
echo "$as_me:$LINENO: checking whether instructions set overflow flag" >&5
|
4898 |
|
|
echo $ECHO_N "checking whether instructions set overflow flag... $ECHO_C" >&6
|
4899 |
721 |
markom |
# Check whether --enable-ov_flag or --disable-ov_flag was given.
|
4900 |
|
|
if test "${enable_ov_flag+set}" = set; then
|
4901 |
|
|
enableval="$enable_ov_flag"
|
4902 |
1242 |
hpanther |
|
4903 |
721 |
markom |
case "$enableval" in
|
4904 |
|
|
no) set_ov_flag="0" ;;
|
4905 |
|
|
yes) set_ov_flag="1" ;;
|
4906 |
|
|
esac
|
4907 |
|
|
|
4908 |
1242 |
hpanther |
fi;
|
4909 |
|
|
echo "$as_me:$LINENO: result: ${enable_ov_flag-no}" >&5
|
4910 |
|
|
echo "${ECHO_T}${enable_ov_flag-no}" >&6
|
4911 |
721 |
markom |
|
4912 |
928 |
markom |
set_arith_flag="0"
|
4913 |
1242 |
hpanther |
echo "$as_me:$LINENO: checking whether arithmethic instructions set flag" >&5
|
4914 |
|
|
echo $ECHO_N "checking whether arithmethic instructions set flag... $ECHO_C" >&6
|
4915 |
721 |
markom |
# Check whether --enable-arith_flag or --disable-arith_flag was given.
|
4916 |
|
|
if test "${enable_arith_flag+set}" = set; then
|
4917 |
|
|
enableval="$enable_arith_flag"
|
4918 |
1242 |
hpanther |
|
4919 |
721 |
markom |
case "$enableval" in
|
4920 |
|
|
no) set_arith_flag="0" ;;
|
4921 |
|
|
yes) set_arith_flag="1" ;;
|
4922 |
|
|
esac
|
4923 |
|
|
|
4924 |
1242 |
hpanther |
fi;
|
4925 |
|
|
echo "$as_me:$LINENO: result: ${enable_arith_flag-no}" >&5
|
4926 |
|
|
echo "${ECHO_T}${enable_arith_flag-no}" >&6
|
4927 |
721 |
markom |
|
4928 |
1242 |
hpanther |
cat >>confdefs.h <<_ACEOF
|
4929 |
721 |
markom |
#define FAST_SIM $fast_sim
|
4930 |
1242 |
hpanther |
_ACEOF
|
4931 |
721 |
markom |
|
4932 |
1242 |
hpanther |
cat >>confdefs.h <<_ACEOF
|
4933 |
721 |
markom |
#define RAW_RANGE_STATS $raw_range_stats
|
4934 |
1242 |
hpanther |
_ACEOF
|
4935 |
721 |
markom |
|
4936 |
1242 |
hpanther |
cat >>confdefs.h <<_ACEOF
|
4937 |
721 |
markom |
#define SET_OV_FLAG $set_ov_flag
|
4938 |
1242 |
hpanther |
_ACEOF
|
4939 |
721 |
markom |
|
4940 |
1242 |
hpanther |
cat >>confdefs.h <<_ACEOF
|
4941 |
721 |
markom |
#define ARITH_SET_FLAG $set_arith_flag
|
4942 |
1242 |
hpanther |
_ACEOF
|
4943 |
721 |
markom |
|
4944 |
1242 |
hpanther |
cat >>confdefs.h <<_ACEOF
|
4945 |
849 |
markom |
#define HAVE_ETH_PHY $eth_phy
|
4946 |
1242 |
hpanther |
_ACEOF
|
4947 |
721 |
markom |
|
4948 |
1242 |
hpanther |
cat >>confdefs.h <<_ACEOF
|
4949 |
706 |
markom |
#define SIMPLE_EXECUTION $simple_execution
|
4950 |
1242 |
hpanther |
_ACEOF
|
4951 |
706 |
markom |
|
4952 |
|
|
|
4953 |
1242 |
hpanther |
|
4954 |
706 |
markom |
if test x$simple_execution = x1; then
|
4955 |
|
|
SIMPLE_EXECUTION_TRUE=
|
4956 |
|
|
SIMPLE_EXECUTION_FALSE='#'
|
4957 |
|
|
else
|
4958 |
|
|
SIMPLE_EXECUTION_TRUE='#'
|
4959 |
|
|
SIMPLE_EXECUTION_FALSE=
|
4960 |
|
|
fi
|
4961 |
|
|
|
4962 |
721 |
markom |
|
4963 |
1242 |
hpanther |
|
4964 |
|
|
echo "$as_me:$LINENO: checking for implementation-specific data" >&5
|
4965 |
|
|
echo $ECHO_N "checking for implementation-specific data... $ECHO_C" >&6
|
4966 |
202 |
erez |
# Check whether --enable-impl or --disable-impl was given.
|
4967 |
|
|
if test "${enable_impl+set}" = set; then
|
4968 |
|
|
enableval="$enable_impl"
|
4969 |
1242 |
hpanther |
|
4970 |
202 |
erez |
case "$enableval" in
|
4971 |
|
|
no|default) IMPL="DEFAULT" ;;
|
4972 |
|
|
mp3) IMPL="MP3" ;;
|
4973 |
|
|
bender) IMPL="BENDER" ;;
|
4974 |
|
|
*)
|
4975 |
1242 |
hpanther |
echo "$as_me:$LINENO: result: failed" >&5
|
4976 |
|
|
echo "${ECHO_T}failed" >&6
|
4977 |
|
|
{ { echo "$as_me:$LINENO: error: bad --enable-impl option" >&5
|
4978 |
|
|
echo "$as_me: error: bad --enable-impl option" >&2;}
|
4979 |
|
|
{ (exit 1); exit 1; }; }
|
4980 |
202 |
erez |
;;
|
4981 |
|
|
esac
|
4982 |
|
|
|
4983 |
1242 |
hpanther |
fi;
|
4984 |
|
|
echo "$as_me:$LINENO: result: ${IMPL=DEFAULT}" >&5
|
4985 |
|
|
echo "${ECHO_T}${IMPL=DEFAULT}" >&6
|
4986 |
202 |
erez |
if test "$IMPL" = "DEFAULT"
|
4987 |
|
|
then
|
4988 |
1242 |
hpanther |
{ echo "$as_me:$LINENO: WARNING: using default environment" >&5
|
4989 |
|
|
echo "$as_me: WARNING: using default environment" >&2;}
|
4990 |
202 |
erez |
fi
|
4991 |
517 |
markom |
|
4992 |
|
|
test -n "$profile" && CFLAGS="$CFLAGS $profile" LDFLAGS="$LDFLAGS $profile"
|
4993 |
202 |
erez |
IMPL="-DIMPL_$IMPL"
|
4994 |
518 |
markom |
# CFLAGS="$CFLAGS -O4"
|
4995 |
202 |
erez |
|
4996 |
7 |
jrydberg |
BUILD_DIR=`pwd`
|
4997 |
|
|
|
4998 |
|
|
|
4999 |
|
|
|
5000 |
|
|
|
5001 |
|
|
|
5002 |
|
|
|
5003 |
|
|
|
5004 |
|
|
|
5005 |
|
|
|
5006 |
|
|
|
5007 |
|
|
|
5008 |
|
|
|
5009 |
|
|
|
5010 |
|
|
|
5011 |
|
|
|
5012 |
|
|
|
5013 |
|
|
|
5014 |
1242 |
hpanther |
cat >>confdefs.h <<\_ACEOF
|
5015 |
123 |
markom |
#define HAS_EXECUTION 1
|
5016 |
1242 |
hpanther |
_ACEOF
|
5017 |
7 |
jrydberg |
|
5018 |
1242 |
hpanther |
cat >>confdefs.h <<\_ACEOF
|
5019 |
371 |
markom |
#define HAS_DEBUG 1
|
5020 |
1242 |
hpanther |
_ACEOF
|
5021 |
123 |
markom |
|
5022 |
371 |
markom |
|
5023 |
397 |
markom |
INCLUDES="-I\${top_srcdir} -I\${top_srcdir}/cpu/common -I\${top_srcdir}/cpu/or1k \
|
5024 |
26 |
lampret |
-I\${top_srcdir}/cpu/$CPU_ARCH -I\${top_srcdir}/cache -I\${top_srcdir}/mmu \
|
5025 |
103 |
lampret |
-I\${top_srcdir}/bpb -I\${top_srcdir}/peripheral -I\${top_srcdir}/tick \
|
5026 |
1082 |
rprescott |
-I\${top_srcdir}/peripheral/channels \
|
5027 |
807 |
markom |
-I\${top_srcdir}/pm -I\${top_srcdir}/pic -I\${top_srcdir}/debug \
|
5028 |
897 |
markom |
-I\${top_srcdir}/vapi -I\${top_srcdir}/support -I\${top_srcdir}/cuc"
|
5029 |
7 |
jrydberg |
|
5030 |
|
|
|
5031 |
1242 |
hpanther |
ac_config_files="$ac_config_files Makefile bpb/Makefile cache/Makefile cpu/Makefile cpu/common/Makefile cpu/or32/Makefile cuc/Makefile cpu/or1k/Makefile cpu/dlx/Makefile debug/Makefile support/Makefile mmu/Makefile peripheral/Makefile tick/Makefile peripheral/channels/Makefile pm/Makefile pic/Makefile vapi/Makefile extras/Makefile"
|
5032 |
|
|
ac_config_commands="$ac_config_commands default"
|
5033 |
|
|
cat >confcache <<\_ACEOF
|
5034 |
7 |
jrydberg |
# This file is a shell script that caches the results of configure
|
5035 |
|
|
# tests run on this system so they can be shared between configure
|
5036 |
1242 |
hpanther |
# scripts and configure runs, see configure's option --config-cache.
|
5037 |
|
|
# It is not useful on other systems. If it contains results you don't
|
5038 |
|
|
# want to keep, you may remove or edit it.
|
5039 |
7 |
jrydberg |
#
|
5040 |
1242 |
hpanther |
# config.status only pays attention to the cache file if you give it
|
5041 |
|
|
# the --recheck option to rerun configure.
|
5042 |
7 |
jrydberg |
#
|
5043 |
1242 |
hpanther |
# `ac_cv_env_foo' variables (set or unset) will be overridden when
|
5044 |
|
|
# loading this file, other *unset* `ac_cv_foo' will be assigned the
|
5045 |
|
|
# following values.
|
5046 |
|
|
|
5047 |
|
|
_ACEOF
|
5048 |
|
|
|
5049 |
7 |
jrydberg |
# The following way of writing the cache mishandles newlines in values,
|
5050 |
|
|
# but we know of no workaround that is simple, portable, and efficient.
|
5051 |
|
|
# So, don't put newlines in cache variables' values.
|
5052 |
|
|
# Ultrix sh set writes to stderr and can't be redirected directly,
|
5053 |
|
|
# and sets the high bit in the cache file unless we assign to the vars.
|
5054 |
1242 |
hpanther |
{
|
5055 |
|
|
(set) 2>&1 |
|
5056 |
|
|
case `(ac_space=' '; set | grep ac_space) 2>&1` in
|
5057 |
|
|
*ac_space=\ *)
|
5058 |
|
|
# `set' does not quote correctly, so add quotes (double-quote
|
5059 |
|
|
# substitution turns \\\\ into \\, and sed turns \\ into \).
|
5060 |
|
|
sed -n \
|
5061 |
|
|
"s/'/'\\\\''/g;
|
5062 |
|
|
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
|
5063 |
|
|
;;
|
5064 |
|
|
*)
|
5065 |
|
|
# `set' quotes correctly as required by POSIX, so do not add quotes.
|
5066 |
|
|
sed -n \
|
5067 |
|
|
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
|
5068 |
|
|
;;
|
5069 |
|
|
esac;
|
5070 |
|
|
} |
|
5071 |
|
|
sed '
|
5072 |
|
|
t clear
|
5073 |
|
|
: clear
|
5074 |
|
|
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
|
5075 |
|
|
t end
|
5076 |
|
|
/^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
|
5077 |
|
|
: end' >>confcache
|
5078 |
|
|
if diff $cache_file confcache >/dev/null 2>&1; then :; else
|
5079 |
7 |
jrydberg |
if test -w $cache_file; then
|
5080 |
1242 |
hpanther |
test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
|
5081 |
|
|
cat confcache >$cache_file
|
5082 |
7 |
jrydberg |
else
|
5083 |
|
|
echo "not updating unwritable cache $cache_file"
|
5084 |
|
|
fi
|
5085 |
|
|
fi
|
5086 |
|
|
rm -f confcache
|
5087 |
|
|
|
5088 |
|
|
test "x$prefix" = xNONE && prefix=$ac_default_prefix
|
5089 |
|
|
# Let make expand exec_prefix.
|
5090 |
|
|
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
|
5091 |
|
|
|
5092 |
1242 |
hpanther |
# VPATH may cause trouble with some makes, so we remove $(srcdir),
|
5093 |
|
|
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
|
5094 |
|
|
# trailing colons and then remove the whole line if VPATH becomes empty
|
5095 |
|
|
# (actually we leave an empty line to preserve line numbers).
|
5096 |
7 |
jrydberg |
if test "x$srcdir" = x.; then
|
5097 |
1242 |
hpanther |
ac_vpsub='/^[ ]*VPATH[ ]*=/{
|
5098 |
|
|
s/:*\$(srcdir):*/:/;
|
5099 |
|
|
s/:*\${srcdir}:*/:/;
|
5100 |
|
|
s/:*@srcdir@:*/:/;
|
5101 |
|
|
s/^\([^=]*=[ ]*\):*/\1/;
|
5102 |
|
|
s/:*$//;
|
5103 |
|
|
s/^[^=]*=[ ]*$//;
|
5104 |
|
|
}'
|
5105 |
7 |
jrydberg |
fi
|
5106 |
|
|
|
5107 |
|
|
DEFS=-DHAVE_CONFIG_H
|
5108 |
|
|
|
5109 |
1242 |
hpanther |
ac_libobjs=
|
5110 |
|
|
ac_ltlibobjs=
|
5111 |
|
|
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
|
5112 |
|
|
# 1. Remove the extension, and $U if already installed.
|
5113 |
|
|
ac_i=`echo "$ac_i" |
|
5114 |
|
|
sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
|
5115 |
|
|
# 2. Add them.
|
5116 |
|
|
ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
|
5117 |
|
|
ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
|
5118 |
|
|
done
|
5119 |
|
|
LIBOBJS=$ac_libobjs
|
5120 |
|
|
|
5121 |
|
|
LTLIBOBJS=$ac_ltlibobjs
|
5122 |
|
|
|
5123 |
|
|
|
5124 |
|
|
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
|
5125 |
|
|
{ { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
|
5126 |
|
|
Usually this means the macro was only invoked conditionally." >&5
|
5127 |
|
|
echo "$as_me: error: conditional \"AMDEP\" was never defined.
|
5128 |
|
|
Usually this means the macro was only invoked conditionally." >&2;}
|
5129 |
|
|
{ (exit 1); exit 1; }; }
|
5130 |
|
|
fi
|
5131 |
|
|
if test -z "${SIMPLE_EXECUTION_TRUE}" && test -z "${SIMPLE_EXECUTION_FALSE}"; then
|
5132 |
|
|
{ { echo "$as_me:$LINENO: error: conditional \"SIMPLE_EXECUTION\" was never defined.
|
5133 |
|
|
Usually this means the macro was only invoked conditionally." >&5
|
5134 |
|
|
echo "$as_me: error: conditional \"SIMPLE_EXECUTION\" was never defined.
|
5135 |
|
|
Usually this means the macro was only invoked conditionally." >&2;}
|
5136 |
|
|
{ (exit 1); exit 1; }; }
|
5137 |
|
|
fi
|
5138 |
|
|
|
5139 |
7 |
jrydberg |
: ${CONFIG_STATUS=./config.status}
|
5140 |
1242 |
hpanther |
ac_clean_files_save=$ac_clean_files
|
5141 |
|
|
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
|
5142 |
|
|
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
|
5143 |
|
|
echo "$as_me: creating $CONFIG_STATUS" >&6;}
|
5144 |
|
|
cat >$CONFIG_STATUS <<_ACEOF
|
5145 |
|
|
#! $SHELL
|
5146 |
|
|
# Generated by $as_me.
|
5147 |
7 |
jrydberg |
# Run this file to recreate the current configuration.
|
5148 |
|
|
# Compiler output produced by configure, useful for debugging
|
5149 |
1242 |
hpanther |
# configure, is in config.log if it exists.
|
5150 |
7 |
jrydberg |
|
5151 |
1242 |
hpanther |
debug=false
|
5152 |
|
|
ac_cs_recheck=false
|
5153 |
|
|
ac_cs_silent=false
|
5154 |
|
|
SHELL=\${CONFIG_SHELL-$SHELL}
|
5155 |
|
|
_ACEOF
|
5156 |
|
|
|
5157 |
|
|
cat >>$CONFIG_STATUS <<\_ACEOF
|
5158 |
|
|
## --------------------- ##
|
5159 |
|
|
## M4sh Initialization. ##
|
5160 |
|
|
## --------------------- ##
|
5161 |
|
|
|
5162 |
|
|
# Be Bourne compatible
|
5163 |
|
|
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
5164 |
|
|
emulate sh
|
5165 |
|
|
NULLCMD=:
|
5166 |
|
|
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
|
5167 |
|
|
# is contrary to our usage. Disable this feature.
|
5168 |
|
|
alias -g '${1+"$@"}'='"$@"'
|
5169 |
|
|
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
|
5170 |
|
|
set -o posix
|
5171 |
|
|
fi
|
5172 |
|
|
|
5173 |
|
|
# Support unset when possible.
|
5174 |
|
|
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
|
5175 |
|
|
as_unset=unset
|
5176 |
|
|
else
|
5177 |
|
|
as_unset=false
|
5178 |
|
|
fi
|
5179 |
|
|
|
5180 |
|
|
|
5181 |
|
|
# Work around bugs in pre-3.0 UWIN ksh.
|
5182 |
|
|
$as_unset ENV MAIL MAILPATH
|
5183 |
|
|
PS1='$ '
|
5184 |
|
|
PS2='> '
|
5185 |
|
|
PS4='+ '
|
5186 |
|
|
|
5187 |
|
|
# NLS nuisances.
|
5188 |
|
|
for as_var in \
|
5189 |
|
|
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
|
5190 |
|
|
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
|
5191 |
|
|
LC_TELEPHONE LC_TIME
|
5192 |
7 |
jrydberg |
do
|
5193 |
1242 |
hpanther |
if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
|
5194 |
|
|
eval $as_var=C; export $as_var
|
5195 |
|
|
else
|
5196 |
|
|
$as_unset $as_var
|
5197 |
|
|
fi
|
5198 |
7 |
jrydberg |
done
|
5199 |
|
|
|
5200 |
1242 |
hpanther |
# Required to use basename.
|
5201 |
|
|
if expr a : '\(a\)' >/dev/null 2>&1; then
|
5202 |
|
|
as_expr=expr
|
5203 |
|
|
else
|
5204 |
|
|
as_expr=false
|
5205 |
|
|
fi
|
5206 |
7 |
jrydberg |
|
5207 |
1242 |
hpanther |
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
|
5208 |
|
|
as_basename=basename
|
5209 |
|
|
else
|
5210 |
|
|
as_basename=false
|
5211 |
|
|
fi
|
5212 |
7 |
jrydberg |
|
5213 |
|
|
|
5214 |
1242 |
hpanther |
# Name of the executable.
|
5215 |
|
|
as_me=`$as_basename "$0" ||
|
5216 |
|
|
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
5217 |
|
|
X"$0" : 'X\(//\)$' \| \
|
5218 |
|
|
X"$0" : 'X\(/\)$' \| \
|
5219 |
|
|
. : '\(.\)' 2>/dev/null ||
|
5220 |
|
|
echo X/"$0" |
|
5221 |
|
|
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
|
5222 |
|
|
/^X\/\(\/\/\)$/{ s//\1/; q; }
|
5223 |
|
|
/^X\/\(\/\).*/{ s//\1/; q; }
|
5224 |
|
|
s/.*/./; q'`
|
5225 |
7 |
jrydberg |
|
5226 |
|
|
|
5227 |
1242 |
hpanther |
# PATH needs CR, and LINENO needs CR and PATH.
|
5228 |
|
|
# Avoid depending upon Character Ranges.
|
5229 |
|
|
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
5230 |
|
|
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
5231 |
|
|
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
|
5232 |
|
|
as_cr_digits='0123456789'
|
5233 |
|
|
as_cr_alnum=$as_cr_Letters$as_cr_digits
|
5234 |
|
|
|
5235 |
|
|
# The user is always right.
|
5236 |
|
|
if test "${PATH_SEPARATOR+set}" != set; then
|
5237 |
|
|
echo "#! /bin/sh" >conf$$.sh
|
5238 |
|
|
echo "exit 0" >>conf$$.sh
|
5239 |
|
|
chmod +x conf$$.sh
|
5240 |
|
|
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
|
5241 |
|
|
PATH_SEPARATOR=';'
|
5242 |
7 |
jrydberg |
else
|
5243 |
1242 |
hpanther |
PATH_SEPARATOR=:
|
5244 |
7 |
jrydberg |
fi
|
5245 |
1242 |
hpanther |
rm -f conf$$.sh
|
5246 |
|
|
fi
|
5247 |
|
|
|
5248 |
|
|
|
5249 |
|
|
as_lineno_1=$LINENO
|
5250 |
|
|
as_lineno_2=$LINENO
|
5251 |
|
|
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
|
5252 |
|
|
test "x$as_lineno_1" != "x$as_lineno_2" &&
|
5253 |
|
|
test "x$as_lineno_3" = "x$as_lineno_2" || {
|
5254 |
|
|
# Find who we are. Look in the path if we contain no path at all
|
5255 |
|
|
# relative or not.
|
5256 |
|
|
case $0 in
|
5257 |
|
|
*[\\/]* ) as_myself=$0 ;;
|
5258 |
|
|
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
5259 |
|
|
for as_dir in $PATH
|
5260 |
|
|
do
|
5261 |
|
|
IFS=$as_save_IFS
|
5262 |
|
|
test -z "$as_dir" && as_dir=.
|
5263 |
|
|
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
5264 |
|
|
done
|
5265 |
|
|
|
5266 |
|
|
;;
|
5267 |
|
|
esac
|
5268 |
|
|
# We did not find ourselves, most probably we were run as `sh COMMAND'
|
5269 |
|
|
# in which case we are not to be found in the path.
|
5270 |
|
|
if test "x$as_myself" = x; then
|
5271 |
|
|
as_myself=$0
|
5272 |
|
|
fi
|
5273 |
|
|
if test ! -f "$as_myself"; then
|
5274 |
|
|
{ { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
|
5275 |
|
|
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
|
5276 |
|
|
{ (exit 1); exit 1; }; }
|
5277 |
|
|
fi
|
5278 |
|
|
case $CONFIG_SHELL in
|
5279 |
|
|
'')
|
5280 |
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
5281 |
|
|
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
|
5282 |
|
|
do
|
5283 |
|
|
IFS=$as_save_IFS
|
5284 |
|
|
test -z "$as_dir" && as_dir=.
|
5285 |
|
|
for as_base in sh bash ksh sh5; do
|
5286 |
|
|
case $as_dir in
|
5287 |
|
|
/*)
|
5288 |
|
|
if ("$as_dir/$as_base" -c '
|
5289 |
|
|
as_lineno_1=$LINENO
|
5290 |
|
|
as_lineno_2=$LINENO
|
5291 |
|
|
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
|
5292 |
|
|
test "x$as_lineno_1" != "x$as_lineno_2" &&
|
5293 |
|
|
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
|
5294 |
|
|
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
|
5295 |
|
|
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
|
5296 |
|
|
CONFIG_SHELL=$as_dir/$as_base
|
5297 |
|
|
export CONFIG_SHELL
|
5298 |
|
|
exec "$CONFIG_SHELL" "$0" ${1+"$@"}
|
5299 |
|
|
fi;;
|
5300 |
|
|
esac
|
5301 |
|
|
done
|
5302 |
|
|
done
|
5303 |
|
|
;;
|
5304 |
|
|
esac
|
5305 |
|
|
|
5306 |
|
|
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
|
5307 |
|
|
# uniformly replaced by the line number. The first 'sed' inserts a
|
5308 |
|
|
# line-number line before each line; the second 'sed' does the real
|
5309 |
|
|
# work. The second script uses 'N' to pair each line-number line
|
5310 |
|
|
# with the numbered line, and appends trailing '-' during
|
5311 |
|
|
# substitution so that $LINENO is not a special case at line end.
|
5312 |
|
|
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
|
5313 |
|
|
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
|
5314 |
|
|
sed '=' <$as_myself |
|
5315 |
|
|
sed '
|
5316 |
|
|
N
|
5317 |
|
|
s,$,-,
|
5318 |
|
|
: loop
|
5319 |
|
|
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
|
5320 |
|
|
t loop
|
5321 |
|
|
s,-$,,
|
5322 |
|
|
s,^['$as_cr_digits']*\n,,
|
5323 |
|
|
' >$as_me.lineno &&
|
5324 |
|
|
chmod +x $as_me.lineno ||
|
5325 |
|
|
{ { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
|
5326 |
|
|
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
|
5327 |
|
|
{ (exit 1); exit 1; }; }
|
5328 |
|
|
|
5329 |
|
|
# Don't try to exec as it changes $[0], causing all sort of problems
|
5330 |
|
|
# (the dirname of $[0] is not the place where we might find the
|
5331 |
|
|
# original and so on. Autoconf is especially sensible to this).
|
5332 |
|
|
. ./$as_me.lineno
|
5333 |
|
|
# Exit status is that of the last command.
|
5334 |
|
|
exit
|
5335 |
|
|
}
|
5336 |
|
|
|
5337 |
|
|
|
5338 |
|
|
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
|
5339 |
|
|
*c*,-n*) ECHO_N= ECHO_C='
|
5340 |
|
|
' ECHO_T=' ' ;;
|
5341 |
|
|
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
|
5342 |
|
|
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
|
5343 |
|
|
esac
|
5344 |
|
|
|
5345 |
|
|
if expr a : '\(a\)' >/dev/null 2>&1; then
|
5346 |
|
|
as_expr=expr
|
5347 |
|
|
else
|
5348 |
|
|
as_expr=false
|
5349 |
|
|
fi
|
5350 |
|
|
|
5351 |
|
|
rm -f conf$$ conf$$.exe conf$$.file
|
5352 |
|
|
echo >conf$$.file
|
5353 |
|
|
if ln -s conf$$.file conf$$ 2>/dev/null; then
|
5354 |
|
|
# We could just check for DJGPP; but this test a) works b) is more generic
|
5355 |
|
|
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
|
5356 |
|
|
if test -f conf$$.exe; then
|
5357 |
|
|
# Don't use ln at all; we don't have any links
|
5358 |
|
|
as_ln_s='cp -p'
|
5359 |
7 |
jrydberg |
else
|
5360 |
1242 |
hpanther |
as_ln_s='ln -s'
|
5361 |
7 |
jrydberg |
fi
|
5362 |
1242 |
hpanther |
elif ln conf$$.file conf$$ 2>/dev/null; then
|
5363 |
|
|
as_ln_s=ln
|
5364 |
|
|
else
|
5365 |
|
|
as_ln_s='cp -p'
|
5366 |
|
|
fi
|
5367 |
|
|
rm -f conf$$ conf$$.exe conf$$.file
|
5368 |
|
|
|
5369 |
|
|
if mkdir -p . 2>/dev/null; then
|
5370 |
|
|
as_mkdir_p=:
|
5371 |
|
|
else
|
5372 |
|
|
as_mkdir_p=false
|
5373 |
|
|
fi
|
5374 |
|
|
|
5375 |
|
|
as_executable_p="test -f"
|
5376 |
|
|
|
5377 |
|
|
# Sed expression to map a string onto a valid CPP name.
|
5378 |
|
|
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
|
5379 |
|
|
|
5380 |
|
|
# Sed expression to map a string onto a valid variable name.
|
5381 |
|
|
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
|
5382 |
|
|
|
5383 |
|
|
|
5384 |
|
|
# IFS
|
5385 |
|
|
# We need space, tab and new line, in precisely that order.
|
5386 |
|
|
as_nl='
|
5387 |
|
|
'
|
5388 |
|
|
IFS=" $as_nl"
|
5389 |
|
|
|
5390 |
|
|
# CDPATH.
|
5391 |
|
|
$as_unset CDPATH
|
5392 |
|
|
|
5393 |
|
|
exec 6>&1
|
5394 |
|
|
|
5395 |
|
|
# Open the log real soon, to keep \$[0] and so on meaningful, and to
|
5396 |
|
|
# report actual input values of CONFIG_FILES etc. instead of their
|
5397 |
|
|
# values after options handling. Logging --version etc. is OK.
|
5398 |
|
|
exec 5>>config.log
|
5399 |
|
|
{
|
5400 |
|
|
echo
|
5401 |
|
|
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
|
5402 |
|
|
## Running $as_me. ##
|
5403 |
|
|
_ASBOX
|
5404 |
|
|
} >&5
|
5405 |
|
|
cat >&5 <<_CSEOF
|
5406 |
|
|
|
5407 |
|
|
This file was extended by $as_me, which was
|
5408 |
|
|
generated by GNU Autoconf 2.57. Invocation command line was
|
5409 |
|
|
|
5410 |
|
|
CONFIG_FILES = $CONFIG_FILES
|
5411 |
|
|
CONFIG_HEADERS = $CONFIG_HEADERS
|
5412 |
|
|
CONFIG_LINKS = $CONFIG_LINKS
|
5413 |
|
|
CONFIG_COMMANDS = $CONFIG_COMMANDS
|
5414 |
|
|
$ $0 $@
|
5415 |
|
|
|
5416 |
|
|
_CSEOF
|
5417 |
|
|
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
|
5418 |
|
|
echo >&5
|
5419 |
|
|
_ACEOF
|
5420 |
|
|
|
5421 |
|
|
# Files that config.status was made for.
|
5422 |
|
|
if test -n "$ac_config_files"; then
|
5423 |
|
|
echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
|
5424 |
|
|
fi
|
5425 |
|
|
|
5426 |
|
|
if test -n "$ac_config_headers"; then
|
5427 |
|
|
echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
|
5428 |
|
|
fi
|
5429 |
|
|
|
5430 |
|
|
if test -n "$ac_config_links"; then
|
5431 |
|
|
echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
|
5432 |
|
|
fi
|
5433 |
|
|
|
5434 |
|
|
if test -n "$ac_config_commands"; then
|
5435 |
|
|
echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
|
5436 |
|
|
fi
|
5437 |
|
|
|
5438 |
|
|
cat >>$CONFIG_STATUS <<\_ACEOF
|
5439 |
|
|
|
5440 |
|
|
ac_cs_usage="\
|
5441 |
|
|
\`$as_me' instantiates files from templates according to the
|
5442 |
|
|
current configuration.
|
5443 |
|
|
|
5444 |
|
|
Usage: $0 [OPTIONS] [FILE]...
|
5445 |
|
|
|
5446 |
|
|
-h, --help print this help, then exit
|
5447 |
|
|
-V, --version print version number, then exit
|
5448 |
|
|
-q, --quiet do not print progress messages
|
5449 |
|
|
-d, --debug don't remove temporary files
|
5450 |
|
|
--recheck update $as_me by reconfiguring in the same conditions
|
5451 |
|
|
--file=FILE[:TEMPLATE]
|
5452 |
|
|
instantiate the configuration file FILE
|
5453 |
|
|
--header=FILE[:TEMPLATE]
|
5454 |
|
|
instantiate the configuration header FILE
|
5455 |
|
|
|
5456 |
|
|
Configuration files:
|
5457 |
|
|
$config_files
|
5458 |
|
|
|
5459 |
|
|
Configuration headers:
|
5460 |
|
|
$config_headers
|
5461 |
|
|
|
5462 |
|
|
Configuration commands:
|
5463 |
|
|
$config_commands
|
5464 |
|
|
|
5465 |
|
|
Report bugs to ."
|
5466 |
|
|
_ACEOF
|
5467 |
|
|
|
5468 |
|
|
cat >>$CONFIG_STATUS <<_ACEOF
|
5469 |
|
|
ac_cs_version="\\
|
5470 |
|
|
config.status
|
5471 |
|
|
configured by $0, generated by GNU Autoconf 2.57,
|
5472 |
|
|
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
|
5473 |
|
|
|
5474 |
|
|
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
|
5475 |
|
|
Free Software Foundation, Inc.
|
5476 |
|
|
This config.status script is free software; the Free Software Foundation
|
5477 |
|
|
gives unlimited permission to copy, distribute and modify it."
|
5478 |
|
|
srcdir=$srcdir
|
5479 |
|
|
INSTALL="$INSTALL"
|
5480 |
|
|
_ACEOF
|
5481 |
|
|
|
5482 |
|
|
cat >>$CONFIG_STATUS <<\_ACEOF
|
5483 |
|
|
# If no file are specified by the user, then we need to provide default
|
5484 |
|
|
# value. By we need to know if files were specified by the user.
|
5485 |
|
|
ac_need_defaults=:
|
5486 |
|
|
while test $# != 0
|
5487 |
|
|
do
|
5488 |
|
|
case $1 in
|
5489 |
|
|
--*=*)
|
5490 |
|
|
ac_option=`expr "x$1" : 'x\([^=]*\)='`
|
5491 |
|
|
ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
|
5492 |
|
|
ac_shift=:
|
5493 |
|
|
;;
|
5494 |
|
|
-*)
|
5495 |
|
|
ac_option=$1
|
5496 |
|
|
ac_optarg=$2
|
5497 |
|
|
ac_shift=shift
|
5498 |
|
|
;;
|
5499 |
|
|
*) # This is not an option, so the user has probably given explicit
|
5500 |
|
|
# arguments.
|
5501 |
|
|
ac_option=$1
|
5502 |
|
|
ac_need_defaults=false;;
|
5503 |
|
|
esac
|
5504 |
|
|
|
5505 |
|
|
case $ac_option in
|
5506 |
|
|
# Handling of the options.
|
5507 |
|
|
_ACEOF
|
5508 |
|
|
cat >>$CONFIG_STATUS <<\_ACEOF
|
5509 |
|
|
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
|
5510 |
|
|
ac_cs_recheck=: ;;
|
5511 |
|
|
--version | --vers* | -V )
|
5512 |
|
|
echo "$ac_cs_version"; exit 0 ;;
|
5513 |
|
|
--he | --h)
|
5514 |
|
|
# Conflict between --help and --header
|
5515 |
|
|
{ { echo "$as_me:$LINENO: error: ambiguous option: $1
|
5516 |
|
|
Try \`$0 --help' for more information." >&5
|
5517 |
|
|
echo "$as_me: error: ambiguous option: $1
|
5518 |
|
|
Try \`$0 --help' for more information." >&2;}
|
5519 |
|
|
{ (exit 1); exit 1; }; };;
|
5520 |
|
|
--help | --hel | -h )
|
5521 |
|
|
echo "$ac_cs_usage"; exit 0 ;;
|
5522 |
|
|
--debug | --d* | -d )
|
5523 |
|
|
debug=: ;;
|
5524 |
|
|
--file | --fil | --fi | --f )
|
5525 |
|
|
$ac_shift
|
5526 |
|
|
CONFIG_FILES="$CONFIG_FILES $ac_optarg"
|
5527 |
|
|
ac_need_defaults=false;;
|
5528 |
|
|
--header | --heade | --head | --hea )
|
5529 |
|
|
$ac_shift
|
5530 |
|
|
CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
|
5531 |
|
|
ac_need_defaults=false;;
|
5532 |
|
|
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
5533 |
|
|
| -silent | --silent | --silen | --sile | --sil | --si | --s)
|
5534 |
|
|
ac_cs_silent=: ;;
|
5535 |
|
|
|
5536 |
|
|
# This is an error.
|
5537 |
|
|
-*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
|
5538 |
|
|
Try \`$0 --help' for more information." >&5
|
5539 |
|
|
echo "$as_me: error: unrecognized option: $1
|
5540 |
|
|
Try \`$0 --help' for more information." >&2;}
|
5541 |
|
|
{ (exit 1); exit 1; }; } ;;
|
5542 |
|
|
|
5543 |
|
|
*) ac_config_targets="$ac_config_targets $1" ;;
|
5544 |
|
|
|
5545 |
|
|
esac
|
5546 |
|
|
shift
|
5547 |
7 |
jrydberg |
done
|
5548 |
1242 |
hpanther |
|
5549 |
|
|
ac_configure_extra_args=
|
5550 |
|
|
|
5551 |
|
|
if $ac_cs_silent; then
|
5552 |
|
|
exec 6>/dev/null
|
5553 |
|
|
ac_configure_extra_args="$ac_configure_extra_args --silent"
|
5554 |
7 |
jrydberg |
fi
|
5555 |
|
|
|
5556 |
1242 |
hpanther |
_ACEOF
|
5557 |
|
|
cat >>$CONFIG_STATUS <<_ACEOF
|
5558 |
|
|
if \$ac_cs_recheck; then
|
5559 |
|
|
echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
|
5560 |
|
|
exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
|
5561 |
|
|
fi
|
5562 |
7 |
jrydberg |
|
5563 |
1242 |
hpanther |
_ACEOF
|
5564 |
|
|
|
5565 |
|
|
cat >>$CONFIG_STATUS <<_ACEOF
|
5566 |
|
|
#
|
5567 |
|
|
# INIT-COMMANDS section.
|
5568 |
|
|
#
|
5569 |
|
|
|
5570 |
|
|
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
|
5571 |
|
|
|
5572 |
|
|
_ACEOF
|
5573 |
|
|
|
5574 |
|
|
|
5575 |
|
|
|
5576 |
|
|
cat >>$CONFIG_STATUS <<\_ACEOF
|
5577 |
|
|
for ac_config_target in $ac_config_targets
|
5578 |
|
|
do
|
5579 |
|
|
case "$ac_config_target" in
|
5580 |
|
|
# Handling of arguments.
|
5581 |
|
|
"Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
|
5582 |
|
|
"bpb/Makefile" ) CONFIG_FILES="$CONFIG_FILES bpb/Makefile" ;;
|
5583 |
|
|
"cache/Makefile" ) CONFIG_FILES="$CONFIG_FILES cache/Makefile" ;;
|
5584 |
|
|
"cpu/Makefile" ) CONFIG_FILES="$CONFIG_FILES cpu/Makefile" ;;
|
5585 |
|
|
"cpu/common/Makefile" ) CONFIG_FILES="$CONFIG_FILES cpu/common/Makefile" ;;
|
5586 |
|
|
"cpu/or32/Makefile" ) CONFIG_FILES="$CONFIG_FILES cpu/or32/Makefile" ;;
|
5587 |
|
|
"cuc/Makefile" ) CONFIG_FILES="$CONFIG_FILES cuc/Makefile" ;;
|
5588 |
|
|
"cpu/or1k/Makefile" ) CONFIG_FILES="$CONFIG_FILES cpu/or1k/Makefile" ;;
|
5589 |
|
|
"cpu/dlx/Makefile" ) CONFIG_FILES="$CONFIG_FILES cpu/dlx/Makefile" ;;
|
5590 |
|
|
"debug/Makefile" ) CONFIG_FILES="$CONFIG_FILES debug/Makefile" ;;
|
5591 |
|
|
"support/Makefile" ) CONFIG_FILES="$CONFIG_FILES support/Makefile" ;;
|
5592 |
|
|
"mmu/Makefile" ) CONFIG_FILES="$CONFIG_FILES mmu/Makefile" ;;
|
5593 |
|
|
"peripheral/Makefile" ) CONFIG_FILES="$CONFIG_FILES peripheral/Makefile" ;;
|
5594 |
|
|
"tick/Makefile" ) CONFIG_FILES="$CONFIG_FILES tick/Makefile" ;;
|
5595 |
|
|
"peripheral/channels/Makefile" ) CONFIG_FILES="$CONFIG_FILES peripheral/channels/Makefile" ;;
|
5596 |
|
|
"pm/Makefile" ) CONFIG_FILES="$CONFIG_FILES pm/Makefile" ;;
|
5597 |
|
|
"pic/Makefile" ) CONFIG_FILES="$CONFIG_FILES pic/Makefile" ;;
|
5598 |
|
|
"vapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES vapi/Makefile" ;;
|
5599 |
|
|
"extras/Makefile" ) CONFIG_FILES="$CONFIG_FILES extras/Makefile" ;;
|
5600 |
|
|
"depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
|
5601 |
|
|
"default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
|
5602 |
|
|
"config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
|
5603 |
|
|
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
|
5604 |
|
|
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
|
5605 |
|
|
{ (exit 1); exit 1; }; };;
|
5606 |
7 |
jrydberg |
esac
|
5607 |
1242 |
hpanther |
done
|
5608 |
7 |
jrydberg |
|
5609 |
1242 |
hpanther |
# If the user did not use the arguments to specify the items to instantiate,
|
5610 |
|
|
# then the envvar interface is used. Set only those that are not.
|
5611 |
|
|
# We use the long form for the default assignment because of an extremely
|
5612 |
|
|
# bizarre bug on SunOS 4.1.3.
|
5613 |
|
|
if $ac_need_defaults; then
|
5614 |
|
|
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
|
5615 |
|
|
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
|
5616 |
|
|
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
|
5617 |
|
|
fi
|
5618 |
7 |
jrydberg |
|
5619 |
1242 |
hpanther |
# Have a temporary directory for convenience. Make it in the build tree
|
5620 |
|
|
# simply because there is no reason to put it here, and in addition,
|
5621 |
|
|
# creating and moving files from /tmp can sometimes cause problems.
|
5622 |
|
|
# Create a temporary directory, and hook for its removal unless debugging.
|
5623 |
|
|
$debug ||
|
5624 |
|
|
{
|
5625 |
|
|
trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
|
5626 |
|
|
trap '{ (exit 1); exit 1; }' 1 2 13 15
|
5627 |
|
|
}
|
5628 |
|
|
|
5629 |
|
|
# Create a (secure) tmp directory for tmp files.
|
5630 |
|
|
|
5631 |
|
|
{
|
5632 |
|
|
tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
|
5633 |
|
|
test -n "$tmp" && test -d "$tmp"
|
5634 |
|
|
} ||
|
5635 |
|
|
{
|
5636 |
|
|
tmp=./confstat$$-$RANDOM
|
5637 |
|
|
(umask 077 && mkdir $tmp)
|
5638 |
|
|
} ||
|
5639 |
|
|
{
|
5640 |
|
|
echo "$me: cannot create a temporary directory in ." >&2
|
5641 |
|
|
{ (exit 1); exit 1; }
|
5642 |
|
|
}
|
5643 |
|
|
|
5644 |
|
|
_ACEOF
|
5645 |
|
|
|
5646 |
|
|
cat >>$CONFIG_STATUS <<_ACEOF
|
5647 |
|
|
|
5648 |
|
|
#
|
5649 |
|
|
# CONFIG_FILES section.
|
5650 |
|
|
#
|
5651 |
|
|
|
5652 |
|
|
# No need to generate the scripts if there are no CONFIG_FILES.
|
5653 |
|
|
# This happens for instance when ./config.status config.h
|
5654 |
|
|
if test -n "\$CONFIG_FILES"; then
|
5655 |
|
|
# Protect against being on the right side of a sed subst in config.status.
|
5656 |
|
|
sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
|
5657 |
|
|
s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
|
5658 |
|
|
s,@SHELL@,$SHELL,;t t
|
5659 |
|
|
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
|
5660 |
|
|
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
|
5661 |
|
|
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
|
5662 |
|
|
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
|
5663 |
|
|
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
|
5664 |
|
|
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
|
5665 |
|
|
s,@exec_prefix@,$exec_prefix,;t t
|
5666 |
|
|
s,@prefix@,$prefix,;t t
|
5667 |
|
|
s,@program_transform_name@,$program_transform_name,;t t
|
5668 |
|
|
s,@bindir@,$bindir,;t t
|
5669 |
|
|
s,@sbindir@,$sbindir,;t t
|
5670 |
|
|
s,@libexecdir@,$libexecdir,;t t
|
5671 |
|
|
s,@datadir@,$datadir,;t t
|
5672 |
|
|
s,@sysconfdir@,$sysconfdir,;t t
|
5673 |
|
|
s,@sharedstatedir@,$sharedstatedir,;t t
|
5674 |
|
|
s,@localstatedir@,$localstatedir,;t t
|
5675 |
|
|
s,@libdir@,$libdir,;t t
|
5676 |
|
|
s,@includedir@,$includedir,;t t
|
5677 |
|
|
s,@oldincludedir@,$oldincludedir,;t t
|
5678 |
|
|
s,@infodir@,$infodir,;t t
|
5679 |
|
|
s,@mandir@,$mandir,;t t
|
5680 |
|
|
s,@build_alias@,$build_alias,;t t
|
5681 |
|
|
s,@host_alias@,$host_alias,;t t
|
5682 |
|
|
s,@target_alias@,$target_alias,;t t
|
5683 |
|
|
s,@DEFS@,$DEFS,;t t
|
5684 |
|
|
s,@ECHO_C@,$ECHO_C,;t t
|
5685 |
|
|
s,@ECHO_N@,$ECHO_N,;t t
|
5686 |
|
|
s,@ECHO_T@,$ECHO_T,;t t
|
5687 |
|
|
s,@LIBS@,$LIBS,;t t
|
5688 |
|
|
s,@build@,$build,;t t
|
5689 |
|
|
s,@build_cpu@,$build_cpu,;t t
|
5690 |
|
|
s,@build_vendor@,$build_vendor,;t t
|
5691 |
|
|
s,@build_os@,$build_os,;t t
|
5692 |
|
|
s,@host@,$host,;t t
|
5693 |
|
|
s,@host_cpu@,$host_cpu,;t t
|
5694 |
|
|
s,@host_vendor@,$host_vendor,;t t
|
5695 |
|
|
s,@host_os@,$host_os,;t t
|
5696 |
|
|
s,@target@,$target,;t t
|
5697 |
|
|
s,@target_cpu@,$target_cpu,;t t
|
5698 |
|
|
s,@target_vendor@,$target_vendor,;t t
|
5699 |
|
|
s,@target_os@,$target_os,;t t
|
5700 |
|
|
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
|
5701 |
|
|
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
|
5702 |
|
|
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
|
5703 |
|
|
s,@PACKAGE@,$PACKAGE,;t t
|
5704 |
|
|
s,@VERSION@,$VERSION,;t t
|
5705 |
|
|
s,@ACLOCAL@,$ACLOCAL,;t t
|
5706 |
|
|
s,@AUTOCONF@,$AUTOCONF,;t t
|
5707 |
|
|
s,@AUTOMAKE@,$AUTOMAKE,;t t
|
5708 |
|
|
s,@AUTOHEADER@,$AUTOHEADER,;t t
|
5709 |
|
|
s,@MAKEINFO@,$MAKEINFO,;t t
|
5710 |
|
|
s,@AMTAR@,$AMTAR,;t t
|
5711 |
|
|
s,@install_sh@,$install_sh,;t t
|
5712 |
|
|
s,@STRIP@,$STRIP,;t t
|
5713 |
|
|
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
|
5714 |
|
|
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
|
5715 |
|
|
s,@AWK@,$AWK,;t t
|
5716 |
|
|
s,@SET_MAKE@,$SET_MAKE,;t t
|
5717 |
|
|
s,@CPU_ARCH@,$CPU_ARCH,;t t
|
5718 |
|
|
s,@CC@,$CC,;t t
|
5719 |
|
|
s,@CFLAGS@,$CFLAGS,;t t
|
5720 |
|
|
s,@LDFLAGS@,$LDFLAGS,;t t
|
5721 |
|
|
s,@CPPFLAGS@,$CPPFLAGS,;t t
|
5722 |
|
|
s,@ac_ct_CC@,$ac_ct_CC,;t t
|
5723 |
|
|
s,@EXEEXT@,$EXEEXT,;t t
|
5724 |
|
|
s,@OBJEXT@,$OBJEXT,;t t
|
5725 |
|
|
s,@DEPDIR@,$DEPDIR,;t t
|
5726 |
|
|
s,@am__include@,$am__include,;t t
|
5727 |
|
|
s,@am__quote@,$am__quote,;t t
|
5728 |
|
|
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
|
5729 |
|
|
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
|
5730 |
|
|
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
|
5731 |
|
|
s,@CCDEPMODE@,$CCDEPMODE,;t t
|
5732 |
|
|
s,@CPP@,$CPP,;t t
|
5733 |
|
|
s,@EGREP@,$EGREP,;t t
|
5734 |
|
|
s,@AR@,$AR,;t t
|
5735 |
|
|
s,@RANLIB@,$RANLIB,;t t
|
5736 |
|
|
s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
|
5737 |
|
|
s,@MAKE_SHELL@,$MAKE_SHELL,;t t
|
5738 |
|
|
s,@SIMPLE_EXECUTION_TRUE@,$SIMPLE_EXECUTION_TRUE,;t t
|
5739 |
|
|
s,@SIMPLE_EXECUTION_FALSE@,$SIMPLE_EXECUTION_FALSE,;t t
|
5740 |
|
|
s,@BUILD_DIR@,$BUILD_DIR,;t t
|
5741 |
|
|
s,@LOCAL_CFLAGS@,$LOCAL_CFLAGS,;t t
|
5742 |
|
|
s,@LOCAL_LDFLAGS@,$LOCAL_LDFLAGS,;t t
|
5743 |
|
|
s,@LOCAL_DEFS@,$LOCAL_DEFS,;t t
|
5744 |
|
|
s,@ARFLAGS@,$ARFLAGS,;t t
|
5745 |
|
|
s,@SUMVERSION@,$SUMVERSION,;t t
|
5746 |
|
|
s,@TERMCAP_LIB@,$TERMCAP_LIB,;t t
|
5747 |
|
|
s,@INCLUDES@,$INCLUDES,;t t
|
5748 |
|
|
s,@LIBOBJS@,$LIBOBJS,;t t
|
5749 |
|
|
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
|
5750 |
|
|
CEOF
|
5751 |
|
|
|
5752 |
|
|
_ACEOF
|
5753 |
|
|
|
5754 |
|
|
cat >>$CONFIG_STATUS <<\_ACEOF
|
5755 |
|
|
# Split the substitutions into bite-sized pieces for seds with
|
5756 |
|
|
# small command number limits, like on Digital OSF/1 and HP-UX.
|
5757 |
|
|
ac_max_sed_lines=48
|
5758 |
|
|
ac_sed_frag=1 # Number of current file.
|
5759 |
|
|
ac_beg=1 # First line for current file.
|
5760 |
|
|
ac_end=$ac_max_sed_lines # Line after last line for current file.
|
5761 |
|
|
ac_more_lines=:
|
5762 |
|
|
ac_sed_cmds=
|
5763 |
|
|
while $ac_more_lines; do
|
5764 |
|
|
if test $ac_beg -gt 1; then
|
5765 |
|
|
sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
|
5766 |
|
|
else
|
5767 |
|
|
sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
|
5768 |
|
|
fi
|
5769 |
|
|
if test ! -s $tmp/subs.frag; then
|
5770 |
|
|
ac_more_lines=false
|
5771 |
|
|
else
|
5772 |
|
|
# The purpose of the label and of the branching condition is to
|
5773 |
|
|
# speed up the sed processing (if there are no `@' at all, there
|
5774 |
|
|
# is no need to browse any of the substitutions).
|
5775 |
|
|
# These are the two extra sed commands mentioned above.
|
5776 |
|
|
(echo ':t
|
5777 |
|
|
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
|
5778 |
|
|
if test -z "$ac_sed_cmds"; then
|
5779 |
|
|
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
|
5780 |
|
|
else
|
5781 |
|
|
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
|
5782 |
|
|
fi
|
5783 |
|
|
ac_sed_frag=`expr $ac_sed_frag + 1`
|
5784 |
|
|
ac_beg=$ac_end
|
5785 |
|
|
ac_end=`expr $ac_end + $ac_max_sed_lines`
|
5786 |
|
|
fi
|
5787 |
|
|
done
|
5788 |
|
|
if test -z "$ac_sed_cmds"; then
|
5789 |
|
|
ac_sed_cmds=cat
|
5790 |
7 |
jrydberg |
fi
|
5791 |
1242 |
hpanther |
fi # test -n "$CONFIG_FILES"
|
5792 |
7 |
jrydberg |
|
5793 |
1242 |
hpanther |
_ACEOF
|
5794 |
|
|
cat >>$CONFIG_STATUS <<\_ACEOF
|
5795 |
|
|
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
|
5796 |
|
|
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
|
5797 |
|
|
case $ac_file in
|
5798 |
|
|
- | *:- | *:-:* ) # input from stdin
|
5799 |
|
|
cat >$tmp/stdin
|
5800 |
|
|
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
|
5801 |
|
|
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
|
5802 |
|
|
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
|
5803 |
|
|
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
|
5804 |
|
|
* ) ac_file_in=$ac_file.in ;;
|
5805 |
7 |
jrydberg |
esac
|
5806 |
|
|
|
5807 |
1242 |
hpanther |
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
|
5808 |
|
|
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
|
5809 |
|
|
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
5810 |
|
|
X"$ac_file" : 'X\(//\)[^/]' \| \
|
5811 |
|
|
X"$ac_file" : 'X\(//\)$' \| \
|
5812 |
|
|
X"$ac_file" : 'X\(/\)' \| \
|
5813 |
|
|
. : '\(.\)' 2>/dev/null ||
|
5814 |
|
|
echo X"$ac_file" |
|
5815 |
|
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
5816 |
|
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
5817 |
|
|
/^X\(\/\/\)$/{ s//\1/; q; }
|
5818 |
|
|
/^X\(\/\).*/{ s//\1/; q; }
|
5819 |
|
|
s/.*/./; q'`
|
5820 |
|
|
{ if $as_mkdir_p; then
|
5821 |
|
|
mkdir -p "$ac_dir"
|
5822 |
|
|
else
|
5823 |
|
|
as_dir="$ac_dir"
|
5824 |
|
|
as_dirs=
|
5825 |
|
|
while test ! -d "$as_dir"; do
|
5826 |
|
|
as_dirs="$as_dir $as_dirs"
|
5827 |
|
|
as_dir=`(dirname "$as_dir") 2>/dev/null ||
|
5828 |
|
|
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
5829 |
|
|
X"$as_dir" : 'X\(//\)[^/]' \| \
|
5830 |
|
|
X"$as_dir" : 'X\(//\)$' \| \
|
5831 |
|
|
X"$as_dir" : 'X\(/\)' \| \
|
5832 |
|
|
. : '\(.\)' 2>/dev/null ||
|
5833 |
|
|
echo X"$as_dir" |
|
5834 |
|
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
5835 |
|
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
5836 |
|
|
/^X\(\/\/\)$/{ s//\1/; q; }
|
5837 |
|
|
/^X\(\/\).*/{ s//\1/; q; }
|
5838 |
|
|
s/.*/./; q'`
|
5839 |
|
|
done
|
5840 |
|
|
test ! -n "$as_dirs" || mkdir $as_dirs
|
5841 |
|
|
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
|
5842 |
|
|
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
|
5843 |
|
|
{ (exit 1); exit 1; }; }; }
|
5844 |
7 |
jrydberg |
|
5845 |
1242 |
hpanther |
ac_builddir=.
|
5846 |
|
|
|
5847 |
|
|
if test "$ac_dir" != .; then
|
5848 |
|
|
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
|
5849 |
|
|
# A "../" for each directory in $ac_dir_suffix.
|
5850 |
|
|
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
|
5851 |
|
|
else
|
5852 |
|
|
ac_dir_suffix= ac_top_builddir=
|
5853 |
|
|
fi
|
5854 |
|
|
|
5855 |
|
|
case $srcdir in
|
5856 |
|
|
.) # No --srcdir option. We are building in place.
|
5857 |
|
|
ac_srcdir=.
|
5858 |
|
|
if test -z "$ac_top_builddir"; then
|
5859 |
|
|
ac_top_srcdir=.
|
5860 |
|
|
else
|
5861 |
|
|
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
|
5862 |
|
|
fi ;;
|
5863 |
|
|
[\\/]* | ?:[\\/]* ) # Absolute path.
|
5864 |
|
|
ac_srcdir=$srcdir$ac_dir_suffix;
|
5865 |
|
|
ac_top_srcdir=$srcdir ;;
|
5866 |
|
|
*) # Relative path.
|
5867 |
|
|
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
|
5868 |
|
|
ac_top_srcdir=$ac_top_builddir$srcdir ;;
|
5869 |
|
|
esac
|
5870 |
|
|
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
|
5871 |
|
|
# absolute.
|
5872 |
|
|
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
|
5873 |
|
|
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
|
5874 |
|
|
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
|
5875 |
|
|
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
|
5876 |
|
|
|
5877 |
|
|
|
5878 |
|
|
case $INSTALL in
|
5879 |
|
|
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
|
5880 |
|
|
*) ac_INSTALL=$ac_top_builddir$INSTALL ;;
|
5881 |
7 |
jrydberg |
esac
|
5882 |
|
|
|
5883 |
1242 |
hpanther |
if test x"$ac_file" != x-; then
|
5884 |
|
|
{ echo "$as_me:$LINENO: creating $ac_file" >&5
|
5885 |
|
|
echo "$as_me: creating $ac_file" >&6;}
|
5886 |
|
|
rm -f "$ac_file"
|
5887 |
|
|
fi
|
5888 |
|
|
# Let's still pretend it is `configure' which instantiates (i.e., don't
|
5889 |
|
|
# use $as_me), people would be surprised to read:
|
5890 |
|
|
# /* config.h. Generated by config.status. */
|
5891 |
|
|
if test x"$ac_file" = x-; then
|
5892 |
|
|
configure_input=
|
5893 |
|
|
else
|
5894 |
|
|
configure_input="$ac_file. "
|
5895 |
|
|
fi
|
5896 |
|
|
configure_input=$configure_input"Generated from `echo $ac_file_in |
|
5897 |
|
|
sed 's,.*/,,'` by configure."
|
5898 |
7 |
jrydberg |
|
5899 |
1242 |
hpanther |
# First look for the input files in the build tree, otherwise in the
|
5900 |
|
|
# src tree.
|
5901 |
|
|
ac_file_inputs=`IFS=:
|
5902 |
|
|
for f in $ac_file_in; do
|
5903 |
|
|
case $f in
|
5904 |
|
|
-) echo $tmp/stdin ;;
|
5905 |
|
|
[\\/$]*)
|
5906 |
|
|
# Absolute (can't be DOS-style, as IFS=:)
|
5907 |
|
|
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
|
5908 |
|
|
echo "$as_me: error: cannot find input file: $f" >&2;}
|
5909 |
|
|
{ (exit 1); exit 1; }; }
|
5910 |
|
|
echo $f;;
|
5911 |
|
|
*) # Relative
|
5912 |
|
|
if test -f "$f"; then
|
5913 |
|
|
# Build tree
|
5914 |
|
|
echo $f
|
5915 |
|
|
elif test -f "$srcdir/$f"; then
|
5916 |
|
|
# Source tree
|
5917 |
|
|
echo $srcdir/$f
|
5918 |
|
|
else
|
5919 |
|
|
# /dev/null tree
|
5920 |
|
|
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
|
5921 |
|
|
echo "$as_me: error: cannot find input file: $f" >&2;}
|
5922 |
|
|
{ (exit 1); exit 1; }; }
|
5923 |
|
|
fi;;
|
5924 |
|
|
esac
|
5925 |
|
|
done` || { (exit 1); exit 1; }
|
5926 |
|
|
_ACEOF
|
5927 |
|
|
cat >>$CONFIG_STATUS <<_ACEOF
|
5928 |
|
|
sed "$ac_vpsub
|
5929 |
|
|
$extrasub
|
5930 |
|
|
_ACEOF
|
5931 |
|
|
cat >>$CONFIG_STATUS <<\_ACEOF
|
5932 |
|
|
:t
|
5933 |
|
|
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
|
5934 |
|
|
s,@configure_input@,$configure_input,;t t
|
5935 |
|
|
s,@srcdir@,$ac_srcdir,;t t
|
5936 |
|
|
s,@abs_srcdir@,$ac_abs_srcdir,;t t
|
5937 |
|
|
s,@top_srcdir@,$ac_top_srcdir,;t t
|
5938 |
|
|
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
|
5939 |
|
|
s,@builddir@,$ac_builddir,;t t
|
5940 |
|
|
s,@abs_builddir@,$ac_abs_builddir,;t t
|
5941 |
|
|
s,@top_builddir@,$ac_top_builddir,;t t
|
5942 |
|
|
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
|
5943 |
|
|
s,@INSTALL@,$ac_INSTALL,;t t
|
5944 |
|
|
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
|
5945 |
|
|
rm -f $tmp/stdin
|
5946 |
|
|
if test x"$ac_file" != x-; then
|
5947 |
|
|
mv $tmp/out $ac_file
|
5948 |
|
|
else
|
5949 |
|
|
cat $tmp/out
|
5950 |
|
|
rm -f $tmp/out
|
5951 |
|
|
fi
|
5952 |
|
|
|
5953 |
|
|
done
|
5954 |
|
|
_ACEOF
|
5955 |
|
|
cat >>$CONFIG_STATUS <<\_ACEOF
|
5956 |
|
|
|
5957 |
|
|
#
|
5958 |
|
|
# CONFIG_HEADER section.
|
5959 |
|
|
#
|
5960 |
|
|
|
5961 |
7 |
jrydberg |
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
|
5962 |
|
|
# NAME is the cpp macro being defined and VALUE is the value it is being given.
|
5963 |
|
|
#
|
5964 |
|
|
# ac_d sets the value in "#define NAME VALUE" lines.
|
5965 |
1242 |
hpanther |
ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
|
5966 |
|
|
ac_dB='[ ].*$,\1#\2'
|
5967 |
|
|
ac_dC=' '
|
5968 |
|
|
ac_dD=',;t'
|
5969 |
|
|
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
|
5970 |
|
|
ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
|
5971 |
|
|
ac_uB='$,\1#\2define\3'
|
5972 |
7 |
jrydberg |
ac_uC=' '
|
5973 |
1242 |
hpanther |
ac_uD=',;t'
|
5974 |
7 |
jrydberg |
|
5975 |
1242 |
hpanther |
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
|
5976 |
7 |
jrydberg |
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
|
5977 |
1242 |
hpanther |
case $ac_file in
|
5978 |
|
|
- | *:- | *:-:* ) # input from stdin
|
5979 |
|
|
cat >$tmp/stdin
|
5980 |
|
|
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
|
5981 |
|
|
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
|
5982 |
|
|
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
|
5983 |
|
|
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
|
5984 |
|
|
* ) ac_file_in=$ac_file.in ;;
|
5985 |
7 |
jrydberg |
esac
|
5986 |
|
|
|
5987 |
1242 |
hpanther |
test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
|
5988 |
|
|
echo "$as_me: creating $ac_file" >&6;}
|
5989 |
7 |
jrydberg |
|
5990 |
1242 |
hpanther |
# First look for the input files in the build tree, otherwise in the
|
5991 |
|
|
# src tree.
|
5992 |
|
|
ac_file_inputs=`IFS=:
|
5993 |
|
|
for f in $ac_file_in; do
|
5994 |
|
|
case $f in
|
5995 |
|
|
-) echo $tmp/stdin ;;
|
5996 |
|
|
[\\/$]*)
|
5997 |
|
|
# Absolute (can't be DOS-style, as IFS=:)
|
5998 |
|
|
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
|
5999 |
|
|
echo "$as_me: error: cannot find input file: $f" >&2;}
|
6000 |
|
|
{ (exit 1); exit 1; }; }
|
6001 |
|
|
echo $f;;
|
6002 |
|
|
*) # Relative
|
6003 |
|
|
if test -f "$f"; then
|
6004 |
|
|
# Build tree
|
6005 |
|
|
echo $f
|
6006 |
|
|
elif test -f "$srcdir/$f"; then
|
6007 |
|
|
# Source tree
|
6008 |
|
|
echo $srcdir/$f
|
6009 |
|
|
else
|
6010 |
|
|
# /dev/null tree
|
6011 |
|
|
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
|
6012 |
|
|
echo "$as_me: error: cannot find input file: $f" >&2;}
|
6013 |
|
|
{ (exit 1); exit 1; }; }
|
6014 |
|
|
fi;;
|
6015 |
|
|
esac
|
6016 |
|
|
done` || { (exit 1); exit 1; }
|
6017 |
|
|
# Remove the trailing spaces.
|
6018 |
|
|
sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
|
6019 |
7 |
jrydberg |
|
6020 |
1242 |
hpanther |
_ACEOF
|
6021 |
7 |
jrydberg |
|
6022 |
1242 |
hpanther |
# Transform confdefs.h into two sed scripts, `conftest.defines' and
|
6023 |
|
|
# `conftest.undefs', that substitutes the proper values into
|
6024 |
|
|
# config.h.in to produce config.h. The first handles `#define'
|
6025 |
|
|
# templates, and the second `#undef' templates.
|
6026 |
|
|
# And first: Protect against being on the right side of a sed subst in
|
6027 |
|
|
# config.status. Protect against being in an unquoted here document
|
6028 |
|
|
# in config.status.
|
6029 |
|
|
rm -f conftest.defines conftest.undefs
|
6030 |
|
|
# Using a here document instead of a string reduces the quoting nightmare.
|
6031 |
|
|
# Putting comments in sed scripts is not portable.
|
6032 |
|
|
#
|
6033 |
|
|
# `end' is used to avoid that the second main sed command (meant for
|
6034 |
|
|
# 0-ary CPP macros) applies to n-ary macro definitions.
|
6035 |
|
|
# See the Autoconf documentation for `clear'.
|
6036 |
|
|
cat >confdef2sed.sed <<\_ACEOF
|
6037 |
|
|
s/[\\&,]/\\&/g
|
6038 |
|
|
s,[\\$`],\\&,g
|
6039 |
|
|
t clear
|
6040 |
|
|
: clear
|
6041 |
|
|
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
|
6042 |
|
|
t end
|
6043 |
|
|
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
|
6044 |
|
|
: end
|
6045 |
|
|
_ACEOF
|
6046 |
|
|
# If some macros were called several times there might be several times
|
6047 |
|
|
# the same #defines, which is useless. Nevertheless, we may not want to
|
6048 |
|
|
# sort them, since we want the *last* AC-DEFINE to be honored.
|
6049 |
|
|
uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
|
6050 |
|
|
sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
|
6051 |
|
|
rm -f confdef2sed.sed
|
6052 |
7 |
jrydberg |
|
6053 |
|
|
# This sed command replaces #undef with comments. This is necessary, for
|
6054 |
|
|
# example, in the case of _POSIX_SOURCE, which is predefined and required
|
6055 |
|
|
# on some systems where configure will not decide to define it.
|
6056 |
1242 |
hpanther |
cat >>conftest.undefs <<\_ACEOF
|
6057 |
|
|
s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
|
6058 |
|
|
_ACEOF
|
6059 |
7 |
jrydberg |
|
6060 |
1242 |
hpanther |
# Break up conftest.defines because some shells have a limit on the size
|
6061 |
|
|
# of here documents, and old seds have small limits too (100 cmds).
|
6062 |
|
|
echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
|
6063 |
|
|
echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
|
6064 |
|
|
echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
|
6065 |
|
|
echo ' :' >>$CONFIG_STATUS
|
6066 |
|
|
rm -f conftest.tail
|
6067 |
|
|
while grep . conftest.defines >/dev/null
|
6068 |
|
|
do
|
6069 |
|
|
# Write a limited-size here document to $tmp/defines.sed.
|
6070 |
|
|
echo ' cat >$tmp/defines.sed <>$CONFIG_STATUS
|
6071 |
|
|
# Speed up: don't consider the non `#define' lines.
|
6072 |
|
|
echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
|
6073 |
|
|
# Work around the forget-to-reset-the-flag bug.
|
6074 |
|
|
echo 't clr' >>$CONFIG_STATUS
|
6075 |
|
|
echo ': clr' >>$CONFIG_STATUS
|
6076 |
|
|
sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
|
6077 |
|
|
echo 'CEOF
|
6078 |
|
|
sed -f $tmp/defines.sed $tmp/in >$tmp/out
|
6079 |
|
|
rm -f $tmp/in
|
6080 |
|
|
mv $tmp/out $tmp/in
|
6081 |
|
|
' >>$CONFIG_STATUS
|
6082 |
|
|
sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
|
6083 |
|
|
rm -f conftest.defines
|
6084 |
|
|
mv conftest.tail conftest.defines
|
6085 |
|
|
done
|
6086 |
|
|
rm -f conftest.defines
|
6087 |
|
|
echo ' fi # grep' >>$CONFIG_STATUS
|
6088 |
|
|
echo >>$CONFIG_STATUS
|
6089 |
7 |
jrydberg |
|
6090 |
1242 |
hpanther |
# Break up conftest.undefs because some shells have a limit on the size
|
6091 |
|
|
# of here documents, and old seds have small limits too (100 cmds).
|
6092 |
|
|
echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
|
6093 |
7 |
jrydberg |
rm -f conftest.tail
|
6094 |
1242 |
hpanther |
while grep . conftest.undefs >/dev/null
|
6095 |
7 |
jrydberg |
do
|
6096 |
1242 |
hpanther |
# Write a limited-size here document to $tmp/undefs.sed.
|
6097 |
|
|
echo ' cat >$tmp/undefs.sed <>$CONFIG_STATUS
|
6098 |
|
|
# Speed up: don't consider the non `#undef'
|
6099 |
|
|
echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
|
6100 |
|
|
# Work around the forget-to-reset-the-flag bug.
|
6101 |
|
|
echo 't clr' >>$CONFIG_STATUS
|
6102 |
|
|
echo ': clr' >>$CONFIG_STATUS
|
6103 |
|
|
sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
|
6104 |
7 |
jrydberg |
echo 'CEOF
|
6105 |
1242 |
hpanther |
sed -f $tmp/undefs.sed $tmp/in >$tmp/out
|
6106 |
|
|
rm -f $tmp/in
|
6107 |
|
|
mv $tmp/out $tmp/in
|
6108 |
|
|
' >>$CONFIG_STATUS
|
6109 |
|
|
sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
|
6110 |
|
|
rm -f conftest.undefs
|
6111 |
|
|
mv conftest.tail conftest.undefs
|
6112 |
7 |
jrydberg |
done
|
6113 |
1242 |
hpanther |
rm -f conftest.undefs
|
6114 |
7 |
jrydberg |
|
6115 |
1242 |
hpanther |
cat >>$CONFIG_STATUS <<\_ACEOF
|
6116 |
|
|
# Let's still pretend it is `configure' which instantiates (i.e., don't
|
6117 |
|
|
# use $as_me), people would be surprised to read:
|
6118 |
|
|
# /* config.h. Generated by config.status. */
|
6119 |
|
|
if test x"$ac_file" = x-; then
|
6120 |
|
|
echo "/* Generated by configure. */" >$tmp/config.h
|
6121 |
7 |
jrydberg |
else
|
6122 |
1242 |
hpanther |
echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
|
6123 |
|
|
fi
|
6124 |
|
|
cat $tmp/in >>$tmp/config.h
|
6125 |
|
|
rm -f $tmp/in
|
6126 |
|
|
if test x"$ac_file" != x-; then
|
6127 |
|
|
if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
|
6128 |
|
|
{ echo "$as_me:$LINENO: $ac_file is unchanged" >&5
|
6129 |
|
|
echo "$as_me: $ac_file is unchanged" >&6;}
|
6130 |
|
|
else
|
6131 |
|
|
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
|
6132 |
|
|
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
6133 |
|
|
X"$ac_file" : 'X\(//\)[^/]' \| \
|
6134 |
|
|
X"$ac_file" : 'X\(//\)$' \| \
|
6135 |
|
|
X"$ac_file" : 'X\(/\)' \| \
|
6136 |
|
|
. : '\(.\)' 2>/dev/null ||
|
6137 |
|
|
echo X"$ac_file" |
|
6138 |
|
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
6139 |
|
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
6140 |
|
|
/^X\(\/\/\)$/{ s//\1/; q; }
|
6141 |
|
|
/^X\(\/\).*/{ s//\1/; q; }
|
6142 |
|
|
s/.*/./; q'`
|
6143 |
|
|
{ if $as_mkdir_p; then
|
6144 |
|
|
mkdir -p "$ac_dir"
|
6145 |
|
|
else
|
6146 |
|
|
as_dir="$ac_dir"
|
6147 |
|
|
as_dirs=
|
6148 |
|
|
while test ! -d "$as_dir"; do
|
6149 |
|
|
as_dirs="$as_dir $as_dirs"
|
6150 |
|
|
as_dir=`(dirname "$as_dir") 2>/dev/null ||
|
6151 |
|
|
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
6152 |
|
|
X"$as_dir" : 'X\(//\)[^/]' \| \
|
6153 |
|
|
X"$as_dir" : 'X\(//\)$' \| \
|
6154 |
|
|
X"$as_dir" : 'X\(/\)' \| \
|
6155 |
|
|
. : '\(.\)' 2>/dev/null ||
|
6156 |
|
|
echo X"$as_dir" |
|
6157 |
|
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
6158 |
|
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
6159 |
|
|
/^X\(\/\/\)$/{ s//\1/; q; }
|
6160 |
|
|
/^X\(\/\).*/{ s//\1/; q; }
|
6161 |
|
|
s/.*/./; q'`
|
6162 |
|
|
done
|
6163 |
|
|
test ! -n "$as_dirs" || mkdir $as_dirs
|
6164 |
|
|
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
|
6165 |
|
|
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
|
6166 |
|
|
{ (exit 1); exit 1; }; }; }
|
6167 |
|
|
|
6168 |
|
|
rm -f $ac_file
|
6169 |
|
|
mv $tmp/config.h $ac_file
|
6170 |
7 |
jrydberg |
fi
|
6171 |
1242 |
hpanther |
else
|
6172 |
|
|
cat $tmp/config.h
|
6173 |
|
|
rm -f $tmp/config.h
|
6174 |
7 |
jrydberg |
fi
|
6175 |
1242 |
hpanther |
# Run the commands associated with the file.
|
6176 |
|
|
case $ac_file in
|
6177 |
|
|
config.h ) # update the timestamp
|
6178 |
|
|
echo 'timestamp for config.h' >"./stamp-h1"
|
6179 |
|
|
;;
|
6180 |
|
|
esac
|
6181 |
|
|
done
|
6182 |
|
|
_ACEOF
|
6183 |
|
|
cat >>$CONFIG_STATUS <<\_ACEOF
|
6184 |
7 |
jrydberg |
|
6185 |
1242 |
hpanther |
#
|
6186 |
|
|
# CONFIG_COMMANDS section.
|
6187 |
|
|
#
|
6188 |
|
|
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
|
6189 |
|
|
ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
|
6190 |
|
|
ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
|
6191 |
|
|
ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
|
6192 |
|
|
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
6193 |
|
|
X"$ac_dest" : 'X\(//\)[^/]' \| \
|
6194 |
|
|
X"$ac_dest" : 'X\(//\)$' \| \
|
6195 |
|
|
X"$ac_dest" : 'X\(/\)' \| \
|
6196 |
|
|
. : '\(.\)' 2>/dev/null ||
|
6197 |
|
|
echo X"$ac_dest" |
|
6198 |
|
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
6199 |
|
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
6200 |
|
|
/^X\(\/\/\)$/{ s//\1/; q; }
|
6201 |
|
|
/^X\(\/\).*/{ s//\1/; q; }
|
6202 |
|
|
s/.*/./; q'`
|
6203 |
|
|
ac_builddir=.
|
6204 |
7 |
jrydberg |
|
6205 |
1242 |
hpanther |
if test "$ac_dir" != .; then
|
6206 |
|
|
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
|
6207 |
|
|
# A "../" for each directory in $ac_dir_suffix.
|
6208 |
|
|
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
|
6209 |
|
|
else
|
6210 |
|
|
ac_dir_suffix= ac_top_builddir=
|
6211 |
|
|
fi
|
6212 |
7 |
jrydberg |
|
6213 |
1242 |
hpanther |
case $srcdir in
|
6214 |
|
|
.) # No --srcdir option. We are building in place.
|
6215 |
|
|
ac_srcdir=.
|
6216 |
|
|
if test -z "$ac_top_builddir"; then
|
6217 |
|
|
ac_top_srcdir=.
|
6218 |
|
|
else
|
6219 |
|
|
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
|
6220 |
|
|
fi ;;
|
6221 |
|
|
[\\/]* | ?:[\\/]* ) # Absolute path.
|
6222 |
|
|
ac_srcdir=$srcdir$ac_dir_suffix;
|
6223 |
|
|
ac_top_srcdir=$srcdir ;;
|
6224 |
|
|
*) # Relative path.
|
6225 |
|
|
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
|
6226 |
|
|
ac_top_srcdir=$ac_top_builddir$srcdir ;;
|
6227 |
|
|
esac
|
6228 |
|
|
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
|
6229 |
|
|
# absolute.
|
6230 |
|
|
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
|
6231 |
|
|
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
|
6232 |
|
|
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
|
6233 |
|
|
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
|
6234 |
7 |
jrydberg |
|
6235 |
1242 |
hpanther |
|
6236 |
|
|
{ echo "$as_me:$LINENO: executing $ac_dest commands" >&5
|
6237 |
|
|
echo "$as_me: executing $ac_dest commands" >&6;}
|
6238 |
|
|
case $ac_dest in
|
6239 |
|
|
depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
|
6240 |
|
|
# Strip MF so we end up with the name of the file.
|
6241 |
|
|
mf=`echo "$mf" | sed -e 's/:.*$//'`
|
6242 |
|
|
# Check whether this is an Automake generated Makefile or not.
|
6243 |
|
|
# We used to match only the files named `Makefile.in', but
|
6244 |
|
|
# some people rename them; so instead we look at the file content.
|
6245 |
|
|
# Grep'ing the first line is not enough: some people post-process
|
6246 |
|
|
# each Makefile.in and add a new line on top of each file to say so.
|
6247 |
|
|
# So let's grep whole file.
|
6248 |
|
|
if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
|
6249 |
|
|
dirpart=`(dirname "$mf") 2>/dev/null ||
|
6250 |
|
|
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
6251 |
|
|
X"$mf" : 'X\(//\)[^/]' \| \
|
6252 |
|
|
X"$mf" : 'X\(//\)$' \| \
|
6253 |
|
|
X"$mf" : 'X\(/\)' \| \
|
6254 |
|
|
. : '\(.\)' 2>/dev/null ||
|
6255 |
|
|
echo X"$mf" |
|
6256 |
|
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
6257 |
|
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
6258 |
|
|
/^X\(\/\/\)$/{ s//\1/; q; }
|
6259 |
|
|
/^X\(\/\).*/{ s//\1/; q; }
|
6260 |
|
|
s/.*/./; q'`
|
6261 |
|
|
else
|
6262 |
|
|
continue
|
6263 |
|
|
fi
|
6264 |
|
|
grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
|
6265 |
|
|
# Extract the definition of DEP_FILES from the Makefile without
|
6266 |
|
|
# running `make'.
|
6267 |
|
|
DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
|
6268 |
|
|
test -z "$DEPDIR" && continue
|
6269 |
|
|
# When using ansi2knr, U may be empty or an underscore; expand it
|
6270 |
|
|
U=`sed -n -e '/^U = / s///p' < "$mf"`
|
6271 |
|
|
test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
|
6272 |
|
|
# We invoke sed twice because it is the simplest approach to
|
6273 |
|
|
# changing $(DEPDIR) to its actual value in the expansion.
|
6274 |
|
|
for file in `sed -n -e '
|
6275 |
|
|
/^DEP_FILES = .*\\\\$/ {
|
6276 |
|
|
s/^DEP_FILES = //
|
6277 |
|
|
:loop
|
6278 |
|
|
s/\\\\$//
|
6279 |
|
|
p
|
6280 |
|
|
n
|
6281 |
|
|
/\\\\$/ b loop
|
6282 |
|
|
p
|
6283 |
|
|
}
|
6284 |
|
|
/^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
|
6285 |
|
|
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
|
6286 |
|
|
# Make sure the directory exists.
|
6287 |
|
|
test -f "$dirpart/$file" && continue
|
6288 |
|
|
fdir=`(dirname "$file") 2>/dev/null ||
|
6289 |
|
|
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
6290 |
|
|
X"$file" : 'X\(//\)[^/]' \| \
|
6291 |
|
|
X"$file" : 'X\(//\)$' \| \
|
6292 |
|
|
X"$file" : 'X\(/\)' \| \
|
6293 |
|
|
. : '\(.\)' 2>/dev/null ||
|
6294 |
|
|
echo X"$file" |
|
6295 |
|
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
6296 |
|
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
6297 |
|
|
/^X\(\/\/\)$/{ s//\1/; q; }
|
6298 |
|
|
/^X\(\/\).*/{ s//\1/; q; }
|
6299 |
|
|
s/.*/./; q'`
|
6300 |
|
|
{ if $as_mkdir_p; then
|
6301 |
|
|
mkdir -p $dirpart/$fdir
|
6302 |
|
|
else
|
6303 |
|
|
as_dir=$dirpart/$fdir
|
6304 |
|
|
as_dirs=
|
6305 |
|
|
while test ! -d "$as_dir"; do
|
6306 |
|
|
as_dirs="$as_dir $as_dirs"
|
6307 |
|
|
as_dir=`(dirname "$as_dir") 2>/dev/null ||
|
6308 |
|
|
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
6309 |
|
|
X"$as_dir" : 'X\(//\)[^/]' \| \
|
6310 |
|
|
X"$as_dir" : 'X\(//\)$' \| \
|
6311 |
|
|
X"$as_dir" : 'X\(/\)' \| \
|
6312 |
|
|
. : '\(.\)' 2>/dev/null ||
|
6313 |
|
|
echo X"$as_dir" |
|
6314 |
|
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
6315 |
|
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
6316 |
|
|
/^X\(\/\/\)$/{ s//\1/; q; }
|
6317 |
|
|
/^X\(\/\).*/{ s//\1/; q; }
|
6318 |
|
|
s/.*/./; q'`
|
6319 |
|
|
done
|
6320 |
|
|
test ! -n "$as_dirs" || mkdir $as_dirs
|
6321 |
|
|
fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
|
6322 |
|
|
echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
|
6323 |
|
|
{ (exit 1); exit 1; }; }; }
|
6324 |
|
|
|
6325 |
|
|
# echo "creating $dirpart/$file"
|
6326 |
|
|
echo '# dummy' > "$dirpart/$file"
|
6327 |
|
|
done
|
6328 |
|
|
done
|
6329 |
|
|
;;
|
6330 |
|
|
default )
|
6331 |
7 |
jrydberg |
# Makefile uses this timestamp file to record whether config.h is up to date.
|
6332 |
|
|
echo > stamp-h
|
6333 |
1242 |
hpanther |
;;
|
6334 |
|
|
esac
|
6335 |
|
|
done
|
6336 |
|
|
_ACEOF
|
6337 |
7 |
jrydberg |
|
6338 |
1242 |
hpanther |
cat >>$CONFIG_STATUS <<\_ACEOF
|
6339 |
|
|
|
6340 |
|
|
{ (exit 0); exit 0; }
|
6341 |
|
|
_ACEOF
|
6342 |
7 |
jrydberg |
chmod +x $CONFIG_STATUS
|
6343 |
1242 |
hpanther |
ac_clean_files=$ac_clean_files_save
|
6344 |
7 |
jrydberg |
|
6345 |
1242 |
hpanther |
|
6346 |
|
|
# configure is writing to config.log, and then calls config.status.
|
6347 |
|
|
# config.status does its own redirection, appending to config.log.
|
6348 |
|
|
# Unfortunately, on DOS this fails, as config.log is still kept open
|
6349 |
|
|
# by configure, so config.status won't be able to write to it; its
|
6350 |
|
|
# output is simply discarded. So we exec the FD to /dev/null,
|
6351 |
|
|
# effectively closing config.log, so it can be properly (re)opened and
|
6352 |
|
|
# appended to by config.status. When coming back to configure, we
|
6353 |
|
|
# need to make the FD available again.
|
6354 |
|
|
if test "$no_create" != yes; then
|
6355 |
|
|
ac_cs_success=:
|
6356 |
|
|
ac_config_status_args=
|
6357 |
|
|
test "$silent" = yes &&
|
6358 |
|
|
ac_config_status_args="$ac_config_status_args --quiet"
|
6359 |
|
|
exec 5>/dev/null
|
6360 |
|
|
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
|
6361 |
|
|
exec 5>>config.log
|
6362 |
|
|
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
|
6363 |
|
|
# would make configure fail if this is the last instruction.
|
6364 |
|
|
$ac_cs_success || { (exit 1); exit 1; }
|
6365 |
|
|
fi
|
6366 |
|
|
|