1 |
224 |
markom |
#! /bin/sh
|
2 |
1249 |
lampret |
# From configure.in for or1ksim-1.2, version 2.14, from autoconf version 2.52.
|
3 |
|
|
# Guess values for system-dependent variables and create Makefiles.
|
4 |
|
|
# Generated by Autoconf 2.52.
|
5 |
|
|
#
|
6 |
|
|
# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
|
7 |
|
|
# Free Software Foundation, Inc.
|
8 |
|
|
# This configure script is free software; the Free Software Foundation
|
9 |
|
|
# gives unlimited permission to copy, distribute and modify it.
|
10 |
224 |
markom |
|
11 |
1249 |
lampret |
# Avoid depending upon Character Ranges.
|
12 |
|
|
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
13 |
|
|
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
14 |
|
|
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
|
15 |
|
|
as_cr_digits='0123456789'
|
16 |
|
|
as_cr_alnum=$as_cr_Letters$as_cr_digits
|
17 |
224 |
markom |
|
18 |
1249 |
lampret |
# Sed expression to map a string onto a valid variable name.
|
19 |
|
|
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
|
20 |
224 |
markom |
|
21 |
1249 |
lampret |
# Sed expression to map a string onto a valid CPP name.
|
22 |
|
|
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
|
23 |
224 |
markom |
|
24 |
1249 |
lampret |
# Be Bourne compatible
|
25 |
|
|
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
26 |
|
|
emulate sh
|
27 |
|
|
NULLCMD=:
|
28 |
|
|
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
|
29 |
|
|
set -o posix
|
30 |
|
|
fi
|
31 |
224 |
markom |
|
32 |
1249 |
lampret |
# Name of the executable.
|
33 |
|
|
as_me=`echo "$0" |sed 's,.*[\\/],,'`
|
34 |
224 |
markom |
|
35 |
1249 |
lampret |
if expr a : '\(a\)' >/dev/null 2>&1; then
|
36 |
|
|
as_expr=expr
|
37 |
|
|
else
|
38 |
|
|
as_expr=false
|
39 |
|
|
fi
|
40 |
224 |
markom |
|
41 |
1249 |
lampret |
rm -f conf$$ conf$$.exe conf$$.file
|
42 |
|
|
echo >conf$$.file
|
43 |
|
|
if ln -s conf$$.file conf$$ 2>/dev/null; then
|
44 |
|
|
# We could just check for DJGPP; but this test a) works b) is more generic
|
45 |
|
|
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
|
46 |
|
|
if test -f conf$$.exe; then
|
47 |
|
|
# Don't use ln at all; we don't have any links
|
48 |
|
|
as_ln_s='cp -p'
|
49 |
|
|
else
|
50 |
|
|
as_ln_s='ln -s'
|
51 |
|
|
fi
|
52 |
|
|
elif ln conf$$.file conf$$ 2>/dev/null; then
|
53 |
|
|
as_ln_s=ln
|
54 |
|
|
else
|
55 |
|
|
as_ln_s='cp -p'
|
56 |
|
|
fi
|
57 |
|
|
rm -f conf$$ conf$$.exe conf$$.file
|
58 |
224 |
markom |
|
59 |
1249 |
lampret |
as_executable_p="test -f"
|
60 |
224 |
markom |
|
61 |
1249 |
lampret |
# Support unset when possible.
|
62 |
|
|
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
|
63 |
|
|
as_unset=unset
|
64 |
|
|
else
|
65 |
|
|
as_unset=false
|
66 |
|
|
fi
|
67 |
224 |
markom |
|
68 |
1249 |
lampret |
# NLS nuisances.
|
69 |
|
|
$as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
|
70 |
|
|
$as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
|
71 |
|
|
$as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
|
72 |
|
|
$as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
|
73 |
|
|
$as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
|
74 |
|
|
$as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
|
75 |
|
|
$as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
|
76 |
|
|
$as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
|
77 |
224 |
markom |
|
78 |
1249 |
lampret |
# IFS
|
79 |
|
|
# We need space, tab and new line, in precisely that order.
|
80 |
|
|
as_nl='
|
81 |
|
|
'
|
82 |
|
|
IFS=" $as_nl"
|
83 |
224 |
markom |
|
84 |
1249 |
lampret |
# CDPATH.
|
85 |
|
|
$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
|
86 |
224 |
markom |
|
87 |
1249 |
lampret |
# Name of the host.
|
88 |
|
|
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
|
89 |
|
|
# so uname gets run too.
|
90 |
|
|
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
|
91 |
224 |
markom |
|
92 |
1249 |
lampret |
exec 6>&1
|
93 |
224 |
markom |
|
94 |
1249 |
lampret |
#
|
95 |
|
|
# Initializations.
|
96 |
|
|
#
|
97 |
|
|
ac_default_prefix=/usr/local
|
98 |
|
|
cross_compiling=no
|
99 |
|
|
subdirs=
|
100 |
|
|
MFLAGS= MAKEFLAGS=
|
101 |
|
|
SHELL=${CONFIG_SHELL-/bin/sh}
|
102 |
889 |
ivang |
|
103 |
1249 |
lampret |
# Maximum number of lines to put in a shell here document.
|
104 |
|
|
# This variable seems obsolete. It should probably be removed, and
|
105 |
|
|
# only ac_max_sed_lines should be used.
|
106 |
|
|
: ${ac_max_here_lines=38}
|
107 |
889 |
ivang |
|
108 |
1249 |
lampret |
ac_unique_file="support/support.h"
|
109 |
889 |
ivang |
|
110 |
224 |
markom |
# Initialize some variables set by options.
|
111 |
1249 |
lampret |
ac_init_help=
|
112 |
|
|
ac_init_version=false
|
113 |
224 |
markom |
# The variables have the same names as the options, with
|
114 |
|
|
# dashes changed to underlines.
|
115 |
1249 |
lampret |
cache_file=/dev/null
|
116 |
224 |
markom |
exec_prefix=NONE
|
117 |
|
|
no_create=
|
118 |
|
|
no_recursion=
|
119 |
|
|
prefix=NONE
|
120 |
|
|
program_prefix=NONE
|
121 |
|
|
program_suffix=NONE
|
122 |
|
|
program_transform_name=s,x,x,
|
123 |
|
|
silent=
|
124 |
|
|
site=
|
125 |
|
|
srcdir=
|
126 |
|
|
verbose=
|
127 |
|
|
x_includes=NONE
|
128 |
|
|
x_libraries=NONE
|
129 |
1249 |
lampret |
|
130 |
|
|
# Installation directory options.
|
131 |
|
|
# These are left unexpanded so users can "make install exec_prefix=/foo"
|
132 |
|
|
# and all the variables that are supposed to be based on exec_prefix
|
133 |
|
|
# by default will actually change.
|
134 |
|
|
# Use braces instead of parens because sh, perl, etc. also accept them.
|
135 |
224 |
markom |
bindir='${exec_prefix}/bin'
|
136 |
|
|
sbindir='${exec_prefix}/sbin'
|
137 |
|
|
libexecdir='${exec_prefix}/libexec'
|
138 |
|
|
datadir='${prefix}/share'
|
139 |
|
|
sysconfdir='${prefix}/etc'
|
140 |
|
|
sharedstatedir='${prefix}/com'
|
141 |
|
|
localstatedir='${prefix}/var'
|
142 |
|
|
libdir='${exec_prefix}/lib'
|
143 |
|
|
includedir='${prefix}/include'
|
144 |
|
|
oldincludedir='/usr/include'
|
145 |
|
|
infodir='${prefix}/info'
|
146 |
|
|
mandir='${prefix}/man'
|
147 |
|
|
|
148 |
1249 |
lampret |
# Identity of this package.
|
149 |
|
|
PACKAGE_NAME=
|
150 |
|
|
PACKAGE_TARNAME=
|
151 |
|
|
PACKAGE_VERSION=
|
152 |
|
|
PACKAGE_STRING=
|
153 |
|
|
PACKAGE_BUGREPORT=
|
154 |
224 |
markom |
|
155 |
|
|
ac_prev=
|
156 |
|
|
for ac_option
|
157 |
|
|
do
|
158 |
|
|
# If the previous option needs an argument, assign it.
|
159 |
|
|
if test -n "$ac_prev"; then
|
160 |
|
|
eval "$ac_prev=\$ac_option"
|
161 |
|
|
ac_prev=
|
162 |
|
|
continue
|
163 |
|
|
fi
|
164 |
|
|
|
165 |
1249 |
lampret |
ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
|
166 |
224 |
markom |
|
167 |
|
|
# Accept the important Cygnus configure options, so we can diagnose typos.
|
168 |
|
|
|
169 |
1249 |
lampret |
case $ac_option in
|
170 |
224 |
markom |
|
171 |
|
|
-bindir | --bindir | --bindi | --bind | --bin | --bi)
|
172 |
|
|
ac_prev=bindir ;;
|
173 |
|
|
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
|
174 |
1249 |
lampret |
bindir=$ac_optarg ;;
|
175 |
224 |
markom |
|
176 |
|
|
-build | --build | --buil | --bui | --bu)
|
177 |
1249 |
lampret |
ac_prev=build_alias ;;
|
178 |
224 |
markom |
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
|
179 |
1249 |
lampret |
build_alias=$ac_optarg ;;
|
180 |
224 |
markom |
|
181 |
|
|
-cache-file | --cache-file | --cache-fil | --cache-fi \
|
182 |
|
|
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
|
183 |
|
|
ac_prev=cache_file ;;
|
184 |
|
|
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
|
185 |
|
|
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
|
186 |
1249 |
lampret |
cache_file=$ac_optarg ;;
|
187 |
224 |
markom |
|
188 |
1249 |
lampret |
--config-cache | -C)
|
189 |
|
|
cache_file=config.cache ;;
|
190 |
|
|
|
191 |
224 |
markom |
-datadir | --datadir | --datadi | --datad | --data | --dat | --da)
|
192 |
|
|
ac_prev=datadir ;;
|
193 |
|
|
-datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
|
194 |
|
|
| --da=*)
|
195 |
1249 |
lampret |
datadir=$ac_optarg ;;
|
196 |
224 |
markom |
|
197 |
|
|
-disable-* | --disable-*)
|
198 |
1249 |
lampret |
ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
|
199 |
224 |
markom |
# Reject names that are not valid shell variable names.
|
200 |
1249 |
lampret |
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
|
201 |
|
|
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
|
202 |
|
|
{ (exit 1); exit 1; }; }
|
203 |
|
|
ac_feature=`echo $ac_feature | sed 's/-/_/g'`
|
204 |
|
|
eval "enable_$ac_feature=no" ;;
|
205 |
224 |
markom |
|
206 |
|
|
-enable-* | --enable-*)
|
207 |
1249 |
lampret |
ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
|
208 |
224 |
markom |
# Reject names that are not valid shell variable names.
|
209 |
1249 |
lampret |
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
|
210 |
|
|
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
|
211 |
|
|
{ (exit 1); exit 1; }; }
|
212 |
|
|
ac_feature=`echo $ac_feature | sed 's/-/_/g'`
|
213 |
|
|
case $ac_option in
|
214 |
|
|
*=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
|
215 |
224 |
markom |
*) ac_optarg=yes ;;
|
216 |
|
|
esac
|
217 |
1249 |
lampret |
eval "enable_$ac_feature='$ac_optarg'" ;;
|
218 |
224 |
markom |
|
219 |
|
|
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
|
220 |
|
|
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
|
221 |
|
|
| --exec | --exe | --ex)
|
222 |
|
|
ac_prev=exec_prefix ;;
|
223 |
|
|
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
|
224 |
|
|
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
|
225 |
|
|
| --exec=* | --exe=* | --ex=*)
|
226 |
1249 |
lampret |
exec_prefix=$ac_optarg ;;
|
227 |
224 |
markom |
|
228 |
|
|
-gas | --gas | --ga | --g)
|
229 |
|
|
# Obsolete; use --with-gas.
|
230 |
|
|
with_gas=yes ;;
|
231 |
|
|
|
232 |
1249 |
lampret |
-help | --help | --hel | --he | -h)
|
233 |
|
|
ac_init_help=long ;;
|
234 |
|
|
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
|
235 |
|
|
ac_init_help=recursive ;;
|
236 |
|
|
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
|
237 |
|
|
ac_init_help=short ;;
|
238 |
224 |
markom |
|
239 |
|
|
-host | --host | --hos | --ho)
|
240 |
1249 |
lampret |
ac_prev=host_alias ;;
|
241 |
224 |
markom |
-host=* | --host=* | --hos=* | --ho=*)
|
242 |
1249 |
lampret |
host_alias=$ac_optarg ;;
|
243 |
224 |
markom |
|
244 |
|
|
-includedir | --includedir | --includedi | --included | --include \
|
245 |
|
|
| --includ | --inclu | --incl | --inc)
|
246 |
|
|
ac_prev=includedir ;;
|
247 |
|
|
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
|
248 |
|
|
| --includ=* | --inclu=* | --incl=* | --inc=*)
|
249 |
1249 |
lampret |
includedir=$ac_optarg ;;
|
250 |
224 |
markom |
|
251 |
|
|
-infodir | --infodir | --infodi | --infod | --info | --inf)
|
252 |
|
|
ac_prev=infodir ;;
|
253 |
|
|
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
|
254 |
1249 |
lampret |
infodir=$ac_optarg ;;
|
255 |
224 |
markom |
|
256 |
|
|
-libdir | --libdir | --libdi | --libd)
|
257 |
|
|
ac_prev=libdir ;;
|
258 |
|
|
-libdir=* | --libdir=* | --libdi=* | --libd=*)
|
259 |
1249 |
lampret |
libdir=$ac_optarg ;;
|
260 |
224 |
markom |
|
261 |
|
|
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
|
262 |
|
|
| --libexe | --libex | --libe)
|
263 |
|
|
ac_prev=libexecdir ;;
|
264 |
|
|
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
|
265 |
|
|
| --libexe=* | --libex=* | --libe=*)
|
266 |
1249 |
lampret |
libexecdir=$ac_optarg ;;
|
267 |
224 |
markom |
|
268 |
|
|
-localstatedir | --localstatedir | --localstatedi | --localstated \
|
269 |
|
|
| --localstate | --localstat | --localsta | --localst \
|
270 |
|
|
| --locals | --local | --loca | --loc | --lo)
|
271 |
|
|
ac_prev=localstatedir ;;
|
272 |
|
|
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
|
273 |
|
|
| --localstate=* | --localstat=* | --localsta=* | --localst=* \
|
274 |
|
|
| --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
|
275 |
1249 |
lampret |
localstatedir=$ac_optarg ;;
|
276 |
224 |
markom |
|
277 |
|
|
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
|
278 |
|
|
ac_prev=mandir ;;
|
279 |
|
|
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
|
280 |
1249 |
lampret |
mandir=$ac_optarg ;;
|
281 |
224 |
markom |
|
282 |
|
|
-nfp | --nfp | --nf)
|
283 |
|
|
# Obsolete; use --without-fp.
|
284 |
|
|
with_fp=no ;;
|
285 |
|
|
|
286 |
|
|
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
|
287 |
|
|
| --no-cr | --no-c)
|
288 |
|
|
no_create=yes ;;
|
289 |
|
|
|
290 |
|
|
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
|
291 |
|
|
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
|
292 |
|
|
no_recursion=yes ;;
|
293 |
|
|
|
294 |
|
|
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
|
295 |
|
|
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
|
296 |
|
|
| --oldin | --oldi | --old | --ol | --o)
|
297 |
|
|
ac_prev=oldincludedir ;;
|
298 |
|
|
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
|
299 |
|
|
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
|
300 |
|
|
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
|
301 |
1249 |
lampret |
oldincludedir=$ac_optarg ;;
|
302 |
224 |
markom |
|
303 |
|
|
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
|
304 |
|
|
ac_prev=prefix ;;
|
305 |
|
|
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
|
306 |
1249 |
lampret |
prefix=$ac_optarg ;;
|
307 |
224 |
markom |
|
308 |
|
|
-program-prefix | --program-prefix | --program-prefi | --program-pref \
|
309 |
|
|
| --program-pre | --program-pr | --program-p)
|
310 |
|
|
ac_prev=program_prefix ;;
|
311 |
|
|
-program-prefix=* | --program-prefix=* | --program-prefi=* \
|
312 |
|
|
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
|
313 |
1249 |
lampret |
program_prefix=$ac_optarg ;;
|
314 |
224 |
markom |
|
315 |
|
|
-program-suffix | --program-suffix | --program-suffi | --program-suff \
|
316 |
|
|
| --program-suf | --program-su | --program-s)
|
317 |
|
|
ac_prev=program_suffix ;;
|
318 |
|
|
-program-suffix=* | --program-suffix=* | --program-suffi=* \
|
319 |
|
|
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
|
320 |
1249 |
lampret |
program_suffix=$ac_optarg ;;
|
321 |
224 |
markom |
|
322 |
|
|
-program-transform-name | --program-transform-name \
|
323 |
|
|
| --program-transform-nam | --program-transform-na \
|
324 |
|
|
| --program-transform-n | --program-transform- \
|
325 |
|
|
| --program-transform | --program-transfor \
|
326 |
|
|
| --program-transfo | --program-transf \
|
327 |
|
|
| --program-trans | --program-tran \
|
328 |
|
|
| --progr-tra | --program-tr | --program-t)
|
329 |
|
|
ac_prev=program_transform_name ;;
|
330 |
|
|
-program-transform-name=* | --program-transform-name=* \
|
331 |
|
|
| --program-transform-nam=* | --program-transform-na=* \
|
332 |
|
|
| --program-transform-n=* | --program-transform-=* \
|
333 |
|
|
| --program-transform=* | --program-transfor=* \
|
334 |
|
|
| --program-transfo=* | --program-transf=* \
|
335 |
|
|
| --program-trans=* | --program-tran=* \
|
336 |
|
|
| --progr-tra=* | --program-tr=* | --program-t=*)
|
337 |
1249 |
lampret |
program_transform_name=$ac_optarg ;;
|
338 |
224 |
markom |
|
339 |
|
|
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
340 |
|
|
| -silent | --silent | --silen | --sile | --sil)
|
341 |
|
|
silent=yes ;;
|
342 |
|
|
|
343 |
|
|
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
|
344 |
|
|
ac_prev=sbindir ;;
|
345 |
|
|
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
|
346 |
|
|
| --sbi=* | --sb=*)
|
347 |
1249 |
lampret |
sbindir=$ac_optarg ;;
|
348 |
224 |
markom |
|
349 |
|
|
-sharedstatedir | --sharedstatedir | --sharedstatedi \
|
350 |
|
|
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
|
351 |
|
|
| --sharedst | --shareds | --shared | --share | --shar \
|
352 |
|
|
| --sha | --sh)
|
353 |
|
|
ac_prev=sharedstatedir ;;
|
354 |
|
|
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
|
355 |
|
|
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
|
356 |
|
|
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
|
357 |
|
|
| --sha=* | --sh=*)
|
358 |
1249 |
lampret |
sharedstatedir=$ac_optarg ;;
|
359 |
224 |
markom |
|
360 |
|
|
-site | --site | --sit)
|
361 |
|
|
ac_prev=site ;;
|
362 |
|
|
-site=* | --site=* | --sit=*)
|
363 |
1249 |
lampret |
site=$ac_optarg ;;
|
364 |
224 |
markom |
|
365 |
|
|
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
|
366 |
|
|
ac_prev=srcdir ;;
|
367 |
|
|
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
|
368 |
1249 |
lampret |
srcdir=$ac_optarg ;;
|
369 |
224 |
markom |
|
370 |
|
|
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
|
371 |
|
|
| --syscon | --sysco | --sysc | --sys | --sy)
|
372 |
|
|
ac_prev=sysconfdir ;;
|
373 |
|
|
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
|
374 |
|
|
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
|
375 |
1249 |
lampret |
sysconfdir=$ac_optarg ;;
|
376 |
224 |
markom |
|
377 |
|
|
-target | --target | --targe | --targ | --tar | --ta | --t)
|
378 |
1249 |
lampret |
ac_prev=target_alias ;;
|
379 |
224 |
markom |
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
|
380 |
1249 |
lampret |
target_alias=$ac_optarg ;;
|
381 |
224 |
markom |
|
382 |
|
|
-v | -verbose | --verbose | --verbos | --verbo | --verb)
|
383 |
|
|
verbose=yes ;;
|
384 |
|
|
|
385 |
1249 |
lampret |
-version | --version | --versio | --versi | --vers | -V)
|
386 |
|
|
ac_init_version=: ;;
|
387 |
224 |
markom |
|
388 |
|
|
-with-* | --with-*)
|
389 |
1249 |
lampret |
ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
|
390 |
224 |
markom |
# Reject names that are not valid shell variable names.
|
391 |
1249 |
lampret |
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
|
392 |
|
|
{ echo "$as_me: error: invalid package name: $ac_package" >&2
|
393 |
|
|
{ (exit 1); exit 1; }; }
|
394 |
224 |
markom |
ac_package=`echo $ac_package| sed 's/-/_/g'`
|
395 |
1249 |
lampret |
case $ac_option in
|
396 |
|
|
*=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
|
397 |
224 |
markom |
*) ac_optarg=yes ;;
|
398 |
|
|
esac
|
399 |
1249 |
lampret |
eval "with_$ac_package='$ac_optarg'" ;;
|
400 |
224 |
markom |
|
401 |
|
|
-without-* | --without-*)
|
402 |
1249 |
lampret |
ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
|
403 |
224 |
markom |
# Reject names that are not valid shell variable names.
|
404 |
1249 |
lampret |
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
|
405 |
|
|
{ echo "$as_me: error: invalid package name: $ac_package" >&2
|
406 |
|
|
{ (exit 1); exit 1; }; }
|
407 |
|
|
ac_package=`echo $ac_package | sed 's/-/_/g'`
|
408 |
|
|
eval "with_$ac_package=no" ;;
|
409 |
224 |
markom |
|
410 |
|
|
--x)
|
411 |
|
|
# Obsolete; use --with-x.
|
412 |
|
|
with_x=yes ;;
|
413 |
|
|
|
414 |
|
|
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
|
415 |
|
|
| --x-incl | --x-inc | --x-in | --x-i)
|
416 |
|
|
ac_prev=x_includes ;;
|
417 |
|
|
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
|
418 |
|
|
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
|
419 |
1249 |
lampret |
x_includes=$ac_optarg ;;
|
420 |
224 |
markom |
|
421 |
|
|
-x-libraries | --x-libraries | --x-librarie | --x-librari \
|
422 |
|
|
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
|
423 |
|
|
ac_prev=x_libraries ;;
|
424 |
|
|
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
|
425 |
|
|
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
|
426 |
1249 |
lampret |
x_libraries=$ac_optarg ;;
|
427 |
224 |
markom |
|
428 |
1249 |
lampret |
-*) { echo "$as_me: error: unrecognized option: $ac_option
|
429 |
|
|
Try \`$0 --help' for more information." >&2
|
430 |
|
|
{ (exit 1); exit 1; }; }
|
431 |
224 |
markom |
;;
|
432 |
|
|
|
433 |
1249 |
lampret |
*=*)
|
434 |
|
|
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
|
435 |
|
|
# Reject names that are not valid shell variable names.
|
436 |
|
|
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
|
437 |
|
|
{ echo "$as_me: error: invalid variable name: $ac_envvar" >&2
|
438 |
|
|
{ (exit 1); exit 1; }; }
|
439 |
|
|
ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
|
440 |
|
|
eval "$ac_envvar='$ac_optarg'"
|
441 |
|
|
export $ac_envvar ;;
|
442 |
|
|
|
443 |
224 |
markom |
*)
|
444 |
1249 |
lampret |
# FIXME: should be removed in autoconf 3.0.
|
445 |
|
|
echo "$as_me: WARNING: you should use --build, --host, --target" >&2
|
446 |
|
|
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
|
447 |
|
|
echo "$as_me: WARNING: invalid host type: $ac_option" >&2
|
448 |
|
|
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
|
449 |
224 |
markom |
;;
|
450 |
|
|
|
451 |
|
|
esac
|
452 |
|
|
done
|
453 |
|
|
|
454 |
|
|
if test -n "$ac_prev"; then
|
455 |
1249 |
lampret |
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
|
456 |
|
|
{ echo "$as_me: error: missing argument to $ac_option" >&2
|
457 |
|
|
{ (exit 1); exit 1; }; }
|
458 |
224 |
markom |
fi
|
459 |
|
|
|
460 |
1249 |
lampret |
# Be sure to have absolute paths.
|
461 |
|
|
for ac_var in exec_prefix prefix
|
462 |
|
|
do
|
463 |
|
|
eval ac_val=$`echo $ac_var`
|
464 |
|
|
case $ac_val in
|
465 |
|
|
[\\/$]* | ?:[\\/]* | NONE | '' ) ;;
|
466 |
|
|
*) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
|
467 |
|
|
{ (exit 1); exit 1; }; };;
|
468 |
|
|
esac
|
469 |
|
|
done
|
470 |
224 |
markom |
|
471 |
1249 |
lampret |
# Be sure to have absolute paths.
|
472 |
|
|
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
|
473 |
|
|
localstatedir libdir includedir oldincludedir infodir mandir
|
474 |
224 |
markom |
do
|
475 |
1249 |
lampret |
eval ac_val=$`echo $ac_var`
|
476 |
|
|
case $ac_val in
|
477 |
|
|
[\\/$]* | ?:[\\/]* ) ;;
|
478 |
|
|
*) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
|
479 |
|
|
{ (exit 1); exit 1; }; };;
|
480 |
224 |
markom |
esac
|
481 |
|
|
done
|
482 |
|
|
|
483 |
1249 |
lampret |
# There might be people who depend on the old broken behavior: `$host'
|
484 |
|
|
# used to hold the argument of --host etc.
|
485 |
|
|
build=$build_alias
|
486 |
|
|
host=$host_alias
|
487 |
|
|
target=$target_alias
|
488 |
224 |
markom |
|
489 |
1249 |
lampret |
# FIXME: should be removed in autoconf 3.0.
|
490 |
|
|
if test "x$host_alias" != x; then
|
491 |
|
|
if test "x$build_alias" = x; then
|
492 |
|
|
cross_compiling=maybe
|
493 |
|
|
echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
|
494 |
|
|
If a cross compiler is detected then cross compile mode will be used." >&2
|
495 |
|
|
elif test "x$build_alias" != "x$host_alias"; then
|
496 |
|
|
cross_compiling=yes
|
497 |
|
|
fi
|
498 |
|
|
fi
|
499 |
224 |
markom |
|
500 |
1249 |
lampret |
ac_tool_prefix=
|
501 |
|
|
test -n "$host_alias" && ac_tool_prefix=$host_alias-
|
502 |
224 |
markom |
|
503 |
1249 |
lampret |
test "$silent" = yes && exec 6>/dev/null
|
504 |
|
|
|
505 |
224 |
markom |
# Find the source files, if location was not specified.
|
506 |
|
|
if test -z "$srcdir"; then
|
507 |
|
|
ac_srcdir_defaulted=yes
|
508 |
|
|
# Try the directory containing this script, then its parent.
|
509 |
|
|
ac_prog=$0
|
510 |
1249 |
lampret |
ac_confdir=`echo "$ac_prog" | sed 's%[\\/][^\\/][^\\/]*$%%'`
|
511 |
224 |
markom |
test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
|
512 |
|
|
srcdir=$ac_confdir
|
513 |
|
|
if test ! -r $srcdir/$ac_unique_file; then
|
514 |
|
|
srcdir=..
|
515 |
|
|
fi
|
516 |
|
|
else
|
517 |
|
|
ac_srcdir_defaulted=no
|
518 |
|
|
fi
|
519 |
|
|
if test ! -r $srcdir/$ac_unique_file; then
|
520 |
|
|
if test "$ac_srcdir_defaulted" = yes; then
|
521 |
1249 |
lampret |
{ echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2
|
522 |
|
|
{ (exit 1); exit 1; }; }
|
523 |
224 |
markom |
else
|
524 |
1249 |
lampret |
{ echo "$as_me: error: cannot find sources in $srcdir" >&2
|
525 |
|
|
{ (exit 1); exit 1; }; }
|
526 |
224 |
markom |
fi
|
527 |
|
|
fi
|
528 |
1249 |
lampret |
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
|
529 |
|
|
ac_env_build_alias_set=${build_alias+set}
|
530 |
|
|
ac_env_build_alias_value=$build_alias
|
531 |
|
|
ac_cv_env_build_alias_set=${build_alias+set}
|
532 |
|
|
ac_cv_env_build_alias_value=$build_alias
|
533 |
|
|
ac_env_host_alias_set=${host_alias+set}
|
534 |
|
|
ac_env_host_alias_value=$host_alias
|
535 |
|
|
ac_cv_env_host_alias_set=${host_alias+set}
|
536 |
|
|
ac_cv_env_host_alias_value=$host_alias
|
537 |
|
|
ac_env_target_alias_set=${target_alias+set}
|
538 |
|
|
ac_env_target_alias_value=$target_alias
|
539 |
|
|
ac_cv_env_target_alias_set=${target_alias+set}
|
540 |
|
|
ac_cv_env_target_alias_value=$target_alias
|
541 |
|
|
ac_env_CC_set=${CC+set}
|
542 |
|
|
ac_env_CC_value=$CC
|
543 |
|
|
ac_cv_env_CC_set=${CC+set}
|
544 |
|
|
ac_cv_env_CC_value=$CC
|
545 |
|
|
ac_env_CFLAGS_set=${CFLAGS+set}
|
546 |
|
|
ac_env_CFLAGS_value=$CFLAGS
|
547 |
|
|
ac_cv_env_CFLAGS_set=${CFLAGS+set}
|
548 |
|
|
ac_cv_env_CFLAGS_value=$CFLAGS
|
549 |
|
|
ac_env_LDFLAGS_set=${LDFLAGS+set}
|
550 |
|
|
ac_env_LDFLAGS_value=$LDFLAGS
|
551 |
|
|
ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
|
552 |
|
|
ac_cv_env_LDFLAGS_value=$LDFLAGS
|
553 |
|
|
ac_env_CPPFLAGS_set=${CPPFLAGS+set}
|
554 |
|
|
ac_env_CPPFLAGS_value=$CPPFLAGS
|
555 |
|
|
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
|
556 |
|
|
ac_cv_env_CPPFLAGS_value=$CPPFLAGS
|
557 |
|
|
ac_env_CPP_set=${CPP+set}
|
558 |
|
|
ac_env_CPP_value=$CPP
|
559 |
|
|
ac_cv_env_CPP_set=${CPP+set}
|
560 |
|
|
ac_cv_env_CPP_value=$CPP
|
561 |
224 |
markom |
|
562 |
1249 |
lampret |
#
|
563 |
|
|
# Report the --help message.
|
564 |
|
|
#
|
565 |
|
|
if test "$ac_init_help" = "long"; then
|
566 |
|
|
# Omit some internal or obsolete options to make the list less imposing.
|
567 |
|
|
# This message is too long to be a string in the A/UX 3.1 sh.
|
568 |
|
|
cat <
|
569 |
|
|
\`configure' configures this package to adapt to many kinds of systems.
|
570 |
|
|
|
571 |
|
|
Usage: $0 [OPTION]... [VAR=VALUE]...
|
572 |
|
|
|
573 |
|
|
To assign environment variables (e.g., CC, CFLAGS...), specify them as
|
574 |
|
|
VAR=VALUE. See below for descriptions of some of the useful variables.
|
575 |
|
|
|
576 |
|
|
Defaults for the options are specified in brackets.
|
577 |
|
|
|
578 |
|
|
Configuration:
|
579 |
|
|
-h, --help display this help and exit
|
580 |
|
|
--help=short display options specific to this package
|
581 |
|
|
--help=recursive display the short help of all the included packages
|
582 |
|
|
-V, --version display version information and exit
|
583 |
|
|
-q, --quiet, --silent do not print \`checking...' messages
|
584 |
|
|
--cache-file=FILE cache test results in FILE [disabled]
|
585 |
|
|
-C, --config-cache alias for \`--cache-file=config.cache'
|
586 |
|
|
-n, --no-create do not create output files
|
587 |
|
|
--srcdir=DIR find the sources in DIR [configure dir or \`..']
|
588 |
|
|
|
589 |
|
|
EOF
|
590 |
|
|
|
591 |
|
|
cat <
|
592 |
|
|
Installation directories:
|
593 |
|
|
--prefix=PREFIX install architecture-independent files in PREFIX
|
594 |
|
|
[$ac_default_prefix]
|
595 |
|
|
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
|
596 |
|
|
[PREFIX]
|
597 |
|
|
|
598 |
|
|
By default, \`make install' will install all the files in
|
599 |
|
|
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
|
600 |
|
|
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
|
601 |
|
|
for instance \`--prefix=\$HOME'.
|
602 |
|
|
|
603 |
|
|
For better control, use the options below.
|
604 |
|
|
|
605 |
|
|
Fine tuning of the installation directories:
|
606 |
|
|
--bindir=DIR user executables [EPREFIX/bin]
|
607 |
|
|
--sbindir=DIR system admin executables [EPREFIX/sbin]
|
608 |
|
|
--libexecdir=DIR program executables [EPREFIX/libexec]
|
609 |
|
|
--datadir=DIR read-only architecture-independent data [PREFIX/share]
|
610 |
|
|
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
|
611 |
|
|
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
|
612 |
|
|
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
|
613 |
|
|
--libdir=DIR object code libraries [EPREFIX/lib]
|
614 |
|
|
--includedir=DIR C header files [PREFIX/include]
|
615 |
|
|
--oldincludedir=DIR C header files for non-gcc [/usr/include]
|
616 |
|
|
--infodir=DIR info documentation [PREFIX/info]
|
617 |
|
|
--mandir=DIR man documentation [PREFIX/man]
|
618 |
|
|
EOF
|
619 |
|
|
|
620 |
|
|
cat <<\EOF
|
621 |
|
|
|
622 |
|
|
Program names:
|
623 |
|
|
--program-prefix=PREFIX prepend PREFIX to installed program names
|
624 |
|
|
--program-suffix=SUFFIX append SUFFIX to installed program names
|
625 |
|
|
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
|
626 |
|
|
|
627 |
|
|
System types:
|
628 |
|
|
--build=BUILD configure for building on BUILD [guessed]
|
629 |
|
|
--host=HOST build programs to run on HOST [BUILD]
|
630 |
|
|
EOF
|
631 |
|
|
fi
|
632 |
|
|
|
633 |
|
|
if test -n "$ac_init_help"; then
|
634 |
|
|
|
635 |
|
|
cat <<\EOF
|
636 |
|
|
|
637 |
|
|
Optional Features:
|
638 |
|
|
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
|
639 |
|
|
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
|
640 |
|
|
--enable-opt enable optimizations
|
641 |
|
|
--enable-opt=level same as gcc -O switch
|
642 |
|
|
|
643 |
|
|
Some influential environment variables:
|
644 |
|
|
CC C compiler command
|
645 |
|
|
CFLAGS C compiler flags
|
646 |
|
|
LDFLAGS linker flags, e.g. -L if you have libraries in a
|
647 |
|
|
nonstandard directory
|
648 |
|
|
CPPFLAGS C/C++ preprocessor flags, e.g. -I if you have
|
649 |
|
|
headers in a nonstandard directory
|
650 |
|
|
CPP C preprocessor
|
651 |
|
|
|
652 |
|
|
Use these variables to override the choices made by `configure' or to help
|
653 |
|
|
it to find libraries and programs with nonstandard names/locations.
|
654 |
|
|
|
655 |
|
|
EOF
|
656 |
|
|
fi
|
657 |
|
|
|
658 |
|
|
if test "$ac_init_help" = "recursive"; then
|
659 |
|
|
# If there are subdirs, report their specific --help.
|
660 |
|
|
ac_popdir=`pwd`
|
661 |
|
|
for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue
|
662 |
|
|
cd $ac_subdir
|
663 |
|
|
# A "../" for each directory in /$ac_subdir.
|
664 |
|
|
ac_dots=`echo $ac_subdir |
|
665 |
|
|
sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'`
|
666 |
|
|
|
667 |
|
|
case $srcdir in
|
668 |
|
|
.) # No --srcdir option. We are building in place.
|
669 |
|
|
ac_sub_srcdir=$srcdir ;;
|
670 |
|
|
[\\/]* | ?:[\\/]* ) # Absolute path.
|
671 |
|
|
ac_sub_srcdir=$srcdir/$ac_subdir ;;
|
672 |
|
|
*) # Relative path.
|
673 |
|
|
ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;;
|
674 |
|
|
esac
|
675 |
|
|
|
676 |
|
|
# Check for guested configure; otherwise get Cygnus style configure.
|
677 |
|
|
if test -f $ac_sub_srcdir/configure.gnu; then
|
678 |
|
|
echo
|
679 |
|
|
$SHELL $ac_sub_srcdir/configure.gnu --help=recursive
|
680 |
|
|
elif test -f $ac_sub_srcdir/configure; then
|
681 |
|
|
echo
|
682 |
|
|
$SHELL $ac_sub_srcdir/configure --help=recursive
|
683 |
|
|
elif test -f $ac_sub_srcdir/configure.ac ||
|
684 |
|
|
test -f $ac_sub_srcdir/configure.in; then
|
685 |
|
|
echo
|
686 |
|
|
$ac_configure --help
|
687 |
|
|
else
|
688 |
|
|
echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2
|
689 |
|
|
fi
|
690 |
|
|
cd $ac_popdir
|
691 |
|
|
done
|
692 |
|
|
fi
|
693 |
|
|
|
694 |
|
|
test -n "$ac_init_help" && exit 0
|
695 |
|
|
if $ac_init_version; then
|
696 |
|
|
cat <<\EOF
|
697 |
|
|
|
698 |
|
|
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
|
699 |
|
|
Free Software Foundation, Inc.
|
700 |
|
|
This configure script is free software; the Free Software Foundation
|
701 |
|
|
gives unlimited permission to copy, distribute and modify it.
|
702 |
|
|
EOF
|
703 |
|
|
exit 0
|
704 |
|
|
fi
|
705 |
|
|
exec 5>config.log
|
706 |
|
|
cat >&5 <
|
707 |
|
|
This file contains any messages produced by compilers while
|
708 |
|
|
running configure, to aid debugging if configure makes a mistake.
|
709 |
|
|
|
710 |
|
|
It was created by $as_me, which was
|
711 |
|
|
generated by GNU Autoconf 2.52. Invocation command line was
|
712 |
|
|
|
713 |
|
|
$ $0 $@
|
714 |
|
|
|
715 |
|
|
EOF
|
716 |
|
|
{
|
717 |
|
|
cat <<_ASUNAME
|
718 |
|
|
## ---------- ##
|
719 |
|
|
## Platform. ##
|
720 |
|
|
## ---------- ##
|
721 |
|
|
|
722 |
|
|
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
|
723 |
|
|
uname -m = `(uname -m) 2>/dev/null || echo unknown`
|
724 |
|
|
uname -r = `(uname -r) 2>/dev/null || echo unknown`
|
725 |
|
|
uname -s = `(uname -s) 2>/dev/null || echo unknown`
|
726 |
|
|
uname -v = `(uname -v) 2>/dev/null || echo unknown`
|
727 |
|
|
|
728 |
|
|
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
|
729 |
|
|
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
|
730 |
|
|
|
731 |
|
|
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
|
732 |
|
|
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
|
733 |
|
|
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
|
734 |
|
|
hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
|
735 |
|
|
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
|
736 |
|
|
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
|
737 |
|
|
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
|
738 |
|
|
|
739 |
|
|
PATH = $PATH
|
740 |
|
|
|
741 |
|
|
_ASUNAME
|
742 |
|
|
} >&5
|
743 |
|
|
|
744 |
|
|
cat >&5 <
|
745 |
|
|
## ------------ ##
|
746 |
|
|
## Core tests. ##
|
747 |
|
|
## ------------ ##
|
748 |
|
|
|
749 |
|
|
EOF
|
750 |
|
|
|
751 |
|
|
# Keep a trace of the command line.
|
752 |
|
|
# Strip out --no-create and --no-recursion so they do not pile up.
|
753 |
|
|
# Also quote any args containing shell meta-characters.
|
754 |
|
|
ac_configure_args=
|
755 |
|
|
ac_sep=
|
756 |
|
|
for ac_arg
|
757 |
|
|
do
|
758 |
|
|
case $ac_arg in
|
759 |
|
|
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
|
760 |
|
|
| --no-cr | --no-c) ;;
|
761 |
|
|
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
|
762 |
|
|
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
|
763 |
|
|
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
|
764 |
|
|
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
|
765 |
|
|
ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
|
766 |
|
|
ac_sep=" " ;;
|
767 |
|
|
*) ac_configure_args="$ac_configure_args$ac_sep$ac_arg"
|
768 |
|
|
ac_sep=" " ;;
|
769 |
|
|
esac
|
770 |
|
|
# Get rid of the leading space.
|
771 |
|
|
done
|
772 |
|
|
|
773 |
|
|
# When interrupted or exit'd, cleanup temporary files, and complete
|
774 |
|
|
# config.log. We remove comments because anyway the quotes in there
|
775 |
|
|
# would cause problems or look ugly.
|
776 |
|
|
trap 'exit_status=$?
|
777 |
|
|
# Save into config.log some information that might help in debugging.
|
778 |
|
|
echo >&5
|
779 |
|
|
echo "## ----------------- ##" >&5
|
780 |
|
|
echo "## Cache variables. ##" >&5
|
781 |
|
|
echo "## ----------------- ##" >&5
|
782 |
|
|
echo >&5
|
783 |
|
|
# The following way of writing the cache mishandles newlines in values,
|
784 |
|
|
{
|
785 |
|
|
(set) 2>&1 |
|
786 |
|
|
case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
|
787 |
|
|
*ac_space=\ *)
|
788 |
|
|
sed -n \
|
789 |
|
|
"s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
|
790 |
|
|
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
|
791 |
|
|
;;
|
792 |
|
|
*)
|
793 |
|
|
sed -n \
|
794 |
|
|
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
|
795 |
|
|
;;
|
796 |
|
|
esac;
|
797 |
|
|
} >&5
|
798 |
|
|
sed "/^$/d" confdefs.h >conftest.log
|
799 |
|
|
if test -s conftest.log; then
|
800 |
|
|
echo >&5
|
801 |
|
|
echo "## ------------ ##" >&5
|
802 |
|
|
echo "## confdefs.h. ##" >&5
|
803 |
|
|
echo "## ------------ ##" >&5
|
804 |
|
|
echo >&5
|
805 |
|
|
cat conftest.log >&5
|
806 |
|
|
fi
|
807 |
|
|
(echo; echo) >&5
|
808 |
|
|
test "$ac_signal" != 0 &&
|
809 |
|
|
echo "$as_me: caught signal $ac_signal" >&5
|
810 |
|
|
echo "$as_me: exit $exit_status" >&5
|
811 |
|
|
rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files &&
|
812 |
|
|
exit $exit_status
|
813 |
|
|
' 0
|
814 |
|
|
for ac_signal in 1 2 13 15; do
|
815 |
|
|
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
|
816 |
|
|
done
|
817 |
|
|
ac_signal=0
|
818 |
|
|
|
819 |
|
|
# confdefs.h avoids OS command line length limits that DEFS can exceed.
|
820 |
|
|
rm -rf conftest* confdefs.h
|
821 |
|
|
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
|
822 |
|
|
echo >confdefs.h
|
823 |
|
|
|
824 |
|
|
# Let the site file select an alternate cache file if it wants to.
|
825 |
224 |
markom |
# Prefer explicitly selected file to automatically selected ones.
|
826 |
|
|
if test -z "$CONFIG_SITE"; then
|
827 |
|
|
if test "x$prefix" != xNONE; then
|
828 |
|
|
CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
|
829 |
|
|
else
|
830 |
|
|
CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
|
831 |
|
|
fi
|
832 |
|
|
fi
|
833 |
|
|
for ac_site_file in $CONFIG_SITE; do
|
834 |
|
|
if test -r "$ac_site_file"; then
|
835 |
1249 |
lampret |
{ echo "$as_me:835: loading site script $ac_site_file" >&5
|
836 |
|
|
echo "$as_me: loading site script $ac_site_file" >&6;}
|
837 |
|
|
cat "$ac_site_file" >&5
|
838 |
224 |
markom |
. "$ac_site_file"
|
839 |
|
|
fi
|
840 |
|
|
done
|
841 |
|
|
|
842 |
258 |
erez |
if test -r "$cache_file"; then
|
843 |
1249 |
lampret |
# Some versions of bash will fail to source /dev/null (special
|
844 |
|
|
# files actually), so we avoid doing that.
|
845 |
|
|
if test -f "$cache_file"; then
|
846 |
|
|
{ echo "$as_me:846: loading cache $cache_file" >&5
|
847 |
|
|
echo "$as_me: loading cache $cache_file" >&6;}
|
848 |
|
|
case $cache_file in
|
849 |
|
|
[\\/]* | ?:[\\/]* ) . $cache_file;;
|
850 |
|
|
*) . ./$cache_file;;
|
851 |
|
|
esac
|
852 |
|
|
fi
|
853 |
258 |
erez |
else
|
854 |
1249 |
lampret |
{ echo "$as_me:854: creating cache $cache_file" >&5
|
855 |
|
|
echo "$as_me: creating cache $cache_file" >&6;}
|
856 |
|
|
>$cache_file
|
857 |
258 |
erez |
fi
|
858 |
224 |
markom |
|
859 |
1249 |
lampret |
# Check that the precious variables saved in the cache have kept the same
|
860 |
|
|
# value.
|
861 |
|
|
ac_cache_corrupted=false
|
862 |
|
|
for ac_var in `(set) 2>&1 |
|
863 |
|
|
sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
|
864 |
|
|
eval ac_old_set=\$ac_cv_env_${ac_var}_set
|
865 |
|
|
eval ac_new_set=\$ac_env_${ac_var}_set
|
866 |
|
|
eval ac_old_val="\$ac_cv_env_${ac_var}_value"
|
867 |
|
|
eval ac_new_val="\$ac_env_${ac_var}_value"
|
868 |
|
|
case $ac_old_set,$ac_new_set in
|
869 |
|
|
set,)
|
870 |
|
|
{ echo "$as_me:870: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
|
871 |
|
|
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
|
872 |
|
|
ac_cache_corrupted=: ;;
|
873 |
|
|
,set)
|
874 |
|
|
{ echo "$as_me:874: error: \`$ac_var' was not set in the previous run" >&5
|
875 |
|
|
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
|
876 |
|
|
ac_cache_corrupted=: ;;
|
877 |
|
|
,);;
|
878 |
|
|
*)
|
879 |
|
|
if test "x$ac_old_val" != "x$ac_new_val"; then
|
880 |
|
|
{ echo "$as_me:880: error: \`$ac_var' has changed since the previous run:" >&5
|
881 |
|
|
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
|
882 |
|
|
{ echo "$as_me:882: former value: $ac_old_val" >&5
|
883 |
|
|
echo "$as_me: former value: $ac_old_val" >&2;}
|
884 |
|
|
{ echo "$as_me:884: current value: $ac_new_val" >&5
|
885 |
|
|
echo "$as_me: current value: $ac_new_val" >&2;}
|
886 |
|
|
ac_cache_corrupted=:
|
887 |
|
|
fi;;
|
888 |
|
|
esac
|
889 |
|
|
# Pass precious variables to config.status. It doesn't matter if
|
890 |
|
|
# we pass some twice (in addition to the command line arguments).
|
891 |
|
|
if test "$ac_new_set" = set; then
|
892 |
|
|
case $ac_new_val in
|
893 |
|
|
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
|
894 |
|
|
ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"`
|
895 |
|
|
ac_configure_args="$ac_configure_args '$ac_arg'"
|
896 |
|
|
;;
|
897 |
|
|
*) ac_configure_args="$ac_configure_args $ac_var=$ac_new_val"
|
898 |
|
|
;;
|
899 |
|
|
esac
|
900 |
|
|
fi
|
901 |
|
|
done
|
902 |
|
|
if $ac_cache_corrupted; then
|
903 |
|
|
{ echo "$as_me:903: error: changes in the environment can compromise the build" >&5
|
904 |
|
|
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
|
905 |
|
|
{ { echo "$as_me:905: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
|
906 |
|
|
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
|
907 |
|
|
{ (exit 1); exit 1; }; }
|
908 |
|
|
fi
|
909 |
|
|
|
910 |
224 |
markom |
ac_ext=c
|
911 |
|
|
ac_cpp='$CPP $CPPFLAGS'
|
912 |
1249 |
lampret |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
913 |
|
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
914 |
|
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
915 |
224 |
markom |
|
916 |
1249 |
lampret |
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
|
917 |
|
|
*c*,-n*) ECHO_N= ECHO_C='
|
918 |
|
|
' ECHO_T=' ' ;;
|
919 |
|
|
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
|
920 |
|
|
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
|
921 |
|
|
esac
|
922 |
|
|
echo "#! $SHELL" >conftest.sh
|
923 |
|
|
echo "exit 0" >>conftest.sh
|
924 |
|
|
chmod +x conftest.sh
|
925 |
|
|
if { (echo "$as_me:925: PATH=\".;.\"; conftest.sh") >&5
|
926 |
|
|
(PATH=".;."; conftest.sh) 2>&5
|
927 |
|
|
ac_status=$?
|
928 |
|
|
echo "$as_me:928: \$? = $ac_status" >&5
|
929 |
|
|
(exit $ac_status); }; then
|
930 |
|
|
ac_path_separator=';'
|
931 |
224 |
markom |
else
|
932 |
1249 |
lampret |
ac_path_separator=:
|
933 |
224 |
markom |
fi
|
934 |
1249 |
lampret |
PATH_SEPARATOR="$ac_path_separator"
|
935 |
|
|
rm -f conftest.sh
|
936 |
224 |
markom |
|
937 |
|
|
ac_aux_dir=
|
938 |
|
|
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
|
939 |
|
|
if test -f $ac_dir/install-sh; then
|
940 |
|
|
ac_aux_dir=$ac_dir
|
941 |
|
|
ac_install_sh="$ac_aux_dir/install-sh -c"
|
942 |
|
|
break
|
943 |
|
|
elif test -f $ac_dir/install.sh; then
|
944 |
|
|
ac_aux_dir=$ac_dir
|
945 |
|
|
ac_install_sh="$ac_aux_dir/install.sh -c"
|
946 |
|
|
break
|
947 |
1249 |
lampret |
elif test -f $ac_dir/shtool; then
|
948 |
|
|
ac_aux_dir=$ac_dir
|
949 |
|
|
ac_install_sh="$ac_aux_dir/shtool install -c"
|
950 |
|
|
break
|
951 |
224 |
markom |
fi
|
952 |
|
|
done
|
953 |
|
|
if test -z "$ac_aux_dir"; then
|
954 |
1249 |
lampret |
{ { echo "$as_me:954: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
|
955 |
|
|
echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
|
956 |
|
|
{ (exit 1); exit 1; }; }
|
957 |
224 |
markom |
fi
|
958 |
1249 |
lampret |
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
|
959 |
|
|
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
|
960 |
|
|
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
|
961 |
224 |
markom |
|
962 |
1249 |
lampret |
# Make sure we can run config.sub.
|
963 |
|
|
$ac_config_sub sun4 >/dev/null 2>&1 ||
|
964 |
|
|
{ { echo "$as_me:964: error: cannot run $ac_config_sub" >&5
|
965 |
|
|
echo "$as_me: error: cannot run $ac_config_sub" >&2;}
|
966 |
|
|
{ (exit 1); exit 1; }; }
|
967 |
224 |
markom |
|
968 |
1249 |
lampret |
echo "$as_me:968: checking build system type" >&5
|
969 |
|
|
echo $ECHO_N "checking build system type... $ECHO_C" >&6
|
970 |
|
|
if test "${ac_cv_build+set}" = set; then
|
971 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
972 |
|
|
else
|
973 |
|
|
ac_cv_build_alias=$build_alias
|
974 |
|
|
test -z "$ac_cv_build_alias" &&
|
975 |
|
|
ac_cv_build_alias=`$ac_config_guess`
|
976 |
|
|
test -z "$ac_cv_build_alias" &&
|
977 |
|
|
{ { echo "$as_me:977: error: cannot guess build type; you must specify one" >&5
|
978 |
|
|
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
|
979 |
|
|
{ (exit 1); exit 1; }; }
|
980 |
|
|
ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
|
981 |
|
|
{ { echo "$as_me:981: error: $ac_config_sub $ac_cv_build_alias failed." >&5
|
982 |
|
|
echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed." >&2;}
|
983 |
|
|
{ (exit 1); exit 1; }; }
|
984 |
|
|
|
985 |
224 |
markom |
fi
|
986 |
1249 |
lampret |
echo "$as_me:986: result: $ac_cv_build" >&5
|
987 |
|
|
echo "${ECHO_T}$ac_cv_build" >&6
|
988 |
|
|
build=$ac_cv_build
|
989 |
|
|
build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
|
990 |
|
|
build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
|
991 |
|
|
build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
|
992 |
224 |
markom |
|
993 |
1249 |
lampret |
echo "$as_me:993: checking host system type" >&5
|
994 |
|
|
echo $ECHO_N "checking host system type... $ECHO_C" >&6
|
995 |
|
|
if test "${ac_cv_host+set}" = set; then
|
996 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
997 |
|
|
else
|
998 |
|
|
ac_cv_host_alias=$host_alias
|
999 |
|
|
test -z "$ac_cv_host_alias" &&
|
1000 |
|
|
ac_cv_host_alias=$ac_cv_build_alias
|
1001 |
|
|
ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
|
1002 |
|
|
{ { echo "$as_me:1002: error: $ac_config_sub $ac_cv_host_alias failed" >&5
|
1003 |
|
|
echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
|
1004 |
|
|
{ (exit 1); exit 1; }; }
|
1005 |
224 |
markom |
|
1006 |
1249 |
lampret |
fi
|
1007 |
|
|
echo "$as_me:1007: result: $ac_cv_host" >&5
|
1008 |
|
|
echo "${ECHO_T}$ac_cv_host" >&6
|
1009 |
|
|
host=$ac_cv_host
|
1010 |
|
|
host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
|
1011 |
|
|
host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
|
1012 |
|
|
host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
|
1013 |
224 |
markom |
|
1014 |
|
|
# Find a good install program. We prefer a C program (faster),
|
1015 |
|
|
# so one script is as good as another. But avoid the broken or
|
1016 |
|
|
# incompatible versions:
|
1017 |
|
|
# SysV /etc/install, /usr/sbin/install
|
1018 |
|
|
# SunOS /usr/etc/install
|
1019 |
|
|
# IRIX /sbin/install
|
1020 |
|
|
# AIX /bin/install
|
1021 |
1249 |
lampret |
# AmigaOS /C/install, which installs bootblocks on floppy discs
|
1022 |
224 |
markom |
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
|
1023 |
|
|
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
|
1024 |
|
|
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
|
1025 |
|
|
# ./install, which can be erroneously created by make from ./install.sh.
|
1026 |
1249 |
lampret |
echo "$as_me:1026: checking for a BSD compatible install" >&5
|
1027 |
|
|
echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
|
1028 |
224 |
markom |
if test -z "$INSTALL"; then
|
1029 |
1249 |
lampret |
if test "${ac_cv_path_install+set}" = set; then
|
1030 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
1031 |
224 |
markom |
else
|
1032 |
1249 |
lampret |
ac_save_IFS=$IFS; IFS=$ac_path_separator
|
1033 |
224 |
markom |
for ac_dir in $PATH; do
|
1034 |
1249 |
lampret |
IFS=$ac_save_IFS
|
1035 |
224 |
markom |
# Account for people who put trailing slashes in PATH elements.
|
1036 |
1249 |
lampret |
case $ac_dir/ in
|
1037 |
|
|
/ | ./ | .// | /cC/* \
|
1038 |
|
|
| /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \
|
1039 |
|
|
| /usr/ucb/* ) ;;
|
1040 |
224 |
markom |
*)
|
1041 |
|
|
# OSF1 and SCO ODT 3.0 have their own names for install.
|
1042 |
|
|
# Don't use installbsd from OSF since it installs stuff as root
|
1043 |
|
|
# by default.
|
1044 |
|
|
for ac_prog in ginstall scoinst install; do
|
1045 |
1249 |
lampret |
if $as_executable_p "$ac_dir/$ac_prog"; then
|
1046 |
224 |
markom |
if test $ac_prog = install &&
|
1047 |
1249 |
lampret |
grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then
|
1048 |
224 |
markom |
# AIX install. It has an incompatible calling convention.
|
1049 |
|
|
:
|
1050 |
1249 |
lampret |
elif test $ac_prog = install &&
|
1051 |
|
|
grep pwplus "$ac_dir/$ac_prog" >/dev/null 2>&1; then
|
1052 |
|
|
# program-specific install script used by HP pwplus--don't use.
|
1053 |
|
|
:
|
1054 |
224 |
markom |
else
|
1055 |
|
|
ac_cv_path_install="$ac_dir/$ac_prog -c"
|
1056 |
|
|
break 2
|
1057 |
|
|
fi
|
1058 |
|
|
fi
|
1059 |
|
|
done
|
1060 |
|
|
;;
|
1061 |
|
|
esac
|
1062 |
|
|
done
|
1063 |
|
|
|
1064 |
|
|
fi
|
1065 |
|
|
if test "${ac_cv_path_install+set}" = set; then
|
1066 |
1249 |
lampret |
INSTALL=$ac_cv_path_install
|
1067 |
224 |
markom |
else
|
1068 |
|
|
# As a last resort, use the slow shell script. We don't cache a
|
1069 |
|
|
# path for INSTALL within a source directory, because that will
|
1070 |
|
|
# break other packages using the cache if that directory is
|
1071 |
|
|
# removed, or if the path is relative.
|
1072 |
1249 |
lampret |
INSTALL=$ac_install_sh
|
1073 |
224 |
markom |
fi
|
1074 |
|
|
fi
|
1075 |
1249 |
lampret |
echo "$as_me:1075: result: $INSTALL" >&5
|
1076 |
|
|
echo "${ECHO_T}$INSTALL" >&6
|
1077 |
224 |
markom |
|
1078 |
|
|
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
|
1079 |
|
|
# It thinks the first close brace ends the variable substitution.
|
1080 |
|
|
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
|
1081 |
|
|
|
1082 |
1249 |
lampret |
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
|
1083 |
224 |
markom |
|
1084 |
|
|
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
|
1085 |
|
|
|
1086 |
1249 |
lampret |
echo "$as_me:1086: checking whether build environment is sane" >&5
|
1087 |
|
|
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
|
1088 |
224 |
markom |
# Just in case
|
1089 |
|
|
sleep 1
|
1090 |
|
|
echo timestamp > conftestfile
|
1091 |
|
|
# Do `set' in a subshell so we don't clobber the current shell's
|
1092 |
|
|
# arguments. Must try -L first in case configure is actually a
|
1093 |
|
|
# symlink; some systems play weird games with the mod time of symlinks
|
1094 |
|
|
# (eg FreeBSD returns the mod time of the symlink's containing
|
1095 |
|
|
# directory).
|
1096 |
|
|
if (
|
1097 |
|
|
set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
|
1098 |
|
|
if test "$*" = "X"; then
|
1099 |
|
|
# -L didn't work.
|
1100 |
|
|
set X `ls -t $srcdir/configure conftestfile`
|
1101 |
|
|
fi
|
1102 |
|
|
if test "$*" != "X $srcdir/configure conftestfile" \
|
1103 |
|
|
&& test "$*" != "X conftestfile $srcdir/configure"; then
|
1104 |
|
|
|
1105 |
|
|
# If neither matched, then we have a broken ls. This can happen
|
1106 |
|
|
# if, for instance, CONFIG_SHELL is bash and it inherits a
|
1107 |
|
|
# broken ls alias from the environment. This has actually
|
1108 |
|
|
# happened. Such a system could not be considered "sane".
|
1109 |
1249 |
lampret |
{ { echo "$as_me:1109: error: ls -t appears to fail. Make sure there is not a broken
|
1110 |
|
|
alias in your environment" >&5
|
1111 |
|
|
echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
|
1112 |
|
|
alias in your environment" >&2;}
|
1113 |
|
|
{ (exit 1); exit 1; }; }
|
1114 |
224 |
markom |
fi
|
1115 |
|
|
|
1116 |
|
|
test "$2" = conftestfile
|
1117 |
|
|
)
|
1118 |
|
|
then
|
1119 |
|
|
# Ok.
|
1120 |
|
|
:
|
1121 |
|
|
else
|
1122 |
1249 |
lampret |
{ { echo "$as_me:1122: error: newly created file is older than distributed files!
|
1123 |
|
|
Check your system clock" >&5
|
1124 |
|
|
echo "$as_me: error: newly created file is older than distributed files!
|
1125 |
|
|
Check your system clock" >&2;}
|
1126 |
|
|
{ (exit 1); exit 1; }; }
|
1127 |
224 |
markom |
fi
|
1128 |
|
|
rm -f conftest*
|
1129 |
1249 |
lampret |
echo "$as_me:1129: result: yes" >&5
|
1130 |
|
|
echo "${ECHO_T}yes" >&6
|
1131 |
224 |
markom |
test "$program_prefix" != NONE &&
|
1132 |
1249 |
lampret |
program_transform_name="s,^,$program_prefix,;$program_transform_name"
|
1133 |
224 |
markom |
# Use a double $ so make ignores it.
|
1134 |
|
|
test "$program_suffix" != NONE &&
|
1135 |
1249 |
lampret |
program_transform_name="s,\$,$program_suffix,;$program_transform_name"
|
1136 |
|
|
# Double any \ or $. echo might interpret backslashes.
|
1137 |
|
|
# By default was `s,x,x', remove it if useless.
|
1138 |
|
|
cat <<\_ACEOF >conftest.sed
|
1139 |
|
|
s/[\\$]/&&/g;s/;s,x,x,$//
|
1140 |
|
|
_ACEOF
|
1141 |
|
|
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
|
1142 |
|
|
rm conftest.sed
|
1143 |
224 |
markom |
|
1144 |
1249 |
lampret |
echo "$as_me:1144: checking whether ${MAKE-make} sets \${MAKE}" >&5
|
1145 |
|
|
echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
|
1146 |
|
|
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
|
1147 |
|
|
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
|
1148 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
1149 |
224 |
markom |
else
|
1150 |
1249 |
lampret |
cat >conftest.make <<\EOF
|
1151 |
224 |
markom |
all:
|
1152 |
|
|
@echo 'ac_maketemp="${MAKE}"'
|
1153 |
|
|
EOF
|
1154 |
|
|
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
|
1155 |
1249 |
lampret |
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
|
1156 |
224 |
markom |
if test -n "$ac_maketemp"; then
|
1157 |
|
|
eval ac_cv_prog_make_${ac_make}_set=yes
|
1158 |
|
|
else
|
1159 |
|
|
eval ac_cv_prog_make_${ac_make}_set=no
|
1160 |
|
|
fi
|
1161 |
1249 |
lampret |
rm -f conftest.make
|
1162 |
224 |
markom |
fi
|
1163 |
|
|
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
|
1164 |
1249 |
lampret |
echo "$as_me:1164: result: yes" >&5
|
1165 |
|
|
echo "${ECHO_T}yes" >&6
|
1166 |
224 |
markom |
SET_MAKE=
|
1167 |
|
|
else
|
1168 |
1249 |
lampret |
echo "$as_me:1168: result: no" >&5
|
1169 |
|
|
echo "${ECHO_T}no" >&6
|
1170 |
224 |
markom |
SET_MAKE="MAKE=${MAKE-make}"
|
1171 |
|
|
fi
|
1172 |
|
|
|
1173 |
|
|
PACKAGE=or1ksimtest
|
1174 |
|
|
|
1175 |
|
|
VERSION=1.3
|
1176 |
|
|
|
1177 |
|
|
if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
|
1178 |
1249 |
lampret |
{ { echo "$as_me:1178: error: source directory already configured; run \"make distclean\" there first" >&5
|
1179 |
|
|
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
|
1180 |
|
|
{ (exit 1); exit 1; }; }
|
1181 |
224 |
markom |
fi
|
1182 |
1249 |
lampret |
|
1183 |
|
|
cat >>confdefs.h <
|
1184 |
224 |
markom |
#define PACKAGE "$PACKAGE"
|
1185 |
|
|
EOF
|
1186 |
|
|
|
1187 |
1249 |
lampret |
cat >>confdefs.h <
|
1188 |
224 |
markom |
#define VERSION "$VERSION"
|
1189 |
|
|
EOF
|
1190 |
|
|
|
1191 |
|
|
missing_dir=`cd $ac_aux_dir && pwd`
|
1192 |
1249 |
lampret |
echo "$as_me:1192: checking for working aclocal" >&5
|
1193 |
|
|
echo $ECHO_N "checking for working aclocal... $ECHO_C" >&6
|
1194 |
224 |
markom |
# Run test in a subshell; some versions of sh will print an error if
|
1195 |
|
|
# an executable is not found, even if stderr is redirected.
|
1196 |
|
|
# Redirect stdin to placate older versions of autoconf. Sigh.
|
1197 |
|
|
if (aclocal --version) < /dev/null > /dev/null 2>&1; then
|
1198 |
|
|
ACLOCAL=aclocal
|
1199 |
1249 |
lampret |
echo "$as_me:1199: result: found" >&5
|
1200 |
|
|
echo "${ECHO_T}found" >&6
|
1201 |
224 |
markom |
else
|
1202 |
|
|
ACLOCAL="$missing_dir/missing aclocal"
|
1203 |
1249 |
lampret |
echo "$as_me:1203: result: missing" >&5
|
1204 |
|
|
echo "${ECHO_T}missing" >&6
|
1205 |
224 |
markom |
fi
|
1206 |
|
|
|
1207 |
1249 |
lampret |
echo "$as_me:1207: checking for working autoconf" >&5
|
1208 |
|
|
echo $ECHO_N "checking for working autoconf... $ECHO_C" >&6
|
1209 |
224 |
markom |
# Run test in a subshell; some versions of sh will print an error if
|
1210 |
|
|
# an executable is not found, even if stderr is redirected.
|
1211 |
|
|
# Redirect stdin to placate older versions of autoconf. Sigh.
|
1212 |
|
|
if (autoconf --version) < /dev/null > /dev/null 2>&1; then
|
1213 |
|
|
AUTOCONF=autoconf
|
1214 |
1249 |
lampret |
echo "$as_me:1214: result: found" >&5
|
1215 |
|
|
echo "${ECHO_T}found" >&6
|
1216 |
224 |
markom |
else
|
1217 |
|
|
AUTOCONF="$missing_dir/missing autoconf"
|
1218 |
1249 |
lampret |
echo "$as_me:1218: result: missing" >&5
|
1219 |
|
|
echo "${ECHO_T}missing" >&6
|
1220 |
224 |
markom |
fi
|
1221 |
|
|
|
1222 |
1249 |
lampret |
echo "$as_me:1222: checking for working automake" >&5
|
1223 |
|
|
echo $ECHO_N "checking for working automake... $ECHO_C" >&6
|
1224 |
224 |
markom |
# Run test in a subshell; some versions of sh will print an error if
|
1225 |
|
|
# an executable is not found, even if stderr is redirected.
|
1226 |
|
|
# Redirect stdin to placate older versions of autoconf. Sigh.
|
1227 |
|
|
if (automake --version) < /dev/null > /dev/null 2>&1; then
|
1228 |
|
|
AUTOMAKE=automake
|
1229 |
1249 |
lampret |
echo "$as_me:1229: result: found" >&5
|
1230 |
|
|
echo "${ECHO_T}found" >&6
|
1231 |
224 |
markom |
else
|
1232 |
|
|
AUTOMAKE="$missing_dir/missing automake"
|
1233 |
1249 |
lampret |
echo "$as_me:1233: result: missing" >&5
|
1234 |
|
|
echo "${ECHO_T}missing" >&6
|
1235 |
224 |
markom |
fi
|
1236 |
|
|
|
1237 |
1249 |
lampret |
echo "$as_me:1237: checking for working autoheader" >&5
|
1238 |
|
|
echo $ECHO_N "checking for working autoheader... $ECHO_C" >&6
|
1239 |
224 |
markom |
# Run test in a subshell; some versions of sh will print an error if
|
1240 |
|
|
# an executable is not found, even if stderr is redirected.
|
1241 |
|
|
# Redirect stdin to placate older versions of autoconf. Sigh.
|
1242 |
|
|
if (autoheader --version) < /dev/null > /dev/null 2>&1; then
|
1243 |
|
|
AUTOHEADER=autoheader
|
1244 |
1249 |
lampret |
echo "$as_me:1244: result: found" >&5
|
1245 |
|
|
echo "${ECHO_T}found" >&6
|
1246 |
224 |
markom |
else
|
1247 |
|
|
AUTOHEADER="$missing_dir/missing autoheader"
|
1248 |
1249 |
lampret |
echo "$as_me:1248: result: missing" >&5
|
1249 |
|
|
echo "${ECHO_T}missing" >&6
|
1250 |
224 |
markom |
fi
|
1251 |
|
|
|
1252 |
1249 |
lampret |
echo "$as_me:1252: checking for working makeinfo" >&5
|
1253 |
|
|
echo $ECHO_N "checking for working makeinfo... $ECHO_C" >&6
|
1254 |
224 |
markom |
# Run test in a subshell; some versions of sh will print an error if
|
1255 |
|
|
# an executable is not found, even if stderr is redirected.
|
1256 |
|
|
# Redirect stdin to placate older versions of autoconf. Sigh.
|
1257 |
|
|
if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
|
1258 |
|
|
MAKEINFO=makeinfo
|
1259 |
1249 |
lampret |
echo "$as_me:1259: result: found" >&5
|
1260 |
|
|
echo "${ECHO_T}found" >&6
|
1261 |
224 |
markom |
else
|
1262 |
|
|
MAKEINFO="$missing_dir/missing makeinfo"
|
1263 |
1249 |
lampret |
echo "$as_me:1263: result: missing" >&5
|
1264 |
|
|
echo "${ECHO_T}missing" >&6
|
1265 |
224 |
markom |
fi
|
1266 |
|
|
|
1267 |
1249 |
lampret |
echo "$as_me:1267: checking whether ${MAKE-make} sets \${MAKE}" >&5
|
1268 |
|
|
echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
|
1269 |
|
|
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
|
1270 |
|
|
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
|
1271 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
1272 |
224 |
markom |
else
|
1273 |
1249 |
lampret |
cat >conftest.make <<\EOF
|
1274 |
224 |
markom |
all:
|
1275 |
|
|
@echo 'ac_maketemp="${MAKE}"'
|
1276 |
|
|
EOF
|
1277 |
|
|
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
|
1278 |
1249 |
lampret |
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
|
1279 |
224 |
markom |
if test -n "$ac_maketemp"; then
|
1280 |
|
|
eval ac_cv_prog_make_${ac_make}_set=yes
|
1281 |
|
|
else
|
1282 |
|
|
eval ac_cv_prog_make_${ac_make}_set=no
|
1283 |
|
|
fi
|
1284 |
1249 |
lampret |
rm -f conftest.make
|
1285 |
224 |
markom |
fi
|
1286 |
|
|
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
|
1287 |
1249 |
lampret |
echo "$as_me:1287: result: yes" >&5
|
1288 |
|
|
echo "${ECHO_T}yes" >&6
|
1289 |
224 |
markom |
SET_MAKE=
|
1290 |
|
|
else
|
1291 |
1249 |
lampret |
echo "$as_me:1291: result: no" >&5
|
1292 |
|
|
echo "${ECHO_T}no" >&6
|
1293 |
224 |
markom |
SET_MAKE="MAKE=${MAKE-make}"
|
1294 |
|
|
fi
|
1295 |
|
|
|
1296 |
|
|
# Find a good install program. We prefer a C program (faster),
|
1297 |
|
|
# so one script is as good as another. But avoid the broken or
|
1298 |
|
|
# incompatible versions:
|
1299 |
|
|
# SysV /etc/install, /usr/sbin/install
|
1300 |
|
|
# SunOS /usr/etc/install
|
1301 |
|
|
# IRIX /sbin/install
|
1302 |
|
|
# AIX /bin/install
|
1303 |
1249 |
lampret |
# AmigaOS /C/install, which installs bootblocks on floppy discs
|
1304 |
224 |
markom |
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
|
1305 |
|
|
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
|
1306 |
|
|
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
|
1307 |
|
|
# ./install, which can be erroneously created by make from ./install.sh.
|
1308 |
1249 |
lampret |
echo "$as_me:1308: checking for a BSD compatible install" >&5
|
1309 |
|
|
echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
|
1310 |
224 |
markom |
if test -z "$INSTALL"; then
|
1311 |
1249 |
lampret |
if test "${ac_cv_path_install+set}" = set; then
|
1312 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
1313 |
224 |
markom |
else
|
1314 |
1249 |
lampret |
ac_save_IFS=$IFS; IFS=$ac_path_separator
|
1315 |
224 |
markom |
for ac_dir in $PATH; do
|
1316 |
1249 |
lampret |
IFS=$ac_save_IFS
|
1317 |
224 |
markom |
# Account for people who put trailing slashes in PATH elements.
|
1318 |
1249 |
lampret |
case $ac_dir/ in
|
1319 |
|
|
/ | ./ | .// | /cC/* \
|
1320 |
|
|
| /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \
|
1321 |
|
|
| /usr/ucb/* ) ;;
|
1322 |
224 |
markom |
*)
|
1323 |
|
|
# OSF1 and SCO ODT 3.0 have their own names for install.
|
1324 |
|
|
# Don't use installbsd from OSF since it installs stuff as root
|
1325 |
|
|
# by default.
|
1326 |
|
|
for ac_prog in ginstall scoinst install; do
|
1327 |
1249 |
lampret |
if $as_executable_p "$ac_dir/$ac_prog"; then
|
1328 |
224 |
markom |
if test $ac_prog = install &&
|
1329 |
1249 |
lampret |
grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then
|
1330 |
224 |
markom |
# AIX install. It has an incompatible calling convention.
|
1331 |
|
|
:
|
1332 |
1249 |
lampret |
elif test $ac_prog = install &&
|
1333 |
|
|
grep pwplus "$ac_dir/$ac_prog" >/dev/null 2>&1; then
|
1334 |
|
|
# program-specific install script used by HP pwplus--don't use.
|
1335 |
|
|
:
|
1336 |
224 |
markom |
else
|
1337 |
|
|
ac_cv_path_install="$ac_dir/$ac_prog -c"
|
1338 |
|
|
break 2
|
1339 |
|
|
fi
|
1340 |
|
|
fi
|
1341 |
|
|
done
|
1342 |
|
|
;;
|
1343 |
|
|
esac
|
1344 |
|
|
done
|
1345 |
|
|
|
1346 |
|
|
fi
|
1347 |
|
|
if test "${ac_cv_path_install+set}" = set; then
|
1348 |
1249 |
lampret |
INSTALL=$ac_cv_path_install
|
1349 |
224 |
markom |
else
|
1350 |
|
|
# As a last resort, use the slow shell script. We don't cache a
|
1351 |
|
|
# path for INSTALL within a source directory, because that will
|
1352 |
|
|
# break other packages using the cache if that directory is
|
1353 |
|
|
# removed, or if the path is relative.
|
1354 |
1249 |
lampret |
INSTALL=$ac_install_sh
|
1355 |
224 |
markom |
fi
|
1356 |
|
|
fi
|
1357 |
1249 |
lampret |
echo "$as_me:1357: result: $INSTALL" >&5
|
1358 |
|
|
echo "${ECHO_T}$INSTALL" >&6
|
1359 |
224 |
markom |
|
1360 |
|
|
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
|
1361 |
|
|
# It thinks the first close brace ends the variable substitution.
|
1362 |
|
|
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
|
1363 |
|
|
|
1364 |
1249 |
lampret |
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
|
1365 |
224 |
markom |
|
1366 |
|
|
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
|
1367 |
|
|
|
1368 |
1249 |
lampret |
if test -n "$ac_tool_prefix"; then
|
1369 |
|
|
# Extract the first word of "${ac_tool_prefix}$target-gcc", so it can be a program name with args.
|
1370 |
229 |
erez |
set dummy ${ac_tool_prefix}$target-gcc; ac_word=$2
|
1371 |
1249 |
lampret |
echo "$as_me:1371: checking for $ac_word" >&5
|
1372 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
1373 |
|
|
if test "${ac_cv_prog_CC+set}" = set; then
|
1374 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
1375 |
224 |
markom |
else
|
1376 |
|
|
if test -n "$CC"; then
|
1377 |
|
|
ac_cv_prog_CC="$CC" # Let the user override the test.
|
1378 |
|
|
else
|
1379 |
1249 |
lampret |
ac_save_IFS=$IFS; IFS=$ac_path_separator
|
1380 |
|
|
ac_dummy="$PATH"
|
1381 |
|
|
for ac_dir in $ac_dummy; do
|
1382 |
|
|
IFS=$ac_save_IFS
|
1383 |
|
|
test -z "$ac_dir" && ac_dir=.
|
1384 |
|
|
$as_executable_p "$ac_dir/$ac_word" || continue
|
1385 |
|
|
ac_cv_prog_CC="${ac_tool_prefix}$target-gcc"
|
1386 |
|
|
echo "$as_me:1386: found $ac_dir/$ac_word" >&5
|
1387 |
|
|
break
|
1388 |
|
|
done
|
1389 |
|
|
|
1390 |
224 |
markom |
fi
|
1391 |
|
|
fi
|
1392 |
1249 |
lampret |
CC=$ac_cv_prog_CC
|
1393 |
224 |
markom |
if test -n "$CC"; then
|
1394 |
1249 |
lampret |
echo "$as_me:1394: result: $CC" >&5
|
1395 |
|
|
echo "${ECHO_T}$CC" >&6
|
1396 |
224 |
markom |
else
|
1397 |
1249 |
lampret |
echo "$as_me:1397: result: no" >&5
|
1398 |
|
|
echo "${ECHO_T}no" >&6
|
1399 |
224 |
markom |
fi
|
1400 |
|
|
|
1401 |
1249 |
lampret |
fi
|
1402 |
224 |
markom |
if test -z "$ac_cv_prog_CC"; then
|
1403 |
1249 |
lampret |
ac_ct_CC=$CC
|
1404 |
229 |
erez |
# Extract the first word of "$target-gcc", so it can be a program name with args.
|
1405 |
|
|
set dummy $target-gcc; ac_word=$2
|
1406 |
1249 |
lampret |
echo "$as_me:1406: checking for $ac_word" >&5
|
1407 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
1408 |
|
|
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
|
1409 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
1410 |
224 |
markom |
else
|
1411 |
1249 |
lampret |
if test -n "$ac_ct_CC"; then
|
1412 |
|
|
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
1413 |
224 |
markom |
else
|
1414 |
1249 |
lampret |
ac_save_IFS=$IFS; IFS=$ac_path_separator
|
1415 |
|
|
ac_dummy="$PATH"
|
1416 |
|
|
for ac_dir in $ac_dummy; do
|
1417 |
|
|
IFS=$ac_save_IFS
|
1418 |
|
|
test -z "$ac_dir" && ac_dir=.
|
1419 |
|
|
$as_executable_p "$ac_dir/$ac_word" || continue
|
1420 |
|
|
ac_cv_prog_ac_ct_CC="$target-gcc"
|
1421 |
|
|
echo "$as_me:1421: found $ac_dir/$ac_word" >&5
|
1422 |
|
|
break
|
1423 |
|
|
done
|
1424 |
|
|
|
1425 |
|
|
test -z "$ac_cv_prog_ac_ct_CC" && ac_cv_prog_ac_ct_CC="cc"
|
1426 |
224 |
markom |
fi
|
1427 |
|
|
fi
|
1428 |
1249 |
lampret |
ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
1429 |
|
|
if test -n "$ac_ct_CC"; then
|
1430 |
|
|
echo "$as_me:1430: result: $ac_ct_CC" >&5
|
1431 |
|
|
echo "${ECHO_T}$ac_ct_CC" >&6
|
1432 |
224 |
markom |
else
|
1433 |
1249 |
lampret |
echo "$as_me:1433: result: no" >&5
|
1434 |
|
|
echo "${ECHO_T}no" >&6
|
1435 |
224 |
markom |
fi
|
1436 |
|
|
|
1437 |
1249 |
lampret |
CC=$ac_ct_CC
|
1438 |
224 |
markom |
else
|
1439 |
1249 |
lampret |
CC="$ac_cv_prog_CC"
|
1440 |
224 |
markom |
fi
|
1441 |
|
|
|
1442 |
1249 |
lampret |
if test -n "$ac_tool_prefix"; then
|
1443 |
|
|
# Extract the first word of "${ac_tool_prefix}$target-ranlib", so it can be a program name with args.
|
1444 |
229 |
erez |
set dummy ${ac_tool_prefix}$target-ranlib; ac_word=$2
|
1445 |
1249 |
lampret |
echo "$as_me:1445: checking for $ac_word" >&5
|
1446 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
1447 |
|
|
if test "${ac_cv_prog_RANLIB+set}" = set; then
|
1448 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
1449 |
224 |
markom |
else
|
1450 |
|
|
if test -n "$RANLIB"; then
|
1451 |
|
|
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
|
1452 |
|
|
else
|
1453 |
1249 |
lampret |
ac_save_IFS=$IFS; IFS=$ac_path_separator
|
1454 |
|
|
ac_dummy="$PATH"
|
1455 |
|
|
for ac_dir in $ac_dummy; do
|
1456 |
|
|
IFS=$ac_save_IFS
|
1457 |
|
|
test -z "$ac_dir" && ac_dir=.
|
1458 |
|
|
$as_executable_p "$ac_dir/$ac_word" || continue
|
1459 |
|
|
ac_cv_prog_RANLIB="${ac_tool_prefix}$target-ranlib"
|
1460 |
|
|
echo "$as_me:1460: found $ac_dir/$ac_word" >&5
|
1461 |
|
|
break
|
1462 |
|
|
done
|
1463 |
|
|
|
1464 |
224 |
markom |
fi
|
1465 |
|
|
fi
|
1466 |
1249 |
lampret |
RANLIB=$ac_cv_prog_RANLIB
|
1467 |
224 |
markom |
if test -n "$RANLIB"; then
|
1468 |
1249 |
lampret |
echo "$as_me:1468: result: $RANLIB" >&5
|
1469 |
|
|
echo "${ECHO_T}$RANLIB" >&6
|
1470 |
224 |
markom |
else
|
1471 |
1249 |
lampret |
echo "$as_me:1471: result: no" >&5
|
1472 |
|
|
echo "${ECHO_T}no" >&6
|
1473 |
224 |
markom |
fi
|
1474 |
|
|
|
1475 |
1249 |
lampret |
fi
|
1476 |
224 |
markom |
if test -z "$ac_cv_prog_RANLIB"; then
|
1477 |
1249 |
lampret |
ac_ct_RANLIB=$RANLIB
|
1478 |
229 |
erez |
# Extract the first word of "$target-ranlib", so it can be a program name with args.
|
1479 |
|
|
set dummy $target-ranlib; ac_word=$2
|
1480 |
1249 |
lampret |
echo "$as_me:1480: checking for $ac_word" >&5
|
1481 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
1482 |
|
|
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
|
1483 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
1484 |
224 |
markom |
else
|
1485 |
1249 |
lampret |
if test -n "$ac_ct_RANLIB"; then
|
1486 |
|
|
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
|
1487 |
224 |
markom |
else
|
1488 |
1249 |
lampret |
ac_save_IFS=$IFS; IFS=$ac_path_separator
|
1489 |
|
|
ac_dummy="$PATH"
|
1490 |
|
|
for ac_dir in $ac_dummy; do
|
1491 |
|
|
IFS=$ac_save_IFS
|
1492 |
|
|
test -z "$ac_dir" && ac_dir=.
|
1493 |
|
|
$as_executable_p "$ac_dir/$ac_word" || continue
|
1494 |
|
|
ac_cv_prog_ac_ct_RANLIB="$target-ranlib"
|
1495 |
|
|
echo "$as_me:1495: found $ac_dir/$ac_word" >&5
|
1496 |
|
|
break
|
1497 |
|
|
done
|
1498 |
|
|
|
1499 |
|
|
test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib"
|
1500 |
224 |
markom |
fi
|
1501 |
|
|
fi
|
1502 |
1249 |
lampret |
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
|
1503 |
|
|
if test -n "$ac_ct_RANLIB"; then
|
1504 |
|
|
echo "$as_me:1504: result: $ac_ct_RANLIB" >&5
|
1505 |
|
|
echo "${ECHO_T}$ac_ct_RANLIB" >&6
|
1506 |
224 |
markom |
else
|
1507 |
1249 |
lampret |
echo "$as_me:1507: result: no" >&5
|
1508 |
|
|
echo "${ECHO_T}no" >&6
|
1509 |
224 |
markom |
fi
|
1510 |
|
|
|
1511 |
1249 |
lampret |
RANLIB=$ac_ct_RANLIB
|
1512 |
224 |
markom |
else
|
1513 |
1249 |
lampret |
RANLIB="$ac_cv_prog_RANLIB"
|
1514 |
224 |
markom |
fi
|
1515 |
|
|
|
1516 |
1249 |
lampret |
if test -n "$ac_tool_prefix"; then
|
1517 |
|
|
# Extract the first word of "${ac_tool_prefix}$target-ld", so it can be a program name with args.
|
1518 |
229 |
erez |
set dummy ${ac_tool_prefix}$target-ld; ac_word=$2
|
1519 |
1249 |
lampret |
echo "$as_me:1519: checking for $ac_word" >&5
|
1520 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
1521 |
|
|
if test "${ac_cv_prog_LD+set}" = set; then
|
1522 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
1523 |
224 |
markom |
else
|
1524 |
|
|
if test -n "$LD"; then
|
1525 |
|
|
ac_cv_prog_LD="$LD" # Let the user override the test.
|
1526 |
|
|
else
|
1527 |
1249 |
lampret |
ac_save_IFS=$IFS; IFS=$ac_path_separator
|
1528 |
|
|
ac_dummy="$PATH"
|
1529 |
|
|
for ac_dir in $ac_dummy; do
|
1530 |
|
|
IFS=$ac_save_IFS
|
1531 |
|
|
test -z "$ac_dir" && ac_dir=.
|
1532 |
|
|
$as_executable_p "$ac_dir/$ac_word" || continue
|
1533 |
|
|
ac_cv_prog_LD="${ac_tool_prefix}$target-ld"
|
1534 |
|
|
echo "$as_me:1534: found $ac_dir/$ac_word" >&5
|
1535 |
|
|
break
|
1536 |
|
|
done
|
1537 |
|
|
|
1538 |
224 |
markom |
fi
|
1539 |
|
|
fi
|
1540 |
1249 |
lampret |
LD=$ac_cv_prog_LD
|
1541 |
224 |
markom |
if test -n "$LD"; then
|
1542 |
1249 |
lampret |
echo "$as_me:1542: result: $LD" >&5
|
1543 |
|
|
echo "${ECHO_T}$LD" >&6
|
1544 |
224 |
markom |
else
|
1545 |
1249 |
lampret |
echo "$as_me:1545: result: no" >&5
|
1546 |
|
|
echo "${ECHO_T}no" >&6
|
1547 |
224 |
markom |
fi
|
1548 |
|
|
|
1549 |
1249 |
lampret |
fi
|
1550 |
224 |
markom |
if test -z "$ac_cv_prog_LD"; then
|
1551 |
1249 |
lampret |
ac_ct_LD=$LD
|
1552 |
229 |
erez |
# Extract the first word of "$target-ld", so it can be a program name with args.
|
1553 |
|
|
set dummy $target-ld; ac_word=$2
|
1554 |
1249 |
lampret |
echo "$as_me:1554: checking for $ac_word" >&5
|
1555 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
1556 |
|
|
if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
|
1557 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
1558 |
224 |
markom |
else
|
1559 |
1249 |
lampret |
if test -n "$ac_ct_LD"; then
|
1560 |
|
|
ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
|
1561 |
224 |
markom |
else
|
1562 |
1249 |
lampret |
ac_save_IFS=$IFS; IFS=$ac_path_separator
|
1563 |
|
|
ac_dummy="$PATH"
|
1564 |
|
|
for ac_dir in $ac_dummy; do
|
1565 |
|
|
IFS=$ac_save_IFS
|
1566 |
|
|
test -z "$ac_dir" && ac_dir=.
|
1567 |
|
|
$as_executable_p "$ac_dir/$ac_word" || continue
|
1568 |
|
|
ac_cv_prog_ac_ct_LD="$target-ld"
|
1569 |
|
|
echo "$as_me:1569: found $ac_dir/$ac_word" >&5
|
1570 |
|
|
break
|
1571 |
|
|
done
|
1572 |
|
|
|
1573 |
|
|
test -z "$ac_cv_prog_ac_ct_LD" && ac_cv_prog_ac_ct_LD="ld"
|
1574 |
224 |
markom |
fi
|
1575 |
|
|
fi
|
1576 |
1249 |
lampret |
ac_ct_LD=$ac_cv_prog_ac_ct_LD
|
1577 |
|
|
if test -n "$ac_ct_LD"; then
|
1578 |
|
|
echo "$as_me:1578: result: $ac_ct_LD" >&5
|
1579 |
|
|
echo "${ECHO_T}$ac_ct_LD" >&6
|
1580 |
224 |
markom |
else
|
1581 |
1249 |
lampret |
echo "$as_me:1581: result: no" >&5
|
1582 |
|
|
echo "${ECHO_T}no" >&6
|
1583 |
224 |
markom |
fi
|
1584 |
|
|
|
1585 |
1249 |
lampret |
LD=$ac_ct_LD
|
1586 |
224 |
markom |
else
|
1587 |
1249 |
lampret |
LD="$ac_cv_prog_LD"
|
1588 |
224 |
markom |
fi
|
1589 |
|
|
|
1590 |
1249 |
lampret |
if test -n "$ac_tool_prefix"; then
|
1591 |
|
|
# Extract the first word of "${ac_tool_prefix}$target-sim", so it can be a program name with args.
|
1592 |
308 |
markom |
set dummy ${ac_tool_prefix}$target-sim; ac_word=$2
|
1593 |
1249 |
lampret |
echo "$as_me:1593: checking for $ac_word" >&5
|
1594 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
1595 |
|
|
if test "${ac_cv_prog_SIM+set}" = set; then
|
1596 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
1597 |
308 |
markom |
else
|
1598 |
|
|
if test -n "$SIM"; then
|
1599 |
|
|
ac_cv_prog_SIM="$SIM" # Let the user override the test.
|
1600 |
|
|
else
|
1601 |
1249 |
lampret |
ac_save_IFS=$IFS; IFS=$ac_path_separator
|
1602 |
|
|
ac_dummy="$PATH"
|
1603 |
|
|
for ac_dir in $ac_dummy; do
|
1604 |
|
|
IFS=$ac_save_IFS
|
1605 |
|
|
test -z "$ac_dir" && ac_dir=.
|
1606 |
|
|
$as_executable_p "$ac_dir/$ac_word" || continue
|
1607 |
|
|
ac_cv_prog_SIM="${ac_tool_prefix}$target-sim"
|
1608 |
|
|
echo "$as_me:1608: found $ac_dir/$ac_word" >&5
|
1609 |
|
|
break
|
1610 |
|
|
done
|
1611 |
|
|
|
1612 |
308 |
markom |
fi
|
1613 |
|
|
fi
|
1614 |
1249 |
lampret |
SIM=$ac_cv_prog_SIM
|
1615 |
308 |
markom |
if test -n "$SIM"; then
|
1616 |
1249 |
lampret |
echo "$as_me:1616: result: $SIM" >&5
|
1617 |
|
|
echo "${ECHO_T}$SIM" >&6
|
1618 |
308 |
markom |
else
|
1619 |
1249 |
lampret |
echo "$as_me:1619: result: no" >&5
|
1620 |
|
|
echo "${ECHO_T}no" >&6
|
1621 |
308 |
markom |
fi
|
1622 |
|
|
|
1623 |
1249 |
lampret |
fi
|
1624 |
308 |
markom |
if test -z "$ac_cv_prog_SIM"; then
|
1625 |
1249 |
lampret |
ac_ct_SIM=$SIM
|
1626 |
308 |
markom |
# Extract the first word of "$target-sim", so it can be a program name with args.
|
1627 |
|
|
set dummy $target-sim; ac_word=$2
|
1628 |
1249 |
lampret |
echo "$as_me:1628: checking for $ac_word" >&5
|
1629 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
1630 |
|
|
if test "${ac_cv_prog_ac_ct_SIM+set}" = set; then
|
1631 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
1632 |
308 |
markom |
else
|
1633 |
1249 |
lampret |
if test -n "$ac_ct_SIM"; then
|
1634 |
|
|
ac_cv_prog_ac_ct_SIM="$ac_ct_SIM" # Let the user override the test.
|
1635 |
308 |
markom |
else
|
1636 |
1249 |
lampret |
ac_save_IFS=$IFS; IFS=$ac_path_separator
|
1637 |
|
|
ac_dummy="$PATH"
|
1638 |
|
|
for ac_dir in $ac_dummy; do
|
1639 |
|
|
IFS=$ac_save_IFS
|
1640 |
|
|
test -z "$ac_dir" && ac_dir=.
|
1641 |
|
|
$as_executable_p "$ac_dir/$ac_word" || continue
|
1642 |
|
|
ac_cv_prog_ac_ct_SIM="$target-sim"
|
1643 |
|
|
echo "$as_me:1643: found $ac_dir/$ac_word" >&5
|
1644 |
|
|
break
|
1645 |
|
|
done
|
1646 |
|
|
|
1647 |
|
|
test -z "$ac_cv_prog_ac_ct_SIM" && ac_cv_prog_ac_ct_SIM="sim"
|
1648 |
308 |
markom |
fi
|
1649 |
|
|
fi
|
1650 |
1249 |
lampret |
ac_ct_SIM=$ac_cv_prog_ac_ct_SIM
|
1651 |
|
|
if test -n "$ac_ct_SIM"; then
|
1652 |
|
|
echo "$as_me:1652: result: $ac_ct_SIM" >&5
|
1653 |
|
|
echo "${ECHO_T}$ac_ct_SIM" >&6
|
1654 |
308 |
markom |
else
|
1655 |
1249 |
lampret |
echo "$as_me:1655: result: no" >&5
|
1656 |
|
|
echo "${ECHO_T}no" >&6
|
1657 |
308 |
markom |
fi
|
1658 |
|
|
|
1659 |
1249 |
lampret |
SIM=$ac_ct_SIM
|
1660 |
308 |
markom |
else
|
1661 |
1249 |
lampret |
SIM="$ac_cv_prog_SIM"
|
1662 |
308 |
markom |
fi
|
1663 |
|
|
|
1664 |
1249 |
lampret |
ac_ext=c
|
1665 |
|
|
ac_cpp='$CPP $CPPFLAGS'
|
1666 |
|
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
1667 |
|
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
1668 |
|
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
1669 |
|
|
if test -n "$ac_tool_prefix"; then
|
1670 |
|
|
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
|
1671 |
|
|
set dummy ${ac_tool_prefix}gcc; ac_word=$2
|
1672 |
|
|
echo "$as_me:1672: checking for $ac_word" >&5
|
1673 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
1674 |
|
|
if test "${ac_cv_prog_CC+set}" = set; then
|
1675 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
1676 |
889 |
ivang |
else
|
1677 |
1249 |
lampret |
if test -n "$CC"; then
|
1678 |
|
|
ac_cv_prog_CC="$CC" # Let the user override the test.
|
1679 |
889 |
ivang |
else
|
1680 |
1249 |
lampret |
ac_save_IFS=$IFS; IFS=$ac_path_separator
|
1681 |
|
|
ac_dummy="$PATH"
|
1682 |
|
|
for ac_dir in $ac_dummy; do
|
1683 |
|
|
IFS=$ac_save_IFS
|
1684 |
|
|
test -z "$ac_dir" && ac_dir=.
|
1685 |
|
|
$as_executable_p "$ac_dir/$ac_word" || continue
|
1686 |
|
|
ac_cv_prog_CC="${ac_tool_prefix}gcc"
|
1687 |
|
|
echo "$as_me:1687: found $ac_dir/$ac_word" >&5
|
1688 |
|
|
break
|
1689 |
|
|
done
|
1690 |
889 |
ivang |
|
1691 |
|
|
fi
|
1692 |
1249 |
lampret |
fi
|
1693 |
|
|
CC=$ac_cv_prog_CC
|
1694 |
|
|
if test -n "$CC"; then
|
1695 |
|
|
echo "$as_me:1695: result: $CC" >&5
|
1696 |
|
|
echo "${ECHO_T}$CC" >&6
|
1697 |
889 |
ivang |
else
|
1698 |
1249 |
lampret |
echo "$as_me:1698: result: no" >&5
|
1699 |
|
|
echo "${ECHO_T}no" >&6
|
1700 |
889 |
ivang |
fi
|
1701 |
|
|
|
1702 |
|
|
fi
|
1703 |
1249 |
lampret |
if test -z "$ac_cv_prog_CC"; then
|
1704 |
|
|
ac_ct_CC=$CC
|
1705 |
|
|
# Extract the first word of "gcc", so it can be a program name with args.
|
1706 |
|
|
set dummy gcc; ac_word=$2
|
1707 |
|
|
echo "$as_me:1707: checking for $ac_word" >&5
|
1708 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
1709 |
|
|
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
|
1710 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
1711 |
889 |
ivang |
else
|
1712 |
1249 |
lampret |
if test -n "$ac_ct_CC"; then
|
1713 |
|
|
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
1714 |
889 |
ivang |
else
|
1715 |
1249 |
lampret |
ac_save_IFS=$IFS; IFS=$ac_path_separator
|
1716 |
|
|
ac_dummy="$PATH"
|
1717 |
|
|
for ac_dir in $ac_dummy; do
|
1718 |
|
|
IFS=$ac_save_IFS
|
1719 |
|
|
test -z "$ac_dir" && ac_dir=.
|
1720 |
|
|
$as_executable_p "$ac_dir/$ac_word" || continue
|
1721 |
|
|
ac_cv_prog_ac_ct_CC="gcc"
|
1722 |
|
|
echo "$as_me:1722: found $ac_dir/$ac_word" >&5
|
1723 |
|
|
break
|
1724 |
|
|
done
|
1725 |
|
|
|
1726 |
889 |
ivang |
fi
|
1727 |
|
|
fi
|
1728 |
1249 |
lampret |
ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
1729 |
|
|
if test -n "$ac_ct_CC"; then
|
1730 |
|
|
echo "$as_me:1730: result: $ac_ct_CC" >&5
|
1731 |
|
|
echo "${ECHO_T}$ac_ct_CC" >&6
|
1732 |
889 |
ivang |
else
|
1733 |
1249 |
lampret |
echo "$as_me:1733: result: no" >&5
|
1734 |
|
|
echo "${ECHO_T}no" >&6
|
1735 |
889 |
ivang |
fi
|
1736 |
|
|
|
1737 |
1249 |
lampret |
CC=$ac_ct_CC
|
1738 |
889 |
ivang |
else
|
1739 |
1249 |
lampret |
CC="$ac_cv_prog_CC"
|
1740 |
889 |
ivang |
fi
|
1741 |
|
|
|
1742 |
1249 |
lampret |
if test -z "$CC"; then
|
1743 |
|
|
if test -n "$ac_tool_prefix"; then
|
1744 |
|
|
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
|
1745 |
|
|
set dummy ${ac_tool_prefix}cc; ac_word=$2
|
1746 |
|
|
echo "$as_me:1746: checking for $ac_word" >&5
|
1747 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
1748 |
|
|
if test "${ac_cv_prog_CC+set}" = set; then
|
1749 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
1750 |
889 |
ivang |
else
|
1751 |
1249 |
lampret |
if test -n "$CC"; then
|
1752 |
|
|
ac_cv_prog_CC="$CC" # Let the user override the test.
|
1753 |
|
|
else
|
1754 |
|
|
ac_save_IFS=$IFS; IFS=$ac_path_separator
|
1755 |
|
|
ac_dummy="$PATH"
|
1756 |
|
|
for ac_dir in $ac_dummy; do
|
1757 |
|
|
IFS=$ac_save_IFS
|
1758 |
|
|
test -z "$ac_dir" && ac_dir=.
|
1759 |
|
|
$as_executable_p "$ac_dir/$ac_word" || continue
|
1760 |
|
|
ac_cv_prog_CC="${ac_tool_prefix}cc"
|
1761 |
|
|
echo "$as_me:1761: found $ac_dir/$ac_word" >&5
|
1762 |
|
|
break
|
1763 |
|
|
done
|
1764 |
889 |
ivang |
|
1765 |
|
|
fi
|
1766 |
1249 |
lampret |
fi
|
1767 |
|
|
CC=$ac_cv_prog_CC
|
1768 |
|
|
if test -n "$CC"; then
|
1769 |
|
|
echo "$as_me:1769: result: $CC" >&5
|
1770 |
|
|
echo "${ECHO_T}$CC" >&6
|
1771 |
889 |
ivang |
else
|
1772 |
1249 |
lampret |
echo "$as_me:1772: result: no" >&5
|
1773 |
|
|
echo "${ECHO_T}no" >&6
|
1774 |
889 |
ivang |
fi
|
1775 |
|
|
|
1776 |
|
|
fi
|
1777 |
1249 |
lampret |
if test -z "$ac_cv_prog_CC"; then
|
1778 |
|
|
ac_ct_CC=$CC
|
1779 |
|
|
# Extract the first word of "cc", so it can be a program name with args.
|
1780 |
|
|
set dummy cc; ac_word=$2
|
1781 |
|
|
echo "$as_me:1781: checking for $ac_word" >&5
|
1782 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
1783 |
|
|
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
|
1784 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
1785 |
889 |
ivang |
else
|
1786 |
1249 |
lampret |
if test -n "$ac_ct_CC"; then
|
1787 |
|
|
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
1788 |
889 |
ivang |
else
|
1789 |
1249 |
lampret |
ac_save_IFS=$IFS; IFS=$ac_path_separator
|
1790 |
|
|
ac_dummy="$PATH"
|
1791 |
|
|
for ac_dir in $ac_dummy; do
|
1792 |
|
|
IFS=$ac_save_IFS
|
1793 |
|
|
test -z "$ac_dir" && ac_dir=.
|
1794 |
|
|
$as_executable_p "$ac_dir/$ac_word" || continue
|
1795 |
|
|
ac_cv_prog_ac_ct_CC="cc"
|
1796 |
|
|
echo "$as_me:1796: found $ac_dir/$ac_word" >&5
|
1797 |
|
|
break
|
1798 |
|
|
done
|
1799 |
889 |
ivang |
|
1800 |
|
|
fi
|
1801 |
|
|
fi
|
1802 |
1249 |
lampret |
ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
1803 |
|
|
if test -n "$ac_ct_CC"; then
|
1804 |
|
|
echo "$as_me:1804: result: $ac_ct_CC" >&5
|
1805 |
|
|
echo "${ECHO_T}$ac_ct_CC" >&6
|
1806 |
|
|
else
|
1807 |
|
|
echo "$as_me:1807: result: no" >&5
|
1808 |
|
|
echo "${ECHO_T}no" >&6
|
1809 |
889 |
ivang |
fi
|
1810 |
|
|
|
1811 |
1249 |
lampret |
CC=$ac_ct_CC
|
1812 |
224 |
markom |
else
|
1813 |
1249 |
lampret |
CC="$ac_cv_prog_CC"
|
1814 |
224 |
markom |
fi
|
1815 |
1249 |
lampret |
|
1816 |
224 |
markom |
fi
|
1817 |
|
|
if test -z "$CC"; then
|
1818 |
|
|
# Extract the first word of "cc", so it can be a program name with args.
|
1819 |
|
|
set dummy cc; ac_word=$2
|
1820 |
1249 |
lampret |
echo "$as_me:1820: checking for $ac_word" >&5
|
1821 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
1822 |
|
|
if test "${ac_cv_prog_CC+set}" = set; then
|
1823 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
1824 |
224 |
markom |
else
|
1825 |
|
|
if test -n "$CC"; then
|
1826 |
|
|
ac_cv_prog_CC="$CC" # Let the user override the test.
|
1827 |
|
|
else
|
1828 |
|
|
ac_prog_rejected=no
|
1829 |
1249 |
lampret |
ac_save_IFS=$IFS; IFS=$ac_path_separator
|
1830 |
|
|
ac_dummy="$PATH"
|
1831 |
|
|
for ac_dir in $ac_dummy; do
|
1832 |
|
|
IFS=$ac_save_IFS
|
1833 |
|
|
test -z "$ac_dir" && ac_dir=.
|
1834 |
|
|
$as_executable_p "$ac_dir/$ac_word" || continue
|
1835 |
|
|
if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
|
1836 |
|
|
ac_prog_rejected=yes
|
1837 |
|
|
continue
|
1838 |
|
|
fi
|
1839 |
|
|
ac_cv_prog_CC="cc"
|
1840 |
|
|
echo "$as_me:1840: found $ac_dir/$ac_word" >&5
|
1841 |
|
|
break
|
1842 |
|
|
done
|
1843 |
|
|
|
1844 |
224 |
markom |
if test $ac_prog_rejected = yes; then
|
1845 |
|
|
# We found a bogon in the path, so make sure we never use it.
|
1846 |
|
|
set dummy $ac_cv_prog_CC
|
1847 |
|
|
shift
|
1848 |
1249 |
lampret |
if test $# != 0; then
|
1849 |
224 |
markom |
# We chose a different compiler from the bogus one.
|
1850 |
|
|
# However, it has the same basename, so the bogon will be chosen
|
1851 |
|
|
# first if we set CC to just the basename; use the full file name.
|
1852 |
|
|
shift
|
1853 |
1249 |
lampret |
set dummy "$ac_dir/$ac_word" ${1+"$@"}
|
1854 |
224 |
markom |
shift
|
1855 |
|
|
ac_cv_prog_CC="$@"
|
1856 |
|
|
fi
|
1857 |
|
|
fi
|
1858 |
|
|
fi
|
1859 |
|
|
fi
|
1860 |
1249 |
lampret |
CC=$ac_cv_prog_CC
|
1861 |
224 |
markom |
if test -n "$CC"; then
|
1862 |
1249 |
lampret |
echo "$as_me:1862: result: $CC" >&5
|
1863 |
|
|
echo "${ECHO_T}$CC" >&6
|
1864 |
224 |
markom |
else
|
1865 |
1249 |
lampret |
echo "$as_me:1865: result: no" >&5
|
1866 |
|
|
echo "${ECHO_T}no" >&6
|
1867 |
224 |
markom |
fi
|
1868 |
|
|
|
1869 |
1249 |
lampret |
fi
|
1870 |
|
|
if test -z "$CC"; then
|
1871 |
|
|
if test -n "$ac_tool_prefix"; then
|
1872 |
|
|
for ac_prog in cl
|
1873 |
|
|
do
|
1874 |
|
|
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
1875 |
|
|
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
|
1876 |
|
|
echo "$as_me:1876: checking for $ac_word" >&5
|
1877 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
1878 |
|
|
if test "${ac_cv_prog_CC+set}" = set; then
|
1879 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
1880 |
224 |
markom |
else
|
1881 |
|
|
if test -n "$CC"; then
|
1882 |
|
|
ac_cv_prog_CC="$CC" # Let the user override the test.
|
1883 |
|
|
else
|
1884 |
1249 |
lampret |
ac_save_IFS=$IFS; IFS=$ac_path_separator
|
1885 |
|
|
ac_dummy="$PATH"
|
1886 |
|
|
for ac_dir in $ac_dummy; do
|
1887 |
|
|
IFS=$ac_save_IFS
|
1888 |
|
|
test -z "$ac_dir" && ac_dir=.
|
1889 |
|
|
$as_executable_p "$ac_dir/$ac_word" || continue
|
1890 |
|
|
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
|
1891 |
|
|
echo "$as_me:1891: found $ac_dir/$ac_word" >&5
|
1892 |
|
|
break
|
1893 |
|
|
done
|
1894 |
|
|
|
1895 |
224 |
markom |
fi
|
1896 |
|
|
fi
|
1897 |
1249 |
lampret |
CC=$ac_cv_prog_CC
|
1898 |
224 |
markom |
if test -n "$CC"; then
|
1899 |
1249 |
lampret |
echo "$as_me:1899: result: $CC" >&5
|
1900 |
|
|
echo "${ECHO_T}$CC" >&6
|
1901 |
224 |
markom |
else
|
1902 |
1249 |
lampret |
echo "$as_me:1902: result: no" >&5
|
1903 |
|
|
echo "${ECHO_T}no" >&6
|
1904 |
224 |
markom |
fi
|
1905 |
1249 |
lampret |
|
1906 |
|
|
test -n "$CC" && break
|
1907 |
|
|
done
|
1908 |
224 |
markom |
fi
|
1909 |
1249 |
lampret |
if test -z "$CC"; then
|
1910 |
|
|
ac_ct_CC=$CC
|
1911 |
|
|
for ac_prog in cl
|
1912 |
|
|
do
|
1913 |
|
|
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
1914 |
|
|
set dummy $ac_prog; ac_word=$2
|
1915 |
|
|
echo "$as_me:1915: checking for $ac_word" >&5
|
1916 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
1917 |
|
|
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
|
1918 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
1919 |
|
|
else
|
1920 |
|
|
if test -n "$ac_ct_CC"; then
|
1921 |
|
|
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
1922 |
|
|
else
|
1923 |
|
|
ac_save_IFS=$IFS; IFS=$ac_path_separator
|
1924 |
|
|
ac_dummy="$PATH"
|
1925 |
|
|
for ac_dir in $ac_dummy; do
|
1926 |
|
|
IFS=$ac_save_IFS
|
1927 |
|
|
test -z "$ac_dir" && ac_dir=.
|
1928 |
|
|
$as_executable_p "$ac_dir/$ac_word" || continue
|
1929 |
|
|
ac_cv_prog_ac_ct_CC="$ac_prog"
|
1930 |
|
|
echo "$as_me:1930: found $ac_dir/$ac_word" >&5
|
1931 |
|
|
break
|
1932 |
|
|
done
|
1933 |
224 |
markom |
|
1934 |
1249 |
lampret |
fi
|
1935 |
|
|
fi
|
1936 |
|
|
ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
1937 |
|
|
if test -n "$ac_ct_CC"; then
|
1938 |
|
|
echo "$as_me:1938: result: $ac_ct_CC" >&5
|
1939 |
|
|
echo "${ECHO_T}$ac_ct_CC" >&6
|
1940 |
|
|
else
|
1941 |
|
|
echo "$as_me:1941: result: no" >&5
|
1942 |
|
|
echo "${ECHO_T}no" >&6
|
1943 |
|
|
fi
|
1944 |
224 |
markom |
|
1945 |
1249 |
lampret |
test -n "$ac_ct_CC" && break
|
1946 |
|
|
done
|
1947 |
224 |
markom |
|
1948 |
1249 |
lampret |
CC=$ac_ct_CC
|
1949 |
|
|
fi
|
1950 |
224 |
markom |
|
1951 |
1249 |
lampret |
fi
|
1952 |
|
|
|
1953 |
|
|
test -z "$CC" && { { echo "$as_me:1953: error: no acceptable cc found in \$PATH" >&5
|
1954 |
|
|
echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
|
1955 |
|
|
{ (exit 1); exit 1; }; }
|
1956 |
|
|
|
1957 |
|
|
# Provide some information about the compiler.
|
1958 |
|
|
echo "$as_me:1958:" \
|
1959 |
|
|
"checking for C compiler version" >&5
|
1960 |
|
|
ac_compiler=`set X $ac_compile; echo $2`
|
1961 |
|
|
{ (eval echo "$as_me:1961: \"$ac_compiler --version &5\"") >&5
|
1962 |
|
|
(eval $ac_compiler --version &5) 2>&5
|
1963 |
|
|
ac_status=$?
|
1964 |
|
|
echo "$as_me:1964: \$? = $ac_status" >&5
|
1965 |
|
|
(exit $ac_status); }
|
1966 |
|
|
{ (eval echo "$as_me:1966: \"$ac_compiler -v &5\"") >&5
|
1967 |
|
|
(eval $ac_compiler -v &5) 2>&5
|
1968 |
|
|
ac_status=$?
|
1969 |
|
|
echo "$as_me:1969: \$? = $ac_status" >&5
|
1970 |
|
|
(exit $ac_status); }
|
1971 |
|
|
{ (eval echo "$as_me:1971: \"$ac_compiler -V &5\"") >&5
|
1972 |
|
|
(eval $ac_compiler -V &5) 2>&5
|
1973 |
|
|
ac_status=$?
|
1974 |
|
|
echo "$as_me:1974: \$? = $ac_status" >&5
|
1975 |
|
|
(exit $ac_status); }
|
1976 |
|
|
|
1977 |
|
|
cat >conftest.$ac_ext <<_ACEOF
|
1978 |
|
|
#line 1978 "configure"
|
1979 |
224 |
markom |
#include "confdefs.h"
|
1980 |
|
|
|
1981 |
1249 |
lampret |
int
|
1982 |
|
|
main ()
|
1983 |
|
|
{
|
1984 |
|
|
|
1985 |
|
|
;
|
1986 |
|
|
return 0;
|
1987 |
|
|
}
|
1988 |
|
|
_ACEOF
|
1989 |
|
|
ac_clean_files_save=$ac_clean_files
|
1990 |
|
|
ac_clean_files="$ac_clean_files a.out a.exe"
|
1991 |
|
|
# Try to create an executable without -o first, disregard a.out.
|
1992 |
|
|
# It will help us diagnose broken compilers, and finding out an intuition
|
1993 |
|
|
# of exeext.
|
1994 |
|
|
echo "$as_me:1994: checking for C compiler default output" >&5
|
1995 |
|
|
echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
|
1996 |
|
|
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
|
1997 |
|
|
if { (eval echo "$as_me:1997: \"$ac_link_default\"") >&5
|
1998 |
|
|
(eval $ac_link_default) 2>&5
|
1999 |
|
|
ac_status=$?
|
2000 |
|
|
echo "$as_me:2000: \$? = $ac_status" >&5
|
2001 |
|
|
(exit $ac_status); }; then
|
2002 |
|
|
# Find the output, starting from the most likely. This scheme is
|
2003 |
|
|
# not robust to junk in `.', hence go to wildcards (a.*) only as a last
|
2004 |
|
|
# resort.
|
2005 |
|
|
for ac_file in `ls a.exe conftest.exe 2>/dev/null;
|
2006 |
|
|
ls a.out conftest 2>/dev/null;
|
2007 |
|
|
ls a.* conftest.* 2>/dev/null`; do
|
2008 |
|
|
case $ac_file in
|
2009 |
|
|
*.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
|
2010 |
|
|
a.out ) # We found the default executable, but exeext='' is most
|
2011 |
|
|
# certainly right.
|
2012 |
|
|
break;;
|
2013 |
|
|
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
|
2014 |
|
|
# FIXME: I believe we export ac_cv_exeext for Libtool --akim.
|
2015 |
|
|
export ac_cv_exeext
|
2016 |
|
|
break;;
|
2017 |
|
|
* ) break;;
|
2018 |
|
|
esac
|
2019 |
|
|
done
|
2020 |
|
|
else
|
2021 |
|
|
echo "$as_me: failed program was:" >&5
|
2022 |
|
|
cat conftest.$ac_ext >&5
|
2023 |
|
|
{ { echo "$as_me:2023: error: C compiler cannot create executables" >&5
|
2024 |
|
|
echo "$as_me: error: C compiler cannot create executables" >&2;}
|
2025 |
|
|
{ (exit 77); exit 77; }; }
|
2026 |
|
|
fi
|
2027 |
|
|
|
2028 |
|
|
ac_exeext=$ac_cv_exeext
|
2029 |
|
|
echo "$as_me:2029: result: $ac_file" >&5
|
2030 |
|
|
echo "${ECHO_T}$ac_file" >&6
|
2031 |
|
|
|
2032 |
|
|
# Check the compiler produces executables we can run. If not, either
|
2033 |
|
|
# the compiler is broken, or we cross compile.
|
2034 |
|
|
echo "$as_me:2034: checking whether the C compiler works" >&5
|
2035 |
|
|
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
|
2036 |
|
|
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
|
2037 |
|
|
# If not cross compiling, check that we can run a simple program.
|
2038 |
|
|
if test "$cross_compiling" != yes; then
|
2039 |
|
|
if { ac_try='./$ac_file'
|
2040 |
|
|
{ (eval echo "$as_me:2040: \"$ac_try\"") >&5
|
2041 |
|
|
(eval $ac_try) 2>&5
|
2042 |
|
|
ac_status=$?
|
2043 |
|
|
echo "$as_me:2043: \$? = $ac_status" >&5
|
2044 |
|
|
(exit $ac_status); }; }; then
|
2045 |
|
|
cross_compiling=no
|
2046 |
224 |
markom |
else
|
2047 |
1249 |
lampret |
if test "$cross_compiling" = maybe; then
|
2048 |
|
|
cross_compiling=yes
|
2049 |
|
|
else
|
2050 |
|
|
{ { echo "$as_me:2050: error: cannot run C compiled programs.
|
2051 |
|
|
If you meant to cross compile, use \`--host'." >&5
|
2052 |
|
|
echo "$as_me: error: cannot run C compiled programs.
|
2053 |
|
|
If you meant to cross compile, use \`--host'." >&2;}
|
2054 |
|
|
{ (exit 1); exit 1; }; }
|
2055 |
|
|
fi
|
2056 |
224 |
markom |
fi
|
2057 |
|
|
fi
|
2058 |
1249 |
lampret |
echo "$as_me:2058: result: yes" >&5
|
2059 |
|
|
echo "${ECHO_T}yes" >&6
|
2060 |
224 |
markom |
|
2061 |
1249 |
lampret |
rm -f a.out a.exe conftest$ac_cv_exeext
|
2062 |
|
|
ac_clean_files=$ac_clean_files_save
|
2063 |
|
|
# Check the compiler produces executables we can run. If not, either
|
2064 |
|
|
# the compiler is broken, or we cross compile.
|
2065 |
|
|
echo "$as_me:2065: checking whether we are cross compiling" >&5
|
2066 |
|
|
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
|
2067 |
|
|
echo "$as_me:2067: result: $cross_compiling" >&5
|
2068 |
|
|
echo "${ECHO_T}$cross_compiling" >&6
|
2069 |
|
|
|
2070 |
|
|
echo "$as_me:2070: checking for executable suffix" >&5
|
2071 |
|
|
echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6
|
2072 |
|
|
if { (eval echo "$as_me:2072: \"$ac_link\"") >&5
|
2073 |
|
|
(eval $ac_link) 2>&5
|
2074 |
|
|
ac_status=$?
|
2075 |
|
|
echo "$as_me:2075: \$? = $ac_status" >&5
|
2076 |
|
|
(exit $ac_status); }; then
|
2077 |
|
|
# If both `conftest.exe' and `conftest' are `present' (well, observable)
|
2078 |
|
|
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
|
2079 |
|
|
# work properly (i.e., refer to `conftest.exe'), while it won't with
|
2080 |
|
|
# `rm'.
|
2081 |
|
|
for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
|
2082 |
|
|
case $ac_file in
|
2083 |
|
|
*.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
|
2084 |
|
|
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
|
2085 |
|
|
export ac_cv_exeext
|
2086 |
|
|
break;;
|
2087 |
|
|
* ) break;;
|
2088 |
|
|
esac
|
2089 |
|
|
done
|
2090 |
|
|
else
|
2091 |
|
|
{ { echo "$as_me:2091: error: cannot compute EXEEXT: cannot compile and link" >&5
|
2092 |
|
|
echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}
|
2093 |
|
|
{ (exit 1); exit 1; }; }
|
2094 |
224 |
markom |
fi
|
2095 |
|
|
|
2096 |
1249 |
lampret |
rm -f conftest$ac_cv_exeext
|
2097 |
|
|
echo "$as_me:2097: result: $ac_cv_exeext" >&5
|
2098 |
|
|
echo "${ECHO_T}$ac_cv_exeext" >&6
|
2099 |
|
|
|
2100 |
|
|
rm -f conftest.$ac_ext
|
2101 |
|
|
EXEEXT=$ac_cv_exeext
|
2102 |
|
|
ac_exeext=$EXEEXT
|
2103 |
|
|
echo "$as_me:2103: checking for object suffix" >&5
|
2104 |
|
|
echo $ECHO_N "checking for object suffix... $ECHO_C" >&6
|
2105 |
|
|
if test "${ac_cv_objext+set}" = set; then
|
2106 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
2107 |
224 |
markom |
else
|
2108 |
1249 |
lampret |
cat >conftest.$ac_ext <<_ACEOF
|
2109 |
|
|
#line 2109 "configure"
|
2110 |
|
|
#include "confdefs.h"
|
2111 |
|
|
|
2112 |
|
|
int
|
2113 |
|
|
main ()
|
2114 |
|
|
{
|
2115 |
|
|
|
2116 |
|
|
;
|
2117 |
|
|
return 0;
|
2118 |
|
|
}
|
2119 |
|
|
_ACEOF
|
2120 |
|
|
rm -f conftest.o conftest.obj
|
2121 |
|
|
if { (eval echo "$as_me:2121: \"$ac_compile\"") >&5
|
2122 |
|
|
(eval $ac_compile) 2>&5
|
2123 |
|
|
ac_status=$?
|
2124 |
|
|
echo "$as_me:2124: \$? = $ac_status" >&5
|
2125 |
|
|
(exit $ac_status); }; then
|
2126 |
|
|
for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
|
2127 |
|
|
case $ac_file in
|
2128 |
|
|
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
|
2129 |
|
|
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
|
2130 |
|
|
break;;
|
2131 |
|
|
esac
|
2132 |
|
|
done
|
2133 |
224 |
markom |
else
|
2134 |
1249 |
lampret |
echo "$as_me: failed program was:" >&5
|
2135 |
|
|
cat conftest.$ac_ext >&5
|
2136 |
|
|
{ { echo "$as_me:2136: error: cannot compute OBJEXT: cannot compile" >&5
|
2137 |
|
|
echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}
|
2138 |
|
|
{ (exit 1); exit 1; }; }
|
2139 |
224 |
markom |
fi
|
2140 |
1249 |
lampret |
|
2141 |
|
|
rm -f conftest.$ac_cv_objext conftest.$ac_ext
|
2142 |
224 |
markom |
fi
|
2143 |
1249 |
lampret |
echo "$as_me:2143: result: $ac_cv_objext" >&5
|
2144 |
|
|
echo "${ECHO_T}$ac_cv_objext" >&6
|
2145 |
|
|
OBJEXT=$ac_cv_objext
|
2146 |
|
|
ac_objext=$OBJEXT
|
2147 |
|
|
echo "$as_me:2147: checking whether we are using the GNU C compiler" >&5
|
2148 |
|
|
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
|
2149 |
|
|
if test "${ac_cv_c_compiler_gnu+set}" = set; then
|
2150 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
2151 |
|
|
else
|
2152 |
|
|
cat >conftest.$ac_ext <<_ACEOF
|
2153 |
|
|
#line 2153 "configure"
|
2154 |
|
|
#include "confdefs.h"
|
2155 |
224 |
markom |
|
2156 |
1249 |
lampret |
int
|
2157 |
|
|
main ()
|
2158 |
|
|
{
|
2159 |
|
|
#ifndef __GNUC__
|
2160 |
|
|
choke me
|
2161 |
|
|
#endif
|
2162 |
224 |
markom |
|
2163 |
1249 |
lampret |
;
|
2164 |
|
|
return 0;
|
2165 |
|
|
}
|
2166 |
|
|
_ACEOF
|
2167 |
|
|
rm -f conftest.$ac_objext
|
2168 |
|
|
if { (eval echo "$as_me:2168: \"$ac_compile\"") >&5
|
2169 |
|
|
(eval $ac_compile) 2>&5
|
2170 |
|
|
ac_status=$?
|
2171 |
|
|
echo "$as_me:2171: \$? = $ac_status" >&5
|
2172 |
|
|
(exit $ac_status); } &&
|
2173 |
|
|
{ ac_try='test -s conftest.$ac_objext'
|
2174 |
|
|
{ (eval echo "$as_me:2174: \"$ac_try\"") >&5
|
2175 |
|
|
(eval $ac_try) 2>&5
|
2176 |
|
|
ac_status=$?
|
2177 |
|
|
echo "$as_me:2177: \$? = $ac_status" >&5
|
2178 |
|
|
(exit $ac_status); }; }; then
|
2179 |
|
|
ac_compiler_gnu=yes
|
2180 |
224 |
markom |
else
|
2181 |
1249 |
lampret |
echo "$as_me: failed program was:" >&5
|
2182 |
|
|
cat conftest.$ac_ext >&5
|
2183 |
|
|
ac_compiler_gnu=no
|
2184 |
224 |
markom |
fi
|
2185 |
1249 |
lampret |
rm -f conftest.$ac_objext conftest.$ac_ext
|
2186 |
|
|
ac_cv_c_compiler_gnu=$ac_compiler_gnu
|
2187 |
224 |
markom |
|
2188 |
1249 |
lampret |
fi
|
2189 |
|
|
echo "$as_me:2189: result: $ac_cv_c_compiler_gnu" >&5
|
2190 |
|
|
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
|
2191 |
|
|
GCC=`test $ac_compiler_gnu = yes && echo yes`
|
2192 |
|
|
ac_test_CFLAGS=${CFLAGS+set}
|
2193 |
|
|
ac_save_CFLAGS=$CFLAGS
|
2194 |
|
|
CFLAGS="-g"
|
2195 |
|
|
echo "$as_me:2195: checking whether $CC accepts -g" >&5
|
2196 |
|
|
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
|
2197 |
|
|
if test "${ac_cv_prog_cc_g+set}" = set; then
|
2198 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
2199 |
224 |
markom |
else
|
2200 |
1249 |
lampret |
cat >conftest.$ac_ext <<_ACEOF
|
2201 |
|
|
#line 2201 "configure"
|
2202 |
|
|
#include "confdefs.h"
|
2203 |
|
|
|
2204 |
|
|
int
|
2205 |
|
|
main ()
|
2206 |
|
|
{
|
2207 |
|
|
|
2208 |
|
|
;
|
2209 |
|
|
return 0;
|
2210 |
|
|
}
|
2211 |
|
|
_ACEOF
|
2212 |
|
|
rm -f conftest.$ac_objext
|
2213 |
|
|
if { (eval echo "$as_me:2213: \"$ac_compile\"") >&5
|
2214 |
|
|
(eval $ac_compile) 2>&5
|
2215 |
|
|
ac_status=$?
|
2216 |
|
|
echo "$as_me:2216: \$? = $ac_status" >&5
|
2217 |
|
|
(exit $ac_status); } &&
|
2218 |
|
|
{ ac_try='test -s conftest.$ac_objext'
|
2219 |
|
|
{ (eval echo "$as_me:2219: \"$ac_try\"") >&5
|
2220 |
|
|
(eval $ac_try) 2>&5
|
2221 |
|
|
ac_status=$?
|
2222 |
|
|
echo "$as_me:2222: \$? = $ac_status" >&5
|
2223 |
|
|
(exit $ac_status); }; }; then
|
2224 |
224 |
markom |
ac_cv_prog_cc_g=yes
|
2225 |
|
|
else
|
2226 |
1249 |
lampret |
echo "$as_me: failed program was:" >&5
|
2227 |
|
|
cat conftest.$ac_ext >&5
|
2228 |
|
|
ac_cv_prog_cc_g=no
|
2229 |
224 |
markom |
fi
|
2230 |
1249 |
lampret |
rm -f conftest.$ac_objext conftest.$ac_ext
|
2231 |
224 |
markom |
fi
|
2232 |
1249 |
lampret |
echo "$as_me:2232: result: $ac_cv_prog_cc_g" >&5
|
2233 |
|
|
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
|
2234 |
224 |
markom |
if test "$ac_test_CFLAGS" = set; then
|
2235 |
1249 |
lampret |
CFLAGS=$ac_save_CFLAGS
|
2236 |
224 |
markom |
elif test $ac_cv_prog_cc_g = yes; then
|
2237 |
|
|
if test "$GCC" = yes; then
|
2238 |
|
|
CFLAGS="-g -O2"
|
2239 |
|
|
else
|
2240 |
|
|
CFLAGS="-g"
|
2241 |
|
|
fi
|
2242 |
|
|
else
|
2243 |
|
|
if test "$GCC" = yes; then
|
2244 |
|
|
CFLAGS="-O2"
|
2245 |
|
|
else
|
2246 |
|
|
CFLAGS=
|
2247 |
|
|
fi
|
2248 |
|
|
fi
|
2249 |
1249 |
lampret |
# Some people use a C++ compiler to compile C. Since we use `exit',
|
2250 |
|
|
# in C++ we need to declare it. In case someone uses the same compiler
|
2251 |
|
|
# for both compiling C and C++ we need to have the C++ compiler decide
|
2252 |
|
|
# the declaration of exit, since it's the most demanding environment.
|
2253 |
|
|
cat >conftest.$ac_ext <<_ACEOF
|
2254 |
|
|
#ifndef __cplusplus
|
2255 |
|
|
choke me
|
2256 |
|
|
#endif
|
2257 |
|
|
_ACEOF
|
2258 |
|
|
rm -f conftest.$ac_objext
|
2259 |
|
|
if { (eval echo "$as_me:2259: \"$ac_compile\"") >&5
|
2260 |
|
|
(eval $ac_compile) 2>&5
|
2261 |
|
|
ac_status=$?
|
2262 |
|
|
echo "$as_me:2262: \$? = $ac_status" >&5
|
2263 |
|
|
(exit $ac_status); } &&
|
2264 |
|
|
{ ac_try='test -s conftest.$ac_objext'
|
2265 |
|
|
{ (eval echo "$as_me:2265: \"$ac_try\"") >&5
|
2266 |
|
|
(eval $ac_try) 2>&5
|
2267 |
|
|
ac_status=$?
|
2268 |
|
|
echo "$as_me:2268: \$? = $ac_status" >&5
|
2269 |
|
|
(exit $ac_status); }; }; then
|
2270 |
|
|
for ac_declaration in \
|
2271 |
|
|
''\
|
2272 |
|
|
'#include ' \
|
2273 |
|
|
'extern "C" void std::exit (int) throw (); using std::exit;' \
|
2274 |
|
|
'extern "C" void std::exit (int); using std::exit;' \
|
2275 |
|
|
'extern "C" void exit (int) throw ();' \
|
2276 |
|
|
'extern "C" void exit (int);' \
|
2277 |
|
|
'void exit (int);'
|
2278 |
|
|
do
|
2279 |
|
|
cat >conftest.$ac_ext <<_ACEOF
|
2280 |
|
|
#line 2280 "configure"
|
2281 |
|
|
#include "confdefs.h"
|
2282 |
|
|
#include
|
2283 |
|
|
$ac_declaration
|
2284 |
|
|
int
|
2285 |
|
|
main ()
|
2286 |
|
|
{
|
2287 |
|
|
exit (42);
|
2288 |
|
|
;
|
2289 |
|
|
return 0;
|
2290 |
|
|
}
|
2291 |
|
|
_ACEOF
|
2292 |
|
|
rm -f conftest.$ac_objext
|
2293 |
|
|
if { (eval echo "$as_me:2293: \"$ac_compile\"") >&5
|
2294 |
|
|
(eval $ac_compile) 2>&5
|
2295 |
|
|
ac_status=$?
|
2296 |
|
|
echo "$as_me:2296: \$? = $ac_status" >&5
|
2297 |
|
|
(exit $ac_status); } &&
|
2298 |
|
|
{ ac_try='test -s conftest.$ac_objext'
|
2299 |
|
|
{ (eval echo "$as_me:2299: \"$ac_try\"") >&5
|
2300 |
|
|
(eval $ac_try) 2>&5
|
2301 |
|
|
ac_status=$?
|
2302 |
|
|
echo "$as_me:2302: \$? = $ac_status" >&5
|
2303 |
|
|
(exit $ac_status); }; }; then
|
2304 |
|
|
:
|
2305 |
|
|
else
|
2306 |
|
|
echo "$as_me: failed program was:" >&5
|
2307 |
|
|
cat conftest.$ac_ext >&5
|
2308 |
|
|
continue
|
2309 |
|
|
fi
|
2310 |
|
|
rm -f conftest.$ac_objext conftest.$ac_ext
|
2311 |
|
|
cat >conftest.$ac_ext <<_ACEOF
|
2312 |
|
|
#line 2312 "configure"
|
2313 |
|
|
#include "confdefs.h"
|
2314 |
|
|
$ac_declaration
|
2315 |
|
|
int
|
2316 |
|
|
main ()
|
2317 |
|
|
{
|
2318 |
|
|
exit (42);
|
2319 |
|
|
;
|
2320 |
|
|
return 0;
|
2321 |
|
|
}
|
2322 |
|
|
_ACEOF
|
2323 |
|
|
rm -f conftest.$ac_objext
|
2324 |
|
|
if { (eval echo "$as_me:2324: \"$ac_compile\"") >&5
|
2325 |
|
|
(eval $ac_compile) 2>&5
|
2326 |
|
|
ac_status=$?
|
2327 |
|
|
echo "$as_me:2327: \$? = $ac_status" >&5
|
2328 |
|
|
(exit $ac_status); } &&
|
2329 |
|
|
{ ac_try='test -s conftest.$ac_objext'
|
2330 |
|
|
{ (eval echo "$as_me:2330: \"$ac_try\"") >&5
|
2331 |
|
|
(eval $ac_try) 2>&5
|
2332 |
|
|
ac_status=$?
|
2333 |
|
|
echo "$as_me:2333: \$? = $ac_status" >&5
|
2334 |
|
|
(exit $ac_status); }; }; then
|
2335 |
|
|
break
|
2336 |
|
|
else
|
2337 |
|
|
echo "$as_me: failed program was:" >&5
|
2338 |
|
|
cat conftest.$ac_ext >&5
|
2339 |
|
|
fi
|
2340 |
|
|
rm -f conftest.$ac_objext conftest.$ac_ext
|
2341 |
|
|
done
|
2342 |
|
|
rm -f conftest*
|
2343 |
|
|
if test -n "$ac_declaration"; then
|
2344 |
|
|
echo '#ifdef __cplusplus' >>confdefs.h
|
2345 |
|
|
echo $ac_declaration >>confdefs.h
|
2346 |
|
|
echo '#endif' >>confdefs.h
|
2347 |
|
|
fi
|
2348 |
224 |
markom |
|
2349 |
|
|
else
|
2350 |
1249 |
lampret |
echo "$as_me: failed program was:" >&5
|
2351 |
|
|
cat conftest.$ac_ext >&5
|
2352 |
|
|
fi
|
2353 |
|
|
rm -f conftest.$ac_objext conftest.$ac_ext
|
2354 |
|
|
ac_ext=c
|
2355 |
|
|
ac_cpp='$CPP $CPPFLAGS'
|
2356 |
|
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
2357 |
|
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
2358 |
|
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
2359 |
|
|
|
2360 |
|
|
echo "$as_me:2360: checking for strerror in -lcposix" >&5
|
2361 |
|
|
echo $ECHO_N "checking for strerror in -lcposix... $ECHO_C" >&6
|
2362 |
|
|
if test "${ac_cv_lib_cposix_strerror+set}" = set; then
|
2363 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
2364 |
|
|
else
|
2365 |
|
|
ac_check_lib_save_LIBS=$LIBS
|
2366 |
|
|
LIBS="-lcposix $LIBS"
|
2367 |
|
|
cat >conftest.$ac_ext <<_ACEOF
|
2368 |
|
|
#line 2368 "configure"
|
2369 |
|
|
#include "confdefs.h"
|
2370 |
|
|
|
2371 |
|
|
/* Override any gcc2 internal prototype to avoid an error. */
|
2372 |
|
|
#ifdef __cplusplus
|
2373 |
|
|
extern "C"
|
2374 |
|
|
#endif
|
2375 |
|
|
/* We use char because int might match the return type of a gcc2
|
2376 |
|
|
builtin and then its argument prototype would still apply. */
|
2377 |
|
|
char strerror ();
|
2378 |
|
|
int
|
2379 |
|
|
main ()
|
2380 |
|
|
{
|
2381 |
|
|
strerror ();
|
2382 |
|
|
;
|
2383 |
|
|
return 0;
|
2384 |
|
|
}
|
2385 |
|
|
_ACEOF
|
2386 |
|
|
rm -f conftest.$ac_objext conftest$ac_exeext
|
2387 |
|
|
if { (eval echo "$as_me:2387: \"$ac_link\"") >&5
|
2388 |
|
|
(eval $ac_link) 2>&5
|
2389 |
|
|
ac_status=$?
|
2390 |
|
|
echo "$as_me:2390: \$? = $ac_status" >&5
|
2391 |
|
|
(exit $ac_status); } &&
|
2392 |
|
|
{ ac_try='test -s conftest$ac_exeext'
|
2393 |
|
|
{ (eval echo "$as_me:2393: \"$ac_try\"") >&5
|
2394 |
|
|
(eval $ac_try) 2>&5
|
2395 |
|
|
ac_status=$?
|
2396 |
|
|
echo "$as_me:2396: \$? = $ac_status" >&5
|
2397 |
|
|
(exit $ac_status); }; }; then
|
2398 |
|
|
ac_cv_lib_cposix_strerror=yes
|
2399 |
|
|
else
|
2400 |
|
|
echo "$as_me: failed program was:" >&5
|
2401 |
|
|
cat conftest.$ac_ext >&5
|
2402 |
|
|
ac_cv_lib_cposix_strerror=no
|
2403 |
|
|
fi
|
2404 |
|
|
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
|
2405 |
|
|
LIBS=$ac_check_lib_save_LIBS
|
2406 |
|
|
fi
|
2407 |
|
|
echo "$as_me:2407: result: $ac_cv_lib_cposix_strerror" >&5
|
2408 |
|
|
echo "${ECHO_T}$ac_cv_lib_cposix_strerror" >&6
|
2409 |
|
|
if test $ac_cv_lib_cposix_strerror = yes; then
|
2410 |
|
|
LIBS="$LIBS -lcposix"
|
2411 |
|
|
fi
|
2412 |
|
|
|
2413 |
|
|
ac_ext=c
|
2414 |
|
|
ac_cpp='$CPP $CPPFLAGS'
|
2415 |
|
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
2416 |
|
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
2417 |
|
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
2418 |
|
|
echo "$as_me:2418: checking how to run the C preprocessor" >&5
|
2419 |
|
|
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
|
2420 |
|
|
# On Suns, sometimes $CPP names a directory.
|
2421 |
|
|
if test -n "$CPP" && test -d "$CPP"; then
|
2422 |
|
|
CPP=
|
2423 |
|
|
fi
|
2424 |
|
|
if test -z "$CPP"; then
|
2425 |
|
|
if test "${ac_cv_prog_CPP+set}" = set; then
|
2426 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
2427 |
|
|
else
|
2428 |
|
|
# Double quotes because CPP needs to be expanded
|
2429 |
|
|
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
|
2430 |
|
|
do
|
2431 |
|
|
ac_preproc_ok=false
|
2432 |
|
|
for ac_c_preproc_warn_flag in '' yes
|
2433 |
|
|
do
|
2434 |
|
|
# Use a header file that comes with gcc, so configuring glibc
|
2435 |
|
|
# with a fresh cross-compiler works.
|
2436 |
|
|
# On the NeXT, cc -E runs the code through the compiler's parser,
|
2437 |
|
|
# not just through cpp. "Syntax error" is here to catch this case.
|
2438 |
|
|
cat >conftest.$ac_ext <<_ACEOF
|
2439 |
|
|
#line 2439 "configure"
|
2440 |
|
|
#include "confdefs.h"
|
2441 |
|
|
#include
|
2442 |
|
|
Syntax error
|
2443 |
|
|
_ACEOF
|
2444 |
|
|
if { (eval echo "$as_me:2444: \"$ac_cpp conftest.$ac_ext\"") >&5
|
2445 |
|
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
|
2446 |
|
|
ac_status=$?
|
2447 |
|
|
egrep -v '^ *\+' conftest.er1 >conftest.err
|
2448 |
|
|
rm -f conftest.er1
|
2449 |
|
|
cat conftest.err >&5
|
2450 |
|
|
echo "$as_me:2450: \$? = $ac_status" >&5
|
2451 |
|
|
(exit $ac_status); } >/dev/null; then
|
2452 |
|
|
if test -s conftest.err; then
|
2453 |
|
|
ac_cpp_err=$ac_c_preproc_warn_flag
|
2454 |
|
|
else
|
2455 |
|
|
ac_cpp_err=
|
2456 |
|
|
fi
|
2457 |
|
|
else
|
2458 |
|
|
ac_cpp_err=yes
|
2459 |
|
|
fi
|
2460 |
|
|
if test -z "$ac_cpp_err"; then
|
2461 |
|
|
:
|
2462 |
|
|
else
|
2463 |
|
|
echo "$as_me: failed program was:" >&5
|
2464 |
|
|
cat conftest.$ac_ext >&5
|
2465 |
|
|
# Broken: fails on valid input.
|
2466 |
|
|
continue
|
2467 |
|
|
fi
|
2468 |
|
|
rm -f conftest.err conftest.$ac_ext
|
2469 |
|
|
|
2470 |
|
|
# OK, works on sane cases. Now check whether non-existent headers
|
2471 |
|
|
# can be detected and how.
|
2472 |
|
|
cat >conftest.$ac_ext <<_ACEOF
|
2473 |
|
|
#line 2473 "configure"
|
2474 |
|
|
#include "confdefs.h"
|
2475 |
|
|
#include
|
2476 |
|
|
_ACEOF
|
2477 |
|
|
if { (eval echo "$as_me:2477: \"$ac_cpp conftest.$ac_ext\"") >&5
|
2478 |
|
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
|
2479 |
|
|
ac_status=$?
|
2480 |
|
|
egrep -v '^ *\+' conftest.er1 >conftest.err
|
2481 |
|
|
rm -f conftest.er1
|
2482 |
|
|
cat conftest.err >&5
|
2483 |
|
|
echo "$as_me:2483: \$? = $ac_status" >&5
|
2484 |
|
|
(exit $ac_status); } >/dev/null; then
|
2485 |
|
|
if test -s conftest.err; then
|
2486 |
|
|
ac_cpp_err=$ac_c_preproc_warn_flag
|
2487 |
|
|
else
|
2488 |
|
|
ac_cpp_err=
|
2489 |
|
|
fi
|
2490 |
|
|
else
|
2491 |
|
|
ac_cpp_err=yes
|
2492 |
|
|
fi
|
2493 |
|
|
if test -z "$ac_cpp_err"; then
|
2494 |
|
|
# Broken: success on invalid input.
|
2495 |
|
|
continue
|
2496 |
|
|
else
|
2497 |
|
|
echo "$as_me: failed program was:" >&5
|
2498 |
|
|
cat conftest.$ac_ext >&5
|
2499 |
|
|
# Passes both tests.
|
2500 |
|
|
ac_preproc_ok=:
|
2501 |
|
|
break
|
2502 |
|
|
fi
|
2503 |
|
|
rm -f conftest.err conftest.$ac_ext
|
2504 |
|
|
|
2505 |
|
|
done
|
2506 |
|
|
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
2507 |
|
|
rm -f conftest.err conftest.$ac_ext
|
2508 |
|
|
if $ac_preproc_ok; then
|
2509 |
|
|
break
|
2510 |
|
|
fi
|
2511 |
|
|
|
2512 |
|
|
done
|
2513 |
|
|
ac_cv_prog_CPP=$CPP
|
2514 |
|
|
|
2515 |
|
|
fi
|
2516 |
|
|
CPP=$ac_cv_prog_CPP
|
2517 |
|
|
else
|
2518 |
|
|
ac_cv_prog_CPP=$CPP
|
2519 |
|
|
fi
|
2520 |
|
|
echo "$as_me:2520: result: $CPP" >&5
|
2521 |
|
|
echo "${ECHO_T}$CPP" >&6
|
2522 |
|
|
ac_preproc_ok=false
|
2523 |
|
|
for ac_c_preproc_warn_flag in '' yes
|
2524 |
|
|
do
|
2525 |
|
|
# Use a header file that comes with gcc, so configuring glibc
|
2526 |
|
|
# with a fresh cross-compiler works.
|
2527 |
|
|
# On the NeXT, cc -E runs the code through the compiler's parser,
|
2528 |
|
|
# not just through cpp. "Syntax error" is here to catch this case.
|
2529 |
|
|
cat >conftest.$ac_ext <<_ACEOF
|
2530 |
|
|
#line 2530 "configure"
|
2531 |
|
|
#include "confdefs.h"
|
2532 |
|
|
#include
|
2533 |
|
|
Syntax error
|
2534 |
|
|
_ACEOF
|
2535 |
|
|
if { (eval echo "$as_me:2535: \"$ac_cpp conftest.$ac_ext\"") >&5
|
2536 |
|
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
|
2537 |
|
|
ac_status=$?
|
2538 |
|
|
egrep -v '^ *\+' conftest.er1 >conftest.err
|
2539 |
|
|
rm -f conftest.er1
|
2540 |
|
|
cat conftest.err >&5
|
2541 |
|
|
echo "$as_me:2541: \$? = $ac_status" >&5
|
2542 |
|
|
(exit $ac_status); } >/dev/null; then
|
2543 |
|
|
if test -s conftest.err; then
|
2544 |
|
|
ac_cpp_err=$ac_c_preproc_warn_flag
|
2545 |
|
|
else
|
2546 |
|
|
ac_cpp_err=
|
2547 |
|
|
fi
|
2548 |
|
|
else
|
2549 |
|
|
ac_cpp_err=yes
|
2550 |
|
|
fi
|
2551 |
|
|
if test -z "$ac_cpp_err"; then
|
2552 |
|
|
:
|
2553 |
|
|
else
|
2554 |
|
|
echo "$as_me: failed program was:" >&5
|
2555 |
|
|
cat conftest.$ac_ext >&5
|
2556 |
|
|
# Broken: fails on valid input.
|
2557 |
|
|
continue
|
2558 |
|
|
fi
|
2559 |
|
|
rm -f conftest.err conftest.$ac_ext
|
2560 |
|
|
|
2561 |
|
|
# OK, works on sane cases. Now check whether non-existent headers
|
2562 |
|
|
# can be detected and how.
|
2563 |
|
|
cat >conftest.$ac_ext <<_ACEOF
|
2564 |
|
|
#line 2564 "configure"
|
2565 |
|
|
#include "confdefs.h"
|
2566 |
|
|
#include
|
2567 |
|
|
_ACEOF
|
2568 |
|
|
if { (eval echo "$as_me:2568: \"$ac_cpp conftest.$ac_ext\"") >&5
|
2569 |
|
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
|
2570 |
|
|
ac_status=$?
|
2571 |
|
|
egrep -v '^ *\+' conftest.er1 >conftest.err
|
2572 |
|
|
rm -f conftest.er1
|
2573 |
|
|
cat conftest.err >&5
|
2574 |
|
|
echo "$as_me:2574: \$? = $ac_status" >&5
|
2575 |
|
|
(exit $ac_status); } >/dev/null; then
|
2576 |
|
|
if test -s conftest.err; then
|
2577 |
|
|
ac_cpp_err=$ac_c_preproc_warn_flag
|
2578 |
|
|
else
|
2579 |
|
|
ac_cpp_err=
|
2580 |
|
|
fi
|
2581 |
|
|
else
|
2582 |
|
|
ac_cpp_err=yes
|
2583 |
|
|
fi
|
2584 |
|
|
if test -z "$ac_cpp_err"; then
|
2585 |
|
|
# Broken: success on invalid input.
|
2586 |
|
|
continue
|
2587 |
|
|
else
|
2588 |
|
|
echo "$as_me: failed program was:" >&5
|
2589 |
|
|
cat conftest.$ac_ext >&5
|
2590 |
|
|
# Passes both tests.
|
2591 |
|
|
ac_preproc_ok=:
|
2592 |
|
|
break
|
2593 |
|
|
fi
|
2594 |
|
|
rm -f conftest.err conftest.$ac_ext
|
2595 |
|
|
|
2596 |
|
|
done
|
2597 |
|
|
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
2598 |
|
|
rm -f conftest.err conftest.$ac_ext
|
2599 |
|
|
if $ac_preproc_ok; then
|
2600 |
|
|
:
|
2601 |
|
|
else
|
2602 |
|
|
{ { echo "$as_me:2602: error: C preprocessor \"$CPP\" fails sanity check" >&5
|
2603 |
|
|
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
|
2604 |
|
|
{ (exit 1); exit 1; }; }
|
2605 |
|
|
fi
|
2606 |
|
|
|
2607 |
|
|
ac_ext=c
|
2608 |
|
|
ac_cpp='$CPP $CPPFLAGS'
|
2609 |
|
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
2610 |
|
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
2611 |
|
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
2612 |
|
|
|
2613 |
|
|
echo "$as_me:2613: checking for ANSI C header files" >&5
|
2614 |
|
|
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
|
2615 |
|
|
if test "${ac_cv_header_stdc+set}" = set; then
|
2616 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
2617 |
|
|
else
|
2618 |
|
|
cat >conftest.$ac_ext <<_ACEOF
|
2619 |
|
|
#line 2619 "configure"
|
2620 |
|
|
#include "confdefs.h"
|
2621 |
|
|
#include
|
2622 |
|
|
#include
|
2623 |
|
|
#include
|
2624 |
|
|
#include
|
2625 |
|
|
|
2626 |
|
|
_ACEOF
|
2627 |
|
|
if { (eval echo "$as_me:2627: \"$ac_cpp conftest.$ac_ext\"") >&5
|
2628 |
|
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
|
2629 |
|
|
ac_status=$?
|
2630 |
|
|
egrep -v '^ *\+' conftest.er1 >conftest.err
|
2631 |
|
|
rm -f conftest.er1
|
2632 |
|
|
cat conftest.err >&5
|
2633 |
|
|
echo "$as_me:2633: \$? = $ac_status" >&5
|
2634 |
|
|
(exit $ac_status); } >/dev/null; then
|
2635 |
|
|
if test -s conftest.err; then
|
2636 |
|
|
ac_cpp_err=$ac_c_preproc_warn_flag
|
2637 |
|
|
else
|
2638 |
|
|
ac_cpp_err=
|
2639 |
|
|
fi
|
2640 |
|
|
else
|
2641 |
|
|
ac_cpp_err=yes
|
2642 |
|
|
fi
|
2643 |
|
|
if test -z "$ac_cpp_err"; then
|
2644 |
|
|
ac_cv_header_stdc=yes
|
2645 |
|
|
else
|
2646 |
|
|
echo "$as_me: failed program was:" >&5
|
2647 |
|
|
cat conftest.$ac_ext >&5
|
2648 |
|
|
ac_cv_header_stdc=no
|
2649 |
|
|
fi
|
2650 |
|
|
rm -f conftest.err conftest.$ac_ext
|
2651 |
|
|
|
2652 |
|
|
if test $ac_cv_header_stdc = yes; then
|
2653 |
|
|
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
|
2654 |
|
|
cat >conftest.$ac_ext <<_ACEOF
|
2655 |
|
|
#line 2655 "configure"
|
2656 |
|
|
#include "confdefs.h"
|
2657 |
|
|
#include
|
2658 |
|
|
|
2659 |
|
|
_ACEOF
|
2660 |
|
|
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
2661 |
|
|
egrep "memchr" >/dev/null 2>&1; then
|
2662 |
|
|
:
|
2663 |
|
|
else
|
2664 |
|
|
ac_cv_header_stdc=no
|
2665 |
|
|
fi
|
2666 |
|
|
rm -f conftest*
|
2667 |
|
|
|
2668 |
|
|
fi
|
2669 |
|
|
|
2670 |
|
|
if test $ac_cv_header_stdc = yes; then
|
2671 |
|
|
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
|
2672 |
|
|
cat >conftest.$ac_ext <<_ACEOF
|
2673 |
|
|
#line 2673 "configure"
|
2674 |
|
|
#include "confdefs.h"
|
2675 |
|
|
#include
|
2676 |
|
|
|
2677 |
|
|
_ACEOF
|
2678 |
|
|
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
2679 |
|
|
egrep "free" >/dev/null 2>&1; then
|
2680 |
|
|
:
|
2681 |
|
|
else
|
2682 |
|
|
ac_cv_header_stdc=no
|
2683 |
|
|
fi
|
2684 |
|
|
rm -f conftest*
|
2685 |
|
|
|
2686 |
|
|
fi
|
2687 |
|
|
|
2688 |
|
|
if test $ac_cv_header_stdc = yes; then
|
2689 |
|
|
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
|
2690 |
|
|
if test "$cross_compiling" = yes; then
|
2691 |
|
|
:
|
2692 |
|
|
else
|
2693 |
|
|
cat >conftest.$ac_ext <<_ACEOF
|
2694 |
|
|
#line 2694 "configure"
|
2695 |
|
|
#include "confdefs.h"
|
2696 |
|
|
#include
|
2697 |
|
|
#if ((' ' & 0x0FF) == 0x020)
|
2698 |
|
|
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
|
2699 |
|
|
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
|
2700 |
|
|
#else
|
2701 |
|
|
# define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
|
2702 |
|
|
|| ('j' <= (c) && (c) <= 'r') \
|
2703 |
|
|
|| ('s' <= (c) && (c) <= 'z'))
|
2704 |
|
|
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
|
2705 |
|
|
#endif
|
2706 |
|
|
|
2707 |
|
|
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
|
2708 |
|
|
int
|
2709 |
|
|
main ()
|
2710 |
|
|
{
|
2711 |
|
|
int i;
|
2712 |
|
|
for (i = 0; i < 256; i++)
|
2713 |
|
|
if (XOR (islower (i), ISLOWER (i))
|
2714 |
|
|
|| toupper (i) != TOUPPER (i))
|
2715 |
|
|
exit(2);
|
2716 |
|
|
exit (0);
|
2717 |
|
|
}
|
2718 |
|
|
_ACEOF
|
2719 |
|
|
rm -f conftest$ac_exeext
|
2720 |
|
|
if { (eval echo "$as_me:2720: \"$ac_link\"") >&5
|
2721 |
|
|
(eval $ac_link) 2>&5
|
2722 |
|
|
ac_status=$?
|
2723 |
|
|
echo "$as_me:2723: \$? = $ac_status" >&5
|
2724 |
|
|
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
|
2725 |
|
|
{ (eval echo "$as_me:2725: \"$ac_try\"") >&5
|
2726 |
|
|
(eval $ac_try) 2>&5
|
2727 |
|
|
ac_status=$?
|
2728 |
|
|
echo "$as_me:2728: \$? = $ac_status" >&5
|
2729 |
|
|
(exit $ac_status); }; }; then
|
2730 |
|
|
:
|
2731 |
|
|
else
|
2732 |
|
|
echo "$as_me: program exited with status $ac_status" >&5
|
2733 |
|
|
echo "$as_me: failed program was:" >&5
|
2734 |
|
|
cat conftest.$ac_ext >&5
|
2735 |
|
|
ac_cv_header_stdc=no
|
2736 |
|
|
fi
|
2737 |
|
|
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
2738 |
|
|
fi
|
2739 |
|
|
fi
|
2740 |
|
|
fi
|
2741 |
|
|
echo "$as_me:2741: result: $ac_cv_header_stdc" >&5
|
2742 |
|
|
echo "${ECHO_T}$ac_cv_header_stdc" >&6
|
2743 |
|
|
if test $ac_cv_header_stdc = yes; then
|
2744 |
|
|
|
2745 |
|
|
cat >>confdefs.h <<\EOF
|
2746 |
|
|
#define STDC_HEADERS 1
|
2747 |
|
|
EOF
|
2748 |
|
|
|
2749 |
|
|
fi
|
2750 |
|
|
|
2751 |
|
|
MAKE_SHELL=/bin/sh
|
2752 |
|
|
|
2753 |
|
|
if test $ac_cv_c_compiler_gnu = yes; then
|
2754 |
|
|
echo "$as_me:2754: checking whether $CC needs -traditional" >&5
|
2755 |
|
|
echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
|
2756 |
|
|
if test "${ac_cv_prog_gcc_traditional+set}" = set; then
|
2757 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
2758 |
|
|
else
|
2759 |
224 |
markom |
ac_pattern="Autoconf.*'x'"
|
2760 |
1249 |
lampret |
cat >conftest.$ac_ext <<_ACEOF
|
2761 |
|
|
#line 2761 "configure"
|
2762 |
224 |
markom |
#include "confdefs.h"
|
2763 |
|
|
#include
|
2764 |
|
|
Autoconf TIOCGETP
|
2765 |
1249 |
lampret |
_ACEOF
|
2766 |
224 |
markom |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
2767 |
|
|
egrep "$ac_pattern" >/dev/null 2>&1; then
|
2768 |
|
|
ac_cv_prog_gcc_traditional=yes
|
2769 |
|
|
else
|
2770 |
|
|
ac_cv_prog_gcc_traditional=no
|
2771 |
|
|
fi
|
2772 |
|
|
rm -f conftest*
|
2773 |
|
|
|
2774 |
|
|
if test $ac_cv_prog_gcc_traditional = no; then
|
2775 |
1249 |
lampret |
cat >conftest.$ac_ext <<_ACEOF
|
2776 |
|
|
#line 2776 "configure"
|
2777 |
224 |
markom |
#include "confdefs.h"
|
2778 |
|
|
#include
|
2779 |
|
|
Autoconf TCGETA
|
2780 |
1249 |
lampret |
_ACEOF
|
2781 |
224 |
markom |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
2782 |
|
|
egrep "$ac_pattern" >/dev/null 2>&1; then
|
2783 |
|
|
ac_cv_prog_gcc_traditional=yes
|
2784 |
|
|
fi
|
2785 |
|
|
rm -f conftest*
|
2786 |
|
|
|
2787 |
|
|
fi
|
2788 |
|
|
fi
|
2789 |
1249 |
lampret |
echo "$as_me:2789: result: $ac_cv_prog_gcc_traditional" >&5
|
2790 |
|
|
echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
|
2791 |
224 |
markom |
if test $ac_cv_prog_gcc_traditional = yes; then
|
2792 |
|
|
CC="$CC -traditional"
|
2793 |
|
|
fi
|
2794 |
|
|
fi
|
2795 |
|
|
|
2796 |
568 |
markom |
CFLAGS="-Wall -g"
|
2797 |
224 |
markom |
|
2798 |
|
|
COMPILE_OR1K=unknown
|
2799 |
308 |
markom |
|
2800 |
|
|
TESTS_ENV=
|
2801 |
385 |
markom |
|
2802 |
479 |
markom |
OR1K_SRCDIR="./${top_srcdir}"
|
2803 |
229 |
erez |
case $target in
|
2804 |
224 |
markom |
or1k*|or32*)
|
2805 |
381 |
markom |
CFLAGS="$CFLAGS -nostdlib -mhard-div"
|
2806 |
224 |
markom |
COMPILE=or1k
|
2807 |
308 |
markom |
TESTS_ENV="$SIM"
|
2808 |
224 |
markom |
;;
|
2809 |
|
|
esac
|
2810 |
|
|
|
2811 |
|
|
if test x$COMPILE = xor1k; then
|
2812 |
|
|
OR1K_EXCEPT_TRUE=
|
2813 |
|
|
OR1K_EXCEPT_FALSE='#'
|
2814 |
|
|
else
|
2815 |
|
|
OR1K_EXCEPT_TRUE='#'
|
2816 |
|
|
OR1K_EXCEPT_FALSE=
|
2817 |
|
|
fi
|
2818 |
|
|
|
2819 |
1249 |
lampret |
echo "$as_me:2819: checking whether to enable optimizations" >&5
|
2820 |
|
|
echo $ECHO_N "checking whether to enable optimizations... $ECHO_C" >&6
|
2821 |
493 |
markom |
# Check whether --enable-opt or --disable-opt was given.
|
2822 |
|
|
if test "${enable_opt+set}" = set; then
|
2823 |
|
|
enableval="$enable_opt"
|
2824 |
1249 |
lampret |
|
2825 |
493 |
markom |
case "$enableval" in
|
2826 |
|
|
yes)
|
2827 |
|
|
CFLAGS="$CFLAGS -O"
|
2828 |
|
|
;;
|
2829 |
|
|
*)
|
2830 |
|
|
CFLAGS="$CFLAGS -O$enableval"
|
2831 |
|
|
;;
|
2832 |
|
|
esac
|
2833 |
410 |
simons |
|
2834 |
1249 |
lampret |
fi;
|
2835 |
|
|
echo "$as_me:2835: result: ${enable_opt-default}" >&5
|
2836 |
|
|
echo "${ECHO_T}${enable_opt-default}" >&6
|
2837 |
493 |
markom |
|
2838 |
|
|
case "$enable_debugging" in
|
2839 |
1249 |
lampret |
yes)
|
2840 |
|
|
echo "$as_me:2840: checking for malloc in -lefence" >&5
|
2841 |
|
|
echo $ECHO_N "checking for malloc in -lefence... $ECHO_C" >&6
|
2842 |
|
|
if test "${ac_cv_lib_efence_malloc+set}" = set; then
|
2843 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
2844 |
493 |
markom |
else
|
2845 |
1249 |
lampret |
ac_check_lib_save_LIBS=$LIBS
|
2846 |
493 |
markom |
LIBS="-lefence $LIBS"
|
2847 |
1249 |
lampret |
cat >conftest.$ac_ext <<_ACEOF
|
2848 |
|
|
#line 2848 "configure"
|
2849 |
493 |
markom |
#include "confdefs.h"
|
2850 |
1249 |
lampret |
|
2851 |
493 |
markom |
/* Override any gcc2 internal prototype to avoid an error. */
|
2852 |
1249 |
lampret |
#ifdef __cplusplus
|
2853 |
|
|
extern "C"
|
2854 |
|
|
#endif
|
2855 |
493 |
markom |
/* We use char because int might match the return type of a gcc2
|
2856 |
1249 |
lampret |
builtin and then its argument prototype would still apply. */
|
2857 |
|
|
char malloc ();
|
2858 |
|
|
int
|
2859 |
|
|
main ()
|
2860 |
|
|
{
|
2861 |
|
|
malloc ();
|
2862 |
|
|
;
|
2863 |
|
|
return 0;
|
2864 |
|
|
}
|
2865 |
|
|
_ACEOF
|
2866 |
|
|
rm -f conftest.$ac_objext conftest$ac_exeext
|
2867 |
|
|
if { (eval echo "$as_me:2867: \"$ac_link\"") >&5
|
2868 |
|
|
(eval $ac_link) 2>&5
|
2869 |
|
|
ac_status=$?
|
2870 |
|
|
echo "$as_me:2870: \$? = $ac_status" >&5
|
2871 |
|
|
(exit $ac_status); } &&
|
2872 |
|
|
{ ac_try='test -s conftest$ac_exeext'
|
2873 |
|
|
{ (eval echo "$as_me:2873: \"$ac_try\"") >&5
|
2874 |
|
|
(eval $ac_try) 2>&5
|
2875 |
|
|
ac_status=$?
|
2876 |
|
|
echo "$as_me:2876: \$? = $ac_status" >&5
|
2877 |
|
|
(exit $ac_status); }; }; then
|
2878 |
|
|
ac_cv_lib_efence_malloc=yes
|
2879 |
493 |
markom |
else
|
2880 |
1249 |
lampret |
echo "$as_me: failed program was:" >&5
|
2881 |
|
|
cat conftest.$ac_ext >&5
|
2882 |
|
|
ac_cv_lib_efence_malloc=no
|
2883 |
493 |
markom |
fi
|
2884 |
1249 |
lampret |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
|
2885 |
|
|
LIBS=$ac_check_lib_save_LIBS
|
2886 |
493 |
markom |
fi
|
2887 |
1249 |
lampret |
echo "$as_me:2887: result: $ac_cv_lib_efence_malloc" >&5
|
2888 |
|
|
echo "${ECHO_T}$ac_cv_lib_efence_malloc" >&6
|
2889 |
|
|
if test $ac_cv_lib_efence_malloc = yes; then
|
2890 |
|
|
cat >>confdefs.h <
|
2891 |
|
|
#define HAVE_LIBEFENCE 1
|
2892 |
493 |
markom |
EOF
|
2893 |
|
|
|
2894 |
|
|
LIBS="-lefence $LIBS"
|
2895 |
|
|
|
2896 |
|
|
fi
|
2897 |
|
|
;;
|
2898 |
|
|
esac
|
2899 |
|
|
|
2900 |
224 |
markom |
INCLUDES="-I\${top_srcdir}/support"
|
2901 |
|
|
|
2902 |
1249 |
lampret |
echo "$as_me:2902: checking for $CC option to accept ANSI C" >&5
|
2903 |
|
|
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
|
2904 |
|
|
if test "${ac_cv_prog_cc_stdc+set}" = set; then
|
2905 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
2906 |
224 |
markom |
else
|
2907 |
1249 |
lampret |
ac_cv_prog_cc_stdc=no
|
2908 |
|
|
ac_save_CC=$CC
|
2909 |
|
|
cat >conftest.$ac_ext <<_ACEOF
|
2910 |
|
|
#line 2910 "configure"
|
2911 |
224 |
markom |
#include "confdefs.h"
|
2912 |
1249 |
lampret |
#include
|
2913 |
|
|
#include
|
2914 |
|
|
#include
|
2915 |
|
|
#include
|
2916 |
|
|
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
|
2917 |
|
|
struct buf { int x; };
|
2918 |
|
|
FILE * (*rcsopen) (struct buf *, struct stat *, int);
|
2919 |
|
|
static char *e (p, i)
|
2920 |
|
|
char **p;
|
2921 |
|
|
int i;
|
2922 |
|
|
{
|
2923 |
|
|
return p[i];
|
2924 |
|
|
}
|
2925 |
|
|
static char *f (char * (*g) (char **, int), char **p, ...)
|
2926 |
|
|
{
|
2927 |
|
|
char *s;
|
2928 |
|
|
va_list v;
|
2929 |
|
|
va_start (v,p);
|
2930 |
|
|
s = g (p, va_arg (v,int));
|
2931 |
|
|
va_end (v);
|
2932 |
|
|
return s;
|
2933 |
|
|
}
|
2934 |
|
|
int test (int i, double x);
|
2935 |
|
|
struct s1 {int (*f) (int a);};
|
2936 |
|
|
struct s2 {int (*f) (double a);};
|
2937 |
|
|
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
|
2938 |
|
|
int argc;
|
2939 |
|
|
char **argv;
|
2940 |
|
|
int
|
2941 |
|
|
main ()
|
2942 |
|
|
{
|
2943 |
|
|
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
|
2944 |
|
|
;
|
2945 |
|
|
return 0;
|
2946 |
|
|
}
|
2947 |
|
|
_ACEOF
|
2948 |
|
|
# Don't try gcc -ansi; that turns off useful extensions and
|
2949 |
|
|
# breaks some systems' header files.
|
2950 |
|
|
# AIX -qlanglvl=ansi
|
2951 |
|
|
# Ultrix and OSF/1 -std1
|
2952 |
|
|
# HP-UX 10.20 and later -Ae
|
2953 |
|
|
# HP-UX older versions -Aa -D_HPUX_SOURCE
|
2954 |
|
|
# SVR4 -Xc -D__EXTENSIONS__
|
2955 |
|
|
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
|
2956 |
|
|
do
|
2957 |
|
|
CC="$ac_save_CC $ac_arg"
|
2958 |
|
|
rm -f conftest.$ac_objext
|
2959 |
|
|
if { (eval echo "$as_me:2959: \"$ac_compile\"") >&5
|
2960 |
|
|
(eval $ac_compile) 2>&5
|
2961 |
|
|
ac_status=$?
|
2962 |
|
|
echo "$as_me:2962: \$? = $ac_status" >&5
|
2963 |
|
|
(exit $ac_status); } &&
|
2964 |
|
|
{ ac_try='test -s conftest.$ac_objext'
|
2965 |
|
|
{ (eval echo "$as_me:2965: \"$ac_try\"") >&5
|
2966 |
|
|
(eval $ac_try) 2>&5
|
2967 |
|
|
ac_status=$?
|
2968 |
|
|
echo "$as_me:2968: \$? = $ac_status" >&5
|
2969 |
|
|
(exit $ac_status); }; }; then
|
2970 |
|
|
ac_cv_prog_cc_stdc=$ac_arg
|
2971 |
|
|
break
|
2972 |
|
|
else
|
2973 |
|
|
echo "$as_me: failed program was:" >&5
|
2974 |
|
|
cat conftest.$ac_ext >&5
|
2975 |
|
|
fi
|
2976 |
|
|
rm -f conftest.$ac_objext
|
2977 |
|
|
done
|
2978 |
|
|
rm -f conftest.$ac_ext conftest.$ac_objext
|
2979 |
|
|
CC=$ac_save_CC
|
2980 |
224 |
markom |
|
2981 |
1249 |
lampret |
fi
|
2982 |
224 |
markom |
|
2983 |
1249 |
lampret |
case "x$ac_cv_prog_cc_stdc" in
|
2984 |
|
|
x|xno)
|
2985 |
|
|
echo "$as_me:2985: result: none needed" >&5
|
2986 |
|
|
echo "${ECHO_T}none needed" >&6 ;;
|
2987 |
|
|
*)
|
2988 |
|
|
echo "$as_me:2988: result: $ac_cv_prog_cc_stdc" >&5
|
2989 |
|
|
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
|
2990 |
|
|
CC="$CC $ac_cv_prog_cc_stdc" ;;
|
2991 |
|
|
esac
|
2992 |
224 |
markom |
|
2993 |
1249 |
lampret |
echo "$as_me:2993: checking for an ANSI C-conforming const" >&5
|
2994 |
|
|
echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
|
2995 |
|
|
if test "${ac_cv_c_const+set}" = set; then
|
2996 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
2997 |
|
|
else
|
2998 |
|
|
cat >conftest.$ac_ext <<_ACEOF
|
2999 |
|
|
#line 2999 "configure"
|
3000 |
|
|
#include "confdefs.h"
|
3001 |
|
|
|
3002 |
|
|
int
|
3003 |
|
|
main ()
|
3004 |
|
|
{
|
3005 |
|
|
/* FIXME: Include the comments suggested by Paul. */
|
3006 |
|
|
#ifndef __cplusplus
|
3007 |
|
|
/* Ultrix mips cc rejects this. */
|
3008 |
|
|
typedef int charset[2];
|
3009 |
|
|
const charset x;
|
3010 |
|
|
/* SunOS 4.1.1 cc rejects this. */
|
3011 |
|
|
char const *const *ccp;
|
3012 |
|
|
char **p;
|
3013 |
|
|
/* NEC SVR4.0.2 mips cc rejects this. */
|
3014 |
|
|
struct point {int x, y;};
|
3015 |
|
|
static struct point const zero = {0,0};
|
3016 |
|
|
/* AIX XL C 1.02.0.0 rejects this.
|
3017 |
|
|
It does not let you subtract one const X* pointer from another in
|
3018 |
|
|
an arm of an if-expression whose if-part is not a constant
|
3019 |
|
|
expression */
|
3020 |
|
|
const char *g = "string";
|
3021 |
|
|
ccp = &g + (g ? g-g : 0);
|
3022 |
|
|
/* HPUX 7.0 cc rejects these. */
|
3023 |
|
|
++ccp;
|
3024 |
|
|
p = (char**) ccp;
|
3025 |
|
|
ccp = (char const *const *) p;
|
3026 |
|
|
{ /* SCO 3.2v4 cc rejects this. */
|
3027 |
|
|
char *t;
|
3028 |
|
|
char const *s = 0 ? (char *) 0 : (char const *) 0;
|
3029 |
|
|
|
3030 |
|
|
*t++ = 0;
|
3031 |
|
|
}
|
3032 |
|
|
{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
|
3033 |
|
|
int x[] = {25, 17};
|
3034 |
|
|
const int *foo = &x[0];
|
3035 |
|
|
++foo;
|
3036 |
|
|
}
|
3037 |
|
|
{ /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
|
3038 |
|
|
typedef const int *iptr;
|
3039 |
|
|
iptr p = 0;
|
3040 |
|
|
++p;
|
3041 |
|
|
}
|
3042 |
|
|
{ /* AIX XL C 1.02.0.0 rejects this saying
|
3043 |
|
|
"k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
|
3044 |
|
|
struct s { int j; const int *ap[3]; };
|
3045 |
|
|
struct s *b; b->j = 5;
|
3046 |
|
|
}
|
3047 |
|
|
{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
|
3048 |
|
|
const int foo = 10;
|
3049 |
|
|
}
|
3050 |
|
|
#endif
|
3051 |
|
|
|
3052 |
|
|
;
|
3053 |
|
|
return 0;
|
3054 |
224 |
markom |
}
|
3055 |
1249 |
lampret |
_ACEOF
|
3056 |
|
|
rm -f conftest.$ac_objext
|
3057 |
|
|
if { (eval echo "$as_me:3057: \"$ac_compile\"") >&5
|
3058 |
|
|
(eval $ac_compile) 2>&5
|
3059 |
|
|
ac_status=$?
|
3060 |
|
|
echo "$as_me:3060: \$? = $ac_status" >&5
|
3061 |
|
|
(exit $ac_status); } &&
|
3062 |
|
|
{ ac_try='test -s conftest.$ac_objext'
|
3063 |
|
|
{ (eval echo "$as_me:3063: \"$ac_try\"") >&5
|
3064 |
|
|
(eval $ac_try) 2>&5
|
3065 |
|
|
ac_status=$?
|
3066 |
|
|
echo "$as_me:3066: \$? = $ac_status" >&5
|
3067 |
|
|
(exit $ac_status); }; }; then
|
3068 |
224 |
markom |
ac_cv_c_const=yes
|
3069 |
|
|
else
|
3070 |
1249 |
lampret |
echo "$as_me: failed program was:" >&5
|
3071 |
|
|
cat conftest.$ac_ext >&5
|
3072 |
|
|
ac_cv_c_const=no
|
3073 |
224 |
markom |
fi
|
3074 |
1249 |
lampret |
rm -f conftest.$ac_objext conftest.$ac_ext
|
3075 |
224 |
markom |
fi
|
3076 |
1249 |
lampret |
echo "$as_me:3076: result: $ac_cv_c_const" >&5
|
3077 |
|
|
echo "${ECHO_T}$ac_cv_c_const" >&6
|
3078 |
|
|
if test $ac_cv_c_const = no; then
|
3079 |
224 |
markom |
|
3080 |
1249 |
lampret |
cat >>confdefs.h <<\EOF
|
3081 |
|
|
#define const
|
3082 |
224 |
markom |
EOF
|
3083 |
|
|
|
3084 |
|
|
fi
|
3085 |
|
|
|
3086 |
1249 |
lampret |
echo "$as_me:3086: checking for inline" >&5
|
3087 |
|
|
echo $ECHO_N "checking for inline... $ECHO_C" >&6
|
3088 |
|
|
if test "${ac_cv_c_inline+set}" = set; then
|
3089 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
3090 |
224 |
markom |
else
|
3091 |
|
|
ac_cv_c_inline=no
|
3092 |
|
|
for ac_kw in inline __inline__ __inline; do
|
3093 |
1249 |
lampret |
cat >conftest.$ac_ext <<_ACEOF
|
3094 |
|
|
#line 3094 "configure"
|
3095 |
224 |
markom |
#include "confdefs.h"
|
3096 |
1249 |
lampret |
#ifndef __cplusplus
|
3097 |
|
|
static $ac_kw int static_foo () {return 0; }
|
3098 |
|
|
$ac_kw int foo () {return 0; }
|
3099 |
|
|
#endif
|
3100 |
224 |
markom |
|
3101 |
1249 |
lampret |
_ACEOF
|
3102 |
|
|
rm -f conftest.$ac_objext
|
3103 |
|
|
if { (eval echo "$as_me:3103: \"$ac_compile\"") >&5
|
3104 |
|
|
(eval $ac_compile) 2>&5
|
3105 |
|
|
ac_status=$?
|
3106 |
|
|
echo "$as_me:3106: \$? = $ac_status" >&5
|
3107 |
|
|
(exit $ac_status); } &&
|
3108 |
|
|
{ ac_try='test -s conftest.$ac_objext'
|
3109 |
|
|
{ (eval echo "$as_me:3109: \"$ac_try\"") >&5
|
3110 |
|
|
(eval $ac_try) 2>&5
|
3111 |
|
|
ac_status=$?
|
3112 |
|
|
echo "$as_me:3112: \$? = $ac_status" >&5
|
3113 |
|
|
(exit $ac_status); }; }; then
|
3114 |
224 |
markom |
ac_cv_c_inline=$ac_kw; break
|
3115 |
|
|
else
|
3116 |
1249 |
lampret |
echo "$as_me: failed program was:" >&5
|
3117 |
|
|
cat conftest.$ac_ext >&5
|
3118 |
224 |
markom |
fi
|
3119 |
1249 |
lampret |
rm -f conftest.$ac_objext conftest.$ac_ext
|
3120 |
224 |
markom |
done
|
3121 |
|
|
|
3122 |
|
|
fi
|
3123 |
1249 |
lampret |
echo "$as_me:3123: result: $ac_cv_c_inline" >&5
|
3124 |
|
|
echo "${ECHO_T}$ac_cv_c_inline" >&6
|
3125 |
|
|
case $ac_cv_c_inline in
|
3126 |
224 |
markom |
inline | yes) ;;
|
3127 |
1249 |
lampret |
no)
|
3128 |
|
|
cat >>confdefs.h <<\EOF
|
3129 |
|
|
#define inline
|
3130 |
224 |
markom |
EOF
|
3131 |
|
|
;;
|
3132 |
1249 |
lampret |
*) cat >>confdefs.h <
|
3133 |
224 |
markom |
#define inline $ac_cv_c_inline
|
3134 |
|
|
EOF
|
3135 |
|
|
;;
|
3136 |
|
|
esac
|
3137 |
|
|
|
3138 |
1249 |
lampret |
ac_config_files="$ac_config_files Makefile support/Makefile uos/Makefile"
|
3139 |
|
|
cat >confcache <<\_ACEOF
|
3140 |
258 |
erez |
# This file is a shell script that caches the results of configure
|
3141 |
|
|
# tests run on this system so they can be shared between configure
|
3142 |
1249 |
lampret |
# scripts and configure runs, see configure's option --config-cache.
|
3143 |
|
|
# It is not useful on other systems. If it contains results you don't
|
3144 |
|
|
# want to keep, you may remove or edit it.
|
3145 |
258 |
erez |
#
|
3146 |
1249 |
lampret |
# config.status only pays attention to the cache file if you give it
|
3147 |
|
|
# the --recheck option to rerun configure.
|
3148 |
258 |
erez |
#
|
3149 |
1249 |
lampret |
# `ac_cv_env_foo' variables (set or unset) will be overriden when
|
3150 |
|
|
# loading this file, other *unset* `ac_cv_foo' will be assigned the
|
3151 |
|
|
# following values.
|
3152 |
|
|
|
3153 |
|
|
_ACEOF
|
3154 |
|
|
|
3155 |
258 |
erez |
# The following way of writing the cache mishandles newlines in values,
|
3156 |
|
|
# but we know of no workaround that is simple, portable, and efficient.
|
3157 |
|
|
# So, don't put newlines in cache variables' values.
|
3158 |
|
|
# Ultrix sh set writes to stderr and can't be redirected directly,
|
3159 |
|
|
# and sets the high bit in the cache file unless we assign to the vars.
|
3160 |
1249 |
lampret |
{
|
3161 |
|
|
(set) 2>&1 |
|
3162 |
|
|
case `(ac_space=' '; set | grep ac_space) 2>&1` in
|
3163 |
|
|
*ac_space=\ *)
|
3164 |
|
|
# `set' does not quote correctly, so add quotes (double-quote
|
3165 |
|
|
# substitution turns \\\\ into \\, and sed turns \\ into \).
|
3166 |
|
|
sed -n \
|
3167 |
|
|
"s/'/'\\\\''/g;
|
3168 |
|
|
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
|
3169 |
|
|
;;
|
3170 |
|
|
*)
|
3171 |
|
|
# `set' quotes correctly as required by POSIX, so do not add quotes.
|
3172 |
|
|
sed -n \
|
3173 |
|
|
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
|
3174 |
|
|
;;
|
3175 |
|
|
esac;
|
3176 |
|
|
} |
|
3177 |
|
|
sed '
|
3178 |
|
|
t clear
|
3179 |
|
|
: clear
|
3180 |
|
|
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
|
3181 |
|
|
t end
|
3182 |
|
|
/^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
|
3183 |
|
|
: end' >>confcache
|
3184 |
|
|
if cmp -s $cache_file confcache; then :; else
|
3185 |
258 |
erez |
if test -w $cache_file; then
|
3186 |
1249 |
lampret |
test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
|
3187 |
|
|
cat confcache >$cache_file
|
3188 |
258 |
erez |
else
|
3189 |
|
|
echo "not updating unwritable cache $cache_file"
|
3190 |
|
|
fi
|
3191 |
|
|
fi
|
3192 |
|
|
rm -f confcache
|
3193 |
224 |
markom |
|
3194 |
|
|
test "x$prefix" = xNONE && prefix=$ac_default_prefix
|
3195 |
|
|
# Let make expand exec_prefix.
|
3196 |
|
|
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
|
3197 |
|
|
|
3198 |
1249 |
lampret |
# VPATH may cause trouble with some makes, so we remove $(srcdir),
|
3199 |
|
|
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
|
3200 |
|
|
# trailing colons and then remove the whole line if VPATH becomes empty
|
3201 |
|
|
# (actually we leave an empty line to preserve line numbers).
|
3202 |
224 |
markom |
if test "x$srcdir" = x.; then
|
3203 |
1249 |
lampret |
ac_vpsub='/^[ ]*VPATH[ ]*=/{
|
3204 |
|
|
s/:*\$(srcdir):*/:/;
|
3205 |
|
|
s/:*\${srcdir}:*/:/;
|
3206 |
|
|
s/:*@srcdir@:*/:/;
|
3207 |
|
|
s/^\([^=]*=[ ]*\):*/\1/;
|
3208 |
|
|
s/:*$//;
|
3209 |
|
|
s/^[^=]*=[ ]*$//;
|
3210 |
|
|
}'
|
3211 |
224 |
markom |
fi
|
3212 |
|
|
|
3213 |
|
|
# Transform confdefs.h into DEFS.
|
3214 |
|
|
# Protect against shell expansion while executing Makefile rules.
|
3215 |
|
|
# Protect against Makefile macro expansion.
|
3216 |
1249 |
lampret |
#
|
3217 |
|
|
# If the first sed substitution is executed (which looks for macros that
|
3218 |
|
|
# take arguments), then we branch to the quote section. Otherwise,
|
3219 |
|
|
# look for a macro that doesn't take arguments.
|
3220 |
|
|
cat >confdef2opt.sed <<\EOF
|
3221 |
|
|
t clear
|
3222 |
|
|
: clear
|
3223 |
|
|
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
|
3224 |
|
|
t quote
|
3225 |
|
|
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
|
3226 |
|
|
t quote
|
3227 |
|
|
d
|
3228 |
|
|
: quote
|
3229 |
|
|
s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
|
3230 |
|
|
s,\[,\\&,g
|
3231 |
|
|
s,\],\\&,g
|
3232 |
|
|
s,\$,$$,g
|
3233 |
|
|
p
|
3234 |
224 |
markom |
EOF
|
3235 |
1249 |
lampret |
# We use echo to avoid assuming a particular line-breaking character.
|
3236 |
|
|
# The extra dot is to prevent the shell from consuming trailing
|
3237 |
|
|
# line-breaks from the sub-command output. A line-break within
|
3238 |
|
|
# single-quotes doesn't work because, if this script is created in a
|
3239 |
|
|
# platform that uses two characters for line-breaks (e.g., DOS), tr
|
3240 |
|
|
# would break.
|
3241 |
|
|
ac_LF_and_DOT=`echo; echo .`
|
3242 |
|
|
DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
|
3243 |
|
|
rm -f confdef2opt.sed
|
3244 |
224 |
markom |
|
3245 |
|
|
: ${CONFIG_STATUS=./config.status}
|
3246 |
1249 |
lampret |
ac_clean_files_save=$ac_clean_files
|
3247 |
|
|
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
|
3248 |
|
|
{ echo "$as_me:3248: creating $CONFIG_STATUS" >&5
|
3249 |
|
|
echo "$as_me: creating $CONFIG_STATUS" >&6;}
|
3250 |
|
|
cat >$CONFIG_STATUS <<_ACEOF
|
3251 |
|
|
#! $SHELL
|
3252 |
224 |
markom |
# Generated automatically by configure.
|
3253 |
|
|
# Run this file to recreate the current configuration.
|
3254 |
|
|
# Compiler output produced by configure, useful for debugging
|
3255 |
1249 |
lampret |
# configure, is in config.log if it exists.
|
3256 |
224 |
markom |
|
3257 |
1249 |
lampret |
debug=false
|
3258 |
|
|
SHELL=\${CONFIG_SHELL-$SHELL}
|
3259 |
|
|
ac_cs_invocation="\$0 \$@"
|
3260 |
|
|
|
3261 |
|
|
_ACEOF
|
3262 |
|
|
|
3263 |
|
|
cat >>$CONFIG_STATUS <<\_ACEOF
|
3264 |
|
|
# Be Bourne compatible
|
3265 |
|
|
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
3266 |
|
|
emulate sh
|
3267 |
|
|
NULLCMD=:
|
3268 |
|
|
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
|
3269 |
|
|
set -o posix
|
3270 |
|
|
fi
|
3271 |
|
|
|
3272 |
|
|
# Name of the executable.
|
3273 |
|
|
as_me=`echo "$0" |sed 's,.*[\\/],,'`
|
3274 |
|
|
|
3275 |
|
|
if expr a : '\(a\)' >/dev/null 2>&1; then
|
3276 |
|
|
as_expr=expr
|
3277 |
|
|
else
|
3278 |
|
|
as_expr=false
|
3279 |
|
|
fi
|
3280 |
|
|
|
3281 |
|
|
rm -f conf$$ conf$$.exe conf$$.file
|
3282 |
|
|
echo >conf$$.file
|
3283 |
|
|
if ln -s conf$$.file conf$$ 2>/dev/null; then
|
3284 |
|
|
# We could just check for DJGPP; but this test a) works b) is more generic
|
3285 |
|
|
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
|
3286 |
|
|
if test -f conf$$.exe; then
|
3287 |
|
|
# Don't use ln at all; we don't have any links
|
3288 |
|
|
as_ln_s='cp -p'
|
3289 |
|
|
else
|
3290 |
|
|
as_ln_s='ln -s'
|
3291 |
|
|
fi
|
3292 |
|
|
elif ln conf$$.file conf$$ 2>/dev/null; then
|
3293 |
|
|
as_ln_s=ln
|
3294 |
|
|
else
|
3295 |
|
|
as_ln_s='cp -p'
|
3296 |
|
|
fi
|
3297 |
|
|
rm -f conf$$ conf$$.exe conf$$.file
|
3298 |
|
|
|
3299 |
|
|
as_executable_p="test -f"
|
3300 |
|
|
|
3301 |
|
|
# Support unset when possible.
|
3302 |
|
|
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
|
3303 |
|
|
as_unset=unset
|
3304 |
|
|
else
|
3305 |
|
|
as_unset=false
|
3306 |
|
|
fi
|
3307 |
|
|
|
3308 |
|
|
# NLS nuisances.
|
3309 |
|
|
$as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
|
3310 |
|
|
$as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
|
3311 |
|
|
$as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
|
3312 |
|
|
$as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
|
3313 |
|
|
$as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
|
3314 |
|
|
$as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
|
3315 |
|
|
$as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
|
3316 |
|
|
$as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
|
3317 |
|
|
|
3318 |
|
|
# IFS
|
3319 |
|
|
# We need space, tab and new line, in precisely that order.
|
3320 |
|
|
as_nl='
|
3321 |
|
|
'
|
3322 |
|
|
IFS=" $as_nl"
|
3323 |
|
|
|
3324 |
|
|
# CDPATH.
|
3325 |
|
|
$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
|
3326 |
|
|
|
3327 |
|
|
exec 6>&1
|
3328 |
|
|
|
3329 |
|
|
_ACEOF
|
3330 |
|
|
|
3331 |
|
|
# Files that config.status was made for.
|
3332 |
|
|
if test -n "$ac_config_files"; then
|
3333 |
|
|
echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
|
3334 |
|
|
fi
|
3335 |
|
|
|
3336 |
|
|
if test -n "$ac_config_headers"; then
|
3337 |
|
|
echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
|
3338 |
|
|
fi
|
3339 |
|
|
|
3340 |
|
|
if test -n "$ac_config_links"; then
|
3341 |
|
|
echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
|
3342 |
|
|
fi
|
3343 |
|
|
|
3344 |
|
|
if test -n "$ac_config_commands"; then
|
3345 |
|
|
echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
|
3346 |
|
|
fi
|
3347 |
|
|
|
3348 |
|
|
cat >>$CONFIG_STATUS <<\EOF
|
3349 |
|
|
|
3350 |
|
|
ac_cs_usage="\
|
3351 |
|
|
\`$as_me' instantiates files from templates according to the
|
3352 |
|
|
current configuration.
|
3353 |
|
|
|
3354 |
|
|
Usage: $0 [OPTIONS] [FILE]...
|
3355 |
|
|
|
3356 |
|
|
-h, --help print this help, then exit
|
3357 |
|
|
-V, --version print version number, then exit
|
3358 |
|
|
-d, --debug don't remove temporary files
|
3359 |
|
|
--recheck update $as_me by reconfiguring in the same conditions
|
3360 |
|
|
--file=FILE[:TEMPLATE]
|
3361 |
|
|
instantiate the configuration file FILE
|
3362 |
|
|
|
3363 |
|
|
Configuration files:
|
3364 |
|
|
$config_files
|
3365 |
|
|
|
3366 |
|
|
Report bugs to ."
|
3367 |
|
|
EOF
|
3368 |
|
|
|
3369 |
|
|
cat >>$CONFIG_STATUS <
|
3370 |
|
|
ac_cs_version="\\
|
3371 |
|
|
config.status
|
3372 |
|
|
configured by $0, generated by GNU Autoconf 2.52,
|
3373 |
|
|
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
|
3374 |
|
|
|
3375 |
|
|
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
|
3376 |
|
|
Free Software Foundation, Inc.
|
3377 |
|
|
This config.status script is free software; the Free Software Foundation
|
3378 |
|
|
gives unlimited permission to copy, distribute and modify it."
|
3379 |
|
|
srcdir=$srcdir
|
3380 |
|
|
INSTALL="$INSTALL"
|
3381 |
|
|
EOF
|
3382 |
|
|
|
3383 |
|
|
cat >>$CONFIG_STATUS <<\EOF
|
3384 |
|
|
# If no file are specified by the user, then we need to provide default
|
3385 |
|
|
# value. By we need to know if files were specified by the user.
|
3386 |
|
|
ac_need_defaults=:
|
3387 |
|
|
while test $# != 0
|
3388 |
224 |
markom |
do
|
3389 |
1249 |
lampret |
case $1 in
|
3390 |
|
|
--*=*)
|
3391 |
|
|
ac_option=`expr "x$1" : 'x\([^=]*\)='`
|
3392 |
|
|
ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
|
3393 |
|
|
shift
|
3394 |
|
|
set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
|
3395 |
|
|
shift
|
3396 |
|
|
;;
|
3397 |
|
|
-*);;
|
3398 |
|
|
*) # This is not an option, so the user has probably given explicit
|
3399 |
|
|
# arguments.
|
3400 |
|
|
ac_need_defaults=false;;
|
3401 |
|
|
esac
|
3402 |
|
|
|
3403 |
|
|
case $1 in
|
3404 |
|
|
# Handling of the options.
|
3405 |
|
|
EOF
|
3406 |
|
|
cat >>$CONFIG_STATUS <
|
3407 |
224 |
markom |
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
|
3408 |
1249 |
lampret |
echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
|
3409 |
|
|
exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
|
3410 |
|
|
EOF
|
3411 |
|
|
cat >>$CONFIG_STATUS <<\EOF
|
3412 |
|
|
--version | --vers* | -V )
|
3413 |
|
|
echo "$ac_cs_version"; exit 0 ;;
|
3414 |
|
|
--he | --h)
|
3415 |
|
|
# Conflict between --help and --header
|
3416 |
|
|
{ { echo "$as_me:3416: error: ambiguous option: $1
|
3417 |
|
|
Try \`$0 --help' for more information." >&5
|
3418 |
|
|
echo "$as_me: error: ambiguous option: $1
|
3419 |
|
|
Try \`$0 --help' for more information." >&2;}
|
3420 |
|
|
{ (exit 1); exit 1; }; };;
|
3421 |
|
|
--help | --hel | -h )
|
3422 |
|
|
echo "$ac_cs_usage"; exit 0 ;;
|
3423 |
|
|
--debug | --d* | -d )
|
3424 |
|
|
debug=: ;;
|
3425 |
|
|
--file | --fil | --fi | --f )
|
3426 |
|
|
shift
|
3427 |
|
|
CONFIG_FILES="$CONFIG_FILES $1"
|
3428 |
|
|
ac_need_defaults=false;;
|
3429 |
|
|
--header | --heade | --head | --hea )
|
3430 |
|
|
shift
|
3431 |
|
|
CONFIG_HEADERS="$CONFIG_HEADERS $1"
|
3432 |
|
|
ac_need_defaults=false;;
|
3433 |
|
|
|
3434 |
|
|
# This is an error.
|
3435 |
|
|
-*) { { echo "$as_me:3435: error: unrecognized option: $1
|
3436 |
|
|
Try \`$0 --help' for more information." >&5
|
3437 |
|
|
echo "$as_me: error: unrecognized option: $1
|
3438 |
|
|
Try \`$0 --help' for more information." >&2;}
|
3439 |
|
|
{ (exit 1); exit 1; }; } ;;
|
3440 |
|
|
|
3441 |
|
|
*) ac_config_targets="$ac_config_targets $1" ;;
|
3442 |
|
|
|
3443 |
224 |
markom |
esac
|
3444 |
1249 |
lampret |
shift
|
3445 |
224 |
markom |
done
|
3446 |
|
|
|
3447 |
1249 |
lampret |
exec 5>>config.log
|
3448 |
|
|
cat >&5 << _ACEOF
|
3449 |
224 |
markom |
|
3450 |
1249 |
lampret |
## ----------------------- ##
|
3451 |
|
|
## Running config.status. ##
|
3452 |
|
|
## ----------------------- ##
|
3453 |
|
|
|
3454 |
|
|
This file was extended by $as_me 2.52, executed with
|
3455 |
|
|
CONFIG_FILES = $CONFIG_FILES
|
3456 |
|
|
CONFIG_HEADERS = $CONFIG_HEADERS
|
3457 |
|
|
CONFIG_LINKS = $CONFIG_LINKS
|
3458 |
|
|
CONFIG_COMMANDS = $CONFIG_COMMANDS
|
3459 |
|
|
> $ac_cs_invocation
|
3460 |
|
|
on `(hostname || uname -n) 2>/dev/null | sed 1q`
|
3461 |
|
|
|
3462 |
|
|
_ACEOF
|
3463 |
224 |
markom |
EOF
|
3464 |
|
|
|
3465 |
1249 |
lampret |
cat >>$CONFIG_STATUS <<\EOF
|
3466 |
|
|
for ac_config_target in $ac_config_targets
|
3467 |
|
|
do
|
3468 |
|
|
case "$ac_config_target" in
|
3469 |
|
|
# Handling of arguments.
|
3470 |
|
|
"Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
|
3471 |
|
|
"support/Makefile" ) CONFIG_FILES="$CONFIG_FILES support/Makefile" ;;
|
3472 |
|
|
"uos/Makefile" ) CONFIG_FILES="$CONFIG_FILES uos/Makefile" ;;
|
3473 |
|
|
*) { { echo "$as_me:3473: error: invalid argument: $ac_config_target" >&5
|
3474 |
|
|
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
|
3475 |
|
|
{ (exit 1); exit 1; }; };;
|
3476 |
|
|
esac
|
3477 |
|
|
done
|
3478 |
224 |
markom |
|
3479 |
1249 |
lampret |
# If the user did not use the arguments to specify the items to instantiate,
|
3480 |
|
|
# then the envvar interface is used. Set only those that are not.
|
3481 |
|
|
# We use the long form for the default assignment because of an extremely
|
3482 |
|
|
# bizarre bug on SunOS 4.1.3.
|
3483 |
|
|
if $ac_need_defaults; then
|
3484 |
|
|
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
|
3485 |
|
|
fi
|
3486 |
|
|
|
3487 |
|
|
# Create a temporary directory, and hook for its removal unless debugging.
|
3488 |
|
|
$debug ||
|
3489 |
|
|
{
|
3490 |
|
|
trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
|
3491 |
|
|
trap '{ (exit 1); exit 1; }' 1 2 13 15
|
3492 |
|
|
}
|
3493 |
|
|
|
3494 |
|
|
# Create a (secure) tmp directory for tmp files.
|
3495 |
|
|
: ${TMPDIR=/tmp}
|
3496 |
|
|
{
|
3497 |
|
|
tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
|
3498 |
|
|
test -n "$tmp" && test -d "$tmp"
|
3499 |
|
|
} ||
|
3500 |
|
|
{
|
3501 |
|
|
tmp=$TMPDIR/cs$$-$RANDOM
|
3502 |
|
|
(umask 077 && mkdir $tmp)
|
3503 |
|
|
} ||
|
3504 |
|
|
{
|
3505 |
|
|
echo "$me: cannot create a temporary directory in $TMPDIR" >&2
|
3506 |
|
|
{ (exit 1); exit 1; }
|
3507 |
|
|
}
|
3508 |
|
|
|
3509 |
|
|
EOF
|
3510 |
|
|
|
3511 |
|
|
cat >>$CONFIG_STATUS <
|
3512 |
|
|
|
3513 |
|
|
#
|
3514 |
|
|
# CONFIG_FILES section.
|
3515 |
|
|
#
|
3516 |
|
|
|
3517 |
|
|
# No need to generate the scripts if there are no CONFIG_FILES.
|
3518 |
|
|
# This happens for instance when ./config.status config.h
|
3519 |
|
|
if test -n "\$CONFIG_FILES"; then
|
3520 |
|
|
# Protect against being on the right side of a sed subst in config.status.
|
3521 |
|
|
sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
|
3522 |
|
|
s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
|
3523 |
|
|
s,@SHELL@,$SHELL,;t t
|
3524 |
|
|
s,@exec_prefix@,$exec_prefix,;t t
|
3525 |
|
|
s,@prefix@,$prefix,;t t
|
3526 |
|
|
s,@program_transform_name@,$program_transform_name,;t t
|
3527 |
|
|
s,@bindir@,$bindir,;t t
|
3528 |
|
|
s,@sbindir@,$sbindir,;t t
|
3529 |
|
|
s,@libexecdir@,$libexecdir,;t t
|
3530 |
|
|
s,@datadir@,$datadir,;t t
|
3531 |
|
|
s,@sysconfdir@,$sysconfdir,;t t
|
3532 |
|
|
s,@sharedstatedir@,$sharedstatedir,;t t
|
3533 |
|
|
s,@localstatedir@,$localstatedir,;t t
|
3534 |
|
|
s,@libdir@,$libdir,;t t
|
3535 |
|
|
s,@includedir@,$includedir,;t t
|
3536 |
|
|
s,@oldincludedir@,$oldincludedir,;t t
|
3537 |
|
|
s,@infodir@,$infodir,;t t
|
3538 |
|
|
s,@mandir@,$mandir,;t t
|
3539 |
|
|
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
|
3540 |
|
|
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
|
3541 |
|
|
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
|
3542 |
|
|
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
|
3543 |
|
|
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
|
3544 |
|
|
s,@build_alias@,$build_alias,;t t
|
3545 |
|
|
s,@host_alias@,$host_alias,;t t
|
3546 |
|
|
s,@target_alias@,$target_alias,;t t
|
3547 |
|
|
s,@ECHO_C@,$ECHO_C,;t t
|
3548 |
|
|
s,@ECHO_N@,$ECHO_N,;t t
|
3549 |
|
|
s,@ECHO_T@,$ECHO_T,;t t
|
3550 |
|
|
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
|
3551 |
|
|
s,@DEFS@,$DEFS,;t t
|
3552 |
|
|
s,@LIBS@,$LIBS,;t t
|
3553 |
|
|
s,@build@,$build,;t t
|
3554 |
|
|
s,@build_cpu@,$build_cpu,;t t
|
3555 |
|
|
s,@build_vendor@,$build_vendor,;t t
|
3556 |
|
|
s,@build_os@,$build_os,;t t
|
3557 |
|
|
s,@host@,$host,;t t
|
3558 |
|
|
s,@host_cpu@,$host_cpu,;t t
|
3559 |
|
|
s,@host_vendor@,$host_vendor,;t t
|
3560 |
|
|
s,@host_os@,$host_os,;t t
|
3561 |
|
|
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
|
3562 |
|
|
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
|
3563 |
|
|
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
|
3564 |
|
|
s,@PACKAGE@,$PACKAGE,;t t
|
3565 |
|
|
s,@VERSION@,$VERSION,;t t
|
3566 |
|
|
s,@ACLOCAL@,$ACLOCAL,;t t
|
3567 |
|
|
s,@AUTOCONF@,$AUTOCONF,;t t
|
3568 |
|
|
s,@AUTOMAKE@,$AUTOMAKE,;t t
|
3569 |
|
|
s,@AUTOHEADER@,$AUTOHEADER,;t t
|
3570 |
|
|
s,@MAKEINFO@,$MAKEINFO,;t t
|
3571 |
|
|
s,@SET_MAKE@,$SET_MAKE,;t t
|
3572 |
|
|
s,@CC@,$CC,;t t
|
3573 |
|
|
s,@ac_ct_CC@,$ac_ct_CC,;t t
|
3574 |
|
|
s,@RANLIB@,$RANLIB,;t t
|
3575 |
|
|
s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
|
3576 |
|
|
s,@LD@,$LD,;t t
|
3577 |
|
|
s,@ac_ct_LD@,$ac_ct_LD,;t t
|
3578 |
|
|
s,@SIM@,$SIM,;t t
|
3579 |
|
|
s,@ac_ct_SIM@,$ac_ct_SIM,;t t
|
3580 |
|
|
s,@CFLAGS@,$CFLAGS,;t t
|
3581 |
|
|
s,@LDFLAGS@,$LDFLAGS,;t t
|
3582 |
|
|
s,@CPPFLAGS@,$CPPFLAGS,;t t
|
3583 |
|
|
s,@EXEEXT@,$EXEEXT,;t t
|
3584 |
|
|
s,@OBJEXT@,$OBJEXT,;t t
|
3585 |
|
|
s,@CPP@,$CPP,;t t
|
3586 |
|
|
s,@MAKE_SHELL@,$MAKE_SHELL,;t t
|
3587 |
|
|
s,@TESTS_ENV@,$TESTS_ENV,;t t
|
3588 |
|
|
s,@OR1K_SRCDIR@,$OR1K_SRCDIR,;t t
|
3589 |
|
|
s,@OR1K_EXCEPT_TRUE@,$OR1K_EXCEPT_TRUE,;t t
|
3590 |
|
|
s,@OR1K_EXCEPT_FALSE@,$OR1K_EXCEPT_FALSE,;t t
|
3591 |
|
|
s,@INCLUDES@,$INCLUDES,;t t
|
3592 |
224 |
markom |
CEOF
|
3593 |
1249 |
lampret |
|
3594 |
224 |
markom |
EOF
|
3595 |
|
|
|
3596 |
1249 |
lampret |
cat >>$CONFIG_STATUS <<\EOF
|
3597 |
|
|
# Split the substitutions into bite-sized pieces for seds with
|
3598 |
|
|
# small command number limits, like on Digital OSF/1 and HP-UX.
|
3599 |
|
|
ac_max_sed_lines=48
|
3600 |
|
|
ac_sed_frag=1 # Number of current file.
|
3601 |
|
|
ac_beg=1 # First line for current file.
|
3602 |
|
|
ac_end=$ac_max_sed_lines # Line after last line for current file.
|
3603 |
|
|
ac_more_lines=:
|
3604 |
|
|
ac_sed_cmds=
|
3605 |
|
|
while $ac_more_lines; do
|
3606 |
|
|
if test $ac_beg -gt 1; then
|
3607 |
|
|
sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
|
3608 |
224 |
markom |
else
|
3609 |
1249 |
lampret |
sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
|
3610 |
224 |
markom |
fi
|
3611 |
1249 |
lampret |
if test ! -s $tmp/subs.frag; then
|
3612 |
|
|
ac_more_lines=false
|
3613 |
|
|
else
|
3614 |
|
|
# The purpose of the label and of the branching condition is to
|
3615 |
|
|
# speed up the sed processing (if there are no `@' at all, there
|
3616 |
|
|
# is no need to browse any of the substitutions).
|
3617 |
|
|
# These are the two extra sed commands mentioned above.
|
3618 |
|
|
(echo ':t
|
3619 |
|
|
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
|
3620 |
|
|
if test -z "$ac_sed_cmds"; then
|
3621 |
|
|
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
|
3622 |
|
|
else
|
3623 |
|
|
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
|
3624 |
|
|
fi
|
3625 |
|
|
ac_sed_frag=`expr $ac_sed_frag + 1`
|
3626 |
|
|
ac_beg=$ac_end
|
3627 |
|
|
ac_end=`expr $ac_end + $ac_max_sed_lines`
|
3628 |
|
|
fi
|
3629 |
|
|
done
|
3630 |
|
|
if test -z "$ac_sed_cmds"; then
|
3631 |
|
|
ac_sed_cmds=cat
|
3632 |
224 |
markom |
fi
|
3633 |
1249 |
lampret |
fi # test -n "$CONFIG_FILES"
|
3634 |
224 |
markom |
|
3635 |
|
|
EOF
|
3636 |
1249 |
lampret |
cat >>$CONFIG_STATUS <<\EOF
|
3637 |
|
|
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
|
3638 |
224 |
markom |
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
|
3639 |
1249 |
lampret |
case $ac_file in
|
3640 |
|
|
- | *:- | *:-:* ) # input from stdin
|
3641 |
|
|
cat >$tmp/stdin
|
3642 |
|
|
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
|
3643 |
|
|
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
|
3644 |
|
|
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
|
3645 |
|
|
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
|
3646 |
|
|
* ) ac_file_in=$ac_file.in ;;
|
3647 |
224 |
markom |
esac
|
3648 |
|
|
|
3649 |
1249 |
lampret |
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
|
3650 |
|
|
ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
3651 |
|
|
X"$ac_file" : 'X\(//\)[^/]' \| \
|
3652 |
|
|
X"$ac_file" : 'X\(//\)$' \| \
|
3653 |
|
|
X"$ac_file" : 'X\(/\)' \| \
|
3654 |
|
|
. : '\(.\)' 2>/dev/null ||
|
3655 |
|
|
echo X"$ac_file" |
|
3656 |
|
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
3657 |
|
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
3658 |
|
|
/^X\(\/\/\)$/{ s//\1/; q; }
|
3659 |
|
|
/^X\(\/\).*/{ s//\1/; q; }
|
3660 |
|
|
s/.*/./; q'`
|
3661 |
|
|
if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
|
3662 |
|
|
{ case "$ac_dir" in
|
3663 |
|
|
[\\/]* | ?:[\\/]* ) as_incr_dir=;;
|
3664 |
|
|
*) as_incr_dir=.;;
|
3665 |
|
|
esac
|
3666 |
|
|
as_dummy="$ac_dir"
|
3667 |
|
|
for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
|
3668 |
|
|
case $as_mkdir_dir in
|
3669 |
|
|
# Skip DOS drivespec
|
3670 |
|
|
?:) as_incr_dir=$as_mkdir_dir ;;
|
3671 |
|
|
*)
|
3672 |
|
|
as_incr_dir=$as_incr_dir/$as_mkdir_dir
|
3673 |
|
|
test -d "$as_incr_dir" || mkdir "$as_incr_dir"
|
3674 |
|
|
;;
|
3675 |
|
|
esac
|
3676 |
|
|
done; }
|
3677 |
224 |
markom |
|
3678 |
1249 |
lampret |
ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`"
|
3679 |
224 |
markom |
# A "../" for each directory in $ac_dir_suffix.
|
3680 |
1249 |
lampret |
ac_dots=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'`
|
3681 |
224 |
markom |
else
|
3682 |
|
|
ac_dir_suffix= ac_dots=
|
3683 |
|
|
fi
|
3684 |
|
|
|
3685 |
1249 |
lampret |
case $srcdir in
|
3686 |
|
|
.) ac_srcdir=.
|
3687 |
|
|
if test -z "$ac_dots"; then
|
3688 |
|
|
ac_top_srcdir=.
|
3689 |
|
|
else
|
3690 |
|
|
ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'`
|
3691 |
|
|
fi ;;
|
3692 |
|
|
[\\/]* | ?:[\\/]* )
|
3693 |
|
|
ac_srcdir=$srcdir$ac_dir_suffix;
|
3694 |
|
|
ac_top_srcdir=$srcdir ;;
|
3695 |
224 |
markom |
*) # Relative path.
|
3696 |
1249 |
lampret |
ac_srcdir=$ac_dots$srcdir$ac_dir_suffix
|
3697 |
|
|
ac_top_srcdir=$ac_dots$srcdir ;;
|
3698 |
224 |
markom |
esac
|
3699 |
|
|
|
3700 |
1249 |
lampret |
case $INSTALL in
|
3701 |
|
|
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
|
3702 |
|
|
*) ac_INSTALL=$ac_dots$INSTALL ;;
|
3703 |
224 |
markom |
esac
|
3704 |
|
|
|
3705 |
1249 |
lampret |
if test x"$ac_file" != x-; then
|
3706 |
|
|
{ echo "$as_me:3706: creating $ac_file" >&5
|
3707 |
|
|
echo "$as_me: creating $ac_file" >&6;}
|
3708 |
|
|
rm -f "$ac_file"
|
3709 |
|
|
fi
|
3710 |
|
|
# Let's still pretend it is `configure' which instantiates (i.e., don't
|
3711 |
|
|
# use $as_me), people would be surprised to read:
|
3712 |
|
|
# /* config.h. Generated automatically by config.status. */
|
3713 |
|
|
configure_input="Generated automatically from `echo $ac_file_in |
|
3714 |
|
|
sed 's,.*/,,'` by configure."
|
3715 |
224 |
markom |
|
3716 |
1249 |
lampret |
# First look for the input files in the build tree, otherwise in the
|
3717 |
|
|
# src tree.
|
3718 |
|
|
ac_file_inputs=`IFS=:
|
3719 |
|
|
for f in $ac_file_in; do
|
3720 |
|
|
case $f in
|
3721 |
|
|
-) echo $tmp/stdin ;;
|
3722 |
|
|
[\\/$]*)
|
3723 |
|
|
# Absolute (can't be DOS-style, as IFS=:)
|
3724 |
|
|
test -f "$f" || { { echo "$as_me:3724: error: cannot find input file: $f" >&5
|
3725 |
|
|
echo "$as_me: error: cannot find input file: $f" >&2;}
|
3726 |
|
|
{ (exit 1); exit 1; }; }
|
3727 |
|
|
echo $f;;
|
3728 |
|
|
*) # Relative
|
3729 |
|
|
if test -f "$f"; then
|
3730 |
|
|
# Build tree
|
3731 |
|
|
echo $f
|
3732 |
|
|
elif test -f "$srcdir/$f"; then
|
3733 |
|
|
# Source tree
|
3734 |
|
|
echo $srcdir/$f
|
3735 |
|
|
else
|
3736 |
|
|
# /dev/null tree
|
3737 |
|
|
{ { echo "$as_me:3737: error: cannot find input file: $f" >&5
|
3738 |
|
|
echo "$as_me: error: cannot find input file: $f" >&2;}
|
3739 |
|
|
{ (exit 1); exit 1; }; }
|
3740 |
|
|
fi;;
|
3741 |
|
|
esac
|
3742 |
|
|
done` || { (exit 1); exit 1; }
|
3743 |
224 |
markom |
EOF
|
3744 |
1249 |
lampret |
cat >>$CONFIG_STATUS <
|
3745 |
|
|
sed "$ac_vpsub
|
3746 |
|
|
$extrasub
|
3747 |
|
|
EOF
|
3748 |
|
|
cat >>$CONFIG_STATUS <<\EOF
|
3749 |
|
|
:t
|
3750 |
|
|
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
|
3751 |
|
|
s,@configure_input@,$configure_input,;t t
|
3752 |
|
|
s,@srcdir@,$ac_srcdir,;t t
|
3753 |
|
|
s,@top_srcdir@,$ac_top_srcdir,;t t
|
3754 |
|
|
s,@INSTALL@,$ac_INSTALL,;t t
|
3755 |
|
|
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
|
3756 |
|
|
rm -f $tmp/stdin
|
3757 |
|
|
if test x"$ac_file" != x-; then
|
3758 |
|
|
mv $tmp/out $ac_file
|
3759 |
|
|
else
|
3760 |
|
|
cat $tmp/out
|
3761 |
|
|
rm -f $tmp/out
|
3762 |
|
|
fi
|
3763 |
224 |
markom |
|
3764 |
1249 |
lampret |
done
|
3765 |
224 |
markom |
EOF
|
3766 |
|
|
|
3767 |
1249 |
lampret |
cat >>$CONFIG_STATUS <<\EOF
|
3768 |
|
|
|
3769 |
|
|
{ (exit 0); exit 0; }
|
3770 |
224 |
markom |
EOF
|
3771 |
|
|
chmod +x $CONFIG_STATUS
|
3772 |
1249 |
lampret |
ac_clean_files=$ac_clean_files_save
|
3773 |
224 |
markom |
|
3774 |
1249 |
lampret |
# configure is writing to config.log, and then calls config.status.
|
3775 |
|
|
# config.status does its own redirection, appending to config.log.
|
3776 |
|
|
# Unfortunately, on DOS this fails, as config.log is still kept open
|
3777 |
|
|
# by configure, so config.status won't be able to write to it; its
|
3778 |
|
|
# output is simply discarded. So we exec the FD to /dev/null,
|
3779 |
|
|
# effectively closing config.log, so it can be properly (re)opened and
|
3780 |
|
|
# appended to by config.status. When coming back to configure, we
|
3781 |
|
|
# need to make the FD available again.
|
3782 |
|
|
if test "$no_create" != yes; then
|
3783 |
|
|
ac_cs_success=:
|
3784 |
|
|
exec 5>/dev/null
|
3785 |
|
|
$SHELL $CONFIG_STATUS || ac_cs_success=false
|
3786 |
|
|
exec 5>>config.log
|
3787 |
|
|
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
|
3788 |
|
|
# would make configure fail if this is the last instruction.
|
3789 |
|
|
$ac_cs_success || { (exit 1); exit 1; }
|
3790 |
|
|
fi
|
3791 |
|
|
|