1 |
148 |
jeremybenn |
#! /bin/sh
|
2 |
|
|
# Guess values for system-dependent variables and create Makefiles.
|
3 |
180 |
jeremybenn |
# Generated by GNU Autoconf 2.59 for libor32.a 0.2.0.
|
4 |
148 |
jeremybenn |
#
|
5 |
180 |
jeremybenn |
# Copyright (C) 2003 Free Software Foundation, Inc.
|
6 |
148 |
jeremybenn |
# This configure script is free software; the Free Software Foundation
|
7 |
|
|
# gives unlimited permission to copy, distribute and modify it.
|
8 |
|
|
## --------------------- ##
|
9 |
|
|
## M4sh Initialization. ##
|
10 |
|
|
## --------------------- ##
|
11 |
|
|
|
12 |
180 |
jeremybenn |
# Be Bourne compatible
|
13 |
148 |
jeremybenn |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
14 |
|
|
emulate sh
|
15 |
|
|
NULLCMD=:
|
16 |
|
|
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
|
17 |
|
|
# is contrary to our usage. Disable this feature.
|
18 |
|
|
alias -g '${1+"$@"}'='"$@"'
|
19 |
180 |
jeremybenn |
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
|
20 |
|
|
set -o posix
|
21 |
148 |
jeremybenn |
fi
|
22 |
180 |
jeremybenn |
DUALCASE=1; export DUALCASE # for MKS sh
|
23 |
148 |
jeremybenn |
|
24 |
|
|
# Support unset when possible.
|
25 |
|
|
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
|
26 |
|
|
as_unset=unset
|
27 |
|
|
else
|
28 |
|
|
as_unset=false
|
29 |
|
|
fi
|
30 |
|
|
|
31 |
|
|
|
32 |
|
|
# Work around bugs in pre-3.0 UWIN ksh.
|
33 |
180 |
jeremybenn |
$as_unset ENV MAIL MAILPATH
|
34 |
148 |
jeremybenn |
PS1='$ '
|
35 |
|
|
PS2='> '
|
36 |
|
|
PS4='+ '
|
37 |
|
|
|
38 |
|
|
# NLS nuisances.
|
39 |
|
|
for as_var in \
|
40 |
|
|
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
|
41 |
|
|
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
|
42 |
|
|
LC_TELEPHONE LC_TIME
|
43 |
|
|
do
|
44 |
|
|
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
|
45 |
|
|
eval $as_var=C; export $as_var
|
46 |
|
|
else
|
47 |
180 |
jeremybenn |
$as_unset $as_var
|
48 |
148 |
jeremybenn |
fi
|
49 |
|
|
done
|
50 |
|
|
|
51 |
|
|
# Required to use basename.
|
52 |
180 |
jeremybenn |
if expr a : '\(a\)' >/dev/null 2>&1; then
|
53 |
148 |
jeremybenn |
as_expr=expr
|
54 |
|
|
else
|
55 |
|
|
as_expr=false
|
56 |
|
|
fi
|
57 |
|
|
|
58 |
180 |
jeremybenn |
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
|
59 |
148 |
jeremybenn |
as_basename=basename
|
60 |
|
|
else
|
61 |
|
|
as_basename=false
|
62 |
|
|
fi
|
63 |
|
|
|
64 |
|
|
|
65 |
|
|
# Name of the executable.
|
66 |
180 |
jeremybenn |
as_me=`$as_basename "$0" ||
|
67 |
148 |
jeremybenn |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
68 |
|
|
X"$0" : 'X\(//\)$' \| \
|
69 |
180 |
jeremybenn |
X"$0" : 'X\(/\)$' \| \
|
70 |
|
|
. : '\(.\)' 2>/dev/null ||
|
71 |
148 |
jeremybenn |
echo X/"$0" |
|
72 |
180 |
jeremybenn |
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
|
73 |
|
|
/^X\/\(\/\/\)$/{ s//\1/; q; }
|
74 |
|
|
/^X\/\(\/\).*/{ s//\1/; q; }
|
75 |
|
|
s/.*/./; q'`
|
76 |
148 |
jeremybenn |
|
77 |
|
|
|
78 |
180 |
jeremybenn |
# PATH needs CR, and LINENO needs CR and PATH.
|
79 |
|
|
# Avoid depending upon Character Ranges.
|
80 |
|
|
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
81 |
|
|
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
82 |
|
|
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
|
83 |
|
|
as_cr_digits='0123456789'
|
84 |
|
|
as_cr_alnum=$as_cr_Letters$as_cr_digits
|
85 |
148 |
jeremybenn |
|
86 |
180 |
jeremybenn |
# The user is always right.
|
87 |
|
|
if test "${PATH_SEPARATOR+set}" != set; then
|
88 |
|
|
echo "#! /bin/sh" >conf$$.sh
|
89 |
|
|
echo "exit 0" >>conf$$.sh
|
90 |
|
|
chmod +x conf$$.sh
|
91 |
|
|
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
|
92 |
|
|
PATH_SEPARATOR=';'
|
93 |
|
|
else
|
94 |
|
|
PATH_SEPARATOR=:
|
95 |
|
|
fi
|
96 |
|
|
rm -f conf$$.sh
|
97 |
148 |
jeremybenn |
fi
|
98 |
|
|
|
99 |
|
|
|
100 |
180 |
jeremybenn |
as_lineno_1=$LINENO
|
101 |
|
|
as_lineno_2=$LINENO
|
102 |
|
|
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
|
103 |
|
|
test "x$as_lineno_1" != "x$as_lineno_2" &&
|
104 |
|
|
test "x$as_lineno_3" = "x$as_lineno_2" || {
|
105 |
|
|
# Find who we are. Look in the path if we contain no path at all
|
106 |
|
|
# relative or not.
|
107 |
|
|
case $0 in
|
108 |
|
|
*[\\/]* ) as_myself=$0 ;;
|
109 |
|
|
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
110 |
|
|
for as_dir in $PATH
|
111 |
|
|
do
|
112 |
|
|
IFS=$as_save_IFS
|
113 |
|
|
test -z "$as_dir" && as_dir=.
|
114 |
|
|
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
115 |
|
|
done
|
116 |
148 |
jeremybenn |
|
117 |
180 |
jeremybenn |
;;
|
118 |
|
|
esac
|
119 |
|
|
# We did not find ourselves, most probably we were run as `sh COMMAND'
|
120 |
|
|
# in which case we are not to be found in the path.
|
121 |
|
|
if test "x$as_myself" = x; then
|
122 |
|
|
as_myself=$0
|
123 |
|
|
fi
|
124 |
|
|
if test ! -f "$as_myself"; then
|
125 |
|
|
{ echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
|
126 |
|
|
{ (exit 1); exit 1; }; }
|
127 |
|
|
fi
|
128 |
|
|
case $CONFIG_SHELL in
|
129 |
|
|
'')
|
130 |
148 |
jeremybenn |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
131 |
|
|
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
|
132 |
|
|
do
|
133 |
|
|
IFS=$as_save_IFS
|
134 |
|
|
test -z "$as_dir" && as_dir=.
|
135 |
180 |
jeremybenn |
for as_base in sh bash ksh sh5; do
|
136 |
|
|
case $as_dir in
|
137 |
148 |
jeremybenn |
/*)
|
138 |
180 |
jeremybenn |
if ("$as_dir/$as_base" -c '
|
139 |
148 |
jeremybenn |
as_lineno_1=$LINENO
|
140 |
|
|
as_lineno_2=$LINENO
|
141 |
180 |
jeremybenn |
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
|
142 |
148 |
jeremybenn |
test "x$as_lineno_1" != "x$as_lineno_2" &&
|
143 |
180 |
jeremybenn |
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
|
144 |
|
|
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
|
145 |
|
|
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
|
146 |
|
|
CONFIG_SHELL=$as_dir/$as_base
|
147 |
|
|
export CONFIG_SHELL
|
148 |
|
|
exec "$CONFIG_SHELL" "$0" ${1+"$@"}
|
149 |
|
|
fi;;
|
150 |
|
|
esac
|
151 |
|
|
done
|
152 |
|
|
done
|
153 |
|
|
;;
|
154 |
|
|
esac
|
155 |
148 |
jeremybenn |
|
156 |
|
|
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
|
157 |
|
|
# uniformly replaced by the line number. The first 'sed' inserts a
|
158 |
180 |
jeremybenn |
# line-number line before each line; the second 'sed' does the real
|
159 |
|
|
# work. The second script uses 'N' to pair each line-number line
|
160 |
|
|
# with the numbered line, and appends trailing '-' during
|
161 |
|
|
# substitution so that $LINENO is not a special case at line end.
|
162 |
148 |
jeremybenn |
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
|
163 |
180 |
jeremybenn |
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
|
164 |
|
|
sed '=' <$as_myself |
|
165 |
148 |
jeremybenn |
sed '
|
166 |
|
|
N
|
167 |
180 |
jeremybenn |
s,$,-,
|
168 |
|
|
: loop
|
169 |
|
|
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
|
170 |
148 |
jeremybenn |
t loop
|
171 |
180 |
jeremybenn |
s,-$,,
|
172 |
|
|
s,^['$as_cr_digits']*\n,,
|
173 |
148 |
jeremybenn |
' >$as_me.lineno &&
|
174 |
180 |
jeremybenn |
chmod +x $as_me.lineno ||
|
175 |
148 |
jeremybenn |
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
|
176 |
|
|
{ (exit 1); exit 1; }; }
|
177 |
|
|
|
178 |
|
|
# Don't try to exec as it changes $[0], causing all sort of problems
|
179 |
|
|
# (the dirname of $[0] is not the place where we might find the
|
180 |
180 |
jeremybenn |
# original and so on. Autoconf is especially sensible to this).
|
181 |
|
|
. ./$as_me.lineno
|
182 |
148 |
jeremybenn |
# Exit status is that of the last command.
|
183 |
|
|
exit
|
184 |
|
|
}
|
185 |
|
|
|
186 |
|
|
|
187 |
180 |
jeremybenn |
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
|
188 |
|
|
*c*,-n*) ECHO_N= ECHO_C='
|
189 |
|
|
' ECHO_T=' ' ;;
|
190 |
|
|
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
|
191 |
|
|
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
|
192 |
148 |
jeremybenn |
esac
|
193 |
|
|
|
194 |
180 |
jeremybenn |
if expr a : '\(a\)' >/dev/null 2>&1; then
|
195 |
148 |
jeremybenn |
as_expr=expr
|
196 |
|
|
else
|
197 |
|
|
as_expr=false
|
198 |
|
|
fi
|
199 |
|
|
|
200 |
|
|
rm -f conf$$ conf$$.exe conf$$.file
|
201 |
|
|
echo >conf$$.file
|
202 |
|
|
if ln -s conf$$.file conf$$ 2>/dev/null; then
|
203 |
180 |
jeremybenn |
# We could just check for DJGPP; but this test a) works b) is more generic
|
204 |
|
|
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
|
205 |
|
|
if test -f conf$$.exe; then
|
206 |
|
|
# Don't use ln at all; we don't have any links
|
207 |
148 |
jeremybenn |
as_ln_s='cp -p'
|
208 |
180 |
jeremybenn |
else
|
209 |
|
|
as_ln_s='ln -s'
|
210 |
|
|
fi
|
211 |
148 |
jeremybenn |
elif ln conf$$.file conf$$ 2>/dev/null; then
|
212 |
|
|
as_ln_s=ln
|
213 |
|
|
else
|
214 |
|
|
as_ln_s='cp -p'
|
215 |
|
|
fi
|
216 |
180 |
jeremybenn |
rm -f conf$$ conf$$.exe conf$$.file
|
217 |
148 |
jeremybenn |
|
218 |
|
|
if mkdir -p . 2>/dev/null; then
|
219 |
|
|
as_mkdir_p=:
|
220 |
|
|
else
|
221 |
|
|
test -d ./-p && rmdir ./-p
|
222 |
|
|
as_mkdir_p=false
|
223 |
|
|
fi
|
224 |
|
|
|
225 |
180 |
jeremybenn |
as_executable_p="test -f"
|
226 |
148 |
jeremybenn |
|
227 |
|
|
# Sed expression to map a string onto a valid CPP name.
|
228 |
|
|
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
|
229 |
|
|
|
230 |
|
|
# Sed expression to map a string onto a valid variable name.
|
231 |
|
|
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
|
232 |
|
|
|
233 |
|
|
|
234 |
180 |
jeremybenn |
# IFS
|
235 |
|
|
# We need space, tab and new line, in precisely that order.
|
236 |
|
|
as_nl='
|
237 |
|
|
'
|
238 |
|
|
IFS=" $as_nl"
|
239 |
148 |
jeremybenn |
|
240 |
180 |
jeremybenn |
# CDPATH.
|
241 |
|
|
$as_unset CDPATH
|
242 |
148 |
jeremybenn |
|
243 |
180 |
jeremybenn |
|
244 |
148 |
jeremybenn |
# Name of the host.
|
245 |
|
|
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
|
246 |
|
|
# so uname gets run too.
|
247 |
|
|
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
|
248 |
|
|
|
249 |
180 |
jeremybenn |
exec 6>&1
|
250 |
|
|
|
251 |
148 |
jeremybenn |
#
|
252 |
|
|
# Initializations.
|
253 |
|
|
#
|
254 |
|
|
ac_default_prefix=/usr/local
|
255 |
|
|
ac_config_libobj_dir=.
|
256 |
|
|
cross_compiling=no
|
257 |
|
|
subdirs=
|
258 |
|
|
MFLAGS=
|
259 |
|
|
MAKEFLAGS=
|
260 |
|
|
SHELL=${CONFIG_SHELL-/bin/sh}
|
261 |
|
|
|
262 |
180 |
jeremybenn |
# Maximum number of lines to put in a shell here document.
|
263 |
|
|
# This variable seems obsolete. It should probably be removed, and
|
264 |
|
|
# only ac_max_sed_lines should be used.
|
265 |
|
|
: ${ac_max_here_lines=38}
|
266 |
|
|
|
267 |
148 |
jeremybenn |
# Identity of this package.
|
268 |
180 |
jeremybenn |
PACKAGE_NAME='libor32.a'
|
269 |
|
|
PACKAGE_TARNAME='libor32-a'
|
270 |
|
|
PACKAGE_VERSION='0.2.0'
|
271 |
|
|
PACKAGE_STRING='libor32.a 0.2.0'
|
272 |
|
|
PACKAGE_BUGREPORT=''
|
273 |
148 |
jeremybenn |
|
274 |
180 |
jeremybenn |
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CC am__leading_dot DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE AS AR LD RANLIB ac_ct_RANLIB CCAS CCASFLAGS host_makefile_frag_path LIBOBJS LTLIBOBJS'
|
275 |
148 |
jeremybenn |
ac_subst_files='host_makefile_frag'
|
276 |
|
|
|
277 |
|
|
# Initialize some variables set by options.
|
278 |
|
|
ac_init_help=
|
279 |
|
|
ac_init_version=false
|
280 |
|
|
# The variables have the same names as the options, with
|
281 |
|
|
# dashes changed to underlines.
|
282 |
|
|
cache_file=/dev/null
|
283 |
|
|
exec_prefix=NONE
|
284 |
|
|
no_create=
|
285 |
|
|
no_recursion=
|
286 |
|
|
prefix=NONE
|
287 |
|
|
program_prefix=NONE
|
288 |
|
|
program_suffix=NONE
|
289 |
|
|
program_transform_name=s,x,x,
|
290 |
|
|
silent=
|
291 |
|
|
site=
|
292 |
|
|
srcdir=
|
293 |
|
|
verbose=
|
294 |
|
|
x_includes=NONE
|
295 |
|
|
x_libraries=NONE
|
296 |
|
|
|
297 |
|
|
# Installation directory options.
|
298 |
|
|
# These are left unexpanded so users can "make install exec_prefix=/foo"
|
299 |
|
|
# and all the variables that are supposed to be based on exec_prefix
|
300 |
|
|
# by default will actually change.
|
301 |
|
|
# Use braces instead of parens because sh, perl, etc. also accept them.
|
302 |
|
|
bindir='${exec_prefix}/bin'
|
303 |
|
|
sbindir='${exec_prefix}/sbin'
|
304 |
|
|
libexecdir='${exec_prefix}/libexec'
|
305 |
180 |
jeremybenn |
datadir='${prefix}/share'
|
306 |
148 |
jeremybenn |
sysconfdir='${prefix}/etc'
|
307 |
|
|
sharedstatedir='${prefix}/com'
|
308 |
|
|
localstatedir='${prefix}/var'
|
309 |
180 |
jeremybenn |
libdir='${exec_prefix}/lib'
|
310 |
148 |
jeremybenn |
includedir='${prefix}/include'
|
311 |
|
|
oldincludedir='/usr/include'
|
312 |
180 |
jeremybenn |
infodir='${prefix}/info'
|
313 |
|
|
mandir='${prefix}/man'
|
314 |
148 |
jeremybenn |
|
315 |
|
|
ac_prev=
|
316 |
|
|
for ac_option
|
317 |
|
|
do
|
318 |
|
|
# If the previous option needs an argument, assign it.
|
319 |
|
|
if test -n "$ac_prev"; then
|
320 |
180 |
jeremybenn |
eval "$ac_prev=\$ac_option"
|
321 |
148 |
jeremybenn |
ac_prev=
|
322 |
|
|
continue
|
323 |
|
|
fi
|
324 |
|
|
|
325 |
180 |
jeremybenn |
ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
|
326 |
148 |
jeremybenn |
|
327 |
|
|
# Accept the important Cygnus configure options, so we can diagnose typos.
|
328 |
|
|
|
329 |
180 |
jeremybenn |
case $ac_option in
|
330 |
148 |
jeremybenn |
|
331 |
|
|
-bindir | --bindir | --bindi | --bind | --bin | --bi)
|
332 |
|
|
ac_prev=bindir ;;
|
333 |
|
|
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
|
334 |
|
|
bindir=$ac_optarg ;;
|
335 |
|
|
|
336 |
|
|
-build | --build | --buil | --bui | --bu)
|
337 |
|
|
ac_prev=build_alias ;;
|
338 |
|
|
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
|
339 |
|
|
build_alias=$ac_optarg ;;
|
340 |
|
|
|
341 |
|
|
-cache-file | --cache-file | --cache-fil | --cache-fi \
|
342 |
|
|
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
|
343 |
|
|
ac_prev=cache_file ;;
|
344 |
|
|
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
|
345 |
|
|
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
|
346 |
|
|
cache_file=$ac_optarg ;;
|
347 |
|
|
|
348 |
|
|
--config-cache | -C)
|
349 |
|
|
cache_file=config.cache ;;
|
350 |
|
|
|
351 |
180 |
jeremybenn |
-datadir | --datadir | --datadi | --datad | --data | --dat | --da)
|
352 |
148 |
jeremybenn |
ac_prev=datadir ;;
|
353 |
180 |
jeremybenn |
-datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
|
354 |
|
|
| --da=*)
|
355 |
148 |
jeremybenn |
datadir=$ac_optarg ;;
|
356 |
|
|
|
357 |
|
|
-disable-* | --disable-*)
|
358 |
|
|
ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
|
359 |
|
|
# Reject names that are not valid shell variable names.
|
360 |
180 |
jeremybenn |
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
|
361 |
148 |
jeremybenn |
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
|
362 |
|
|
{ (exit 1); exit 1; }; }
|
363 |
180 |
jeremybenn |
ac_feature=`echo $ac_feature | sed 's/-/_/g'`
|
364 |
|
|
eval "enable_$ac_feature=no" ;;
|
365 |
148 |
jeremybenn |
|
366 |
|
|
-enable-* | --enable-*)
|
367 |
|
|
ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
|
368 |
|
|
# Reject names that are not valid shell variable names.
|
369 |
180 |
jeremybenn |
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
|
370 |
148 |
jeremybenn |
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
|
371 |
|
|
{ (exit 1); exit 1; }; }
|
372 |
180 |
jeremybenn |
ac_feature=`echo $ac_feature | sed 's/-/_/g'`
|
373 |
|
|
case $ac_option in
|
374 |
|
|
*=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
|
375 |
|
|
*) ac_optarg=yes ;;
|
376 |
|
|
esac
|
377 |
|
|
eval "enable_$ac_feature='$ac_optarg'" ;;
|
378 |
148 |
jeremybenn |
|
379 |
|
|
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
|
380 |
|
|
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
|
381 |
|
|
| --exec | --exe | --ex)
|
382 |
|
|
ac_prev=exec_prefix ;;
|
383 |
|
|
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
|
384 |
|
|
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
|
385 |
|
|
| --exec=* | --exe=* | --ex=*)
|
386 |
|
|
exec_prefix=$ac_optarg ;;
|
387 |
|
|
|
388 |
|
|
-gas | --gas | --ga | --g)
|
389 |
|
|
# Obsolete; use --with-gas.
|
390 |
|
|
with_gas=yes ;;
|
391 |
|
|
|
392 |
|
|
-help | --help | --hel | --he | -h)
|
393 |
|
|
ac_init_help=long ;;
|
394 |
|
|
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
|
395 |
|
|
ac_init_help=recursive ;;
|
396 |
|
|
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
|
397 |
|
|
ac_init_help=short ;;
|
398 |
|
|
|
399 |
|
|
-host | --host | --hos | --ho)
|
400 |
|
|
ac_prev=host_alias ;;
|
401 |
|
|
-host=* | --host=* | --hos=* | --ho=*)
|
402 |
|
|
host_alias=$ac_optarg ;;
|
403 |
|
|
|
404 |
|
|
-includedir | --includedir | --includedi | --included | --include \
|
405 |
|
|
| --includ | --inclu | --incl | --inc)
|
406 |
|
|
ac_prev=includedir ;;
|
407 |
|
|
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
|
408 |
|
|
| --includ=* | --inclu=* | --incl=* | --inc=*)
|
409 |
|
|
includedir=$ac_optarg ;;
|
410 |
|
|
|
411 |
|
|
-infodir | --infodir | --infodi | --infod | --info | --inf)
|
412 |
|
|
ac_prev=infodir ;;
|
413 |
|
|
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
|
414 |
|
|
infodir=$ac_optarg ;;
|
415 |
|
|
|
416 |
|
|
-libdir | --libdir | --libdi | --libd)
|
417 |
|
|
ac_prev=libdir ;;
|
418 |
|
|
-libdir=* | --libdir=* | --libdi=* | --libd=*)
|
419 |
|
|
libdir=$ac_optarg ;;
|
420 |
|
|
|
421 |
|
|
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
|
422 |
|
|
| --libexe | --libex | --libe)
|
423 |
|
|
ac_prev=libexecdir ;;
|
424 |
|
|
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
|
425 |
|
|
| --libexe=* | --libex=* | --libe=*)
|
426 |
|
|
libexecdir=$ac_optarg ;;
|
427 |
|
|
|
428 |
|
|
-localstatedir | --localstatedir | --localstatedi | --localstated \
|
429 |
180 |
jeremybenn |
| --localstate | --localstat | --localsta | --localst \
|
430 |
|
|
| --locals | --local | --loca | --loc | --lo)
|
431 |
148 |
jeremybenn |
ac_prev=localstatedir ;;
|
432 |
|
|
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
|
433 |
180 |
jeremybenn |
| --localstate=* | --localstat=* | --localsta=* | --localst=* \
|
434 |
|
|
| --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
|
435 |
148 |
jeremybenn |
localstatedir=$ac_optarg ;;
|
436 |
|
|
|
437 |
|
|
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
|
438 |
|
|
ac_prev=mandir ;;
|
439 |
|
|
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
|
440 |
|
|
mandir=$ac_optarg ;;
|
441 |
|
|
|
442 |
|
|
-nfp | --nfp | --nf)
|
443 |
|
|
# Obsolete; use --without-fp.
|
444 |
|
|
with_fp=no ;;
|
445 |
|
|
|
446 |
|
|
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
|
447 |
|
|
| --no-cr | --no-c | -n)
|
448 |
|
|
no_create=yes ;;
|
449 |
|
|
|
450 |
|
|
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
|
451 |
|
|
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
|
452 |
|
|
no_recursion=yes ;;
|
453 |
|
|
|
454 |
|
|
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
|
455 |
|
|
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
|
456 |
|
|
| --oldin | --oldi | --old | --ol | --o)
|
457 |
|
|
ac_prev=oldincludedir ;;
|
458 |
|
|
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
|
459 |
|
|
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
|
460 |
|
|
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
|
461 |
|
|
oldincludedir=$ac_optarg ;;
|
462 |
|
|
|
463 |
|
|
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
|
464 |
|
|
ac_prev=prefix ;;
|
465 |
|
|
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
|
466 |
|
|
prefix=$ac_optarg ;;
|
467 |
|
|
|
468 |
|
|
-program-prefix | --program-prefix | --program-prefi | --program-pref \
|
469 |
|
|
| --program-pre | --program-pr | --program-p)
|
470 |
|
|
ac_prev=program_prefix ;;
|
471 |
|
|
-program-prefix=* | --program-prefix=* | --program-prefi=* \
|
472 |
|
|
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
|
473 |
|
|
program_prefix=$ac_optarg ;;
|
474 |
|
|
|
475 |
|
|
-program-suffix | --program-suffix | --program-suffi | --program-suff \
|
476 |
|
|
| --program-suf | --program-su | --program-s)
|
477 |
|
|
ac_prev=program_suffix ;;
|
478 |
|
|
-program-suffix=* | --program-suffix=* | --program-suffi=* \
|
479 |
|
|
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
|
480 |
|
|
program_suffix=$ac_optarg ;;
|
481 |
|
|
|
482 |
|
|
-program-transform-name | --program-transform-name \
|
483 |
|
|
| --program-transform-nam | --program-transform-na \
|
484 |
|
|
| --program-transform-n | --program-transform- \
|
485 |
|
|
| --program-transform | --program-transfor \
|
486 |
|
|
| --program-transfo | --program-transf \
|
487 |
|
|
| --program-trans | --program-tran \
|
488 |
|
|
| --progr-tra | --program-tr | --program-t)
|
489 |
|
|
ac_prev=program_transform_name ;;
|
490 |
|
|
-program-transform-name=* | --program-transform-name=* \
|
491 |
|
|
| --program-transform-nam=* | --program-transform-na=* \
|
492 |
|
|
| --program-transform-n=* | --program-transform-=* \
|
493 |
|
|
| --program-transform=* | --program-transfor=* \
|
494 |
|
|
| --program-transfo=* | --program-transf=* \
|
495 |
|
|
| --program-trans=* | --program-tran=* \
|
496 |
|
|
| --progr-tra=* | --program-tr=* | --program-t=*)
|
497 |
|
|
program_transform_name=$ac_optarg ;;
|
498 |
|
|
|
499 |
|
|
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
500 |
|
|
| -silent | --silent | --silen | --sile | --sil)
|
501 |
|
|
silent=yes ;;
|
502 |
|
|
|
503 |
|
|
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
|
504 |
|
|
ac_prev=sbindir ;;
|
505 |
|
|
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
|
506 |
|
|
| --sbi=* | --sb=*)
|
507 |
|
|
sbindir=$ac_optarg ;;
|
508 |
|
|
|
509 |
|
|
-sharedstatedir | --sharedstatedir | --sharedstatedi \
|
510 |
|
|
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
|
511 |
|
|
| --sharedst | --shareds | --shared | --share | --shar \
|
512 |
|
|
| --sha | --sh)
|
513 |
|
|
ac_prev=sharedstatedir ;;
|
514 |
|
|
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
|
515 |
|
|
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
|
516 |
|
|
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
|
517 |
|
|
| --sha=* | --sh=*)
|
518 |
|
|
sharedstatedir=$ac_optarg ;;
|
519 |
|
|
|
520 |
|
|
-site | --site | --sit)
|
521 |
|
|
ac_prev=site ;;
|
522 |
|
|
-site=* | --site=* | --sit=*)
|
523 |
|
|
site=$ac_optarg ;;
|
524 |
|
|
|
525 |
|
|
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
|
526 |
|
|
ac_prev=srcdir ;;
|
527 |
|
|
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
|
528 |
|
|
srcdir=$ac_optarg ;;
|
529 |
|
|
|
530 |
|
|
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
|
531 |
|
|
| --syscon | --sysco | --sysc | --sys | --sy)
|
532 |
|
|
ac_prev=sysconfdir ;;
|
533 |
|
|
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
|
534 |
|
|
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
|
535 |
|
|
sysconfdir=$ac_optarg ;;
|
536 |
|
|
|
537 |
|
|
-target | --target | --targe | --targ | --tar | --ta | --t)
|
538 |
|
|
ac_prev=target_alias ;;
|
539 |
|
|
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
|
540 |
|
|
target_alias=$ac_optarg ;;
|
541 |
|
|
|
542 |
|
|
-v | -verbose | --verbose | --verbos | --verbo | --verb)
|
543 |
|
|
verbose=yes ;;
|
544 |
|
|
|
545 |
|
|
-version | --version | --versio | --versi | --vers | -V)
|
546 |
|
|
ac_init_version=: ;;
|
547 |
|
|
|
548 |
|
|
-with-* | --with-*)
|
549 |
|
|
ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
|
550 |
|
|
# Reject names that are not valid shell variable names.
|
551 |
180 |
jeremybenn |
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
|
552 |
148 |
jeremybenn |
{ echo "$as_me: error: invalid package name: $ac_package" >&2
|
553 |
|
|
{ (exit 1); exit 1; }; }
|
554 |
180 |
jeremybenn |
ac_package=`echo $ac_package| sed 's/-/_/g'`
|
555 |
|
|
case $ac_option in
|
556 |
|
|
*=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
|
557 |
|
|
*) ac_optarg=yes ;;
|
558 |
|
|
esac
|
559 |
|
|
eval "with_$ac_package='$ac_optarg'" ;;
|
560 |
148 |
jeremybenn |
|
561 |
|
|
-without-* | --without-*)
|
562 |
|
|
ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
|
563 |
|
|
# Reject names that are not valid shell variable names.
|
564 |
180 |
jeremybenn |
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
|
565 |
148 |
jeremybenn |
{ echo "$as_me: error: invalid package name: $ac_package" >&2
|
566 |
|
|
{ (exit 1); exit 1; }; }
|
567 |
180 |
jeremybenn |
ac_package=`echo $ac_package | sed 's/-/_/g'`
|
568 |
|
|
eval "with_$ac_package=no" ;;
|
569 |
148 |
jeremybenn |
|
570 |
|
|
--x)
|
571 |
|
|
# Obsolete; use --with-x.
|
572 |
|
|
with_x=yes ;;
|
573 |
|
|
|
574 |
|
|
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
|
575 |
|
|
| --x-incl | --x-inc | --x-in | --x-i)
|
576 |
|
|
ac_prev=x_includes ;;
|
577 |
|
|
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
|
578 |
|
|
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
|
579 |
|
|
x_includes=$ac_optarg ;;
|
580 |
|
|
|
581 |
|
|
-x-libraries | --x-libraries | --x-librarie | --x-librari \
|
582 |
|
|
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
|
583 |
|
|
ac_prev=x_libraries ;;
|
584 |
|
|
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
|
585 |
|
|
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
|
586 |
|
|
x_libraries=$ac_optarg ;;
|
587 |
|
|
|
588 |
|
|
-*) { echo "$as_me: error: unrecognized option: $ac_option
|
589 |
|
|
Try \`$0 --help' for more information." >&2
|
590 |
|
|
{ (exit 1); exit 1; }; }
|
591 |
|
|
;;
|
592 |
|
|
|
593 |
|
|
*=*)
|
594 |
|
|
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
|
595 |
|
|
# Reject names that are not valid shell variable names.
|
596 |
|
|
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
|
597 |
|
|
{ echo "$as_me: error: invalid variable name: $ac_envvar" >&2
|
598 |
|
|
{ (exit 1); exit 1; }; }
|
599 |
180 |
jeremybenn |
ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
|
600 |
|
|
eval "$ac_envvar='$ac_optarg'"
|
601 |
148 |
jeremybenn |
export $ac_envvar ;;
|
602 |
|
|
|
603 |
|
|
*)
|
604 |
|
|
# FIXME: should be removed in autoconf 3.0.
|
605 |
|
|
echo "$as_me: WARNING: you should use --build, --host, --target" >&2
|
606 |
|
|
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
|
607 |
|
|
echo "$as_me: WARNING: invalid host type: $ac_option" >&2
|
608 |
|
|
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
|
609 |
|
|
;;
|
610 |
|
|
|
611 |
|
|
esac
|
612 |
|
|
done
|
613 |
|
|
|
614 |
|
|
if test -n "$ac_prev"; then
|
615 |
|
|
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
|
616 |
|
|
{ echo "$as_me: error: missing argument to $ac_option" >&2
|
617 |
|
|
{ (exit 1); exit 1; }; }
|
618 |
|
|
fi
|
619 |
|
|
|
620 |
180 |
jeremybenn |
# Be sure to have absolute paths.
|
621 |
|
|
for ac_var in exec_prefix prefix
|
622 |
148 |
jeremybenn |
do
|
623 |
180 |
jeremybenn |
eval ac_val=$`echo $ac_var`
|
624 |
148 |
jeremybenn |
case $ac_val in
|
625 |
180 |
jeremybenn |
[\\/$]* | ?:[\\/]* | NONE | '' ) ;;
|
626 |
|
|
*) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
|
627 |
|
|
{ (exit 1); exit 1; }; };;
|
628 |
148 |
jeremybenn |
esac
|
629 |
|
|
done
|
630 |
|
|
|
631 |
180 |
jeremybenn |
# Be sure to have absolute paths.
|
632 |
|
|
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
|
633 |
|
|
localstatedir libdir includedir oldincludedir infodir mandir
|
634 |
|
|
do
|
635 |
|
|
eval ac_val=$`echo $ac_var`
|
636 |
|
|
case $ac_val in
|
637 |
|
|
[\\/$]* | ?:[\\/]* ) ;;
|
638 |
|
|
*) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
|
639 |
|
|
{ (exit 1); exit 1; }; };;
|
640 |
|
|
esac
|
641 |
|
|
done
|
642 |
|
|
|
643 |
148 |
jeremybenn |
# There might be people who depend on the old broken behavior: `$host'
|
644 |
|
|
# used to hold the argument of --host etc.
|
645 |
|
|
# FIXME: To remove some day.
|
646 |
|
|
build=$build_alias
|
647 |
|
|
host=$host_alias
|
648 |
|
|
target=$target_alias
|
649 |
|
|
|
650 |
|
|
# FIXME: To remove some day.
|
651 |
|
|
if test "x$host_alias" != x; then
|
652 |
|
|
if test "x$build_alias" = x; then
|
653 |
|
|
cross_compiling=maybe
|
654 |
|
|
echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
|
655 |
|
|
If a cross compiler is detected then cross compile mode will be used." >&2
|
656 |
|
|
elif test "x$build_alias" != "x$host_alias"; then
|
657 |
|
|
cross_compiling=yes
|
658 |
|
|
fi
|
659 |
|
|
fi
|
660 |
|
|
|
661 |
|
|
ac_tool_prefix=
|
662 |
|
|
test -n "$host_alias" && ac_tool_prefix=$host_alias-
|
663 |
|
|
|
664 |
|
|
test "$silent" = yes && exec 6>/dev/null
|
665 |
|
|
|
666 |
|
|
|
667 |
|
|
# Find the source files, if location was not specified.
|
668 |
|
|
if test -z "$srcdir"; then
|
669 |
|
|
ac_srcdir_defaulted=yes
|
670 |
180 |
jeremybenn |
# Try the directory containing this script, then its parent.
|
671 |
|
|
ac_confdir=`(dirname "$0") 2>/dev/null ||
|
672 |
148 |
jeremybenn |
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
673 |
|
|
X"$0" : 'X\(//\)[^/]' \| \
|
674 |
|
|
X"$0" : 'X\(//\)$' \| \
|
675 |
180 |
jeremybenn |
X"$0" : 'X\(/\)' \| \
|
676 |
|
|
. : '\(.\)' 2>/dev/null ||
|
677 |
148 |
jeremybenn |
echo X"$0" |
|
678 |
180 |
jeremybenn |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
679 |
|
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
680 |
|
|
/^X\(\/\/\)$/{ s//\1/; q; }
|
681 |
|
|
/^X\(\/\).*/{ s//\1/; q; }
|
682 |
|
|
s/.*/./; q'`
|
683 |
148 |
jeremybenn |
srcdir=$ac_confdir
|
684 |
180 |
jeremybenn |
if test ! -r $srcdir/$ac_unique_file; then
|
685 |
148 |
jeremybenn |
srcdir=..
|
686 |
|
|
fi
|
687 |
|
|
else
|
688 |
|
|
ac_srcdir_defaulted=no
|
689 |
|
|
fi
|
690 |
180 |
jeremybenn |
if test ! -r $srcdir/$ac_unique_file; then
|
691 |
|
|
if test "$ac_srcdir_defaulted" = yes; then
|
692 |
|
|
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
|
693 |
148 |
jeremybenn |
{ (exit 1); exit 1; }; }
|
694 |
180 |
jeremybenn |
else
|
695 |
|
|
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
|
696 |
|
|
{ (exit 1); exit 1; }; }
|
697 |
|
|
fi
|
698 |
148 |
jeremybenn |
fi
|
699 |
180 |
jeremybenn |
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
|
700 |
|
|
{ echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
|
701 |
148 |
jeremybenn |
{ (exit 1); exit 1; }; }
|
702 |
180 |
jeremybenn |
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
|
703 |
|
|
ac_env_build_alias_set=${build_alias+set}
|
704 |
|
|
ac_env_build_alias_value=$build_alias
|
705 |
|
|
ac_cv_env_build_alias_set=${build_alias+set}
|
706 |
|
|
ac_cv_env_build_alias_value=$build_alias
|
707 |
|
|
ac_env_host_alias_set=${host_alias+set}
|
708 |
|
|
ac_env_host_alias_value=$host_alias
|
709 |
|
|
ac_cv_env_host_alias_set=${host_alias+set}
|
710 |
|
|
ac_cv_env_host_alias_value=$host_alias
|
711 |
|
|
ac_env_target_alias_set=${target_alias+set}
|
712 |
|
|
ac_env_target_alias_value=$target_alias
|
713 |
|
|
ac_cv_env_target_alias_set=${target_alias+set}
|
714 |
|
|
ac_cv_env_target_alias_value=$target_alias
|
715 |
|
|
ac_env_CCAS_set=${CCAS+set}
|
716 |
|
|
ac_env_CCAS_value=$CCAS
|
717 |
|
|
ac_cv_env_CCAS_set=${CCAS+set}
|
718 |
|
|
ac_cv_env_CCAS_value=$CCAS
|
719 |
|
|
ac_env_CCASFLAGS_set=${CCASFLAGS+set}
|
720 |
|
|
ac_env_CCASFLAGS_value=$CCASFLAGS
|
721 |
|
|
ac_cv_env_CCASFLAGS_set=${CCASFLAGS+set}
|
722 |
|
|
ac_cv_env_CCASFLAGS_value=$CCASFLAGS
|
723 |
148 |
jeremybenn |
|
724 |
|
|
#
|
725 |
|
|
# Report the --help message.
|
726 |
|
|
#
|
727 |
|
|
if test "$ac_init_help" = "long"; then
|
728 |
|
|
# Omit some internal or obsolete options to make the list less imposing.
|
729 |
|
|
# This message is too long to be a string in the A/UX 3.1 sh.
|
730 |
|
|
cat <<_ACEOF
|
731 |
180 |
jeremybenn |
\`configure' configures libor32.a 0.2.0 to adapt to many kinds of systems.
|
732 |
148 |
jeremybenn |
|
733 |
|
|
Usage: $0 [OPTION]... [VAR=VALUE]...
|
734 |
|
|
|
735 |
|
|
To assign environment variables (e.g., CC, CFLAGS...), specify them as
|
736 |
|
|
VAR=VALUE. See below for descriptions of some of the useful variables.
|
737 |
|
|
|
738 |
|
|
Defaults for the options are specified in brackets.
|
739 |
|
|
|
740 |
|
|
Configuration:
|
741 |
|
|
-h, --help display this help and exit
|
742 |
|
|
--help=short display options specific to this package
|
743 |
|
|
--help=recursive display the short help of all the included packages
|
744 |
|
|
-V, --version display version information and exit
|
745 |
|
|
-q, --quiet, --silent do not print \`checking...' messages
|
746 |
|
|
--cache-file=FILE cache test results in FILE [disabled]
|
747 |
|
|
-C, --config-cache alias for \`--cache-file=config.cache'
|
748 |
|
|
-n, --no-create do not create output files
|
749 |
|
|
--srcdir=DIR find the sources in DIR [configure dir or \`..']
|
750 |
|
|
|
751 |
180 |
jeremybenn |
_ACEOF
|
752 |
|
|
|
753 |
|
|
cat <<_ACEOF
|
754 |
148 |
jeremybenn |
Installation directories:
|
755 |
|
|
--prefix=PREFIX install architecture-independent files in PREFIX
|
756 |
|
|
[$ac_default_prefix]
|
757 |
|
|
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
|
758 |
|
|
[PREFIX]
|
759 |
|
|
|
760 |
|
|
By default, \`make install' will install all the files in
|
761 |
|
|
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
|
762 |
|
|
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
|
763 |
|
|
for instance \`--prefix=\$HOME'.
|
764 |
|
|
|
765 |
|
|
For better control, use the options below.
|
766 |
|
|
|
767 |
|
|
Fine tuning of the installation directories:
|
768 |
|
|
--bindir=DIR user executables [EPREFIX/bin]
|
769 |
|
|
--sbindir=DIR system admin executables [EPREFIX/sbin]
|
770 |
|
|
--libexecdir=DIR program executables [EPREFIX/libexec]
|
771 |
180 |
jeremybenn |
--datadir=DIR read-only architecture-independent data [PREFIX/share]
|
772 |
148 |
jeremybenn |
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
|
773 |
|
|
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
|
774 |
|
|
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
|
775 |
|
|
--libdir=DIR object code libraries [EPREFIX/lib]
|
776 |
|
|
--includedir=DIR C header files [PREFIX/include]
|
777 |
|
|
--oldincludedir=DIR C header files for non-gcc [/usr/include]
|
778 |
180 |
jeremybenn |
--infodir=DIR info documentation [PREFIX/info]
|
779 |
|
|
--mandir=DIR man documentation [PREFIX/man]
|
780 |
148 |
jeremybenn |
_ACEOF
|
781 |
|
|
|
782 |
|
|
cat <<\_ACEOF
|
783 |
|
|
|
784 |
|
|
Program names:
|
785 |
|
|
--program-prefix=PREFIX prepend PREFIX to installed program names
|
786 |
|
|
--program-suffix=SUFFIX append SUFFIX to installed program names
|
787 |
|
|
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
|
788 |
|
|
|
789 |
|
|
System types:
|
790 |
|
|
--build=BUILD configure for building on BUILD [guessed]
|
791 |
|
|
--host=HOST cross-compile to build programs to run on HOST [BUILD]
|
792 |
|
|
--target=TARGET configure for building compilers for TARGET [HOST]
|
793 |
|
|
_ACEOF
|
794 |
|
|
fi
|
795 |
|
|
|
796 |
|
|
if test -n "$ac_init_help"; then
|
797 |
180 |
jeremybenn |
case $ac_init_help in
|
798 |
|
|
short | recursive ) echo "Configuration of libor32.a 0.2.0:";;
|
799 |
|
|
esac
|
800 |
148 |
jeremybenn |
cat <<\_ACEOF
|
801 |
|
|
|
802 |
|
|
Optional Features:
|
803 |
|
|
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
|
804 |
|
|
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
|
805 |
|
|
--disable-dependency-tracking speeds up one-time build
|
806 |
|
|
--enable-dependency-tracking do not reject slow dependency extractors
|
807 |
|
|
|
808 |
|
|
Some influential environment variables:
|
809 |
|
|
CCAS assembler compiler command (defaults to CC)
|
810 |
|
|
CCASFLAGS assembler compiler flags (defaults to CFLAGS)
|
811 |
|
|
|
812 |
|
|
Use these variables to override the choices made by `configure' or to help
|
813 |
|
|
it to find libraries and programs with nonstandard names/locations.
|
814 |
|
|
|
815 |
|
|
_ACEOF
|
816 |
|
|
fi
|
817 |
|
|
|
818 |
|
|
if test "$ac_init_help" = "recursive"; then
|
819 |
|
|
# If there are subdirs, report their specific --help.
|
820 |
180 |
jeremybenn |
ac_popdir=`pwd`
|
821 |
148 |
jeremybenn |
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
|
822 |
180 |
jeremybenn |
test -d $ac_dir || continue
|
823 |
148 |
jeremybenn |
ac_builddir=.
|
824 |
|
|
|
825 |
180 |
jeremybenn |
if test "$ac_dir" != .; then
|
826 |
148 |
jeremybenn |
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
|
827 |
180 |
jeremybenn |
# A "../" for each directory in $ac_dir_suffix.
|
828 |
|
|
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
|
829 |
|
|
else
|
830 |
|
|
ac_dir_suffix= ac_top_builddir=
|
831 |
|
|
fi
|
832 |
148 |
jeremybenn |
|
833 |
|
|
case $srcdir in
|
834 |
180 |
jeremybenn |
.) # No --srcdir option. We are building in place.
|
835 |
148 |
jeremybenn |
ac_srcdir=.
|
836 |
180 |
jeremybenn |
if test -z "$ac_top_builddir"; then
|
837 |
|
|
ac_top_srcdir=.
|
838 |
|
|
else
|
839 |
|
|
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
|
840 |
|
|
fi ;;
|
841 |
|
|
[\\/]* | ?:[\\/]* ) # Absolute path.
|
842 |
148 |
jeremybenn |
ac_srcdir=$srcdir$ac_dir_suffix;
|
843 |
180 |
jeremybenn |
ac_top_srcdir=$srcdir ;;
|
844 |
|
|
*) # Relative path.
|
845 |
|
|
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
|
846 |
|
|
ac_top_srcdir=$ac_top_builddir$srcdir ;;
|
847 |
148 |
jeremybenn |
esac
|
848 |
|
|
|
849 |
180 |
jeremybenn |
# Do not use `cd foo && pwd` to compute absolute paths, because
|
850 |
|
|
# the directories may not exist.
|
851 |
|
|
case `pwd` in
|
852 |
|
|
.) ac_abs_builddir="$ac_dir";;
|
853 |
|
|
*)
|
854 |
|
|
case "$ac_dir" in
|
855 |
|
|
.) ac_abs_builddir=`pwd`;;
|
856 |
|
|
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
|
857 |
|
|
*) ac_abs_builddir=`pwd`/"$ac_dir";;
|
858 |
|
|
esac;;
|
859 |
|
|
esac
|
860 |
|
|
case $ac_abs_builddir in
|
861 |
|
|
.) ac_abs_top_builddir=${ac_top_builddir}.;;
|
862 |
|
|
*)
|
863 |
|
|
case ${ac_top_builddir}. in
|
864 |
|
|
.) ac_abs_top_builddir=$ac_abs_builddir;;
|
865 |
|
|
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
|
866 |
|
|
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
|
867 |
|
|
esac;;
|
868 |
|
|
esac
|
869 |
|
|
case $ac_abs_builddir in
|
870 |
|
|
.) ac_abs_srcdir=$ac_srcdir;;
|
871 |
|
|
*)
|
872 |
|
|
case $ac_srcdir in
|
873 |
|
|
.) ac_abs_srcdir=$ac_abs_builddir;;
|
874 |
|
|
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
|
875 |
|
|
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
|
876 |
|
|
esac;;
|
877 |
|
|
esac
|
878 |
|
|
case $ac_abs_builddir in
|
879 |
|
|
.) ac_abs_top_srcdir=$ac_top_srcdir;;
|
880 |
|
|
*)
|
881 |
|
|
case $ac_top_srcdir in
|
882 |
|
|
.) ac_abs_top_srcdir=$ac_abs_builddir;;
|
883 |
|
|
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
|
884 |
|
|
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
|
885 |
|
|
esac;;
|
886 |
|
|
esac
|
887 |
|
|
|
888 |
|
|
cd $ac_dir
|
889 |
|
|
# Check for guested configure; otherwise get Cygnus style configure.
|
890 |
|
|
if test -f $ac_srcdir/configure.gnu; then
|
891 |
|
|
echo
|
892 |
|
|
$SHELL $ac_srcdir/configure.gnu --help=recursive
|
893 |
|
|
elif test -f $ac_srcdir/configure; then
|
894 |
|
|
echo
|
895 |
|
|
$SHELL $ac_srcdir/configure --help=recursive
|
896 |
|
|
elif test -f $ac_srcdir/configure.ac ||
|
897 |
|
|
test -f $ac_srcdir/configure.in; then
|
898 |
|
|
echo
|
899 |
|
|
$ac_configure --help
|
900 |
148 |
jeremybenn |
else
|
901 |
|
|
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
|
902 |
180 |
jeremybenn |
fi
|
903 |
|
|
cd $ac_popdir
|
904 |
148 |
jeremybenn |
done
|
905 |
|
|
fi
|
906 |
|
|
|
907 |
180 |
jeremybenn |
test -n "$ac_init_help" && exit 0
|
908 |
148 |
jeremybenn |
if $ac_init_version; then
|
909 |
|
|
cat <<\_ACEOF
|
910 |
180 |
jeremybenn |
libor32.a configure 0.2.0
|
911 |
|
|
generated by GNU Autoconf 2.59
|
912 |
148 |
jeremybenn |
|
913 |
180 |
jeremybenn |
Copyright (C) 2003 Free Software Foundation, Inc.
|
914 |
148 |
jeremybenn |
This configure script is free software; the Free Software Foundation
|
915 |
|
|
gives unlimited permission to copy, distribute and modify it.
|
916 |
|
|
_ACEOF
|
917 |
180 |
jeremybenn |
exit 0
|
918 |
148 |
jeremybenn |
fi
|
919 |
180 |
jeremybenn |
exec 5>config.log
|
920 |
|
|
cat >&5 <<_ACEOF
|
921 |
148 |
jeremybenn |
This file contains any messages produced by compilers while
|
922 |
|
|
running configure, to aid debugging if configure makes a mistake.
|
923 |
|
|
|
924 |
180 |
jeremybenn |
It was created by libor32.a $as_me 0.2.0, which was
|
925 |
|
|
generated by GNU Autoconf 2.59. Invocation command line was
|
926 |
148 |
jeremybenn |
|
927 |
|
|
$ $0 $@
|
928 |
|
|
|
929 |
|
|
_ACEOF
|
930 |
|
|
{
|
931 |
|
|
cat <<_ASUNAME
|
932 |
|
|
## --------- ##
|
933 |
|
|
## Platform. ##
|
934 |
|
|
## --------- ##
|
935 |
|
|
|
936 |
|
|
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
|
937 |
|
|
uname -m = `(uname -m) 2>/dev/null || echo unknown`
|
938 |
|
|
uname -r = `(uname -r) 2>/dev/null || echo unknown`
|
939 |
|
|
uname -s = `(uname -s) 2>/dev/null || echo unknown`
|
940 |
|
|
uname -v = `(uname -v) 2>/dev/null || echo unknown`
|
941 |
|
|
|
942 |
|
|
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
|
943 |
|
|
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
|
944 |
|
|
|
945 |
|
|
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
|
946 |
|
|
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
|
947 |
|
|
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
|
948 |
180 |
jeremybenn |
hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
|
949 |
148 |
jeremybenn |
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
|
950 |
|
|
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
|
951 |
|
|
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
|
952 |
|
|
|
953 |
|
|
_ASUNAME
|
954 |
|
|
|
955 |
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
956 |
|
|
for as_dir in $PATH
|
957 |
|
|
do
|
958 |
|
|
IFS=$as_save_IFS
|
959 |
|
|
test -z "$as_dir" && as_dir=.
|
960 |
|
|
echo "PATH: $as_dir"
|
961 |
|
|
done
|
962 |
|
|
|
963 |
|
|
} >&5
|
964 |
|
|
|
965 |
|
|
cat >&5 <<_ACEOF
|
966 |
|
|
|
967 |
|
|
|
968 |
|
|
## ----------- ##
|
969 |
|
|
## Core tests. ##
|
970 |
|
|
## ----------- ##
|
971 |
|
|
|
972 |
|
|
_ACEOF
|
973 |
|
|
|
974 |
|
|
|
975 |
|
|
# Keep a trace of the command line.
|
976 |
|
|
# Strip out --no-create and --no-recursion so they do not pile up.
|
977 |
|
|
# Strip out --silent because we don't want to record it for future runs.
|
978 |
|
|
# Also quote any args containing shell meta-characters.
|
979 |
|
|
# Make two passes to allow for proper duplicate-argument suppression.
|
980 |
|
|
ac_configure_args=
|
981 |
|
|
ac_configure_args0=
|
982 |
|
|
ac_configure_args1=
|
983 |
180 |
jeremybenn |
ac_sep=
|
984 |
148 |
jeremybenn |
ac_must_keep_next=false
|
985 |
|
|
for ac_pass in 1 2
|
986 |
|
|
do
|
987 |
|
|
for ac_arg
|
988 |
|
|
do
|
989 |
|
|
case $ac_arg in
|
990 |
|
|
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
|
991 |
|
|
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
992 |
|
|
| -silent | --silent | --silen | --sile | --sil)
|
993 |
|
|
continue ;;
|
994 |
180 |
jeremybenn |
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
|
995 |
148 |
jeremybenn |
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
996 |
|
|
esac
|
997 |
|
|
case $ac_pass in
|
998 |
|
|
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
|
999 |
|
|
2)
|
1000 |
|
|
ac_configure_args1="$ac_configure_args1 '$ac_arg'"
|
1001 |
|
|
if test $ac_must_keep_next = true; then
|
1002 |
|
|
ac_must_keep_next=false # Got value, back to normal.
|
1003 |
|
|
else
|
1004 |
|
|
case $ac_arg in
|
1005 |
|
|
*=* | --config-cache | -C | -disable-* | --disable-* \
|
1006 |
|
|
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
|
1007 |
|
|
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
|
1008 |
|
|
| -with-* | --with-* | -without-* | --without-* | --x)
|
1009 |
|
|
case "$ac_configure_args0 " in
|
1010 |
|
|
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
|
1011 |
|
|
esac
|
1012 |
|
|
;;
|
1013 |
|
|
-* ) ac_must_keep_next=true ;;
|
1014 |
|
|
esac
|
1015 |
|
|
fi
|
1016 |
180 |
jeremybenn |
ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
|
1017 |
|
|
# Get rid of the leading space.
|
1018 |
|
|
ac_sep=" "
|
1019 |
148 |
jeremybenn |
;;
|
1020 |
|
|
esac
|
1021 |
|
|
done
|
1022 |
|
|
done
|
1023 |
|
|
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
|
1024 |
|
|
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
|
1025 |
|
|
|
1026 |
|
|
# When interrupted or exit'd, cleanup temporary files, and complete
|
1027 |
|
|
# config.log. We remove comments because anyway the quotes in there
|
1028 |
|
|
# would cause problems or look ugly.
|
1029 |
180 |
jeremybenn |
# WARNING: Be sure not to use single quotes in there, as some shells,
|
1030 |
|
|
# such as our DU 5.0 friend, will then `close' the trap.
|
1031 |
148 |
jeremybenn |
trap 'exit_status=$?
|
1032 |
|
|
# Save into config.log some information that might help in debugging.
|
1033 |
|
|
{
|
1034 |
|
|
echo
|
1035 |
|
|
|
1036 |
|
|
cat <<\_ASBOX
|
1037 |
|
|
## ---------------- ##
|
1038 |
|
|
## Cache variables. ##
|
1039 |
|
|
## ---------------- ##
|
1040 |
|
|
_ASBOX
|
1041 |
|
|
echo
|
1042 |
|
|
# The following way of writing the cache mishandles newlines in values,
|
1043 |
180 |
jeremybenn |
{
|
1044 |
148 |
jeremybenn |
(set) 2>&1 |
|
1045 |
180 |
jeremybenn |
case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
|
1046 |
|
|
*ac_space=\ *)
|
1047 |
148 |
jeremybenn |
sed -n \
|
1048 |
180 |
jeremybenn |
"s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
|
1049 |
|
|
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
|
1050 |
|
|
;;
|
1051 |
148 |
jeremybenn |
*)
|
1052 |
180 |
jeremybenn |
sed -n \
|
1053 |
|
|
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
|
1054 |
148 |
jeremybenn |
;;
|
1055 |
180 |
jeremybenn |
esac;
|
1056 |
|
|
}
|
1057 |
148 |
jeremybenn |
echo
|
1058 |
|
|
|
1059 |
|
|
cat <<\_ASBOX
|
1060 |
|
|
## ----------------- ##
|
1061 |
|
|
## Output variables. ##
|
1062 |
|
|
## ----------------- ##
|
1063 |
|
|
_ASBOX
|
1064 |
|
|
echo
|
1065 |
|
|
for ac_var in $ac_subst_vars
|
1066 |
|
|
do
|
1067 |
180 |
jeremybenn |
eval ac_val=$`echo $ac_var`
|
1068 |
|
|
echo "$ac_var='"'"'$ac_val'"'"'"
|
1069 |
148 |
jeremybenn |
done | sort
|
1070 |
|
|
echo
|
1071 |
|
|
|
1072 |
|
|
if test -n "$ac_subst_files"; then
|
1073 |
|
|
cat <<\_ASBOX
|
1074 |
180 |
jeremybenn |
## ------------- ##
|
1075 |
|
|
## Output files. ##
|
1076 |
|
|
## ------------- ##
|
1077 |
148 |
jeremybenn |
_ASBOX
|
1078 |
|
|
echo
|
1079 |
|
|
for ac_var in $ac_subst_files
|
1080 |
|
|
do
|
1081 |
180 |
jeremybenn |
eval ac_val=$`echo $ac_var`
|
1082 |
|
|
echo "$ac_var='"'"'$ac_val'"'"'"
|
1083 |
148 |
jeremybenn |
done | sort
|
1084 |
|
|
echo
|
1085 |
|
|
fi
|
1086 |
|
|
|
1087 |
|
|
if test -s confdefs.h; then
|
1088 |
|
|
cat <<\_ASBOX
|
1089 |
|
|
## ----------- ##
|
1090 |
|
|
## confdefs.h. ##
|
1091 |
|
|
## ----------- ##
|
1092 |
|
|
_ASBOX
|
1093 |
|
|
echo
|
1094 |
180 |
jeremybenn |
sed "/^$/d" confdefs.h | sort
|
1095 |
148 |
jeremybenn |
echo
|
1096 |
|
|
fi
|
1097 |
|
|
test "$ac_signal" != 0 &&
|
1098 |
|
|
echo "$as_me: caught signal $ac_signal"
|
1099 |
|
|
echo "$as_me: exit $exit_status"
|
1100 |
|
|
} >&5
|
1101 |
180 |
jeremybenn |
rm -f core *.core &&
|
1102 |
|
|
rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
|
1103 |
148 |
jeremybenn |
exit $exit_status
|
1104 |
180 |
jeremybenn |
' 0
|
1105 |
148 |
jeremybenn |
for ac_signal in 1 2 13 15; do
|
1106 |
|
|
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
|
1107 |
|
|
done
|
1108 |
|
|
ac_signal=0
|
1109 |
|
|
|
1110 |
|
|
# confdefs.h avoids OS command line length limits that DEFS can exceed.
|
1111 |
180 |
jeremybenn |
rm -rf conftest* confdefs.h
|
1112 |
|
|
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
|
1113 |
|
|
echo >confdefs.h
|
1114 |
148 |
jeremybenn |
|
1115 |
|
|
# Predefined preprocessor variables.
|
1116 |
|
|
|
1117 |
|
|
cat >>confdefs.h <<_ACEOF
|
1118 |
|
|
#define PACKAGE_NAME "$PACKAGE_NAME"
|
1119 |
|
|
_ACEOF
|
1120 |
|
|
|
1121 |
|
|
|
1122 |
|
|
cat >>confdefs.h <<_ACEOF
|
1123 |
|
|
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
|
1124 |
|
|
_ACEOF
|
1125 |
|
|
|
1126 |
|
|
|
1127 |
|
|
cat >>confdefs.h <<_ACEOF
|
1128 |
|
|
#define PACKAGE_VERSION "$PACKAGE_VERSION"
|
1129 |
|
|
_ACEOF
|
1130 |
|
|
|
1131 |
|
|
|
1132 |
|
|
cat >>confdefs.h <<_ACEOF
|
1133 |
|
|
#define PACKAGE_STRING "$PACKAGE_STRING"
|
1134 |
|
|
_ACEOF
|
1135 |
|
|
|
1136 |
|
|
|
1137 |
|
|
cat >>confdefs.h <<_ACEOF
|
1138 |
|
|
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
|
1139 |
|
|
_ACEOF
|
1140 |
|
|
|
1141 |
|
|
|
1142 |
|
|
# Let the site file select an alternate cache file if it wants to.
|
1143 |
|
|
# Prefer explicitly selected file to automatically selected ones.
|
1144 |
180 |
jeremybenn |
if test -z "$CONFIG_SITE"; then
|
1145 |
|
|
if test "x$prefix" != xNONE; then
|
1146 |
|
|
CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
|
1147 |
|
|
else
|
1148 |
|
|
CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
|
1149 |
|
|
fi
|
1150 |
148 |
jeremybenn |
fi
|
1151 |
180 |
jeremybenn |
for ac_site_file in $CONFIG_SITE; do
|
1152 |
148 |
jeremybenn |
if test -r "$ac_site_file"; then
|
1153 |
|
|
{ echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
|
1154 |
|
|
echo "$as_me: loading site script $ac_site_file" >&6;}
|
1155 |
|
|
sed 's/^/| /' "$ac_site_file" >&5
|
1156 |
|
|
. "$ac_site_file"
|
1157 |
|
|
fi
|
1158 |
|
|
done
|
1159 |
|
|
|
1160 |
|
|
if test -r "$cache_file"; then
|
1161 |
|
|
# Some versions of bash will fail to source /dev/null (special
|
1162 |
|
|
# files actually), so we avoid doing that.
|
1163 |
|
|
if test -f "$cache_file"; then
|
1164 |
|
|
{ echo "$as_me:$LINENO: loading cache $cache_file" >&5
|
1165 |
|
|
echo "$as_me: loading cache $cache_file" >&6;}
|
1166 |
|
|
case $cache_file in
|
1167 |
180 |
jeremybenn |
[\\/]* | ?:[\\/]* ) . $cache_file;;
|
1168 |
|
|
*) . ./$cache_file;;
|
1169 |
148 |
jeremybenn |
esac
|
1170 |
|
|
fi
|
1171 |
|
|
else
|
1172 |
|
|
{ echo "$as_me:$LINENO: creating cache $cache_file" >&5
|
1173 |
|
|
echo "$as_me: creating cache $cache_file" >&6;}
|
1174 |
|
|
>$cache_file
|
1175 |
|
|
fi
|
1176 |
|
|
|
1177 |
|
|
# Check that the precious variables saved in the cache have kept the same
|
1178 |
|
|
# value.
|
1179 |
|
|
ac_cache_corrupted=false
|
1180 |
180 |
jeremybenn |
for ac_var in `(set) 2>&1 |
|
1181 |
|
|
sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
|
1182 |
148 |
jeremybenn |
eval ac_old_set=\$ac_cv_env_${ac_var}_set
|
1183 |
|
|
eval ac_new_set=\$ac_env_${ac_var}_set
|
1184 |
180 |
jeremybenn |
eval ac_old_val="\$ac_cv_env_${ac_var}_value"
|
1185 |
|
|
eval ac_new_val="\$ac_env_${ac_var}_value"
|
1186 |
148 |
jeremybenn |
case $ac_old_set,$ac_new_set in
|
1187 |
|
|
set,)
|
1188 |
|
|
{ echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
|
1189 |
|
|
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
|
1190 |
|
|
ac_cache_corrupted=: ;;
|
1191 |
|
|
,set)
|
1192 |
|
|
{ echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
|
1193 |
|
|
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
|
1194 |
|
|
ac_cache_corrupted=: ;;
|
1195 |
|
|
,);;
|
1196 |
|
|
*)
|
1197 |
|
|
if test "x$ac_old_val" != "x$ac_new_val"; then
|
1198 |
|
|
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
|
1199 |
|
|
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
|
1200 |
|
|
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5
|
1201 |
|
|
echo "$as_me: former value: $ac_old_val" >&2;}
|
1202 |
|
|
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5
|
1203 |
|
|
echo "$as_me: current value: $ac_new_val" >&2;}
|
1204 |
|
|
ac_cache_corrupted=:
|
1205 |
|
|
fi;;
|
1206 |
|
|
esac
|
1207 |
|
|
# Pass precious variables to config.status.
|
1208 |
|
|
if test "$ac_new_set" = set; then
|
1209 |
|
|
case $ac_new_val in
|
1210 |
180 |
jeremybenn |
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
|
1211 |
|
|
ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
|
1212 |
148 |
jeremybenn |
*) ac_arg=$ac_var=$ac_new_val ;;
|
1213 |
|
|
esac
|
1214 |
|
|
case " $ac_configure_args " in
|
1215 |
|
|
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
|
1216 |
|
|
*) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
|
1217 |
|
|
esac
|
1218 |
|
|
fi
|
1219 |
|
|
done
|
1220 |
|
|
if $ac_cache_corrupted; then
|
1221 |
|
|
{ echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
|
1222 |
|
|
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
|
1223 |
|
|
{ { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
|
1224 |
|
|
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
|
1225 |
|
|
{ (exit 1); exit 1; }; }
|
1226 |
|
|
fi
|
1227 |
|
|
|
1228 |
180 |
jeremybenn |
ac_ext=c
|
1229 |
|
|
ac_cpp='$CPP $CPPFLAGS'
|
1230 |
|
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
1231 |
|
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
1232 |
|
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
1233 |
148 |
jeremybenn |
|
1234 |
|
|
|
1235 |
|
|
|
1236 |
|
|
|
1237 |
|
|
|
1238 |
|
|
|
1239 |
|
|
|
1240 |
|
|
|
1241 |
|
|
|
1242 |
|
|
|
1243 |
|
|
|
1244 |
|
|
|
1245 |
|
|
|
1246 |
|
|
|
1247 |
|
|
|
1248 |
|
|
|
1249 |
|
|
|
1250 |
|
|
|
1251 |
|
|
|
1252 |
180 |
jeremybenn |
|
1253 |
|
|
|
1254 |
|
|
|
1255 |
|
|
|
1256 |
|
|
|
1257 |
|
|
|
1258 |
|
|
|
1259 |
|
|
|
1260 |
|
|
ac_config_headers="$ac_config_headers config.h"
|
1261 |
|
|
|
1262 |
|
|
|
1263 |
|
|
# No shared libraries allowed
|
1264 |
|
|
if test "${enable_shared}" = "yes" ; then
|
1265 |
|
|
echo "Shared libraries not supported for cross compiling, ignored"
|
1266 |
|
|
fi
|
1267 |
|
|
|
1268 |
|
|
# Where are the auxillary tools (confg.sub etc)?
|
1269 |
|
|
if test "$srcdir" = "." ; then
|
1270 |
|
|
if test "${with_target_subdir}" != "." ; then
|
1271 |
|
|
libgloss_topdir="${srcdir}/${with_multisrctop}../../.."
|
1272 |
|
|
else
|
1273 |
|
|
libgloss_topdir="${srcdir}/${with_multisrctop}../.."
|
1274 |
|
|
fi
|
1275 |
|
|
else
|
1276 |
|
|
libgloss_topdir="${srcdir}/../.."
|
1277 |
|
|
fi
|
1278 |
148 |
jeremybenn |
ac_aux_dir=
|
1279 |
180 |
jeremybenn |
for ac_dir in $libgloss_topdir $srcdir/$libgloss_topdir; do
|
1280 |
|
|
if test -f $ac_dir/install-sh; then
|
1281 |
148 |
jeremybenn |
ac_aux_dir=$ac_dir
|
1282 |
|
|
ac_install_sh="$ac_aux_dir/install-sh -c"
|
1283 |
|
|
break
|
1284 |
180 |
jeremybenn |
elif test -f $ac_dir/install.sh; then
|
1285 |
148 |
jeremybenn |
ac_aux_dir=$ac_dir
|
1286 |
|
|
ac_install_sh="$ac_aux_dir/install.sh -c"
|
1287 |
|
|
break
|
1288 |
180 |
jeremybenn |
elif test -f $ac_dir/shtool; then
|
1289 |
148 |
jeremybenn |
ac_aux_dir=$ac_dir
|
1290 |
|
|
ac_install_sh="$ac_aux_dir/shtool install -c"
|
1291 |
|
|
break
|
1292 |
|
|
fi
|
1293 |
|
|
done
|
1294 |
|
|
if test -z "$ac_aux_dir"; then
|
1295 |
180 |
jeremybenn |
{ { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $libgloss_topdir $srcdir/$libgloss_topdir" >&5
|
1296 |
|
|
echo "$as_me: error: cannot find install-sh or install.sh in $libgloss_topdir $srcdir/$libgloss_topdir" >&2;}
|
1297 |
148 |
jeremybenn |
{ (exit 1); exit 1; }; }
|
1298 |
|
|
fi
|
1299 |
180 |
jeremybenn |
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
|
1300 |
|
|
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
|
1301 |
|
|
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
|
1302 |
148 |
jeremybenn |
|
1303 |
|
|
|
1304 |
|
|
# Make sure we can run config.sub.
|
1305 |
180 |
jeremybenn |
$ac_config_sub sun4 >/dev/null 2>&1 ||
|
1306 |
|
|
{ { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
|
1307 |
|
|
echo "$as_me: error: cannot run $ac_config_sub" >&2;}
|
1308 |
148 |
jeremybenn |
{ (exit 1); exit 1; }; }
|
1309 |
|
|
|
1310 |
180 |
jeremybenn |
echo "$as_me:$LINENO: checking build system type" >&5
|
1311 |
|
|
echo $ECHO_N "checking build system type... $ECHO_C" >&6
|
1312 |
148 |
jeremybenn |
if test "${ac_cv_build+set}" = set; then
|
1313 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
1314 |
|
|
else
|
1315 |
180 |
jeremybenn |
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 |
148 |
jeremybenn |
{ { 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 |
180 |
jeremybenn |
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 |
148 |
jeremybenn |
{ (exit 1); exit 1; }; }
|
1326 |
|
|
|
1327 |
|
|
fi
|
1328 |
180 |
jeremybenn |
echo "$as_me:$LINENO: result: $ac_cv_build" >&5
|
1329 |
|
|
echo "${ECHO_T}$ac_cv_build" >&6
|
1330 |
148 |
jeremybenn |
build=$ac_cv_build
|
1331 |
180 |
jeremybenn |
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 |
148 |
jeremybenn |
|
1335 |
|
|
|
1336 |
180 |
jeremybenn |
echo "$as_me:$LINENO: checking host system type" >&5
|
1337 |
|
|
echo $ECHO_N "checking host system type... $ECHO_C" >&6
|
1338 |
148 |
jeremybenn |
if test "${ac_cv_host+set}" = set; then
|
1339 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
1340 |
|
|
else
|
1341 |
180 |
jeremybenn |
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 |
148 |
jeremybenn |
{ (exit 1); exit 1; }; }
|
1348 |
|
|
|
1349 |
|
|
fi
|
1350 |
180 |
jeremybenn |
echo "$as_me:$LINENO: result: $ac_cv_host" >&5
|
1351 |
|
|
echo "${ECHO_T}$ac_cv_host" >&6
|
1352 |
148 |
jeremybenn |
host=$ac_cv_host
|
1353 |
180 |
jeremybenn |
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 |
148 |
jeremybenn |
|
1357 |
|
|
|
1358 |
180 |
jeremybenn |
echo "$as_me:$LINENO: checking target system type" >&5
|
1359 |
|
|
echo $ECHO_N "checking target system type... $ECHO_C" >&6
|
1360 |
148 |
jeremybenn |
if test "${ac_cv_target+set}" = set; then
|
1361 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
1362 |
|
|
else
|
1363 |
180 |
jeremybenn |
ac_cv_target_alias=$target_alias
|
1364 |
|
|
test "x$ac_cv_target_alias" = "x" &&
|
1365 |
|
|
ac_cv_target_alias=$ac_cv_host_alias
|
1366 |
|
|
ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
|
1367 |
|
|
{ { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
|
1368 |
|
|
echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
|
1369 |
148 |
jeremybenn |
{ (exit 1); exit 1; }; }
|
1370 |
|
|
|
1371 |
|
|
fi
|
1372 |
180 |
jeremybenn |
echo "$as_me:$LINENO: result: $ac_cv_target" >&5
|
1373 |
|
|
echo "${ECHO_T}$ac_cv_target" >&6
|
1374 |
148 |
jeremybenn |
target=$ac_cv_target
|
1375 |
180 |
jeremybenn |
target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
|
1376 |
|
|
target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
|
1377 |
|
|
target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
|
1378 |
148 |
jeremybenn |
|
1379 |
|
|
|
1380 |
|
|
# The aliases save the names the user supplied, while $host etc.
|
1381 |
|
|
# will get canonicalized.
|
1382 |
|
|
test -n "$target_alias" &&
|
1383 |
|
|
test "$program_prefix$program_suffix$program_transform_name" = \
|
1384 |
|
|
NONENONEs,x,x, &&
|
1385 |
|
|
program_prefix=${target_alias}-
|
1386 |
|
|
test "$program_prefix" != NONE &&
|
1387 |
180 |
jeremybenn |
program_transform_name="s,^,$program_prefix,;$program_transform_name"
|
1388 |
148 |
jeremybenn |
# Use a double $ so make ignores it.
|
1389 |
|
|
test "$program_suffix" != NONE &&
|
1390 |
180 |
jeremybenn |
program_transform_name="s,\$,$program_suffix,;$program_transform_name"
|
1391 |
148 |
jeremybenn |
# Double any \ or $. echo might interpret backslashes.
|
1392 |
|
|
# By default was `s,x,x', remove it if useless.
|
1393 |
|
|
cat <<\_ACEOF >conftest.sed
|
1394 |
|
|
s/[\\$]/&&/g;s/;s,x,x,$//
|
1395 |
|
|
_ACEOF
|
1396 |
|
|
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
|
1397 |
180 |
jeremybenn |
rm conftest.sed
|
1398 |
148 |
jeremybenn |
|
1399 |
|
|
|
1400 |
|
|
# Find a good install program. We prefer a C program (faster),
|
1401 |
|
|
# so one script is as good as another. But avoid the broken or
|
1402 |
|
|
# incompatible versions:
|
1403 |
|
|
# SysV /etc/install, /usr/sbin/install
|
1404 |
|
|
# SunOS /usr/etc/install
|
1405 |
|
|
# IRIX /sbin/install
|
1406 |
|
|
# AIX /bin/install
|
1407 |
|
|
# AmigaOS /C/install, which installs bootblocks on floppy discs
|
1408 |
|
|
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
|
1409 |
|
|
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
|
1410 |
|
|
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
|
1411 |
|
|
# OS/2's system install, which has a completely different semantic
|
1412 |
|
|
# ./install, which can be erroneously created by make from ./install.sh.
|
1413 |
180 |
jeremybenn |
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
|
1414 |
|
|
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
|
1415 |
148 |
jeremybenn |
if test -z "$INSTALL"; then
|
1416 |
|
|
if test "${ac_cv_path_install+set}" = set; then
|
1417 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
1418 |
|
|
else
|
1419 |
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
1420 |
|
|
for as_dir in $PATH
|
1421 |
|
|
do
|
1422 |
|
|
IFS=$as_save_IFS
|
1423 |
|
|
test -z "$as_dir" && as_dir=.
|
1424 |
|
|
# Account for people who put trailing slashes in PATH elements.
|
1425 |
|
|
case $as_dir/ in
|
1426 |
|
|
./ | .// | /cC/* | \
|
1427 |
|
|
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
|
1428 |
|
|
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
|
1429 |
|
|
/usr/ucb/* ) ;;
|
1430 |
|
|
*)
|
1431 |
|
|
# OSF1 and SCO ODT 3.0 have their own names for install.
|
1432 |
|
|
# Don't use installbsd from OSF since it installs stuff as root
|
1433 |
|
|
# by default.
|
1434 |
|
|
for ac_prog in ginstall scoinst install; do
|
1435 |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
1436 |
180 |
jeremybenn |
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
|
1437 |
148 |
jeremybenn |
if test $ac_prog = install &&
|
1438 |
|
|
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
|
1439 |
|
|
# AIX install. It has an incompatible calling convention.
|
1440 |
|
|
:
|
1441 |
|
|
elif test $ac_prog = install &&
|
1442 |
|
|
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
|
1443 |
|
|
# program-specific install script used by HP pwplus--don't use.
|
1444 |
|
|
:
|
1445 |
|
|
else
|
1446 |
|
|
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
|
1447 |
|
|
break 3
|
1448 |
|
|
fi
|
1449 |
|
|
fi
|
1450 |
|
|
done
|
1451 |
|
|
done
|
1452 |
|
|
;;
|
1453 |
|
|
esac
|
1454 |
|
|
done
|
1455 |
|
|
|
1456 |
|
|
|
1457 |
|
|
fi
|
1458 |
|
|
if test "${ac_cv_path_install+set}" = set; then
|
1459 |
|
|
INSTALL=$ac_cv_path_install
|
1460 |
|
|
else
|
1461 |
180 |
jeremybenn |
# As a last resort, use the slow shell script. We don't cache a
|
1462 |
|
|
# path for INSTALL within a source directory, because that will
|
1463 |
148 |
jeremybenn |
# break other packages using the cache if that directory is
|
1464 |
180 |
jeremybenn |
# removed, or if the path is relative.
|
1465 |
148 |
jeremybenn |
INSTALL=$ac_install_sh
|
1466 |
|
|
fi
|
1467 |
|
|
fi
|
1468 |
180 |
jeremybenn |
echo "$as_me:$LINENO: result: $INSTALL" >&5
|
1469 |
|
|
echo "${ECHO_T}$INSTALL" >&6
|
1470 |
148 |
jeremybenn |
|
1471 |
|
|
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
|
1472 |
|
|
# It thinks the first close brace ends the variable substitution.
|
1473 |
|
|
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
|
1474 |
|
|
|
1475 |
|
|
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
|
1476 |
|
|
|
1477 |
|
|
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
|
1478 |
|
|
|
1479 |
|
|
|
1480 |
180 |
jeremybenn |
|
1481 |
|
|
cat >>confdefs.h <<\_ACEOF
|
1482 |
|
|
#define HAVE_GNU_LD 1
|
1483 |
|
|
_ACEOF
|
1484 |
|
|
|
1485 |
|
|
|
1486 |
|
|
# We always use ELF, define various useful associated things.
|
1487 |
|
|
|
1488 |
|
|
cat >>confdefs.h <<\_ACEOF
|
1489 |
|
|
#define HAVE_ELF 1
|
1490 |
|
|
_ACEOF
|
1491 |
|
|
|
1492 |
|
|
|
1493 |
|
|
# Sort out what the symbol prefix is (we could just fix it as '_', but let the
|
1494 |
|
|
# script work it out.
|
1495 |
|
|
echo "$as_me:$LINENO: checking for symbol prefix" >&5
|
1496 |
|
|
echo $ECHO_N "checking for symbol prefix... $ECHO_C" >&6
|
1497 |
|
|
if test "${libc_symbol_prefix+set}" = set; then
|
1498 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
1499 |
|
|
else
|
1500 |
|
|
cat > conftest.c <<\EOF
|
1501 |
|
|
foo () { }
|
1502 |
|
|
EOF
|
1503 |
|
|
libc_symbol_prefix=none
|
1504 |
|
|
if { ac_try='${CC-cc} -S conftest.c -o - | fgrep "\$foo" > /dev/null'
|
1505 |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
1506 |
|
|
(eval $ac_try) 2>&5
|
1507 |
|
|
ac_status=$?
|
1508 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
1509 |
|
|
(exit $ac_status); }; };
|
1510 |
|
|
then
|
1511 |
|
|
libc_symbol_prefix='$'
|
1512 |
|
|
else
|
1513 |
|
|
if { ac_try='${CC-cc} -S conftest.c -o - | fgrep "_foo" > /dev/null'
|
1514 |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
1515 |
|
|
(eval $ac_try) 2>&5
|
1516 |
|
|
ac_status=$?
|
1517 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
1518 |
|
|
(exit $ac_status); }; };
|
1519 |
|
|
then
|
1520 |
|
|
libc_symbol_prefix=_
|
1521 |
|
|
fi
|
1522 |
|
|
fi
|
1523 |
|
|
rm -f conftest*
|
1524 |
|
|
fi
|
1525 |
|
|
echo "$as_me:$LINENO: result: $libc_symbol_prefix" >&5
|
1526 |
|
|
echo "${ECHO_T}$libc_symbol_prefix" >&6
|
1527 |
|
|
if test $libc_symbol_prefix != none; then
|
1528 |
|
|
|
1529 |
|
|
cat >>confdefs.h <<_ACEOF
|
1530 |
|
|
#define __SYMBOL_PREFIX "$libc_symbol_prefix"
|
1531 |
|
|
_ACEOF
|
1532 |
|
|
|
1533 |
|
|
else
|
1534 |
|
|
|
1535 |
|
|
cat >>confdefs.h <<\_ACEOF
|
1536 |
|
|
#define __SYMBOL_PREFIX ""
|
1537 |
|
|
_ACEOF
|
1538 |
|
|
|
1539 |
|
|
fi
|
1540 |
|
|
|
1541 |
|
|
# Standard stuff copied from libnosys. For this we'll need an aclocal.m4
|
1542 |
148 |
jeremybenn |
rm -rf .tst 2>/dev/null
|
1543 |
|
|
mkdir .tst 2>/dev/null
|
1544 |
|
|
if test -d .tst; then
|
1545 |
|
|
am__leading_dot=.
|
1546 |
|
|
else
|
1547 |
|
|
am__leading_dot=_
|
1548 |
|
|
fi
|
1549 |
|
|
rmdir .tst 2>/dev/null
|
1550 |
|
|
|
1551 |
|
|
DEPDIR="${am__leading_dot}deps"
|
1552 |
|
|
|
1553 |
180 |
jeremybenn |
ac_config_commands="$ac_config_commands depfiles"
|
1554 |
148 |
jeremybenn |
|
1555 |
|
|
|
1556 |
|
|
am_make=${MAKE-make}
|
1557 |
|
|
cat > confinc << 'END'
|
1558 |
|
|
am__doit:
|
1559 |
|
|
@echo done
|
1560 |
|
|
.PHONY: am__doit
|
1561 |
|
|
END
|
1562 |
|
|
# If we don't find an include directive, just comment out the code.
|
1563 |
180 |
jeremybenn |
echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
|
1564 |
|
|
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
|
1565 |
148 |
jeremybenn |
am__include="#"
|
1566 |
|
|
am__quote=
|
1567 |
|
|
_am_result=none
|
1568 |
|
|
# First try GNU make style include.
|
1569 |
|
|
echo "include confinc" > confmf
|
1570 |
|
|
# We grep out `Entering directory' and `Leaving directory'
|
1571 |
|
|
# messages which can occur if `w' ends up in MAKEFLAGS.
|
1572 |
|
|
# In particular we don't look at `^make:' because GNU make might
|
1573 |
|
|
# be invoked under some other name (usually "gmake"), in which
|
1574 |
|
|
# case it prints its new name instead of `make'.
|
1575 |
|
|
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
|
1576 |
|
|
am__include=include
|
1577 |
|
|
am__quote=
|
1578 |
|
|
_am_result=GNU
|
1579 |
|
|
fi
|
1580 |
|
|
# Now try BSD make style include.
|
1581 |
|
|
if test "$am__include" = "#"; then
|
1582 |
|
|
echo '.include "confinc"' > confmf
|
1583 |
|
|
if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
|
1584 |
|
|
am__include=.include
|
1585 |
|
|
am__quote="\""
|
1586 |
|
|
_am_result=BSD
|
1587 |
|
|
fi
|
1588 |
|
|
fi
|
1589 |
|
|
|
1590 |
|
|
|
1591 |
180 |
jeremybenn |
echo "$as_me:$LINENO: result: $_am_result" >&5
|
1592 |
|
|
echo "${ECHO_T}$_am_result" >&6
|
1593 |
148 |
jeremybenn |
rm -f confinc confmf
|
1594 |
|
|
|
1595 |
180 |
jeremybenn |
# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
|
1596 |
148 |
jeremybenn |
if test "${enable_dependency_tracking+set}" = set; then
|
1597 |
180 |
jeremybenn |
enableval="$enable_dependency_tracking"
|
1598 |
148 |
jeremybenn |
|
1599 |
180 |
jeremybenn |
fi;
|
1600 |
148 |
jeremybenn |
if test "x$enable_dependency_tracking" != xno; then
|
1601 |
|
|
am_depcomp="$ac_aux_dir/depcomp"
|
1602 |
|
|
AMDEPBACKSLASH='\'
|
1603 |
|
|
fi
|
1604 |
|
|
|
1605 |
|
|
|
1606 |
|
|
if test "x$enable_dependency_tracking" != xno; then
|
1607 |
|
|
AMDEP_TRUE=
|
1608 |
|
|
AMDEP_FALSE='#'
|
1609 |
|
|
else
|
1610 |
|
|
AMDEP_TRUE='#'
|
1611 |
|
|
AMDEP_FALSE=
|
1612 |
|
|
fi
|
1613 |
|
|
|
1614 |
|
|
|
1615 |
|
|
|
1616 |
|
|
# Extract the first word of "gcc", so it can be a program name with args.
|
1617 |
|
|
set dummy gcc; ac_word=$2
|
1618 |
180 |
jeremybenn |
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
1619 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
1620 |
148 |
jeremybenn |
if test "${ac_cv_prog_CC+set}" = set; then
|
1621 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
1622 |
|
|
else
|
1623 |
|
|
if test -n "$CC"; then
|
1624 |
|
|
ac_cv_prog_CC="$CC" # Let the user override the test.
|
1625 |
|
|
else
|
1626 |
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
1627 |
|
|
for as_dir in $PATH
|
1628 |
|
|
do
|
1629 |
|
|
IFS=$as_save_IFS
|
1630 |
|
|
test -z "$as_dir" && as_dir=.
|
1631 |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
1632 |
180 |
jeremybenn |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
1633 |
148 |
jeremybenn |
ac_cv_prog_CC="gcc"
|
1634 |
|
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
1635 |
|
|
break 2
|
1636 |
|
|
fi
|
1637 |
|
|
done
|
1638 |
|
|
done
|
1639 |
|
|
|
1640 |
|
|
fi
|
1641 |
|
|
fi
|
1642 |
|
|
CC=$ac_cv_prog_CC
|
1643 |
|
|
if test -n "$CC"; then
|
1644 |
180 |
jeremybenn |
echo "$as_me:$LINENO: result: $CC" >&5
|
1645 |
|
|
echo "${ECHO_T}$CC" >&6
|
1646 |
148 |
jeremybenn |
else
|
1647 |
180 |
jeremybenn |
echo "$as_me:$LINENO: result: no" >&5
|
1648 |
|
|
echo "${ECHO_T}no" >&6
|
1649 |
148 |
jeremybenn |
fi
|
1650 |
|
|
|
1651 |
|
|
|
1652 |
|
|
depcc="$CC" am_compiler_list=
|
1653 |
|
|
|
1654 |
180 |
jeremybenn |
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
|
1655 |
|
|
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
|
1656 |
148 |
jeremybenn |
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
|
1657 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
1658 |
|
|
else
|
1659 |
|
|
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
|
1660 |
|
|
# We make a subdir and do the tests there. Otherwise we can end up
|
1661 |
|
|
# making bogus files that we don't know about and never remove. For
|
1662 |
|
|
# instance it was reported that on HP-UX the gcc test will end up
|
1663 |
|
|
# making a dummy file named `D' -- because `-MD' means `put the output
|
1664 |
|
|
# in D'.
|
1665 |
|
|
mkdir conftest.dir
|
1666 |
|
|
# Copy depcomp to subdir because otherwise we won't find it if we're
|
1667 |
|
|
# using a relative directory.
|
1668 |
|
|
cp "$am_depcomp" conftest.dir
|
1669 |
|
|
cd conftest.dir
|
1670 |
|
|
# We will build objects and dependencies in a subdirectory because
|
1671 |
|
|
# it helps to detect inapplicable dependency modes. For instance
|
1672 |
|
|
# both Tru64's cc and ICC support -MD to output dependencies as a
|
1673 |
|
|
# side effect of compilation, but ICC will put the dependencies in
|
1674 |
|
|
# the current directory while Tru64 will put them in the object
|
1675 |
|
|
# directory.
|
1676 |
|
|
mkdir sub
|
1677 |
|
|
|
1678 |
|
|
am_cv_CC_dependencies_compiler_type=none
|
1679 |
|
|
if test "$am_compiler_list" = ""; then
|
1680 |
|
|
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
|
1681 |
|
|
fi
|
1682 |
|
|
for depmode in $am_compiler_list; do
|
1683 |
|
|
# Setup a source with many dependencies, because some compilers
|
1684 |
|
|
# like to wrap large dependency lists on column 80 (with \), and
|
1685 |
|
|
# we should not choose a depcomp mode which is confused by this.
|
1686 |
|
|
#
|
1687 |
|
|
# We need to recreate these files for each test, as the compiler may
|
1688 |
|
|
# overwrite some of them when testing with obscure command lines.
|
1689 |
|
|
# This happens at least with the AIX C compiler.
|
1690 |
|
|
: > sub/conftest.c
|
1691 |
|
|
for i in 1 2 3 4 5 6; do
|
1692 |
|
|
echo '#include "conftst'$i'.h"' >> sub/conftest.c
|
1693 |
|
|
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
|
1694 |
|
|
# Solaris 8's {/usr,}/bin/sh.
|
1695 |
|
|
touch sub/conftst$i.h
|
1696 |
|
|
done
|
1697 |
|
|
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
|
1698 |
|
|
|
1699 |
|
|
case $depmode in
|
1700 |
|
|
nosideeffect)
|
1701 |
|
|
# after this tag, mechanisms are not by side-effect, so they'll
|
1702 |
|
|
# only be used when explicitly requested
|
1703 |
|
|
if test "x$enable_dependency_tracking" = xyes; then
|
1704 |
|
|
continue
|
1705 |
|
|
else
|
1706 |
|
|
break
|
1707 |
|
|
fi
|
1708 |
|
|
;;
|
1709 |
|
|
none) break ;;
|
1710 |
|
|
esac
|
1711 |
|
|
# We check with `-c' and `-o' for the sake of the "dashmstdout"
|
1712 |
|
|
# mode. It turns out that the SunPro C++ compiler does not properly
|
1713 |
|
|
# handle `-M -o', and we need to detect this.
|
1714 |
|
|
if depmode=$depmode \
|
1715 |
|
|
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
|
1716 |
|
|
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
|
1717 |
|
|
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
|
1718 |
|
|
>/dev/null 2>conftest.err &&
|
1719 |
|
|
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
|
1720 |
|
|
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
|
1721 |
|
|
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
|
1722 |
|
|
# icc doesn't choke on unknown options, it will just issue warnings
|
1723 |
|
|
# or remarks (even with -Werror). So we grep stderr for any message
|
1724 |
|
|
# that says an option was ignored or not supported.
|
1725 |
|
|
# When given -MP, icc 7.0 and 7.1 complain thusly:
|
1726 |
|
|
# icc: Command line warning: ignoring option '-M'; no argument required
|
1727 |
|
|
# The diagnosis changed in icc 8.0:
|
1728 |
|
|
# icc: Command line remark: option '-MP' not supported
|
1729 |
|
|
if (grep 'ignoring option' conftest.err ||
|
1730 |
|
|
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
|
1731 |
|
|
am_cv_CC_dependencies_compiler_type=$depmode
|
1732 |
|
|
break
|
1733 |
|
|
fi
|
1734 |
|
|
fi
|
1735 |
|
|
done
|
1736 |
|
|
|
1737 |
|
|
cd ..
|
1738 |
|
|
rm -rf conftest.dir
|
1739 |
|
|
else
|
1740 |
|
|
am_cv_CC_dependencies_compiler_type=none
|
1741 |
|
|
fi
|
1742 |
|
|
|
1743 |
|
|
fi
|
1744 |
180 |
jeremybenn |
echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
|
1745 |
|
|
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
|
1746 |
148 |
jeremybenn |
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
|
1747 |
|
|
|
1748 |
|
|
|
1749 |
|
|
|
1750 |
|
|
if
|
1751 |
|
|
test "x$enable_dependency_tracking" != xno \
|
1752 |
|
|
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
|
1753 |
|
|
am__fastdepCC_TRUE=
|
1754 |
|
|
am__fastdepCC_FALSE='#'
|
1755 |
|
|
else
|
1756 |
|
|
am__fastdepCC_TRUE='#'
|
1757 |
|
|
am__fastdepCC_FALSE=
|
1758 |
|
|
fi
|
1759 |
|
|
|
1760 |
|
|
|
1761 |
|
|
if test -z "$CC"; then
|
1762 |
|
|
# Extract the first word of "cc", so it can be a program name with args.
|
1763 |
|
|
set dummy cc; ac_word=$2
|
1764 |
180 |
jeremybenn |
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
1765 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
1766 |
148 |
jeremybenn |
if test "${ac_cv_prog_CC+set}" = set; then
|
1767 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
1768 |
|
|
else
|
1769 |
|
|
if test -n "$CC"; then
|
1770 |
|
|
ac_cv_prog_CC="$CC" # Let the user override the test.
|
1771 |
|
|
else
|
1772 |
|
|
ac_prog_rejected=no
|
1773 |
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
1774 |
|
|
for as_dir in $PATH
|
1775 |
|
|
do
|
1776 |
|
|
IFS=$as_save_IFS
|
1777 |
|
|
test -z "$as_dir" && as_dir=.
|
1778 |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
1779 |
180 |
jeremybenn |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
1780 |
148 |
jeremybenn |
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
|
1781 |
|
|
ac_prog_rejected=yes
|
1782 |
|
|
continue
|
1783 |
|
|
fi
|
1784 |
|
|
ac_cv_prog_CC="cc"
|
1785 |
|
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
1786 |
|
|
break 2
|
1787 |
|
|
fi
|
1788 |
|
|
done
|
1789 |
|
|
done
|
1790 |
|
|
|
1791 |
|
|
if test $ac_prog_rejected = yes; then
|
1792 |
|
|
# We found a bogon in the path, so make sure we never use it.
|
1793 |
|
|
set dummy $ac_cv_prog_CC
|
1794 |
|
|
shift
|
1795 |
|
|
if test $# != 0; then
|
1796 |
|
|
# We chose a different compiler from the bogus one.
|
1797 |
|
|
# However, it has the same basename, so the bogon will be chosen
|
1798 |
|
|
# first if we set CC to just the basename; use the full file name.
|
1799 |
|
|
shift
|
1800 |
|
|
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
|
1801 |
|
|
fi
|
1802 |
|
|
fi
|
1803 |
|
|
fi
|
1804 |
|
|
fi
|
1805 |
|
|
CC=$ac_cv_prog_CC
|
1806 |
|
|
if test -n "$CC"; then
|
1807 |
180 |
jeremybenn |
echo "$as_me:$LINENO: result: $CC" >&5
|
1808 |
|
|
echo "${ECHO_T}$CC" >&6
|
1809 |
148 |
jeremybenn |
else
|
1810 |
180 |
jeremybenn |
echo "$as_me:$LINENO: result: no" >&5
|
1811 |
|
|
echo "${ECHO_T}no" >&6
|
1812 |
148 |
jeremybenn |
fi
|
1813 |
|
|
|
1814 |
|
|
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable cc found in \$PATH" >&5
|
1815 |
|
|
echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
|
1816 |
|
|
{ (exit 1); exit 1; }; }
|
1817 |
|
|
fi
|
1818 |
|
|
|
1819 |
180 |
jeremybenn |
echo "$as_me:$LINENO: checking whether we are using GNU C" >&5
|
1820 |
|
|
echo $ECHO_N "checking whether we are using GNU C... $ECHO_C" >&6
|
1821 |
148 |
jeremybenn |
if test "${ac_cv_c_compiler_gnu+set}" = set; then
|
1822 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
1823 |
|
|
else
|
1824 |
|
|
cat > conftest.c <
|
1825 |
|
|
#ifdef __GNUC__
|
1826 |
|
|
yes;
|
1827 |
|
|
#endif
|
1828 |
|
|
EOF
|
1829 |
|
|
if { ac_try='${CC-cc} -E conftest.c'
|
1830 |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
1831 |
|
|
(eval $ac_try) 2>&5
|
1832 |
|
|
ac_status=$?
|
1833 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
1834 |
|
|
(exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
|
1835 |
|
|
ac_cv_c_compiler_gnu=yes
|
1836 |
|
|
else
|
1837 |
|
|
ac_cv_c_compiler_gnu=no
|
1838 |
|
|
fi
|
1839 |
|
|
fi
|
1840 |
180 |
jeremybenn |
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
|
1841 |
|
|
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
|
1842 |
148 |
jeremybenn |
|
1843 |
|
|
if test $ac_cv_c_compiler_gnu = yes; then
|
1844 |
|
|
GCC=yes
|
1845 |
|
|
ac_test_CFLAGS="${CFLAGS+set}"
|
1846 |
|
|
ac_save_CFLAGS="$CFLAGS"
|
1847 |
|
|
CFLAGS=
|
1848 |
|
|
ac_test_CFLAGS=${CFLAGS+set}
|
1849 |
|
|
ac_save_CFLAGS=$CFLAGS
|
1850 |
180 |
jeremybenn |
CFLAGS="-g"
|
1851 |
|
|
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
|
1852 |
|
|
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
|
1853 |
148 |
jeremybenn |
if test "${ac_cv_prog_cc_g+set}" = set; then
|
1854 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
1855 |
|
|
else
|
1856 |
180 |
jeremybenn |
cat >conftest.$ac_ext <<_ACEOF
|
1857 |
148 |
jeremybenn |
/* confdefs.h. */
|
1858 |
|
|
_ACEOF
|
1859 |
|
|
cat confdefs.h >>conftest.$ac_ext
|
1860 |
|
|
cat >>conftest.$ac_ext <<_ACEOF
|
1861 |
|
|
/* end confdefs.h. */
|
1862 |
|
|
|
1863 |
|
|
int
|
1864 |
|
|
main ()
|
1865 |
|
|
{
|
1866 |
|
|
|
1867 |
|
|
;
|
1868 |
|
|
return 0;
|
1869 |
|
|
}
|
1870 |
|
|
_ACEOF
|
1871 |
|
|
rm -f conftest.$ac_objext
|
1872 |
180 |
jeremybenn |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
1873 |
|
|
(eval $ac_compile) 2>conftest.er1
|
1874 |
148 |
jeremybenn |
ac_status=$?
|
1875 |
|
|
grep -v '^ *+' conftest.er1 >conftest.err
|
1876 |
|
|
rm -f conftest.er1
|
1877 |
|
|
cat conftest.err >&5
|
1878 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
1879 |
180 |
jeremybenn |
(exit $ac_status); } &&
|
1880 |
|
|
{ ac_try='test -z "$ac_c_werror_flag"
|
1881 |
|
|
|| test ! -s conftest.err'
|
1882 |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
1883 |
|
|
(eval $ac_try) 2>&5
|
1884 |
148 |
jeremybenn |
ac_status=$?
|
1885 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
1886 |
180 |
jeremybenn |
(exit $ac_status); }; } &&
|
1887 |
|
|
{ ac_try='test -s conftest.$ac_objext'
|
1888 |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
1889 |
|
|
(eval $ac_try) 2>&5
|
1890 |
148 |
jeremybenn |
ac_status=$?
|
1891 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
1892 |
180 |
jeremybenn |
(exit $ac_status); }; }; then
|
1893 |
148 |
jeremybenn |
ac_cv_prog_cc_g=yes
|
1894 |
|
|
else
|
1895 |
|
|
echo "$as_me: failed program was:" >&5
|
1896 |
|
|
sed 's/^/| /' conftest.$ac_ext >&5
|
1897 |
|
|
|
1898 |
180 |
jeremybenn |
ac_cv_prog_cc_g=no
|
1899 |
148 |
jeremybenn |
fi
|
1900 |
180 |
jeremybenn |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
1901 |
148 |
jeremybenn |
fi
|
1902 |
180 |
jeremybenn |
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
|
1903 |
|
|
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
|
1904 |
148 |
jeremybenn |
if test "$ac_test_CFLAGS" = set; then
|
1905 |
|
|
CFLAGS=$ac_save_CFLAGS
|
1906 |
|
|
elif test $ac_cv_prog_cc_g = yes; then
|
1907 |
|
|
if test "$GCC" = yes; then
|
1908 |
|
|
CFLAGS="-g -O2"
|
1909 |
|
|
else
|
1910 |
|
|
CFLAGS="-g"
|
1911 |
|
|
fi
|
1912 |
|
|
else
|
1913 |
|
|
if test "$GCC" = yes; then
|
1914 |
|
|
CFLAGS="-O2"
|
1915 |
|
|
else
|
1916 |
|
|
CFLAGS=
|
1917 |
|
|
fi
|
1918 |
|
|
fi
|
1919 |
|
|
if test "$ac_test_CFLAGS" = set; then
|
1920 |
|
|
CFLAGS="$ac_save_CFLAGS"
|
1921 |
|
|
elif test $ac_cv_prog_cc_g = yes; then
|
1922 |
|
|
CFLAGS="-g -O2"
|
1923 |
|
|
else
|
1924 |
|
|
CFLAGS="-O2"
|
1925 |
|
|
fi
|
1926 |
|
|
else
|
1927 |
|
|
GCC=
|
1928 |
|
|
test "${CFLAGS+set}" = set || CFLAGS="-g"
|
1929 |
|
|
fi
|
1930 |
|
|
|
1931 |
|
|
AS=${AS-as}
|
1932 |
|
|
|
1933 |
|
|
AR=${AR-ar}
|
1934 |
|
|
|
1935 |
|
|
LD=${LD-ld}
|
1936 |
|
|
|
1937 |
|
|
if test -n "$ac_tool_prefix"; then
|
1938 |
|
|
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
|
1939 |
|
|
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
|
1940 |
180 |
jeremybenn |
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
1941 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
1942 |
148 |
jeremybenn |
if test "${ac_cv_prog_RANLIB+set}" = set; then
|
1943 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
1944 |
|
|
else
|
1945 |
|
|
if test -n "$RANLIB"; then
|
1946 |
|
|
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
|
1947 |
|
|
else
|
1948 |
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
1949 |
|
|
for as_dir in $PATH
|
1950 |
|
|
do
|
1951 |
|
|
IFS=$as_save_IFS
|
1952 |
|
|
test -z "$as_dir" && as_dir=.
|
1953 |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
1954 |
180 |
jeremybenn |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
1955 |
148 |
jeremybenn |
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
|
1956 |
|
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
1957 |
|
|
break 2
|
1958 |
|
|
fi
|
1959 |
|
|
done
|
1960 |
|
|
done
|
1961 |
|
|
|
1962 |
|
|
fi
|
1963 |
|
|
fi
|
1964 |
|
|
RANLIB=$ac_cv_prog_RANLIB
|
1965 |
|
|
if test -n "$RANLIB"; then
|
1966 |
180 |
jeremybenn |
echo "$as_me:$LINENO: result: $RANLIB" >&5
|
1967 |
|
|
echo "${ECHO_T}$RANLIB" >&6
|
1968 |
148 |
jeremybenn |
else
|
1969 |
180 |
jeremybenn |
echo "$as_me:$LINENO: result: no" >&5
|
1970 |
|
|
echo "${ECHO_T}no" >&6
|
1971 |
148 |
jeremybenn |
fi
|
1972 |
|
|
|
1973 |
|
|
fi
|
1974 |
|
|
if test -z "$ac_cv_prog_RANLIB"; then
|
1975 |
|
|
ac_ct_RANLIB=$RANLIB
|
1976 |
|
|
# Extract the first word of "ranlib", so it can be a program name with args.
|
1977 |
|
|
set dummy ranlib; ac_word=$2
|
1978 |
180 |
jeremybenn |
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
1979 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
1980 |
148 |
jeremybenn |
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
|
1981 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
1982 |
|
|
else
|
1983 |
|
|
if test -n "$ac_ct_RANLIB"; then
|
1984 |
|
|
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
|
1985 |
|
|
else
|
1986 |
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
1987 |
|
|
for as_dir in $PATH
|
1988 |
|
|
do
|
1989 |
|
|
IFS=$as_save_IFS
|
1990 |
|
|
test -z "$as_dir" && as_dir=.
|
1991 |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
1992 |
180 |
jeremybenn |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
1993 |
148 |
jeremybenn |
ac_cv_prog_ac_ct_RANLIB="ranlib"
|
1994 |
|
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
1995 |
|
|
break 2
|
1996 |
|
|
fi
|
1997 |
|
|
done
|
1998 |
|
|
done
|
1999 |
|
|
|
2000 |
180 |
jeremybenn |
test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
|
2001 |
148 |
jeremybenn |
fi
|
2002 |
|
|
fi
|
2003 |
|
|
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
|
2004 |
|
|
if test -n "$ac_ct_RANLIB"; then
|
2005 |
180 |
jeremybenn |
echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
|
2006 |
|
|
echo "${ECHO_T}$ac_ct_RANLIB" >&6
|
2007 |
148 |
jeremybenn |
else
|
2008 |
180 |
jeremybenn |
echo "$as_me:$LINENO: result: no" >&5
|
2009 |
|
|
echo "${ECHO_T}no" >&6
|
2010 |
148 |
jeremybenn |
fi
|
2011 |
|
|
|
2012 |
180 |
jeremybenn |
RANLIB=$ac_ct_RANLIB
|
2013 |
148 |
jeremybenn |
else
|
2014 |
|
|
RANLIB="$ac_cv_prog_RANLIB"
|
2015 |
|
|
fi
|
2016 |
|
|
|
2017 |
|
|
# By default we simply use the C compiler to build assembly code.
|
2018 |
|
|
|
2019 |
|
|
test "${CCAS+set}" = set || CCAS=$CC
|
2020 |
|
|
test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
|
2021 |
|
|
|
2022 |
|
|
|
2023 |
|
|
|
2024 |
|
|
|
2025 |
|
|
host_makefile_frag=${srcdir}/../config/default.mh
|
2026 |
|
|
|
2027 |
|
|
host_makefile_frag_path=$host_makefile_frag
|
2028 |
|
|
|
2029 |
|
|
|
2030 |
|
|
|
2031 |
180 |
jeremybenn |
ac_config_files="$ac_config_files Makefile"
|
2032 |
148 |
jeremybenn |
|
2033 |
|
|
cat >confcache <<\_ACEOF
|
2034 |
|
|
# This file is a shell script that caches the results of configure
|
2035 |
|
|
# tests run on this system so they can be shared between configure
|
2036 |
|
|
# scripts and configure runs, see configure's option --config-cache.
|
2037 |
|
|
# It is not useful on other systems. If it contains results you don't
|
2038 |
|
|
# want to keep, you may remove or edit it.
|
2039 |
|
|
#
|
2040 |
|
|
# config.status only pays attention to the cache file if you give it
|
2041 |
|
|
# the --recheck option to rerun configure.
|
2042 |
|
|
#
|
2043 |
|
|
# `ac_cv_env_foo' variables (set or unset) will be overridden when
|
2044 |
|
|
# loading this file, other *unset* `ac_cv_foo' will be assigned the
|
2045 |
|
|
# following values.
|
2046 |
|
|
|
2047 |
|
|
_ACEOF
|
2048 |
|
|
|
2049 |
|
|
# The following way of writing the cache mishandles newlines in values,
|
2050 |
|
|
# but we know of no workaround that is simple, portable, and efficient.
|
2051 |
180 |
jeremybenn |
# So, don't put newlines in cache variables' values.
|
2052 |
148 |
jeremybenn |
# Ultrix sh set writes to stderr and can't be redirected directly,
|
2053 |
|
|
# and sets the high bit in the cache file unless we assign to the vars.
|
2054 |
180 |
jeremybenn |
{
|
2055 |
148 |
jeremybenn |
(set) 2>&1 |
|
2056 |
180 |
jeremybenn |
case `(ac_space=' '; set | grep ac_space) 2>&1` in
|
2057 |
|
|
*ac_space=\ *)
|
2058 |
148 |
jeremybenn |
# `set' does not quote correctly, so add quotes (double-quote
|
2059 |
|
|
# substitution turns \\\\ into \\, and sed turns \\ into \).
|
2060 |
|
|
sed -n \
|
2061 |
|
|
"s/'/'\\\\''/g;
|
2062 |
|
|
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
|
2063 |
180 |
jeremybenn |
;;
|
2064 |
148 |
jeremybenn |
*)
|
2065 |
|
|
# `set' quotes correctly as required by POSIX, so do not add quotes.
|
2066 |
180 |
jeremybenn |
sed -n \
|
2067 |
|
|
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
|
2068 |
148 |
jeremybenn |
;;
|
2069 |
180 |
jeremybenn |
esac;
|
2070 |
|
|
} |
|
2071 |
148 |
jeremybenn |
sed '
|
2072 |
|
|
t clear
|
2073 |
180 |
jeremybenn |
: clear
|
2074 |
148 |
jeremybenn |
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
|
2075 |
|
|
t end
|
2076 |
180 |
jeremybenn |
/^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
|
2077 |
|
|
: end' >>confcache
|
2078 |
|
|
if diff $cache_file confcache >/dev/null 2>&1; then :; else
|
2079 |
|
|
if test -w $cache_file; then
|
2080 |
|
|
test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
|
2081 |
148 |
jeremybenn |
cat confcache >$cache_file
|
2082 |
|
|
else
|
2083 |
180 |
jeremybenn |
echo "not updating unwritable cache $cache_file"
|
2084 |
148 |
jeremybenn |
fi
|
2085 |
|
|
fi
|
2086 |
|
|
rm -f confcache
|
2087 |
|
|
|
2088 |
|
|
test "x$prefix" = xNONE && prefix=$ac_default_prefix
|
2089 |
|
|
# Let make expand exec_prefix.
|
2090 |
|
|
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
|
2091 |
|
|
|
2092 |
180 |
jeremybenn |
# VPATH may cause trouble with some makes, so we remove $(srcdir),
|
2093 |
|
|
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
|
2094 |
|
|
# trailing colons and then remove the whole line if VPATH becomes empty
|
2095 |
|
|
# (actually we leave an empty line to preserve line numbers).
|
2096 |
|
|
if test "x$srcdir" = x.; then
|
2097 |
|
|
ac_vpsub='/^[ ]*VPATH[ ]*=/{
|
2098 |
|
|
s/:*\$(srcdir):*/:/;
|
2099 |
|
|
s/:*\${srcdir}:*/:/;
|
2100 |
|
|
s/:*@srcdir@:*/:/;
|
2101 |
|
|
s/^\([^=]*=[ ]*\):*/\1/;
|
2102 |
|
|
s/:*$//;
|
2103 |
|
|
s/^[^=]*=[ ]*$//;
|
2104 |
|
|
}'
|
2105 |
|
|
fi
|
2106 |
148 |
jeremybenn |
|
2107 |
180 |
jeremybenn |
DEFS=-DHAVE_CONFIG_H
|
2108 |
148 |
jeremybenn |
|
2109 |
|
|
ac_libobjs=
|
2110 |
|
|
ac_ltlibobjs=
|
2111 |
|
|
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
|
2112 |
|
|
# 1. Remove the extension, and $U if already installed.
|
2113 |
180 |
jeremybenn |
ac_i=`echo "$ac_i" |
|
2114 |
|
|
sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
|
2115 |
|
|
# 2. Add them.
|
2116 |
|
|
ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
|
2117 |
|
|
ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
|
2118 |
148 |
jeremybenn |
done
|
2119 |
|
|
LIBOBJS=$ac_libobjs
|
2120 |
|
|
|
2121 |
|
|
LTLIBOBJS=$ac_ltlibobjs
|
2122 |
|
|
|
2123 |
|
|
|
2124 |
|
|
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
|
2125 |
|
|
{ { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
|
2126 |
|
|
Usually this means the macro was only invoked conditionally." >&5
|
2127 |
|
|
echo "$as_me: error: conditional \"AMDEP\" was never defined.
|
2128 |
|
|
Usually this means the macro was only invoked conditionally." >&2;}
|
2129 |
|
|
{ (exit 1); exit 1; }; }
|
2130 |
|
|
fi
|
2131 |
|
|
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
|
2132 |
|
|
{ { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
|
2133 |
|
|
Usually this means the macro was only invoked conditionally." >&5
|
2134 |
|
|
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
|
2135 |
|
|
Usually this means the macro was only invoked conditionally." >&2;}
|
2136 |
|
|
{ (exit 1); exit 1; }; }
|
2137 |
|
|
fi
|
2138 |
|
|
|
2139 |
|
|
: ${CONFIG_STATUS=./config.status}
|
2140 |
|
|
ac_clean_files_save=$ac_clean_files
|
2141 |
|
|
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
|
2142 |
|
|
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
|
2143 |
|
|
echo "$as_me: creating $CONFIG_STATUS" >&6;}
|
2144 |
|
|
cat >$CONFIG_STATUS <<_ACEOF
|
2145 |
|
|
#! $SHELL
|
2146 |
|
|
# Generated by $as_me.
|
2147 |
|
|
# Run this file to recreate the current configuration.
|
2148 |
|
|
# Compiler output produced by configure, useful for debugging
|
2149 |
|
|
# configure, is in config.log if it exists.
|
2150 |
|
|
|
2151 |
|
|
debug=false
|
2152 |
|
|
ac_cs_recheck=false
|
2153 |
|
|
ac_cs_silent=false
|
2154 |
|
|
SHELL=\${CONFIG_SHELL-$SHELL}
|
2155 |
|
|
_ACEOF
|
2156 |
|
|
|
2157 |
|
|
cat >>$CONFIG_STATUS <<\_ACEOF
|
2158 |
|
|
## --------------------- ##
|
2159 |
|
|
## M4sh Initialization. ##
|
2160 |
|
|
## --------------------- ##
|
2161 |
|
|
|
2162 |
180 |
jeremybenn |
# Be Bourne compatible
|
2163 |
148 |
jeremybenn |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
2164 |
|
|
emulate sh
|
2165 |
|
|
NULLCMD=:
|
2166 |
|
|
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
|
2167 |
|
|
# is contrary to our usage. Disable this feature.
|
2168 |
|
|
alias -g '${1+"$@"}'='"$@"'
|
2169 |
180 |
jeremybenn |
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
|
2170 |
|
|
set -o posix
|
2171 |
148 |
jeremybenn |
fi
|
2172 |
180 |
jeremybenn |
DUALCASE=1; export DUALCASE # for MKS sh
|
2173 |
148 |
jeremybenn |
|
2174 |
|
|
# Support unset when possible.
|
2175 |
|
|
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
|
2176 |
|
|
as_unset=unset
|
2177 |
|
|
else
|
2178 |
|
|
as_unset=false
|
2179 |
|
|
fi
|
2180 |
|
|
|
2181 |
|
|
|
2182 |
|
|
# Work around bugs in pre-3.0 UWIN ksh.
|
2183 |
180 |
jeremybenn |
$as_unset ENV MAIL MAILPATH
|
2184 |
148 |
jeremybenn |
PS1='$ '
|
2185 |
|
|
PS2='> '
|
2186 |
|
|
PS4='+ '
|
2187 |
|
|
|
2188 |
|
|
# NLS nuisances.
|
2189 |
|
|
for as_var in \
|
2190 |
|
|
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
|
2191 |
|
|
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
|
2192 |
|
|
LC_TELEPHONE LC_TIME
|
2193 |
|
|
do
|
2194 |
|
|
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
|
2195 |
|
|
eval $as_var=C; export $as_var
|
2196 |
|
|
else
|
2197 |
180 |
jeremybenn |
$as_unset $as_var
|
2198 |
148 |
jeremybenn |
fi
|
2199 |
|
|
done
|
2200 |
|
|
|
2201 |
|
|
# Required to use basename.
|
2202 |
180 |
jeremybenn |
if expr a : '\(a\)' >/dev/null 2>&1; then
|
2203 |
148 |
jeremybenn |
as_expr=expr
|
2204 |
|
|
else
|
2205 |
|
|
as_expr=false
|
2206 |
|
|
fi
|
2207 |
|
|
|
2208 |
180 |
jeremybenn |
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
|
2209 |
148 |
jeremybenn |
as_basename=basename
|
2210 |
|
|
else
|
2211 |
|
|
as_basename=false
|
2212 |
|
|
fi
|
2213 |
|
|
|
2214 |
|
|
|
2215 |
|
|
# Name of the executable.
|
2216 |
180 |
jeremybenn |
as_me=`$as_basename "$0" ||
|
2217 |
148 |
jeremybenn |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
2218 |
|
|
X"$0" : 'X\(//\)$' \| \
|
2219 |
180 |
jeremybenn |
X"$0" : 'X\(/\)$' \| \
|
2220 |
|
|
. : '\(.\)' 2>/dev/null ||
|
2221 |
148 |
jeremybenn |
echo X/"$0" |
|
2222 |
180 |
jeremybenn |
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
|
2223 |
|
|
/^X\/\(\/\/\)$/{ s//\1/; q; }
|
2224 |
|
|
/^X\/\(\/\).*/{ s//\1/; q; }
|
2225 |
|
|
s/.*/./; q'`
|
2226 |
148 |
jeremybenn |
|
2227 |
|
|
|
2228 |
180 |
jeremybenn |
# PATH needs CR, and LINENO needs CR and PATH.
|
2229 |
|
|
# Avoid depending upon Character Ranges.
|
2230 |
|
|
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
2231 |
|
|
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
2232 |
|
|
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
|
2233 |
|
|
as_cr_digits='0123456789'
|
2234 |
|
|
as_cr_alnum=$as_cr_Letters$as_cr_digits
|
2235 |
148 |
jeremybenn |
|
2236 |
180 |
jeremybenn |
# The user is always right.
|
2237 |
|
|
if test "${PATH_SEPARATOR+set}" != set; then
|
2238 |
|
|
echo "#! /bin/sh" >conf$$.sh
|
2239 |
|
|
echo "exit 0" >>conf$$.sh
|
2240 |
|
|
chmod +x conf$$.sh
|
2241 |
|
|
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
|
2242 |
|
|
PATH_SEPARATOR=';'
|
2243 |
|
|
else
|
2244 |
|
|
PATH_SEPARATOR=:
|
2245 |
|
|
fi
|
2246 |
|
|
rm -f conf$$.sh
|
2247 |
|
|
fi
|
2248 |
148 |
jeremybenn |
|
2249 |
180 |
jeremybenn |
|
2250 |
148 |
jeremybenn |
as_lineno_1=$LINENO
|
2251 |
|
|
as_lineno_2=$LINENO
|
2252 |
180 |
jeremybenn |
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
|
2253 |
148 |
jeremybenn |
test "x$as_lineno_1" != "x$as_lineno_2" &&
|
2254 |
180 |
jeremybenn |
test "x$as_lineno_3" = "x$as_lineno_2" || {
|
2255 |
|
|
# Find who we are. Look in the path if we contain no path at all
|
2256 |
|
|
# relative or not.
|
2257 |
|
|
case $0 in
|
2258 |
|
|
*[\\/]* ) as_myself=$0 ;;
|
2259 |
|
|
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
2260 |
|
|
for as_dir in $PATH
|
2261 |
|
|
do
|
2262 |
|
|
IFS=$as_save_IFS
|
2263 |
|
|
test -z "$as_dir" && as_dir=.
|
2264 |
|
|
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
2265 |
|
|
done
|
2266 |
148 |
jeremybenn |
|
2267 |
180 |
jeremybenn |
;;
|
2268 |
|
|
esac
|
2269 |
|
|
# We did not find ourselves, most probably we were run as `sh COMMAND'
|
2270 |
|
|
# in which case we are not to be found in the path.
|
2271 |
|
|
if test "x$as_myself" = x; then
|
2272 |
|
|
as_myself=$0
|
2273 |
|
|
fi
|
2274 |
|
|
if test ! -f "$as_myself"; then
|
2275 |
|
|
{ { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
|
2276 |
|
|
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
|
2277 |
|
|
{ (exit 1); exit 1; }; }
|
2278 |
|
|
fi
|
2279 |
|
|
case $CONFIG_SHELL in
|
2280 |
|
|
'')
|
2281 |
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
2282 |
|
|
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
|
2283 |
|
|
do
|
2284 |
|
|
IFS=$as_save_IFS
|
2285 |
|
|
test -z "$as_dir" && as_dir=.
|
2286 |
|
|
for as_base in sh bash ksh sh5; do
|
2287 |
|
|
case $as_dir in
|
2288 |
|
|
/*)
|
2289 |
|
|
if ("$as_dir/$as_base" -c '
|
2290 |
|
|
as_lineno_1=$LINENO
|
2291 |
|
|
as_lineno_2=$LINENO
|
2292 |
|
|
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
|
2293 |
|
|
test "x$as_lineno_1" != "x$as_lineno_2" &&
|
2294 |
|
|
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
|
2295 |
|
|
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
|
2296 |
|
|
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
|
2297 |
|
|
CONFIG_SHELL=$as_dir/$as_base
|
2298 |
|
|
export CONFIG_SHELL
|
2299 |
|
|
exec "$CONFIG_SHELL" "$0" ${1+"$@"}
|
2300 |
|
|
fi;;
|
2301 |
|
|
esac
|
2302 |
|
|
done
|
2303 |
|
|
done
|
2304 |
|
|
;;
|
2305 |
|
|
esac
|
2306 |
|
|
|
2307 |
148 |
jeremybenn |
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
|
2308 |
|
|
# uniformly replaced by the line number. The first 'sed' inserts a
|
2309 |
180 |
jeremybenn |
# line-number line before each line; the second 'sed' does the real
|
2310 |
|
|
# work. The second script uses 'N' to pair each line-number line
|
2311 |
|
|
# with the numbered line, and appends trailing '-' during
|
2312 |
|
|
# substitution so that $LINENO is not a special case at line end.
|
2313 |
148 |
jeremybenn |
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
|
2314 |
180 |
jeremybenn |
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
|
2315 |
|
|
sed '=' <$as_myself |
|
2316 |
148 |
jeremybenn |
sed '
|
2317 |
|
|
N
|
2318 |
180 |
jeremybenn |
s,$,-,
|
2319 |
|
|
: loop
|
2320 |
|
|
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
|
2321 |
148 |
jeremybenn |
t loop
|
2322 |
180 |
jeremybenn |
s,-$,,
|
2323 |
|
|
s,^['$as_cr_digits']*\n,,
|
2324 |
148 |
jeremybenn |
' >$as_me.lineno &&
|
2325 |
180 |
jeremybenn |
chmod +x $as_me.lineno ||
|
2326 |
|
|
{ { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
|
2327 |
|
|
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
|
2328 |
148 |
jeremybenn |
{ (exit 1); exit 1; }; }
|
2329 |
|
|
|
2330 |
|
|
# Don't try to exec as it changes $[0], causing all sort of problems
|
2331 |
|
|
# (the dirname of $[0] is not the place where we might find the
|
2332 |
180 |
jeremybenn |
# original and so on. Autoconf is especially sensible to this).
|
2333 |
|
|
. ./$as_me.lineno
|
2334 |
148 |
jeremybenn |
# Exit status is that of the last command.
|
2335 |
|
|
exit
|
2336 |
|
|
}
|
2337 |
|
|
|
2338 |
|
|
|
2339 |
180 |
jeremybenn |
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
|
2340 |
|
|
*c*,-n*) ECHO_N= ECHO_C='
|
2341 |
|
|
' ECHO_T=' ' ;;
|
2342 |
|
|
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
|
2343 |
|
|
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
|
2344 |
148 |
jeremybenn |
esac
|
2345 |
|
|
|
2346 |
180 |
jeremybenn |
if expr a : '\(a\)' >/dev/null 2>&1; then
|
2347 |
148 |
jeremybenn |
as_expr=expr
|
2348 |
|
|
else
|
2349 |
|
|
as_expr=false
|
2350 |
|
|
fi
|
2351 |
|
|
|
2352 |
|
|
rm -f conf$$ conf$$.exe conf$$.file
|
2353 |
|
|
echo >conf$$.file
|
2354 |
|
|
if ln -s conf$$.file conf$$ 2>/dev/null; then
|
2355 |
180 |
jeremybenn |
# We could just check for DJGPP; but this test a) works b) is more generic
|
2356 |
|
|
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
|
2357 |
|
|
if test -f conf$$.exe; then
|
2358 |
|
|
# Don't use ln at all; we don't have any links
|
2359 |
148 |
jeremybenn |
as_ln_s='cp -p'
|
2360 |
180 |
jeremybenn |
else
|
2361 |
|
|
as_ln_s='ln -s'
|
2362 |
|
|
fi
|
2363 |
148 |
jeremybenn |
elif ln conf$$.file conf$$ 2>/dev/null; then
|
2364 |
|
|
as_ln_s=ln
|
2365 |
|
|
else
|
2366 |
|
|
as_ln_s='cp -p'
|
2367 |
|
|
fi
|
2368 |
180 |
jeremybenn |
rm -f conf$$ conf$$.exe conf$$.file
|
2369 |
148 |
jeremybenn |
|
2370 |
|
|
if mkdir -p . 2>/dev/null; then
|
2371 |
|
|
as_mkdir_p=:
|
2372 |
|
|
else
|
2373 |
|
|
test -d ./-p && rmdir ./-p
|
2374 |
|
|
as_mkdir_p=false
|
2375 |
|
|
fi
|
2376 |
|
|
|
2377 |
180 |
jeremybenn |
as_executable_p="test -f"
|
2378 |
148 |
jeremybenn |
|
2379 |
|
|
# Sed expression to map a string onto a valid CPP name.
|
2380 |
|
|
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
|
2381 |
|
|
|
2382 |
|
|
# Sed expression to map a string onto a valid variable name.
|
2383 |
|
|
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
|
2384 |
|
|
|
2385 |
|
|
|
2386 |
180 |
jeremybenn |
# IFS
|
2387 |
|
|
# We need space, tab and new line, in precisely that order.
|
2388 |
|
|
as_nl='
|
2389 |
|
|
'
|
2390 |
|
|
IFS=" $as_nl"
|
2391 |
|
|
|
2392 |
|
|
# CDPATH.
|
2393 |
|
|
$as_unset CDPATH
|
2394 |
|
|
|
2395 |
148 |
jeremybenn |
exec 6>&1
|
2396 |
|
|
|
2397 |
180 |
jeremybenn |
# Open the log real soon, to keep \$[0] and so on meaningful, and to
|
2398 |
148 |
jeremybenn |
# report actual input values of CONFIG_FILES etc. instead of their
|
2399 |
180 |
jeremybenn |
# values after options handling. Logging --version etc. is OK.
|
2400 |
|
|
exec 5>>config.log
|
2401 |
|
|
{
|
2402 |
|
|
echo
|
2403 |
|
|
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
|
2404 |
|
|
## Running $as_me. ##
|
2405 |
|
|
_ASBOX
|
2406 |
|
|
} >&5
|
2407 |
|
|
cat >&5 <<_CSEOF
|
2408 |
148 |
jeremybenn |
|
2409 |
180 |
jeremybenn |
This file was extended by libor32.a $as_me 0.2.0, which was
|
2410 |
|
|
generated by GNU Autoconf 2.59. Invocation command line was
|
2411 |
|
|
|
2412 |
148 |
jeremybenn |
CONFIG_FILES = $CONFIG_FILES
|
2413 |
|
|
CONFIG_HEADERS = $CONFIG_HEADERS
|
2414 |
|
|
CONFIG_LINKS = $CONFIG_LINKS
|
2415 |
|
|
CONFIG_COMMANDS = $CONFIG_COMMANDS
|
2416 |
|
|
$ $0 $@
|
2417 |
|
|
|
2418 |
180 |
jeremybenn |
_CSEOF
|
2419 |
|
|
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
|
2420 |
|
|
echo >&5
|
2421 |
148 |
jeremybenn |
_ACEOF
|
2422 |
|
|
|
2423 |
|
|
# Files that config.status was made for.
|
2424 |
180 |
jeremybenn |
if test -n "$ac_config_files"; then
|
2425 |
|
|
echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
|
2426 |
|
|
fi
|
2427 |
148 |
jeremybenn |
|
2428 |
180 |
jeremybenn |
if test -n "$ac_config_headers"; then
|
2429 |
|
|
echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
|
2430 |
|
|
fi
|
2431 |
148 |
jeremybenn |
|
2432 |
180 |
jeremybenn |
if test -n "$ac_config_links"; then
|
2433 |
|
|
echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
|
2434 |
|
|
fi
|
2435 |
|
|
|
2436 |
|
|
if test -n "$ac_config_commands"; then
|
2437 |
|
|
echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
|
2438 |
|
|
fi
|
2439 |
|
|
|
2440 |
148 |
jeremybenn |
cat >>$CONFIG_STATUS <<\_ACEOF
|
2441 |
180 |
jeremybenn |
|
2442 |
148 |
jeremybenn |
ac_cs_usage="\
|
2443 |
|
|
\`$as_me' instantiates files from templates according to the
|
2444 |
|
|
current configuration.
|
2445 |
|
|
|
2446 |
|
|
Usage: $0 [OPTIONS] [FILE]...
|
2447 |
|
|
|
2448 |
|
|
-h, --help print this help, then exit
|
2449 |
180 |
jeremybenn |
-V, --version print version number, then exit
|
2450 |
148 |
jeremybenn |
-q, --quiet do not print progress messages
|
2451 |
|
|
-d, --debug don't remove temporary files
|
2452 |
|
|
--recheck update $as_me by reconfiguring in the same conditions
|
2453 |
|
|
--file=FILE[:TEMPLATE]
|
2454 |
|
|
instantiate the configuration file FILE
|
2455 |
180 |
jeremybenn |
--header=FILE[:TEMPLATE]
|
2456 |
|
|
instantiate the configuration header FILE
|
2457 |
148 |
jeremybenn |
|
2458 |
|
|
Configuration files:
|
2459 |
|
|
$config_files
|
2460 |
|
|
|
2461 |
180 |
jeremybenn |
Configuration headers:
|
2462 |
|
|
$config_headers
|
2463 |
|
|
|
2464 |
148 |
jeremybenn |
Configuration commands:
|
2465 |
|
|
$config_commands
|
2466 |
|
|
|
2467 |
|
|
Report bugs to ."
|
2468 |
180 |
jeremybenn |
_ACEOF
|
2469 |
148 |
jeremybenn |
|
2470 |
|
|
cat >>$CONFIG_STATUS <<_ACEOF
|
2471 |
|
|
ac_cs_version="\\
|
2472 |
180 |
jeremybenn |
libor32.a config.status 0.2.0
|
2473 |
|
|
configured by $0, generated by GNU Autoconf 2.59,
|
2474 |
|
|
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
|
2475 |
148 |
jeremybenn |
|
2476 |
180 |
jeremybenn |
Copyright (C) 2003 Free Software Foundation, Inc.
|
2477 |
148 |
jeremybenn |
This config.status script is free software; the Free Software Foundation
|
2478 |
|
|
gives unlimited permission to copy, distribute and modify it."
|
2479 |
180 |
jeremybenn |
srcdir=$srcdir
|
2480 |
|
|
INSTALL="$INSTALL"
|
2481 |
148 |
jeremybenn |
_ACEOF
|
2482 |
|
|
|
2483 |
|
|
cat >>$CONFIG_STATUS <<\_ACEOF
|
2484 |
|
|
# If no file are specified by the user, then we need to provide default
|
2485 |
|
|
# value. By we need to know if files were specified by the user.
|
2486 |
|
|
ac_need_defaults=:
|
2487 |
|
|
while test $# != 0
|
2488 |
|
|
do
|
2489 |
|
|
case $1 in
|
2490 |
|
|
--*=*)
|
2491 |
180 |
jeremybenn |
ac_option=`expr "x$1" : 'x\([^=]*\)='`
|
2492 |
|
|
ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
|
2493 |
148 |
jeremybenn |
ac_shift=:
|
2494 |
|
|
;;
|
2495 |
180 |
jeremybenn |
-*)
|
2496 |
148 |
jeremybenn |
ac_option=$1
|
2497 |
|
|
ac_optarg=$2
|
2498 |
|
|
ac_shift=shift
|
2499 |
|
|
;;
|
2500 |
180 |
jeremybenn |
*) # This is not an option, so the user has probably given explicit
|
2501 |
|
|
# arguments.
|
2502 |
|
|
ac_option=$1
|
2503 |
|
|
ac_need_defaults=false;;
|
2504 |
148 |
jeremybenn |
esac
|
2505 |
|
|
|
2506 |
|
|
case $ac_option in
|
2507 |
|
|
# Handling of the options.
|
2508 |
180 |
jeremybenn |
_ACEOF
|
2509 |
|
|
cat >>$CONFIG_STATUS <<\_ACEOF
|
2510 |
148 |
jeremybenn |
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
|
2511 |
|
|
ac_cs_recheck=: ;;
|
2512 |
180 |
jeremybenn |
--version | --vers* | -V )
|
2513 |
|
|
echo "$ac_cs_version"; exit 0 ;;
|
2514 |
|
|
--he | --h)
|
2515 |
|
|
# Conflict between --help and --header
|
2516 |
|
|
{ { echo "$as_me:$LINENO: error: ambiguous option: $1
|
2517 |
|
|
Try \`$0 --help' for more information." >&5
|
2518 |
|
|
echo "$as_me: error: ambiguous option: $1
|
2519 |
|
|
Try \`$0 --help' for more information." >&2;}
|
2520 |
|
|
{ (exit 1); exit 1; }; };;
|
2521 |
|
|
--help | --hel | -h )
|
2522 |
|
|
echo "$ac_cs_usage"; exit 0 ;;
|
2523 |
|
|
--debug | --d* | -d )
|
2524 |
148 |
jeremybenn |
debug=: ;;
|
2525 |
|
|
--file | --fil | --fi | --f )
|
2526 |
|
|
$ac_shift
|
2527 |
|
|
CONFIG_FILES="$CONFIG_FILES $ac_optarg"
|
2528 |
|
|
ac_need_defaults=false;;
|
2529 |
180 |
jeremybenn |
--header | --heade | --head | --hea )
|
2530 |
|
|
$ac_shift
|
2531 |
|
|
CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
|
2532 |
|
|
ac_need_defaults=false;;
|
2533 |
148 |
jeremybenn |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
2534 |
|
|
| -silent | --silent | --silen | --sile | --sil | --si | --s)
|
2535 |
|
|
ac_cs_silent=: ;;
|
2536 |
|
|
|
2537 |
|
|
# This is an error.
|
2538 |
180 |
jeremybenn |
-*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
|
2539 |
|
|
Try \`$0 --help' for more information." >&5
|
2540 |
|
|
echo "$as_me: error: unrecognized option: $1
|
2541 |
|
|
Try \`$0 --help' for more information." >&2;}
|
2542 |
148 |
jeremybenn |
{ (exit 1); exit 1; }; } ;;
|
2543 |
|
|
|
2544 |
180 |
jeremybenn |
*) ac_config_targets="$ac_config_targets $1" ;;
|
2545 |
148 |
jeremybenn |
|
2546 |
|
|
esac
|
2547 |
|
|
shift
|
2548 |
|
|
done
|
2549 |
|
|
|
2550 |
|
|
ac_configure_extra_args=
|
2551 |
|
|
|
2552 |
|
|
if $ac_cs_silent; then
|
2553 |
|
|
exec 6>/dev/null
|
2554 |
|
|
ac_configure_extra_args="$ac_configure_extra_args --silent"
|
2555 |
|
|
fi
|
2556 |
|
|
|
2557 |
|
|
_ACEOF
|
2558 |
|
|
cat >>$CONFIG_STATUS <<_ACEOF
|
2559 |
|
|
if \$ac_cs_recheck; then
|
2560 |
180 |
jeremybenn |
echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
|
2561 |
|
|
exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
|
2562 |
148 |
jeremybenn |
fi
|
2563 |
|
|
|
2564 |
|
|
_ACEOF
|
2565 |
|
|
|
2566 |
|
|
cat >>$CONFIG_STATUS <<_ACEOF
|
2567 |
|
|
#
|
2568 |
180 |
jeremybenn |
# INIT-COMMANDS section.
|
2569 |
148 |
jeremybenn |
#
|
2570 |
180 |
jeremybenn |
|
2571 |
148 |
jeremybenn |
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
|
2572 |
180 |
jeremybenn |
srcdir=${srcdir}
|
2573 |
|
|
target=${target}
|
2574 |
|
|
with_multisubdir=${with_multisubdir}
|
2575 |
|
|
ac_configure_args="${ac_configure_args} --enable-multilib"
|
2576 |
|
|
CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
|
2577 |
|
|
libgloss_topdir=${libgloss_topdir}
|
2578 |
148 |
jeremybenn |
|
2579 |
|
|
_ACEOF
|
2580 |
|
|
|
2581 |
180 |
jeremybenn |
|
2582 |
|
|
|
2583 |
148 |
jeremybenn |
cat >>$CONFIG_STATUS <<\_ACEOF
|
2584 |
|
|
for ac_config_target in $ac_config_targets
|
2585 |
|
|
do
|
2586 |
180 |
jeremybenn |
case "$ac_config_target" in
|
2587 |
|
|
# Handling of arguments.
|
2588 |
|
|
"Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
|
2589 |
|
|
"depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
|
2590 |
|
|
"config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
|
2591 |
148 |
jeremybenn |
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
|
2592 |
|
|
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
|
2593 |
|
|
{ (exit 1); exit 1; }; };;
|
2594 |
|
|
esac
|
2595 |
|
|
done
|
2596 |
|
|
|
2597 |
|
|
# If the user did not use the arguments to specify the items to instantiate,
|
2598 |
|
|
# then the envvar interface is used. Set only those that are not.
|
2599 |
|
|
# We use the long form for the default assignment because of an extremely
|
2600 |
|
|
# bizarre bug on SunOS 4.1.3.
|
2601 |
|
|
if $ac_need_defaults; then
|
2602 |
|
|
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
|
2603 |
180 |
jeremybenn |
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
|
2604 |
148 |
jeremybenn |
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
|
2605 |
|
|
fi
|
2606 |
|
|
|
2607 |
|
|
# Have a temporary directory for convenience. Make it in the build tree
|
2608 |
180 |
jeremybenn |
# simply because there is no reason to put it here, and in addition,
|
2609 |
148 |
jeremybenn |
# creating and moving files from /tmp can sometimes cause problems.
|
2610 |
180 |
jeremybenn |
# Create a temporary directory, and hook for its removal unless debugging.
|
2611 |
148 |
jeremybenn |
$debug ||
|
2612 |
|
|
{
|
2613 |
180 |
jeremybenn |
trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
|
2614 |
148 |
jeremybenn |
trap '{ (exit 1); exit 1; }' 1 2 13 15
|
2615 |
|
|
}
|
2616 |
180 |
jeremybenn |
|
2617 |
148 |
jeremybenn |
# Create a (secure) tmp directory for tmp files.
|
2618 |
|
|
|
2619 |
|
|
{
|
2620 |
180 |
jeremybenn |
tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
|
2621 |
148 |
jeremybenn |
test -n "$tmp" && test -d "$tmp"
|
2622 |
|
|
} ||
|
2623 |
|
|
{
|
2624 |
180 |
jeremybenn |
tmp=./confstat$$-$RANDOM
|
2625 |
|
|
(umask 077 && mkdir $tmp)
|
2626 |
148 |
jeremybenn |
} ||
|
2627 |
|
|
{
|
2628 |
|
|
echo "$me: cannot create a temporary directory in ." >&2
|
2629 |
|
|
{ (exit 1); exit 1; }
|
2630 |
|
|
}
|
2631 |
|
|
|
2632 |
180 |
jeremybenn |
_ACEOF
|
2633 |
|
|
|
2634 |
|
|
cat >>$CONFIG_STATUS <<_ACEOF
|
2635 |
|
|
|
2636 |
148 |
jeremybenn |
#
|
2637 |
180 |
jeremybenn |
# CONFIG_FILES section.
|
2638 |
148 |
jeremybenn |
#
|
2639 |
|
|
|
2640 |
|
|
# No need to generate the scripts if there are no CONFIG_FILES.
|
2641 |
|
|
# This happens for instance when ./config.status config.h
|
2642 |
180 |
jeremybenn |
if test -n "\$CONFIG_FILES"; then
|
2643 |
|
|
# Protect against being on the right side of a sed subst in config.status.
|
2644 |
|
|
sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
|
2645 |
|
|
s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
|
2646 |
|
|
s,@SHELL@,$SHELL,;t t
|
2647 |
|
|
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
|
2648 |
|
|
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
|
2649 |
|
|
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
|
2650 |
|
|
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
|
2651 |
|
|
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
|
2652 |
|
|
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
|
2653 |
|
|
s,@exec_prefix@,$exec_prefix,;t t
|
2654 |
|
|
s,@prefix@,$prefix,;t t
|
2655 |
|
|
s,@program_transform_name@,$program_transform_name,;t t
|
2656 |
|
|
s,@bindir@,$bindir,;t t
|
2657 |
|
|
s,@sbindir@,$sbindir,;t t
|
2658 |
|
|
s,@libexecdir@,$libexecdir,;t t
|
2659 |
|
|
s,@datadir@,$datadir,;t t
|
2660 |
|
|
s,@sysconfdir@,$sysconfdir,;t t
|
2661 |
|
|
s,@sharedstatedir@,$sharedstatedir,;t t
|
2662 |
|
|
s,@localstatedir@,$localstatedir,;t t
|
2663 |
|
|
s,@libdir@,$libdir,;t t
|
2664 |
|
|
s,@includedir@,$includedir,;t t
|
2665 |
|
|
s,@oldincludedir@,$oldincludedir,;t t
|
2666 |
|
|
s,@infodir@,$infodir,;t t
|
2667 |
|
|
s,@mandir@,$mandir,;t t
|
2668 |
|
|
s,@build_alias@,$build_alias,;t t
|
2669 |
|
|
s,@host_alias@,$host_alias,;t t
|
2670 |
|
|
s,@target_alias@,$target_alias,;t t
|
2671 |
|
|
s,@DEFS@,$DEFS,;t t
|
2672 |
|
|
s,@ECHO_C@,$ECHO_C,;t t
|
2673 |
|
|
s,@ECHO_N@,$ECHO_N,;t t
|
2674 |
|
|
s,@ECHO_T@,$ECHO_T,;t t
|
2675 |
|
|
s,@LIBS@,$LIBS,;t t
|
2676 |
|
|
s,@build@,$build,;t t
|
2677 |
|
|
s,@build_cpu@,$build_cpu,;t t
|
2678 |
|
|
s,@build_vendor@,$build_vendor,;t t
|
2679 |
|
|
s,@build_os@,$build_os,;t t
|
2680 |
|
|
s,@host@,$host,;t t
|
2681 |
|
|
s,@host_cpu@,$host_cpu,;t t
|
2682 |
|
|
s,@host_vendor@,$host_vendor,;t t
|
2683 |
|
|
s,@host_os@,$host_os,;t t
|
2684 |
|
|
s,@target@,$target,;t t
|
2685 |
|
|
s,@target_cpu@,$target_cpu,;t t
|
2686 |
|
|
s,@target_vendor@,$target_vendor,;t t
|
2687 |
|
|
s,@target_os@,$target_os,;t t
|
2688 |
|
|
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
|
2689 |
|
|
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
|
2690 |
|
|
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
|
2691 |
|
|
s,@CC@,$CC,;t t
|
2692 |
|
|
s,@am__leading_dot@,$am__leading_dot,;t t
|
2693 |
|
|
s,@DEPDIR@,$DEPDIR,;t t
|
2694 |
|
|
s,@am__include@,$am__include,;t t
|
2695 |
|
|
s,@am__quote@,$am__quote,;t t
|
2696 |
|
|
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
|
2697 |
|
|
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
|
2698 |
|
|
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
|
2699 |
|
|
s,@CCDEPMODE@,$CCDEPMODE,;t t
|
2700 |
|
|
s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
|
2701 |
|
|
s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
|
2702 |
|
|
s,@AS@,$AS,;t t
|
2703 |
|
|
s,@AR@,$AR,;t t
|
2704 |
|
|
s,@LD@,$LD,;t t
|
2705 |
|
|
s,@RANLIB@,$RANLIB,;t t
|
2706 |
|
|
s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
|
2707 |
|
|
s,@CCAS@,$CCAS,;t t
|
2708 |
|
|
s,@CCASFLAGS@,$CCASFLAGS,;t t
|
2709 |
|
|
s,@host_makefile_frag_path@,$host_makefile_frag_path,;t t
|
2710 |
|
|
s,@LIBOBJS@,$LIBOBJS,;t t
|
2711 |
|
|
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
|
2712 |
|
|
/@host_makefile_frag@/r $host_makefile_frag
|
2713 |
|
|
s,@host_makefile_frag@,,;t t
|
2714 |
|
|
CEOF
|
2715 |
148 |
jeremybenn |
|
2716 |
|
|
_ACEOF
|
2717 |
|
|
|
2718 |
180 |
jeremybenn |
cat >>$CONFIG_STATUS <<\_ACEOF
|
2719 |
|
|
# Split the substitutions into bite-sized pieces for seds with
|
2720 |
|
|
# small command number limits, like on Digital OSF/1 and HP-UX.
|
2721 |
|
|
ac_max_sed_lines=48
|
2722 |
|
|
ac_sed_frag=1 # Number of current file.
|
2723 |
|
|
ac_beg=1 # First line for current file.
|
2724 |
|
|
ac_end=$ac_max_sed_lines # Line after last line for current file.
|
2725 |
|
|
ac_more_lines=:
|
2726 |
|
|
ac_sed_cmds=
|
2727 |
|
|
while $ac_more_lines; do
|
2728 |
|
|
if test $ac_beg -gt 1; then
|
2729 |
|
|
sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
|
2730 |
|
|
else
|
2731 |
|
|
sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
|
2732 |
|
|
fi
|
2733 |
|
|
if test ! -s $tmp/subs.frag; then
|
2734 |
|
|
ac_more_lines=false
|
2735 |
|
|
else
|
2736 |
|
|
# The purpose of the label and of the branching condition is to
|
2737 |
|
|
# speed up the sed processing (if there are no `@' at all, there
|
2738 |
|
|
# is no need to browse any of the substitutions).
|
2739 |
|
|
# These are the two extra sed commands mentioned above.
|
2740 |
|
|
(echo ':t
|
2741 |
|
|
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
|
2742 |
|
|
if test -z "$ac_sed_cmds"; then
|
2743 |
|
|
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
|
2744 |
|
|
else
|
2745 |
|
|
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
|
2746 |
|
|
fi
|
2747 |
|
|
ac_sed_frag=`expr $ac_sed_frag + 1`
|
2748 |
|
|
ac_beg=$ac_end
|
2749 |
|
|
ac_end=`expr $ac_end + $ac_max_sed_lines`
|
2750 |
|
|
fi
|
2751 |
|
|
done
|
2752 |
|
|
if test -z "$ac_sed_cmds"; then
|
2753 |
|
|
ac_sed_cmds=cat
|
2754 |
148 |
jeremybenn |
fi
|
2755 |
180 |
jeremybenn |
fi # test -n "$CONFIG_FILES"
|
2756 |
148 |
jeremybenn |
|
2757 |
|
|
_ACEOF
|
2758 |
|
|
cat >>$CONFIG_STATUS <<\_ACEOF
|
2759 |
180 |
jeremybenn |
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
|
2760 |
|
|
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
|
2761 |
|
|
case $ac_file in
|
2762 |
|
|
- | *:- | *:-:* ) # input from stdin
|
2763 |
|
|
cat >$tmp/stdin
|
2764 |
|
|
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
|
2765 |
|
|
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
|
2766 |
|
|
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
|
2767 |
|
|
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
|
2768 |
|
|
* ) ac_file_in=$ac_file.in ;;
|
2769 |
148 |
jeremybenn |
esac
|
2770 |
|
|
|
2771 |
180 |
jeremybenn |
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
|
2772 |
|
|
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
|
2773 |
148 |
jeremybenn |
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
2774 |
|
|
X"$ac_file" : 'X\(//\)[^/]' \| \
|
2775 |
|
|
X"$ac_file" : 'X\(//\)$' \| \
|
2776 |
180 |
jeremybenn |
X"$ac_file" : 'X\(/\)' \| \
|
2777 |
|
|
. : '\(.\)' 2>/dev/null ||
|
2778 |
148 |
jeremybenn |
echo X"$ac_file" |
|
2779 |
180 |
jeremybenn |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
2780 |
|
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
2781 |
|
|
/^X\(\/\/\)$/{ s//\1/; q; }
|
2782 |
|
|
/^X\(\/\).*/{ s//\1/; q; }
|
2783 |
|
|
s/.*/./; q'`
|
2784 |
|
|
{ if $as_mkdir_p; then
|
2785 |
|
|
mkdir -p "$ac_dir"
|
2786 |
|
|
else
|
2787 |
|
|
as_dir="$ac_dir"
|
2788 |
148 |
jeremybenn |
as_dirs=
|
2789 |
180 |
jeremybenn |
while test ! -d "$as_dir"; do
|
2790 |
|
|
as_dirs="$as_dir $as_dirs"
|
2791 |
|
|
as_dir=`(dirname "$as_dir") 2>/dev/null ||
|
2792 |
148 |
jeremybenn |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
2793 |
|
|
X"$as_dir" : 'X\(//\)[^/]' \| \
|
2794 |
|
|
X"$as_dir" : 'X\(//\)$' \| \
|
2795 |
180 |
jeremybenn |
X"$as_dir" : 'X\(/\)' \| \
|
2796 |
|
|
. : '\(.\)' 2>/dev/null ||
|
2797 |
148 |
jeremybenn |
echo X"$as_dir" |
|
2798 |
180 |
jeremybenn |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
2799 |
|
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
2800 |
|
|
/^X\(\/\/\)$/{ s//\1/; q; }
|
2801 |
|
|
/^X\(\/\).*/{ s//\1/; q; }
|
2802 |
|
|
s/.*/./; q'`
|
2803 |
148 |
jeremybenn |
done
|
2804 |
180 |
jeremybenn |
test ! -n "$as_dirs" || mkdir $as_dirs
|
2805 |
|
|
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
|
2806 |
|
|
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
|
2807 |
148 |
jeremybenn |
{ (exit 1); exit 1; }; }; }
|
2808 |
180 |
jeremybenn |
|
2809 |
148 |
jeremybenn |
ac_builddir=.
|
2810 |
|
|
|
2811 |
180 |
jeremybenn |
if test "$ac_dir" != .; then
|
2812 |
148 |
jeremybenn |
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
|
2813 |
180 |
jeremybenn |
# A "../" for each directory in $ac_dir_suffix.
|
2814 |
|
|
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
|
2815 |
|
|
else
|
2816 |
|
|
ac_dir_suffix= ac_top_builddir=
|
2817 |
|
|
fi
|
2818 |
148 |
jeremybenn |
|
2819 |
|
|
case $srcdir in
|
2820 |
180 |
jeremybenn |
.) # No --srcdir option. We are building in place.
|
2821 |
148 |
jeremybenn |
ac_srcdir=.
|
2822 |
180 |
jeremybenn |
if test -z "$ac_top_builddir"; then
|
2823 |
|
|
ac_top_srcdir=.
|
2824 |
|
|
else
|
2825 |
|
|
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
|
2826 |
|
|
fi ;;
|
2827 |
|
|
[\\/]* | ?:[\\/]* ) # Absolute path.
|
2828 |
148 |
jeremybenn |
ac_srcdir=$srcdir$ac_dir_suffix;
|
2829 |
180 |
jeremybenn |
ac_top_srcdir=$srcdir ;;
|
2830 |
|
|
*) # Relative path.
|
2831 |
|
|
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
|
2832 |
|
|
ac_top_srcdir=$ac_top_builddir$srcdir ;;
|
2833 |
148 |
jeremybenn |
esac
|
2834 |
|
|
|
2835 |
180 |
jeremybenn |
# Do not use `cd foo && pwd` to compute absolute paths, because
|
2836 |
|
|
# the directories may not exist.
|
2837 |
|
|
case `pwd` in
|
2838 |
|
|
.) ac_abs_builddir="$ac_dir";;
|
2839 |
|
|
*)
|
2840 |
|
|
case "$ac_dir" in
|
2841 |
|
|
.) ac_abs_builddir=`pwd`;;
|
2842 |
|
|
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
|
2843 |
|
|
*) ac_abs_builddir=`pwd`/"$ac_dir";;
|
2844 |
|
|
esac;;
|
2845 |
|
|
esac
|
2846 |
|
|
case $ac_abs_builddir in
|
2847 |
|
|
.) ac_abs_top_builddir=${ac_top_builddir}.;;
|
2848 |
|
|
*)
|
2849 |
|
|
case ${ac_top_builddir}. in
|
2850 |
|
|
.) ac_abs_top_builddir=$ac_abs_builddir;;
|
2851 |
|
|
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
|
2852 |
|
|
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
|
2853 |
|
|
esac;;
|
2854 |
|
|
esac
|
2855 |
|
|
case $ac_abs_builddir in
|
2856 |
|
|
.) ac_abs_srcdir=$ac_srcdir;;
|
2857 |
|
|
*)
|
2858 |
|
|
case $ac_srcdir in
|
2859 |
|
|
.) ac_abs_srcdir=$ac_abs_builddir;;
|
2860 |
|
|
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
|
2861 |
|
|
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
|
2862 |
|
|
esac;;
|
2863 |
|
|
esac
|
2864 |
|
|
case $ac_abs_builddir in
|
2865 |
|
|
.) ac_abs_top_srcdir=$ac_top_srcdir;;
|
2866 |
|
|
*)
|
2867 |
|
|
case $ac_top_srcdir in
|
2868 |
|
|
.) ac_abs_top_srcdir=$ac_abs_builddir;;
|
2869 |
|
|
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
|
2870 |
|
|
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
|
2871 |
|
|
esac;;
|
2872 |
|
|
esac
|
2873 |
148 |
jeremybenn |
|
2874 |
|
|
|
2875 |
|
|
case $INSTALL in
|
2876 |
|
|
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
|
2877 |
180 |
jeremybenn |
*) ac_INSTALL=$ac_top_builddir$INSTALL ;;
|
2878 |
148 |
jeremybenn |
esac
|
2879 |
|
|
|
2880 |
180 |
jeremybenn |
if test x"$ac_file" != x-; then
|
2881 |
|
|
{ echo "$as_me:$LINENO: creating $ac_file" >&5
|
2882 |
|
|
echo "$as_me: creating $ac_file" >&6;}
|
2883 |
|
|
rm -f "$ac_file"
|
2884 |
|
|
fi
|
2885 |
|
|
# Let's still pretend it is `configure' which instantiates (i.e., don't
|
2886 |
|
|
# use $as_me), people would be surprised to read:
|
2887 |
|
|
# /* config.h. Generated by config.status. */
|
2888 |
|
|
if test x"$ac_file" = x-; then
|
2889 |
|
|
configure_input=
|
2890 |
|
|
else
|
2891 |
|
|
configure_input="$ac_file. "
|
2892 |
|
|
fi
|
2893 |
|
|
configure_input=$configure_input"Generated from `echo $ac_file_in |
|
2894 |
|
|
sed 's,.*/,,'` by configure."
|
2895 |
148 |
jeremybenn |
|
2896 |
180 |
jeremybenn |
# First look for the input files in the build tree, otherwise in the
|
2897 |
|
|
# src tree.
|
2898 |
|
|
ac_file_inputs=`IFS=:
|
2899 |
|
|
for f in $ac_file_in; do
|
2900 |
|
|
case $f in
|
2901 |
|
|
-) echo $tmp/stdin ;;
|
2902 |
|
|
[\\/$]*)
|
2903 |
|
|
# Absolute (can't be DOS-style, as IFS=:)
|
2904 |
|
|
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
|
2905 |
|
|
echo "$as_me: error: cannot find input file: $f" >&2;}
|
2906 |
|
|
{ (exit 1); exit 1; }; }
|
2907 |
|
|
echo "$f";;
|
2908 |
|
|
*) # Relative
|
2909 |
|
|
if test -f "$f"; then
|
2910 |
|
|
# Build tree
|
2911 |
|
|
echo "$f"
|
2912 |
|
|
elif test -f "$srcdir/$f"; then
|
2913 |
|
|
# Source tree
|
2914 |
|
|
echo "$srcdir/$f"
|
2915 |
|
|
else
|
2916 |
|
|
# /dev/null tree
|
2917 |
|
|
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
|
2918 |
|
|
echo "$as_me: error: cannot find input file: $f" >&2;}
|
2919 |
|
|
{ (exit 1); exit 1; }; }
|
2920 |
|
|
fi;;
|
2921 |
|
|
esac
|
2922 |
|
|
done` || { (exit 1); exit 1; }
|
2923 |
148 |
jeremybenn |
_ACEOF
|
2924 |
|
|
cat >>$CONFIG_STATUS <<_ACEOF
|
2925 |
|
|
sed "$ac_vpsub
|
2926 |
|
|
$extrasub
|
2927 |
|
|
_ACEOF
|
2928 |
|
|
cat >>$CONFIG_STATUS <<\_ACEOF
|
2929 |
|
|
:t
|
2930 |
|
|
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
|
2931 |
180 |
jeremybenn |
s,@configure_input@,$configure_input,;t t
|
2932 |
|
|
s,@srcdir@,$ac_srcdir,;t t
|
2933 |
|
|
s,@abs_srcdir@,$ac_abs_srcdir,;t t
|
2934 |
|
|
s,@top_srcdir@,$ac_top_srcdir,;t t
|
2935 |
|
|
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
|
2936 |
|
|
s,@builddir@,$ac_builddir,;t t
|
2937 |
|
|
s,@abs_builddir@,$ac_abs_builddir,;t t
|
2938 |
|
|
s,@top_builddir@,$ac_top_builddir,;t t
|
2939 |
|
|
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
|
2940 |
|
|
s,@INSTALL@,$ac_INSTALL,;t t
|
2941 |
|
|
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
|
2942 |
|
|
rm -f $tmp/stdin
|
2943 |
|
|
if test x"$ac_file" != x-; then
|
2944 |
|
|
mv $tmp/out $ac_file
|
2945 |
|
|
else
|
2946 |
|
|
cat $tmp/out
|
2947 |
|
|
rm -f $tmp/out
|
2948 |
|
|
fi
|
2949 |
148 |
jeremybenn |
|
2950 |
180 |
jeremybenn |
# Run the commands associated with the file.
|
2951 |
148 |
jeremybenn |
case $ac_file in
|
2952 |
180 |
jeremybenn |
Makefile ) ac_file=Makefile . ${libgloss_topdir}/config-ml.in ;;
|
2953 |
148 |
jeremybenn |
esac
|
2954 |
180 |
jeremybenn |
done
|
2955 |
|
|
_ACEOF
|
2956 |
|
|
cat >>$CONFIG_STATUS <<\_ACEOF
|
2957 |
148 |
jeremybenn |
|
2958 |
180 |
jeremybenn |
#
|
2959 |
|
|
# CONFIG_HEADER section.
|
2960 |
|
|
#
|
2961 |
148 |
jeremybenn |
|
2962 |
180 |
jeremybenn |
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
|
2963 |
|
|
# NAME is the cpp macro being defined and VALUE is the value it is being given.
|
2964 |
|
|
#
|
2965 |
|
|
# ac_d sets the value in "#define NAME VALUE" lines.
|
2966 |
|
|
ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
|
2967 |
|
|
ac_dB='[ ].*$,\1#\2'
|
2968 |
|
|
ac_dC=' '
|
2969 |
|
|
ac_dD=',;t'
|
2970 |
|
|
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
|
2971 |
|
|
ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
|
2972 |
|
|
ac_uB='$,\1#\2define\3'
|
2973 |
|
|
ac_uC=' '
|
2974 |
|
|
ac_uD=',;t'
|
2975 |
|
|
|
2976 |
|
|
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
|
2977 |
|
|
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
|
2978 |
|
|
case $ac_file in
|
2979 |
|
|
- | *:- | *:-:* ) # input from stdin
|
2980 |
|
|
cat >$tmp/stdin
|
2981 |
|
|
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
|
2982 |
|
|
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
|
2983 |
|
|
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
|
2984 |
|
|
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
|
2985 |
|
|
* ) ac_file_in=$ac_file.in ;;
|
2986 |
148 |
jeremybenn |
esac
|
2987 |
|
|
|
2988 |
180 |
jeremybenn |
test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
|
2989 |
|
|
echo "$as_me: creating $ac_file" >&6;}
|
2990 |
148 |
jeremybenn |
|
2991 |
180 |
jeremybenn |
# First look for the input files in the build tree, otherwise in the
|
2992 |
|
|
# src tree.
|
2993 |
|
|
ac_file_inputs=`IFS=:
|
2994 |
|
|
for f in $ac_file_in; do
|
2995 |
|
|
case $f in
|
2996 |
|
|
-) echo $tmp/stdin ;;
|
2997 |
|
|
[\\/$]*)
|
2998 |
|
|
# Absolute (can't be DOS-style, as IFS=:)
|
2999 |
|
|
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
|
3000 |
|
|
echo "$as_me: error: cannot find input file: $f" >&2;}
|
3001 |
|
|
{ (exit 1); exit 1; }; }
|
3002 |
|
|
# Do quote $f, to prevent DOS paths from being IFS'd.
|
3003 |
|
|
echo "$f";;
|
3004 |
|
|
*) # Relative
|
3005 |
|
|
if test -f "$f"; then
|
3006 |
|
|
# Build tree
|
3007 |
|
|
echo "$f"
|
3008 |
|
|
elif test -f "$srcdir/$f"; then
|
3009 |
|
|
# Source tree
|
3010 |
|
|
echo "$srcdir/$f"
|
3011 |
|
|
else
|
3012 |
|
|
# /dev/null tree
|
3013 |
|
|
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
|
3014 |
|
|
echo "$as_me: error: cannot find input file: $f" >&2;}
|
3015 |
|
|
{ (exit 1); exit 1; }; }
|
3016 |
|
|
fi;;
|
3017 |
|
|
esac
|
3018 |
|
|
done` || { (exit 1); exit 1; }
|
3019 |
|
|
# Remove the trailing spaces.
|
3020 |
|
|
sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
|
3021 |
|
|
|
3022 |
|
|
_ACEOF
|
3023 |
|
|
|
3024 |
|
|
# Transform confdefs.h into two sed scripts, `conftest.defines' and
|
3025 |
|
|
# `conftest.undefs', that substitutes the proper values into
|
3026 |
|
|
# config.h.in to produce config.h. The first handles `#define'
|
3027 |
|
|
# templates, and the second `#undef' templates.
|
3028 |
|
|
# And first: Protect against being on the right side of a sed subst in
|
3029 |
|
|
# config.status. Protect against being in an unquoted here document
|
3030 |
|
|
# in config.status.
|
3031 |
|
|
rm -f conftest.defines conftest.undefs
|
3032 |
|
|
# Using a here document instead of a string reduces the quoting nightmare.
|
3033 |
|
|
# Putting comments in sed scripts is not portable.
|
3034 |
|
|
#
|
3035 |
|
|
# `end' is used to avoid that the second main sed command (meant for
|
3036 |
|
|
# 0-ary CPP macros) applies to n-ary macro definitions.
|
3037 |
|
|
# See the Autoconf documentation for `clear'.
|
3038 |
|
|
cat >confdef2sed.sed <<\_ACEOF
|
3039 |
|
|
s/[\\&,]/\\&/g
|
3040 |
|
|
s,[\\$`],\\&,g
|
3041 |
|
|
t clear
|
3042 |
|
|
: clear
|
3043 |
|
|
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
|
3044 |
|
|
t end
|
3045 |
|
|
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
|
3046 |
|
|
: end
|
3047 |
|
|
_ACEOF
|
3048 |
|
|
# If some macros were called several times there might be several times
|
3049 |
|
|
# the same #defines, which is useless. Nevertheless, we may not want to
|
3050 |
|
|
# sort them, since we want the *last* AC-DEFINE to be honored.
|
3051 |
|
|
uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
|
3052 |
|
|
sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
|
3053 |
|
|
rm -f confdef2sed.sed
|
3054 |
|
|
|
3055 |
|
|
# This sed command replaces #undef with comments. This is necessary, for
|
3056 |
|
|
# example, in the case of _POSIX_SOURCE, which is predefined and required
|
3057 |
|
|
# on some systems where configure will not decide to define it.
|
3058 |
|
|
cat >>conftest.undefs <<\_ACEOF
|
3059 |
|
|
s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
|
3060 |
|
|
_ACEOF
|
3061 |
|
|
|
3062 |
|
|
# Break up conftest.defines because some shells have a limit on the size
|
3063 |
|
|
# of here documents, and old seds have small limits too (100 cmds).
|
3064 |
|
|
echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
|
3065 |
|
|
echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
|
3066 |
|
|
echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
|
3067 |
|
|
echo ' :' >>$CONFIG_STATUS
|
3068 |
|
|
rm -f conftest.tail
|
3069 |
|
|
while grep . conftest.defines >/dev/null
|
3070 |
|
|
do
|
3071 |
|
|
# Write a limited-size here document to $tmp/defines.sed.
|
3072 |
|
|
echo ' cat >$tmp/defines.sed <>$CONFIG_STATUS
|
3073 |
|
|
# Speed up: don't consider the non `#define' lines.
|
3074 |
|
|
echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
|
3075 |
|
|
# Work around the forget-to-reset-the-flag bug.
|
3076 |
|
|
echo 't clr' >>$CONFIG_STATUS
|
3077 |
|
|
echo ': clr' >>$CONFIG_STATUS
|
3078 |
|
|
sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
|
3079 |
|
|
echo 'CEOF
|
3080 |
|
|
sed -f $tmp/defines.sed $tmp/in >$tmp/out
|
3081 |
|
|
rm -f $tmp/in
|
3082 |
|
|
mv $tmp/out $tmp/in
|
3083 |
|
|
' >>$CONFIG_STATUS
|
3084 |
|
|
sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
|
3085 |
|
|
rm -f conftest.defines
|
3086 |
|
|
mv conftest.tail conftest.defines
|
3087 |
|
|
done
|
3088 |
|
|
rm -f conftest.defines
|
3089 |
|
|
echo ' fi # grep' >>$CONFIG_STATUS
|
3090 |
|
|
echo >>$CONFIG_STATUS
|
3091 |
|
|
|
3092 |
|
|
# Break up conftest.undefs because some shells have a limit on the size
|
3093 |
|
|
# of here documents, and old seds have small limits too (100 cmds).
|
3094 |
|
|
echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
|
3095 |
|
|
rm -f conftest.tail
|
3096 |
|
|
while grep . conftest.undefs >/dev/null
|
3097 |
|
|
do
|
3098 |
|
|
# Write a limited-size here document to $tmp/undefs.sed.
|
3099 |
|
|
echo ' cat >$tmp/undefs.sed <>$CONFIG_STATUS
|
3100 |
|
|
# Speed up: don't consider the non `#undef'
|
3101 |
|
|
echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
|
3102 |
|
|
# Work around the forget-to-reset-the-flag bug.
|
3103 |
|
|
echo 't clr' >>$CONFIG_STATUS
|
3104 |
|
|
echo ': clr' >>$CONFIG_STATUS
|
3105 |
|
|
sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
|
3106 |
|
|
echo 'CEOF
|
3107 |
|
|
sed -f $tmp/undefs.sed $tmp/in >$tmp/out
|
3108 |
|
|
rm -f $tmp/in
|
3109 |
|
|
mv $tmp/out $tmp/in
|
3110 |
|
|
' >>$CONFIG_STATUS
|
3111 |
|
|
sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
|
3112 |
|
|
rm -f conftest.undefs
|
3113 |
|
|
mv conftest.tail conftest.undefs
|
3114 |
|
|
done
|
3115 |
|
|
rm -f conftest.undefs
|
3116 |
|
|
|
3117 |
|
|
cat >>$CONFIG_STATUS <<\_ACEOF
|
3118 |
|
|
# Let's still pretend it is `configure' which instantiates (i.e., don't
|
3119 |
|
|
# use $as_me), people would be surprised to read:
|
3120 |
|
|
# /* config.h. Generated by config.status. */
|
3121 |
|
|
if test x"$ac_file" = x-; then
|
3122 |
|
|
echo "/* Generated by configure. */" >$tmp/config.h
|
3123 |
|
|
else
|
3124 |
|
|
echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
|
3125 |
|
|
fi
|
3126 |
|
|
cat $tmp/in >>$tmp/config.h
|
3127 |
|
|
rm -f $tmp/in
|
3128 |
|
|
if test x"$ac_file" != x-; then
|
3129 |
|
|
if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
|
3130 |
|
|
{ echo "$as_me:$LINENO: $ac_file is unchanged" >&5
|
3131 |
|
|
echo "$as_me: $ac_file is unchanged" >&6;}
|
3132 |
|
|
else
|
3133 |
|
|
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
|
3134 |
|
|
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
3135 |
|
|
X"$ac_file" : 'X\(//\)[^/]' \| \
|
3136 |
|
|
X"$ac_file" : 'X\(//\)$' \| \
|
3137 |
|
|
X"$ac_file" : 'X\(/\)' \| \
|
3138 |
|
|
. : '\(.\)' 2>/dev/null ||
|
3139 |
|
|
echo X"$ac_file" |
|
3140 |
|
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
3141 |
|
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
3142 |
|
|
/^X\(\/\/\)$/{ s//\1/; q; }
|
3143 |
|
|
/^X\(\/\).*/{ s//\1/; q; }
|
3144 |
|
|
s/.*/./; q'`
|
3145 |
|
|
{ if $as_mkdir_p; then
|
3146 |
|
|
mkdir -p "$ac_dir"
|
3147 |
|
|
else
|
3148 |
|
|
as_dir="$ac_dir"
|
3149 |
|
|
as_dirs=
|
3150 |
|
|
while test ! -d "$as_dir"; do
|
3151 |
|
|
as_dirs="$as_dir $as_dirs"
|
3152 |
|
|
as_dir=`(dirname "$as_dir") 2>/dev/null ||
|
3153 |
|
|
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
3154 |
|
|
X"$as_dir" : 'X\(//\)[^/]' \| \
|
3155 |
|
|
X"$as_dir" : 'X\(//\)$' \| \
|
3156 |
|
|
X"$as_dir" : 'X\(/\)' \| \
|
3157 |
|
|
. : '\(.\)' 2>/dev/null ||
|
3158 |
|
|
echo X"$as_dir" |
|
3159 |
|
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
3160 |
|
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
3161 |
|
|
/^X\(\/\/\)$/{ s//\1/; q; }
|
3162 |
|
|
/^X\(\/\).*/{ s//\1/; q; }
|
3163 |
|
|
s/.*/./; q'`
|
3164 |
|
|
done
|
3165 |
|
|
test ! -n "$as_dirs" || mkdir $as_dirs
|
3166 |
|
|
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
|
3167 |
|
|
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
|
3168 |
|
|
{ (exit 1); exit 1; }; }; }
|
3169 |
|
|
|
3170 |
|
|
rm -f $ac_file
|
3171 |
|
|
mv $tmp/config.h $ac_file
|
3172 |
|
|
fi
|
3173 |
|
|
else
|
3174 |
|
|
cat $tmp/config.h
|
3175 |
|
|
rm -f $tmp/config.h
|
3176 |
|
|
fi
|
3177 |
|
|
done
|
3178 |
|
|
_ACEOF
|
3179 |
|
|
cat >>$CONFIG_STATUS <<\_ACEOF
|
3180 |
|
|
|
3181 |
|
|
#
|
3182 |
|
|
# CONFIG_COMMANDS section.
|
3183 |
|
|
#
|
3184 |
|
|
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
|
3185 |
|
|
ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
|
3186 |
|
|
ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
|
3187 |
|
|
ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
|
3188 |
|
|
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
3189 |
|
|
X"$ac_dest" : 'X\(//\)[^/]' \| \
|
3190 |
|
|
X"$ac_dest" : 'X\(//\)$' \| \
|
3191 |
|
|
X"$ac_dest" : 'X\(/\)' \| \
|
3192 |
|
|
. : '\(.\)' 2>/dev/null ||
|
3193 |
|
|
echo X"$ac_dest" |
|
3194 |
|
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
3195 |
|
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
3196 |
|
|
/^X\(\/\/\)$/{ s//\1/; q; }
|
3197 |
|
|
/^X\(\/\).*/{ s//\1/; q; }
|
3198 |
|
|
s/.*/./; q'`
|
3199 |
|
|
{ if $as_mkdir_p; then
|
3200 |
|
|
mkdir -p "$ac_dir"
|
3201 |
|
|
else
|
3202 |
|
|
as_dir="$ac_dir"
|
3203 |
|
|
as_dirs=
|
3204 |
|
|
while test ! -d "$as_dir"; do
|
3205 |
|
|
as_dirs="$as_dir $as_dirs"
|
3206 |
|
|
as_dir=`(dirname "$as_dir") 2>/dev/null ||
|
3207 |
|
|
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
3208 |
|
|
X"$as_dir" : 'X\(//\)[^/]' \| \
|
3209 |
|
|
X"$as_dir" : 'X\(//\)$' \| \
|
3210 |
|
|
X"$as_dir" : 'X\(/\)' \| \
|
3211 |
|
|
. : '\(.\)' 2>/dev/null ||
|
3212 |
|
|
echo X"$as_dir" |
|
3213 |
|
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
3214 |
|
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
3215 |
|
|
/^X\(\/\/\)$/{ s//\1/; q; }
|
3216 |
|
|
/^X\(\/\).*/{ s//\1/; q; }
|
3217 |
|
|
s/.*/./; q'`
|
3218 |
|
|
done
|
3219 |
|
|
test ! -n "$as_dirs" || mkdir $as_dirs
|
3220 |
|
|
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
|
3221 |
|
|
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
|
3222 |
|
|
{ (exit 1); exit 1; }; }; }
|
3223 |
|
|
|
3224 |
|
|
ac_builddir=.
|
3225 |
|
|
|
3226 |
|
|
if test "$ac_dir" != .; then
|
3227 |
|
|
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
|
3228 |
|
|
# A "../" for each directory in $ac_dir_suffix.
|
3229 |
|
|
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
|
3230 |
|
|
else
|
3231 |
|
|
ac_dir_suffix= ac_top_builddir=
|
3232 |
|
|
fi
|
3233 |
|
|
|
3234 |
|
|
case $srcdir in
|
3235 |
|
|
.) # No --srcdir option. We are building in place.
|
3236 |
|
|
ac_srcdir=.
|
3237 |
|
|
if test -z "$ac_top_builddir"; then
|
3238 |
|
|
ac_top_srcdir=.
|
3239 |
|
|
else
|
3240 |
|
|
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
|
3241 |
|
|
fi ;;
|
3242 |
|
|
[\\/]* | ?:[\\/]* ) # Absolute path.
|
3243 |
|
|
ac_srcdir=$srcdir$ac_dir_suffix;
|
3244 |
|
|
ac_top_srcdir=$srcdir ;;
|
3245 |
|
|
*) # Relative path.
|
3246 |
|
|
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
|
3247 |
|
|
ac_top_srcdir=$ac_top_builddir$srcdir ;;
|
3248 |
|
|
esac
|
3249 |
|
|
|
3250 |
|
|
# Do not use `cd foo && pwd` to compute absolute paths, because
|
3251 |
|
|
# the directories may not exist.
|
3252 |
|
|
case `pwd` in
|
3253 |
|
|
.) ac_abs_builddir="$ac_dir";;
|
3254 |
|
|
*)
|
3255 |
|
|
case "$ac_dir" in
|
3256 |
|
|
.) ac_abs_builddir=`pwd`;;
|
3257 |
|
|
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
|
3258 |
|
|
*) ac_abs_builddir=`pwd`/"$ac_dir";;
|
3259 |
|
|
esac;;
|
3260 |
|
|
esac
|
3261 |
|
|
case $ac_abs_builddir in
|
3262 |
|
|
.) ac_abs_top_builddir=${ac_top_builddir}.;;
|
3263 |
|
|
*)
|
3264 |
|
|
case ${ac_top_builddir}. in
|
3265 |
|
|
.) ac_abs_top_builddir=$ac_abs_builddir;;
|
3266 |
|
|
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
|
3267 |
|
|
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
|
3268 |
|
|
esac;;
|
3269 |
|
|
esac
|
3270 |
|
|
case $ac_abs_builddir in
|
3271 |
|
|
.) ac_abs_srcdir=$ac_srcdir;;
|
3272 |
|
|
*)
|
3273 |
|
|
case $ac_srcdir in
|
3274 |
|
|
.) ac_abs_srcdir=$ac_abs_builddir;;
|
3275 |
|
|
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
|
3276 |
|
|
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
|
3277 |
|
|
esac;;
|
3278 |
|
|
esac
|
3279 |
|
|
case $ac_abs_builddir in
|
3280 |
|
|
.) ac_abs_top_srcdir=$ac_top_srcdir;;
|
3281 |
|
|
*)
|
3282 |
|
|
case $ac_top_srcdir in
|
3283 |
|
|
.) ac_abs_top_srcdir=$ac_abs_builddir;;
|
3284 |
|
|
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
|
3285 |
|
|
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
|
3286 |
|
|
esac;;
|
3287 |
|
|
esac
|
3288 |
|
|
|
3289 |
|
|
|
3290 |
|
|
{ echo "$as_me:$LINENO: executing $ac_dest commands" >&5
|
3291 |
|
|
echo "$as_me: executing $ac_dest commands" >&6;}
|
3292 |
|
|
case $ac_dest in
|
3293 |
|
|
depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
|
3294 |
148 |
jeremybenn |
# Strip MF so we end up with the name of the file.
|
3295 |
|
|
mf=`echo "$mf" | sed -e 's/:.*$//'`
|
3296 |
|
|
# Check whether this is an Automake generated Makefile or not.
|
3297 |
|
|
# We used to match only the files named `Makefile.in', but
|
3298 |
|
|
# some people rename them; so instead we look at the file content.
|
3299 |
|
|
# Grep'ing the first line is not enough: some people post-process
|
3300 |
|
|
# each Makefile.in and add a new line on top of each file to say so.
|
3301 |
|
|
# So let's grep whole file.
|
3302 |
|
|
if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
|
3303 |
180 |
jeremybenn |
dirpart=`(dirname "$mf") 2>/dev/null ||
|
3304 |
148 |
jeremybenn |
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
3305 |
|
|
X"$mf" : 'X\(//\)[^/]' \| \
|
3306 |
|
|
X"$mf" : 'X\(//\)$' \| \
|
3307 |
180 |
jeremybenn |
X"$mf" : 'X\(/\)' \| \
|
3308 |
|
|
. : '\(.\)' 2>/dev/null ||
|
3309 |
148 |
jeremybenn |
echo X"$mf" |
|
3310 |
180 |
jeremybenn |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
3311 |
|
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
3312 |
|
|
/^X\(\/\/\)$/{ s//\1/; q; }
|
3313 |
|
|
/^X\(\/\).*/{ s//\1/; q; }
|
3314 |
|
|
s/.*/./; q'`
|
3315 |
148 |
jeremybenn |
else
|
3316 |
|
|
continue
|
3317 |
|
|
fi
|
3318 |
|
|
# Extract the definition of DEPDIR, am__include, and am__quote
|
3319 |
|
|
# from the Makefile without running `make'.
|
3320 |
|
|
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
|
3321 |
|
|
test -z "$DEPDIR" && continue
|
3322 |
|
|
am__include=`sed -n 's/^am__include = //p' < "$mf"`
|
3323 |
|
|
test -z "am__include" && continue
|
3324 |
|
|
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
|
3325 |
|
|
# When using ansi2knr, U may be empty or an underscore; expand it
|
3326 |
|
|
U=`sed -n 's/^U = //p' < "$mf"`
|
3327 |
|
|
# Find all dependency output files, they are included files with
|
3328 |
|
|
# $(DEPDIR) in their names. We invoke sed twice because it is the
|
3329 |
|
|
# simplest approach to changing $(DEPDIR) to its actual value in the
|
3330 |
|
|
# expansion.
|
3331 |
|
|
for file in `sed -n "
|
3332 |
|
|
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
|
3333 |
|
|
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
|
3334 |
|
|
# Make sure the directory exists.
|
3335 |
|
|
test -f "$dirpart/$file" && continue
|
3336 |
180 |
jeremybenn |
fdir=`(dirname "$file") 2>/dev/null ||
|
3337 |
148 |
jeremybenn |
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
3338 |
|
|
X"$file" : 'X\(//\)[^/]' \| \
|
3339 |
|
|
X"$file" : 'X\(//\)$' \| \
|
3340 |
180 |
jeremybenn |
X"$file" : 'X\(/\)' \| \
|
3341 |
|
|
. : '\(.\)' 2>/dev/null ||
|
3342 |
148 |
jeremybenn |
echo X"$file" |
|
3343 |
180 |
jeremybenn |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
3344 |
|
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
3345 |
|
|
/^X\(\/\/\)$/{ s//\1/; q; }
|
3346 |
|
|
/^X\(\/\).*/{ s//\1/; q; }
|
3347 |
|
|
s/.*/./; q'`
|
3348 |
|
|
{ if $as_mkdir_p; then
|
3349 |
|
|
mkdir -p $dirpart/$fdir
|
3350 |
|
|
else
|
3351 |
|
|
as_dir=$dirpart/$fdir
|
3352 |
148 |
jeremybenn |
as_dirs=
|
3353 |
180 |
jeremybenn |
while test ! -d "$as_dir"; do
|
3354 |
|
|
as_dirs="$as_dir $as_dirs"
|
3355 |
|
|
as_dir=`(dirname "$as_dir") 2>/dev/null ||
|
3356 |
148 |
jeremybenn |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
3357 |
|
|
X"$as_dir" : 'X\(//\)[^/]' \| \
|
3358 |
|
|
X"$as_dir" : 'X\(//\)$' \| \
|
3359 |
180 |
jeremybenn |
X"$as_dir" : 'X\(/\)' \| \
|
3360 |
|
|
. : '\(.\)' 2>/dev/null ||
|
3361 |
148 |
jeremybenn |
echo X"$as_dir" |
|
3362 |
180 |
jeremybenn |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
3363 |
|
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
3364 |
|
|
/^X\(\/\/\)$/{ s//\1/; q; }
|
3365 |
|
|
/^X\(\/\).*/{ s//\1/; q; }
|
3366 |
|
|
s/.*/./; q'`
|
3367 |
148 |
jeremybenn |
done
|
3368 |
180 |
jeremybenn |
test ! -n "$as_dirs" || mkdir $as_dirs
|
3369 |
|
|
fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
|
3370 |
|
|
echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
|
3371 |
148 |
jeremybenn |
{ (exit 1); exit 1; }; }; }
|
3372 |
180 |
jeremybenn |
|
3373 |
148 |
jeremybenn |
# echo "creating $dirpart/$file"
|
3374 |
|
|
echo '# dummy' > "$dirpart/$file"
|
3375 |
|
|
done
|
3376 |
|
|
done
|
3377 |
|
|
;;
|
3378 |
|
|
esac
|
3379 |
180 |
jeremybenn |
done
|
3380 |
|
|
_ACEOF
|
3381 |
148 |
jeremybenn |
|
3382 |
180 |
jeremybenn |
cat >>$CONFIG_STATUS <<\_ACEOF
|
3383 |
148 |
jeremybenn |
|
3384 |
|
|
{ (exit 0); exit 0; }
|
3385 |
|
|
_ACEOF
|
3386 |
|
|
chmod +x $CONFIG_STATUS
|
3387 |
|
|
ac_clean_files=$ac_clean_files_save
|
3388 |
|
|
|
3389 |
|
|
|
3390 |
|
|
# configure is writing to config.log, and then calls config.status.
|
3391 |
|
|
# config.status does its own redirection, appending to config.log.
|
3392 |
|
|
# Unfortunately, on DOS this fails, as config.log is still kept open
|
3393 |
|
|
# by configure, so config.status won't be able to write to it; its
|
3394 |
|
|
# output is simply discarded. So we exec the FD to /dev/null,
|
3395 |
|
|
# effectively closing config.log, so it can be properly (re)opened and
|
3396 |
|
|
# appended to by config.status. When coming back to configure, we
|
3397 |
|
|
# need to make the FD available again.
|
3398 |
|
|
if test "$no_create" != yes; then
|
3399 |
|
|
ac_cs_success=:
|
3400 |
|
|
ac_config_status_args=
|
3401 |
|
|
test "$silent" = yes &&
|
3402 |
|
|
ac_config_status_args="$ac_config_status_args --quiet"
|
3403 |
|
|
exec 5>/dev/null
|
3404 |
|
|
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
|
3405 |
|
|
exec 5>>config.log
|
3406 |
|
|
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
|
3407 |
|
|
# would make configure fail if this is the last instruction.
|
3408 |
|
|
$ac_cs_success || { (exit 1); exit 1; }
|
3409 |
|
|
fi
|
3410 |
|
|
|