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