1 |
21 |
jlechner |
#! /bin/sh
|
2 |
|
|
# Guess values for system-dependent variables and create Makefiles.
|
3 |
|
|
# Generated by GNU Autoconf 2.59.
|
4 |
|
|
#
|
5 |
|
|
# Copyright (C) 2003 Free Software Foundation, Inc.
|
6 |
|
|
# 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 |
|
|
# Be Bourne compatible
|
13 |
|
|
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 |
|
|
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
|
20 |
|
|
set -o posix
|
21 |
|
|
fi
|
22 |
|
|
DUALCASE=1; export DUALCASE # for MKS sh
|
23 |
|
|
|
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 |
|
|
$as_unset ENV MAIL MAILPATH
|
34 |
|
|
PS1='$ '
|
35 |
|
|
PS2='> '
|
36 |
|
|
PS4='+ '
|
37 |
|
|
|
38 |
|
|
# NLS nuisances.
|
39 |
|
|
for as_var in \
|
40 |
|
|
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
|
41 |
|
|
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
|
42 |
|
|
LC_TELEPHONE LC_TIME
|
43 |
|
|
do
|
44 |
|
|
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
|
45 |
|
|
eval $as_var=C; export $as_var
|
46 |
|
|
else
|
47 |
|
|
$as_unset $as_var
|
48 |
|
|
fi
|
49 |
|
|
done
|
50 |
|
|
|
51 |
|
|
# Required to use basename.
|
52 |
|
|
if expr a : '\(a\)' >/dev/null 2>&1; then
|
53 |
|
|
as_expr=expr
|
54 |
|
|
else
|
55 |
|
|
as_expr=false
|
56 |
|
|
fi
|
57 |
|
|
|
58 |
|
|
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
|
59 |
|
|
as_basename=basename
|
60 |
|
|
else
|
61 |
|
|
as_basename=false
|
62 |
|
|
fi
|
63 |
|
|
|
64 |
|
|
|
65 |
|
|
# Name of the executable.
|
66 |
|
|
as_me=`$as_basename "$0" ||
|
67 |
|
|
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
68 |
|
|
X"$0" : 'X\(//\)$' \| \
|
69 |
|
|
X"$0" : 'X\(/\)$' \| \
|
70 |
|
|
. : '\(.\)' 2>/dev/null ||
|
71 |
|
|
echo X/"$0" |
|
72 |
|
|
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
|
73 |
|
|
/^X\/\(\/\/\)$/{ s//\1/; q; }
|
74 |
|
|
/^X\/\(\/\).*/{ s//\1/; q; }
|
75 |
|
|
s/.*/./; q'`
|
76 |
|
|
|
77 |
|
|
|
78 |
|
|
# PATH needs CR, and LINENO needs CR and PATH.
|
79 |
|
|
# Avoid depending upon Character Ranges.
|
80 |
|
|
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
81 |
|
|
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
82 |
|
|
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
|
83 |
|
|
as_cr_digits='0123456789'
|
84 |
|
|
as_cr_alnum=$as_cr_Letters$as_cr_digits
|
85 |
|
|
|
86 |
|
|
# The user is always right.
|
87 |
|
|
if test "${PATH_SEPARATOR+set}" != set; then
|
88 |
|
|
echo "#! /bin/sh" >conf$$.sh
|
89 |
|
|
echo "exit 0" >>conf$$.sh
|
90 |
|
|
chmod +x conf$$.sh
|
91 |
|
|
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
|
92 |
|
|
PATH_SEPARATOR=';'
|
93 |
|
|
else
|
94 |
|
|
PATH_SEPARATOR=:
|
95 |
|
|
fi
|
96 |
|
|
rm -f conf$$.sh
|
97 |
|
|
fi
|
98 |
|
|
|
99 |
|
|
|
100 |
|
|
as_lineno_1=$LINENO
|
101 |
|
|
as_lineno_2=$LINENO
|
102 |
|
|
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
|
103 |
|
|
test "x$as_lineno_1" != "x$as_lineno_2" &&
|
104 |
|
|
test "x$as_lineno_3" = "x$as_lineno_2" || {
|
105 |
|
|
# Find who we are. Look in the path if we contain no path at all
|
106 |
|
|
# relative or not.
|
107 |
|
|
case $0 in
|
108 |
|
|
*[\\/]* ) as_myself=$0 ;;
|
109 |
|
|
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
110 |
|
|
for as_dir in $PATH
|
111 |
|
|
do
|
112 |
|
|
IFS=$as_save_IFS
|
113 |
|
|
test -z "$as_dir" && as_dir=.
|
114 |
|
|
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
115 |
|
|
done
|
116 |
|
|
|
117 |
|
|
;;
|
118 |
|
|
esac
|
119 |
|
|
# We did not find ourselves, most probably we were run as `sh COMMAND'
|
120 |
|
|
# in which case we are not to be found in the path.
|
121 |
|
|
if test "x$as_myself" = x; then
|
122 |
|
|
as_myself=$0
|
123 |
|
|
fi
|
124 |
|
|
if test ! -f "$as_myself"; then
|
125 |
|
|
{ echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
|
126 |
|
|
{ (exit 1); exit 1; }; }
|
127 |
|
|
fi
|
128 |
|
|
case $CONFIG_SHELL in
|
129 |
|
|
'')
|
130 |
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
131 |
|
|
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
|
132 |
|
|
do
|
133 |
|
|
IFS=$as_save_IFS
|
134 |
|
|
test -z "$as_dir" && as_dir=.
|
135 |
|
|
for as_base in sh bash ksh sh5; do
|
136 |
|
|
case $as_dir in
|
137 |
|
|
/*)
|
138 |
|
|
if ("$as_dir/$as_base" -c '
|
139 |
|
|
as_lineno_1=$LINENO
|
140 |
|
|
as_lineno_2=$LINENO
|
141 |
|
|
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
|
142 |
|
|
test "x$as_lineno_1" != "x$as_lineno_2" &&
|
143 |
|
|
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
|
144 |
|
|
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
|
145 |
|
|
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
|
146 |
|
|
CONFIG_SHELL=$as_dir/$as_base
|
147 |
|
|
export CONFIG_SHELL
|
148 |
|
|
exec "$CONFIG_SHELL" "$0" ${1+"$@"}
|
149 |
|
|
fi;;
|
150 |
|
|
esac
|
151 |
|
|
done
|
152 |
|
|
done
|
153 |
|
|
;;
|
154 |
|
|
esac
|
155 |
|
|
|
156 |
|
|
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
|
157 |
|
|
# uniformly replaced by the line number. The first 'sed' inserts a
|
158 |
|
|
# line-number line before each line; the second 'sed' does the real
|
159 |
|
|
# work. The second script uses 'N' to pair each line-number line
|
160 |
|
|
# with the numbered line, and appends trailing '-' during
|
161 |
|
|
# substitution so that $LINENO is not a special case at line end.
|
162 |
|
|
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
|
163 |
|
|
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
|
164 |
|
|
sed '=' <$as_myself |
|
165 |
|
|
sed '
|
166 |
|
|
N
|
167 |
|
|
s,$,-,
|
168 |
|
|
: loop
|
169 |
|
|
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
|
170 |
|
|
t loop
|
171 |
|
|
s,-$,,
|
172 |
|
|
s,^['$as_cr_digits']*\n,,
|
173 |
|
|
' >$as_me.lineno &&
|
174 |
|
|
chmod +x $as_me.lineno ||
|
175 |
|
|
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
|
176 |
|
|
{ (exit 1); exit 1; }; }
|
177 |
|
|
|
178 |
|
|
# Don't try to exec as it changes $[0], causing all sort of problems
|
179 |
|
|
# (the dirname of $[0] is not the place where we might find the
|
180 |
|
|
# original and so on. Autoconf is especially sensible to this).
|
181 |
|
|
. ./$as_me.lineno
|
182 |
|
|
# Exit status is that of the last command.
|
183 |
|
|
exit
|
184 |
|
|
}
|
185 |
|
|
|
186 |
|
|
|
187 |
|
|
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
|
188 |
|
|
*c*,-n*) ECHO_N= ECHO_C='
|
189 |
|
|
' ECHO_T=' ' ;;
|
190 |
|
|
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
|
191 |
|
|
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
|
192 |
|
|
esac
|
193 |
|
|
|
194 |
|
|
if expr a : '\(a\)' >/dev/null 2>&1; then
|
195 |
|
|
as_expr=expr
|
196 |
|
|
else
|
197 |
|
|
as_expr=false
|
198 |
|
|
fi
|
199 |
|
|
|
200 |
|
|
rm -f conf$$ conf$$.exe conf$$.file
|
201 |
|
|
echo >conf$$.file
|
202 |
|
|
if ln -s conf$$.file conf$$ 2>/dev/null; then
|
203 |
|
|
# We could just check for DJGPP; but this test a) works b) is more generic
|
204 |
|
|
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
|
205 |
|
|
if test -f conf$$.exe; then
|
206 |
|
|
# Don't use ln at all; we don't have any links
|
207 |
|
|
as_ln_s='cp -p'
|
208 |
|
|
else
|
209 |
|
|
as_ln_s='ln -s'
|
210 |
|
|
fi
|
211 |
|
|
elif ln conf$$.file conf$$ 2>/dev/null; then
|
212 |
|
|
as_ln_s=ln
|
213 |
|
|
else
|
214 |
|
|
as_ln_s='cp -p'
|
215 |
|
|
fi
|
216 |
|
|
rm -f conf$$ conf$$.exe conf$$.file
|
217 |
|
|
|
218 |
|
|
if mkdir -p . 2>/dev/null; then
|
219 |
|
|
as_mkdir_p=:
|
220 |
|
|
else
|
221 |
|
|
test -d ./-p && rmdir ./-p
|
222 |
|
|
as_mkdir_p=false
|
223 |
|
|
fi
|
224 |
|
|
|
225 |
|
|
as_executable_p="test -f"
|
226 |
|
|
|
227 |
|
|
# Sed expression to map a string onto a valid CPP name.
|
228 |
|
|
as_tr_cpp="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 |
|
|
# IFS
|
235 |
|
|
# We need space, tab and new line, in precisely that order.
|
236 |
|
|
as_nl='
|
237 |
|
|
'
|
238 |
|
|
IFS=" $as_nl"
|
239 |
|
|
|
240 |
|
|
# CDPATH.
|
241 |
|
|
$as_unset CDPATH
|
242 |
|
|
|
243 |
|
|
|
244 |
|
|
# Name of the host.
|
245 |
|
|
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
|
246 |
|
|
# so uname gets run too.
|
247 |
|
|
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
|
248 |
|
|
|
249 |
|
|
exec 6>&1
|
250 |
|
|
|
251 |
|
|
#
|
252 |
|
|
# Initializations.
|
253 |
|
|
#
|
254 |
|
|
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 |
|
|
# Maximum number of lines to put in a shell here document.
|
263 |
|
|
# This variable seems obsolete. It should probably be removed, and
|
264 |
|
|
# only ac_max_sed_lines should be used.
|
265 |
|
|
: ${ac_max_here_lines=38}
|
266 |
|
|
|
267 |
|
|
# Identity of this package.
|
268 |
|
|
PACKAGE_NAME=
|
269 |
|
|
PACKAGE_TARNAME=
|
270 |
|
|
PACKAGE_VERSION=
|
271 |
|
|
PACKAGE_STRING=
|
272 |
|
|
PACKAGE_BUGREPORT=
|
273 |
|
|
|
274 |
|
|
ac_unique_file="move-if-change"
|
275 |
|
|
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 LN LN_S TOPLEVEL_CONFIGURE_ARGUMENTS build_subdir host_subdir target_subdir CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT GNATBIND ac_ct_GNATBIND do_compare gmplibs gmpinc stage1_languages SYSROOT_CFLAGS_FOR_TARGET bootstrap_lean RPATH_ENVVAR BUILD_PREFIX BUILD_PREFIX_1 tooldir build_tooldir CONFIGURE_GDB_TK GDB_TK INSTALL_GDB_TK build_configargs build_configdirs host_configargs configdirs target_configargs target_configdirs CC_FOR_BUILD config_shell YACC BISON M4 LEX FLEX MAKEINFO EXPECT RUNTEST AR AS DLLTOOL LD LIPO NM RANLIB STRIP WINDRES OBJCOPY OBJDUMP CXX CFLAGS_FOR_BUILD CXXFLAGS AR_FOR_TARGET AS_FOR_TARGET CC_FOR_TARGET CXX_FOR_TARGET DLLTOOL_FOR_TARGET GCC_FOR_TARGET GCJ_FOR_TARGET GFORTRAN_FOR_TARGET LD_FOR_TARGET LIPO_FOR_TARGET NM_FOR_TARGET OBJDUMP_FOR_TARGET RANLIB_FOR_TARGET STRIP_FOR_TARGET WINDRES_FOR_TARGET FLAGS_FOR_TARGET RAW_CXX_FOR_TARGET COMPILER_AS_FOR_TARGET COMPILER_LD_FOR_TARGET COMPILER_NM_FOR_TARGET MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT stage1_cflags CREATE_LINK_TO_DIR UNDO_LINK_TO_DIR stage2_werror_flag LIBOBJS LTLIBOBJS'
|
276 |
|
|
ac_subst_files='serialization_dependencies host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag'
|
277 |
|
|
|
278 |
|
|
# Initialize some variables set by options.
|
279 |
|
|
ac_init_help=
|
280 |
|
|
ac_init_version=false
|
281 |
|
|
# The variables have the same names as the options, with
|
282 |
|
|
# dashes changed to underlines.
|
283 |
|
|
cache_file=/dev/null
|
284 |
|
|
exec_prefix=NONE
|
285 |
|
|
no_create=
|
286 |
|
|
no_recursion=
|
287 |
|
|
prefix=NONE
|
288 |
|
|
program_prefix=NONE
|
289 |
|
|
program_suffix=NONE
|
290 |
|
|
program_transform_name=s,x,x,
|
291 |
|
|
silent=
|
292 |
|
|
site=
|
293 |
|
|
srcdir=
|
294 |
|
|
verbose=
|
295 |
|
|
x_includes=NONE
|
296 |
|
|
x_libraries=NONE
|
297 |
|
|
|
298 |
|
|
# Installation directory options.
|
299 |
|
|
# These are left unexpanded so users can "make install exec_prefix=/foo"
|
300 |
|
|
# and all the variables that are supposed to be based on exec_prefix
|
301 |
|
|
# by default will actually change.
|
302 |
|
|
# Use braces instead of parens because sh, perl, etc. also accept them.
|
303 |
|
|
bindir='${exec_prefix}/bin'
|
304 |
|
|
sbindir='${exec_prefix}/sbin'
|
305 |
|
|
libexecdir='${exec_prefix}/libexec'
|
306 |
|
|
datadir='${prefix}/share'
|
307 |
|
|
sysconfdir='${prefix}/etc'
|
308 |
|
|
sharedstatedir='${prefix}/com'
|
309 |
|
|
localstatedir='${prefix}/var'
|
310 |
|
|
libdir='${exec_prefix}/lib'
|
311 |
|
|
includedir='${prefix}/include'
|
312 |
|
|
oldincludedir='/usr/include'
|
313 |
|
|
infodir='${prefix}/info'
|
314 |
|
|
mandir='${prefix}/man'
|
315 |
|
|
|
316 |
|
|
ac_prev=
|
317 |
|
|
for ac_option
|
318 |
|
|
do
|
319 |
|
|
# If the previous option needs an argument, assign it.
|
320 |
|
|
if test -n "$ac_prev"; then
|
321 |
|
|
eval "$ac_prev=\$ac_option"
|
322 |
|
|
ac_prev=
|
323 |
|
|
continue
|
324 |
|
|
fi
|
325 |
|
|
|
326 |
|
|
ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
|
327 |
|
|
|
328 |
|
|
# Accept the important Cygnus configure options, so we can diagnose typos.
|
329 |
|
|
|
330 |
|
|
case $ac_option in
|
331 |
|
|
|
332 |
|
|
-bindir | --bindir | --bindi | --bind | --bin | --bi)
|
333 |
|
|
ac_prev=bindir ;;
|
334 |
|
|
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
|
335 |
|
|
bindir=$ac_optarg ;;
|
336 |
|
|
|
337 |
|
|
-build | --build | --buil | --bui | --bu)
|
338 |
|
|
ac_prev=build_alias ;;
|
339 |
|
|
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
|
340 |
|
|
build_alias=$ac_optarg ;;
|
341 |
|
|
|
342 |
|
|
-cache-file | --cache-file | --cache-fil | --cache-fi \
|
343 |
|
|
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
|
344 |
|
|
ac_prev=cache_file ;;
|
345 |
|
|
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
|
346 |
|
|
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
|
347 |
|
|
cache_file=$ac_optarg ;;
|
348 |
|
|
|
349 |
|
|
--config-cache | -C)
|
350 |
|
|
cache_file=config.cache ;;
|
351 |
|
|
|
352 |
|
|
-datadir | --datadir | --datadi | --datad | --data | --dat | --da)
|
353 |
|
|
ac_prev=datadir ;;
|
354 |
|
|
-datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
|
355 |
|
|
| --da=*)
|
356 |
|
|
datadir=$ac_optarg ;;
|
357 |
|
|
|
358 |
|
|
-disable-* | --disable-*)
|
359 |
|
|
ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
|
360 |
|
|
# Reject names that are not valid shell variable names.
|
361 |
|
|
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
|
362 |
|
|
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
|
363 |
|
|
{ (exit 1); exit 1; }; }
|
364 |
|
|
ac_feature=`echo $ac_feature | sed 's/-/_/g'`
|
365 |
|
|
eval "enable_$ac_feature=no" ;;
|
366 |
|
|
|
367 |
|
|
-enable-* | --enable-*)
|
368 |
|
|
ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
|
369 |
|
|
# Reject names that are not valid shell variable names.
|
370 |
|
|
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
|
371 |
|
|
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
|
372 |
|
|
{ (exit 1); exit 1; }; }
|
373 |
|
|
ac_feature=`echo $ac_feature | sed 's/-/_/g'`
|
374 |
|
|
case $ac_option in
|
375 |
|
|
*=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
|
376 |
|
|
*) ac_optarg=yes ;;
|
377 |
|
|
esac
|
378 |
|
|
eval "enable_$ac_feature='$ac_optarg'" ;;
|
379 |
|
|
|
380 |
|
|
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
|
381 |
|
|
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
|
382 |
|
|
| --exec | --exe | --ex)
|
383 |
|
|
ac_prev=exec_prefix ;;
|
384 |
|
|
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
|
385 |
|
|
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
|
386 |
|
|
| --exec=* | --exe=* | --ex=*)
|
387 |
|
|
exec_prefix=$ac_optarg ;;
|
388 |
|
|
|
389 |
|
|
-gas | --gas | --ga | --g)
|
390 |
|
|
# Obsolete; use --with-gas.
|
391 |
|
|
with_gas=yes ;;
|
392 |
|
|
|
393 |
|
|
-help | --help | --hel | --he | -h)
|
394 |
|
|
ac_init_help=long ;;
|
395 |
|
|
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
|
396 |
|
|
ac_init_help=recursive ;;
|
397 |
|
|
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
|
398 |
|
|
ac_init_help=short ;;
|
399 |
|
|
|
400 |
|
|
-host | --host | --hos | --ho)
|
401 |
|
|
ac_prev=host_alias ;;
|
402 |
|
|
-host=* | --host=* | --hos=* | --ho=*)
|
403 |
|
|
host_alias=$ac_optarg ;;
|
404 |
|
|
|
405 |
|
|
-includedir | --includedir | --includedi | --included | --include \
|
406 |
|
|
| --includ | --inclu | --incl | --inc)
|
407 |
|
|
ac_prev=includedir ;;
|
408 |
|
|
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
|
409 |
|
|
| --includ=* | --inclu=* | --incl=* | --inc=*)
|
410 |
|
|
includedir=$ac_optarg ;;
|
411 |
|
|
|
412 |
|
|
-infodir | --infodir | --infodi | --infod | --info | --inf)
|
413 |
|
|
ac_prev=infodir ;;
|
414 |
|
|
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
|
415 |
|
|
infodir=$ac_optarg ;;
|
416 |
|
|
|
417 |
|
|
-libdir | --libdir | --libdi | --libd)
|
418 |
|
|
ac_prev=libdir ;;
|
419 |
|
|
-libdir=* | --libdir=* | --libdi=* | --libd=*)
|
420 |
|
|
libdir=$ac_optarg ;;
|
421 |
|
|
|
422 |
|
|
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
|
423 |
|
|
| --libexe | --libex | --libe)
|
424 |
|
|
ac_prev=libexecdir ;;
|
425 |
|
|
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
|
426 |
|
|
| --libexe=* | --libex=* | --libe=*)
|
427 |
|
|
libexecdir=$ac_optarg ;;
|
428 |
|
|
|
429 |
|
|
-localstatedir | --localstatedir | --localstatedi | --localstated \
|
430 |
|
|
| --localstate | --localstat | --localsta | --localst \
|
431 |
|
|
| --locals | --local | --loca | --loc | --lo)
|
432 |
|
|
ac_prev=localstatedir ;;
|
433 |
|
|
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
|
434 |
|
|
| --localstate=* | --localstat=* | --localsta=* | --localst=* \
|
435 |
|
|
| --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
|
436 |
|
|
localstatedir=$ac_optarg ;;
|
437 |
|
|
|
438 |
|
|
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
|
439 |
|
|
ac_prev=mandir ;;
|
440 |
|
|
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
|
441 |
|
|
mandir=$ac_optarg ;;
|
442 |
|
|
|
443 |
|
|
-nfp | --nfp | --nf)
|
444 |
|
|
# Obsolete; use --without-fp.
|
445 |
|
|
with_fp=no ;;
|
446 |
|
|
|
447 |
|
|
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
|
448 |
|
|
| --no-cr | --no-c | -n)
|
449 |
|
|
no_create=yes ;;
|
450 |
|
|
|
451 |
|
|
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
|
452 |
|
|
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
|
453 |
|
|
no_recursion=yes ;;
|
454 |
|
|
|
455 |
|
|
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
|
456 |
|
|
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
|
457 |
|
|
| --oldin | --oldi | --old | --ol | --o)
|
458 |
|
|
ac_prev=oldincludedir ;;
|
459 |
|
|
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
|
460 |
|
|
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
|
461 |
|
|
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
|
462 |
|
|
oldincludedir=$ac_optarg ;;
|
463 |
|
|
|
464 |
|
|
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
|
465 |
|
|
ac_prev=prefix ;;
|
466 |
|
|
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
|
467 |
|
|
prefix=$ac_optarg ;;
|
468 |
|
|
|
469 |
|
|
-program-prefix | --program-prefix | --program-prefi | --program-pref \
|
470 |
|
|
| --program-pre | --program-pr | --program-p)
|
471 |
|
|
ac_prev=program_prefix ;;
|
472 |
|
|
-program-prefix=* | --program-prefix=* | --program-prefi=* \
|
473 |
|
|
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
|
474 |
|
|
program_prefix=$ac_optarg ;;
|
475 |
|
|
|
476 |
|
|
-program-suffix | --program-suffix | --program-suffi | --program-suff \
|
477 |
|
|
| --program-suf | --program-su | --program-s)
|
478 |
|
|
ac_prev=program_suffix ;;
|
479 |
|
|
-program-suffix=* | --program-suffix=* | --program-suffi=* \
|
480 |
|
|
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
|
481 |
|
|
program_suffix=$ac_optarg ;;
|
482 |
|
|
|
483 |
|
|
-program-transform-name | --program-transform-name \
|
484 |
|
|
| --program-transform-nam | --program-transform-na \
|
485 |
|
|
| --program-transform-n | --program-transform- \
|
486 |
|
|
| --program-transform | --program-transfor \
|
487 |
|
|
| --program-transfo | --program-transf \
|
488 |
|
|
| --program-trans | --program-tran \
|
489 |
|
|
| --progr-tra | --program-tr | --program-t)
|
490 |
|
|
ac_prev=program_transform_name ;;
|
491 |
|
|
-program-transform-name=* | --program-transform-name=* \
|
492 |
|
|
| --program-transform-nam=* | --program-transform-na=* \
|
493 |
|
|
| --program-transform-n=* | --program-transform-=* \
|
494 |
|
|
| --program-transform=* | --program-transfor=* \
|
495 |
|
|
| --program-transfo=* | --program-transf=* \
|
496 |
|
|
| --program-trans=* | --program-tran=* \
|
497 |
|
|
| --progr-tra=* | --program-tr=* | --program-t=*)
|
498 |
|
|
program_transform_name=$ac_optarg ;;
|
499 |
|
|
|
500 |
|
|
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
501 |
|
|
| -silent | --silent | --silen | --sile | --sil)
|
502 |
|
|
silent=yes ;;
|
503 |
|
|
|
504 |
|
|
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
|
505 |
|
|
ac_prev=sbindir ;;
|
506 |
|
|
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
|
507 |
|
|
| --sbi=* | --sb=*)
|
508 |
|
|
sbindir=$ac_optarg ;;
|
509 |
|
|
|
510 |
|
|
-sharedstatedir | --sharedstatedir | --sharedstatedi \
|
511 |
|
|
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
|
512 |
|
|
| --sharedst | --shareds | --shared | --share | --shar \
|
513 |
|
|
| --sha | --sh)
|
514 |
|
|
ac_prev=sharedstatedir ;;
|
515 |
|
|
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
|
516 |
|
|
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
|
517 |
|
|
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
|
518 |
|
|
| --sha=* | --sh=*)
|
519 |
|
|
sharedstatedir=$ac_optarg ;;
|
520 |
|
|
|
521 |
|
|
-site | --site | --sit)
|
522 |
|
|
ac_prev=site ;;
|
523 |
|
|
-site=* | --site=* | --sit=*)
|
524 |
|
|
site=$ac_optarg ;;
|
525 |
|
|
|
526 |
|
|
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
|
527 |
|
|
ac_prev=srcdir ;;
|
528 |
|
|
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
|
529 |
|
|
srcdir=$ac_optarg ;;
|
530 |
|
|
|
531 |
|
|
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
|
532 |
|
|
| --syscon | --sysco | --sysc | --sys | --sy)
|
533 |
|
|
ac_prev=sysconfdir ;;
|
534 |
|
|
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
|
535 |
|
|
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
|
536 |
|
|
sysconfdir=$ac_optarg ;;
|
537 |
|
|
|
538 |
|
|
-target | --target | --targe | --targ | --tar | --ta | --t)
|
539 |
|
|
ac_prev=target_alias ;;
|
540 |
|
|
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
|
541 |
|
|
target_alias=$ac_optarg ;;
|
542 |
|
|
|
543 |
|
|
-v | -verbose | --verbose | --verbos | --verbo | --verb)
|
544 |
|
|
verbose=yes ;;
|
545 |
|
|
|
546 |
|
|
-version | --version | --versio | --versi | --vers | -V)
|
547 |
|
|
ac_init_version=: ;;
|
548 |
|
|
|
549 |
|
|
-with-* | --with-*)
|
550 |
|
|
ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
|
551 |
|
|
# Reject names that are not valid shell variable names.
|
552 |
|
|
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
|
553 |
|
|
{ echo "$as_me: error: invalid package name: $ac_package" >&2
|
554 |
|
|
{ (exit 1); exit 1; }; }
|
555 |
|
|
ac_package=`echo $ac_package| sed 's/-/_/g'`
|
556 |
|
|
case $ac_option in
|
557 |
|
|
*=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
|
558 |
|
|
*) ac_optarg=yes ;;
|
559 |
|
|
esac
|
560 |
|
|
eval "with_$ac_package='$ac_optarg'" ;;
|
561 |
|
|
|
562 |
|
|
-without-* | --without-*)
|
563 |
|
|
ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
|
564 |
|
|
# Reject names that are not valid shell variable names.
|
565 |
|
|
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
|
566 |
|
|
{ echo "$as_me: error: invalid package name: $ac_package" >&2
|
567 |
|
|
{ (exit 1); exit 1; }; }
|
568 |
|
|
ac_package=`echo $ac_package | sed 's/-/_/g'`
|
569 |
|
|
eval "with_$ac_package=no" ;;
|
570 |
|
|
|
571 |
|
|
--x)
|
572 |
|
|
# Obsolete; use --with-x.
|
573 |
|
|
with_x=yes ;;
|
574 |
|
|
|
575 |
|
|
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
|
576 |
|
|
| --x-incl | --x-inc | --x-in | --x-i)
|
577 |
|
|
ac_prev=x_includes ;;
|
578 |
|
|
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
|
579 |
|
|
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
|
580 |
|
|
x_includes=$ac_optarg ;;
|
581 |
|
|
|
582 |
|
|
-x-libraries | --x-libraries | --x-librarie | --x-librari \
|
583 |
|
|
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
|
584 |
|
|
ac_prev=x_libraries ;;
|
585 |
|
|
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
|
586 |
|
|
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
|
587 |
|
|
x_libraries=$ac_optarg ;;
|
588 |
|
|
|
589 |
|
|
-*) { echo "$as_me: error: unrecognized option: $ac_option
|
590 |
|
|
Try \`$0 --help' for more information." >&2
|
591 |
|
|
{ (exit 1); exit 1; }; }
|
592 |
|
|
;;
|
593 |
|
|
|
594 |
|
|
*=*)
|
595 |
|
|
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
|
596 |
|
|
# Reject names that are not valid shell variable names.
|
597 |
|
|
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
|
598 |
|
|
{ echo "$as_me: error: invalid variable name: $ac_envvar" >&2
|
599 |
|
|
{ (exit 1); exit 1; }; }
|
600 |
|
|
ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
|
601 |
|
|
eval "$ac_envvar='$ac_optarg'"
|
602 |
|
|
export $ac_envvar ;;
|
603 |
|
|
|
604 |
|
|
*)
|
605 |
|
|
# FIXME: should be removed in autoconf 3.0.
|
606 |
|
|
echo "$as_me: WARNING: you should use --build, --host, --target" >&2
|
607 |
|
|
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
|
608 |
|
|
echo "$as_me: WARNING: invalid host type: $ac_option" >&2
|
609 |
|
|
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
|
610 |
|
|
;;
|
611 |
|
|
|
612 |
|
|
esac
|
613 |
|
|
done
|
614 |
|
|
|
615 |
|
|
if test -n "$ac_prev"; then
|
616 |
|
|
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
|
617 |
|
|
{ echo "$as_me: error: missing argument to $ac_option" >&2
|
618 |
|
|
{ (exit 1); exit 1; }; }
|
619 |
|
|
fi
|
620 |
|
|
|
621 |
|
|
# Be sure to have absolute paths.
|
622 |
|
|
for ac_var in exec_prefix prefix
|
623 |
|
|
do
|
624 |
|
|
eval ac_val=$`echo $ac_var`
|
625 |
|
|
case $ac_val in
|
626 |
|
|
[\\/$]* | ?:[\\/]* | NONE | '' ) ;;
|
627 |
|
|
*) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
|
628 |
|
|
{ (exit 1); exit 1; }; };;
|
629 |
|
|
esac
|
630 |
|
|
done
|
631 |
|
|
|
632 |
|
|
# Be sure to have absolute paths.
|
633 |
|
|
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
|
634 |
|
|
localstatedir libdir includedir oldincludedir infodir mandir
|
635 |
|
|
do
|
636 |
|
|
eval ac_val=$`echo $ac_var`
|
637 |
|
|
case $ac_val in
|
638 |
|
|
[\\/$]* | ?:[\\/]* ) ;;
|
639 |
|
|
*) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
|
640 |
|
|
{ (exit 1); exit 1; }; };;
|
641 |
|
|
esac
|
642 |
|
|
done
|
643 |
|
|
|
644 |
|
|
# There might be people who depend on the old broken behavior: `$host'
|
645 |
|
|
# used to hold the argument of --host etc.
|
646 |
|
|
# FIXME: To remove some day.
|
647 |
|
|
build=$build_alias
|
648 |
|
|
host=$host_alias
|
649 |
|
|
target=$target_alias
|
650 |
|
|
|
651 |
|
|
# FIXME: To remove some day.
|
652 |
|
|
if test "x$host_alias" != x; then
|
653 |
|
|
if test "x$build_alias" = x; then
|
654 |
|
|
cross_compiling=maybe
|
655 |
|
|
echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
|
656 |
|
|
If a cross compiler is detected then cross compile mode will be used." >&2
|
657 |
|
|
elif test "x$build_alias" != "x$host_alias"; then
|
658 |
|
|
cross_compiling=yes
|
659 |
|
|
fi
|
660 |
|
|
fi
|
661 |
|
|
|
662 |
|
|
ac_tool_prefix=
|
663 |
|
|
test -n "$host_alias" && ac_tool_prefix=$host_alias-
|
664 |
|
|
|
665 |
|
|
test "$silent" = yes && exec 6>/dev/null
|
666 |
|
|
|
667 |
|
|
|
668 |
|
|
# Find the source files, if location was not specified.
|
669 |
|
|
if test -z "$srcdir"; then
|
670 |
|
|
ac_srcdir_defaulted=yes
|
671 |
|
|
# Try the directory containing this script, then its parent.
|
672 |
|
|
ac_confdir=`(dirname "$0") 2>/dev/null ||
|
673 |
|
|
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
674 |
|
|
X"$0" : 'X\(//\)[^/]' \| \
|
675 |
|
|
X"$0" : 'X\(//\)$' \| \
|
676 |
|
|
X"$0" : 'X\(/\)' \| \
|
677 |
|
|
. : '\(.\)' 2>/dev/null ||
|
678 |
|
|
echo X"$0" |
|
679 |
|
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
680 |
|
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
681 |
|
|
/^X\(\/\/\)$/{ s//\1/; q; }
|
682 |
|
|
/^X\(\/\).*/{ s//\1/; q; }
|
683 |
|
|
s/.*/./; q'`
|
684 |
|
|
srcdir=$ac_confdir
|
685 |
|
|
if test ! -r $srcdir/$ac_unique_file; then
|
686 |
|
|
srcdir=..
|
687 |
|
|
fi
|
688 |
|
|
else
|
689 |
|
|
ac_srcdir_defaulted=no
|
690 |
|
|
fi
|
691 |
|
|
if test ! -r $srcdir/$ac_unique_file; then
|
692 |
|
|
if test "$ac_srcdir_defaulted" = yes; then
|
693 |
|
|
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
|
694 |
|
|
{ (exit 1); exit 1; }; }
|
695 |
|
|
else
|
696 |
|
|
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
|
697 |
|
|
{ (exit 1); exit 1; }; }
|
698 |
|
|
fi
|
699 |
|
|
fi
|
700 |
|
|
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
|
701 |
|
|
{ echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
|
702 |
|
|
{ (exit 1); exit 1; }; }
|
703 |
|
|
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
|
704 |
|
|
ac_env_build_alias_set=${build_alias+set}
|
705 |
|
|
ac_env_build_alias_value=$build_alias
|
706 |
|
|
ac_cv_env_build_alias_set=${build_alias+set}
|
707 |
|
|
ac_cv_env_build_alias_value=$build_alias
|
708 |
|
|
ac_env_host_alias_set=${host_alias+set}
|
709 |
|
|
ac_env_host_alias_value=$host_alias
|
710 |
|
|
ac_cv_env_host_alias_set=${host_alias+set}
|
711 |
|
|
ac_cv_env_host_alias_value=$host_alias
|
712 |
|
|
ac_env_target_alias_set=${target_alias+set}
|
713 |
|
|
ac_env_target_alias_value=$target_alias
|
714 |
|
|
ac_cv_env_target_alias_set=${target_alias+set}
|
715 |
|
|
ac_cv_env_target_alias_value=$target_alias
|
716 |
|
|
ac_env_CC_set=${CC+set}
|
717 |
|
|
ac_env_CC_value=$CC
|
718 |
|
|
ac_cv_env_CC_set=${CC+set}
|
719 |
|
|
ac_cv_env_CC_value=$CC
|
720 |
|
|
ac_env_CFLAGS_set=${CFLAGS+set}
|
721 |
|
|
ac_env_CFLAGS_value=$CFLAGS
|
722 |
|
|
ac_cv_env_CFLAGS_set=${CFLAGS+set}
|
723 |
|
|
ac_cv_env_CFLAGS_value=$CFLAGS
|
724 |
|
|
ac_env_LDFLAGS_set=${LDFLAGS+set}
|
725 |
|
|
ac_env_LDFLAGS_value=$LDFLAGS
|
726 |
|
|
ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
|
727 |
|
|
ac_cv_env_LDFLAGS_value=$LDFLAGS
|
728 |
|
|
ac_env_CPPFLAGS_set=${CPPFLAGS+set}
|
729 |
|
|
ac_env_CPPFLAGS_value=$CPPFLAGS
|
730 |
|
|
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
|
731 |
|
|
ac_cv_env_CPPFLAGS_value=$CPPFLAGS
|
732 |
|
|
|
733 |
|
|
#
|
734 |
|
|
# Report the --help message.
|
735 |
|
|
#
|
736 |
|
|
if test "$ac_init_help" = "long"; then
|
737 |
|
|
# Omit some internal or obsolete options to make the list less imposing.
|
738 |
|
|
# This message is too long to be a string in the A/UX 3.1 sh.
|
739 |
|
|
cat <<_ACEOF
|
740 |
|
|
\`configure' configures this package to adapt to many kinds of systems.
|
741 |
|
|
|
742 |
|
|
Usage: $0 [OPTION]... [VAR=VALUE]...
|
743 |
|
|
|
744 |
|
|
To assign environment variables (e.g., CC, CFLAGS...), specify them as
|
745 |
|
|
VAR=VALUE. See below for descriptions of some of the useful variables.
|
746 |
|
|
|
747 |
|
|
Defaults for the options are specified in brackets.
|
748 |
|
|
|
749 |
|
|
Configuration:
|
750 |
|
|
-h, --help display this help and exit
|
751 |
|
|
--help=short display options specific to this package
|
752 |
|
|
--help=recursive display the short help of all the included packages
|
753 |
|
|
-V, --version display version information and exit
|
754 |
|
|
-q, --quiet, --silent do not print \`checking...' messages
|
755 |
|
|
--cache-file=FILE cache test results in FILE [disabled]
|
756 |
|
|
-C, --config-cache alias for \`--cache-file=config.cache'
|
757 |
|
|
-n, --no-create do not create output files
|
758 |
|
|
--srcdir=DIR find the sources in DIR [configure dir or \`..']
|
759 |
|
|
|
760 |
|
|
_ACEOF
|
761 |
|
|
|
762 |
|
|
cat <<_ACEOF
|
763 |
|
|
Installation directories:
|
764 |
|
|
--prefix=PREFIX install architecture-independent files in PREFIX
|
765 |
|
|
[$ac_default_prefix]
|
766 |
|
|
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
|
767 |
|
|
[PREFIX]
|
768 |
|
|
|
769 |
|
|
By default, \`make install' will install all the files in
|
770 |
|
|
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
|
771 |
|
|
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
|
772 |
|
|
for instance \`--prefix=\$HOME'.
|
773 |
|
|
|
774 |
|
|
For better control, use the options below.
|
775 |
|
|
|
776 |
|
|
Fine tuning of the installation directories:
|
777 |
|
|
--bindir=DIR user executables [EPREFIX/bin]
|
778 |
|
|
--sbindir=DIR system admin executables [EPREFIX/sbin]
|
779 |
|
|
--libexecdir=DIR program executables [EPREFIX/libexec]
|
780 |
|
|
--datadir=DIR read-only architecture-independent data [PREFIX/share]
|
781 |
|
|
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
|
782 |
|
|
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
|
783 |
|
|
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
|
784 |
|
|
--libdir=DIR object code libraries [EPREFIX/lib]
|
785 |
|
|
--includedir=DIR C header files [PREFIX/include]
|
786 |
|
|
--oldincludedir=DIR C header files for non-gcc [/usr/include]
|
787 |
|
|
--infodir=DIR info documentation [PREFIX/info]
|
788 |
|
|
--mandir=DIR man documentation [PREFIX/man]
|
789 |
|
|
_ACEOF
|
790 |
|
|
|
791 |
|
|
cat <<\_ACEOF
|
792 |
|
|
|
793 |
|
|
Program names:
|
794 |
|
|
--program-prefix=PREFIX prepend PREFIX to installed program names
|
795 |
|
|
--program-suffix=SUFFIX append SUFFIX to installed program names
|
796 |
|
|
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
|
797 |
|
|
|
798 |
|
|
System types:
|
799 |
|
|
--build=BUILD configure for building on BUILD [guessed]
|
800 |
|
|
--host=HOST cross-compile to build programs to run on HOST [BUILD]
|
801 |
|
|
--target=TARGET configure for building compilers for TARGET [HOST]
|
802 |
|
|
_ACEOF
|
803 |
|
|
fi
|
804 |
|
|
|
805 |
|
|
if test -n "$ac_init_help"; then
|
806 |
|
|
|
807 |
|
|
cat <<\_ACEOF
|
808 |
|
|
|
809 |
|
|
Optional Features:
|
810 |
|
|
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
|
811 |
|
|
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
|
812 |
|
|
--enable-libada Builds libada directory
|
813 |
|
|
--enable-libssp Builds libssp directory
|
814 |
|
|
--enable-bootstrap=lean Enable bootstrapping no
|
815 |
|
|
--enable-serial-{host,target,build}-configure
|
816 |
|
|
Force sequential configuration of
|
817 |
|
|
sub-packages for the host, target or build
|
818 |
|
|
machine, or all sub-packages
|
819 |
|
|
--enable-maintainer-mode enable make rules and dependencies not useful
|
820 |
|
|
(and sometimes confusing) to the casual installer
|
821 |
|
|
--enable-werror enable -Werror in bootstrap stage2 and later
|
822 |
|
|
|
823 |
|
|
Optional Packages:
|
824 |
|
|
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
|
825 |
|
|
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
|
826 |
|
|
--with-mpfr-dir=PATH Specify source directory for MPFR library
|
827 |
|
|
--with-mpfr=PATH Specify directory for installed MPFR library
|
828 |
|
|
--with-gmp-dir=PATH Specify source directory for GMP library
|
829 |
|
|
--with-gmp=PATH Specify directory for installed GMP library
|
830 |
|
|
--with-build-sysroot=sysroot
|
831 |
|
|
use sysroot as the system root during the build
|
832 |
|
|
|
833 |
|
|
Some influential environment variables:
|
834 |
|
|
CC C compiler command
|
835 |
|
|
CFLAGS C compiler flags
|
836 |
|
|
LDFLAGS linker flags, e.g. -L if you have libraries in a
|
837 |
|
|
nonstandard directory
|
838 |
|
|
CPPFLAGS C/C++ preprocessor flags, e.g. -I if you have
|
839 |
|
|
headers in a nonstandard directory
|
840 |
|
|
|
841 |
|
|
Use these variables to override the choices made by `configure' or to help
|
842 |
|
|
it to find libraries and programs with nonstandard names/locations.
|
843 |
|
|
|
844 |
|
|
_ACEOF
|
845 |
|
|
fi
|
846 |
|
|
|
847 |
|
|
if test "$ac_init_help" = "recursive"; then
|
848 |
|
|
# If there are subdirs, report their specific --help.
|
849 |
|
|
ac_popdir=`pwd`
|
850 |
|
|
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
|
851 |
|
|
test -d $ac_dir || continue
|
852 |
|
|
ac_builddir=.
|
853 |
|
|
|
854 |
|
|
if test "$ac_dir" != .; then
|
855 |
|
|
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
|
856 |
|
|
# A "../" for each directory in $ac_dir_suffix.
|
857 |
|
|
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
|
858 |
|
|
else
|
859 |
|
|
ac_dir_suffix= ac_top_builddir=
|
860 |
|
|
fi
|
861 |
|
|
|
862 |
|
|
case $srcdir in
|
863 |
|
|
.) # No --srcdir option. We are building in place.
|
864 |
|
|
ac_srcdir=.
|
865 |
|
|
if test -z "$ac_top_builddir"; then
|
866 |
|
|
ac_top_srcdir=.
|
867 |
|
|
else
|
868 |
|
|
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
|
869 |
|
|
fi ;;
|
870 |
|
|
[\\/]* | ?:[\\/]* ) # Absolute path.
|
871 |
|
|
ac_srcdir=$srcdir$ac_dir_suffix;
|
872 |
|
|
ac_top_srcdir=$srcdir ;;
|
873 |
|
|
*) # Relative path.
|
874 |
|
|
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
|
875 |
|
|
ac_top_srcdir=$ac_top_builddir$srcdir ;;
|
876 |
|
|
esac
|
877 |
|
|
|
878 |
|
|
# Do not use `cd foo && pwd` to compute absolute paths, because
|
879 |
|
|
# the directories may not exist.
|
880 |
|
|
case `pwd` in
|
881 |
|
|
.) ac_abs_builddir="$ac_dir";;
|
882 |
|
|
*)
|
883 |
|
|
case "$ac_dir" in
|
884 |
|
|
.) ac_abs_builddir=`pwd`;;
|
885 |
|
|
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
|
886 |
|
|
*) ac_abs_builddir=`pwd`/"$ac_dir";;
|
887 |
|
|
esac;;
|
888 |
|
|
esac
|
889 |
|
|
case $ac_abs_builddir in
|
890 |
|
|
.) ac_abs_top_builddir=${ac_top_builddir}.;;
|
891 |
|
|
*)
|
892 |
|
|
case ${ac_top_builddir}. in
|
893 |
|
|
.) ac_abs_top_builddir=$ac_abs_builddir;;
|
894 |
|
|
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
|
895 |
|
|
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
|
896 |
|
|
esac;;
|
897 |
|
|
esac
|
898 |
|
|
case $ac_abs_builddir in
|
899 |
|
|
.) ac_abs_srcdir=$ac_srcdir;;
|
900 |
|
|
*)
|
901 |
|
|
case $ac_srcdir in
|
902 |
|
|
.) ac_abs_srcdir=$ac_abs_builddir;;
|
903 |
|
|
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
|
904 |
|
|
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
|
905 |
|
|
esac;;
|
906 |
|
|
esac
|
907 |
|
|
case $ac_abs_builddir in
|
908 |
|
|
.) ac_abs_top_srcdir=$ac_top_srcdir;;
|
909 |
|
|
*)
|
910 |
|
|
case $ac_top_srcdir in
|
911 |
|
|
.) ac_abs_top_srcdir=$ac_abs_builddir;;
|
912 |
|
|
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
|
913 |
|
|
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
|
914 |
|
|
esac;;
|
915 |
|
|
esac
|
916 |
|
|
|
917 |
|
|
cd $ac_dir
|
918 |
|
|
# Check for guested configure; otherwise get Cygnus style configure.
|
919 |
|
|
if test -f $ac_srcdir/configure.gnu; then
|
920 |
|
|
echo
|
921 |
|
|
$SHELL $ac_srcdir/configure.gnu --help=recursive
|
922 |
|
|
elif test -f $ac_srcdir/configure; then
|
923 |
|
|
echo
|
924 |
|
|
$SHELL $ac_srcdir/configure --help=recursive
|
925 |
|
|
elif test -f $ac_srcdir/configure.ac ||
|
926 |
|
|
test -f $ac_srcdir/configure.in; then
|
927 |
|
|
echo
|
928 |
|
|
$ac_configure --help
|
929 |
|
|
else
|
930 |
|
|
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
|
931 |
|
|
fi
|
932 |
|
|
cd $ac_popdir
|
933 |
|
|
done
|
934 |
|
|
fi
|
935 |
|
|
|
936 |
|
|
test -n "$ac_init_help" && exit 0
|
937 |
|
|
if $ac_init_version; then
|
938 |
|
|
cat <<\_ACEOF
|
939 |
|
|
|
940 |
|
|
Copyright (C) 2003 Free Software Foundation, Inc.
|
941 |
|
|
This configure script is free software; the Free Software Foundation
|
942 |
|
|
gives unlimited permission to copy, distribute and modify it.
|
943 |
|
|
_ACEOF
|
944 |
|
|
exit 0
|
945 |
|
|
fi
|
946 |
|
|
exec 5>config.log
|
947 |
|
|
cat >&5 <<_ACEOF
|
948 |
|
|
This file contains any messages produced by compilers while
|
949 |
|
|
running configure, to aid debugging if configure makes a mistake.
|
950 |
|
|
|
951 |
|
|
It was created by $as_me, which was
|
952 |
|
|
generated by GNU Autoconf 2.59. Invocation command line was
|
953 |
|
|
|
954 |
|
|
$ $0 $@
|
955 |
|
|
|
956 |
|
|
_ACEOF
|
957 |
|
|
{
|
958 |
|
|
cat <<_ASUNAME
|
959 |
|
|
## --------- ##
|
960 |
|
|
## Platform. ##
|
961 |
|
|
## --------- ##
|
962 |
|
|
|
963 |
|
|
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
|
964 |
|
|
uname -m = `(uname -m) 2>/dev/null || echo unknown`
|
965 |
|
|
uname -r = `(uname -r) 2>/dev/null || echo unknown`
|
966 |
|
|
uname -s = `(uname -s) 2>/dev/null || echo unknown`
|
967 |
|
|
uname -v = `(uname -v) 2>/dev/null || echo unknown`
|
968 |
|
|
|
969 |
|
|
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
|
970 |
|
|
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
|
971 |
|
|
|
972 |
|
|
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
|
973 |
|
|
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
|
974 |
|
|
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
|
975 |
|
|
hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
|
976 |
|
|
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
|
977 |
|
|
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
|
978 |
|
|
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
|
979 |
|
|
|
980 |
|
|
_ASUNAME
|
981 |
|
|
|
982 |
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
983 |
|
|
for as_dir in $PATH
|
984 |
|
|
do
|
985 |
|
|
IFS=$as_save_IFS
|
986 |
|
|
test -z "$as_dir" && as_dir=.
|
987 |
|
|
echo "PATH: $as_dir"
|
988 |
|
|
done
|
989 |
|
|
|
990 |
|
|
} >&5
|
991 |
|
|
|
992 |
|
|
cat >&5 <<_ACEOF
|
993 |
|
|
|
994 |
|
|
|
995 |
|
|
## ----------- ##
|
996 |
|
|
## Core tests. ##
|
997 |
|
|
## ----------- ##
|
998 |
|
|
|
999 |
|
|
_ACEOF
|
1000 |
|
|
|
1001 |
|
|
|
1002 |
|
|
# Keep a trace of the command line.
|
1003 |
|
|
# Strip out --no-create and --no-recursion so they do not pile up.
|
1004 |
|
|
# Strip out --silent because we don't want to record it for future runs.
|
1005 |
|
|
# Also quote any args containing shell meta-characters.
|
1006 |
|
|
# Make two passes to allow for proper duplicate-argument suppression.
|
1007 |
|
|
ac_configure_args=
|
1008 |
|
|
ac_configure_args0=
|
1009 |
|
|
ac_configure_args1=
|
1010 |
|
|
ac_sep=
|
1011 |
|
|
ac_must_keep_next=false
|
1012 |
|
|
for ac_pass in 1 2
|
1013 |
|
|
do
|
1014 |
|
|
for ac_arg
|
1015 |
|
|
do
|
1016 |
|
|
case $ac_arg in
|
1017 |
|
|
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
|
1018 |
|
|
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
1019 |
|
|
| -silent | --silent | --silen | --sile | --sil)
|
1020 |
|
|
continue ;;
|
1021 |
|
|
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
|
1022 |
|
|
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
1023 |
|
|
esac
|
1024 |
|
|
case $ac_pass in
|
1025 |
|
|
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
|
1026 |
|
|
2)
|
1027 |
|
|
ac_configure_args1="$ac_configure_args1 '$ac_arg'"
|
1028 |
|
|
if test $ac_must_keep_next = true; then
|
1029 |
|
|
ac_must_keep_next=false # Got value, back to normal.
|
1030 |
|
|
else
|
1031 |
|
|
case $ac_arg in
|
1032 |
|
|
*=* | --config-cache | -C | -disable-* | --disable-* \
|
1033 |
|
|
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
|
1034 |
|
|
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
|
1035 |
|
|
| -with-* | --with-* | -without-* | --without-* | --x)
|
1036 |
|
|
case "$ac_configure_args0 " in
|
1037 |
|
|
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
|
1038 |
|
|
esac
|
1039 |
|
|
;;
|
1040 |
|
|
-* ) ac_must_keep_next=true ;;
|
1041 |
|
|
esac
|
1042 |
|
|
fi
|
1043 |
|
|
ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
|
1044 |
|
|
# Get rid of the leading space.
|
1045 |
|
|
ac_sep=" "
|
1046 |
|
|
;;
|
1047 |
|
|
esac
|
1048 |
|
|
done
|
1049 |
|
|
done
|
1050 |
|
|
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
|
1051 |
|
|
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
|
1052 |
|
|
|
1053 |
|
|
# When interrupted or exit'd, cleanup temporary files, and complete
|
1054 |
|
|
# config.log. We remove comments because anyway the quotes in there
|
1055 |
|
|
# would cause problems or look ugly.
|
1056 |
|
|
# WARNING: Be sure not to use single quotes in there, as some shells,
|
1057 |
|
|
# such as our DU 5.0 friend, will then `close' the trap.
|
1058 |
|
|
trap 'exit_status=$?
|
1059 |
|
|
# Save into config.log some information that might help in debugging.
|
1060 |
|
|
{
|
1061 |
|
|
echo
|
1062 |
|
|
|
1063 |
|
|
cat <<\_ASBOX
|
1064 |
|
|
## ---------------- ##
|
1065 |
|
|
## Cache variables. ##
|
1066 |
|
|
## ---------------- ##
|
1067 |
|
|
_ASBOX
|
1068 |
|
|
echo
|
1069 |
|
|
# The following way of writing the cache mishandles newlines in values,
|
1070 |
|
|
{
|
1071 |
|
|
(set) 2>&1 |
|
1072 |
|
|
case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
|
1073 |
|
|
*ac_space=\ *)
|
1074 |
|
|
sed -n \
|
1075 |
|
|
"s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
|
1076 |
|
|
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
|
1077 |
|
|
;;
|
1078 |
|
|
*)
|
1079 |
|
|
sed -n \
|
1080 |
|
|
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
|
1081 |
|
|
;;
|
1082 |
|
|
esac;
|
1083 |
|
|
}
|
1084 |
|
|
echo
|
1085 |
|
|
|
1086 |
|
|
cat <<\_ASBOX
|
1087 |
|
|
## ----------------- ##
|
1088 |
|
|
## Output variables. ##
|
1089 |
|
|
## ----------------- ##
|
1090 |
|
|
_ASBOX
|
1091 |
|
|
echo
|
1092 |
|
|
for ac_var in $ac_subst_vars
|
1093 |
|
|
do
|
1094 |
|
|
eval ac_val=$`echo $ac_var`
|
1095 |
|
|
echo "$ac_var='"'"'$ac_val'"'"'"
|
1096 |
|
|
done | sort
|
1097 |
|
|
echo
|
1098 |
|
|
|
1099 |
|
|
if test -n "$ac_subst_files"; then
|
1100 |
|
|
cat <<\_ASBOX
|
1101 |
|
|
## ------------- ##
|
1102 |
|
|
## Output files. ##
|
1103 |
|
|
## ------------- ##
|
1104 |
|
|
_ASBOX
|
1105 |
|
|
echo
|
1106 |
|
|
for ac_var in $ac_subst_files
|
1107 |
|
|
do
|
1108 |
|
|
eval ac_val=$`echo $ac_var`
|
1109 |
|
|
echo "$ac_var='"'"'$ac_val'"'"'"
|
1110 |
|
|
done | sort
|
1111 |
|
|
echo
|
1112 |
|
|
fi
|
1113 |
|
|
|
1114 |
|
|
if test -s confdefs.h; then
|
1115 |
|
|
cat <<\_ASBOX
|
1116 |
|
|
## ----------- ##
|
1117 |
|
|
## confdefs.h. ##
|
1118 |
|
|
## ----------- ##
|
1119 |
|
|
_ASBOX
|
1120 |
|
|
echo
|
1121 |
|
|
sed "/^$/d" confdefs.h | sort
|
1122 |
|
|
echo
|
1123 |
|
|
fi
|
1124 |
|
|
test "$ac_signal" != 0 &&
|
1125 |
|
|
echo "$as_me: caught signal $ac_signal"
|
1126 |
|
|
echo "$as_me: exit $exit_status"
|
1127 |
|
|
} >&5
|
1128 |
|
|
rm -f core *.core &&
|
1129 |
|
|
rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
|
1130 |
|
|
exit $exit_status
|
1131 |
|
|
' 0
|
1132 |
|
|
for ac_signal in 1 2 13 15; do
|
1133 |
|
|
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
|
1134 |
|
|
done
|
1135 |
|
|
ac_signal=0
|
1136 |
|
|
|
1137 |
|
|
# confdefs.h avoids OS command line length limits that DEFS can exceed.
|
1138 |
|
|
rm -rf conftest* confdefs.h
|
1139 |
|
|
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
|
1140 |
|
|
echo >confdefs.h
|
1141 |
|
|
|
1142 |
|
|
# Predefined preprocessor variables.
|
1143 |
|
|
|
1144 |
|
|
cat >>confdefs.h <<_ACEOF
|
1145 |
|
|
#define PACKAGE_NAME "$PACKAGE_NAME"
|
1146 |
|
|
_ACEOF
|
1147 |
|
|
|
1148 |
|
|
|
1149 |
|
|
cat >>confdefs.h <<_ACEOF
|
1150 |
|
|
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
|
1151 |
|
|
_ACEOF
|
1152 |
|
|
|
1153 |
|
|
|
1154 |
|
|
cat >>confdefs.h <<_ACEOF
|
1155 |
|
|
#define PACKAGE_VERSION "$PACKAGE_VERSION"
|
1156 |
|
|
_ACEOF
|
1157 |
|
|
|
1158 |
|
|
|
1159 |
|
|
cat >>confdefs.h <<_ACEOF
|
1160 |
|
|
#define PACKAGE_STRING "$PACKAGE_STRING"
|
1161 |
|
|
_ACEOF
|
1162 |
|
|
|
1163 |
|
|
|
1164 |
|
|
cat >>confdefs.h <<_ACEOF
|
1165 |
|
|
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
|
1166 |
|
|
_ACEOF
|
1167 |
|
|
|
1168 |
|
|
|
1169 |
|
|
# Let the site file select an alternate cache file if it wants to.
|
1170 |
|
|
# Prefer explicitly selected file to automatically selected ones.
|
1171 |
|
|
if test -z "$CONFIG_SITE"; then
|
1172 |
|
|
if test "x$prefix" != xNONE; then
|
1173 |
|
|
CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
|
1174 |
|
|
else
|
1175 |
|
|
CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
|
1176 |
|
|
fi
|
1177 |
|
|
fi
|
1178 |
|
|
for ac_site_file in $CONFIG_SITE; do
|
1179 |
|
|
if test -r "$ac_site_file"; then
|
1180 |
|
|
{ echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
|
1181 |
|
|
echo "$as_me: loading site script $ac_site_file" >&6;}
|
1182 |
|
|
sed 's/^/| /' "$ac_site_file" >&5
|
1183 |
|
|
. "$ac_site_file"
|
1184 |
|
|
fi
|
1185 |
|
|
done
|
1186 |
|
|
|
1187 |
|
|
if test -r "$cache_file"; then
|
1188 |
|
|
# Some versions of bash will fail to source /dev/null (special
|
1189 |
|
|
# files actually), so we avoid doing that.
|
1190 |
|
|
if test -f "$cache_file"; then
|
1191 |
|
|
{ echo "$as_me:$LINENO: loading cache $cache_file" >&5
|
1192 |
|
|
echo "$as_me: loading cache $cache_file" >&6;}
|
1193 |
|
|
case $cache_file in
|
1194 |
|
|
[\\/]* | ?:[\\/]* ) . $cache_file;;
|
1195 |
|
|
*) . ./$cache_file;;
|
1196 |
|
|
esac
|
1197 |
|
|
fi
|
1198 |
|
|
else
|
1199 |
|
|
{ echo "$as_me:$LINENO: creating cache $cache_file" >&5
|
1200 |
|
|
echo "$as_me: creating cache $cache_file" >&6;}
|
1201 |
|
|
>$cache_file
|
1202 |
|
|
fi
|
1203 |
|
|
|
1204 |
|
|
# Check that the precious variables saved in the cache have kept the same
|
1205 |
|
|
# value.
|
1206 |
|
|
ac_cache_corrupted=false
|
1207 |
|
|
for ac_var in `(set) 2>&1 |
|
1208 |
|
|
sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
|
1209 |
|
|
eval ac_old_set=\$ac_cv_env_${ac_var}_set
|
1210 |
|
|
eval ac_new_set=\$ac_env_${ac_var}_set
|
1211 |
|
|
eval ac_old_val="\$ac_cv_env_${ac_var}_value"
|
1212 |
|
|
eval ac_new_val="\$ac_env_${ac_var}_value"
|
1213 |
|
|
case $ac_old_set,$ac_new_set in
|
1214 |
|
|
set,)
|
1215 |
|
|
{ echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
|
1216 |
|
|
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
|
1217 |
|
|
ac_cache_corrupted=: ;;
|
1218 |
|
|
,set)
|
1219 |
|
|
{ echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
|
1220 |
|
|
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
|
1221 |
|
|
ac_cache_corrupted=: ;;
|
1222 |
|
|
,);;
|
1223 |
|
|
*)
|
1224 |
|
|
if test "x$ac_old_val" != "x$ac_new_val"; then
|
1225 |
|
|
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
|
1226 |
|
|
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
|
1227 |
|
|
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5
|
1228 |
|
|
echo "$as_me: former value: $ac_old_val" >&2;}
|
1229 |
|
|
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5
|
1230 |
|
|
echo "$as_me: current value: $ac_new_val" >&2;}
|
1231 |
|
|
ac_cache_corrupted=:
|
1232 |
|
|
fi;;
|
1233 |
|
|
esac
|
1234 |
|
|
# Pass precious variables to config.status.
|
1235 |
|
|
if test "$ac_new_set" = set; then
|
1236 |
|
|
case $ac_new_val in
|
1237 |
|
|
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
|
1238 |
|
|
ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
|
1239 |
|
|
*) ac_arg=$ac_var=$ac_new_val ;;
|
1240 |
|
|
esac
|
1241 |
|
|
case " $ac_configure_args " in
|
1242 |
|
|
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
|
1243 |
|
|
*) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
|
1244 |
|
|
esac
|
1245 |
|
|
fi
|
1246 |
|
|
done
|
1247 |
|
|
if $ac_cache_corrupted; then
|
1248 |
|
|
{ echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
|
1249 |
|
|
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
|
1250 |
|
|
{ { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
|
1251 |
|
|
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
|
1252 |
|
|
{ (exit 1); exit 1; }; }
|
1253 |
|
|
fi
|
1254 |
|
|
|
1255 |
|
|
ac_ext=c
|
1256 |
|
|
ac_cpp='$CPP $CPPFLAGS'
|
1257 |
|
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
1258 |
|
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
1259 |
|
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
1260 |
|
|
|
1261 |
|
|
|
1262 |
|
|
|
1263 |
|
|
|
1264 |
|
|
|
1265 |
|
|
|
1266 |
|
|
|
1267 |
|
|
|
1268 |
|
|
|
1269 |
|
|
|
1270 |
|
|
|
1271 |
|
|
|
1272 |
|
|
|
1273 |
|
|
|
1274 |
|
|
|
1275 |
|
|
|
1276 |
|
|
|
1277 |
|
|
|
1278 |
|
|
|
1279 |
|
|
|
1280 |
|
|
ac_aux_dir=
|
1281 |
|
|
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
|
1282 |
|
|
if test -f $ac_dir/install-sh; then
|
1283 |
|
|
ac_aux_dir=$ac_dir
|
1284 |
|
|
ac_install_sh="$ac_aux_dir/install-sh -c"
|
1285 |
|
|
break
|
1286 |
|
|
elif test -f $ac_dir/install.sh; then
|
1287 |
|
|
ac_aux_dir=$ac_dir
|
1288 |
|
|
ac_install_sh="$ac_aux_dir/install.sh -c"
|
1289 |
|
|
break
|
1290 |
|
|
elif test -f $ac_dir/shtool; then
|
1291 |
|
|
ac_aux_dir=$ac_dir
|
1292 |
|
|
ac_install_sh="$ac_aux_dir/shtool install -c"
|
1293 |
|
|
break
|
1294 |
|
|
fi
|
1295 |
|
|
done
|
1296 |
|
|
if test -z "$ac_aux_dir"; then
|
1297 |
|
|
{ { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
|
1298 |
|
|
echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
|
1299 |
|
|
{ (exit 1); exit 1; }; }
|
1300 |
|
|
fi
|
1301 |
|
|
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
|
1302 |
|
|
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
|
1303 |
|
|
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
|
1304 |
|
|
|
1305 |
|
|
# Make sure we can run config.sub.
|
1306 |
|
|
$ac_config_sub sun4 >/dev/null 2>&1 ||
|
1307 |
|
|
{ { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
|
1308 |
|
|
echo "$as_me: error: cannot run $ac_config_sub" >&2;}
|
1309 |
|
|
{ (exit 1); exit 1; }; }
|
1310 |
|
|
|
1311 |
|
|
echo "$as_me:$LINENO: checking build system type" >&5
|
1312 |
|
|
echo $ECHO_N "checking build system type... $ECHO_C" >&6
|
1313 |
|
|
if test "${ac_cv_build+set}" = set; then
|
1314 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
1315 |
|
|
else
|
1316 |
|
|
ac_cv_build_alias=$build_alias
|
1317 |
|
|
test -z "$ac_cv_build_alias" &&
|
1318 |
|
|
ac_cv_build_alias=`$ac_config_guess`
|
1319 |
|
|
test -z "$ac_cv_build_alias" &&
|
1320 |
|
|
{ { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
|
1321 |
|
|
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
|
1322 |
|
|
{ (exit 1); exit 1; }; }
|
1323 |
|
|
ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
|
1324 |
|
|
{ { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
|
1325 |
|
|
echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
|
1326 |
|
|
{ (exit 1); exit 1; }; }
|
1327 |
|
|
|
1328 |
|
|
fi
|
1329 |
|
|
echo "$as_me:$LINENO: result: $ac_cv_build" >&5
|
1330 |
|
|
echo "${ECHO_T}$ac_cv_build" >&6
|
1331 |
|
|
build=$ac_cv_build
|
1332 |
|
|
build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
|
1333 |
|
|
build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
|
1334 |
|
|
build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
|
1335 |
|
|
|
1336 |
|
|
|
1337 |
|
|
echo "$as_me:$LINENO: checking host system type" >&5
|
1338 |
|
|
echo $ECHO_N "checking host system type... $ECHO_C" >&6
|
1339 |
|
|
if test "${ac_cv_host+set}" = set; then
|
1340 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
1341 |
|
|
else
|
1342 |
|
|
ac_cv_host_alias=$host_alias
|
1343 |
|
|
test -z "$ac_cv_host_alias" &&
|
1344 |
|
|
ac_cv_host_alias=$ac_cv_build_alias
|
1345 |
|
|
ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
|
1346 |
|
|
{ { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
|
1347 |
|
|
echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
|
1348 |
|
|
{ (exit 1); exit 1; }; }
|
1349 |
|
|
|
1350 |
|
|
fi
|
1351 |
|
|
echo "$as_me:$LINENO: result: $ac_cv_host" >&5
|
1352 |
|
|
echo "${ECHO_T}$ac_cv_host" >&6
|
1353 |
|
|
host=$ac_cv_host
|
1354 |
|
|
host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
|
1355 |
|
|
host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
|
1356 |
|
|
host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
|
1357 |
|
|
|
1358 |
|
|
|
1359 |
|
|
echo "$as_me:$LINENO: checking target system type" >&5
|
1360 |
|
|
echo $ECHO_N "checking target system type... $ECHO_C" >&6
|
1361 |
|
|
if test "${ac_cv_target+set}" = set; then
|
1362 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
1363 |
|
|
else
|
1364 |
|
|
ac_cv_target_alias=$target_alias
|
1365 |
|
|
test "x$ac_cv_target_alias" = "x" &&
|
1366 |
|
|
ac_cv_target_alias=$ac_cv_host_alias
|
1367 |
|
|
ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
|
1368 |
|
|
{ { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
|
1369 |
|
|
echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
|
1370 |
|
|
{ (exit 1); exit 1; }; }
|
1371 |
|
|
|
1372 |
|
|
fi
|
1373 |
|
|
echo "$as_me:$LINENO: result: $ac_cv_target" >&5
|
1374 |
|
|
echo "${ECHO_T}$ac_cv_target" >&6
|
1375 |
|
|
target=$ac_cv_target
|
1376 |
|
|
target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
|
1377 |
|
|
target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
|
1378 |
|
|
target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
|
1379 |
|
|
|
1380 |
|
|
|
1381 |
|
|
# The aliases save the names the user supplied, while $host etc.
|
1382 |
|
|
# will get canonicalized.
|
1383 |
|
|
test -n "$target_alias" &&
|
1384 |
|
|
test "$program_prefix$program_suffix$program_transform_name" = \
|
1385 |
|
|
NONENONEs,x,x, &&
|
1386 |
|
|
program_prefix=${target_alias}-
|
1387 |
|
|
test "$program_prefix" != NONE &&
|
1388 |
|
|
program_transform_name="s,^,$program_prefix,;$program_transform_name"
|
1389 |
|
|
# Use a double $ so make ignores it.
|
1390 |
|
|
test "$program_suffix" != NONE &&
|
1391 |
|
|
program_transform_name="s,\$,$program_suffix,;$program_transform_name"
|
1392 |
|
|
# Double any \ or $. echo might interpret backslashes.
|
1393 |
|
|
# By default was `s,x,x', remove it if useless.
|
1394 |
|
|
cat <<\_ACEOF >conftest.sed
|
1395 |
|
|
s/[\\$]/&&/g;s/;s,x,x,$//
|
1396 |
|
|
_ACEOF
|
1397 |
|
|
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
|
1398 |
|
|
rm conftest.sed
|
1399 |
|
|
|
1400 |
|
|
|
1401 |
|
|
# Get 'install' or 'install-sh' and its variants.
|
1402 |
|
|
# Find a good install program. We prefer a C program (faster),
|
1403 |
|
|
# so one script is as good as another. But avoid the broken or
|
1404 |
|
|
# incompatible versions:
|
1405 |
|
|
# SysV /etc/install, /usr/sbin/install
|
1406 |
|
|
# SunOS /usr/etc/install
|
1407 |
|
|
# IRIX /sbin/install
|
1408 |
|
|
# AIX /bin/install
|
1409 |
|
|
# AmigaOS /C/install, which installs bootblocks on floppy discs
|
1410 |
|
|
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
|
1411 |
|
|
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
|
1412 |
|
|
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
|
1413 |
|
|
# OS/2's system install, which has a completely different semantic
|
1414 |
|
|
# ./install, which can be erroneously created by make from ./install.sh.
|
1415 |
|
|
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
|
1416 |
|
|
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
|
1417 |
|
|
if test -z "$INSTALL"; then
|
1418 |
|
|
if test "${ac_cv_path_install+set}" = set; then
|
1419 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
1420 |
|
|
else
|
1421 |
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
1422 |
|
|
for as_dir in $PATH
|
1423 |
|
|
do
|
1424 |
|
|
IFS=$as_save_IFS
|
1425 |
|
|
test -z "$as_dir" && as_dir=.
|
1426 |
|
|
# Account for people who put trailing slashes in PATH elements.
|
1427 |
|
|
case $as_dir/ in
|
1428 |
|
|
./ | .// | /cC/* | \
|
1429 |
|
|
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
|
1430 |
|
|
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
|
1431 |
|
|
/usr/ucb/* ) ;;
|
1432 |
|
|
*)
|
1433 |
|
|
# OSF1 and SCO ODT 3.0 have their own names for install.
|
1434 |
|
|
# Don't use installbsd from OSF since it installs stuff as root
|
1435 |
|
|
# by default.
|
1436 |
|
|
for ac_prog in ginstall scoinst install; do
|
1437 |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
1438 |
|
|
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
|
1439 |
|
|
if test $ac_prog = install &&
|
1440 |
|
|
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
|
1441 |
|
|
# AIX install. It has an incompatible calling convention.
|
1442 |
|
|
:
|
1443 |
|
|
elif test $ac_prog = install &&
|
1444 |
|
|
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
|
1445 |
|
|
# program-specific install script used by HP pwplus--don't use.
|
1446 |
|
|
:
|
1447 |
|
|
else
|
1448 |
|
|
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
|
1449 |
|
|
break 3
|
1450 |
|
|
fi
|
1451 |
|
|
fi
|
1452 |
|
|
done
|
1453 |
|
|
done
|
1454 |
|
|
;;
|
1455 |
|
|
esac
|
1456 |
|
|
done
|
1457 |
|
|
|
1458 |
|
|
|
1459 |
|
|
fi
|
1460 |
|
|
if test "${ac_cv_path_install+set}" = set; then
|
1461 |
|
|
INSTALL=$ac_cv_path_install
|
1462 |
|
|
else
|
1463 |
|
|
# As a last resort, use the slow shell script. We don't cache a
|
1464 |
|
|
# path for INSTALL within a source directory, because that will
|
1465 |
|
|
# break other packages using the cache if that directory is
|
1466 |
|
|
# removed, or if the path is relative.
|
1467 |
|
|
INSTALL=$ac_install_sh
|
1468 |
|
|
fi
|
1469 |
|
|
fi
|
1470 |
|
|
echo "$as_me:$LINENO: result: $INSTALL" >&5
|
1471 |
|
|
echo "${ECHO_T}$INSTALL" >&6
|
1472 |
|
|
|
1473 |
|
|
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
|
1474 |
|
|
# It thinks the first close brace ends the variable substitution.
|
1475 |
|
|
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
|
1476 |
|
|
|
1477 |
|
|
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
|
1478 |
|
|
|
1479 |
|
|
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
|
1480 |
|
|
|
1481 |
|
|
echo "$as_me:$LINENO: checking whether ln works" >&5
|
1482 |
|
|
echo $ECHO_N "checking whether ln works... $ECHO_C" >&6
|
1483 |
|
|
if test "${acx_cv_prog_LN+set}" = set; then
|
1484 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
1485 |
|
|
else
|
1486 |
|
|
rm -f conftestdata_t
|
1487 |
|
|
echo >conftestdata_f
|
1488 |
|
|
if ln conftestdata_f conftestdata_t 2>/dev/null
|
1489 |
|
|
then
|
1490 |
|
|
acx_cv_prog_LN=ln
|
1491 |
|
|
else
|
1492 |
|
|
acx_cv_prog_LN=no
|
1493 |
|
|
fi
|
1494 |
|
|
rm -f conftestdata_f conftestdata_t
|
1495 |
|
|
|
1496 |
|
|
fi
|
1497 |
|
|
if test $acx_cv_prog_LN = no; then
|
1498 |
|
|
LN="cp"
|
1499 |
|
|
echo "$as_me:$LINENO: result: no, using $LN" >&5
|
1500 |
|
|
echo "${ECHO_T}no, using $LN" >&6
|
1501 |
|
|
else
|
1502 |
|
|
LN="$acx_cv_prog_LN"
|
1503 |
|
|
echo "$as_me:$LINENO: result: yes" >&5
|
1504 |
|
|
echo "${ECHO_T}yes" >&6
|
1505 |
|
|
fi
|
1506 |
|
|
|
1507 |
|
|
echo "$as_me:$LINENO: checking whether ln -s works" >&5
|
1508 |
|
|
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
|
1509 |
|
|
LN_S=$as_ln_s
|
1510 |
|
|
if test "$LN_S" = "ln -s"; then
|
1511 |
|
|
echo "$as_me:$LINENO: result: yes" >&5
|
1512 |
|
|
echo "${ECHO_T}yes" >&6
|
1513 |
|
|
else
|
1514 |
|
|
echo "$as_me:$LINENO: result: no, using $LN_S" >&5
|
1515 |
|
|
echo "${ECHO_T}no, using $LN_S" >&6
|
1516 |
|
|
fi
|
1517 |
|
|
|
1518 |
|
|
|
1519 |
|
|
### we might need to use some other shell than /bin/sh for running subshells
|
1520 |
|
|
### If we are on Windows, search for the shell. This will permit people
|
1521 |
|
|
### to not have /bin/sh, but to be able to see /SOME/PATH/sh configure
|
1522 |
|
|
### without also having to set CONFIG_SHELL. This code will work when
|
1523 |
|
|
### using bash, which sets OSTYPE.
|
1524 |
|
|
case "${OSTYPE}" in
|
1525 |
|
|
*win32*)
|
1526 |
|
|
if test x${CONFIG_SHELL} = x ; then
|
1527 |
|
|
if test ! -f /bin/sh ; then
|
1528 |
|
|
if test x${SHELL} != x && test -f ${SHELL} ; then
|
1529 |
|
|
CONFIG_SHELL=${SHELL}
|
1530 |
|
|
export CONFIG_SHELL
|
1531 |
|
|
else
|
1532 |
|
|
for prog in sh sh.exe bash bash.exe; do
|
1533 |
|
|
IFS="${IFS= }"; save_ifs="$IFS"; IFS="${IFS}:"
|
1534 |
|
|
for dir in $PATH; do
|
1535 |
|
|
test -z "$dir" && dir=.
|
1536 |
|
|
if test -f $dir/$prog; then
|
1537 |
|
|
CONFIG_SHELL=$dir/$prog
|
1538 |
|
|
export CONFIG_SHELL
|
1539 |
|
|
break
|
1540 |
|
|
fi
|
1541 |
|
|
done
|
1542 |
|
|
IFS="$save_ifs"
|
1543 |
|
|
test -n "${CONFIG_SHELL}" && break
|
1544 |
|
|
done
|
1545 |
|
|
fi
|
1546 |
|
|
fi
|
1547 |
|
|
fi
|
1548 |
|
|
;;
|
1549 |
|
|
esac
|
1550 |
|
|
|
1551 |
|
|
config_shell=${CONFIG_SHELL-/bin/sh}
|
1552 |
|
|
|
1553 |
|
|
progname=$0
|
1554 |
|
|
# if PWD already has a value, it is probably wrong.
|
1555 |
|
|
if test -n "$PWD" ; then PWD=`${PWDCMD-pwd}`; fi
|
1556 |
|
|
|
1557 |
|
|
# Export original configure arguments for use by sub-configures. These
|
1558 |
|
|
# will be expanded by make, so quote '$'.
|
1559 |
|
|
tmp="$progname $@"
|
1560 |
|
|
sed -e 's,\$,$$,g' < conftestsed.out
|
1561 |
|
|
$tmp
|
1562 |
|
|
EOF_SED
|
1563 |
|
|
TOPLEVEL_CONFIGURE_ARGUMENTS=`cat conftestsed.out`
|
1564 |
|
|
rm -f conftestsed.out
|
1565 |
|
|
|
1566 |
|
|
|
1567 |
|
|
moveifchange=${srcdir}/move-if-change
|
1568 |
|
|
|
1569 |
|
|
srcpwd=`cd ${srcdir} ; ${PWDCMD-pwd}`
|
1570 |
|
|
|
1571 |
|
|
# We pass INSTALL explicitly to sub-makes. Make sure that it is not
|
1572 |
|
|
# a relative path.
|
1573 |
|
|
if test "$INSTALL" = "${srcdir}/install-sh -c"; then
|
1574 |
|
|
INSTALL="${srcpwd}/install-sh -c"
|
1575 |
|
|
fi
|
1576 |
|
|
|
1577 |
|
|
# Set srcdir to "." if that's what it is.
|
1578 |
|
|
# This is important for multilib support.
|
1579 |
|
|
pwd=`${PWDCMD-pwd}`
|
1580 |
|
|
if test "${pwd}" = "${srcpwd}" ; then
|
1581 |
|
|
srcdir=.
|
1582 |
|
|
fi
|
1583 |
|
|
|
1584 |
|
|
topsrcdir=$srcpwd
|
1585 |
|
|
|
1586 |
|
|
extra_host_args=
|
1587 |
|
|
|
1588 |
|
|
### To add a new directory to the tree, first choose whether it is a target
|
1589 |
|
|
### or a host dependent tool. Then put it into the appropriate list
|
1590 |
|
|
### (library or tools, host or target), doing a dependency sort.
|
1591 |
|
|
|
1592 |
|
|
# Subdirs will be configured in the order listed in build_configdirs,
|
1593 |
|
|
# configdirs, or target_configdirs; see the serialization section below.
|
1594 |
|
|
|
1595 |
|
|
# Dependency sorting is only needed when *configuration* must be done in
|
1596 |
|
|
# a particular order. In all cases a dependency should be specified in
|
1597 |
|
|
# the Makefile, whether or not it's implicitly specified here.
|
1598 |
|
|
|
1599 |
|
|
# Double entries in build_configdirs, configdirs, or target_configdirs may
|
1600 |
|
|
# cause circular dependencies and break everything horribly.
|
1601 |
|
|
|
1602 |
|
|
# these library is used by various programs built for the build
|
1603 |
|
|
# environment
|
1604 |
|
|
#
|
1605 |
|
|
build_libs="build-libiberty"
|
1606 |
|
|
|
1607 |
|
|
# these tools are built for the build environment
|
1608 |
|
|
build_tools="build-texinfo build-byacc build-flex build-bison build-m4 build-fixincludes"
|
1609 |
|
|
|
1610 |
|
|
# these libraries are used by various programs built for the host environment
|
1611 |
|
|
#
|
1612 |
|
|
host_libs="intl mmalloc libiberty opcodes bfd readline tcl tk itcl libgui zlib libcpp"
|
1613 |
|
|
|
1614 |
|
|
# these tools are built for the host environment
|
1615 |
|
|
# Note, the powerpc-eabi build depends on sim occurring before gdb in order to
|
1616 |
|
|
# know that we are building the simulator.
|
1617 |
|
|
# binutils, gas and ld appear in that order because it makes sense to run
|
1618 |
|
|
# "make check" in that particular order.
|
1619 |
|
|
host_tools="texinfo byacc flex bison binutils gas ld fixincludes gcc sid sim gdb make patch prms send-pr gprof etc expect dejagnu ash bash bzip2 m4 autoconf automake libtool diff rcs fileutils shellutils time textutils wdiff find uudecode hello tar gzip indent recode release sed utils guile perl gawk findutils gettext zip fastjar gnattools"
|
1620 |
|
|
|
1621 |
|
|
# libgcj represents the runtime libraries only used by gcj.
|
1622 |
|
|
libgcj="target-libffi \
|
1623 |
|
|
target-boehm-gc \
|
1624 |
|
|
target-zlib \
|
1625 |
|
|
target-qthreads \
|
1626 |
|
|
target-libjava"
|
1627 |
|
|
|
1628 |
|
|
# these libraries are built for the target environment, and are built after
|
1629 |
|
|
# the host libraries and the host tools (which may be a cross compiler)
|
1630 |
|
|
#
|
1631 |
|
|
target_libraries="target-libiberty \
|
1632 |
|
|
target-libgloss \
|
1633 |
|
|
target-newlib \
|
1634 |
|
|
target-libstdc++-v3 \
|
1635 |
|
|
target-libmudflap \
|
1636 |
|
|
target-libssp \
|
1637 |
|
|
target-libgfortran \
|
1638 |
|
|
${libgcj} \
|
1639 |
|
|
target-libobjc \
|
1640 |
|
|
target-libada"
|
1641 |
|
|
|
1642 |
|
|
# these tools are built using the target libraries, and are intended to
|
1643 |
|
|
# run only in the target environment
|
1644 |
|
|
#
|
1645 |
|
|
# note: any program that *uses* libraries that are in the "target_libraries"
|
1646 |
|
|
# list belongs in this list. those programs are also very likely
|
1647 |
|
|
# candidates for the "native_only" list which follows
|
1648 |
|
|
#
|
1649 |
|
|
target_tools="target-examples target-groff target-gperf target-rda"
|
1650 |
|
|
|
1651 |
|
|
################################################################################
|
1652 |
|
|
|
1653 |
|
|
## All tools belong in one of the four categories, and are assigned above
|
1654 |
|
|
## We assign ${configdirs} this way to remove all embedded newlines. This
|
1655 |
|
|
## is important because configure will choke if they ever get through.
|
1656 |
|
|
## ${configdirs} is directories we build using the host tools.
|
1657 |
|
|
## ${target_configdirs} is directories we build using the target tools.
|
1658 |
|
|
configdirs=`echo ${host_libs} ${host_tools}`
|
1659 |
|
|
target_configdirs=`echo ${target_libraries} ${target_tools}`
|
1660 |
|
|
build_configdirs=`echo ${build_libs} ${build_tools}`
|
1661 |
|
|
|
1662 |
|
|
################################################################################
|
1663 |
|
|
|
1664 |
|
|
srcname="gnu development package"
|
1665 |
|
|
|
1666 |
|
|
# This gets set non-empty for some net releases of packages.
|
1667 |
|
|
appdirs=""
|
1668 |
|
|
|
1669 |
|
|
# Define is_cross_compiler to save on calls to 'test'.
|
1670 |
|
|
is_cross_compiler=
|
1671 |
|
|
if test x"${host}" = x"${target}" ; then
|
1672 |
|
|
is_cross_compiler=no
|
1673 |
|
|
else
|
1674 |
|
|
is_cross_compiler=yes
|
1675 |
|
|
fi
|
1676 |
|
|
|
1677 |
|
|
# Find the build and target subdir names.
|
1678 |
|
|
case ${build_alias} in
|
1679 |
|
|
"") build_noncanonical=${build} ;;
|
1680 |
|
|
*) build_noncanonical=${build_alias} ;;
|
1681 |
|
|
esac
|
1682 |
|
|
|
1683 |
|
|
case ${host_alias} in
|
1684 |
|
|
"") host_noncanonical=${build_noncanonical} ;;
|
1685 |
|
|
*) host_noncanonical=${host_alias} ;;
|
1686 |
|
|
esac
|
1687 |
|
|
|
1688 |
|
|
case ${target_alias} in
|
1689 |
|
|
"") target_noncanonical=${host_noncanonical} ;;
|
1690 |
|
|
*) target_noncanonical=${target_alias} ;;
|
1691 |
|
|
esac
|
1692 |
|
|
|
1693 |
|
|
# Prefix 'build-' so this never conflicts with target_subdir.
|
1694 |
|
|
build_subdir="build-${build_noncanonical}"
|
1695 |
|
|
# --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
|
1696 |
|
|
if ( test $srcdir = . && test -d gcc ) \
|
1697 |
|
|
|| test -d $srcdir/../host-${host_noncanonical}; then
|
1698 |
|
|
host_subdir="host-${host_noncanonical}"
|
1699 |
|
|
else
|
1700 |
|
|
host_subdir=.
|
1701 |
|
|
fi
|
1702 |
|
|
# No prefix.
|
1703 |
|
|
target_subdir=${target_noncanonical}
|
1704 |
|
|
|
1705 |
|
|
|
1706 |
|
|
# Skipdirs are removed silently.
|
1707 |
|
|
skipdirs=
|
1708 |
|
|
# Noconfigdirs are removed loudly.
|
1709 |
|
|
noconfigdirs=""
|
1710 |
|
|
|
1711 |
|
|
use_gnu_ld=
|
1712 |
|
|
# Make sure we don't let GNU ld be added if we didn't want it.
|
1713 |
|
|
if test x$with_gnu_ld = xno ; then
|
1714 |
|
|
use_gnu_ld=no
|
1715 |
|
|
noconfigdirs="$noconfigdirs ld"
|
1716 |
|
|
fi
|
1717 |
|
|
|
1718 |
|
|
use_gnu_as=
|
1719 |
|
|
# Make sure we don't let GNU as be added if we didn't want it.
|
1720 |
|
|
if test x$with_gnu_as = xno ; then
|
1721 |
|
|
use_gnu_as=no
|
1722 |
|
|
noconfigdirs="$noconfigdirs gas"
|
1723 |
|
|
fi
|
1724 |
|
|
|
1725 |
|
|
# some tools are so dependent upon X11 that if we're not building with X,
|
1726 |
|
|
# it's not even worth trying to configure, much less build, that tool.
|
1727 |
|
|
|
1728 |
|
|
case ${with_x} in
|
1729 |
|
|
yes | "") ;; # the default value for this tree is that X11 is available
|
1730 |
|
|
no)
|
1731 |
|
|
skipdirs="${skipdirs} tk itcl libgui"
|
1732 |
|
|
# We won't be able to build gdbtk without X.
|
1733 |
|
|
enable_gdbtk=no
|
1734 |
|
|
;;
|
1735 |
|
|
*) echo "*** bad value \"${with_x}\" for -with-x flag; ignored" 1>&2 ;;
|
1736 |
|
|
esac
|
1737 |
|
|
|
1738 |
|
|
# Some tools are only suitable for building in a "native" situation.
|
1739 |
|
|
# Remove these if host!=target.
|
1740 |
|
|
native_only="autoconf automake libtool fileutils find gawk gettext gzip hello indent m4 rcs recode sed shellutils tar textutils uudecode wdiff gprof target-groff guile perl time ash bash bzip2 prms gnuserv target-gperf"
|
1741 |
|
|
|
1742 |
|
|
# Similarly, some are only suitable for cross toolchains.
|
1743 |
|
|
# Remove these if host=target.
|
1744 |
|
|
cross_only="target-libgloss target-newlib target-opcodes"
|
1745 |
|
|
|
1746 |
|
|
case $is_cross_compiler in
|
1747 |
|
|
no) skipdirs="${skipdirs} ${cross_only}" ;;
|
1748 |
|
|
yes) skipdirs="${skipdirs} ${native_only}" ;;
|
1749 |
|
|
esac
|
1750 |
|
|
|
1751 |
|
|
# If both --with-headers and --with-libs are specified, default to
|
1752 |
|
|
# --without-newlib.
|
1753 |
|
|
if test x"${with_headers}" != x && test x"${with_headers}" != xno \
|
1754 |
|
|
&& test x"${with_libs}" != x && test x"${with_libs}" != xno ; then
|
1755 |
|
|
if test x"${with_newlib}" = x ; then
|
1756 |
|
|
with_newlib=no
|
1757 |
|
|
fi
|
1758 |
|
|
fi
|
1759 |
|
|
|
1760 |
|
|
# Recognize --with-newlib/--without-newlib.
|
1761 |
|
|
case ${with_newlib} in
|
1762 |
|
|
no) skipdirs="${skipdirs} target-newlib" ;;
|
1763 |
|
|
yes) skipdirs=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'` ;;
|
1764 |
|
|
esac
|
1765 |
|
|
|
1766 |
|
|
# Configure extra directories which are host specific
|
1767 |
|
|
|
1768 |
|
|
case "${host}" in
|
1769 |
|
|
*-cygwin*)
|
1770 |
|
|
configdirs="$configdirs libtermcap" ;;
|
1771 |
|
|
esac
|
1772 |
|
|
|
1773 |
|
|
# A target can indicate whether a language isn't supported for some reason.
|
1774 |
|
|
# Only spaces may be used in this macro; not newlines or tabs.
|
1775 |
|
|
unsupported_languages=
|
1776 |
|
|
|
1777 |
|
|
# Remove more programs from consideration, based on the host or
|
1778 |
|
|
# target this usually means that a port of the program doesn't
|
1779 |
|
|
# exist yet.
|
1780 |
|
|
|
1781 |
|
|
case "${host}" in
|
1782 |
|
|
hppa*64*-*-*)
|
1783 |
|
|
noconfigdirs="$noconfigdirs byacc"
|
1784 |
|
|
;;
|
1785 |
|
|
i[3456789]86-*-vsta)
|
1786 |
|
|
noconfigdirs="$noconfigdirs tcl expect dejagnu make texinfo bison patch flex byacc send-pr gprof uudecode dejagnu diff guile perl itcl gnuserv gettext"
|
1787 |
|
|
;;
|
1788 |
|
|
i[3456789]86-*-go32* | i[3456789]86-*-msdosdjgpp*)
|
1789 |
|
|
noconfigdirs="$noconfigdirs tcl tk expect dejagnu send-pr uudecode guile itcl gnuserv libffi"
|
1790 |
|
|
;;
|
1791 |
|
|
i[3456789]86-*-mingw32*)
|
1792 |
|
|
# noconfigdirs="tcl tk expect dejagnu make texinfo bison patch flex byacc send-pr uudecode dejagnu diff guile perl itcl gnuserv"
|
1793 |
|
|
noconfigdirs="$noconfigdirs expect dejagnu autoconf automake send-pr rcs guile perl texinfo libtool"
|
1794 |
|
|
;;
|
1795 |
|
|
i[3456789]86-*-beos*)
|
1796 |
|
|
noconfigdirs="$noconfigdirs tk itcl libgui gdb"
|
1797 |
|
|
;;
|
1798 |
|
|
*-*-cygwin*)
|
1799 |
|
|
noconfigdirs="$noconfigdirs autoconf automake send-pr rcs guile perl"
|
1800 |
|
|
;;
|
1801 |
|
|
*-*-netbsd*)
|
1802 |
|
|
noconfigdirs="$noconfigdirs rcs"
|
1803 |
|
|
;;
|
1804 |
|
|
ppc*-*-pe)
|
1805 |
|
|
noconfigdirs="$noconfigdirs patch diff make tk tcl expect dejagnu autoconf automake texinfo bison send-pr gprof rcs guile perl itcl gnuserv"
|
1806 |
|
|
;;
|
1807 |
|
|
powerpc-*-beos*)
|
1808 |
|
|
noconfigdirs="$noconfigdirs tk itcl libgui gdb dejagnu readline"
|
1809 |
|
|
;;
|
1810 |
|
|
esac
|
1811 |
|
|
|
1812 |
|
|
|
1813 |
|
|
# Check whether --enable-libada or --disable-libada was given.
|
1814 |
|
|
if test "${enable_libada+set}" = set; then
|
1815 |
|
|
enableval="$enable_libada"
|
1816 |
|
|
ENABLE_LIBADA=$enableval
|
1817 |
|
|
else
|
1818 |
|
|
ENABLE_LIBADA=yes
|
1819 |
|
|
fi;
|
1820 |
|
|
if test "${ENABLE_LIBADA}" != "yes" ; then
|
1821 |
|
|
noconfigdirs="$noconfigdirs target-libada"
|
1822 |
|
|
noconfigdirs="$noconfigdirs gnattools"
|
1823 |
|
|
fi
|
1824 |
|
|
|
1825 |
|
|
# Check whether --enable-libssp or --disable-libssp was given.
|
1826 |
|
|
if test "${enable_libssp+set}" = set; then
|
1827 |
|
|
enableval="$enable_libssp"
|
1828 |
|
|
ENABLE_LIBSSP=$enableval
|
1829 |
|
|
else
|
1830 |
|
|
ENABLE_LIBSSP=yes
|
1831 |
|
|
fi;
|
1832 |
|
|
if test "${ENABLE_LIBSSP}" != "yes" ; then
|
1833 |
|
|
noconfigdirs="$noconfigdirs target-libssp"
|
1834 |
|
|
fi
|
1835 |
|
|
|
1836 |
|
|
# Save it here so that, even in case of --enable-libgcj, if the Java
|
1837 |
|
|
# front-end isn't enabled, we still get libgcj disabled.
|
1838 |
|
|
libgcj_saved=$libgcj
|
1839 |
|
|
case $enable_libgcj in
|
1840 |
|
|
yes)
|
1841 |
|
|
# If we reset it here, it won't get added to noconfigdirs in the
|
1842 |
|
|
# target-specific build rules, so it will be forcibly enabled
|
1843 |
|
|
# (unless the Java language itself isn't enabled).
|
1844 |
|
|
libgcj=
|
1845 |
|
|
;;
|
1846 |
|
|
no)
|
1847 |
|
|
# Make sure we get it printed in the list of not supported target libs.
|
1848 |
|
|
noconfigdirs="$noconfigdirs ${libgcj}"
|
1849 |
|
|
;;
|
1850 |
|
|
esac
|
1851 |
|
|
|
1852 |
|
|
|
1853 |
|
|
# Allow --disable-libmudflap to exclude target-libmudflap
|
1854 |
|
|
case $enable_libmudflap in
|
1855 |
|
|
yes)
|
1856 |
|
|
;;
|
1857 |
|
|
no)
|
1858 |
|
|
noconfigdirs="$noconfigdirs target-libmudflap"
|
1859 |
|
|
;;
|
1860 |
|
|
"")
|
1861 |
|
|
case "${target}" in
|
1862 |
|
|
*-*-linux*-gnu | *-*-gnu* | *-*-k*bsd*-gnu)
|
1863 |
|
|
# Enable libmudflap by default in GNU and friends.
|
1864 |
|
|
;;
|
1865 |
|
|
*-*-freebsd*)
|
1866 |
|
|
# Enable libmudflap by default in FreeBSD.
|
1867 |
|
|
;;
|
1868 |
|
|
*)
|
1869 |
|
|
# Disable it by default everywhere else.
|
1870 |
|
|
noconfigdirs="$noconfigdirs target-libmudflap"
|
1871 |
|
|
;;
|
1872 |
|
|
esac
|
1873 |
|
|
esac
|
1874 |
|
|
|
1875 |
|
|
|
1876 |
|
|
case "${target}" in
|
1877 |
|
|
*-*-chorusos)
|
1878 |
|
|
noconfigdirs="$noconfigdirs target-newlib target-libgloss ${libgcj}"
|
1879 |
|
|
;;
|
1880 |
|
|
powerpc-*-darwin*)
|
1881 |
|
|
noconfigdirs="$noconfigdirs bfd binutils ld gas opcodes gdb gprof"
|
1882 |
|
|
noconfigdirs="$noconfigdirs sim target-rda"
|
1883 |
|
|
;;
|
1884 |
|
|
*-*-darwin*)
|
1885 |
|
|
noconfigdirs="$noconfigdirs ld gas gdb gprof"
|
1886 |
|
|
noconfigdirs="$noconfigdirs sim target-rda"
|
1887 |
|
|
noconfigdirs="$noconfigdirs ${libgcj}"
|
1888 |
|
|
;;
|
1889 |
|
|
*-*-freebsd[12] | *-*-freebsd[12].* | *-*-freebsd*aout*)
|
1890 |
|
|
noconfigdirs="$noconfigdirs target-newlib target-libgloss ${libgcj}"
|
1891 |
|
|
;;
|
1892 |
|
|
*-*-freebsd*)
|
1893 |
|
|
noconfigdirs="$noconfigdirs target-newlib target-libgloss"
|
1894 |
|
|
if test "x$with_gmp" = x && test "x$with_gmp_dir" = x \
|
1895 |
|
|
&& test -f /usr/local/include/gmp.h; then
|
1896 |
|
|
with_gmp=/usr/local
|
1897 |
|
|
fi
|
1898 |
|
|
|
1899 |
|
|
# Skip some stuff that's unsupported on some FreeBSD configurations.
|
1900 |
|
|
case "${target}" in
|
1901 |
|
|
i*86-*-*) ;;
|
1902 |
|
|
alpha*-*-*) ;;
|
1903 |
|
|
*)
|
1904 |
|
|
noconfigdirs="$noconfigdirs ${libgcj}"
|
1905 |
|
|
;;
|
1906 |
|
|
esac
|
1907 |
|
|
;;
|
1908 |
|
|
*-*-kaos*)
|
1909 |
|
|
# Remove unsupported stuff on all kaOS configurations.
|
1910 |
|
|
skipdirs="target-libiberty ${libgcj} target-libstdc++-v3 target-librx"
|
1911 |
|
|
skipdirs="$skipdirs target-libobjc target-examples target-groff target-gperf"
|
1912 |
|
|
skipdirs="$skipdirs zlib fastjar target-libjava target-boehm-gc target-zlib"
|
1913 |
|
|
noconfigdirs="$noconfigdirs target-libgloss"
|
1914 |
|
|
;;
|
1915 |
|
|
*-*-netbsd*)
|
1916 |
|
|
# Skip some stuff on all NetBSD configurations.
|
1917 |
|
|
noconfigdirs="$noconfigdirs target-newlib target-libiberty target-libgloss"
|
1918 |
|
|
|
1919 |
|
|
# Skip some stuff that's unsupported on some NetBSD configurations.
|
1920 |
|
|
case "${target}" in
|
1921 |
|
|
i*86-*-netbsdelf*) ;;
|
1922 |
|
|
arm*-*-netbsdelf*) ;;
|
1923 |
|
|
*)
|
1924 |
|
|
noconfigdirs="$noconfigdirs ${libgcj}"
|
1925 |
|
|
;;
|
1926 |
|
|
esac
|
1927 |
|
|
;;
|
1928 |
|
|
*-*-netware*)
|
1929 |
|
|
noconfigdirs="$noconfigdirs target-newlib target-libiberty target-libgloss ${libgcj} target-libmudflap"
|
1930 |
|
|
;;
|
1931 |
|
|
*-*-rtems*)
|
1932 |
|
|
noconfigdirs="$noconfigdirs target-libgloss ${libgcj}"
|
1933 |
|
|
;;
|
1934 |
|
|
# The tpf target doesn't support gdb yet.
|
1935 |
|
|
*-*-tpf*)
|
1936 |
|
|
noconfigdirs="$noconfigdirs target-newlib target-libgloss target-libiberty ${libgcj} target-libmudflap gdb tcl tk libgui itcl"
|
1937 |
|
|
;;
|
1938 |
|
|
*-*-uclinux*)
|
1939 |
|
|
noconfigdirs="$noconfigdirs target-newlib target-libgloss target-rda ${libgcj}"
|
1940 |
|
|
;;
|
1941 |
|
|
*-*-vxworks*)
|
1942 |
|
|
noconfigdirs="$noconfigdirs target-newlib target-libgloss target-libiberty target-libstdc++-v3 ${libgcj}"
|
1943 |
|
|
;;
|
1944 |
|
|
m32c-*-*)
|
1945 |
|
|
noconfigdirs="$noconfigdirs target-libstdc++-v3"
|
1946 |
|
|
;;
|
1947 |
|
|
alpha*-dec-osf*)
|
1948 |
|
|
# ld works, but does not support shared libraries.
|
1949 |
|
|
# newlib is not 64 bit ready. I'm not sure about fileutils.
|
1950 |
|
|
# gas doesn't generate exception information.
|
1951 |
|
|
noconfigdirs="$noconfigdirs gas ld fileutils target-newlib target-libgloss"
|
1952 |
|
|
;;
|
1953 |
|
|
alpha*-*-*vms*)
|
1954 |
|
|
noconfigdirs="$noconfigdirs gdb ld target-newlib target-libgloss ${libgcj}"
|
1955 |
|
|
;;
|
1956 |
|
|
alpha*-*-linux*)
|
1957 |
|
|
# newlib is not 64 bit ready
|
1958 |
|
|
noconfigdirs="$noconfigdirs target-newlib target-libgloss"
|
1959 |
|
|
;;
|
1960 |
|
|
alpha*-*-*)
|
1961 |
|
|
# newlib is not 64 bit ready
|
1962 |
|
|
noconfigdirs="$noconfigdirs target-newlib target-libgloss ${libgcj}"
|
1963 |
|
|
;;
|
1964 |
|
|
am33_2.0-*-linux*)
|
1965 |
|
|
noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss"
|
1966 |
|
|
;;
|
1967 |
|
|
sh-*-linux*)
|
1968 |
|
|
noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss"
|
1969 |
|
|
;;
|
1970 |
|
|
sh*-*-pe|mips*-*-pe|*arm-wince-pe)
|
1971 |
|
|
noconfigdirs="$noconfigdirs ${libgcj}"
|
1972 |
|
|
noconfigdirs="$noconfigdirs target-examples"
|
1973 |
|
|
noconfigdirs="$noconfigdirs target-libiberty texinfo send-pr"
|
1974 |
|
|
noconfigdirs="$noconfigdirs tcl tk itcl libgui sim"
|
1975 |
|
|
noconfigdirs="$noconfigdirs expect dejagnu"
|
1976 |
|
|
# the C++ libraries don't build on top of CE's C libraries
|
1977 |
|
|
noconfigdirs="$noconfigdirs target-libstdc++-v3"
|
1978 |
|
|
noconfigdirs="$noconfigdirs target-newlib"
|
1979 |
|
|
case "${host}" in
|
1980 |
|
|
*-*-cygwin*) ;; # keep gdb and readline
|
1981 |
|
|
*) noconfigdirs="$noconfigdirs gdb readline"
|
1982 |
|
|
;;
|
1983 |
|
|
esac
|
1984 |
|
|
;;
|
1985 |
|
|
arc-*-*)
|
1986 |
|
|
noconfigdirs="$noconfigdirs target-libgloss ${libgcj}"
|
1987 |
|
|
;;
|
1988 |
|
|
arm-semi-aof )
|
1989 |
|
|
;;
|
1990 |
|
|
arm-*-coff | strongarm-*-coff | xscale-*-coff)
|
1991 |
|
|
noconfigdirs="$noconfigdirs ${libgcj}"
|
1992 |
|
|
;;
|
1993 |
|
|
arm-*-elf* | strongarm-*-elf* | xscale-*-elf* | arm*-*-eabi* )
|
1994 |
|
|
noconfigdirs="$noconfigdirs target-libffi target-qthreads"
|
1995 |
|
|
;;
|
1996 |
|
|
arm*-*-linux-gnueabi)
|
1997 |
|
|
noconfigdirs="$noconfigdirs target-libffi target-qthreads"
|
1998 |
|
|
noconfigdirs="$noconfigdirs target-libjava target-libobjc"
|
1999 |
|
|
;;
|
2000 |
|
|
arm*-*-symbianelf*)
|
2001 |
|
|
noconfigdirs="$noconfigdirs ${libgcj} target-libiberty"
|
2002 |
|
|
;;
|
2003 |
|
|
arm-*-pe*)
|
2004 |
|
|
noconfigdirs="$noconfigdirs target-libgloss ${libgcj}"
|
2005 |
|
|
;;
|
2006 |
|
|
thumb-*-coff)
|
2007 |
|
|
noconfigdirs="$noconfigdirs target-libgloss ${libgcj}"
|
2008 |
|
|
;;
|
2009 |
|
|
thumb-*-elf)
|
2010 |
|
|
noconfigdirs="$noconfigdirs target-libgloss ${libgcj}"
|
2011 |
|
|
;;
|
2012 |
|
|
thumb-*-pe)
|
2013 |
|
|
noconfigdirs="$noconfigdirs target-libgloss ${libgcj}"
|
2014 |
|
|
;;
|
2015 |
|
|
arm-*-riscix*)
|
2016 |
|
|
noconfigdirs="$noconfigdirs ld target-libgloss ${libgcj}"
|
2017 |
|
|
;;
|
2018 |
|
|
avr-*-*)
|
2019 |
|
|
noconfigdirs="$noconfigdirs target-libiberty target-libstdc++-v3 ${libgcj}"
|
2020 |
|
|
;;
|
2021 |
|
|
bfin-*-*)
|
2022 |
|
|
noconfigdirs="$noconfigdirs target-libgloss gdb"
|
2023 |
|
|
if test x${is_cross_compiler} != xno ; then
|
2024 |
|
|
target_configdirs="${target_configdirs} target-bsp target-cygmon"
|
2025 |
|
|
fi
|
2026 |
|
|
;;
|
2027 |
|
|
c4x-*-* | tic4x-*-*)
|
2028 |
|
|
noconfigdirs="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
|
2029 |
|
|
;;
|
2030 |
|
|
c54x*-*-* | tic54x-*-*)
|
2031 |
|
|
noconfigdirs="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj} gcc gdb newlib"
|
2032 |
|
|
;;
|
2033 |
|
|
cris-*-* | crisv32-*-*)
|
2034 |
|
|
unsupported_languages="$unsupported_languages java"
|
2035 |
|
|
case "${target}" in
|
2036 |
|
|
*-*-aout)
|
2037 |
|
|
unsupported_languages="$unsupported_languages fortran"
|
2038 |
|
|
noconfigdirs="$noconfigdirs target-libffi target-boehm-gc";;
|
2039 |
|
|
*-*-elf)
|
2040 |
|
|
unsupported_languages="$unsupported_languages fortran"
|
2041 |
|
|
noconfigdirs="$noconfigdirs target-boehm-gc";;
|
2042 |
|
|
*-*-linux*)
|
2043 |
|
|
noconfigdirs="$noconfigdirs target-newlib target-libgloss";;
|
2044 |
|
|
*)
|
2045 |
|
|
unsupported_languages="$unsupported_languages fortran"
|
2046 |
|
|
noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss";;
|
2047 |
|
|
esac
|
2048 |
|
|
;;
|
2049 |
|
|
crx-*-*)
|
2050 |
|
|
noconfigdirs="$noconfigdirs target-libstdc++-v3 target-mudflap ${libgcj}"
|
2051 |
|
|
;;
|
2052 |
|
|
d10v-*-*)
|
2053 |
|
|
noconfigdirs="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
|
2054 |
|
|
;;
|
2055 |
|
|
d30v-*-*)
|
2056 |
|
|
noconfigdirs="$noconfigdirs ${libgcj} gdb"
|
2057 |
|
|
;;
|
2058 |
|
|
fr30-*-elf*)
|
2059 |
|
|
noconfigdirs="$noconfigdirs ${libgcj} gdb"
|
2060 |
|
|
;;
|
2061 |
|
|
frv-*-*)
|
2062 |
|
|
noconfigdirs="$noconfigdirs ${libgcj}"
|
2063 |
|
|
;;
|
2064 |
|
|
h8300*-*-*)
|
2065 |
|
|
noconfigdirs="$noconfigdirs target-libgloss ${libgcj}"
|
2066 |
|
|
;;
|
2067 |
|
|
h8500-*-*)
|
2068 |
|
|
noconfigdirs="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
|
2069 |
|
|
;;
|
2070 |
|
|
hppa1.1-*-osf* | hppa1.1-*-bsd* )
|
2071 |
|
|
;;
|
2072 |
|
|
hppa*64*-*-linux* | parisc*64*-*-linux*)
|
2073 |
|
|
# In this case, it's because the hppa64-linux target is for
|
2074 |
|
|
# the kernel only at this point and has no libc, and thus no
|
2075 |
|
|
# headers, crt*.o, etc., all of which are needed by these.
|
2076 |
|
|
noconfigdirs="$noconfigdirs target-zlib"
|
2077 |
|
|
;;
|
2078 |
|
|
parisc*-*-linux* | hppa*-*-linux*)
|
2079 |
|
|
;;
|
2080 |
|
|
hppa*-*-*elf* | \
|
2081 |
|
|
hppa*-*-lites* | \
|
2082 |
|
|
hppa*-*-openbsd* | \
|
2083 |
|
|
hppa*64*-*-*)
|
2084 |
|
|
noconfigdirs="$noconfigdirs ${libgcj}"
|
2085 |
|
|
;;
|
2086 |
|
|
hppa*-*-*)
|
2087 |
|
|
# According to Alexandre Oliva , libjava won't
|
2088 |
|
|
# build on HP-UX 10.20.
|
2089 |
|
|
noconfigdirs="$noconfigdirs ld shellutils ${libgcj}"
|
2090 |
|
|
;;
|
2091 |
|
|
i960-*-*)
|
2092 |
|
|
noconfigdirs="$noconfigdirs ${libgcj} gdb"
|
2093 |
|
|
;;
|
2094 |
|
|
ia64*-*-elf*)
|
2095 |
|
|
# No gdb support yet.
|
2096 |
|
|
noconfigdirs="$noconfigdirs readline mmalloc libgui itcl gdb"
|
2097 |
|
|
;;
|
2098 |
|
|
ia64*-**-hpux*)
|
2099 |
|
|
# No gdb or ld support yet.
|
2100 |
|
|
noconfigdirs="$noconfigdirs ${libgcj} readline mmalloc libgui itcl gdb ld"
|
2101 |
|
|
;;
|
2102 |
|
|
i370-*-opened*)
|
2103 |
|
|
;;
|
2104 |
|
|
i[3456789]86-*-coff | i[3456789]86-*-elf)
|
2105 |
|
|
noconfigdirs="$noconfigdirs ${libgcj}"
|
2106 |
|
|
;;
|
2107 |
|
|
i[3456789]86-*-linux*)
|
2108 |
|
|
# The GCC port for glibc1 has no MD_FALLBACK_FRAME_STATE_FOR, so let's
|
2109 |
|
|
# not build java stuff by default.
|
2110 |
|
|
case "${target}" in
|
2111 |
|
|
*-*-*libc1*)
|
2112 |
|
|
noconfigdirs="$noconfigdirs ${libgcj}";;
|
2113 |
|
|
esac
|
2114 |
|
|
|
2115 |
|
|
# This section makes it possible to build newlib natively on linux.
|
2116 |
|
|
# If we are using a cross compiler then don't configure newlib.
|
2117 |
|
|
if test x${is_cross_compiler} != xno ; then
|
2118 |
|
|
noconfigdirs="$noconfigdirs target-newlib"
|
2119 |
|
|
fi
|
2120 |
|
|
noconfigdirs="$noconfigdirs target-libgloss"
|
2121 |
|
|
# If we are not using a cross compiler, do configure newlib.
|
2122 |
|
|
# Note however, that newlib will only be configured in this situation
|
2123 |
|
|
# if the --with-newlib option has been given, because otherwise
|
2124 |
|
|
# 'target-newlib' will appear in skipdirs.
|
2125 |
|
|
;;
|
2126 |
|
|
i[3456789]86-*-mingw32*)
|
2127 |
|
|
target_configdirs="$target_configdirs target-mingw"
|
2128 |
|
|
noconfigdirs="$noconfigdirs expect target-libgloss ${libgcj}"
|
2129 |
|
|
|
2130 |
|
|
# Can't build gdb for mingw32 if not native.
|
2131 |
|
|
case "${host}" in
|
2132 |
|
|
i[3456789]86-*-mingw32) ;; # keep gdb tcl tk expect etc.
|
2133 |
|
|
*) noconfigdirs="$noconfigdirs gdb tcl tk expect itcl gnuserv"
|
2134 |
|
|
;;
|
2135 |
|
|
esac
|
2136 |
|
|
;;
|
2137 |
|
|
*-*-cygwin*)
|
2138 |
|
|
target_configdirs="$target_configdirs target-libtermcap target-winsup"
|
2139 |
|
|
noconfigdirs="$noconfigdirs target-gperf target-libgloss ${libgcj}"
|
2140 |
|
|
# always build newlib if winsup directory is present.
|
2141 |
|
|
if test -d "$srcdir/winsup"; then
|
2142 |
|
|
skipdirs=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
|
2143 |
|
|
elif test -d "$srcdir/newlib"; then
|
2144 |
|
|
echo "Warning: winsup is missing so newlib can't be built."
|
2145 |
|
|
fi
|
2146 |
|
|
|
2147 |
|
|
# Can't build gdb for Cygwin if not native.
|
2148 |
|
|
case "${host}" in
|
2149 |
|
|
*-*-cygwin*) ;; # keep gdb tcl tk expect etc.
|
2150 |
|
|
*) noconfigdirs="$noconfigdirs gdb tcl tk expect itcl libgui gnuserv"
|
2151 |
|
|
;;
|
2152 |
|
|
esac
|
2153 |
|
|
;;
|
2154 |
|
|
i[3456789]86-moss-msdos | i[3456789]86-*-moss* | \
|
2155 |
|
|
i[3456789]86-*-uwin* | i[3456789]86-*-interix* )
|
2156 |
|
|
;;
|
2157 |
|
|
i[3456789]86-*-pe)
|
2158 |
|
|
noconfigdirs="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
|
2159 |
|
|
;;
|
2160 |
|
|
i[3456789]86-*-sco3.2v5*)
|
2161 |
|
|
# The linker does not yet know about weak symbols in COFF,
|
2162 |
|
|
# and is not configured to handle mixed ELF and COFF.
|
2163 |
|
|
noconfigdirs="$noconfigdirs ld target-libgloss ${libgcj}"
|
2164 |
|
|
;;
|
2165 |
|
|
i[3456789]86-*-sco*)
|
2166 |
|
|
noconfigdirs="$noconfigdirs gprof target-libgloss ${libgcj}"
|
2167 |
|
|
;;
|
2168 |
|
|
i[3456789]86-*-solaris2*)
|
2169 |
|
|
noconfigdirs="$noconfigdirs target-libgloss"
|
2170 |
|
|
;;
|
2171 |
|
|
i[3456789]86-*-sysv4*)
|
2172 |
|
|
noconfigdirs="$noconfigdirs target-libgloss ${libgcj}"
|
2173 |
|
|
;;
|
2174 |
|
|
i[3456789]86-*-beos*)
|
2175 |
|
|
noconfigdirs="$noconfigdirs gdb target-newlib target-libgloss ${libgcj}"
|
2176 |
|
|
;;
|
2177 |
|
|
m32r-*-*)
|
2178 |
|
|
noconfigdirs="$noconfigdirs ${libgcj}"
|
2179 |
|
|
;;
|
2180 |
|
|
m68hc11-*-*|m6811-*-*|m68hc12-*-*|m6812-*-*)
|
2181 |
|
|
noconfigdirs="$noconfigdirs target-libiberty target-libstdc++-v3 ${libgcj}"
|
2182 |
|
|
;;
|
2183 |
|
|
m68k-*-elf*)
|
2184 |
|
|
noconfigdirs="$noconfigdirs ${libgcj}"
|
2185 |
|
|
;;
|
2186 |
|
|
m68k-*-coff*)
|
2187 |
|
|
noconfigdirs="$noconfigdirs ${libgcj}"
|
2188 |
|
|
;;
|
2189 |
|
|
mcore-*-pe*)
|
2190 |
|
|
# The EPOC C++ environment does not support exceptions or rtti,
|
2191 |
|
|
# and so building libstdc++-v3 tends not to always work.
|
2192 |
|
|
noconfigdirs="$noconfigdirs target-libstdc++-v3"
|
2193 |
|
|
;;
|
2194 |
|
|
mmix-*-*)
|
2195 |
|
|
noconfigdirs="$noconfigdirs target-libffi target-boehm-gc gdb libgloss"
|
2196 |
|
|
unsupported_languages="$unsupported_languages fortran java"
|
2197 |
|
|
;;
|
2198 |
|
|
mn10200-*-*)
|
2199 |
|
|
noconfigdirs="$noconfigdirs ${libgcj}"
|
2200 |
|
|
;;
|
2201 |
|
|
mn10300-*-*)
|
2202 |
|
|
noconfigdirs="$noconfigdirs ${libgcj}"
|
2203 |
|
|
;;
|
2204 |
|
|
mt-*-*)
|
2205 |
|
|
noconfigdirs="$noconfigdirs sim"
|
2206 |
|
|
;;
|
2207 |
|
|
powerpc-*-aix*)
|
2208 |
|
|
# copied from rs6000-*-* entry
|
2209 |
|
|
noconfigdirs="$noconfigdirs gprof target-libgloss target-libssp ${libgcj}"
|
2210 |
|
|
;;
|
2211 |
|
|
powerpc*-*-winnt* | powerpc*-*-pe* | ppc*-*-pe)
|
2212 |
|
|
target_configdirs="$target_configdirs target-winsup"
|
2213 |
|
|
noconfigdirs="$noconfigdirs gdb tcl tk make expect target-libgloss itcl gnuserv ${libgcj}"
|
2214 |
|
|
# always build newlib.
|
2215 |
|
|
skipdirs=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
|
2216 |
|
|
;;
|
2217 |
|
|
# This is temporary until we can link against shared libraries
|
2218 |
|
|
powerpcle-*-solaris*)
|
2219 |
|
|
noconfigdirs="$noconfigdirs gdb sim make tcl tk expect itcl gnuserv ${libgcj}"
|
2220 |
|
|
;;
|
2221 |
|
|
powerpc-*-beos*)
|
2222 |
|
|
noconfigdirs="$noconfigdirs gdb target-newlib target-libgloss ${libgcj}"
|
2223 |
|
|
;;
|
2224 |
|
|
powerpc-*-eabi)
|
2225 |
|
|
noconfigdirs="$noconfigdirs ${libgcj}"
|
2226 |
|
|
;;
|
2227 |
|
|
powerpc-*-eabi* | powerpcle-*-eabi* | powerpc-*-rtems* )
|
2228 |
|
|
;;
|
2229 |
|
|
rs6000-*-lynxos*)
|
2230 |
|
|
noconfigdirs="$noconfigdirs target-newlib gprof ${libgcj}"
|
2231 |
|
|
;;
|
2232 |
|
|
rs6000-*-aix*)
|
2233 |
|
|
noconfigdirs="$noconfigdirs gprof target-libgloss target-libssp ${libgcj}"
|
2234 |
|
|
;;
|
2235 |
|
|
rs6000-*-*)
|
2236 |
|
|
noconfigdirs="$noconfigdirs gprof ${libgcj}"
|
2237 |
|
|
;;
|
2238 |
|
|
m68k-apollo-*)
|
2239 |
|
|
noconfigdirs="$noconfigdirs ld binutils gprof target-libgloss ${libgcj}"
|
2240 |
|
|
;;
|
2241 |
|
|
mips*-*-irix5*)
|
2242 |
|
|
noconfigdirs="$noconfigdirs gprof target-libgloss ${libgcj}"
|
2243 |
|
|
;;
|
2244 |
|
|
mips*-*-irix6*)
|
2245 |
|
|
# Linking libjava exceeds command-line length limits on at least
|
2246 |
|
|
# IRIX 6.2, but not on IRIX 6.5.
|
2247 |
|
|
# Also, boehm-gc won't build on IRIX 6.5, according to Jeffrey Oldham
|
2248 |
|
|
#
|
2249 |
|
|
noconfigdirs="$noconfigdirs gprof target-libgloss ${libgcj}"
|
2250 |
|
|
;;
|
2251 |
|
|
mips*-dec-bsd*)
|
2252 |
|
|
noconfigdirs="$noconfigdirs gprof target-libgloss ${libgcj}"
|
2253 |
|
|
;;
|
2254 |
|
|
mips*-*-bsd*)
|
2255 |
|
|
noconfigdirs="$noconfigdirs gprof target-libgloss ${libgcj}"
|
2256 |
|
|
;;
|
2257 |
|
|
mipstx39-*-*)
|
2258 |
|
|
noconfigdirs="$noconfigdirs gprof ${libgcj}" # same as generic mips
|
2259 |
|
|
;;
|
2260 |
|
|
mips64*-*-linux*)
|
2261 |
|
|
noconfigdirs="$noconfigdirs target-newlib ${libgcj}"
|
2262 |
|
|
;;
|
2263 |
|
|
mips*-*-linux*)
|
2264 |
|
|
noconfigdirs="$noconfigdirs target-newlib target-libgloss"
|
2265 |
|
|
;;
|
2266 |
|
|
mips*-*-*)
|
2267 |
|
|
noconfigdirs="$noconfigdirs gprof ${libgcj}"
|
2268 |
|
|
;;
|
2269 |
|
|
romp-*-*)
|
2270 |
|
|
noconfigdirs="$noconfigdirs bfd binutils ld gas opcodes target-libgloss ${libgcj}"
|
2271 |
|
|
;;
|
2272 |
|
|
sh-*-* | sh64-*-*)
|
2273 |
|
|
case "${host}" in
|
2274 |
|
|
i[3456789]86-*-vsta) ;; # don't add gprof back in
|
2275 |
|
|
i[3456789]86-*-go32*) ;; # don't add gprof back in
|
2276 |
|
|
i[3456789]86-*-msdosdjgpp*) ;; # don't add gprof back in
|
2277 |
|
|
*) skipdirs=`echo " ${skipdirs} " | sed -e 's/ gprof / /'` ;;
|
2278 |
|
|
esac
|
2279 |
|
|
noconfigdirs="$noconfigdirs target-libgloss ${libgcj}"
|
2280 |
|
|
;;
|
2281 |
|
|
sparc-*-elf*)
|
2282 |
|
|
noconfigdirs="$noconfigdirs ${libgcj}"
|
2283 |
|
|
;;
|
2284 |
|
|
sparc64-*-elf*)
|
2285 |
|
|
noconfigdirs="$noconfigdirs ${libgcj}"
|
2286 |
|
|
;;
|
2287 |
|
|
sparclite-*-*)
|
2288 |
|
|
noconfigdirs="$noconfigdirs ${libgcj}"
|
2289 |
|
|
;;
|
2290 |
|
|
sparc-*-sunos4*)
|
2291 |
|
|
noconfigdirs="$noconfigdirs ${libgcj}"
|
2292 |
|
|
if test x${is_cross_compiler} != xno ; then
|
2293 |
|
|
noconfigdirs="$noconfigdirs gdb target-newlib target-libgloss"
|
2294 |
|
|
else
|
2295 |
|
|
use_gnu_ld=no
|
2296 |
|
|
fi
|
2297 |
|
|
;;
|
2298 |
|
|
sparc-*-solaris2.[0-6] | sparc-*-solaris2.[0-6].*)
|
2299 |
|
|
noconfigdirs="$noconfigdirs ${libgcj}"
|
2300 |
|
|
;;
|
2301 |
|
|
sparc-*-solaris* | sparc64-*-solaris* | sparcv9-*-solaris*)
|
2302 |
|
|
;;
|
2303 |
|
|
scarts_*-*-eabi)
|
2304 |
|
|
noconfigdirs="$noconfigdirs target-libiberty target-libstdc++-v3 target-libssp ${libgcj}"
|
2305 |
|
|
;;
|
2306 |
|
|
v810-*-*)
|
2307 |
|
|
noconfigdirs="$noconfigdirs bfd binutils gas gcc gdb ld target-libstdc++-v3 opcodes target-libgloss ${libgcj}"
|
2308 |
|
|
;;
|
2309 |
|
|
v850-*-*)
|
2310 |
|
|
noconfigdirs="$noconfigdirs target-libgloss ${libgcj}"
|
2311 |
|
|
;;
|
2312 |
|
|
v850e-*-*)
|
2313 |
|
|
noconfigdirs="$noconfigdirs target-libgloss ${libgcj}"
|
2314 |
|
|
;;
|
2315 |
|
|
v850ea-*-*)
|
2316 |
|
|
noconfigdirs="$noconfigdirs target-libgloss ${libgcj}"
|
2317 |
|
|
;;
|
2318 |
|
|
vax-*-vms)
|
2319 |
|
|
noconfigdirs="$noconfigdirs bfd binutils gdb ld target-newlib opcodes target-libgloss ${libgcj}"
|
2320 |
|
|
;;
|
2321 |
|
|
vax-*-*)
|
2322 |
|
|
noconfigdirs="$noconfigdirs target-newlib target-libgloss ${libgcj}"
|
2323 |
|
|
;;
|
2324 |
|
|
xtensa-*-*)
|
2325 |
|
|
noconfigdirs="$noconfigdirs ${libgcj}"
|
2326 |
|
|
;;
|
2327 |
|
|
ip2k-*-*)
|
2328 |
|
|
noconfigdirs="$noconfigdirs target-libiberty target-libstdc++-v3 ${libgcj}"
|
2329 |
|
|
;;
|
2330 |
|
|
*-*-linux* | *-*-gnu* | *-*-k*bsd*-gnu)
|
2331 |
|
|
noconfigdirs="$noconfigdirs target-newlib target-libgloss"
|
2332 |
|
|
;;
|
2333 |
|
|
*-*-lynxos*)
|
2334 |
|
|
noconfigdirs="$noconfigdirs target-newlib target-libgloss ${libgcj}"
|
2335 |
|
|
;;
|
2336 |
|
|
*-*-*)
|
2337 |
|
|
noconfigdirs="$noconfigdirs ${libgcj}"
|
2338 |
|
|
;;
|
2339 |
|
|
esac
|
2340 |
|
|
|
2341 |
|
|
# If we aren't building newlib, then don't build libgloss, since libgloss
|
2342 |
|
|
# depends upon some newlib header files.
|
2343 |
|
|
case "${noconfigdirs}" in
|
2344 |
|
|
*target-libgloss*) ;;
|
2345 |
|
|
*target-newlib*) noconfigdirs="$noconfigdirs target-libgloss" ;;
|
2346 |
|
|
esac
|
2347 |
|
|
|
2348 |
|
|
# Work in distributions that contain no compiler tools, like Autoconf.
|
2349 |
|
|
tentative_cc=""
|
2350 |
|
|
host_makefile_frag=/dev/null
|
2351 |
|
|
if test -d ${srcdir}/config ; then
|
2352 |
|
|
case "${host}" in
|
2353 |
|
|
m68k-hp-hpux*)
|
2354 |
|
|
# Avoid "too much defining" errors from HPUX compiler.
|
2355 |
|
|
tentative_cc="cc -Wp,-H256000"
|
2356 |
|
|
# If "ar" in $PATH is GNU ar, the symbol table may need rebuilding.
|
2357 |
|
|
# If it's HP/UX ar, this should be harmless.
|
2358 |
|
|
RANLIB="ar ts"
|
2359 |
|
|
;;
|
2360 |
|
|
m68k-apollo-sysv*)
|
2361 |
|
|
tentative_cc="cc -A ansi -A runtype,any -A systype,any -U__STDC__ -DUSG"
|
2362 |
|
|
;;
|
2363 |
|
|
m68k-apollo-bsd*)
|
2364 |
|
|
#None of the Apollo compilers can compile gas or binutils. The preprocessor
|
2365 |
|
|
# chokes on bfd, the compiler won't let you assign integers to enums, and
|
2366 |
|
|
# other problems. Defining CC to gcc is a questionable way to say "don't use
|
2367 |
|
|
# the apollo compiler" (the preferred version of GCC could be called cc,
|
2368 |
|
|
# or whatever), but I'm not sure leaving CC as cc is any better...
|
2369 |
|
|
#CC=cc -A ansi -A runtype,any -A systype,any -U__STDC__ -DNO_STDARG
|
2370 |
|
|
# Used to have BISON=yacc.
|
2371 |
|
|
tentative_cc=gcc
|
2372 |
|
|
;;
|
2373 |
|
|
m88k-dg-dgux*)
|
2374 |
|
|
tentative_cc="gcc -Wall -ansi -D__using_DGUX"
|
2375 |
|
|
;;
|
2376 |
|
|
m88k-harris-cxux*)
|
2377 |
|
|
# Under CX/UX, we want to tell the compiler to use ANSI mode.
|
2378 |
|
|
tentative_cc="cc -Xa"
|
2379 |
|
|
host_makefile_frag="config/mh-cxux"
|
2380 |
|
|
;;
|
2381 |
|
|
m88k-motorola-sysv*)
|
2382 |
|
|
;;
|
2383 |
|
|
mips*-dec-ultrix*)
|
2384 |
|
|
tentative_cc="cc -Wf,-XNg1000"
|
2385 |
|
|
host_makefile_frag="config/mh-decstation"
|
2386 |
|
|
;;
|
2387 |
|
|
mips*-nec-sysv4*)
|
2388 |
|
|
# The C compiler on NEC MIPS SVR4 needs bigger tables.
|
2389 |
|
|
tentative_cc="cc -ZXNd=5000 -ZXNg=1000"
|
2390 |
|
|
host_makefile_frag="config/mh-necv4"
|
2391 |
|
|
;;
|
2392 |
|
|
mips*-sgi-irix4*)
|
2393 |
|
|
# Tell compiler to use K&R C. We can't compile under the SGI Ansi
|
2394 |
|
|
# environment. Also bump switch table size so that cp-parse will
|
2395 |
|
|
# compile. Bump string length limit so linker builds.
|
2396 |
|
|
tentative_cc="cc -cckr -Wf,-XNg1500 -Wf,-XNk1000 -Wf,-XNh2000 -Wf,-XNl8192"
|
2397 |
|
|
;;
|
2398 |
|
|
mips*-*-sysv4*)
|
2399 |
|
|
host_makefile_frag="config/mh-sysv4"
|
2400 |
|
|
;;
|
2401 |
|
|
mips*-*-sysv*)
|
2402 |
|
|
# This is for a MIPS running RISC/os 4.52C.
|
2403 |
|
|
|
2404 |
|
|
# This is needed for GDB, but needs to be in the top-level make because
|
2405 |
|
|
# if a library is compiled with the bsd headers and gets linked with the
|
2406 |
|
|
# sysv system libraries all hell can break loose (e.g. a jmp_buf might be
|
2407 |
|
|
# a different size).
|
2408 |
|
|
# ptrace(2) apparently has problems in the BSD environment. No workaround is
|
2409 |
|
|
# known except to select the sysv environment. Could we use /proc instead?
|
2410 |
|
|
# These "sysv environments" and "bsd environments" often end up being a pain.
|
2411 |
|
|
#
|
2412 |
|
|
# This is not part of CFLAGS because perhaps not all C compilers have this
|
2413 |
|
|
# option.
|
2414 |
|
|
tentative_cc="cc -systype sysv"
|
2415 |
|
|
;;
|
2416 |
|
|
i370-ibm-opened*)
|
2417 |
|
|
tentative_cc="c89"
|
2418 |
|
|
;;
|
2419 |
|
|
i[3456789]86-*-sysv5*)
|
2420 |
|
|
host_makefile_frag="config/mh-sysv5"
|
2421 |
|
|
;;
|
2422 |
|
|
i[3456789]86-*-dgux*)
|
2423 |
|
|
tentative_cc="gcc -Wall -ansi -D__using_DGUX"
|
2424 |
|
|
host_makefile_frag="config/mh-dgux386"
|
2425 |
|
|
;;
|
2426 |
|
|
i[3456789]86-ncr-sysv4.3*)
|
2427 |
|
|
# The MetaWare compiler will generate a copyright message unless you
|
2428 |
|
|
# turn it off by adding the -Hnocopyr flag.
|
2429 |
|
|
tentative_cc="cc -Hnocopyr"
|
2430 |
|
|
;;
|
2431 |
|
|
i[3456789]86-ncr-sysv4*)
|
2432 |
|
|
# for an NCR 3000 (i486/SVR4) system.
|
2433 |
|
|
# The NCR 3000 ships with a MetaWare compiler installed as /bin/cc.
|
2434 |
|
|
# This compiler not only emits obnoxious copyright messages every time
|
2435 |
|
|
# you run it, but it chokes and dies on a whole bunch of GNU source
|
2436 |
|
|
# files. Default to using the AT&T compiler installed in /usr/ccs/ATT/cc.
|
2437 |
|
|
tentative_cc="/usr/ccs/ATT/cc"
|
2438 |
|
|
host_makefile_frag="config/mh-ncr3000"
|
2439 |
|
|
;;
|
2440 |
|
|
i[3456789]86-*-sco3.2v5*)
|
2441 |
|
|
;;
|
2442 |
|
|
i[3456789]86-*-sco*)
|
2443 |
|
|
# The native C compiler botches some simple uses of const. Unfortunately,
|
2444 |
|
|
# it doesn't defined anything like "__sco__" for us to test for in ansidecl.h.
|
2445 |
|
|
tentative_cc="cc -Dconst="
|
2446 |
|
|
host_makefile_frag="config/mh-sco"
|
2447 |
|
|
;;
|
2448 |
|
|
i[3456789]86-*-udk*)
|
2449 |
|
|
host_makefile_frag="config/mh-sysv5"
|
2450 |
|
|
;;
|
2451 |
|
|
i[3456789]86-*-solaris2*)
|
2452 |
|
|
host_makefile_frag="config/mh-sysv4"
|
2453 |
|
|
;;
|
2454 |
|
|
i[3456789]86-*-msdosdjgpp*)
|
2455 |
|
|
host_makefile_frag="config/mh-djgpp"
|
2456 |
|
|
;;
|
2457 |
|
|
*-cygwin*)
|
2458 |
|
|
host_makefile_frag="config/mh-cygwin"
|
2459 |
|
|
;;
|
2460 |
|
|
*-mingw32*)
|
2461 |
|
|
;;
|
2462 |
|
|
*-interix*)
|
2463 |
|
|
host_makefile_frag="config/mh-interix"
|
2464 |
|
|
;;
|
2465 |
|
|
vax-*-ultrix2*)
|
2466 |
|
|
# The old BSD pcc isn't up to compiling parts of gdb so use gcc
|
2467 |
|
|
tentative_cc=gcc
|
2468 |
|
|
;;
|
2469 |
|
|
*-*-solaris2*)
|
2470 |
|
|
host_makefile_frag="config/mh-solaris"
|
2471 |
|
|
;;
|
2472 |
|
|
m68k-sun-sunos*)
|
2473 |
|
|
# Sun's C compiler needs the -J flag to be able to compile cp-parse.c
|
2474 |
|
|
# without overflowing the jump tables (-J says to use a 32 bit table)
|
2475 |
|
|
tentative_cc="cc -J"
|
2476 |
|
|
;;
|
2477 |
|
|
*-hp-hpux*)
|
2478 |
|
|
tentative_cc="cc -Wp,-H256000"
|
2479 |
|
|
;;
|
2480 |
|
|
*-*-hiux*)
|
2481 |
|
|
tentative_cc="cc -Wp,-H256000"
|
2482 |
|
|
;;
|
2483 |
|
|
rs6000-*-lynxos*)
|
2484 |
|
|
# /bin/cc is less than useful for our purposes. Always use GCC
|
2485 |
|
|
tentative_cc="/usr/cygnus/progressive/bin/gcc"
|
2486 |
|
|
host_makefile_frag="config/mh-lynxrs6k"
|
2487 |
|
|
;;
|
2488 |
|
|
powerpc-*-darwin*)
|
2489 |
|
|
host_makefile_frag="config/mh-ppc-darwin"
|
2490 |
|
|
;;
|
2491 |
|
|
*-*-lynxos*)
|
2492 |
|
|
# /bin/cc is less than useful for our purposes. Always use GCC
|
2493 |
|
|
tentative_cc="/bin/gcc"
|
2494 |
|
|
;;
|
2495 |
|
|
*-*-sysv4*)
|
2496 |
|
|
host_makefile_frag="config/mh-sysv4"
|
2497 |
|
|
;;
|
2498 |
|
|
# This is placed last to prevent interfering with the cases above.
|
2499 |
|
|
i[3456789]86-*-*)
|
2500 |
|
|
# Build the stage2 and stage3 compilers with -fomit-frame-pointer.
|
2501 |
|
|
host_makefile_frag="config/mh-x86omitfp"
|
2502 |
|
|
;;
|
2503 |
|
|
esac
|
2504 |
|
|
fi
|
2505 |
|
|
|
2506 |
|
|
# If we aren't going to be using gcc, see if we can extract a definition
|
2507 |
|
|
# of CC from the fragment.
|
2508 |
|
|
# Actually, use the 'pre-extracted' version above.
|
2509 |
|
|
if test -z "${CC}" && test "${build}" = "${host}" ; then
|
2510 |
|
|
IFS="${IFS= }"; save_ifs="$IFS"; IFS="${IFS}:"
|
2511 |
|
|
found=
|
2512 |
|
|
for dir in $PATH; do
|
2513 |
|
|
test -z "$dir" && dir=.
|
2514 |
|
|
if test -f $dir/gcc; then
|
2515 |
|
|
found=yes
|
2516 |
|
|
break
|
2517 |
|
|
fi
|
2518 |
|
|
done
|
2519 |
|
|
IFS="$save_ifs"
|
2520 |
|
|
if test -z "${found}" && test -n "${tentative_cc}" ; then
|
2521 |
|
|
CC=$tentative_cc
|
2522 |
|
|
fi
|
2523 |
|
|
fi
|
2524 |
|
|
|
2525 |
|
|
if test "${build}" != "${host}" ; then
|
2526 |
|
|
# If we are doing a Canadian Cross, in which the host and build systems
|
2527 |
|
|
# are not the same, we set reasonable default values for the tools.
|
2528 |
|
|
|
2529 |
|
|
CC=${CC-${host_alias}-gcc}
|
2530 |
|
|
CFLAGS=${CFLAGS-"-g -O2"}
|
2531 |
|
|
CXX=${CXX-${host_alias}-c++}
|
2532 |
|
|
CXXFLAGS=${CXXFLAGS-"-g -O2"}
|
2533 |
|
|
CC_FOR_BUILD=${CC_FOR_BUILD-gcc}
|
2534 |
|
|
BUILD_PREFIX=${build_alias}-
|
2535 |
|
|
BUILD_PREFIX_1=${build_alias}-
|
2536 |
|
|
|
2537 |
|
|
else
|
2538 |
|
|
# Set reasonable default values for some tools even if not Canadian.
|
2539 |
|
|
# Of course, these are different reasonable default values, originally
|
2540 |
|
|
# specified directly in the Makefile.
|
2541 |
|
|
# We don't export, so that autoconf can do its job.
|
2542 |
|
|
# Note that all these settings are above the fragment inclusion point
|
2543 |
|
|
# in Makefile.in, so can still be overridden by fragments.
|
2544 |
|
|
# This is all going to change when we autoconfiscate...
|
2545 |
|
|
|
2546 |
|
|
CC_FOR_BUILD="\$(CC)"
|
2547 |
|
|
BUILD_PREFIX=
|
2548 |
|
|
BUILD_PREFIX_1=loser-
|
2549 |
|
|
|
2550 |
|
|
ac_ext=c
|
2551 |
|
|
ac_cpp='$CPP $CPPFLAGS'
|
2552 |
|
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
2553 |
|
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
2554 |
|
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
2555 |
|
|
if test -n "$ac_tool_prefix"; then
|
2556 |
|
|
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
|
2557 |
|
|
set dummy ${ac_tool_prefix}gcc; ac_word=$2
|
2558 |
|
|
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
2559 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
2560 |
|
|
if test "${ac_cv_prog_CC+set}" = set; then
|
2561 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
2562 |
|
|
else
|
2563 |
|
|
if test -n "$CC"; then
|
2564 |
|
|
ac_cv_prog_CC="$CC" # Let the user override the test.
|
2565 |
|
|
else
|
2566 |
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
2567 |
|
|
for as_dir in $PATH
|
2568 |
|
|
do
|
2569 |
|
|
IFS=$as_save_IFS
|
2570 |
|
|
test -z "$as_dir" && as_dir=.
|
2571 |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
2572 |
|
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
2573 |
|
|
ac_cv_prog_CC="${ac_tool_prefix}gcc"
|
2574 |
|
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
2575 |
|
|
break 2
|
2576 |
|
|
fi
|
2577 |
|
|
done
|
2578 |
|
|
done
|
2579 |
|
|
|
2580 |
|
|
fi
|
2581 |
|
|
fi
|
2582 |
|
|
CC=$ac_cv_prog_CC
|
2583 |
|
|
if test -n "$CC"; then
|
2584 |
|
|
echo "$as_me:$LINENO: result: $CC" >&5
|
2585 |
|
|
echo "${ECHO_T}$CC" >&6
|
2586 |
|
|
else
|
2587 |
|
|
echo "$as_me:$LINENO: result: no" >&5
|
2588 |
|
|
echo "${ECHO_T}no" >&6
|
2589 |
|
|
fi
|
2590 |
|
|
|
2591 |
|
|
fi
|
2592 |
|
|
if test -z "$ac_cv_prog_CC"; then
|
2593 |
|
|
ac_ct_CC=$CC
|
2594 |
|
|
# Extract the first word of "gcc", so it can be a program name with args.
|
2595 |
|
|
set dummy gcc; ac_word=$2
|
2596 |
|
|
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
2597 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
2598 |
|
|
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
|
2599 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
2600 |
|
|
else
|
2601 |
|
|
if test -n "$ac_ct_CC"; then
|
2602 |
|
|
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
2603 |
|
|
else
|
2604 |
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
2605 |
|
|
for as_dir in $PATH
|
2606 |
|
|
do
|
2607 |
|
|
IFS=$as_save_IFS
|
2608 |
|
|
test -z "$as_dir" && as_dir=.
|
2609 |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
2610 |
|
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
2611 |
|
|
ac_cv_prog_ac_ct_CC="gcc"
|
2612 |
|
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
2613 |
|
|
break 2
|
2614 |
|
|
fi
|
2615 |
|
|
done
|
2616 |
|
|
done
|
2617 |
|
|
|
2618 |
|
|
fi
|
2619 |
|
|
fi
|
2620 |
|
|
ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
2621 |
|
|
if test -n "$ac_ct_CC"; then
|
2622 |
|
|
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
|
2623 |
|
|
echo "${ECHO_T}$ac_ct_CC" >&6
|
2624 |
|
|
else
|
2625 |
|
|
echo "$as_me:$LINENO: result: no" >&5
|
2626 |
|
|
echo "${ECHO_T}no" >&6
|
2627 |
|
|
fi
|
2628 |
|
|
|
2629 |
|
|
CC=$ac_ct_CC
|
2630 |
|
|
else
|
2631 |
|
|
CC="$ac_cv_prog_CC"
|
2632 |
|
|
fi
|
2633 |
|
|
|
2634 |
|
|
if test -z "$CC"; then
|
2635 |
|
|
if test -n "$ac_tool_prefix"; then
|
2636 |
|
|
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
|
2637 |
|
|
set dummy ${ac_tool_prefix}cc; ac_word=$2
|
2638 |
|
|
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
2639 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
2640 |
|
|
if test "${ac_cv_prog_CC+set}" = set; then
|
2641 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
2642 |
|
|
else
|
2643 |
|
|
if test -n "$CC"; then
|
2644 |
|
|
ac_cv_prog_CC="$CC" # Let the user override the test.
|
2645 |
|
|
else
|
2646 |
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
2647 |
|
|
for as_dir in $PATH
|
2648 |
|
|
do
|
2649 |
|
|
IFS=$as_save_IFS
|
2650 |
|
|
test -z "$as_dir" && as_dir=.
|
2651 |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
2652 |
|
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
2653 |
|
|
ac_cv_prog_CC="${ac_tool_prefix}cc"
|
2654 |
|
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
2655 |
|
|
break 2
|
2656 |
|
|
fi
|
2657 |
|
|
done
|
2658 |
|
|
done
|
2659 |
|
|
|
2660 |
|
|
fi
|
2661 |
|
|
fi
|
2662 |
|
|
CC=$ac_cv_prog_CC
|
2663 |
|
|
if test -n "$CC"; then
|
2664 |
|
|
echo "$as_me:$LINENO: result: $CC" >&5
|
2665 |
|
|
echo "${ECHO_T}$CC" >&6
|
2666 |
|
|
else
|
2667 |
|
|
echo "$as_me:$LINENO: result: no" >&5
|
2668 |
|
|
echo "${ECHO_T}no" >&6
|
2669 |
|
|
fi
|
2670 |
|
|
|
2671 |
|
|
fi
|
2672 |
|
|
if test -z "$ac_cv_prog_CC"; then
|
2673 |
|
|
ac_ct_CC=$CC
|
2674 |
|
|
# Extract the first word of "cc", so it can be a program name with args.
|
2675 |
|
|
set dummy cc; ac_word=$2
|
2676 |
|
|
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
2677 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
2678 |
|
|
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
|
2679 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
2680 |
|
|
else
|
2681 |
|
|
if test -n "$ac_ct_CC"; then
|
2682 |
|
|
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
2683 |
|
|
else
|
2684 |
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
2685 |
|
|
for as_dir in $PATH
|
2686 |
|
|
do
|
2687 |
|
|
IFS=$as_save_IFS
|
2688 |
|
|
test -z "$as_dir" && as_dir=.
|
2689 |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
2690 |
|
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
2691 |
|
|
ac_cv_prog_ac_ct_CC="cc"
|
2692 |
|
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
2693 |
|
|
break 2
|
2694 |
|
|
fi
|
2695 |
|
|
done
|
2696 |
|
|
done
|
2697 |
|
|
|
2698 |
|
|
fi
|
2699 |
|
|
fi
|
2700 |
|
|
ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
2701 |
|
|
if test -n "$ac_ct_CC"; then
|
2702 |
|
|
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
|
2703 |
|
|
echo "${ECHO_T}$ac_ct_CC" >&6
|
2704 |
|
|
else
|
2705 |
|
|
echo "$as_me:$LINENO: result: no" >&5
|
2706 |
|
|
echo "${ECHO_T}no" >&6
|
2707 |
|
|
fi
|
2708 |
|
|
|
2709 |
|
|
CC=$ac_ct_CC
|
2710 |
|
|
else
|
2711 |
|
|
CC="$ac_cv_prog_CC"
|
2712 |
|
|
fi
|
2713 |
|
|
|
2714 |
|
|
fi
|
2715 |
|
|
if test -z "$CC"; then
|
2716 |
|
|
# Extract the first word of "cc", so it can be a program name with args.
|
2717 |
|
|
set dummy cc; ac_word=$2
|
2718 |
|
|
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
2719 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
2720 |
|
|
if test "${ac_cv_prog_CC+set}" = set; then
|
2721 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
2722 |
|
|
else
|
2723 |
|
|
if test -n "$CC"; then
|
2724 |
|
|
ac_cv_prog_CC="$CC" # Let the user override the test.
|
2725 |
|
|
else
|
2726 |
|
|
ac_prog_rejected=no
|
2727 |
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
2728 |
|
|
for as_dir in $PATH
|
2729 |
|
|
do
|
2730 |
|
|
IFS=$as_save_IFS
|
2731 |
|
|
test -z "$as_dir" && as_dir=.
|
2732 |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
2733 |
|
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
2734 |
|
|
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
|
2735 |
|
|
ac_prog_rejected=yes
|
2736 |
|
|
continue
|
2737 |
|
|
fi
|
2738 |
|
|
ac_cv_prog_CC="cc"
|
2739 |
|
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
2740 |
|
|
break 2
|
2741 |
|
|
fi
|
2742 |
|
|
done
|
2743 |
|
|
done
|
2744 |
|
|
|
2745 |
|
|
if test $ac_prog_rejected = yes; then
|
2746 |
|
|
# We found a bogon in the path, so make sure we never use it.
|
2747 |
|
|
set dummy $ac_cv_prog_CC
|
2748 |
|
|
shift
|
2749 |
|
|
if test $# != 0; then
|
2750 |
|
|
# We chose a different compiler from the bogus one.
|
2751 |
|
|
# However, it has the same basename, so the bogon will be chosen
|
2752 |
|
|
# first if we set CC to just the basename; use the full file name.
|
2753 |
|
|
shift
|
2754 |
|
|
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
|
2755 |
|
|
fi
|
2756 |
|
|
fi
|
2757 |
|
|
fi
|
2758 |
|
|
fi
|
2759 |
|
|
CC=$ac_cv_prog_CC
|
2760 |
|
|
if test -n "$CC"; then
|
2761 |
|
|
echo "$as_me:$LINENO: result: $CC" >&5
|
2762 |
|
|
echo "${ECHO_T}$CC" >&6
|
2763 |
|
|
else
|
2764 |
|
|
echo "$as_me:$LINENO: result: no" >&5
|
2765 |
|
|
echo "${ECHO_T}no" >&6
|
2766 |
|
|
fi
|
2767 |
|
|
|
2768 |
|
|
fi
|
2769 |
|
|
if test -z "$CC"; then
|
2770 |
|
|
if test -n "$ac_tool_prefix"; then
|
2771 |
|
|
for ac_prog in cl
|
2772 |
|
|
do
|
2773 |
|
|
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
2774 |
|
|
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
|
2775 |
|
|
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
2776 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
2777 |
|
|
if test "${ac_cv_prog_CC+set}" = set; then
|
2778 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
2779 |
|
|
else
|
2780 |
|
|
if test -n "$CC"; then
|
2781 |
|
|
ac_cv_prog_CC="$CC" # Let the user override the test.
|
2782 |
|
|
else
|
2783 |
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
2784 |
|
|
for as_dir in $PATH
|
2785 |
|
|
do
|
2786 |
|
|
IFS=$as_save_IFS
|
2787 |
|
|
test -z "$as_dir" && as_dir=.
|
2788 |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
2789 |
|
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
2790 |
|
|
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
|
2791 |
|
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
2792 |
|
|
break 2
|
2793 |
|
|
fi
|
2794 |
|
|
done
|
2795 |
|
|
done
|
2796 |
|
|
|
2797 |
|
|
fi
|
2798 |
|
|
fi
|
2799 |
|
|
CC=$ac_cv_prog_CC
|
2800 |
|
|
if test -n "$CC"; then
|
2801 |
|
|
echo "$as_me:$LINENO: result: $CC" >&5
|
2802 |
|
|
echo "${ECHO_T}$CC" >&6
|
2803 |
|
|
else
|
2804 |
|
|
echo "$as_me:$LINENO: result: no" >&5
|
2805 |
|
|
echo "${ECHO_T}no" >&6
|
2806 |
|
|
fi
|
2807 |
|
|
|
2808 |
|
|
test -n "$CC" && break
|
2809 |
|
|
done
|
2810 |
|
|
fi
|
2811 |
|
|
if test -z "$CC"; then
|
2812 |
|
|
ac_ct_CC=$CC
|
2813 |
|
|
for ac_prog in cl
|
2814 |
|
|
do
|
2815 |
|
|
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
2816 |
|
|
set dummy $ac_prog; ac_word=$2
|
2817 |
|
|
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
2818 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
2819 |
|
|
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
|
2820 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
2821 |
|
|
else
|
2822 |
|
|
if test -n "$ac_ct_CC"; then
|
2823 |
|
|
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
2824 |
|
|
else
|
2825 |
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
2826 |
|
|
for as_dir in $PATH
|
2827 |
|
|
do
|
2828 |
|
|
IFS=$as_save_IFS
|
2829 |
|
|
test -z "$as_dir" && as_dir=.
|
2830 |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
2831 |
|
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
2832 |
|
|
ac_cv_prog_ac_ct_CC="$ac_prog"
|
2833 |
|
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
2834 |
|
|
break 2
|
2835 |
|
|
fi
|
2836 |
|
|
done
|
2837 |
|
|
done
|
2838 |
|
|
|
2839 |
|
|
fi
|
2840 |
|
|
fi
|
2841 |
|
|
ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
2842 |
|
|
if test -n "$ac_ct_CC"; then
|
2843 |
|
|
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
|
2844 |
|
|
echo "${ECHO_T}$ac_ct_CC" >&6
|
2845 |
|
|
else
|
2846 |
|
|
echo "$as_me:$LINENO: result: no" >&5
|
2847 |
|
|
echo "${ECHO_T}no" >&6
|
2848 |
|
|
fi
|
2849 |
|
|
|
2850 |
|
|
test -n "$ac_ct_CC" && break
|
2851 |
|
|
done
|
2852 |
|
|
|
2853 |
|
|
CC=$ac_ct_CC
|
2854 |
|
|
fi
|
2855 |
|
|
|
2856 |
|
|
fi
|
2857 |
|
|
|
2858 |
|
|
|
2859 |
|
|
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
|
2860 |
|
|
See \`config.log' for more details." >&5
|
2861 |
|
|
echo "$as_me: error: no acceptable C compiler found in \$PATH
|
2862 |
|
|
See \`config.log' for more details." >&2;}
|
2863 |
|
|
{ (exit 1); exit 1; }; }
|
2864 |
|
|
|
2865 |
|
|
# Provide some information about the compiler.
|
2866 |
|
|
echo "$as_me:$LINENO:" \
|
2867 |
|
|
"checking for C compiler version" >&5
|
2868 |
|
|
ac_compiler=`set X $ac_compile; echo $2`
|
2869 |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version &5\"") >&5
|
2870 |
|
|
(eval $ac_compiler --version &5) 2>&5
|
2871 |
|
|
ac_status=$?
|
2872 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2873 |
|
|
(exit $ac_status); }
|
2874 |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v &5\"") >&5
|
2875 |
|
|
(eval $ac_compiler -v &5) 2>&5
|
2876 |
|
|
ac_status=$?
|
2877 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2878 |
|
|
(exit $ac_status); }
|
2879 |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V &5\"") >&5
|
2880 |
|
|
(eval $ac_compiler -V &5) 2>&5
|
2881 |
|
|
ac_status=$?
|
2882 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2883 |
|
|
(exit $ac_status); }
|
2884 |
|
|
|
2885 |
|
|
cat >conftest.$ac_ext <<_ACEOF
|
2886 |
|
|
/* confdefs.h. */
|
2887 |
|
|
_ACEOF
|
2888 |
|
|
cat confdefs.h >>conftest.$ac_ext
|
2889 |
|
|
cat >>conftest.$ac_ext <<_ACEOF
|
2890 |
|
|
/* end confdefs.h. */
|
2891 |
|
|
|
2892 |
|
|
int
|
2893 |
|
|
main ()
|
2894 |
|
|
{
|
2895 |
|
|
|
2896 |
|
|
;
|
2897 |
|
|
return 0;
|
2898 |
|
|
}
|
2899 |
|
|
_ACEOF
|
2900 |
|
|
ac_clean_files_save=$ac_clean_files
|
2901 |
|
|
ac_clean_files="$ac_clean_files a.out a.exe b.out"
|
2902 |
|
|
# Try to create an executable without -o first, disregard a.out.
|
2903 |
|
|
# It will help us diagnose broken compilers, and finding out an intuition
|
2904 |
|
|
# of exeext.
|
2905 |
|
|
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
|
2906 |
|
|
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
|
2907 |
|
|
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
|
2908 |
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
|
2909 |
|
|
(eval $ac_link_default) 2>&5
|
2910 |
|
|
ac_status=$?
|
2911 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2912 |
|
|
(exit $ac_status); }; then
|
2913 |
|
|
# Find the output, starting from the most likely. This scheme is
|
2914 |
|
|
# not robust to junk in `.', hence go to wildcards (a.*) only as a last
|
2915 |
|
|
# resort.
|
2916 |
|
|
|
2917 |
|
|
# Be careful to initialize this variable, since it used to be cached.
|
2918 |
|
|
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
|
2919 |
|
|
ac_cv_exeext=
|
2920 |
|
|
# b.out is created by i960 compilers.
|
2921 |
|
|
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
|
2922 |
|
|
do
|
2923 |
|
|
test -f "$ac_file" || continue
|
2924 |
|
|
case $ac_file in
|
2925 |
|
|
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
|
2926 |
|
|
;;
|
2927 |
|
|
conftest.$ac_ext )
|
2928 |
|
|
# This is the source file.
|
2929 |
|
|
;;
|
2930 |
|
|
[ab].out )
|
2931 |
|
|
# We found the default executable, but exeext='' is most
|
2932 |
|
|
# certainly right.
|
2933 |
|
|
break;;
|
2934 |
|
|
*.* )
|
2935 |
|
|
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
|
2936 |
|
|
# FIXME: I believe we export ac_cv_exeext for Libtool,
|
2937 |
|
|
# but it would be cool to find out if it's true. Does anybody
|
2938 |
|
|
# maintain Libtool? --akim.
|
2939 |
|
|
export ac_cv_exeext
|
2940 |
|
|
break;;
|
2941 |
|
|
* )
|
2942 |
|
|
break;;
|
2943 |
|
|
esac
|
2944 |
|
|
done
|
2945 |
|
|
else
|
2946 |
|
|
echo "$as_me: failed program was:" >&5
|
2947 |
|
|
sed 's/^/| /' conftest.$ac_ext >&5
|
2948 |
|
|
|
2949 |
|
|
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
|
2950 |
|
|
See \`config.log' for more details." >&5
|
2951 |
|
|
echo "$as_me: error: C compiler cannot create executables
|
2952 |
|
|
See \`config.log' for more details." >&2;}
|
2953 |
|
|
{ (exit 77); exit 77; }; }
|
2954 |
|
|
fi
|
2955 |
|
|
|
2956 |
|
|
ac_exeext=$ac_cv_exeext
|
2957 |
|
|
echo "$as_me:$LINENO: result: $ac_file" >&5
|
2958 |
|
|
echo "${ECHO_T}$ac_file" >&6
|
2959 |
|
|
|
2960 |
|
|
# Check the compiler produces executables we can run. If not, either
|
2961 |
|
|
# the compiler is broken, or we cross compile.
|
2962 |
|
|
echo "$as_me:$LINENO: checking whether the C compiler works" >&5
|
2963 |
|
|
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
|
2964 |
|
|
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
|
2965 |
|
|
# If not cross compiling, check that we can run a simple program.
|
2966 |
|
|
if test "$cross_compiling" != yes; then
|
2967 |
|
|
if { ac_try='./$ac_file'
|
2968 |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
2969 |
|
|
(eval $ac_try) 2>&5
|
2970 |
|
|
ac_status=$?
|
2971 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2972 |
|
|
(exit $ac_status); }; }; then
|
2973 |
|
|
cross_compiling=no
|
2974 |
|
|
else
|
2975 |
|
|
if test "$cross_compiling" = maybe; then
|
2976 |
|
|
cross_compiling=yes
|
2977 |
|
|
else
|
2978 |
|
|
{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
|
2979 |
|
|
If you meant to cross compile, use \`--host'.
|
2980 |
|
|
See \`config.log' for more details." >&5
|
2981 |
|
|
echo "$as_me: error: cannot run C compiled programs.
|
2982 |
|
|
If you meant to cross compile, use \`--host'.
|
2983 |
|
|
See \`config.log' for more details." >&2;}
|
2984 |
|
|
{ (exit 1); exit 1; }; }
|
2985 |
|
|
fi
|
2986 |
|
|
fi
|
2987 |
|
|
fi
|
2988 |
|
|
echo "$as_me:$LINENO: result: yes" >&5
|
2989 |
|
|
echo "${ECHO_T}yes" >&6
|
2990 |
|
|
|
2991 |
|
|
rm -f a.out a.exe conftest$ac_cv_exeext b.out
|
2992 |
|
|
ac_clean_files=$ac_clean_files_save
|
2993 |
|
|
# Check the compiler produces executables we can run. If not, either
|
2994 |
|
|
# the compiler is broken, or we cross compile.
|
2995 |
|
|
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
|
2996 |
|
|
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
|
2997 |
|
|
echo "$as_me:$LINENO: result: $cross_compiling" >&5
|
2998 |
|
|
echo "${ECHO_T}$cross_compiling" >&6
|
2999 |
|
|
|
3000 |
|
|
echo "$as_me:$LINENO: checking for suffix of executables" >&5
|
3001 |
|
|
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
|
3002 |
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
3003 |
|
|
(eval $ac_link) 2>&5
|
3004 |
|
|
ac_status=$?
|
3005 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3006 |
|
|
(exit $ac_status); }; then
|
3007 |
|
|
# If both `conftest.exe' and `conftest' are `present' (well, observable)
|
3008 |
|
|
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
|
3009 |
|
|
# work properly (i.e., refer to `conftest.exe'), while it won't with
|
3010 |
|
|
# `rm'.
|
3011 |
|
|
for ac_file in conftest.exe conftest conftest.*; do
|
3012 |
|
|
test -f "$ac_file" || continue
|
3013 |
|
|
case $ac_file in
|
3014 |
|
|
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
|
3015 |
|
|
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
|
3016 |
|
|
export ac_cv_exeext
|
3017 |
|
|
break;;
|
3018 |
|
|
* ) break;;
|
3019 |
|
|
esac
|
3020 |
|
|
done
|
3021 |
|
|
else
|
3022 |
|
|
{ { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
|
3023 |
|
|
See \`config.log' for more details." >&5
|
3024 |
|
|
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
|
3025 |
|
|
See \`config.log' for more details." >&2;}
|
3026 |
|
|
{ (exit 1); exit 1; }; }
|
3027 |
|
|
fi
|
3028 |
|
|
|
3029 |
|
|
rm -f conftest$ac_cv_exeext
|
3030 |
|
|
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
|
3031 |
|
|
echo "${ECHO_T}$ac_cv_exeext" >&6
|
3032 |
|
|
|
3033 |
|
|
rm -f conftest.$ac_ext
|
3034 |
|
|
EXEEXT=$ac_cv_exeext
|
3035 |
|
|
ac_exeext=$EXEEXT
|
3036 |
|
|
echo "$as_me:$LINENO: checking for suffix of object files" >&5
|
3037 |
|
|
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
|
3038 |
|
|
if test "${ac_cv_objext+set}" = set; then
|
3039 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
3040 |
|
|
else
|
3041 |
|
|
cat >conftest.$ac_ext <<_ACEOF
|
3042 |
|
|
/* confdefs.h. */
|
3043 |
|
|
_ACEOF
|
3044 |
|
|
cat confdefs.h >>conftest.$ac_ext
|
3045 |
|
|
cat >>conftest.$ac_ext <<_ACEOF
|
3046 |
|
|
/* end confdefs.h. */
|
3047 |
|
|
|
3048 |
|
|
int
|
3049 |
|
|
main ()
|
3050 |
|
|
{
|
3051 |
|
|
|
3052 |
|
|
;
|
3053 |
|
|
return 0;
|
3054 |
|
|
}
|
3055 |
|
|
_ACEOF
|
3056 |
|
|
rm -f conftest.o conftest.obj
|
3057 |
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
3058 |
|
|
(eval $ac_compile) 2>&5
|
3059 |
|
|
ac_status=$?
|
3060 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3061 |
|
|
(exit $ac_status); }; then
|
3062 |
|
|
for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
|
3063 |
|
|
case $ac_file in
|
3064 |
|
|
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
|
3065 |
|
|
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
|
3066 |
|
|
break;;
|
3067 |
|
|
esac
|
3068 |
|
|
done
|
3069 |
|
|
else
|
3070 |
|
|
echo "$as_me: failed program was:" >&5
|
3071 |
|
|
sed 's/^/| /' conftest.$ac_ext >&5
|
3072 |
|
|
|
3073 |
|
|
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
|
3074 |
|
|
See \`config.log' for more details." >&5
|
3075 |
|
|
echo "$as_me: error: cannot compute suffix of object files: cannot compile
|
3076 |
|
|
See \`config.log' for more details." >&2;}
|
3077 |
|
|
{ (exit 1); exit 1; }; }
|
3078 |
|
|
fi
|
3079 |
|
|
|
3080 |
|
|
rm -f conftest.$ac_cv_objext conftest.$ac_ext
|
3081 |
|
|
fi
|
3082 |
|
|
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
|
3083 |
|
|
echo "${ECHO_T}$ac_cv_objext" >&6
|
3084 |
|
|
OBJEXT=$ac_cv_objext
|
3085 |
|
|
ac_objext=$OBJEXT
|
3086 |
|
|
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
|
3087 |
|
|
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
|
3088 |
|
|
if test "${ac_cv_c_compiler_gnu+set}" = set; then
|
3089 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
3090 |
|
|
else
|
3091 |
|
|
cat >conftest.$ac_ext <<_ACEOF
|
3092 |
|
|
/* confdefs.h. */
|
3093 |
|
|
_ACEOF
|
3094 |
|
|
cat confdefs.h >>conftest.$ac_ext
|
3095 |
|
|
cat >>conftest.$ac_ext <<_ACEOF
|
3096 |
|
|
/* end confdefs.h. */
|
3097 |
|
|
|
3098 |
|
|
int
|
3099 |
|
|
main ()
|
3100 |
|
|
{
|
3101 |
|
|
#ifndef __GNUC__
|
3102 |
|
|
choke me
|
3103 |
|
|
#endif
|
3104 |
|
|
|
3105 |
|
|
;
|
3106 |
|
|
return 0;
|
3107 |
|
|
}
|
3108 |
|
|
_ACEOF
|
3109 |
|
|
rm -f conftest.$ac_objext
|
3110 |
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
3111 |
|
|
(eval $ac_compile) 2>conftest.er1
|
3112 |
|
|
ac_status=$?
|
3113 |
|
|
grep -v '^ *+' conftest.er1 >conftest.err
|
3114 |
|
|
rm -f conftest.er1
|
3115 |
|
|
cat conftest.err >&5
|
3116 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3117 |
|
|
(exit $ac_status); } &&
|
3118 |
|
|
{ ac_try='test -z "$ac_c_werror_flag"
|
3119 |
|
|
|| test ! -s conftest.err'
|
3120 |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
3121 |
|
|
(eval $ac_try) 2>&5
|
3122 |
|
|
ac_status=$?
|
3123 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3124 |
|
|
(exit $ac_status); }; } &&
|
3125 |
|
|
{ ac_try='test -s conftest.$ac_objext'
|
3126 |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
3127 |
|
|
(eval $ac_try) 2>&5
|
3128 |
|
|
ac_status=$?
|
3129 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3130 |
|
|
(exit $ac_status); }; }; then
|
3131 |
|
|
ac_compiler_gnu=yes
|
3132 |
|
|
else
|
3133 |
|
|
echo "$as_me: failed program was:" >&5
|
3134 |
|
|
sed 's/^/| /' conftest.$ac_ext >&5
|
3135 |
|
|
|
3136 |
|
|
ac_compiler_gnu=no
|
3137 |
|
|
fi
|
3138 |
|
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
3139 |
|
|
ac_cv_c_compiler_gnu=$ac_compiler_gnu
|
3140 |
|
|
|
3141 |
|
|
fi
|
3142 |
|
|
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
|
3143 |
|
|
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
|
3144 |
|
|
GCC=`test $ac_compiler_gnu = yes && echo yes`
|
3145 |
|
|
ac_test_CFLAGS=${CFLAGS+set}
|
3146 |
|
|
ac_save_CFLAGS=$CFLAGS
|
3147 |
|
|
CFLAGS="-g"
|
3148 |
|
|
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
|
3149 |
|
|
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
|
3150 |
|
|
if test "${ac_cv_prog_cc_g+set}" = set; then
|
3151 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
3152 |
|
|
else
|
3153 |
|
|
cat >conftest.$ac_ext <<_ACEOF
|
3154 |
|
|
/* confdefs.h. */
|
3155 |
|
|
_ACEOF
|
3156 |
|
|
cat confdefs.h >>conftest.$ac_ext
|
3157 |
|
|
cat >>conftest.$ac_ext <<_ACEOF
|
3158 |
|
|
/* end confdefs.h. */
|
3159 |
|
|
|
3160 |
|
|
int
|
3161 |
|
|
main ()
|
3162 |
|
|
{
|
3163 |
|
|
|
3164 |
|
|
;
|
3165 |
|
|
return 0;
|
3166 |
|
|
}
|
3167 |
|
|
_ACEOF
|
3168 |
|
|
rm -f conftest.$ac_objext
|
3169 |
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
3170 |
|
|
(eval $ac_compile) 2>conftest.er1
|
3171 |
|
|
ac_status=$?
|
3172 |
|
|
grep -v '^ *+' conftest.er1 >conftest.err
|
3173 |
|
|
rm -f conftest.er1
|
3174 |
|
|
cat conftest.err >&5
|
3175 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3176 |
|
|
(exit $ac_status); } &&
|
3177 |
|
|
{ ac_try='test -z "$ac_c_werror_flag"
|
3178 |
|
|
|| test ! -s conftest.err'
|
3179 |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
3180 |
|
|
(eval $ac_try) 2>&5
|
3181 |
|
|
ac_status=$?
|
3182 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3183 |
|
|
(exit $ac_status); }; } &&
|
3184 |
|
|
{ ac_try='test -s conftest.$ac_objext'
|
3185 |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
3186 |
|
|
(eval $ac_try) 2>&5
|
3187 |
|
|
ac_status=$?
|
3188 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3189 |
|
|
(exit $ac_status); }; }; then
|
3190 |
|
|
ac_cv_prog_cc_g=yes
|
3191 |
|
|
else
|
3192 |
|
|
echo "$as_me: failed program was:" >&5
|
3193 |
|
|
sed 's/^/| /' conftest.$ac_ext >&5
|
3194 |
|
|
|
3195 |
|
|
ac_cv_prog_cc_g=no
|
3196 |
|
|
fi
|
3197 |
|
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
3198 |
|
|
fi
|
3199 |
|
|
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
|
3200 |
|
|
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
|
3201 |
|
|
if test "$ac_test_CFLAGS" = set; then
|
3202 |
|
|
CFLAGS=$ac_save_CFLAGS
|
3203 |
|
|
elif test $ac_cv_prog_cc_g = yes; then
|
3204 |
|
|
if test "$GCC" = yes; then
|
3205 |
|
|
CFLAGS="-g -O2"
|
3206 |
|
|
else
|
3207 |
|
|
CFLAGS="-g"
|
3208 |
|
|
fi
|
3209 |
|
|
else
|
3210 |
|
|
if test "$GCC" = yes; then
|
3211 |
|
|
CFLAGS="-O2"
|
3212 |
|
|
else
|
3213 |
|
|
CFLAGS=
|
3214 |
|
|
fi
|
3215 |
|
|
fi
|
3216 |
|
|
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
|
3217 |
|
|
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
|
3218 |
|
|
if test "${ac_cv_prog_cc_stdc+set}" = set; then
|
3219 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
3220 |
|
|
else
|
3221 |
|
|
ac_cv_prog_cc_stdc=no
|
3222 |
|
|
ac_save_CC=$CC
|
3223 |
|
|
cat >conftest.$ac_ext <<_ACEOF
|
3224 |
|
|
/* confdefs.h. */
|
3225 |
|
|
_ACEOF
|
3226 |
|
|
cat confdefs.h >>conftest.$ac_ext
|
3227 |
|
|
cat >>conftest.$ac_ext <<_ACEOF
|
3228 |
|
|
/* end confdefs.h. */
|
3229 |
|
|
#include
|
3230 |
|
|
#include
|
3231 |
|
|
#include
|
3232 |
|
|
#include
|
3233 |
|
|
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
|
3234 |
|
|
struct buf { int x; };
|
3235 |
|
|
FILE * (*rcsopen) (struct buf *, struct stat *, int);
|
3236 |
|
|
static char *e (p, i)
|
3237 |
|
|
char **p;
|
3238 |
|
|
int i;
|
3239 |
|
|
{
|
3240 |
|
|
return p[i];
|
3241 |
|
|
}
|
3242 |
|
|
static char *f (char * (*g) (char **, int), char **p, ...)
|
3243 |
|
|
{
|
3244 |
|
|
char *s;
|
3245 |
|
|
va_list v;
|
3246 |
|
|
va_start (v,p);
|
3247 |
|
|
s = g (p, va_arg (v,int));
|
3248 |
|
|
va_end (v);
|
3249 |
|
|
return s;
|
3250 |
|
|
}
|
3251 |
|
|
|
3252 |
|
|
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
|
3253 |
|
|
function prototypes and stuff, but not '\xHH' hex character constants.
|
3254 |
|
|
These don't provoke an error unfortunately, instead are silently treated
|
3255 |
|
|
as 'x'. The following induces an error, until -std1 is added to get
|
3256 |
|
|
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
|
3257 |
|
|
array size at least. It's necessary to write '\x00'==0 to get something
|
3258 |
|
|
that's true only with -std1. */
|
3259 |
|
|
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
|
3260 |
|
|
|
3261 |
|
|
int test (int i, double x);
|
3262 |
|
|
struct s1 {int (*f) (int a);};
|
3263 |
|
|
struct s2 {int (*f) (double a);};
|
3264 |
|
|
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
|
3265 |
|
|
int argc;
|
3266 |
|
|
char **argv;
|
3267 |
|
|
int
|
3268 |
|
|
main ()
|
3269 |
|
|
{
|
3270 |
|
|
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
|
3271 |
|
|
;
|
3272 |
|
|
return 0;
|
3273 |
|
|
}
|
3274 |
|
|
_ACEOF
|
3275 |
|
|
# Don't try gcc -ansi; that turns off useful extensions and
|
3276 |
|
|
# breaks some systems' header files.
|
3277 |
|
|
# AIX -qlanglvl=ansi
|
3278 |
|
|
# Ultrix and OSF/1 -std1
|
3279 |
|
|
# HP-UX 10.20 and later -Ae
|
3280 |
|
|
# HP-UX older versions -Aa -D_HPUX_SOURCE
|
3281 |
|
|
# SVR4 -Xc -D__EXTENSIONS__
|
3282 |
|
|
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
|
3283 |
|
|
do
|
3284 |
|
|
CC="$ac_save_CC $ac_arg"
|
3285 |
|
|
rm -f conftest.$ac_objext
|
3286 |
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
3287 |
|
|
(eval $ac_compile) 2>conftest.er1
|
3288 |
|
|
ac_status=$?
|
3289 |
|
|
grep -v '^ *+' conftest.er1 >conftest.err
|
3290 |
|
|
rm -f conftest.er1
|
3291 |
|
|
cat conftest.err >&5
|
3292 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3293 |
|
|
(exit $ac_status); } &&
|
3294 |
|
|
{ ac_try='test -z "$ac_c_werror_flag"
|
3295 |
|
|
|| test ! -s conftest.err'
|
3296 |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
3297 |
|
|
(eval $ac_try) 2>&5
|
3298 |
|
|
ac_status=$?
|
3299 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3300 |
|
|
(exit $ac_status); }; } &&
|
3301 |
|
|
{ ac_try='test -s conftest.$ac_objext'
|
3302 |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
3303 |
|
|
(eval $ac_try) 2>&5
|
3304 |
|
|
ac_status=$?
|
3305 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3306 |
|
|
(exit $ac_status); }; }; then
|
3307 |
|
|
ac_cv_prog_cc_stdc=$ac_arg
|
3308 |
|
|
break
|
3309 |
|
|
else
|
3310 |
|
|
echo "$as_me: failed program was:" >&5
|
3311 |
|
|
sed 's/^/| /' conftest.$ac_ext >&5
|
3312 |
|
|
|
3313 |
|
|
fi
|
3314 |
|
|
rm -f conftest.err conftest.$ac_objext
|
3315 |
|
|
done
|
3316 |
|
|
rm -f conftest.$ac_ext conftest.$ac_objext
|
3317 |
|
|
CC=$ac_save_CC
|
3318 |
|
|
|
3319 |
|
|
fi
|
3320 |
|
|
|
3321 |
|
|
case "x$ac_cv_prog_cc_stdc" in
|
3322 |
|
|
x|xno)
|
3323 |
|
|
echo "$as_me:$LINENO: result: none needed" >&5
|
3324 |
|
|
echo "${ECHO_T}none needed" >&6 ;;
|
3325 |
|
|
*)
|
3326 |
|
|
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
|
3327 |
|
|
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
|
3328 |
|
|
CC="$CC $ac_cv_prog_cc_stdc" ;;
|
3329 |
|
|
esac
|
3330 |
|
|
|
3331 |
|
|
# Some people use a C++ compiler to compile C. Since we use `exit',
|
3332 |
|
|
# in C++ we need to declare it. In case someone uses the same compiler
|
3333 |
|
|
# for both compiling C and C++ we need to have the C++ compiler decide
|
3334 |
|
|
# the declaration of exit, since it's the most demanding environment.
|
3335 |
|
|
cat >conftest.$ac_ext <<_ACEOF
|
3336 |
|
|
#ifndef __cplusplus
|
3337 |
|
|
choke me
|
3338 |
|
|
#endif
|
3339 |
|
|
_ACEOF
|
3340 |
|
|
rm -f conftest.$ac_objext
|
3341 |
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
3342 |
|
|
(eval $ac_compile) 2>conftest.er1
|
3343 |
|
|
ac_status=$?
|
3344 |
|
|
grep -v '^ *+' conftest.er1 >conftest.err
|
3345 |
|
|
rm -f conftest.er1
|
3346 |
|
|
cat conftest.err >&5
|
3347 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3348 |
|
|
(exit $ac_status); } &&
|
3349 |
|
|
{ ac_try='test -z "$ac_c_werror_flag"
|
3350 |
|
|
|| test ! -s conftest.err'
|
3351 |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
3352 |
|
|
(eval $ac_try) 2>&5
|
3353 |
|
|
ac_status=$?
|
3354 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3355 |
|
|
(exit $ac_status); }; } &&
|
3356 |
|
|
{ ac_try='test -s conftest.$ac_objext'
|
3357 |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
3358 |
|
|
(eval $ac_try) 2>&5
|
3359 |
|
|
ac_status=$?
|
3360 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3361 |
|
|
(exit $ac_status); }; }; then
|
3362 |
|
|
for ac_declaration in \
|
3363 |
|
|
'' \
|
3364 |
|
|
'extern "C" void std::exit (int) throw (); using std::exit;' \
|
3365 |
|
|
'extern "C" void std::exit (int); using std::exit;' \
|
3366 |
|
|
'extern "C" void exit (int) throw ();' \
|
3367 |
|
|
'extern "C" void exit (int);' \
|
3368 |
|
|
'void exit (int);'
|
3369 |
|
|
do
|
3370 |
|
|
cat >conftest.$ac_ext <<_ACEOF
|
3371 |
|
|
/* confdefs.h. */
|
3372 |
|
|
_ACEOF
|
3373 |
|
|
cat confdefs.h >>conftest.$ac_ext
|
3374 |
|
|
cat >>conftest.$ac_ext <<_ACEOF
|
3375 |
|
|
/* end confdefs.h. */
|
3376 |
|
|
$ac_declaration
|
3377 |
|
|
#include
|
3378 |
|
|
int
|
3379 |
|
|
main ()
|
3380 |
|
|
{
|
3381 |
|
|
exit (42);
|
3382 |
|
|
;
|
3383 |
|
|
return 0;
|
3384 |
|
|
}
|
3385 |
|
|
_ACEOF
|
3386 |
|
|
rm -f conftest.$ac_objext
|
3387 |
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
3388 |
|
|
(eval $ac_compile) 2>conftest.er1
|
3389 |
|
|
ac_status=$?
|
3390 |
|
|
grep -v '^ *+' conftest.er1 >conftest.err
|
3391 |
|
|
rm -f conftest.er1
|
3392 |
|
|
cat conftest.err >&5
|
3393 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3394 |
|
|
(exit $ac_status); } &&
|
3395 |
|
|
{ ac_try='test -z "$ac_c_werror_flag"
|
3396 |
|
|
|| test ! -s conftest.err'
|
3397 |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
3398 |
|
|
(eval $ac_try) 2>&5
|
3399 |
|
|
ac_status=$?
|
3400 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3401 |
|
|
(exit $ac_status); }; } &&
|
3402 |
|
|
{ ac_try='test -s conftest.$ac_objext'
|
3403 |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
3404 |
|
|
(eval $ac_try) 2>&5
|
3405 |
|
|
ac_status=$?
|
3406 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3407 |
|
|
(exit $ac_status); }; }; then
|
3408 |
|
|
:
|
3409 |
|
|
else
|
3410 |
|
|
echo "$as_me: failed program was:" >&5
|
3411 |
|
|
sed 's/^/| /' conftest.$ac_ext >&5
|
3412 |
|
|
|
3413 |
|
|
continue
|
3414 |
|
|
fi
|
3415 |
|
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
3416 |
|
|
cat >conftest.$ac_ext <<_ACEOF
|
3417 |
|
|
/* confdefs.h. */
|
3418 |
|
|
_ACEOF
|
3419 |
|
|
cat confdefs.h >>conftest.$ac_ext
|
3420 |
|
|
cat >>conftest.$ac_ext <<_ACEOF
|
3421 |
|
|
/* end confdefs.h. */
|
3422 |
|
|
$ac_declaration
|
3423 |
|
|
int
|
3424 |
|
|
main ()
|
3425 |
|
|
{
|
3426 |
|
|
exit (42);
|
3427 |
|
|
;
|
3428 |
|
|
return 0;
|
3429 |
|
|
}
|
3430 |
|
|
_ACEOF
|
3431 |
|
|
rm -f conftest.$ac_objext
|
3432 |
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
3433 |
|
|
(eval $ac_compile) 2>conftest.er1
|
3434 |
|
|
ac_status=$?
|
3435 |
|
|
grep -v '^ *+' conftest.er1 >conftest.err
|
3436 |
|
|
rm -f conftest.er1
|
3437 |
|
|
cat conftest.err >&5
|
3438 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3439 |
|
|
(exit $ac_status); } &&
|
3440 |
|
|
{ ac_try='test -z "$ac_c_werror_flag"
|
3441 |
|
|
|| test ! -s conftest.err'
|
3442 |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
3443 |
|
|
(eval $ac_try) 2>&5
|
3444 |
|
|
ac_status=$?
|
3445 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3446 |
|
|
(exit $ac_status); }; } &&
|
3447 |
|
|
{ ac_try='test -s conftest.$ac_objext'
|
3448 |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
3449 |
|
|
(eval $ac_try) 2>&5
|
3450 |
|
|
ac_status=$?
|
3451 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3452 |
|
|
(exit $ac_status); }; }; then
|
3453 |
|
|
break
|
3454 |
|
|
else
|
3455 |
|
|
echo "$as_me: failed program was:" >&5
|
3456 |
|
|
sed 's/^/| /' conftest.$ac_ext >&5
|
3457 |
|
|
|
3458 |
|
|
fi
|
3459 |
|
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
3460 |
|
|
done
|
3461 |
|
|
rm -f conftest*
|
3462 |
|
|
if test -n "$ac_declaration"; then
|
3463 |
|
|
echo '#ifdef __cplusplus' >>confdefs.h
|
3464 |
|
|
echo $ac_declaration >>confdefs.h
|
3465 |
|
|
echo '#endif' >>confdefs.h
|
3466 |
|
|
fi
|
3467 |
|
|
|
3468 |
|
|
else
|
3469 |
|
|
echo "$as_me: failed program was:" >&5
|
3470 |
|
|
sed 's/^/| /' conftest.$ac_ext >&5
|
3471 |
|
|
|
3472 |
|
|
fi
|
3473 |
|
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
3474 |
|
|
ac_ext=c
|
3475 |
|
|
ac_cpp='$CPP $CPPFLAGS'
|
3476 |
|
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
3477 |
|
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
3478 |
|
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
3479 |
|
|
|
3480 |
|
|
|
3481 |
|
|
# We must set the default linker to the linker used by gcc for the correct
|
3482 |
|
|
# operation of libtool. If LD is not defined and we are using gcc, try to
|
3483 |
|
|
# set the LD default to the ld used by gcc.
|
3484 |
|
|
if test -z "$LD"; then
|
3485 |
|
|
if test "$GCC" = yes; then
|
3486 |
|
|
case $build in
|
3487 |
|
|
*-*-mingw*)
|
3488 |
|
|
gcc_prog_ld=`$CC -print-prog-name=ld 2>&1 | tr -d '\015'` ;;
|
3489 |
|
|
*)
|
3490 |
|
|
gcc_prog_ld=`$CC -print-prog-name=ld 2>&1` ;;
|
3491 |
|
|
esac
|
3492 |
|
|
case $gcc_prog_ld in
|
3493 |
|
|
# Accept absolute paths.
|
3494 |
|
|
[\\/]* | [A-Za-z]:[\\/]*)
|
3495 |
|
|
LD="$gcc_prog_ld" ;;
|
3496 |
|
|
esac
|
3497 |
|
|
fi
|
3498 |
|
|
fi
|
3499 |
|
|
|
3500 |
|
|
CXX=${CXX-"c++"}
|
3501 |
|
|
CFLAGS=${CFLAGS-"-g"}
|
3502 |
|
|
CXXFLAGS=${CXXFLAGS-"-g -O2"}
|
3503 |
|
|
fi
|
3504 |
|
|
|
3505 |
|
|
|
3506 |
|
|
|
3507 |
|
|
|
3508 |
|
|
if test -n "$ac_tool_prefix"; then
|
3509 |
|
|
# Extract the first word of "${ac_tool_prefix}gnatbind", so it can be a program name with args.
|
3510 |
|
|
set dummy ${ac_tool_prefix}gnatbind; ac_word=$2
|
3511 |
|
|
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
3512 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
3513 |
|
|
if test "${ac_cv_prog_GNATBIND+set}" = set; then
|
3514 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
3515 |
|
|
else
|
3516 |
|
|
if test -n "$GNATBIND"; then
|
3517 |
|
|
ac_cv_prog_GNATBIND="$GNATBIND" # Let the user override the test.
|
3518 |
|
|
else
|
3519 |
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
3520 |
|
|
for as_dir in $PATH
|
3521 |
|
|
do
|
3522 |
|
|
IFS=$as_save_IFS
|
3523 |
|
|
test -z "$as_dir" && as_dir=.
|
3524 |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
3525 |
|
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
3526 |
|
|
ac_cv_prog_GNATBIND="${ac_tool_prefix}gnatbind"
|
3527 |
|
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
3528 |
|
|
break 2
|
3529 |
|
|
fi
|
3530 |
|
|
done
|
3531 |
|
|
done
|
3532 |
|
|
|
3533 |
|
|
fi
|
3534 |
|
|
fi
|
3535 |
|
|
GNATBIND=$ac_cv_prog_GNATBIND
|
3536 |
|
|
if test -n "$GNATBIND"; then
|
3537 |
|
|
echo "$as_me:$LINENO: result: $GNATBIND" >&5
|
3538 |
|
|
echo "${ECHO_T}$GNATBIND" >&6
|
3539 |
|
|
else
|
3540 |
|
|
echo "$as_me:$LINENO: result: no" >&5
|
3541 |
|
|
echo "${ECHO_T}no" >&6
|
3542 |
|
|
fi
|
3543 |
|
|
|
3544 |
|
|
fi
|
3545 |
|
|
if test -z "$ac_cv_prog_GNATBIND"; then
|
3546 |
|
|
ac_ct_GNATBIND=$GNATBIND
|
3547 |
|
|
# Extract the first word of "gnatbind", so it can be a program name with args.
|
3548 |
|
|
set dummy gnatbind; ac_word=$2
|
3549 |
|
|
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
3550 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
3551 |
|
|
if test "${ac_cv_prog_ac_ct_GNATBIND+set}" = set; then
|
3552 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
3553 |
|
|
else
|
3554 |
|
|
if test -n "$ac_ct_GNATBIND"; then
|
3555 |
|
|
ac_cv_prog_ac_ct_GNATBIND="$ac_ct_GNATBIND" # Let the user override the test.
|
3556 |
|
|
else
|
3557 |
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
3558 |
|
|
for as_dir in $PATH
|
3559 |
|
|
do
|
3560 |
|
|
IFS=$as_save_IFS
|
3561 |
|
|
test -z "$as_dir" && as_dir=.
|
3562 |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
3563 |
|
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
3564 |
|
|
ac_cv_prog_ac_ct_GNATBIND="gnatbind"
|
3565 |
|
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
3566 |
|
|
break 2
|
3567 |
|
|
fi
|
3568 |
|
|
done
|
3569 |
|
|
done
|
3570 |
|
|
|
3571 |
|
|
test -z "$ac_cv_prog_ac_ct_GNATBIND" && ac_cv_prog_ac_ct_GNATBIND="no"
|
3572 |
|
|
fi
|
3573 |
|
|
fi
|
3574 |
|
|
ac_ct_GNATBIND=$ac_cv_prog_ac_ct_GNATBIND
|
3575 |
|
|
if test -n "$ac_ct_GNATBIND"; then
|
3576 |
|
|
echo "$as_me:$LINENO: result: $ac_ct_GNATBIND" >&5
|
3577 |
|
|
echo "${ECHO_T}$ac_ct_GNATBIND" >&6
|
3578 |
|
|
else
|
3579 |
|
|
echo "$as_me:$LINENO: result: no" >&5
|
3580 |
|
|
echo "${ECHO_T}no" >&6
|
3581 |
|
|
fi
|
3582 |
|
|
|
3583 |
|
|
GNATBIND=$ac_ct_GNATBIND
|
3584 |
|
|
else
|
3585 |
|
|
GNATBIND="$ac_cv_prog_GNATBIND"
|
3586 |
|
|
fi
|
3587 |
|
|
|
3588 |
|
|
echo "$as_me:$LINENO: checking whether compiler driver understands Ada" >&5
|
3589 |
|
|
echo $ECHO_N "checking whether compiler driver understands Ada... $ECHO_C" >&6
|
3590 |
|
|
if test "${acx_cv_cc_gcc_supports_ada+set}" = set; then
|
3591 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
3592 |
|
|
else
|
3593 |
|
|
cat >conftest.adb <
|
3594 |
|
|
procedure conftest is begin null; end conftest;
|
3595 |
|
|
EOF
|
3596 |
|
|
acx_cv_cc_gcc_supports_ada=no
|
3597 |
|
|
# There is a bug in old released versions of GCC which causes the
|
3598 |
|
|
# driver to exit successfully when the appropriate language module
|
3599 |
|
|
# has not been installed. This is fixed in 2.95.4, 3.0.2, and 3.1.
|
3600 |
|
|
# Therefore we must check for the error message as well as an
|
3601 |
|
|
# unsuccessful exit.
|
3602 |
|
|
# Other compilers, like HP Tru64 UNIX cc, exit successfully when
|
3603 |
|
|
# given a .adb file, but produce no object file. So we must check
|
3604 |
|
|
# if an object file was really produced to guard against this.
|
3605 |
|
|
errors=`(${CC} -c conftest.adb) 2>&1 || echo failure`
|
3606 |
|
|
if test x"$errors" = x && test -f conftest.$ac_objext; then
|
3607 |
|
|
acx_cv_cc_gcc_supports_ada=yes
|
3608 |
|
|
fi
|
3609 |
|
|
rm -f conftest.*
|
3610 |
|
|
fi
|
3611 |
|
|
echo "$as_me:$LINENO: result: $acx_cv_cc_gcc_supports_ada" >&5
|
3612 |
|
|
echo "${ECHO_T}$acx_cv_cc_gcc_supports_ada" >&6
|
3613 |
|
|
|
3614 |
|
|
if test x$GNATBIND != xno && test x$acx_cv_cc_gcc_supports_ada != xno; then
|
3615 |
|
|
have_gnat=yes
|
3616 |
|
|
else
|
3617 |
|
|
have_gnat=no
|
3618 |
|
|
fi
|
3619 |
|
|
|
3620 |
|
|
echo "$as_me:$LINENO: checking how to compare bootstrapped objects" >&5
|
3621 |
|
|
echo $ECHO_N "checking how to compare bootstrapped objects... $ECHO_C" >&6
|
3622 |
|
|
if test "${gcc_cv_prog_cmp_skip+set}" = set; then
|
3623 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
3624 |
|
|
else
|
3625 |
|
|
echo abfoo >t1
|
3626 |
|
|
echo cdfoo >t2
|
3627 |
|
|
gcc_cv_prog_cmp_skip='tail +16c $$f1 > tmp-foo1; tail +16c $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
|
3628 |
|
|
if cmp t1 t2 2 2 > /dev/null 2>&1; then
|
3629 |
|
|
if cmp t1 t2 1 1 > /dev/null 2>&1; then
|
3630 |
|
|
:
|
3631 |
|
|
else
|
3632 |
|
|
gcc_cv_prog_cmp_skip='cmp $$f1 $$f2 16 16'
|
3633 |
|
|
fi
|
3634 |
|
|
fi
|
3635 |
|
|
if cmp --ignore-initial=2 t1 t2 > /dev/null 2>&1; then
|
3636 |
|
|
if cmp --ignore-initial=1 t1 t2 > /dev/null 2>&1; then
|
3637 |
|
|
:
|
3638 |
|
|
else
|
3639 |
|
|
gcc_cv_prog_cmp_skip='cmp --ignore-initial=16 $$f1 $$f2'
|
3640 |
|
|
fi
|
3641 |
|
|
fi
|
3642 |
|
|
rm t1 t2
|
3643 |
|
|
|
3644 |
|
|
fi
|
3645 |
|
|
echo "$as_me:$LINENO: result: $gcc_cv_prog_cmp_skip" >&5
|
3646 |
|
|
echo "${ECHO_T}$gcc_cv_prog_cmp_skip" >&6
|
3647 |
|
|
do_compare="$gcc_cv_prog_cmp_skip"
|
3648 |
|
|
|
3649 |
|
|
|
3650 |
|
|
|
3651 |
|
|
# Check for GMP and MPFR
|
3652 |
|
|
gmplibs=
|
3653 |
|
|
gmpinc=
|
3654 |
|
|
have_gmp=yes
|
3655 |
|
|
# Specify a location for mpfr
|
3656 |
|
|
# check for this first so it ends up on the link line before gmp.
|
3657 |
|
|
|
3658 |
|
|
# Check whether --with-mpfr-dir or --without-mpfr-dir was given.
|
3659 |
|
|
if test "${with_mpfr_dir+set}" = set; then
|
3660 |
|
|
withval="$with_mpfr_dir"
|
3661 |
|
|
|
3662 |
|
|
fi;
|
3663 |
|
|
|
3664 |
|
|
if test "x$with_mpfr_dir" != x; then
|
3665 |
|
|
gmpinc="-I$with_mpfr_dir"
|
3666 |
|
|
gmplibs="$with_mpfr_dir/libmpfr.a"
|
3667 |
|
|
else
|
3668 |
|
|
gmplibs="-lmpfr"
|
3669 |
|
|
fi
|
3670 |
|
|
|
3671 |
|
|
|
3672 |
|
|
# Check whether --with-mpfr or --without-mpfr was given.
|
3673 |
|
|
if test "${with_mpfr+set}" = set; then
|
3674 |
|
|
withval="$with_mpfr"
|
3675 |
|
|
|
3676 |
|
|
fi;
|
3677 |
|
|
|
3678 |
|
|
if test "x$with_mpfr" != x; then
|
3679 |
|
|
gmplibs="-L$with_mpfr/lib $gmplibs"
|
3680 |
|
|
gmpinc="-I$with_mpfr/include"
|
3681 |
|
|
fi
|
3682 |
|
|
|
3683 |
|
|
# Specify a location for gmp
|
3684 |
|
|
|
3685 |
|
|
# Check whether --with-gmp-dir or --without-gmp-dir was given.
|
3686 |
|
|
if test "${with_gmp_dir+set}" = set; then
|
3687 |
|
|
withval="$with_gmp_dir"
|
3688 |
|
|
|
3689 |
|
|
fi;
|
3690 |
|
|
|
3691 |
|
|
if test "x$with_gmp_dir" != x; then
|
3692 |
|
|
gmpinc="$gmpinc -I$with_gmp_dir"
|
3693 |
|
|
if test -f "$with_gmp_dir/.libs/libgmp.a"; then
|
3694 |
|
|
gmplibs="$gmplibs $with_gmp_dir/.libs/libgmp.a"
|
3695 |
|
|
elif test -f "$with_gmp_dir/_libs/libgmp.a"; then
|
3696 |
|
|
gmplibs="$gmplibs $with_gmp_dir/_libs/libgmp.a"
|
3697 |
|
|
fi
|
3698 |
|
|
# One of the later tests will catch the error if neither library is present.
|
3699 |
|
|
else
|
3700 |
|
|
gmplibs="$gmplibs -lgmp"
|
3701 |
|
|
fi
|
3702 |
|
|
|
3703 |
|
|
|
3704 |
|
|
# Check whether --with-gmp or --without-gmp was given.
|
3705 |
|
|
if test "${with_gmp+set}" = set; then
|
3706 |
|
|
withval="$with_gmp"
|
3707 |
|
|
|
3708 |
|
|
fi;
|
3709 |
|
|
|
3710 |
|
|
if test "x$with_gmp" != x; then
|
3711 |
|
|
gmplibs="-L$with_gmp/lib $gmplibs"
|
3712 |
|
|
gmpinc="-I$with_gmp/include $gmpinc"
|
3713 |
|
|
fi
|
3714 |
|
|
|
3715 |
|
|
saved_CFLAGS="$CFLAGS"
|
3716 |
|
|
CFLAGS="$CFLAGS $gmpinc"
|
3717 |
|
|
# Check GMP actually works
|
3718 |
|
|
echo "$as_me:$LINENO: checking for correct version of gmp.h" >&5
|
3719 |
|
|
echo $ECHO_N "checking for correct version of gmp.h... $ECHO_C" >&6
|
3720 |
|
|
|
3721 |
|
|
cat >conftest.$ac_ext <<_ACEOF
|
3722 |
|
|
/* confdefs.h. */
|
3723 |
|
|
_ACEOF
|
3724 |
|
|
cat confdefs.h >>conftest.$ac_ext
|
3725 |
|
|
cat >>conftest.$ac_ext <<_ACEOF
|
3726 |
|
|
/* end confdefs.h. */
|
3727 |
|
|
#include "gmp.h"
|
3728 |
|
|
int
|
3729 |
|
|
main ()
|
3730 |
|
|
{
|
3731 |
|
|
|
3732 |
|
|
#if __GNU_MP_VERSION < 3
|
3733 |
|
|
choke me
|
3734 |
|
|
#endif
|
3735 |
|
|
|
3736 |
|
|
;
|
3737 |
|
|
return 0;
|
3738 |
|
|
}
|
3739 |
|
|
_ACEOF
|
3740 |
|
|
rm -f conftest.$ac_objext
|
3741 |
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
3742 |
|
|
(eval $ac_compile) 2>conftest.er1
|
3743 |
|
|
ac_status=$?
|
3744 |
|
|
grep -v '^ *+' conftest.er1 >conftest.err
|
3745 |
|
|
rm -f conftest.er1
|
3746 |
|
|
cat conftest.err >&5
|
3747 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3748 |
|
|
(exit $ac_status); } &&
|
3749 |
|
|
{ ac_try='test -z "$ac_c_werror_flag"
|
3750 |
|
|
|| test ! -s conftest.err'
|
3751 |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
3752 |
|
|
(eval $ac_try) 2>&5
|
3753 |
|
|
ac_status=$?
|
3754 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3755 |
|
|
(exit $ac_status); }; } &&
|
3756 |
|
|
{ ac_try='test -s conftest.$ac_objext'
|
3757 |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
3758 |
|
|
(eval $ac_try) 2>&5
|
3759 |
|
|
ac_status=$?
|
3760 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3761 |
|
|
(exit $ac_status); }; }; then
|
3762 |
|
|
echo "$as_me:$LINENO: result: yes" >&5
|
3763 |
|
|
echo "${ECHO_T}yes" >&6
|
3764 |
|
|
else
|
3765 |
|
|
echo "$as_me: failed program was:" >&5
|
3766 |
|
|
sed 's/^/| /' conftest.$ac_ext >&5
|
3767 |
|
|
|
3768 |
|
|
echo "$as_me:$LINENO: result: no" >&5
|
3769 |
|
|
echo "${ECHO_T}no" >&6; have_gmp=no
|
3770 |
|
|
fi
|
3771 |
|
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
3772 |
|
|
|
3773 |
|
|
if test x"$have_gmp" = xyes; then
|
3774 |
|
|
echo "$as_me:$LINENO: checking for MPFR" >&5
|
3775 |
|
|
echo $ECHO_N "checking for MPFR... $ECHO_C" >&6
|
3776 |
|
|
|
3777 |
|
|
saved_LIBS="$LIBS"
|
3778 |
|
|
LIBS="$LIBS $gmplibs"
|
3779 |
|
|
cat >conftest.$ac_ext <<_ACEOF
|
3780 |
|
|
/* confdefs.h. */
|
3781 |
|
|
_ACEOF
|
3782 |
|
|
cat confdefs.h >>conftest.$ac_ext
|
3783 |
|
|
cat >>conftest.$ac_ext <<_ACEOF
|
3784 |
|
|
/* end confdefs.h. */
|
3785 |
|
|
#include
|
3786 |
|
|
#include
|
3787 |
|
|
int
|
3788 |
|
|
main ()
|
3789 |
|
|
{
|
3790 |
|
|
mpfr_t n; mpfr_init(n);
|
3791 |
|
|
;
|
3792 |
|
|
return 0;
|
3793 |
|
|
}
|
3794 |
|
|
_ACEOF
|
3795 |
|
|
rm -f conftest.$ac_objext conftest$ac_exeext
|
3796 |
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
3797 |
|
|
(eval $ac_link) 2>conftest.er1
|
3798 |
|
|
ac_status=$?
|
3799 |
|
|
grep -v '^ *+' conftest.er1 >conftest.err
|
3800 |
|
|
rm -f conftest.er1
|
3801 |
|
|
cat conftest.err >&5
|
3802 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3803 |
|
|
(exit $ac_status); } &&
|
3804 |
|
|
{ ac_try='test -z "$ac_c_werror_flag"
|
3805 |
|
|
|| test ! -s conftest.err'
|
3806 |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
3807 |
|
|
(eval $ac_try) 2>&5
|
3808 |
|
|
ac_status=$?
|
3809 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3810 |
|
|
(exit $ac_status); }; } &&
|
3811 |
|
|
{ ac_try='test -s conftest$ac_exeext'
|
3812 |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
3813 |
|
|
(eval $ac_try) 2>&5
|
3814 |
|
|
ac_status=$?
|
3815 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3816 |
|
|
(exit $ac_status); }; }; then
|
3817 |
|
|
echo "$as_me:$LINENO: result: yes" >&5
|
3818 |
|
|
echo "${ECHO_T}yes" >&6
|
3819 |
|
|
else
|
3820 |
|
|
echo "$as_me: failed program was:" >&5
|
3821 |
|
|
sed 's/^/| /' conftest.$ac_ext >&5
|
3822 |
|
|
|
3823 |
|
|
echo "$as_me:$LINENO: result: no" >&5
|
3824 |
|
|
echo "${ECHO_T}no" >&6; have_gmp=no
|
3825 |
|
|
fi
|
3826 |
|
|
rm -f conftest.err conftest.$ac_objext \
|
3827 |
|
|
conftest$ac_exeext conftest.$ac_ext
|
3828 |
|
|
LIBS="$saved_LIBS"
|
3829 |
|
|
CFLAGS="$saved_CFLAGS"
|
3830 |
|
|
fi
|
3831 |
|
|
|
3832 |
|
|
# Flags needed for both GMP and/or MPFR
|
3833 |
|
|
|
3834 |
|
|
|
3835 |
|
|
|
3836 |
|
|
# By default, C is the only stage 1 language.
|
3837 |
|
|
stage1_languages=c
|
3838 |
|
|
|
3839 |
|
|
|
3840 |
|
|
# Figure out what language subdirectories are present.
|
3841 |
|
|
# Look if the user specified --enable-languages="..."; if not, use
|
3842 |
|
|
# the environment variable $LANGUAGES if defined. $LANGUAGES might
|
3843 |
|
|
# go away some day.
|
3844 |
|
|
# NB: embedded tabs in this IF block -- do not untabify
|
3845 |
|
|
if test -d ${srcdir}/gcc; then
|
3846 |
|
|
if test x"${enable_languages+set}" != xset; then
|
3847 |
|
|
if test x"${LANGUAGES+set}" = xset; then
|
3848 |
|
|
enable_languages="${LANGUAGES}"
|
3849 |
|
|
echo configure.in: warning: setting LANGUAGES is deprecated, use --enable-languages instead 1>&2
|
3850 |
|
|
else
|
3851 |
|
|
enable_languages=all
|
3852 |
|
|
fi
|
3853 |
|
|
else
|
3854 |
|
|
if test x"${enable_languages}" = x ||
|
3855 |
|
|
test x"${enable_languages}" = xyes;
|
3856 |
|
|
then
|
3857 |
|
|
echo configure.in: --enable-languages needs at least one language argument 1>&2
|
3858 |
|
|
exit 1
|
3859 |
|
|
fi
|
3860 |
|
|
fi
|
3861 |
|
|
enable_languages=`echo "${enable_languages}" | sed -e 's/[ ,][ ,]*/,/g' -e 's/,$//'`
|
3862 |
|
|
|
3863 |
|
|
# 'f95' is the old name for the 'fortran' language. We issue a warning
|
3864 |
|
|
# and make the substitution.
|
3865 |
|
|
case ,${enable_languages}, in
|
3866 |
|
|
*,f95,*)
|
3867 |
|
|
echo configure.in: warning: 'f95' as language name is deprecated, use 'fortran' instead 1>&2
|
3868 |
|
|
enable_languages=`echo "${enable_languages}" | sed -e 's/f95/fortran/g'`
|
3869 |
|
|
;;
|
3870 |
|
|
esac
|
3871 |
|
|
|
3872 |
|
|
# First scan to see if an enabled language requires some other language.
|
3873 |
|
|
# We assume that a given config-lang.in will list all the language
|
3874 |
|
|
# front ends it requires, even if some are required indirectly.
|
3875 |
|
|
for lang_frag in ${srcdir}/gcc/*/config-lang.in .. ; do
|
3876 |
|
|
case ${lang_frag} in
|
3877 |
|
|
..) ;;
|
3878 |
|
|
# The odd quoting in the next line works around
|
3879 |
|
|
# an apparent bug in bash 1.12 on linux.
|
3880 |
|
|
${srcdir}/gcc/[*]/config-lang.in) ;;
|
3881 |
|
|
*)
|
3882 |
|
|
# From the config-lang.in, get $language, $lang_requires
|
3883 |
|
|
language=
|
3884 |
|
|
lang_requires=
|
3885 |
|
|
. ${lang_frag}
|
3886 |
|
|
for other in ${lang_requires} ; do
|
3887 |
|
|
case ,${enable_languages}, in
|
3888 |
|
|
*,$other,*) ;;
|
3889 |
|
|
*,all,*) ;;
|
3890 |
|
|
*,$language,*)
|
3891 |
|
|
echo " \`$other' language required by \`$language'; enabling" 1>&2
|
3892 |
|
|
enable_languages="${enable_languages},${other}"
|
3893 |
|
|
;;
|
3894 |
|
|
esac
|
3895 |
|
|
done
|
3896 |
|
|
;;
|
3897 |
|
|
esac
|
3898 |
|
|
done
|
3899 |
|
|
|
3900 |
|
|
new_enable_languages=c
|
3901 |
|
|
missing_languages=`echo ",$enable_languages," | sed -e s/,all,/,/ -e s/,c,/,/ `
|
3902 |
|
|
potential_languages=c
|
3903 |
|
|
|
3904 |
|
|
for lang_frag in ${srcdir}/gcc/*/config-lang.in .. ; do
|
3905 |
|
|
case ${lang_frag} in
|
3906 |
|
|
..) ;;
|
3907 |
|
|
# The odd quoting in the next line works around
|
3908 |
|
|
# an apparent bug in bash 1.12 on linux.
|
3909 |
|
|
${srcdir}/gcc/[*]/config-lang.in) ;;
|
3910 |
|
|
*)
|
3911 |
|
|
# From the config-lang.in, get $language, $target_libs,
|
3912 |
|
|
# $lang_dirs, $boot_language, and $build_by_default
|
3913 |
|
|
language=
|
3914 |
|
|
target_libs=
|
3915 |
|
|
lang_dirs=
|
3916 |
|
|
boot_language=
|
3917 |
|
|
build_by_default=
|
3918 |
|
|
need_gmp=
|
3919 |
|
|
. ${lang_frag}
|
3920 |
|
|
potential_languages="${potential_languages},${language}"
|
3921 |
|
|
# This is quite sensitive to the ordering of the case statement arms.
|
3922 |
|
|
case ,${enable_languages},:${language}:${have_gnat}:${build_by_default} in
|
3923 |
|
|
*::*:*)
|
3924 |
|
|
echo "${lang_frag} doesn't set \$language." 1>&2
|
3925 |
|
|
exit 1
|
3926 |
|
|
;;
|
3927 |
|
|
*:ada:no:*)
|
3928 |
|
|
# Ada was requested with no preexisting GNAT. Disable unconditionally.
|
3929 |
|
|
add_this_lang=no
|
3930 |
|
|
;;
|
3931 |
|
|
*,${language},*:*:*:*)
|
3932 |
|
|
# Language was explicitly selected; include it.
|
3933 |
|
|
add_this_lang=yes
|
3934 |
|
|
;;
|
3935 |
|
|
*,all,*:*:*:no)
|
3936 |
|
|
# 'all' was selected, but this is not a default language
|
3937 |
|
|
# so do not include it.
|
3938 |
|
|
add_this_lang=no
|
3939 |
|
|
;;
|
3940 |
|
|
*,all,*:*:*:*)
|
3941 |
|
|
# 'all' was selected and this is a default language; include it.
|
3942 |
|
|
add_this_lang=yes
|
3943 |
|
|
;;
|
3944 |
|
|
*)
|
3945 |
|
|
add_this_lang=no
|
3946 |
|
|
;;
|
3947 |
|
|
esac
|
3948 |
|
|
|
3949 |
|
|
# Disable languages that need GMP if it isn't available.
|
3950 |
|
|
case ,${enable_languages},:${have_gmp}:${need_gmp} in
|
3951 |
|
|
*,${language},*:no:yes)
|
3952 |
|
|
# Specifically requested language; tell them.
|
3953 |
|
|
{ { echo "$as_me:$LINENO: error: GMP with MPFR support is required to build $language" >&5
|
3954 |
|
|
echo "$as_me: error: GMP with MPFR support is required to build $language" >&2;}
|
3955 |
|
|
{ (exit 1); exit 1; }; }
|
3956 |
|
|
;;
|
3957 |
|
|
*:no:yes)
|
3958 |
|
|
# Silently disable.
|
3959 |
|
|
add_this_lang=no
|
3960 |
|
|
;;
|
3961 |
|
|
esac
|
3962 |
|
|
|
3963 |
|
|
# Disable a language that is unsupported by the target.
|
3964 |
|
|
case " $unsupported_languages " in
|
3965 |
|
|
*" $language "*)
|
3966 |
|
|
add_this_lang=no
|
3967 |
|
|
;;
|
3968 |
|
|
esac
|
3969 |
|
|
|
3970 |
|
|
case $add_this_lang in
|
3971 |
|
|
no)
|
3972 |
|
|
# Remove language-dependent dirs.
|
3973 |
|
|
eval noconfigdirs='"$noconfigdirs "'\"$target_libs $lang_dirs\"
|
3974 |
|
|
;;
|
3975 |
|
|
*)
|
3976 |
|
|
new_enable_languages="$new_enable_languages,$language"
|
3977 |
|
|
missing_languages=`echo "$missing_languages" | sed "s/,$language,/,/"`
|
3978 |
|
|
case ${boot_language} in
|
3979 |
|
|
yes)
|
3980 |
|
|
# Add to (comma-separated) list of stage 1 languages.
|
3981 |
|
|
stage1_languages="${stage1_languages},${language}"
|
3982 |
|
|
;;
|
3983 |
|
|
esac
|
3984 |
|
|
;;
|
3985 |
|
|
esac
|
3986 |
|
|
;;
|
3987 |
|
|
esac
|
3988 |
|
|
done
|
3989 |
|
|
|
3990 |
|
|
missing_languages=`echo "$missing_languages" | sed -e "s/^,//" -e "s/,$//"`
|
3991 |
|
|
if test "x$missing_languages" != x; then
|
3992 |
|
|
{ { echo "$as_me:$LINENO: error:
|
3993 |
|
|
The following requested languages could not be built: ${missing_languages}
|
3994 |
|
|
Recognised languages are: ${potential_languages}" >&5
|
3995 |
|
|
echo "$as_me: error:
|
3996 |
|
|
The following requested languages could not be built: ${missing_languages}
|
3997 |
|
|
Recognised languages are: ${potential_languages}" >&2;}
|
3998 |
|
|
{ (exit 1); exit 1; }; }
|
3999 |
|
|
fi
|
4000 |
|
|
|
4001 |
|
|
if test "x$new_enable_languages" != "x$enable_languages"; then
|
4002 |
|
|
echo The following languages will be built: ${new_enable_languages}
|
4003 |
|
|
fi
|
4004 |
|
|
enable_languages="$new_enable_languages"
|
4005 |
|
|
ac_configure_args=`echo " $ac_configure_args" | sed -e 's/ --enable-languages=[^ ]*//' -e 's/$/ --enable-languages='"$enable_languages"/ `
|
4006 |
|
|
fi
|
4007 |
|
|
|
4008 |
|
|
# Remove the entries in $skipdirs and $noconfigdirs from $configdirs,
|
4009 |
|
|
# $build_configdirs and $target_configdirs.
|
4010 |
|
|
# If we have the source for $noconfigdirs entries, add them to $notsupp.
|
4011 |
|
|
|
4012 |
|
|
notsupp=""
|
4013 |
|
|
for dir in . $skipdirs $noconfigdirs ; do
|
4014 |
|
|
dirname=`echo $dir | sed -e s/target-//g -e s/build-//g`
|
4015 |
|
|
if test $dir != . && echo " ${configdirs} " | grep " ${dir} " >/dev/null 2>&1; then
|
4016 |
|
|
configdirs=`echo " ${configdirs} " | sed -e "s/ ${dir} / /"`
|
4017 |
|
|
if test -r $srcdir/$dirname/configure ; then
|
4018 |
|
|
if echo " ${skipdirs} " | grep " ${dir} " >/dev/null 2>&1; then
|
4019 |
|
|
true
|
4020 |
|
|
else
|
4021 |
|
|
notsupp="$notsupp $dir"
|
4022 |
|
|
fi
|
4023 |
|
|
fi
|
4024 |
|
|
fi
|
4025 |
|
|
if test $dir != . && echo " ${build_configdirs} " | grep " ${dir} " >/dev/null 2>&1; then
|
4026 |
|
|
build_configdirs=`echo " ${build_configdirs} " | sed -e "s/ ${dir} / /"`
|
4027 |
|
|
if test -r $srcdir/$dirname/configure ; then
|
4028 |
|
|
if echo " ${skipdirs} " | grep " ${dir} " >/dev/null 2>&1; then
|
4029 |
|
|
true
|
4030 |
|
|
else
|
4031 |
|
|
notsupp="$notsupp $dir"
|
4032 |
|
|
fi
|
4033 |
|
|
fi
|
4034 |
|
|
fi
|
4035 |
|
|
if test $dir != . && echo " ${target_configdirs} " | grep " ${dir} " >/dev/null 2>&1; then
|
4036 |
|
|
target_configdirs=`echo " ${target_configdirs} " | sed -e "s/ ${dir} / /"`
|
4037 |
|
|
if test -r $srcdir/$dirname/configure ; then
|
4038 |
|
|
if echo " ${skipdirs} " | grep " ${dir} " >/dev/null 2>&1; then
|
4039 |
|
|
true
|
4040 |
|
|
else
|
4041 |
|
|
notsupp="$notsupp $dir"
|
4042 |
|
|
fi
|
4043 |
|
|
fi
|
4044 |
|
|
fi
|
4045 |
|
|
done
|
4046 |
|
|
|
4047 |
|
|
# Sometimes the tools are distributed with libiberty but with no other
|
4048 |
|
|
# libraries. In that case, we don't want to build target-libiberty.
|
4049 |
|
|
if test -n "${target_configdirs}" ; then
|
4050 |
|
|
others=
|
4051 |
|
|
for i in `echo ${target_configdirs} | sed -e s/target-//g` ; do
|
4052 |
|
|
if test "$i" != "libiberty" ; then
|
4053 |
|
|
if test -r $srcdir/$i/configure ; then
|
4054 |
|
|
others=yes;
|
4055 |
|
|
break;
|
4056 |
|
|
fi
|
4057 |
|
|
fi
|
4058 |
|
|
done
|
4059 |
|
|
if test -z "${others}" ; then
|
4060 |
|
|
target_configdirs=
|
4061 |
|
|
fi
|
4062 |
|
|
fi
|
4063 |
|
|
|
4064 |
|
|
# Quietly strip out all directories which aren't configurable in this tree.
|
4065 |
|
|
# This relies on all configurable subdirectories being autoconfiscated, which
|
4066 |
|
|
# is now the case.
|
4067 |
|
|
build_configdirs_all="$build_configdirs"
|
4068 |
|
|
build_configdirs=
|
4069 |
|
|
for i in ${build_configdirs_all} ; do
|
4070 |
|
|
j=`echo $i | sed -e s/build-//g`
|
4071 |
|
|
if test -f ${srcdir}/$j/configure ; then
|
4072 |
|
|
build_configdirs="${build_configdirs} $i"
|
4073 |
|
|
fi
|
4074 |
|
|
done
|
4075 |
|
|
|
4076 |
|
|
configdirs_all="$configdirs"
|
4077 |
|
|
configdirs=
|
4078 |
|
|
for i in ${configdirs_all} ; do
|
4079 |
|
|
if test -f ${srcdir}/$i/configure ; then
|
4080 |
|
|
configdirs="${configdirs} $i"
|
4081 |
|
|
fi
|
4082 |
|
|
done
|
4083 |
|
|
|
4084 |
|
|
target_configdirs_all="$target_configdirs"
|
4085 |
|
|
target_configdirs=
|
4086 |
|
|
for i in ${target_configdirs_all} ; do
|
4087 |
|
|
j=`echo $i | sed -e s/target-//g`
|
4088 |
|
|
if test -f ${srcdir}/$j/configure ; then
|
4089 |
|
|
target_configdirs="${target_configdirs} $i"
|
4090 |
|
|
fi
|
4091 |
|
|
done
|
4092 |
|
|
|
4093 |
|
|
# Produce a warning message for the subdirs we can't configure.
|
4094 |
|
|
# This isn't especially interesting in the Cygnus tree, but in the individual
|
4095 |
|
|
# FSF releases, it's important to let people know when their machine isn't
|
4096 |
|
|
# supported by the one or two programs in a package.
|
4097 |
|
|
|
4098 |
|
|
if test -n "${notsupp}" && test -z "${norecursion}" ; then
|
4099 |
|
|
# If $appdirs is non-empty, at least one of those directories must still
|
4100 |
|
|
# be configured, or we error out. (E.g., if the gas release supports a
|
4101 |
|
|
# specified target in some subdirs but not the gas subdir, we shouldn't
|
4102 |
|
|
# pretend that all is well.)
|
4103 |
|
|
if test -n "$appdirs" ; then
|
4104 |
|
|
for dir in $appdirs ; do
|
4105 |
|
|
if test -r $dir/Makefile.in ; then
|
4106 |
|
|
if echo " ${configdirs} " | grep " ${dir} " >/dev/null 2>&1; then
|
4107 |
|
|
appdirs=""
|
4108 |
|
|
break
|
4109 |
|
|
fi
|
4110 |
|
|
if echo " ${target_configdirs} " | grep " target-${dir} " >/dev/null 2>&1; then
|
4111 |
|
|
appdirs=""
|
4112 |
|
|
break
|
4113 |
|
|
fi
|
4114 |
|
|
fi
|
4115 |
|
|
done
|
4116 |
|
|
if test -n "$appdirs" ; then
|
4117 |
|
|
echo "*** This configuration is not supported by this package." 1>&2
|
4118 |
|
|
exit 1
|
4119 |
|
|
fi
|
4120 |
|
|
fi
|
4121 |
|
|
# Okay, some application will build, or we don't care to check. Still
|
4122 |
|
|
# notify of subdirs not getting built.
|
4123 |
|
|
echo "*** This configuration is not supported in the following subdirectories:" 1>&2
|
4124 |
|
|
echo " ${notsupp}" 1>&2
|
4125 |
|
|
echo " (Any other directories should still work fine.)" 1>&2
|
4126 |
|
|
fi
|
4127 |
|
|
|
4128 |
|
|
case "$host" in
|
4129 |
|
|
*msdosdjgpp*)
|
4130 |
|
|
enable_gdbtk=no ;;
|
4131 |
|
|
esac
|
4132 |
|
|
|
4133 |
|
|
copy_dirs=
|
4134 |
|
|
|
4135 |
|
|
|
4136 |
|
|
# Check whether --with-build-sysroot or --without-build-sysroot was given.
|
4137 |
|
|
if test "${with_build_sysroot+set}" = set; then
|
4138 |
|
|
withval="$with_build_sysroot"
|
4139 |
|
|
if test x"$withval" != x ; then
|
4140 |
|
|
SYSROOT_CFLAGS_FOR_TARGET="--sysroot=$withval"
|
4141 |
|
|
fi
|
4142 |
|
|
else
|
4143 |
|
|
SYSROOT_CFLAGS_FOR_TARGET=
|
4144 |
|
|
fi;
|
4145 |
|
|
|
4146 |
|
|
|
4147 |
|
|
# Handle --with-headers=XXX. If the value is not "yes", the contents of
|
4148 |
|
|
# the named directory are copied to $(tooldir)/sys-include.
|
4149 |
|
|
if test x"${with_headers}" != x && test x"${with_headers}" != xno ; then
|
4150 |
|
|
if test x${is_cross_compiler} = xno ; then
|
4151 |
|
|
echo 1>&2 '***' --with-headers is only supported when cross compiling
|
4152 |
|
|
exit 1
|
4153 |
|
|
fi
|
4154 |
|
|
if test x"${with_headers}" != xyes ; then
|
4155 |
|
|
case "${exec_prefixoption}" in
|
4156 |
|
|
"") x=${prefix} ;;
|
4157 |
|
|
*) x=${exec_prefix} ;;
|
4158 |
|
|
esac
|
4159 |
|
|
copy_dirs="${copy_dirs} ${with_headers} $x/${target_alias}/sys-include"
|
4160 |
|
|
fi
|
4161 |
|
|
fi
|
4162 |
|
|
|
4163 |
|
|
# Handle --with-libs=XXX. If the value is not "yes", the contents of
|
4164 |
|
|
# the name directories are copied to $(tooldir)/lib. Multiple directories
|
4165 |
|
|
# are permitted.
|
4166 |
|
|
if test x"${with_libs}" != x && test x"${with_libs}" != xno ; then
|
4167 |
|
|
if test x${is_cross_compiler} = xno ; then
|
4168 |
|
|
echo 1>&2 '***' --with-libs is only supported when cross compiling
|
4169 |
|
|
exit 1
|
4170 |
|
|
fi
|
4171 |
|
|
if test x"${with_libs}" != xyes ; then
|
4172 |
|
|
# Copy the libraries in reverse order, so that files in the first named
|
4173 |
|
|
# library override files in subsequent libraries.
|
4174 |
|
|
case "${exec_prefixoption}" in
|
4175 |
|
|
"") x=${prefix} ;;
|
4176 |
|
|
*) x=${exec_prefix} ;;
|
4177 |
|
|
esac
|
4178 |
|
|
for l in ${with_libs}; do
|
4179 |
|
|
copy_dirs="$l $x/${target_alias}/lib ${copy_dirs}"
|
4180 |
|
|
done
|
4181 |
|
|
fi
|
4182 |
|
|
fi
|
4183 |
|
|
|
4184 |
|
|
# Handle ${copy_dirs}
|
4185 |
|
|
set fnord ${copy_dirs}
|
4186 |
|
|
shift
|
4187 |
|
|
while test $# != 0 ; do
|
4188 |
|
|
if test -f $2/COPIED && test x"`cat $2/COPIED`" = x"$1" ; then
|
4189 |
|
|
:
|
4190 |
|
|
else
|
4191 |
|
|
echo Copying $1 to $2
|
4192 |
|
|
|
4193 |
|
|
# Use the install script to create the directory and all required
|
4194 |
|
|
# parent directories.
|
4195 |
|
|
if test -d $2 ; then
|
4196 |
|
|
:
|
4197 |
|
|
else
|
4198 |
|
|
echo >config.temp
|
4199 |
|
|
${srcdir}/install-sh -c -m 644 config.temp $2/COPIED
|
4200 |
|
|
fi
|
4201 |
|
|
|
4202 |
|
|
# Copy the directory, assuming we have tar.
|
4203 |
|
|
# FIXME: Should we use B in the second tar? Not all systems support it.
|
4204 |
|
|
(cd $1; tar -cf - .) | (cd $2; tar -xpf -)
|
4205 |
|
|
|
4206 |
|
|
# It is the responsibility of the user to correctly adjust all
|
4207 |
|
|
# symlinks. If somebody can figure out how to handle them correctly
|
4208 |
|
|
# here, feel free to add the code.
|
4209 |
|
|
|
4210 |
|
|
echo $1 > $2/COPIED
|
4211 |
|
|
fi
|
4212 |
|
|
shift; shift
|
4213 |
|
|
done
|
4214 |
|
|
|
4215 |
|
|
extra_arflags_for_target=
|
4216 |
|
|
extra_nmflags_for_target=
|
4217 |
|
|
extra_ranlibflags_for_target=
|
4218 |
|
|
target_makefile_frag=/dev/null
|
4219 |
|
|
case "${target}" in
|
4220 |
|
|
*-*-netware*)
|
4221 |
|
|
target_makefile_frag="config/mt-netware"
|
4222 |
|
|
;;
|
4223 |
|
|
*-*-linux* | *-*-gnu* | *-*-k*bsd*-gnu)
|
4224 |
|
|
target_makefile_frag="config/mt-gnu"
|
4225 |
|
|
;;
|
4226 |
|
|
*-*-aix4.[3456789]* | *-*-aix[56789].*)
|
4227 |
|
|
# nm and ar from AIX 4.3 and above require -X32_64 flag to all ar and nm
|
4228 |
|
|
# commands to handle both 32-bit and 64-bit objects. These flags are
|
4229 |
|
|
# harmless if we're using GNU nm or ar.
|
4230 |
|
|
extra_arflags_for_target=" -X32_64"
|
4231 |
|
|
extra_nmflags_for_target=" -B -X32_64"
|
4232 |
|
|
;;
|
4233 |
|
|
*-*-darwin*)
|
4234 |
|
|
# ranlib from Darwin requires the -c flag to look at common symbols.
|
4235 |
|
|
extra_ranlibflags_for_target=" -c"
|
4236 |
|
|
;;
|
4237 |
|
|
mips*-*-pe | sh*-*-pe | *arm-wince-pe)
|
4238 |
|
|
target_makefile_frag="config/mt-wince"
|
4239 |
|
|
;;
|
4240 |
|
|
esac
|
4241 |
|
|
|
4242 |
|
|
alphaieee_frag=/dev/null
|
4243 |
|
|
case $target in
|
4244 |
|
|
alpha*-*-*)
|
4245 |
|
|
# This just makes sure to use the -mieee option to build target libs.
|
4246 |
|
|
# This should probably be set individually by each library.
|
4247 |
|
|
alphaieee_frag="config/mt-alphaieee"
|
4248 |
|
|
;;
|
4249 |
|
|
esac
|
4250 |
|
|
|
4251 |
|
|
# If --enable-target-optspace always use -Os instead of -O2 to build
|
4252 |
|
|
# the target libraries, similarly if it is not specified, use -Os
|
4253 |
|
|
# on selected platforms.
|
4254 |
|
|
ospace_frag=/dev/null
|
4255 |
|
|
case "${enable_target_optspace}:${target}" in
|
4256 |
|
|
yes:*)
|
4257 |
|
|
ospace_frag="config/mt-ospace"
|
4258 |
|
|
;;
|
4259 |
|
|
:d30v-*)
|
4260 |
|
|
ospace_frag="config/mt-d30v"
|
4261 |
|
|
;;
|
4262 |
|
|
:m32r-* | :d10v-* | :fr30-*)
|
4263 |
|
|
ospace_frag="config/mt-ospace"
|
4264 |
|
|
;;
|
4265 |
|
|
no:* | :*)
|
4266 |
|
|
;;
|
4267 |
|
|
*)
|
4268 |
|
|
echo "*** bad value \"${enable_target_optspace}\" for --enable-target-optspace flag; ignored" 1>&2
|
4269 |
|
|
;;
|
4270 |
|
|
esac
|
4271 |
|
|
|
4272 |
|
|
# Set with_gnu_as and with_gnu_ld as appropriate.
|
4273 |
|
|
#
|
4274 |
|
|
# This is done by determining whether or not the appropriate directory
|
4275 |
|
|
# is available, and by checking whether or not specific configurations
|
4276 |
|
|
# have requested that this magic not happen.
|
4277 |
|
|
#
|
4278 |
|
|
# The command line options always override the explicit settings in
|
4279 |
|
|
# configure.in, and the settings in configure.in override this magic.
|
4280 |
|
|
#
|
4281 |
|
|
# If the default for a toolchain is to use GNU as and ld, and you don't
|
4282 |
|
|
# want to do that, then you should use the --without-gnu-as and
|
4283 |
|
|
# --without-gnu-ld options for the configure script.
|
4284 |
|
|
|
4285 |
|
|
if test x${use_gnu_as} = x &&
|
4286 |
|
|
echo " ${configdirs} " | grep " gas " > /dev/null 2>&1 ; then
|
4287 |
|
|
with_gnu_as=yes
|
4288 |
|
|
extra_host_args="$extra_host_args --with-gnu-as"
|
4289 |
|
|
fi
|
4290 |
|
|
|
4291 |
|
|
if test x${use_gnu_ld} = x &&
|
4292 |
|
|
echo " ${configdirs} " | grep " ld " > /dev/null 2>&1 ; then
|
4293 |
|
|
with_gnu_ld=yes
|
4294 |
|
|
extra_host_args="$extra_host_args --with-gnu-ld"
|
4295 |
|
|
fi
|
4296 |
|
|
|
4297 |
|
|
# If using newlib, add --with-newlib to the extra_host_args so that gcc/configure
|
4298 |
|
|
# can detect this case.
|
4299 |
|
|
|
4300 |
|
|
if test x${with_newlib} != xno && echo " ${target_configdirs} " | grep " target-newlib " > /dev/null 2>&1 ; then
|
4301 |
|
|
with_newlib=yes
|
4302 |
|
|
extra_host_args="$extra_host_args --with-newlib"
|
4303 |
|
|
fi
|
4304 |
|
|
|
4305 |
|
|
# Default to using --with-stabs for certain targets.
|
4306 |
|
|
if test x${with_stabs} = x ; then
|
4307 |
|
|
case "${target}" in
|
4308 |
|
|
mips*-*-irix[56]*)
|
4309 |
|
|
;;
|
4310 |
|
|
mips*-*-* | alpha*-*-osf*)
|
4311 |
|
|
with_stabs=yes;
|
4312 |
|
|
extra_host_args="${extra_host_args} --with-stabs"
|
4313 |
|
|
;;
|
4314 |
|
|
esac
|
4315 |
|
|
fi
|
4316 |
|
|
|
4317 |
|
|
# hpux11 in 64bit mode has libraries in a weird place. Arrange to find
|
4318 |
|
|
# them automatically.
|
4319 |
|
|
case "${host}" in
|
4320 |
|
|
hppa*64*-*-hpux11*)
|
4321 |
|
|
extra_host_args="$extra_host_args -x-libraries=/usr/lib/pa20_64 -x-includes=/usr/X11R6/include"
|
4322 |
|
|
;;
|
4323 |
|
|
esac
|
4324 |
|
|
|
4325 |
|
|
# Some systems (e.g., one of the i386-aix systems the gas testers are
|
4326 |
|
|
# using) don't handle "\$" correctly, so don't use it here.
|
4327 |
|
|
tooldir='${exec_prefix}'/${target_alias}
|
4328 |
|
|
build_tooldir=${tooldir}
|
4329 |
|
|
|
4330 |
|
|
# Create a .gdbinit file which runs the one in srcdir
|
4331 |
|
|
# and tells GDB to look there for source files.
|
4332 |
|
|
|
4333 |
|
|
if test -r ${srcdir}/.gdbinit ; then
|
4334 |
|
|
case ${srcdir} in
|
4335 |
|
|
.) ;;
|
4336 |
|
|
*) cat > ./.gdbinit <
|
4337 |
|
|
# ${NO_EDIT}
|
4338 |
|
|
dir ${srcdir}
|
4339 |
|
|
dir .
|
4340 |
|
|
source ${srcdir}/.gdbinit
|
4341 |
|
|
EOF
|
4342 |
|
|
;;
|
4343 |
|
|
esac
|
4344 |
|
|
fi
|
4345 |
|
|
|
4346 |
|
|
# Make sure that the compiler is able to generate an executable. If it
|
4347 |
|
|
# can't, we are probably in trouble. We don't care whether we can run the
|
4348 |
|
|
# executable--we might be using a cross compiler--we only care whether it
|
4349 |
|
|
# can be created. At this point the main configure script has set CC.
|
4350 |
|
|
we_are_ok=no
|
4351 |
|
|
echo "int main () { return 0; }" > conftest.c
|
4352 |
|
|
${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
|
4353 |
|
|
if test $? = 0 ; then
|
4354 |
|
|
if test -s conftest || test -s conftest.exe ; then
|
4355 |
|
|
we_are_ok=yes
|
4356 |
|
|
fi
|
4357 |
|
|
fi
|
4358 |
|
|
case $we_are_ok in
|
4359 |
|
|
no)
|
4360 |
|
|
echo 1>&2 "*** The command '${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c' failed."
|
4361 |
|
|
echo 1>&2 "*** You must set the environment variable CC to a working compiler."
|
4362 |
|
|
rm -f conftest*
|
4363 |
|
|
exit 1
|
4364 |
|
|
;;
|
4365 |
|
|
esac
|
4366 |
|
|
rm -f conftest*
|
4367 |
|
|
|
4368 |
|
|
# The Solaris /usr/ucb/cc compiler does not appear to work.
|
4369 |
|
|
case "${host}" in
|
4370 |
|
|
sparc-sun-solaris2*)
|
4371 |
|
|
CCBASE="`echo ${CC-cc} | sed 's/ .*$//'`"
|
4372 |
|
|
if test "`type $CCBASE | sed 's/^[^/]*//'`" = "/usr/ucb/cc" ; then
|
4373 |
|
|
could_use=
|
4374 |
|
|
test -d /opt/SUNWspro/bin && could_use="/opt/SUNWspro/bin"
|
4375 |
|
|
if test -d /opt/cygnus/bin ; then
|
4376 |
|
|
if test "$could_use" = "" ; then
|
4377 |
|
|
could_use="/opt/cygnus/bin"
|
4378 |
|
|
else
|
4379 |
|
|
could_use="$could_use or /opt/cygnus/bin"
|
4380 |
|
|
fi
|
4381 |
|
|
fi
|
4382 |
|
|
if test "$could_use" = "" ; then
|
4383 |
|
|
echo "Warning: compilation may fail because you're using"
|
4384 |
|
|
echo "/usr/ucb/cc. You should change your PATH or CC "
|
4385 |
|
|
echo "variable and rerun configure."
|
4386 |
|
|
else
|
4387 |
|
|
echo "Warning: compilation may fail because you're using"
|
4388 |
|
|
echo "/usr/ucb/cc, when you should use the C compiler from"
|
4389 |
|
|
echo "$could_use. You should change your"
|
4390 |
|
|
echo "PATH or CC variable and rerun configure."
|
4391 |
|
|
fi
|
4392 |
|
|
fi
|
4393 |
|
|
;;
|
4394 |
|
|
esac
|
4395 |
|
|
|
4396 |
|
|
case "${host}" in
|
4397 |
|
|
*-*-hpux*) RPATH_ENVVAR=SHLIB_PATH ;;
|
4398 |
|
|
*-*-darwin* | *-*-rhapsody* ) RPATH_ENVVAR=DYLD_LIBRARY_PATH ;;
|
4399 |
|
|
*) RPATH_ENVVAR=LD_LIBRARY_PATH ;;
|
4400 |
|
|
esac
|
4401 |
|
|
|
4402 |
|
|
# Record target_configdirs and the configure arguments for target and
|
4403 |
|
|
# build configuration in Makefile.
|
4404 |
|
|
target_configdirs=`echo "${target_configdirs}" | sed -e 's/target-//g'`
|
4405 |
|
|
build_configdirs=`echo "${build_configdirs}" | sed -e 's/build-//g'`
|
4406 |
|
|
|
4407 |
|
|
# Determine whether gdb needs tk/tcl or not.
|
4408 |
|
|
# Use 'maybe' since enable_gdbtk might be true even if tk isn't available
|
4409 |
|
|
# and in that case we want gdb to be built without tk. Ugh!
|
4410 |
|
|
# In fact I believe gdb is the *only* package directly dependent on tk,
|
4411 |
|
|
# so we should be able to put the 'maybe's in unconditionally and
|
4412 |
|
|
# leave out the maybe dependencies when enable_gdbtk is false. I'm not
|
4413 |
|
|
# 100% sure that that's safe though.
|
4414 |
|
|
|
4415 |
|
|
gdb_tk="maybe-all-tcl maybe-all-tk maybe-all-itcl maybe-all-libgui"
|
4416 |
|
|
case "$enable_gdbtk" in
|
4417 |
|
|
no)
|
4418 |
|
|
GDB_TK="" ;;
|
4419 |
|
|
yes)
|
4420 |
|
|
GDB_TK="${gdb_tk}" ;;
|
4421 |
|
|
*)
|
4422 |
|
|
# Only add the dependency on gdbtk when GDBtk is part of the gdb
|
4423 |
|
|
# distro. Eventually someone will fix this and move Insight, nee
|
4424 |
|
|
# gdbtk to a separate directory.
|
4425 |
|
|
if test -d ${srcdir}/gdb/gdbtk ; then
|
4426 |
|
|
GDB_TK="${gdb_tk}"
|
4427 |
|
|
else
|
4428 |
|
|
GDB_TK=""
|
4429 |
|
|
fi
|
4430 |
|
|
;;
|
4431 |
|
|
esac
|
4432 |
|
|
CONFIGURE_GDB_TK=`echo ${GDB_TK} | sed s/-all-/-configure-/g`
|
4433 |
|
|
INSTALL_GDB_TK=`echo ${GDB_TK} | sed s/-all-/-install-/g`
|
4434 |
|
|
|
4435 |
|
|
# Strip out unwanted targets.
|
4436 |
|
|
|
4437 |
|
|
# While at that, we remove Makefiles if we were started for recursive
|
4438 |
|
|
# configuration, so that the top-level Makefile reconfigures them,
|
4439 |
|
|
# like we used to do when configure itself was recursive.
|
4440 |
|
|
|
4441 |
|
|
# Loop over modules. $extrasub must be used with care, limiting as
|
4442 |
|
|
# much as possible the usage of range addresses. That's because autoconf
|
4443 |
|
|
# splits the sed script to overcome limits in the number of commands,
|
4444 |
|
|
# and relying on carefully-timed sed passes may turn out to be very hard
|
4445 |
|
|
# to maintain later. In this particular case, you just have to be careful
|
4446 |
|
|
# not to nest @if/@endif pairs, because configure will not warn you at all.
|
4447 |
|
|
|
4448 |
|
|
# Check whether --enable-bootstrap or --disable-bootstrap was given.
|
4449 |
|
|
if test "${enable_bootstrap+set}" = set; then
|
4450 |
|
|
enableval="$enable_bootstrap"
|
4451 |
|
|
|
4452 |
|
|
else
|
4453 |
|
|
enable_bootstrap=default
|
4454 |
|
|
fi;
|
4455 |
|
|
|
4456 |
|
|
# Issue errors and warnings for invalid/strange bootstrap combinations.
|
4457 |
|
|
case "$configdirs" in
|
4458 |
|
|
*gcc*) have_compiler=yes ;;
|
4459 |
|
|
*) have_compiler=no ;;
|
4460 |
|
|
esac
|
4461 |
|
|
|
4462 |
|
|
case "$have_compiler:$host:$target:$enable_bootstrap" in
|
4463 |
|
|
*:*:*:no) ;;
|
4464 |
|
|
|
4465 |
|
|
# Default behavior. (We'll) enable bootstrap if we have a compiler
|
4466 |
|
|
# and we are in a native configuration.
|
4467 |
|
|
yes:$build:$build:default)
|
4468 |
|
|
# This will become 'yes'
|
4469 |
|
|
enable_bootstrap=no ;;
|
4470 |
|
|
|
4471 |
|
|
*:*:*:default)
|
4472 |
|
|
enable_bootstrap=no ;;
|
4473 |
|
|
|
4474 |
|
|
# We have a compiler and we are in a native configuration, bootstrap is ok
|
4475 |
|
|
yes:$build:$build:yes | yes:$build:$build:lean)
|
4476 |
|
|
;;
|
4477 |
|
|
|
4478 |
|
|
# Other configurations, but we have a compiler. Assume the user knows
|
4479 |
|
|
# what he's doing.
|
4480 |
|
|
yes:*:*:yes | yes:*:*:lean)
|
4481 |
|
|
{ echo "$as_me:$LINENO: WARNING: trying to bootstrap a cross compiler" >&5
|
4482 |
|
|
echo "$as_me: WARNING: trying to bootstrap a cross compiler" >&2;}
|
4483 |
|
|
;;
|
4484 |
|
|
|
4485 |
|
|
# No compiler: if they passed --enable-bootstrap explicitly, fail
|
4486 |
|
|
no:*:*:yes | no:*:*:lean)
|
4487 |
|
|
{ { echo "$as_me:$LINENO: error: cannot bootstrap without a compiler" >&5
|
4488 |
|
|
echo "$as_me: error: cannot bootstrap without a compiler" >&2;}
|
4489 |
|
|
{ (exit 1); exit 1; }; } ;;
|
4490 |
|
|
|
4491 |
|
|
# Fail if wrong command line
|
4492 |
|
|
*)
|
4493 |
|
|
{ { echo "$as_me:$LINENO: error: invalid option for --enable-bootstrap" >&5
|
4494 |
|
|
echo "$as_me: error: invalid option for --enable-bootstrap" >&2;}
|
4495 |
|
|
{ (exit 1); exit 1; }; }
|
4496 |
|
|
;;
|
4497 |
|
|
esac
|
4498 |
|
|
|
4499 |
|
|
# Adjust the toplevel makefile according to whether bootstrap was selected.
|
4500 |
|
|
case "$enable_bootstrap" in
|
4501 |
|
|
yes)
|
4502 |
|
|
bootstrap_lean='#'
|
4503 |
|
|
bootstrap_suffix=bootstrap ;;
|
4504 |
|
|
lean)
|
4505 |
|
|
bootstrap_lean=''
|
4506 |
|
|
bootstrap_suffix=bootstrap ;;
|
4507 |
|
|
no)
|
4508 |
|
|
bootstrap_suffix=no-bootstrap ;;
|
4509 |
|
|
esac
|
4510 |
|
|
|
4511 |
|
|
|
4512 |
|
|
for module in ${build_configdirs} ; do
|
4513 |
|
|
if test -z "${no_recursion}" \
|
4514 |
|
|
&& test -f ${build_subdir}/${module}/Makefile; then
|
4515 |
|
|
echo 1>&2 "*** removing ${build_subdir}/${module}/Makefile to force reconfigure"
|
4516 |
|
|
rm -f ${build_subdir}/${module}/Makefile
|
4517 |
|
|
fi
|
4518 |
|
|
extrasub="$extrasub
|
4519 |
|
|
/^@if build-$module\$/d
|
4520 |
|
|
/^@endif build-$module\$/d
|
4521 |
|
|
/^@if build-$module-$bootstrap_suffix\$/d
|
4522 |
|
|
/^@endif build-$module-$bootstrap_suffix\$/d"
|
4523 |
|
|
done
|
4524 |
|
|
for module in ${configdirs} ; do
|
4525 |
|
|
if test -z "${no_recursion}" \
|
4526 |
|
|
&& test -f ${module}/Makefile; then
|
4527 |
|
|
echo 1>&2 "*** removing ${module}/Makefile to force reconfigure"
|
4528 |
|
|
rm -f ${module}/Makefile
|
4529 |
|
|
fi
|
4530 |
|
|
extrasub="$extrasub
|
4531 |
|
|
/^@if $module\$/d
|
4532 |
|
|
/^@endif $module\$/d
|
4533 |
|
|
/^@if $module-$bootstrap_suffix\$/d
|
4534 |
|
|
/^@endif $module-$bootstrap_suffix\$/d"
|
4535 |
|
|
done
|
4536 |
|
|
for module in ${target_configdirs} ; do
|
4537 |
|
|
if test -z "${no_recursion}" \
|
4538 |
|
|
&& test -f ${target_subdir}/${module}/Makefile; then
|
4539 |
|
|
echo 1>&2 "*** removing ${target_subdir}/${module}/Makefile to force reconfigure"
|
4540 |
|
|
rm -f ${target_subdir}/${module}/Makefile
|
4541 |
|
|
fi
|
4542 |
|
|
extrasub="$extrasub
|
4543 |
|
|
/^@if target-$module\$/d
|
4544 |
|
|
/^@endif target-$module\$/d
|
4545 |
|
|
/^@if target-$module-$bootstrap_suffix\$/d
|
4546 |
|
|
/^@endif target-$module-$bootstrap_suffix\$/d"
|
4547 |
|
|
done
|
4548 |
|
|
|
4549 |
|
|
extrasub="$extrasub
|
4550 |
|
|
/^@if /,/^@endif /d"
|
4551 |
|
|
|
4552 |
|
|
# Create the serialization dependencies. This uses a temporary file.
|
4553 |
|
|
|
4554 |
|
|
# Check whether --enable-serial-configure or --disable-serial-configure was given.
|
4555 |
|
|
if test "${enable_serial_configure+set}" = set; then
|
4556 |
|
|
enableval="$enable_serial_configure"
|
4557 |
|
|
|
4558 |
|
|
fi;
|
4559 |
|
|
|
4560 |
|
|
case ${enable_serial_configure} in
|
4561 |
|
|
yes)
|
4562 |
|
|
enable_serial_build_configure=yes
|
4563 |
|
|
enable_serial_host_configure=yes
|
4564 |
|
|
enable_serial_target_configure=yes
|
4565 |
|
|
;;
|
4566 |
|
|
esac
|
4567 |
|
|
|
4568 |
|
|
# These force 'configure's to be done one at a time, to avoid problems
|
4569 |
|
|
# with contention over a shared config.cache.
|
4570 |
|
|
rm -f serdep.tmp
|
4571 |
|
|
echo '# serdep.tmp' > serdep.tmp
|
4572 |
|
|
olditem=
|
4573 |
|
|
test "x${enable_serial_build_configure}" = xyes &&
|
4574 |
|
|
for item in ${build_configdirs} ; do
|
4575 |
|
|
case ${olditem} in
|
4576 |
|
|
"") ;;
|
4577 |
|
|
*) echo "configure-build-${item}: configure-build-${olditem}" >> serdep.tmp ;;
|
4578 |
|
|
esac
|
4579 |
|
|
olditem=${item}
|
4580 |
|
|
done
|
4581 |
|
|
olditem=
|
4582 |
|
|
test "x${enable_serial_host_configure}" = xyes &&
|
4583 |
|
|
for item in ${configdirs} ; do
|
4584 |
|
|
case ${olditem} in
|
4585 |
|
|
"") ;;
|
4586 |
|
|
*) echo "configure-${item}: configure-${olditem}" >> serdep.tmp ;;
|
4587 |
|
|
esac
|
4588 |
|
|
olditem=${item}
|
4589 |
|
|
done
|
4590 |
|
|
olditem=
|
4591 |
|
|
test "x${enable_serial_target_configure}" = xyes &&
|
4592 |
|
|
for item in ${target_configdirs} ; do
|
4593 |
|
|
case ${olditem} in
|
4594 |
|
|
"") ;;
|
4595 |
|
|
*) echo "configure-target-${item}: configure-target-${olditem}" >> serdep.tmp ;;
|
4596 |
|
|
esac
|
4597 |
|
|
olditem=${item}
|
4598 |
|
|
done
|
4599 |
|
|
serialization_dependencies=serdep.tmp
|
4600 |
|
|
|
4601 |
|
|
|
4602 |
|
|
# Base args. Strip norecursion, cache-file, srcdir, host, build,
|
4603 |
|
|
# target and nonopt. These are the ones we might not want to pass
|
4604 |
|
|
# down to subconfigures. Also strip program-prefix, program-suffix,
|
4605 |
|
|
# and program-transform-name, so that we can pass down a consistent
|
4606 |
|
|
# program-transform-name. If autoconf has put single quotes around
|
4607 |
|
|
# any of these arguments (because they contain shell metacharacters)
|
4608 |
|
|
# then this will fail; in practice this only happens for
|
4609 |
|
|
# --program-transform-name, so be sure to override --program-transform-name
|
4610 |
|
|
# at the end of the argument list.
|
4611 |
|
|
# These will be expanded by make, so quote '$'.
|
4612 |
|
|
cat <<\EOF_SED > conftestsed
|
4613 |
|
|
s/ --no[^ ]*/ /g
|
4614 |
|
|
s/ --c[a-z-]*[= ][^ ]*//g
|
4615 |
|
|
s/ --sr[a-z-]*[= ][^ ]*//g
|
4616 |
|
|
s/ --ho[a-z-]*[= ][^ ]*//g
|
4617 |
|
|
s/ --bu[a-z-]*[= ][^ ]*//g
|
4618 |
|
|
s/ --t[a-z-]*[= ][^ ]*//g
|
4619 |
|
|
s/ --program-[pst][a-z-]*[= ][^ ]*//g
|
4620 |
|
|
s/ -cache-file[= ][^ ]*//g
|
4621 |
|
|
s/ -srcdir[= ][^ ]*//g
|
4622 |
|
|
s/ -host[= ][^ ]*//g
|
4623 |
|
|
s/ -build[= ][^ ]*//g
|
4624 |
|
|
s/ -target[= ][^ ]*//g
|
4625 |
|
|
s/ -program-prefix[= ][^ ]*//g
|
4626 |
|
|
s/ -program-suffix[= ][^ ]*//g
|
4627 |
|
|
s/ -program-transform-name[= ][^ ]*//g
|
4628 |
|
|
s/ [^' -][^ ]* / /
|
4629 |
|
|
s/^ *//;s/ *$//
|
4630 |
|
|
s,\$,$$,g
|
4631 |
|
|
EOF_SED
|
4632 |
|
|
sed -f conftestsed < conftestsed.out
|
4633 |
|
|
${ac_configure_args}
|
4634 |
|
|
EOF_SED
|
4635 |
|
|
baseargs=`cat conftestsed.out`
|
4636 |
|
|
rm -f conftestsed conftestsed.out
|
4637 |
|
|
|
4638 |
|
|
# Add in --program-transform-name, after --program-prefix and
|
4639 |
|
|
# --program-suffix have been applied to it. Autoconf has already
|
4640 |
|
|
# doubled dollar signs and backslashes in program_transform_name; we want
|
4641 |
|
|
# the backslashes un-doubled, and then the entire thing wrapped in single
|
4642 |
|
|
# quotes, because this will be expanded first by make and then by the shell.
|
4643 |
|
|
# Also, because we want to override the logic in subdir configure scripts to
|
4644 |
|
|
# choose program_transform_name, replace any s,x,x, with s,y,y,.
|
4645 |
|
|
sed -e "s,\\\\\\\\,\\\\,g; s,','\\\\'',g; s/s,x,x,/s,y,y,/" < conftestsed.out
|
4646 |
|
|
${program_transform_name}
|
4647 |
|
|
EOF_SED
|
4648 |
|
|
gcc_transform_name=`cat conftestsed.out`
|
4649 |
|
|
rm -f conftestsed.out
|
4650 |
|
|
baseargs="$baseargs --program-transform-name='${gcc_transform_name}'"
|
4651 |
|
|
|
4652 |
|
|
# For the build-side libraries, we just need to pretend we're native,
|
4653 |
|
|
# and not use the same cache file. Multilibs are neither needed nor
|
4654 |
|
|
# desired.
|
4655 |
|
|
build_configargs="--cache-file=../config.cache --build=${build_alias} --host=${build_alias} --target=${target_alias} ${baseargs}"
|
4656 |
|
|
|
4657 |
|
|
# For host modules, accept cache file option, or specification as blank.
|
4658 |
|
|
case "${cache_file}" in
|
4659 |
|
|
"") # empty
|
4660 |
|
|
cache_file_option="" ;;
|
4661 |
|
|
/* | [A-Za-z]:[\\/]* ) # absolute path
|
4662 |
|
|
cache_file_option="--cache-file=${cache_file}" ;;
|
4663 |
|
|
*) # relative path
|
4664 |
|
|
cache_file_option="--cache-file=../${cache_file}" ;;
|
4665 |
|
|
esac
|
4666 |
|
|
|
4667 |
|
|
# Host dirs don't like to share a cache file either, horribly enough.
|
4668 |
|
|
# This seems to be due to autoconf 2.5x stupidity.
|
4669 |
|
|
host_configargs="--cache-file=./config.cache --build=${build_alias} --host=${host_alias} --target=${target_alias} ${extra_host_args} ${baseargs}"
|
4670 |
|
|
|
4671 |
|
|
target_configargs=${baseargs}
|
4672 |
|
|
|
4673 |
|
|
# Passing a --with-cross-host argument lets the target libraries know
|
4674 |
|
|
# whether they are being built with a cross-compiler or being built
|
4675 |
|
|
# native. However, it would be better to use other mechanisms to make the
|
4676 |
|
|
# sorts of decisions they want to make on this basis. Please consider
|
4677 |
|
|
# this option to be deprecated. FIXME.
|
4678 |
|
|
if test x${is_cross_compiler} = xyes ; then
|
4679 |
|
|
target_configargs="--with-cross-host=${host_alias} ${target_configargs}"
|
4680 |
|
|
fi
|
4681 |
|
|
|
4682 |
|
|
# Default to --enable-multilib.
|
4683 |
|
|
if test x${enable_multilib} = x ; then
|
4684 |
|
|
target_configargs="--enable-multilib ${target_configargs}"
|
4685 |
|
|
fi
|
4686 |
|
|
|
4687 |
|
|
# Pass --with-newlib if appropriate. Note that target_configdirs has
|
4688 |
|
|
# changed from the earlier setting of with_newlib.
|
4689 |
|
|
if test x${with_newlib} != xno && echo " ${target_configdirs} " | grep " newlib " > /dev/null 2>&1 && test -d ${srcdir}/newlib ; then
|
4690 |
|
|
target_configargs="--with-newlib ${target_configargs}"
|
4691 |
|
|
fi
|
4692 |
|
|
|
4693 |
|
|
# Different target subdirs use different values of certain variables
|
4694 |
|
|
# (notably CXX). Worse, multilibs use *lots* of different values.
|
4695 |
|
|
# Worse yet, autoconf 2.5x makes some of these 'precious', meaning that
|
4696 |
|
|
# it doesn't automatically accept command-line overrides of them.
|
4697 |
|
|
# This means it's not safe for target subdirs to share a cache file,
|
4698 |
|
|
# which is disgusting, but there you have it. Hopefully this can be
|
4699 |
|
|
# fixed in future. It's still worthwhile to use a cache file for each
|
4700 |
|
|
# directory. I think.
|
4701 |
|
|
|
4702 |
|
|
# Pass the appropriate --build, --host, --target and --cache-file arguments.
|
4703 |
|
|
# We need to pass --target, as newer autoconf's requires consistency
|
4704 |
|
|
# for target_alias and gcc doesn't manage it consistently.
|
4705 |
|
|
target_configargs="--cache-file=./config.cache --build=${build_alias} --host=${target_alias} --target=${target_alias} ${target_configargs}"
|
4706 |
|
|
|
4707 |
|
|
FLAGS_FOR_TARGET=
|
4708 |
|
|
case " $target_configdirs " in
|
4709 |
|
|
*" newlib "*)
|
4710 |
|
|
case " $target_configargs " in
|
4711 |
|
|
*" --with-newlib "*)
|
4712 |
|
|
case "$target" in
|
4713 |
|
|
*-cygwin*)
|
4714 |
|
|
FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/winsup -L$$r/$(TARGET_SUBDIR)/winsup/cygwin -L$$r/$(TARGET_SUBDIR)/winsup/w32api/lib -isystem $$s/winsup/include -isystem $$s/winsup/cygwin/include -isystem $$s/winsup/w32api/include' ;;
|
4715 |
|
|
esac
|
4716 |
|
|
|
4717 |
|
|
# If we're not building GCC, don't discard standard headers.
|
4718 |
|
|
if test -d ${srcdir}/gcc; then
|
4719 |
|
|
FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -nostdinc'
|
4720 |
|
|
|
4721 |
|
|
if test "${build}" != "${host}"; then
|
4722 |
|
|
# On Canadian crosses, CC_FOR_TARGET will have already been set
|
4723 |
|
|
# by `configure', so we won't have an opportunity to add -Bgcc/
|
4724 |
|
|
# to it. This is right: we don't want to search that directory
|
4725 |
|
|
# for binaries, but we want the header files in there, so add
|
4726 |
|
|
# them explicitly.
|
4727 |
|
|
FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include'
|
4728 |
|
|
|
4729 |
|
|
# Someone might think of using the pre-installed headers on
|
4730 |
|
|
# Canadian crosses, in case the installed compiler is not fully
|
4731 |
|
|
# compatible with the compiler being built. In this case, it
|
4732 |
|
|
# would be better to flag an error than risking having
|
4733 |
|
|
# incompatible object files being constructed. We can't
|
4734 |
|
|
# guarantee that an error will be flagged, but let's hope the
|
4735 |
|
|
# compiler will do it, when presented with incompatible header
|
4736 |
|
|
# files.
|
4737 |
|
|
fi
|
4738 |
|
|
fi
|
4739 |
|
|
|
4740 |
|
|
case "${target}-${is_cross_compiler}" in
|
4741 |
|
|
i[3456789]86-*-linux*-no)
|
4742 |
|
|
# Here host == target, so we don't need to build gcc,
|
4743 |
|
|
# so we don't want to discard standard headers.
|
4744 |
|
|
FLAGS_FOR_TARGET=`echo " $FLAGS_FOR_TARGET " | sed -e 's/ -nostdinc / /'`
|
4745 |
|
|
;;
|
4746 |
|
|
*)
|
4747 |
|
|
# If we're building newlib, use its generic headers last, but search
|
4748 |
|
|
# for any libc-related directories first (so make it the last -B
|
4749 |
|
|
# switch).
|
4750 |
|
|
FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/newlib/ -isystem $$r/$(TARGET_SUBDIR)/newlib/targ-include -isystem $$s/newlib/libc/include'
|
4751 |
|
|
;;
|
4752 |
|
|
esac
|
4753 |
|
|
;;
|
4754 |
|
|
esac
|
4755 |
|
|
;;
|
4756 |
|
|
esac
|
4757 |
|
|
|
4758 |
|
|
# Allow the user to override the flags for
|
4759 |
|
|
# our build compiler if desired.
|
4760 |
|
|
CFLAGS_FOR_BUILD=${CFLAGS_FOR_BUILD-${CFLAGS}}
|
4761 |
|
|
|
4762 |
|
|
# On Canadian crosses, we'll be searching the right directories for
|
4763 |
|
|
# the previously-installed cross compiler, so don't bother to add
|
4764 |
|
|
# flags for directories within the install tree of the compiler
|
4765 |
|
|
# being built; programs in there won't even run.
|
4766 |
|
|
if test "${build}" = "${host}" && test -d ${srcdir}/gcc; then
|
4767 |
|
|
# Search for pre-installed headers if nothing else fits.
|
4768 |
|
|
FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include'
|
4769 |
|
|
fi
|
4770 |
|
|
|
4771 |
|
|
if test "x${use_gnu_ld}" = x &&
|
4772 |
|
|
echo " ${configdirs} " | grep " ld " > /dev/null ; then
|
4773 |
|
|
# Arrange for us to find uninstalled linker scripts.
|
4774 |
|
|
FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(HOST_SUBDIR)/ld'
|
4775 |
|
|
fi
|
4776 |
|
|
|
4777 |
|
|
# Makefile fragments.
|
4778 |
|
|
for frag in host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag;
|
4779 |
|
|
do
|
4780 |
|
|
eval fragval=\$$frag
|
4781 |
|
|
if test $fragval != /dev/null; then
|
4782 |
|
|
eval $frag=${srcdir}/$fragval
|
4783 |
|
|
fi
|
4784 |
|
|
done
|
4785 |
|
|
|
4786 |
|
|
|
4787 |
|
|
|
4788 |
|
|
|
4789 |
|
|
|
4790 |
|
|
# Miscellanea: directories, flags, etc.
|
4791 |
|
|
|
4792 |
|
|
|
4793 |
|
|
|
4794 |
|
|
|
4795 |
|
|
|
4796 |
|
|
|
4797 |
|
|
|
4798 |
|
|
|
4799 |
|
|
|
4800 |
|
|
# Build module lists & subconfigure args.
|
4801 |
|
|
|
4802 |
|
|
|
4803 |
|
|
|
4804 |
|
|
# Host module lists & subconfigure args.
|
4805 |
|
|
|
4806 |
|
|
|
4807 |
|
|
|
4808 |
|
|
# Target module lists & subconfigure args.
|
4809 |
|
|
|
4810 |
|
|
|
4811 |
|
|
|
4812 |
|
|
# Build tools.
|
4813 |
|
|
|
4814 |
|
|
|
4815 |
|
|
|
4816 |
|
|
# Generate default definitions for YACC, M4, LEX and other programs that run
|
4817 |
|
|
# on the build machine. These are used if the Makefile can't locate these
|
4818 |
|
|
# programs in objdir.
|
4819 |
|
|
MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
|
4820 |
|
|
|
4821 |
|
|
for ac_prog in 'bison -y' byacc yacc
|
4822 |
|
|
do
|
4823 |
|
|
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
4824 |
|
|
set dummy $ac_prog; ac_word=$2
|
4825 |
|
|
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
4826 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
4827 |
|
|
if test "${ac_cv_prog_YACC+set}" = set; then
|
4828 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
4829 |
|
|
else
|
4830 |
|
|
if test -n "$YACC"; then
|
4831 |
|
|
ac_cv_prog_YACC="$YACC" # Let the user override the test.
|
4832 |
|
|
else
|
4833 |
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
4834 |
|
|
for as_dir in $PATH
|
4835 |
|
|
do
|
4836 |
|
|
IFS=$as_save_IFS
|
4837 |
|
|
test -z "$as_dir" && as_dir=.
|
4838 |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
4839 |
|
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
4840 |
|
|
ac_cv_prog_YACC="$ac_prog"
|
4841 |
|
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
4842 |
|
|
break 2
|
4843 |
|
|
fi
|
4844 |
|
|
done
|
4845 |
|
|
done
|
4846 |
|
|
|
4847 |
|
|
fi
|
4848 |
|
|
fi
|
4849 |
|
|
YACC=$ac_cv_prog_YACC
|
4850 |
|
|
if test -n "$YACC"; then
|
4851 |
|
|
echo "$as_me:$LINENO: result: $YACC" >&5
|
4852 |
|
|
echo "${ECHO_T}$YACC" >&6
|
4853 |
|
|
else
|
4854 |
|
|
echo "$as_me:$LINENO: result: no" >&5
|
4855 |
|
|
echo "${ECHO_T}no" >&6
|
4856 |
|
|
fi
|
4857 |
|
|
|
4858 |
|
|
test -n "$YACC" && break
|
4859 |
|
|
done
|
4860 |
|
|
test -n "$YACC" || YACC="$MISSING bison -y"
|
4861 |
|
|
|
4862 |
|
|
case " $build_configdirs " in
|
4863 |
|
|
*" bison "*) YACC='$$r/$(BUILD_SUBDIR)/bison/tests/bison -y' ;;
|
4864 |
|
|
*" byacc "*) YACC='$$r/$(BUILD_SUBDIR)/byacc/byacc' ;;
|
4865 |
|
|
esac
|
4866 |
|
|
|
4867 |
|
|
for ac_prog in bison
|
4868 |
|
|
do
|
4869 |
|
|
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
4870 |
|
|
set dummy $ac_prog; ac_word=$2
|
4871 |
|
|
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
4872 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
4873 |
|
|
if test "${ac_cv_prog_BISON+set}" = set; then
|
4874 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
4875 |
|
|
else
|
4876 |
|
|
if test -n "$BISON"; then
|
4877 |
|
|
ac_cv_prog_BISON="$BISON" # Let the user override the test.
|
4878 |
|
|
else
|
4879 |
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
4880 |
|
|
for as_dir in $PATH
|
4881 |
|
|
do
|
4882 |
|
|
IFS=$as_save_IFS
|
4883 |
|
|
test -z "$as_dir" && as_dir=.
|
4884 |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
4885 |
|
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
4886 |
|
|
ac_cv_prog_BISON="$ac_prog"
|
4887 |
|
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
4888 |
|
|
break 2
|
4889 |
|
|
fi
|
4890 |
|
|
done
|
4891 |
|
|
done
|
4892 |
|
|
|
4893 |
|
|
fi
|
4894 |
|
|
fi
|
4895 |
|
|
BISON=$ac_cv_prog_BISON
|
4896 |
|
|
if test -n "$BISON"; then
|
4897 |
|
|
echo "$as_me:$LINENO: result: $BISON" >&5
|
4898 |
|
|
echo "${ECHO_T}$BISON" >&6
|
4899 |
|
|
else
|
4900 |
|
|
echo "$as_me:$LINENO: result: no" >&5
|
4901 |
|
|
echo "${ECHO_T}no" >&6
|
4902 |
|
|
fi
|
4903 |
|
|
|
4904 |
|
|
test -n "$BISON" && break
|
4905 |
|
|
done
|
4906 |
|
|
test -n "$BISON" || BISON="$MISSING bison"
|
4907 |
|
|
|
4908 |
|
|
case " $build_configdirs " in
|
4909 |
|
|
*" bison "*) BISON='$$r/$(BUILD_SUBDIR)/bison/tests/bison' ;;
|
4910 |
|
|
esac
|
4911 |
|
|
|
4912 |
|
|
for ac_prog in gm4 gnum4 m4
|
4913 |
|
|
do
|
4914 |
|
|
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
4915 |
|
|
set dummy $ac_prog; ac_word=$2
|
4916 |
|
|
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
4917 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
4918 |
|
|
if test "${ac_cv_prog_M4+set}" = set; then
|
4919 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
4920 |
|
|
else
|
4921 |
|
|
if test -n "$M4"; then
|
4922 |
|
|
ac_cv_prog_M4="$M4" # Let the user override the test.
|
4923 |
|
|
else
|
4924 |
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
4925 |
|
|
for as_dir in $PATH
|
4926 |
|
|
do
|
4927 |
|
|
IFS=$as_save_IFS
|
4928 |
|
|
test -z "$as_dir" && as_dir=.
|
4929 |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
4930 |
|
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
4931 |
|
|
ac_cv_prog_M4="$ac_prog"
|
4932 |
|
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
4933 |
|
|
break 2
|
4934 |
|
|
fi
|
4935 |
|
|
done
|
4936 |
|
|
done
|
4937 |
|
|
|
4938 |
|
|
fi
|
4939 |
|
|
fi
|
4940 |
|
|
M4=$ac_cv_prog_M4
|
4941 |
|
|
if test -n "$M4"; then
|
4942 |
|
|
echo "$as_me:$LINENO: result: $M4" >&5
|
4943 |
|
|
echo "${ECHO_T}$M4" >&6
|
4944 |
|
|
else
|
4945 |
|
|
echo "$as_me:$LINENO: result: no" >&5
|
4946 |
|
|
echo "${ECHO_T}no" >&6
|
4947 |
|
|
fi
|
4948 |
|
|
|
4949 |
|
|
test -n "$M4" && break
|
4950 |
|
|
done
|
4951 |
|
|
test -n "$M4" || M4="$MISSING m4"
|
4952 |
|
|
|
4953 |
|
|
case " $build_configdirs " in
|
4954 |
|
|
*" m4 "*) M4='$$r/$(BUILD_SUBDIR)/m4/m4' ;;
|
4955 |
|
|
esac
|
4956 |
|
|
|
4957 |
|
|
for ac_prog in flex lex
|
4958 |
|
|
do
|
4959 |
|
|
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
4960 |
|
|
set dummy $ac_prog; ac_word=$2
|
4961 |
|
|
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
4962 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
4963 |
|
|
if test "${ac_cv_prog_LEX+set}" = set; then
|
4964 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
4965 |
|
|
else
|
4966 |
|
|
if test -n "$LEX"; then
|
4967 |
|
|
ac_cv_prog_LEX="$LEX" # Let the user override the test.
|
4968 |
|
|
else
|
4969 |
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
4970 |
|
|
for as_dir in $PATH
|
4971 |
|
|
do
|
4972 |
|
|
IFS=$as_save_IFS
|
4973 |
|
|
test -z "$as_dir" && as_dir=.
|
4974 |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
4975 |
|
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
4976 |
|
|
ac_cv_prog_LEX="$ac_prog"
|
4977 |
|
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
4978 |
|
|
break 2
|
4979 |
|
|
fi
|
4980 |
|
|
done
|
4981 |
|
|
done
|
4982 |
|
|
|
4983 |
|
|
fi
|
4984 |
|
|
fi
|
4985 |
|
|
LEX=$ac_cv_prog_LEX
|
4986 |
|
|
if test -n "$LEX"; then
|
4987 |
|
|
echo "$as_me:$LINENO: result: $LEX" >&5
|
4988 |
|
|
echo "${ECHO_T}$LEX" >&6
|
4989 |
|
|
else
|
4990 |
|
|
echo "$as_me:$LINENO: result: no" >&5
|
4991 |
|
|
echo "${ECHO_T}no" >&6
|
4992 |
|
|
fi
|
4993 |
|
|
|
4994 |
|
|
test -n "$LEX" && break
|
4995 |
|
|
done
|
4996 |
|
|
test -n "$LEX" || LEX="$MISSING flex"
|
4997 |
|
|
|
4998 |
|
|
case " $build_configdirs " in
|
4999 |
|
|
*" flex "*) LEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
|
5000 |
|
|
*" lex "*) LEX='$$r/$(BUILD_SUBDIR)/lex/lex' ;;
|
5001 |
|
|
esac
|
5002 |
|
|
|
5003 |
|
|
for ac_prog in flex
|
5004 |
|
|
do
|
5005 |
|
|
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
5006 |
|
|
set dummy $ac_prog; ac_word=$2
|
5007 |
|
|
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
5008 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
5009 |
|
|
if test "${ac_cv_prog_FLEX+set}" = set; then
|
5010 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
5011 |
|
|
else
|
5012 |
|
|
if test -n "$FLEX"; then
|
5013 |
|
|
ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
|
5014 |
|
|
else
|
5015 |
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
5016 |
|
|
for as_dir in $PATH
|
5017 |
|
|
do
|
5018 |
|
|
IFS=$as_save_IFS
|
5019 |
|
|
test -z "$as_dir" && as_dir=.
|
5020 |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
5021 |
|
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
5022 |
|
|
ac_cv_prog_FLEX="$ac_prog"
|
5023 |
|
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
5024 |
|
|
break 2
|
5025 |
|
|
fi
|
5026 |
|
|
done
|
5027 |
|
|
done
|
5028 |
|
|
|
5029 |
|
|
fi
|
5030 |
|
|
fi
|
5031 |
|
|
FLEX=$ac_cv_prog_FLEX
|
5032 |
|
|
if test -n "$FLEX"; then
|
5033 |
|
|
echo "$as_me:$LINENO: result: $FLEX" >&5
|
5034 |
|
|
echo "${ECHO_T}$FLEX" >&6
|
5035 |
|
|
else
|
5036 |
|
|
echo "$as_me:$LINENO: result: no" >&5
|
5037 |
|
|
echo "${ECHO_T}no" >&6
|
5038 |
|
|
fi
|
5039 |
|
|
|
5040 |
|
|
test -n "$FLEX" && break
|
5041 |
|
|
done
|
5042 |
|
|
test -n "$FLEX" || FLEX="$MISSING flex"
|
5043 |
|
|
|
5044 |
|
|
case " $build_configdirs " in
|
5045 |
|
|
*" flex "*) FLEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
|
5046 |
|
|
esac
|
5047 |
|
|
|
5048 |
|
|
for ac_prog in makeinfo
|
5049 |
|
|
do
|
5050 |
|
|
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
5051 |
|
|
set dummy $ac_prog; ac_word=$2
|
5052 |
|
|
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
5053 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
5054 |
|
|
if test "${ac_cv_prog_MAKEINFO+set}" = set; then
|
5055 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
5056 |
|
|
else
|
5057 |
|
|
if test -n "$MAKEINFO"; then
|
5058 |
|
|
ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
|
5059 |
|
|
else
|
5060 |
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
5061 |
|
|
for as_dir in $PATH
|
5062 |
|
|
do
|
5063 |
|
|
IFS=$as_save_IFS
|
5064 |
|
|
test -z "$as_dir" && as_dir=.
|
5065 |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
5066 |
|
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
5067 |
|
|
ac_cv_prog_MAKEINFO="$ac_prog"
|
5068 |
|
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
5069 |
|
|
break 2
|
5070 |
|
|
fi
|
5071 |
|
|
done
|
5072 |
|
|
done
|
5073 |
|
|
|
5074 |
|
|
fi
|
5075 |
|
|
fi
|
5076 |
|
|
MAKEINFO=$ac_cv_prog_MAKEINFO
|
5077 |
|
|
if test -n "$MAKEINFO"; then
|
5078 |
|
|
echo "$as_me:$LINENO: result: $MAKEINFO" >&5
|
5079 |
|
|
echo "${ECHO_T}$MAKEINFO" >&6
|
5080 |
|
|
else
|
5081 |
|
|
echo "$as_me:$LINENO: result: no" >&5
|
5082 |
|
|
echo "${ECHO_T}no" >&6
|
5083 |
|
|
fi
|
5084 |
|
|
|
5085 |
|
|
test -n "$MAKEINFO" && break
|
5086 |
|
|
done
|
5087 |
|
|
test -n "$MAKEINFO" || MAKEINFO="$MISSING makeinfo"
|
5088 |
|
|
|
5089 |
|
|
case " $build_configdirs " in
|
5090 |
|
|
*" texinfo "*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;;
|
5091 |
|
|
*)
|
5092 |
|
|
|
5093 |
|
|
# For an installed makeinfo, we require it to be from texinfo 4.2 or
|
5094 |
|
|
# higher, else we use the "missing" dummy.
|
5095 |
|
|
if ${MAKEINFO} --version \
|
5096 |
|
|
| egrep 'texinfo[^0-9]*([1-3][0-9]|4\.[2-9]|[5-9])' >/dev/null 2>&1; then
|
5097 |
|
|
:
|
5098 |
|
|
else
|
5099 |
|
|
MAKEINFO="$MISSING makeinfo"
|
5100 |
|
|
fi
|
5101 |
|
|
;;
|
5102 |
|
|
|
5103 |
|
|
esac
|
5104 |
|
|
|
5105 |
|
|
# FIXME: expect and dejagnu may become build tools?
|
5106 |
|
|
|
5107 |
|
|
for ac_prog in expect
|
5108 |
|
|
do
|
5109 |
|
|
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
5110 |
|
|
set dummy $ac_prog; ac_word=$2
|
5111 |
|
|
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
5112 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
5113 |
|
|
if test "${ac_cv_prog_EXPECT+set}" = set; then
|
5114 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
5115 |
|
|
else
|
5116 |
|
|
if test -n "$EXPECT"; then
|
5117 |
|
|
ac_cv_prog_EXPECT="$EXPECT" # Let the user override the test.
|
5118 |
|
|
else
|
5119 |
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
5120 |
|
|
for as_dir in $PATH
|
5121 |
|
|
do
|
5122 |
|
|
IFS=$as_save_IFS
|
5123 |
|
|
test -z "$as_dir" && as_dir=.
|
5124 |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
5125 |
|
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
5126 |
|
|
ac_cv_prog_EXPECT="$ac_prog"
|
5127 |
|
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
5128 |
|
|
break 2
|
5129 |
|
|
fi
|
5130 |
|
|
done
|
5131 |
|
|
done
|
5132 |
|
|
|
5133 |
|
|
fi
|
5134 |
|
|
fi
|
5135 |
|
|
EXPECT=$ac_cv_prog_EXPECT
|
5136 |
|
|
if test -n "$EXPECT"; then
|
5137 |
|
|
echo "$as_me:$LINENO: result: $EXPECT" >&5
|
5138 |
|
|
echo "${ECHO_T}$EXPECT" >&6
|
5139 |
|
|
else
|
5140 |
|
|
echo "$as_me:$LINENO: result: no" >&5
|
5141 |
|
|
echo "${ECHO_T}no" >&6
|
5142 |
|
|
fi
|
5143 |
|
|
|
5144 |
|
|
test -n "$EXPECT" && break
|
5145 |
|
|
done
|
5146 |
|
|
test -n "$EXPECT" || EXPECT="expect"
|
5147 |
|
|
|
5148 |
|
|
case " $configdirs " in
|
5149 |
|
|
*" expect "*)
|
5150 |
|
|
test $host = $build && EXPECT='$$r/$(HOST_SUBDIR)/expect/expect'
|
5151 |
|
|
;;
|
5152 |
|
|
esac
|
5153 |
|
|
|
5154 |
|
|
for ac_prog in runtest
|
5155 |
|
|
do
|
5156 |
|
|
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
5157 |
|
|
set dummy $ac_prog; ac_word=$2
|
5158 |
|
|
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
5159 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
5160 |
|
|
if test "${ac_cv_prog_RUNTEST+set}" = set; then
|
5161 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
5162 |
|
|
else
|
5163 |
|
|
if test -n "$RUNTEST"; then
|
5164 |
|
|
ac_cv_prog_RUNTEST="$RUNTEST" # Let the user override the test.
|
5165 |
|
|
else
|
5166 |
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
5167 |
|
|
for as_dir in $PATH
|
5168 |
|
|
do
|
5169 |
|
|
IFS=$as_save_IFS
|
5170 |
|
|
test -z "$as_dir" && as_dir=.
|
5171 |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
5172 |
|
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
5173 |
|
|
ac_cv_prog_RUNTEST="$ac_prog"
|
5174 |
|
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
5175 |
|
|
break 2
|
5176 |
|
|
fi
|
5177 |
|
|
done
|
5178 |
|
|
done
|
5179 |
|
|
|
5180 |
|
|
fi
|
5181 |
|
|
fi
|
5182 |
|
|
RUNTEST=$ac_cv_prog_RUNTEST
|
5183 |
|
|
if test -n "$RUNTEST"; then
|
5184 |
|
|
echo "$as_me:$LINENO: result: $RUNTEST" >&5
|
5185 |
|
|
echo "${ECHO_T}$RUNTEST" >&6
|
5186 |
|
|
else
|
5187 |
|
|
echo "$as_me:$LINENO: result: no" >&5
|
5188 |
|
|
echo "${ECHO_T}no" >&6
|
5189 |
|
|
fi
|
5190 |
|
|
|
5191 |
|
|
test -n "$RUNTEST" && break
|
5192 |
|
|
done
|
5193 |
|
|
test -n "$RUNTEST" || RUNTEST="runtest"
|
5194 |
|
|
|
5195 |
|
|
case " $configdirs " in
|
5196 |
|
|
*" dejagnu "*)
|
5197 |
|
|
test $host = $build && RUNTEST='$$r/$(HOST_SUBDIR)/dejagnu/runtest'
|
5198 |
|
|
;;
|
5199 |
|
|
esac
|
5200 |
|
|
|
5201 |
|
|
|
5202 |
|
|
# Host tools.
|
5203 |
|
|
ncn_tool_prefix=
|
5204 |
|
|
test -n "$host_alias" && ncn_tool_prefix=$host_alias-
|
5205 |
|
|
ncn_target_tool_prefix=
|
5206 |
|
|
test -n "$target_alias" && ncn_target_tool_prefix=$target_alias-
|
5207 |
|
|
|
5208 |
|
|
for ncn_progname in ar; do
|
5209 |
|
|
if test -n "$ncn_tool_prefix"; then
|
5210 |
|
|
# Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
|
5211 |
|
|
set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
|
5212 |
|
|
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
5213 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
5214 |
|
|
if test "${ac_cv_prog_AR+set}" = set; then
|
5215 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
5216 |
|
|
else
|
5217 |
|
|
if test -n "$AR"; then
|
5218 |
|
|
ac_cv_prog_AR="$AR" # Let the user override the test.
|
5219 |
|
|
else
|
5220 |
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
5221 |
|
|
for as_dir in $PATH
|
5222 |
|
|
do
|
5223 |
|
|
IFS=$as_save_IFS
|
5224 |
|
|
test -z "$as_dir" && as_dir=.
|
5225 |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
5226 |
|
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
5227 |
|
|
ac_cv_prog_AR="${ncn_tool_prefix}${ncn_progname}"
|
5228 |
|
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
5229 |
|
|
break 2
|
5230 |
|
|
fi
|
5231 |
|
|
done
|
5232 |
|
|
done
|
5233 |
|
|
|
5234 |
|
|
fi
|
5235 |
|
|
fi
|
5236 |
|
|
AR=$ac_cv_prog_AR
|
5237 |
|
|
if test -n "$AR"; then
|
5238 |
|
|
echo "$as_me:$LINENO: result: $AR" >&5
|
5239 |
|
|
echo "${ECHO_T}$AR" >&6
|
5240 |
|
|
else
|
5241 |
|
|
echo "$as_me:$LINENO: result: no" >&5
|
5242 |
|
|
echo "${ECHO_T}no" >&6
|
5243 |
|
|
fi
|
5244 |
|
|
|
5245 |
|
|
fi
|
5246 |
|
|
if test -z "$ac_cv_prog_AR" && test $build = $host ; then
|
5247 |
|
|
# Extract the first word of "${ncn_progname}", so it can be a program name with args.
|
5248 |
|
|
set dummy ${ncn_progname}; ac_word=$2
|
5249 |
|
|
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
5250 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
5251 |
|
|
if test "${ac_cv_prog_AR+set}" = set; then
|
5252 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
5253 |
|
|
else
|
5254 |
|
|
if test -n "$AR"; then
|
5255 |
|
|
ac_cv_prog_AR="$AR" # Let the user override the test.
|
5256 |
|
|
else
|
5257 |
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
5258 |
|
|
for as_dir in $PATH
|
5259 |
|
|
do
|
5260 |
|
|
IFS=$as_save_IFS
|
5261 |
|
|
test -z "$as_dir" && as_dir=.
|
5262 |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
5263 |
|
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
5264 |
|
|
ac_cv_prog_AR="${ncn_progname}"
|
5265 |
|
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
5266 |
|
|
break 2
|
5267 |
|
|
fi
|
5268 |
|
|
done
|
5269 |
|
|
done
|
5270 |
|
|
|
5271 |
|
|
fi
|
5272 |
|
|
fi
|
5273 |
|
|
AR=$ac_cv_prog_AR
|
5274 |
|
|
if test -n "$AR"; then
|
5275 |
|
|
echo "$as_me:$LINENO: result: $AR" >&5
|
5276 |
|
|
echo "${ECHO_T}$AR" >&6
|
5277 |
|
|
else
|
5278 |
|
|
echo "$as_me:$LINENO: result: no" >&5
|
5279 |
|
|
echo "${ECHO_T}no" >&6
|
5280 |
|
|
fi
|
5281 |
|
|
|
5282 |
|
|
fi
|
5283 |
|
|
test -n "$ac_cv_prog_AR" && break
|
5284 |
|
|
done
|
5285 |
|
|
|
5286 |
|
|
if test -z "$ac_cv_prog_AR" ; then
|
5287 |
|
|
set dummy ar
|
5288 |
|
|
if test $build = $host ; then
|
5289 |
|
|
AR="$2"
|
5290 |
|
|
else
|
5291 |
|
|
AR="${ncn_tool_prefix}$2"
|
5292 |
|
|
fi
|
5293 |
|
|
fi
|
5294 |
|
|
|
5295 |
|
|
for ncn_progname in as; do
|
5296 |
|
|
if test -n "$ncn_tool_prefix"; then
|
5297 |
|
|
# Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
|
5298 |
|
|
set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
|
5299 |
|
|
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
5300 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
5301 |
|
|
if test "${ac_cv_prog_AS+set}" = set; then
|
5302 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
5303 |
|
|
else
|
5304 |
|
|
if test -n "$AS"; then
|
5305 |
|
|
ac_cv_prog_AS="$AS" # Let the user override the test.
|
5306 |
|
|
else
|
5307 |
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
5308 |
|
|
for as_dir in $PATH
|
5309 |
|
|
do
|
5310 |
|
|
IFS=$as_save_IFS
|
5311 |
|
|
test -z "$as_dir" && as_dir=.
|
5312 |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
5313 |
|
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
5314 |
|
|
ac_cv_prog_AS="${ncn_tool_prefix}${ncn_progname}"
|
5315 |
|
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
5316 |
|
|
break 2
|
5317 |
|
|
fi
|
5318 |
|
|
done
|
5319 |
|
|
done
|
5320 |
|
|
|
5321 |
|
|
fi
|
5322 |
|
|
fi
|
5323 |
|
|
AS=$ac_cv_prog_AS
|
5324 |
|
|
if test -n "$AS"; then
|
5325 |
|
|
echo "$as_me:$LINENO: result: $AS" >&5
|
5326 |
|
|
echo "${ECHO_T}$AS" >&6
|
5327 |
|
|
else
|
5328 |
|
|
echo "$as_me:$LINENO: result: no" >&5
|
5329 |
|
|
echo "${ECHO_T}no" >&6
|
5330 |
|
|
fi
|
5331 |
|
|
|
5332 |
|
|
fi
|
5333 |
|
|
if test -z "$ac_cv_prog_AS" && test $build = $host ; then
|
5334 |
|
|
# Extract the first word of "${ncn_progname}", so it can be a program name with args.
|
5335 |
|
|
set dummy ${ncn_progname}; ac_word=$2
|
5336 |
|
|
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
5337 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
5338 |
|
|
if test "${ac_cv_prog_AS+set}" = set; then
|
5339 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
5340 |
|
|
else
|
5341 |
|
|
if test -n "$AS"; then
|
5342 |
|
|
ac_cv_prog_AS="$AS" # Let the user override the test.
|
5343 |
|
|
else
|
5344 |
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
5345 |
|
|
for as_dir in $PATH
|
5346 |
|
|
do
|
5347 |
|
|
IFS=$as_save_IFS
|
5348 |
|
|
test -z "$as_dir" && as_dir=.
|
5349 |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
5350 |
|
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
5351 |
|
|
ac_cv_prog_AS="${ncn_progname}"
|
5352 |
|
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
5353 |
|
|
break 2
|
5354 |
|
|
fi
|
5355 |
|
|
done
|
5356 |
|
|
done
|
5357 |
|
|
|
5358 |
|
|
fi
|
5359 |
|
|
fi
|
5360 |
|
|
AS=$ac_cv_prog_AS
|
5361 |
|
|
if test -n "$AS"; then
|
5362 |
|
|
echo "$as_me:$LINENO: result: $AS" >&5
|
5363 |
|
|
echo "${ECHO_T}$AS" >&6
|
5364 |
|
|
else
|
5365 |
|
|
echo "$as_me:$LINENO: result: no" >&5
|
5366 |
|
|
echo "${ECHO_T}no" >&6
|
5367 |
|
|
fi
|
5368 |
|
|
|
5369 |
|
|
fi
|
5370 |
|
|
test -n "$ac_cv_prog_AS" && break
|
5371 |
|
|
done
|
5372 |
|
|
|
5373 |
|
|
if test -z "$ac_cv_prog_AS" ; then
|
5374 |
|
|
set dummy as
|
5375 |
|
|
if test $build = $host ; then
|
5376 |
|
|
AS="$2"
|
5377 |
|
|
else
|
5378 |
|
|
AS="${ncn_tool_prefix}$2"
|
5379 |
|
|
fi
|
5380 |
|
|
fi
|
5381 |
|
|
|
5382 |
|
|
for ncn_progname in dlltool; do
|
5383 |
|
|
if test -n "$ncn_tool_prefix"; then
|
5384 |
|
|
# Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
|
5385 |
|
|
set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
|
5386 |
|
|
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
5387 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
5388 |
|
|
if test "${ac_cv_prog_DLLTOOL+set}" = set; then
|
5389 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
5390 |
|
|
else
|
5391 |
|
|
if test -n "$DLLTOOL"; then
|
5392 |
|
|
ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
|
5393 |
|
|
else
|
5394 |
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
5395 |
|
|
for as_dir in $PATH
|
5396 |
|
|
do
|
5397 |
|
|
IFS=$as_save_IFS
|
5398 |
|
|
test -z "$as_dir" && as_dir=.
|
5399 |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
5400 |
|
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
5401 |
|
|
ac_cv_prog_DLLTOOL="${ncn_tool_prefix}${ncn_progname}"
|
5402 |
|
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
5403 |
|
|
break 2
|
5404 |
|
|
fi
|
5405 |
|
|
done
|
5406 |
|
|
done
|
5407 |
|
|
|
5408 |
|
|
fi
|
5409 |
|
|
fi
|
5410 |
|
|
DLLTOOL=$ac_cv_prog_DLLTOOL
|
5411 |
|
|
if test -n "$DLLTOOL"; then
|
5412 |
|
|
echo "$as_me:$LINENO: result: $DLLTOOL" >&5
|
5413 |
|
|
echo "${ECHO_T}$DLLTOOL" >&6
|
5414 |
|
|
else
|
5415 |
|
|
echo "$as_me:$LINENO: result: no" >&5
|
5416 |
|
|
echo "${ECHO_T}no" >&6
|
5417 |
|
|
fi
|
5418 |
|
|
|
5419 |
|
|
fi
|
5420 |
|
|
if test -z "$ac_cv_prog_DLLTOOL" && test $build = $host ; then
|
5421 |
|
|
# Extract the first word of "${ncn_progname}", so it can be a program name with args.
|
5422 |
|
|
set dummy ${ncn_progname}; ac_word=$2
|
5423 |
|
|
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
5424 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
5425 |
|
|
if test "${ac_cv_prog_DLLTOOL+set}" = set; then
|
5426 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
5427 |
|
|
else
|
5428 |
|
|
if test -n "$DLLTOOL"; then
|
5429 |
|
|
ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
|
5430 |
|
|
else
|
5431 |
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
5432 |
|
|
for as_dir in $PATH
|
5433 |
|
|
do
|
5434 |
|
|
IFS=$as_save_IFS
|
5435 |
|
|
test -z "$as_dir" && as_dir=.
|
5436 |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
5437 |
|
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
5438 |
|
|
ac_cv_prog_DLLTOOL="${ncn_progname}"
|
5439 |
|
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
5440 |
|
|
break 2
|
5441 |
|
|
fi
|
5442 |
|
|
done
|
5443 |
|
|
done
|
5444 |
|
|
|
5445 |
|
|
fi
|
5446 |
|
|
fi
|
5447 |
|
|
DLLTOOL=$ac_cv_prog_DLLTOOL
|
5448 |
|
|
if test -n "$DLLTOOL"; then
|
5449 |
|
|
echo "$as_me:$LINENO: result: $DLLTOOL" >&5
|
5450 |
|
|
echo "${ECHO_T}$DLLTOOL" >&6
|
5451 |
|
|
else
|
5452 |
|
|
echo "$as_me:$LINENO: result: no" >&5
|
5453 |
|
|
echo "${ECHO_T}no" >&6
|
5454 |
|
|
fi
|
5455 |
|
|
|
5456 |
|
|
fi
|
5457 |
|
|
test -n "$ac_cv_prog_DLLTOOL" && break
|
5458 |
|
|
done
|
5459 |
|
|
|
5460 |
|
|
if test -z "$ac_cv_prog_DLLTOOL" ; then
|
5461 |
|
|
set dummy dlltool
|
5462 |
|
|
if test $build = $host ; then
|
5463 |
|
|
DLLTOOL="$2"
|
5464 |
|
|
else
|
5465 |
|
|
DLLTOOL="${ncn_tool_prefix}$2"
|
5466 |
|
|
fi
|
5467 |
|
|
fi
|
5468 |
|
|
|
5469 |
|
|
for ncn_progname in ld; do
|
5470 |
|
|
if test -n "$ncn_tool_prefix"; then
|
5471 |
|
|
# Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
|
5472 |
|
|
set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
|
5473 |
|
|
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
5474 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
5475 |
|
|
if test "${ac_cv_prog_LD+set}" = set; then
|
5476 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
5477 |
|
|
else
|
5478 |
|
|
if test -n "$LD"; then
|
5479 |
|
|
ac_cv_prog_LD="$LD" # Let the user override the test.
|
5480 |
|
|
else
|
5481 |
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
5482 |
|
|
for as_dir in $PATH
|
5483 |
|
|
do
|
5484 |
|
|
IFS=$as_save_IFS
|
5485 |
|
|
test -z "$as_dir" && as_dir=.
|
5486 |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
5487 |
|
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
5488 |
|
|
ac_cv_prog_LD="${ncn_tool_prefix}${ncn_progname}"
|
5489 |
|
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
5490 |
|
|
break 2
|
5491 |
|
|
fi
|
5492 |
|
|
done
|
5493 |
|
|
done
|
5494 |
|
|
|
5495 |
|
|
fi
|
5496 |
|
|
fi
|
5497 |
|
|
LD=$ac_cv_prog_LD
|
5498 |
|
|
if test -n "$LD"; then
|
5499 |
|
|
echo "$as_me:$LINENO: result: $LD" >&5
|
5500 |
|
|
echo "${ECHO_T}$LD" >&6
|
5501 |
|
|
else
|
5502 |
|
|
echo "$as_me:$LINENO: result: no" >&5
|
5503 |
|
|
echo "${ECHO_T}no" >&6
|
5504 |
|
|
fi
|
5505 |
|
|
|
5506 |
|
|
fi
|
5507 |
|
|
if test -z "$ac_cv_prog_LD" && test $build = $host ; then
|
5508 |
|
|
# Extract the first word of "${ncn_progname}", so it can be a program name with args.
|
5509 |
|
|
set dummy ${ncn_progname}; ac_word=$2
|
5510 |
|
|
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
5511 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
5512 |
|
|
if test "${ac_cv_prog_LD+set}" = set; then
|
5513 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
5514 |
|
|
else
|
5515 |
|
|
if test -n "$LD"; then
|
5516 |
|
|
ac_cv_prog_LD="$LD" # Let the user override the test.
|
5517 |
|
|
else
|
5518 |
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
5519 |
|
|
for as_dir in $PATH
|
5520 |
|
|
do
|
5521 |
|
|
IFS=$as_save_IFS
|
5522 |
|
|
test -z "$as_dir" && as_dir=.
|
5523 |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
5524 |
|
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
5525 |
|
|
ac_cv_prog_LD="${ncn_progname}"
|
5526 |
|
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
5527 |
|
|
break 2
|
5528 |
|
|
fi
|
5529 |
|
|
done
|
5530 |
|
|
done
|
5531 |
|
|
|
5532 |
|
|
fi
|
5533 |
|
|
fi
|
5534 |
|
|
LD=$ac_cv_prog_LD
|
5535 |
|
|
if test -n "$LD"; then
|
5536 |
|
|
echo "$as_me:$LINENO: result: $LD" >&5
|
5537 |
|
|
echo "${ECHO_T}$LD" >&6
|
5538 |
|
|
else
|
5539 |
|
|
echo "$as_me:$LINENO: result: no" >&5
|
5540 |
|
|
echo "${ECHO_T}no" >&6
|
5541 |
|
|
fi
|
5542 |
|
|
|
5543 |
|
|
fi
|
5544 |
|
|
test -n "$ac_cv_prog_LD" && break
|
5545 |
|
|
done
|
5546 |
|
|
|
5547 |
|
|
if test -z "$ac_cv_prog_LD" ; then
|
5548 |
|
|
set dummy ld
|
5549 |
|
|
if test $build = $host ; then
|
5550 |
|
|
LD="$2"
|
5551 |
|
|
else
|
5552 |
|
|
LD="${ncn_tool_prefix}$2"
|
5553 |
|
|
fi
|
5554 |
|
|
fi
|
5555 |
|
|
|
5556 |
|
|
for ncn_progname in lipo; do
|
5557 |
|
|
if test -n "$ncn_tool_prefix"; then
|
5558 |
|
|
# Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
|
5559 |
|
|
set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
|
5560 |
|
|
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
5561 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
5562 |
|
|
if test "${ac_cv_prog_LIPO+set}" = set; then
|
5563 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
5564 |
|
|
else
|
5565 |
|
|
if test -n "$LIPO"; then
|
5566 |
|
|
ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
|
5567 |
|
|
else
|
5568 |
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
5569 |
|
|
for as_dir in $PATH
|
5570 |
|
|
do
|
5571 |
|
|
IFS=$as_save_IFS
|
5572 |
|
|
test -z "$as_dir" && as_dir=.
|
5573 |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
5574 |
|
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
5575 |
|
|
ac_cv_prog_LIPO="${ncn_tool_prefix}${ncn_progname}"
|
5576 |
|
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
5577 |
|
|
break 2
|
5578 |
|
|
fi
|
5579 |
|
|
done
|
5580 |
|
|
done
|
5581 |
|
|
|
5582 |
|
|
fi
|
5583 |
|
|
fi
|
5584 |
|
|
LIPO=$ac_cv_prog_LIPO
|
5585 |
|
|
if test -n "$LIPO"; then
|
5586 |
|
|
echo "$as_me:$LINENO: result: $LIPO" >&5
|
5587 |
|
|
echo "${ECHO_T}$LIPO" >&6
|
5588 |
|
|
else
|
5589 |
|
|
echo "$as_me:$LINENO: result: no" >&5
|
5590 |
|
|
echo "${ECHO_T}no" >&6
|
5591 |
|
|
fi
|
5592 |
|
|
|
5593 |
|
|
fi
|
5594 |
|
|
if test -z "$ac_cv_prog_LIPO" && test $build = $host ; then
|
5595 |
|
|
# Extract the first word of "${ncn_progname}", so it can be a program name with args.
|
5596 |
|
|
set dummy ${ncn_progname}; ac_word=$2
|
5597 |
|
|
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
5598 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
5599 |
|
|
if test "${ac_cv_prog_LIPO+set}" = set; then
|
5600 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
5601 |
|
|
else
|
5602 |
|
|
if test -n "$LIPO"; then
|
5603 |
|
|
ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
|
5604 |
|
|
else
|
5605 |
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
5606 |
|
|
for as_dir in $PATH
|
5607 |
|
|
do
|
5608 |
|
|
IFS=$as_save_IFS
|
5609 |
|
|
test -z "$as_dir" && as_dir=.
|
5610 |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
5611 |
|
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
5612 |
|
|
ac_cv_prog_LIPO="${ncn_progname}"
|
5613 |
|
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
5614 |
|
|
break 2
|
5615 |
|
|
fi
|
5616 |
|
|
done
|
5617 |
|
|
done
|
5618 |
|
|
|
5619 |
|
|
fi
|
5620 |
|
|
fi
|
5621 |
|
|
LIPO=$ac_cv_prog_LIPO
|
5622 |
|
|
if test -n "$LIPO"; then
|
5623 |
|
|
echo "$as_me:$LINENO: result: $LIPO" >&5
|
5624 |
|
|
echo "${ECHO_T}$LIPO" >&6
|
5625 |
|
|
else
|
5626 |
|
|
echo "$as_me:$LINENO: result: no" >&5
|
5627 |
|
|
echo "${ECHO_T}no" >&6
|
5628 |
|
|
fi
|
5629 |
|
|
|
5630 |
|
|
fi
|
5631 |
|
|
test -n "$ac_cv_prog_LIPO" && break
|
5632 |
|
|
done
|
5633 |
|
|
|
5634 |
|
|
if test -z "$ac_cv_prog_LIPO" ; then
|
5635 |
|
|
set dummy lipo
|
5636 |
|
|
if test $build = $host ; then
|
5637 |
|
|
LIPO="$2"
|
5638 |
|
|
else
|
5639 |
|
|
LIPO="${ncn_tool_prefix}$2"
|
5640 |
|
|
fi
|
5641 |
|
|
fi
|
5642 |
|
|
|
5643 |
|
|
for ncn_progname in nm; do
|
5644 |
|
|
if test -n "$ncn_tool_prefix"; then
|
5645 |
|
|
# Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
|
5646 |
|
|
set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
|
5647 |
|
|
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
5648 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
5649 |
|
|
if test "${ac_cv_prog_NM+set}" = set; then
|
5650 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
5651 |
|
|
else
|
5652 |
|
|
if test -n "$NM"; then
|
5653 |
|
|
ac_cv_prog_NM="$NM" # Let the user override the test.
|
5654 |
|
|
else
|
5655 |
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
5656 |
|
|
for as_dir in $PATH
|
5657 |
|
|
do
|
5658 |
|
|
IFS=$as_save_IFS
|
5659 |
|
|
test -z "$as_dir" && as_dir=.
|
5660 |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
5661 |
|
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
5662 |
|
|
ac_cv_prog_NM="${ncn_tool_prefix}${ncn_progname}"
|
5663 |
|
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
5664 |
|
|
break 2
|
5665 |
|
|
fi
|
5666 |
|
|
done
|
5667 |
|
|
done
|
5668 |
|
|
|
5669 |
|
|
fi
|
5670 |
|
|
fi
|
5671 |
|
|
NM=$ac_cv_prog_NM
|
5672 |
|
|
if test -n "$NM"; then
|
5673 |
|
|
echo "$as_me:$LINENO: result: $NM" >&5
|
5674 |
|
|
echo "${ECHO_T}$NM" >&6
|
5675 |
|
|
else
|
5676 |
|
|
echo "$as_me:$LINENO: result: no" >&5
|
5677 |
|
|
echo "${ECHO_T}no" >&6
|
5678 |
|
|
fi
|
5679 |
|
|
|
5680 |
|
|
fi
|
5681 |
|
|
if test -z "$ac_cv_prog_NM" && test $build = $host ; then
|
5682 |
|
|
# Extract the first word of "${ncn_progname}", so it can be a program name with args.
|
5683 |
|
|
set dummy ${ncn_progname}; ac_word=$2
|
5684 |
|
|
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
5685 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
5686 |
|
|
if test "${ac_cv_prog_NM+set}" = set; then
|
5687 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
5688 |
|
|
else
|
5689 |
|
|
if test -n "$NM"; then
|
5690 |
|
|
ac_cv_prog_NM="$NM" # Let the user override the test.
|
5691 |
|
|
else
|
5692 |
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
5693 |
|
|
for as_dir in $PATH
|
5694 |
|
|
do
|
5695 |
|
|
IFS=$as_save_IFS
|
5696 |
|
|
test -z "$as_dir" && as_dir=.
|
5697 |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
5698 |
|
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
5699 |
|
|
ac_cv_prog_NM="${ncn_progname}"
|
5700 |
|
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
5701 |
|
|
break 2
|
5702 |
|
|
fi
|
5703 |
|
|
done
|
5704 |
|
|
done
|
5705 |
|
|
|
5706 |
|
|
fi
|
5707 |
|
|
fi
|
5708 |
|
|
NM=$ac_cv_prog_NM
|
5709 |
|
|
if test -n "$NM"; then
|
5710 |
|
|
echo "$as_me:$LINENO: result: $NM" >&5
|
5711 |
|
|
echo "${ECHO_T}$NM" >&6
|
5712 |
|
|
else
|
5713 |
|
|
echo "$as_me:$LINENO: result: no" >&5
|
5714 |
|
|
echo "${ECHO_T}no" >&6
|
5715 |
|
|
fi
|
5716 |
|
|
|
5717 |
|
|
fi
|
5718 |
|
|
test -n "$ac_cv_prog_NM" && break
|
5719 |
|
|
done
|
5720 |
|
|
|
5721 |
|
|
if test -z "$ac_cv_prog_NM" ; then
|
5722 |
|
|
set dummy nm
|
5723 |
|
|
if test $build = $host ; then
|
5724 |
|
|
NM="$2"
|
5725 |
|
|
else
|
5726 |
|
|
NM="${ncn_tool_prefix}$2"
|
5727 |
|
|
fi
|
5728 |
|
|
fi
|
5729 |
|
|
|
5730 |
|
|
for ncn_progname in ranlib; do
|
5731 |
|
|
if test -n "$ncn_tool_prefix"; then
|
5732 |
|
|
# Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
|
5733 |
|
|
set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
|
5734 |
|
|
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
5735 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
5736 |
|
|
if test "${ac_cv_prog_RANLIB+set}" = set; then
|
5737 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
5738 |
|
|
else
|
5739 |
|
|
if test -n "$RANLIB"; then
|
5740 |
|
|
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
|
5741 |
|
|
else
|
5742 |
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
5743 |
|
|
for as_dir in $PATH
|
5744 |
|
|
do
|
5745 |
|
|
IFS=$as_save_IFS
|
5746 |
|
|
test -z "$as_dir" && as_dir=.
|
5747 |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
5748 |
|
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
5749 |
|
|
ac_cv_prog_RANLIB="${ncn_tool_prefix}${ncn_progname}"
|
5750 |
|
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
5751 |
|
|
break 2
|
5752 |
|
|
fi
|
5753 |
|
|
done
|
5754 |
|
|
done
|
5755 |
|
|
|
5756 |
|
|
fi
|
5757 |
|
|
fi
|
5758 |
|
|
RANLIB=$ac_cv_prog_RANLIB
|
5759 |
|
|
if test -n "$RANLIB"; then
|
5760 |
|
|
echo "$as_me:$LINENO: result: $RANLIB" >&5
|
5761 |
|
|
echo "${ECHO_T}$RANLIB" >&6
|
5762 |
|
|
else
|
5763 |
|
|
echo "$as_me:$LINENO: result: no" >&5
|
5764 |
|
|
echo "${ECHO_T}no" >&6
|
5765 |
|
|
fi
|
5766 |
|
|
|
5767 |
|
|
fi
|
5768 |
|
|
if test -z "$ac_cv_prog_RANLIB" && test $build = $host ; then
|
5769 |
|
|
# Extract the first word of "${ncn_progname}", so it can be a program name with args.
|
5770 |
|
|
set dummy ${ncn_progname}; ac_word=$2
|
5771 |
|
|
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
5772 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
5773 |
|
|
if test "${ac_cv_prog_RANLIB+set}" = set; then
|
5774 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
5775 |
|
|
else
|
5776 |
|
|
if test -n "$RANLIB"; then
|
5777 |
|
|
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
|
5778 |
|
|
else
|
5779 |
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
5780 |
|
|
for as_dir in $PATH
|
5781 |
|
|
do
|
5782 |
|
|
IFS=$as_save_IFS
|
5783 |
|
|
test -z "$as_dir" && as_dir=.
|
5784 |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
5785 |
|
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
5786 |
|
|
ac_cv_prog_RANLIB="${ncn_progname}"
|
5787 |
|
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
5788 |
|
|
break 2
|
5789 |
|
|
fi
|
5790 |
|
|
done
|
5791 |
|
|
done
|
5792 |
|
|
|
5793 |
|
|
fi
|
5794 |
|
|
fi
|
5795 |
|
|
RANLIB=$ac_cv_prog_RANLIB
|
5796 |
|
|
if test -n "$RANLIB"; then
|
5797 |
|
|
echo "$as_me:$LINENO: result: $RANLIB" >&5
|
5798 |
|
|
echo "${ECHO_T}$RANLIB" >&6
|
5799 |
|
|
else
|
5800 |
|
|
echo "$as_me:$LINENO: result: no" >&5
|
5801 |
|
|
echo "${ECHO_T}no" >&6
|
5802 |
|
|
fi
|
5803 |
|
|
|
5804 |
|
|
fi
|
5805 |
|
|
test -n "$ac_cv_prog_RANLIB" && break
|
5806 |
|
|
done
|
5807 |
|
|
|
5808 |
|
|
if test -z "$ac_cv_prog_RANLIB" ; then
|
5809 |
|
|
RANLIB=":"
|
5810 |
|
|
fi
|
5811 |
|
|
|
5812 |
|
|
for ncn_progname in strip; do
|
5813 |
|
|
if test -n "$ncn_tool_prefix"; then
|
5814 |
|
|
# Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
|
5815 |
|
|
set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
|
5816 |
|
|
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
5817 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
5818 |
|
|
if test "${ac_cv_prog_STRIP+set}" = set; then
|
5819 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
5820 |
|
|
else
|
5821 |
|
|
if test -n "$STRIP"; then
|
5822 |
|
|
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
|
5823 |
|
|
else
|
5824 |
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
5825 |
|
|
for as_dir in $PATH
|
5826 |
|
|
do
|
5827 |
|
|
IFS=$as_save_IFS
|
5828 |
|
|
test -z "$as_dir" && as_dir=.
|
5829 |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
5830 |
|
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
5831 |
|
|
ac_cv_prog_STRIP="${ncn_tool_prefix}${ncn_progname}"
|
5832 |
|
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
5833 |
|
|
break 2
|
5834 |
|
|
fi
|
5835 |
|
|
done
|
5836 |
|
|
done
|
5837 |
|
|
|
5838 |
|
|
fi
|
5839 |
|
|
fi
|
5840 |
|
|
STRIP=$ac_cv_prog_STRIP
|
5841 |
|
|
if test -n "$STRIP"; then
|
5842 |
|
|
echo "$as_me:$LINENO: result: $STRIP" >&5
|
5843 |
|
|
echo "${ECHO_T}$STRIP" >&6
|
5844 |
|
|
else
|
5845 |
|
|
echo "$as_me:$LINENO: result: no" >&5
|
5846 |
|
|
echo "${ECHO_T}no" >&6
|
5847 |
|
|
fi
|
5848 |
|
|
|
5849 |
|
|
fi
|
5850 |
|
|
if test -z "$ac_cv_prog_STRIP" && test $build = $host ; then
|
5851 |
|
|
# Extract the first word of "${ncn_progname}", so it can be a program name with args.
|
5852 |
|
|
set dummy ${ncn_progname}; ac_word=$2
|
5853 |
|
|
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
5854 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
5855 |
|
|
if test "${ac_cv_prog_STRIP+set}" = set; then
|
5856 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
5857 |
|
|
else
|
5858 |
|
|
if test -n "$STRIP"; then
|
5859 |
|
|
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
|
5860 |
|
|
else
|
5861 |
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
5862 |
|
|
for as_dir in $PATH
|
5863 |
|
|
do
|
5864 |
|
|
IFS=$as_save_IFS
|
5865 |
|
|
test -z "$as_dir" && as_dir=.
|
5866 |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
5867 |
|
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
5868 |
|
|
ac_cv_prog_STRIP="${ncn_progname}"
|
5869 |
|
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
5870 |
|
|
break 2
|
5871 |
|
|
fi
|
5872 |
|
|
done
|
5873 |
|
|
done
|
5874 |
|
|
|
5875 |
|
|
fi
|
5876 |
|
|
fi
|
5877 |
|
|
STRIP=$ac_cv_prog_STRIP
|
5878 |
|
|
if test -n "$STRIP"; then
|
5879 |
|
|
echo "$as_me:$LINENO: result: $STRIP" >&5
|
5880 |
|
|
echo "${ECHO_T}$STRIP" >&6
|
5881 |
|
|
else
|
5882 |
|
|
echo "$as_me:$LINENO: result: no" >&5
|
5883 |
|
|
echo "${ECHO_T}no" >&6
|
5884 |
|
|
fi
|
5885 |
|
|
|
5886 |
|
|
fi
|
5887 |
|
|
test -n "$ac_cv_prog_STRIP" && break
|
5888 |
|
|
done
|
5889 |
|
|
|
5890 |
|
|
if test -z "$ac_cv_prog_STRIP" ; then
|
5891 |
|
|
STRIP=":"
|
5892 |
|
|
fi
|
5893 |
|
|
|
5894 |
|
|
for ncn_progname in windres; do
|
5895 |
|
|
if test -n "$ncn_tool_prefix"; then
|
5896 |
|
|
# Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
|
5897 |
|
|
set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
|
5898 |
|
|
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
5899 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
5900 |
|
|
if test "${ac_cv_prog_WINDRES+set}" = set; then
|
5901 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
5902 |
|
|
else
|
5903 |
|
|
if test -n "$WINDRES"; then
|
5904 |
|
|
ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
|
5905 |
|
|
else
|
5906 |
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
5907 |
|
|
for as_dir in $PATH
|
5908 |
|
|
do
|
5909 |
|
|
IFS=$as_save_IFS
|
5910 |
|
|
test -z "$as_dir" && as_dir=.
|
5911 |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
5912 |
|
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
5913 |
|
|
ac_cv_prog_WINDRES="${ncn_tool_prefix}${ncn_progname}"
|
5914 |
|
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
5915 |
|
|
break 2
|
5916 |
|
|
fi
|
5917 |
|
|
done
|
5918 |
|
|
done
|
5919 |
|
|
|
5920 |
|
|
fi
|
5921 |
|
|
fi
|
5922 |
|
|
WINDRES=$ac_cv_prog_WINDRES
|
5923 |
|
|
if test -n "$WINDRES"; then
|
5924 |
|
|
echo "$as_me:$LINENO: result: $WINDRES" >&5
|
5925 |
|
|
echo "${ECHO_T}$WINDRES" >&6
|
5926 |
|
|
else
|
5927 |
|
|
echo "$as_me:$LINENO: result: no" >&5
|
5928 |
|
|
echo "${ECHO_T}no" >&6
|
5929 |
|
|
fi
|
5930 |
|
|
|
5931 |
|
|
fi
|
5932 |
|
|
if test -z "$ac_cv_prog_WINDRES" && test $build = $host ; then
|
5933 |
|
|
# Extract the first word of "${ncn_progname}", so it can be a program name with args.
|
5934 |
|
|
set dummy ${ncn_progname}; ac_word=$2
|
5935 |
|
|
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
5936 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
5937 |
|
|
if test "${ac_cv_prog_WINDRES+set}" = set; then
|
5938 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
5939 |
|
|
else
|
5940 |
|
|
if test -n "$WINDRES"; then
|
5941 |
|
|
ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
|
5942 |
|
|
else
|
5943 |
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
5944 |
|
|
for as_dir in $PATH
|
5945 |
|
|
do
|
5946 |
|
|
IFS=$as_save_IFS
|
5947 |
|
|
test -z "$as_dir" && as_dir=.
|
5948 |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
5949 |
|
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
5950 |
|
|
ac_cv_prog_WINDRES="${ncn_progname}"
|
5951 |
|
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
5952 |
|
|
break 2
|
5953 |
|
|
fi
|
5954 |
|
|
done
|
5955 |
|
|
done
|
5956 |
|
|
|
5957 |
|
|
fi
|
5958 |
|
|
fi
|
5959 |
|
|
WINDRES=$ac_cv_prog_WINDRES
|
5960 |
|
|
if test -n "$WINDRES"; then
|
5961 |
|
|
echo "$as_me:$LINENO: result: $WINDRES" >&5
|
5962 |
|
|
echo "${ECHO_T}$WINDRES" >&6
|
5963 |
|
|
else
|
5964 |
|
|
echo "$as_me:$LINENO: result: no" >&5
|
5965 |
|
|
echo "${ECHO_T}no" >&6
|
5966 |
|
|
fi
|
5967 |
|
|
|
5968 |
|
|
fi
|
5969 |
|
|
test -n "$ac_cv_prog_WINDRES" && break
|
5970 |
|
|
done
|
5971 |
|
|
|
5972 |
|
|
if test -z "$ac_cv_prog_WINDRES" ; then
|
5973 |
|
|
set dummy windres
|
5974 |
|
|
if test $build = $host ; then
|
5975 |
|
|
WINDRES="$2"
|
5976 |
|
|
else
|
5977 |
|
|
WINDRES="${ncn_tool_prefix}$2"
|
5978 |
|
|
fi
|
5979 |
|
|
fi
|
5980 |
|
|
|
5981 |
|
|
for ncn_progname in objcopy; do
|
5982 |
|
|
if test -n "$ncn_tool_prefix"; then
|
5983 |
|
|
# Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
|
5984 |
|
|
set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
|
5985 |
|
|
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
5986 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
5987 |
|
|
if test "${ac_cv_prog_OBJCOPY+set}" = set; then
|
5988 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
5989 |
|
|
else
|
5990 |
|
|
if test -n "$OBJCOPY"; then
|
5991 |
|
|
ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
|
5992 |
|
|
else
|
5993 |
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
5994 |
|
|
for as_dir in $PATH
|
5995 |
|
|
do
|
5996 |
|
|
IFS=$as_save_IFS
|
5997 |
|
|
test -z "$as_dir" && as_dir=.
|
5998 |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
5999 |
|
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
6000 |
|
|
ac_cv_prog_OBJCOPY="${ncn_tool_prefix}${ncn_progname}"
|
6001 |
|
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
6002 |
|
|
break 2
|
6003 |
|
|
fi
|
6004 |
|
|
done
|
6005 |
|
|
done
|
6006 |
|
|
|
6007 |
|
|
fi
|
6008 |
|
|
fi
|
6009 |
|
|
OBJCOPY=$ac_cv_prog_OBJCOPY
|
6010 |
|
|
if test -n "$OBJCOPY"; then
|
6011 |
|
|
echo "$as_me:$LINENO: result: $OBJCOPY" >&5
|
6012 |
|
|
echo "${ECHO_T}$OBJCOPY" >&6
|
6013 |
|
|
else
|
6014 |
|
|
echo "$as_me:$LINENO: result: no" >&5
|
6015 |
|
|
echo "${ECHO_T}no" >&6
|
6016 |
|
|
fi
|
6017 |
|
|
|
6018 |
|
|
fi
|
6019 |
|
|
if test -z "$ac_cv_prog_OBJCOPY" && test $build = $host ; then
|
6020 |
|
|
# Extract the first word of "${ncn_progname}", so it can be a program name with args.
|
6021 |
|
|
set dummy ${ncn_progname}; ac_word=$2
|
6022 |
|
|
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
6023 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
6024 |
|
|
if test "${ac_cv_prog_OBJCOPY+set}" = set; then
|
6025 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
6026 |
|
|
else
|
6027 |
|
|
if test -n "$OBJCOPY"; then
|
6028 |
|
|
ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
|
6029 |
|
|
else
|
6030 |
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
6031 |
|
|
for as_dir in $PATH
|
6032 |
|
|
do
|
6033 |
|
|
IFS=$as_save_IFS
|
6034 |
|
|
test -z "$as_dir" && as_dir=.
|
6035 |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
6036 |
|
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
6037 |
|
|
ac_cv_prog_OBJCOPY="${ncn_progname}"
|
6038 |
|
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
6039 |
|
|
break 2
|
6040 |
|
|
fi
|
6041 |
|
|
done
|
6042 |
|
|
done
|
6043 |
|
|
|
6044 |
|
|
fi
|
6045 |
|
|
fi
|
6046 |
|
|
OBJCOPY=$ac_cv_prog_OBJCOPY
|
6047 |
|
|
if test -n "$OBJCOPY"; then
|
6048 |
|
|
echo "$as_me:$LINENO: result: $OBJCOPY" >&5
|
6049 |
|
|
echo "${ECHO_T}$OBJCOPY" >&6
|
6050 |
|
|
else
|
6051 |
|
|
echo "$as_me:$LINENO: result: no" >&5
|
6052 |
|
|
echo "${ECHO_T}no" >&6
|
6053 |
|
|
fi
|
6054 |
|
|
|
6055 |
|
|
fi
|
6056 |
|
|
test -n "$ac_cv_prog_OBJCOPY" && break
|
6057 |
|
|
done
|
6058 |
|
|
|
6059 |
|
|
if test -z "$ac_cv_prog_OBJCOPY" ; then
|
6060 |
|
|
set dummy objcopy
|
6061 |
|
|
if test $build = $host ; then
|
6062 |
|
|
OBJCOPY="$2"
|
6063 |
|
|
else
|
6064 |
|
|
OBJCOPY="${ncn_tool_prefix}$2"
|
6065 |
|
|
fi
|
6066 |
|
|
fi
|
6067 |
|
|
|
6068 |
|
|
for ncn_progname in objdump; do
|
6069 |
|
|
if test -n "$ncn_tool_prefix"; then
|
6070 |
|
|
# Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
|
6071 |
|
|
set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
|
6072 |
|
|
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
6073 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
6074 |
|
|
if test "${ac_cv_prog_OBJDUMP+set}" = set; then
|
6075 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
6076 |
|
|
else
|
6077 |
|
|
if test -n "$OBJDUMP"; then
|
6078 |
|
|
ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
|
6079 |
|
|
else
|
6080 |
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
6081 |
|
|
for as_dir in $PATH
|
6082 |
|
|
do
|
6083 |
|
|
IFS=$as_save_IFS
|
6084 |
|
|
test -z "$as_dir" && as_dir=.
|
6085 |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
6086 |
|
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
6087 |
|
|
ac_cv_prog_OBJDUMP="${ncn_tool_prefix}${ncn_progname}"
|
6088 |
|
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
6089 |
|
|
break 2
|
6090 |
|
|
fi
|
6091 |
|
|
done
|
6092 |
|
|
done
|
6093 |
|
|
|
6094 |
|
|
fi
|
6095 |
|
|
fi
|
6096 |
|
|
OBJDUMP=$ac_cv_prog_OBJDUMP
|
6097 |
|
|
if test -n "$OBJDUMP"; then
|
6098 |
|
|
echo "$as_me:$LINENO: result: $OBJDUMP" >&5
|
6099 |
|
|
echo "${ECHO_T}$OBJDUMP" >&6
|
6100 |
|
|
else
|
6101 |
|
|
echo "$as_me:$LINENO: result: no" >&5
|
6102 |
|
|
echo "${ECHO_T}no" >&6
|
6103 |
|
|
fi
|
6104 |
|
|
|
6105 |
|
|
fi
|
6106 |
|
|
if test -z "$ac_cv_prog_OBJDUMP" && test $build = $host ; then
|
6107 |
|
|
# Extract the first word of "${ncn_progname}", so it can be a program name with args.
|
6108 |
|
|
set dummy ${ncn_progname}; ac_word=$2
|
6109 |
|
|
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
6110 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
6111 |
|
|
if test "${ac_cv_prog_OBJDUMP+set}" = set; then
|
6112 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
6113 |
|
|
else
|
6114 |
|
|
if test -n "$OBJDUMP"; then
|
6115 |
|
|
ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
|
6116 |
|
|
else
|
6117 |
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
6118 |
|
|
for as_dir in $PATH
|
6119 |
|
|
do
|
6120 |
|
|
IFS=$as_save_IFS
|
6121 |
|
|
test -z "$as_dir" && as_dir=.
|
6122 |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
6123 |
|
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
6124 |
|
|
ac_cv_prog_OBJDUMP="${ncn_progname}"
|
6125 |
|
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
6126 |
|
|
break 2
|
6127 |
|
|
fi
|
6128 |
|
|
done
|
6129 |
|
|
done
|
6130 |
|
|
|
6131 |
|
|
fi
|
6132 |
|
|
fi
|
6133 |
|
|
OBJDUMP=$ac_cv_prog_OBJDUMP
|
6134 |
|
|
if test -n "$OBJDUMP"; then
|
6135 |
|
|
echo "$as_me:$LINENO: result: $OBJDUMP" >&5
|
6136 |
|
|
echo "${ECHO_T}$OBJDUMP" >&6
|
6137 |
|
|
else
|
6138 |
|
|
echo "$as_me:$LINENO: result: no" >&5
|
6139 |
|
|
echo "${ECHO_T}no" >&6
|
6140 |
|
|
fi
|
6141 |
|
|
|
6142 |
|
|
fi
|
6143 |
|
|
test -n "$ac_cv_prog_OBJDUMP" && break
|
6144 |
|
|
done
|
6145 |
|
|
|
6146 |
|
|
if test -z "$ac_cv_prog_OBJDUMP" ; then
|
6147 |
|
|
set dummy objdump
|
6148 |
|
|
if test $build = $host ; then
|
6149 |
|
|
OBJDUMP="$2"
|
6150 |
|
|
else
|
6151 |
|
|
OBJDUMP="${ncn_tool_prefix}$2"
|
6152 |
|
|
fi
|
6153 |
|
|
fi
|
6154 |
|
|
|
6155 |
|
|
|
6156 |
|
|
|
6157 |
|
|
|
6158 |
|
|
|
6159 |
|
|
|
6160 |
|
|
|
6161 |
|
|
# Target tools.
|
6162 |
|
|
for ncn_progname in ar; do
|
6163 |
|
|
if test -n "$ncn_target_tool_prefix"; then
|
6164 |
|
|
# Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
|
6165 |
|
|
set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
|
6166 |
|
|
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
6167 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
6168 |
|
|
if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then
|
6169 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
6170 |
|
|
else
|
6171 |
|
|
if test -n "$AR_FOR_TARGET"; then
|
6172 |
|
|
ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
|
6173 |
|
|
else
|
6174 |
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
6175 |
|
|
for as_dir in $PATH
|
6176 |
|
|
do
|
6177 |
|
|
IFS=$as_save_IFS
|
6178 |
|
|
test -z "$as_dir" && as_dir=.
|
6179 |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
6180 |
|
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
6181 |
|
|
ac_cv_prog_AR_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
|
6182 |
|
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
6183 |
|
|
break 2
|
6184 |
|
|
fi
|
6185 |
|
|
done
|
6186 |
|
|
done
|
6187 |
|
|
|
6188 |
|
|
fi
|
6189 |
|
|
fi
|
6190 |
|
|
AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
|
6191 |
|
|
if test -n "$AR_FOR_TARGET"; then
|
6192 |
|
|
echo "$as_me:$LINENO: result: $AR_FOR_TARGET" >&5
|
6193 |
|
|
echo "${ECHO_T}$AR_FOR_TARGET" >&6
|
6194 |
|
|
else
|
6195 |
|
|
echo "$as_me:$LINENO: result: no" >&5
|
6196 |
|
|
echo "${ECHO_T}no" >&6
|
6197 |
|
|
fi
|
6198 |
|
|
|
6199 |
|
|
fi
|
6200 |
|
|
if test -z "$ac_cv_prog_AR_FOR_TARGET" && test $build = $target ; then
|
6201 |
|
|
# Extract the first word of "${ncn_progname}", so it can be a program name with args.
|
6202 |
|
|
set dummy ${ncn_progname}; ac_word=$2
|
6203 |
|
|
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
6204 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
6205 |
|
|
if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then
|
6206 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
6207 |
|
|
else
|
6208 |
|
|
if test -n "$AR_FOR_TARGET"; then
|
6209 |
|
|
ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
|
6210 |
|
|
else
|
6211 |
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
6212 |
|
|
for as_dir in $PATH
|
6213 |
|
|
do
|
6214 |
|
|
IFS=$as_save_IFS
|
6215 |
|
|
test -z "$as_dir" && as_dir=.
|
6216 |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
6217 |
|
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
6218 |
|
|
ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
|
6219 |
|
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
6220 |
|
|
break 2
|
6221 |
|
|
fi
|
6222 |
|
|
done
|
6223 |
|
|
done
|
6224 |
|
|
|
6225 |
|
|
fi
|
6226 |
|
|
fi
|
6227 |
|
|
AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
|
6228 |
|
|
if test -n "$AR_FOR_TARGET"; then
|
6229 |
|
|
echo "$as_me:$LINENO: result: $AR_FOR_TARGET" >&5
|
6230 |
|
|
echo "${ECHO_T}$AR_FOR_TARGET" >&6
|
6231 |
|
|
else
|
6232 |
|
|
echo "$as_me:$LINENO: result: no" >&5
|
6233 |
|
|
echo "${ECHO_T}no" >&6
|
6234 |
|
|
fi
|
6235 |
|
|
|
6236 |
|
|
fi
|
6237 |
|
|
test -n "$ac_cv_prog_AR_FOR_TARGET" && break
|
6238 |
|
|
done
|
6239 |
|
|
|
6240 |
|
|
if test -z "$ac_cv_prog_AR_FOR_TARGET" ; then
|
6241 |
|
|
set dummy ar
|
6242 |
|
|
if test $build = $target ; then
|
6243 |
|
|
AR_FOR_TARGET="$2"
|
6244 |
|
|
else
|
6245 |
|
|
AR_FOR_TARGET="${ncn_target_tool_prefix}$2"
|
6246 |
|
|
fi
|
6247 |
|
|
fi
|
6248 |
|
|
|
6249 |
|
|
for ncn_progname in as; do
|
6250 |
|
|
if test -n "$ncn_target_tool_prefix"; then
|
6251 |
|
|
# Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
|
6252 |
|
|
set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
|
6253 |
|
|
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
6254 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
6255 |
|
|
if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then
|
6256 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
6257 |
|
|
else
|
6258 |
|
|
if test -n "$AS_FOR_TARGET"; then
|
6259 |
|
|
ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
|
6260 |
|
|
else
|
6261 |
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
6262 |
|
|
for as_dir in $PATH
|
6263 |
|
|
do
|
6264 |
|
|
IFS=$as_save_IFS
|
6265 |
|
|
test -z "$as_dir" && as_dir=.
|
6266 |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
6267 |
|
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
6268 |
|
|
ac_cv_prog_AS_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
|
6269 |
|
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
6270 |
|
|
break 2
|
6271 |
|
|
fi
|
6272 |
|
|
done
|
6273 |
|
|
done
|
6274 |
|
|
|
6275 |
|
|
fi
|
6276 |
|
|
fi
|
6277 |
|
|
AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
|
6278 |
|
|
if test -n "$AS_FOR_TARGET"; then
|
6279 |
|
|
echo "$as_me:$LINENO: result: $AS_FOR_TARGET" >&5
|
6280 |
|
|
echo "${ECHO_T}$AS_FOR_TARGET" >&6
|
6281 |
|
|
else
|
6282 |
|
|
echo "$as_me:$LINENO: result: no" >&5
|
6283 |
|
|
echo "${ECHO_T}no" >&6
|
6284 |
|
|
fi
|
6285 |
|
|
|
6286 |
|
|
fi
|
6287 |
|
|
if test -z "$ac_cv_prog_AS_FOR_TARGET" && test $build = $target ; then
|
6288 |
|
|
# Extract the first word of "${ncn_progname}", so it can be a program name with args.
|
6289 |
|
|
set dummy ${ncn_progname}; ac_word=$2
|
6290 |
|
|
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
6291 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
6292 |
|
|
if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then
|
6293 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
6294 |
|
|
else
|
6295 |
|
|
if test -n "$AS_FOR_TARGET"; then
|
6296 |
|
|
ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
|
6297 |
|
|
else
|
6298 |
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
6299 |
|
|
for as_dir in $PATH
|
6300 |
|
|
do
|
6301 |
|
|
IFS=$as_save_IFS
|
6302 |
|
|
test -z "$as_dir" && as_dir=.
|
6303 |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
6304 |
|
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
6305 |
|
|
ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
|
6306 |
|
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
6307 |
|
|
break 2
|
6308 |
|
|
fi
|
6309 |
|
|
done
|
6310 |
|
|
done
|
6311 |
|
|
|
6312 |
|
|
fi
|
6313 |
|
|
fi
|
6314 |
|
|
AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
|
6315 |
|
|
if test -n "$AS_FOR_TARGET"; then
|
6316 |
|
|
echo "$as_me:$LINENO: result: $AS_FOR_TARGET" >&5
|
6317 |
|
|
echo "${ECHO_T}$AS_FOR_TARGET" >&6
|
6318 |
|
|
else
|
6319 |
|
|
echo "$as_me:$LINENO: result: no" >&5
|
6320 |
|
|
echo "${ECHO_T}no" >&6
|
6321 |
|
|
fi
|
6322 |
|
|
|
6323 |
|
|
fi
|
6324 |
|
|
test -n "$ac_cv_prog_AS_FOR_TARGET" && break
|
6325 |
|
|
done
|
6326 |
|
|
|
6327 |
|
|
if test -z "$ac_cv_prog_AS_FOR_TARGET" ; then
|
6328 |
|
|
set dummy as
|
6329 |
|
|
if test $build = $target ; then
|
6330 |
|
|
AS_FOR_TARGET="$2"
|
6331 |
|
|
else
|
6332 |
|
|
AS_FOR_TARGET="${ncn_target_tool_prefix}$2"
|
6333 |
|
|
fi
|
6334 |
|
|
fi
|
6335 |
|
|
|
6336 |
|
|
for ncn_progname in cc gcc; do
|
6337 |
|
|
if test -n "$ncn_target_tool_prefix"; then
|
6338 |
|
|
# Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
|
6339 |
|
|
set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
|
6340 |
|
|
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
6341 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
6342 |
|
|
if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then
|
6343 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
6344 |
|
|
else
|
6345 |
|
|
if test -n "$CC_FOR_TARGET"; then
|
6346 |
|
|
ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
|
6347 |
|
|
else
|
6348 |
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
6349 |
|
|
for as_dir in $PATH
|
6350 |
|
|
do
|
6351 |
|
|
IFS=$as_save_IFS
|
6352 |
|
|
test -z "$as_dir" && as_dir=.
|
6353 |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
6354 |
|
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
6355 |
|
|
ac_cv_prog_CC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
|
6356 |
|
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
6357 |
|
|
break 2
|
6358 |
|
|
fi
|
6359 |
|
|
done
|
6360 |
|
|
done
|
6361 |
|
|
|
6362 |
|
|
fi
|
6363 |
|
|
fi
|
6364 |
|
|
CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
|
6365 |
|
|
if test -n "$CC_FOR_TARGET"; then
|
6366 |
|
|
echo "$as_me:$LINENO: result: $CC_FOR_TARGET" >&5
|
6367 |
|
|
echo "${ECHO_T}$CC_FOR_TARGET" >&6
|
6368 |
|
|
else
|
6369 |
|
|
echo "$as_me:$LINENO: result: no" >&5
|
6370 |
|
|
echo "${ECHO_T}no" >&6
|
6371 |
|
|
fi
|
6372 |
|
|
|
6373 |
|
|
fi
|
6374 |
|
|
if test -z "$ac_cv_prog_CC_FOR_TARGET" && test $build = $target ; then
|
6375 |
|
|
# Extract the first word of "${ncn_progname}", so it can be a program name with args.
|
6376 |
|
|
set dummy ${ncn_progname}; ac_word=$2
|
6377 |
|
|
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
6378 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
6379 |
|
|
if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then
|
6380 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
6381 |
|
|
else
|
6382 |
|
|
if test -n "$CC_FOR_TARGET"; then
|
6383 |
|
|
ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
|
6384 |
|
|
else
|
6385 |
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
6386 |
|
|
for as_dir in $PATH
|
6387 |
|
|
do
|
6388 |
|
|
IFS=$as_save_IFS
|
6389 |
|
|
test -z "$as_dir" && as_dir=.
|
6390 |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
6391 |
|
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
6392 |
|
|
ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
|
6393 |
|
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
6394 |
|
|
break 2
|
6395 |
|
|
fi
|
6396 |
|
|
done
|
6397 |
|
|
done
|
6398 |
|
|
|
6399 |
|
|
fi
|
6400 |
|
|
fi
|
6401 |
|
|
CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
|
6402 |
|
|
if test -n "$CC_FOR_TARGET"; then
|
6403 |
|
|
echo "$as_me:$LINENO: result: $CC_FOR_TARGET" >&5
|
6404 |
|
|
echo "${ECHO_T}$CC_FOR_TARGET" >&6
|
6405 |
|
|
else
|
6406 |
|
|
echo "$as_me:$LINENO: result: no" >&5
|
6407 |
|
|
echo "${ECHO_T}no" >&6
|
6408 |
|
|
fi
|
6409 |
|
|
|
6410 |
|
|
fi
|
6411 |
|
|
test -n "$ac_cv_prog_CC_FOR_TARGET" && break
|
6412 |
|
|
done
|
6413 |
|
|
|
6414 |
|
|
if test -z "$ac_cv_prog_CC_FOR_TARGET" ; then
|
6415 |
|
|
set dummy cc gcc
|
6416 |
|
|
if test $build = $target ; then
|
6417 |
|
|
CC_FOR_TARGET="$2"
|
6418 |
|
|
else
|
6419 |
|
|
CC_FOR_TARGET="${ncn_target_tool_prefix}$2"
|
6420 |
|
|
fi
|
6421 |
|
|
fi
|
6422 |
|
|
|
6423 |
|
|
for ncn_progname in c++ g++ cxx gxx; do
|
6424 |
|
|
if test -n "$ncn_target_tool_prefix"; then
|
6425 |
|
|
# Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
|
6426 |
|
|
set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
|
6427 |
|
|
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
6428 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
6429 |
|
|
if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then
|
6430 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
6431 |
|
|
else
|
6432 |
|
|
if test -n "$CXX_FOR_TARGET"; then
|
6433 |
|
|
ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
|
6434 |
|
|
else
|
6435 |
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
6436 |
|
|
for as_dir in $PATH
|
6437 |
|
|
do
|
6438 |
|
|
IFS=$as_save_IFS
|
6439 |
|
|
test -z "$as_dir" && as_dir=.
|
6440 |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
6441 |
|
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
6442 |
|
|
ac_cv_prog_CXX_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
|
6443 |
|
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
6444 |
|
|
break 2
|
6445 |
|
|
fi
|
6446 |
|
|
done
|
6447 |
|
|
done
|
6448 |
|
|
|
6449 |
|
|
fi
|
6450 |
|
|
fi
|
6451 |
|
|
CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
|
6452 |
|
|
if test -n "$CXX_FOR_TARGET"; then
|
6453 |
|
|
echo "$as_me:$LINENO: result: $CXX_FOR_TARGET" >&5
|
6454 |
|
|
echo "${ECHO_T}$CXX_FOR_TARGET" >&6
|
6455 |
|
|
else
|
6456 |
|
|
echo "$as_me:$LINENO: result: no" >&5
|
6457 |
|
|
echo "${ECHO_T}no" >&6
|
6458 |
|
|
fi
|
6459 |
|
|
|
6460 |
|
|
fi
|
6461 |
|
|
if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test $build = $target ; then
|
6462 |
|
|
# Extract the first word of "${ncn_progname}", so it can be a program name with args.
|
6463 |
|
|
set dummy ${ncn_progname}; ac_word=$2
|
6464 |
|
|
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
6465 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
6466 |
|
|
if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then
|
6467 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
6468 |
|
|
else
|
6469 |
|
|
if test -n "$CXX_FOR_TARGET"; then
|
6470 |
|
|
ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
|
6471 |
|
|
else
|
6472 |
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
6473 |
|
|
for as_dir in $PATH
|
6474 |
|
|
do
|
6475 |
|
|
IFS=$as_save_IFS
|
6476 |
|
|
test -z "$as_dir" && as_dir=.
|
6477 |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
6478 |
|
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
6479 |
|
|
ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
|
6480 |
|
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
6481 |
|
|
break 2
|
6482 |
|
|
fi
|
6483 |
|
|
done
|
6484 |
|
|
done
|
6485 |
|
|
|
6486 |
|
|
fi
|
6487 |
|
|
fi
|
6488 |
|
|
CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
|
6489 |
|
|
if test -n "$CXX_FOR_TARGET"; then
|
6490 |
|
|
echo "$as_me:$LINENO: result: $CXX_FOR_TARGET" >&5
|
6491 |
|
|
echo "${ECHO_T}$CXX_FOR_TARGET" >&6
|
6492 |
|
|
else
|
6493 |
|
|
echo "$as_me:$LINENO: result: no" >&5
|
6494 |
|
|
echo "${ECHO_T}no" >&6
|
6495 |
|
|
fi
|
6496 |
|
|
|
6497 |
|
|
fi
|
6498 |
|
|
test -n "$ac_cv_prog_CXX_FOR_TARGET" && break
|
6499 |
|
|
done
|
6500 |
|
|
|
6501 |
|
|
if test -z "$ac_cv_prog_CXX_FOR_TARGET" ; then
|
6502 |
|
|
set dummy c++ g++ cxx gxx
|
6503 |
|
|
if test $build = $target ; then
|
6504 |
|
|
CXX_FOR_TARGET="$2"
|
6505 |
|
|
else
|
6506 |
|
|
CXX_FOR_TARGET="${ncn_target_tool_prefix}$2"
|
6507 |
|
|
fi
|
6508 |
|
|
fi
|
6509 |
|
|
|
6510 |
|
|
for ncn_progname in dlltool; do
|
6511 |
|
|
if test -n "$ncn_target_tool_prefix"; then
|
6512 |
|
|
# Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
|
6513 |
|
|
set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
|
6514 |
|
|
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
6515 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
6516 |
|
|
if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then
|
6517 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
6518 |
|
|
else
|
6519 |
|
|
if test -n "$DLLTOOL_FOR_TARGET"; then
|
6520 |
|
|
ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
|
6521 |
|
|
else
|
6522 |
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
6523 |
|
|
for as_dir in $PATH
|
6524 |
|
|
do
|
6525 |
|
|
IFS=$as_save_IFS
|
6526 |
|
|
test -z "$as_dir" && as_dir=.
|
6527 |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
6528 |
|
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
6529 |
|
|
ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
|
6530 |
|
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
6531 |
|
|
break 2
|
6532 |
|
|
fi
|
6533 |
|
|
done
|
6534 |
|
|
done
|
6535 |
|
|
|
6536 |
|
|
fi
|
6537 |
|
|
fi
|
6538 |
|
|
DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
|
6539 |
|
|
if test -n "$DLLTOOL_FOR_TARGET"; then
|
6540 |
|
|
echo "$as_me:$LINENO: result: $DLLTOOL_FOR_TARGET" >&5
|
6541 |
|
|
echo "${ECHO_T}$DLLTOOL_FOR_TARGET" >&6
|
6542 |
|
|
else
|
6543 |
|
|
echo "$as_me:$LINENO: result: no" >&5
|
6544 |
|
|
echo "${ECHO_T}no" >&6
|
6545 |
|
|
fi
|
6546 |
|
|
|
6547 |
|
|
fi
|
6548 |
|
|
if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test $build = $target ; then
|
6549 |
|
|
# Extract the first word of "${ncn_progname}", so it can be a program name with args.
|
6550 |
|
|
set dummy ${ncn_progname}; ac_word=$2
|
6551 |
|
|
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
6552 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
6553 |
|
|
if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then
|
6554 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
6555 |
|
|
else
|
6556 |
|
|
if test -n "$DLLTOOL_FOR_TARGET"; then
|
6557 |
|
|
ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
|
6558 |
|
|
else
|
6559 |
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
6560 |
|
|
for as_dir in $PATH
|
6561 |
|
|
do
|
6562 |
|
|
IFS=$as_save_IFS
|
6563 |
|
|
test -z "$as_dir" && as_dir=.
|
6564 |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
6565 |
|
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
6566 |
|
|
ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
|
6567 |
|
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
6568 |
|
|
break 2
|
6569 |
|
|
fi
|
6570 |
|
|
done
|
6571 |
|
|
done
|
6572 |
|
|
|
6573 |
|
|
fi
|
6574 |
|
|
fi
|
6575 |
|
|
DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
|
6576 |
|
|
if test -n "$DLLTOOL_FOR_TARGET"; then
|
6577 |
|
|
echo "$as_me:$LINENO: result: $DLLTOOL_FOR_TARGET" >&5
|
6578 |
|
|
echo "${ECHO_T}$DLLTOOL_FOR_TARGET" >&6
|
6579 |
|
|
else
|
6580 |
|
|
echo "$as_me:$LINENO: result: no" >&5
|
6581 |
|
|
echo "${ECHO_T}no" >&6
|
6582 |
|
|
fi
|
6583 |
|
|
|
6584 |
|
|
fi
|
6585 |
|
|
test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET" && break
|
6586 |
|
|
done
|
6587 |
|
|
|
6588 |
|
|
if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" ; then
|
6589 |
|
|
set dummy dlltool
|
6590 |
|
|
if test $build = $target ; then
|
6591 |
|
|
DLLTOOL_FOR_TARGET="$2"
|
6592 |
|
|
else
|
6593 |
|
|
DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}$2"
|
6594 |
|
|
fi
|
6595 |
|
|
fi
|
6596 |
|
|
|
6597 |
|
|
for ncn_progname in gcc; do
|
6598 |
|
|
if test -n "$ncn_target_tool_prefix"; then
|
6599 |
|
|
# Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
|
6600 |
|
|
set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
|
6601 |
|
|
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
6602 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
6603 |
|
|
if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then
|
6604 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
6605 |
|
|
else
|
6606 |
|
|
if test -n "$GCC_FOR_TARGET"; then
|
6607 |
|
|
ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
|
6608 |
|
|
else
|
6609 |
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
6610 |
|
|
for as_dir in $PATH
|
6611 |
|
|
do
|
6612 |
|
|
IFS=$as_save_IFS
|
6613 |
|
|
test -z "$as_dir" && as_dir=.
|
6614 |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
6615 |
|
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
6616 |
|
|
ac_cv_prog_GCC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
|
6617 |
|
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
6618 |
|
|
break 2
|
6619 |
|
|
fi
|
6620 |
|
|
done
|
6621 |
|
|
done
|
6622 |
|
|
|
6623 |
|
|
fi
|
6624 |
|
|
fi
|
6625 |
|
|
GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
|
6626 |
|
|
if test -n "$GCC_FOR_TARGET"; then
|
6627 |
|
|
echo "$as_me:$LINENO: result: $GCC_FOR_TARGET" >&5
|
6628 |
|
|
echo "${ECHO_T}$GCC_FOR_TARGET" >&6
|
6629 |
|
|
else
|
6630 |
|
|
echo "$as_me:$LINENO: result: no" >&5
|
6631 |
|
|
echo "${ECHO_T}no" >&6
|
6632 |
|
|
fi
|
6633 |
|
|
|
6634 |
|
|
fi
|
6635 |
|
|
if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test $build = $target ; then
|
6636 |
|
|
# Extract the first word of "${ncn_progname}", so it can be a program name with args.
|
6637 |
|
|
set dummy ${ncn_progname}; ac_word=$2
|
6638 |
|
|
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
6639 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
6640 |
|
|
if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then
|
6641 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
6642 |
|
|
else
|
6643 |
|
|
if test -n "$GCC_FOR_TARGET"; then
|
6644 |
|
|
ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
|
6645 |
|
|
else
|
6646 |
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
6647 |
|
|
for as_dir in $PATH
|
6648 |
|
|
do
|
6649 |
|
|
IFS=$as_save_IFS
|
6650 |
|
|
test -z "$as_dir" && as_dir=.
|
6651 |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
6652 |
|
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
6653 |
|
|
ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
|
6654 |
|
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
6655 |
|
|
break 2
|
6656 |
|
|
fi
|
6657 |
|
|
done
|
6658 |
|
|
done
|
6659 |
|
|
|
6660 |
|
|
fi
|
6661 |
|
|
fi
|
6662 |
|
|
GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
|
6663 |
|
|
if test -n "$GCC_FOR_TARGET"; then
|
6664 |
|
|
echo "$as_me:$LINENO: result: $GCC_FOR_TARGET" >&5
|
6665 |
|
|
echo "${ECHO_T}$GCC_FOR_TARGET" >&6
|
6666 |
|
|
else
|
6667 |
|
|
echo "$as_me:$LINENO: result: no" >&5
|
6668 |
|
|
echo "${ECHO_T}no" >&6
|
6669 |
|
|
fi
|
6670 |
|
|
|
6671 |
|
|
fi
|
6672 |
|
|
test -n "$ac_cv_prog_GCC_FOR_TARGET" && break
|
6673 |
|
|
done
|
6674 |
|
|
|
6675 |
|
|
if test -z "$ac_cv_prog_GCC_FOR_TARGET" ; then
|
6676 |
|
|
GCC_FOR_TARGET="${CC_FOR_TARGET}"
|
6677 |
|
|
fi
|
6678 |
|
|
|
6679 |
|
|
for ncn_progname in gcj; do
|
6680 |
|
|
if test -n "$ncn_target_tool_prefix"; then
|
6681 |
|
|
# Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
|
6682 |
|
|
set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
|
6683 |
|
|
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
6684 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
6685 |
|
|
if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then
|
6686 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
6687 |
|
|
else
|
6688 |
|
|
if test -n "$GCJ_FOR_TARGET"; then
|
6689 |
|
|
ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
|
6690 |
|
|
else
|
6691 |
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
6692 |
|
|
for as_dir in $PATH
|
6693 |
|
|
do
|
6694 |
|
|
IFS=$as_save_IFS
|
6695 |
|
|
test -z "$as_dir" && as_dir=.
|
6696 |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
6697 |
|
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
6698 |
|
|
ac_cv_prog_GCJ_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
|
6699 |
|
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
6700 |
|
|
break 2
|
6701 |
|
|
fi
|
6702 |
|
|
done
|
6703 |
|
|
done
|
6704 |
|
|
|
6705 |
|
|
fi
|
6706 |
|
|
fi
|
6707 |
|
|
GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
|
6708 |
|
|
if test -n "$GCJ_FOR_TARGET"; then
|
6709 |
|
|
echo "$as_me:$LINENO: result: $GCJ_FOR_TARGET" >&5
|
6710 |
|
|
echo "${ECHO_T}$GCJ_FOR_TARGET" >&6
|
6711 |
|
|
else
|
6712 |
|
|
echo "$as_me:$LINENO: result: no" >&5
|
6713 |
|
|
echo "${ECHO_T}no" >&6
|
6714 |
|
|
fi
|
6715 |
|
|
|
6716 |
|
|
fi
|
6717 |
|
|
if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test $build = $target ; then
|
6718 |
|
|
# Extract the first word of "${ncn_progname}", so it can be a program name with args.
|
6719 |
|
|
set dummy ${ncn_progname}; ac_word=$2
|
6720 |
|
|
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
6721 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
6722 |
|
|
if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then
|
6723 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
6724 |
|
|
else
|
6725 |
|
|
if test -n "$GCJ_FOR_TARGET"; then
|
6726 |
|
|
ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
|
6727 |
|
|
else
|
6728 |
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
6729 |
|
|
for as_dir in $PATH
|
6730 |
|
|
do
|
6731 |
|
|
IFS=$as_save_IFS
|
6732 |
|
|
test -z "$as_dir" && as_dir=.
|
6733 |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
6734 |
|
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
6735 |
|
|
ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
|
6736 |
|
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
6737 |
|
|
break 2
|
6738 |
|
|
fi
|
6739 |
|
|
done
|
6740 |
|
|
done
|
6741 |
|
|
|
6742 |
|
|
fi
|
6743 |
|
|
fi
|
6744 |
|
|
GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
|
6745 |
|
|
if test -n "$GCJ_FOR_TARGET"; then
|
6746 |
|
|
echo "$as_me:$LINENO: result: $GCJ_FOR_TARGET" >&5
|
6747 |
|
|
echo "${ECHO_T}$GCJ_FOR_TARGET" >&6
|
6748 |
|
|
else
|
6749 |
|
|
echo "$as_me:$LINENO: result: no" >&5
|
6750 |
|
|
echo "${ECHO_T}no" >&6
|
6751 |
|
|
fi
|
6752 |
|
|
|
6753 |
|
|
fi
|
6754 |
|
|
test -n "$ac_cv_prog_GCJ_FOR_TARGET" && break
|
6755 |
|
|
done
|
6756 |
|
|
|
6757 |
|
|
if test -z "$ac_cv_prog_GCJ_FOR_TARGET" ; then
|
6758 |
|
|
set dummy gcj
|
6759 |
|
|
if test $build = $target ; then
|
6760 |
|
|
GCJ_FOR_TARGET="$2"
|
6761 |
|
|
else
|
6762 |
|
|
GCJ_FOR_TARGET="${ncn_target_tool_prefix}$2"
|
6763 |
|
|
fi
|
6764 |
|
|
fi
|
6765 |
|
|
|
6766 |
|
|
for ncn_progname in gfortran; do
|
6767 |
|
|
if test -n "$ncn_target_tool_prefix"; then
|
6768 |
|
|
# Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
|
6769 |
|
|
set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
|
6770 |
|
|
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
6771 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
6772 |
|
|
if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then
|
6773 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
6774 |
|
|
else
|
6775 |
|
|
if test -n "$GFORTRAN_FOR_TARGET"; then
|
6776 |
|
|
ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
|
6777 |
|
|
else
|
6778 |
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
6779 |
|
|
for as_dir in $PATH
|
6780 |
|
|
do
|
6781 |
|
|
IFS=$as_save_IFS
|
6782 |
|
|
test -z "$as_dir" && as_dir=.
|
6783 |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
6784 |
|
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
6785 |
|
|
ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
|
6786 |
|
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
6787 |
|
|
break 2
|
6788 |
|
|
fi
|
6789 |
|
|
done
|
6790 |
|
|
done
|
6791 |
|
|
|
6792 |
|
|
fi
|
6793 |
|
|
fi
|
6794 |
|
|
GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
|
6795 |
|
|
if test -n "$GFORTRAN_FOR_TARGET"; then
|
6796 |
|
|
echo "$as_me:$LINENO: result: $GFORTRAN_FOR_TARGET" >&5
|
6797 |
|
|
echo "${ECHO_T}$GFORTRAN_FOR_TARGET" >&6
|
6798 |
|
|
else
|
6799 |
|
|
echo "$as_me:$LINENO: result: no" >&5
|
6800 |
|
|
echo "${ECHO_T}no" >&6
|
6801 |
|
|
fi
|
6802 |
|
|
|
6803 |
|
|
fi
|
6804 |
|
|
if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test $build = $target ; then
|
6805 |
|
|
# Extract the first word of "${ncn_progname}", so it can be a program name with args.
|
6806 |
|
|
set dummy ${ncn_progname}; ac_word=$2
|
6807 |
|
|
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
6808 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
6809 |
|
|
if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then
|
6810 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
6811 |
|
|
else
|
6812 |
|
|
if test -n "$GFORTRAN_FOR_TARGET"; then
|
6813 |
|
|
ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
|
6814 |
|
|
else
|
6815 |
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
6816 |
|
|
for as_dir in $PATH
|
6817 |
|
|
do
|
6818 |
|
|
IFS=$as_save_IFS
|
6819 |
|
|
test -z "$as_dir" && as_dir=.
|
6820 |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
6821 |
|
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
6822 |
|
|
ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
|
6823 |
|
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
6824 |
|
|
break 2
|
6825 |
|
|
fi
|
6826 |
|
|
done
|
6827 |
|
|
done
|
6828 |
|
|
|
6829 |
|
|
fi
|
6830 |
|
|
fi
|
6831 |
|
|
GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
|
6832 |
|
|
if test -n "$GFORTRAN_FOR_TARGET"; then
|
6833 |
|
|
echo "$as_me:$LINENO: result: $GFORTRAN_FOR_TARGET" >&5
|
6834 |
|
|
echo "${ECHO_T}$GFORTRAN_FOR_TARGET" >&6
|
6835 |
|
|
else
|
6836 |
|
|
echo "$as_me:$LINENO: result: no" >&5
|
6837 |
|
|
echo "${ECHO_T}no" >&6
|
6838 |
|
|
fi
|
6839 |
|
|
|
6840 |
|
|
fi
|
6841 |
|
|
test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET" && break
|
6842 |
|
|
done
|
6843 |
|
|
|
6844 |
|
|
if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" ; then
|
6845 |
|
|
set dummy gfortran
|
6846 |
|
|
if test $build = $target ; then
|
6847 |
|
|
GFORTRAN_FOR_TARGET="$2"
|
6848 |
|
|
else
|
6849 |
|
|
GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}$2"
|
6850 |
|
|
fi
|
6851 |
|
|
fi
|
6852 |
|
|
|
6853 |
|
|
for ncn_progname in ld; do
|
6854 |
|
|
if test -n "$ncn_target_tool_prefix"; then
|
6855 |
|
|
# Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
|
6856 |
|
|
set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
|
6857 |
|
|
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
6858 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
6859 |
|
|
if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then
|
6860 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
6861 |
|
|
else
|
6862 |
|
|
if test -n "$LD_FOR_TARGET"; then
|
6863 |
|
|
ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
|
6864 |
|
|
else
|
6865 |
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
6866 |
|
|
for as_dir in $PATH
|
6867 |
|
|
do
|
6868 |
|
|
IFS=$as_save_IFS
|
6869 |
|
|
test -z "$as_dir" && as_dir=.
|
6870 |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
6871 |
|
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
6872 |
|
|
ac_cv_prog_LD_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
|
6873 |
|
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
6874 |
|
|
break 2
|
6875 |
|
|
fi
|
6876 |
|
|
done
|
6877 |
|
|
done
|
6878 |
|
|
|
6879 |
|
|
fi
|
6880 |
|
|
fi
|
6881 |
|
|
LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
|
6882 |
|
|
if test -n "$LD_FOR_TARGET"; then
|
6883 |
|
|
echo "$as_me:$LINENO: result: $LD_FOR_TARGET" >&5
|
6884 |
|
|
echo "${ECHO_T}$LD_FOR_TARGET" >&6
|
6885 |
|
|
else
|
6886 |
|
|
echo "$as_me:$LINENO: result: no" >&5
|
6887 |
|
|
echo "${ECHO_T}no" >&6
|
6888 |
|
|
fi
|
6889 |
|
|
|
6890 |
|
|
fi
|
6891 |
|
|
if test -z "$ac_cv_prog_LD_FOR_TARGET" && test $build = $target ; then
|
6892 |
|
|
# Extract the first word of "${ncn_progname}", so it can be a program name with args.
|
6893 |
|
|
set dummy ${ncn_progname}; ac_word=$2
|
6894 |
|
|
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
6895 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
6896 |
|
|
if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then
|
6897 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
6898 |
|
|
else
|
6899 |
|
|
if test -n "$LD_FOR_TARGET"; then
|
6900 |
|
|
ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
|
6901 |
|
|
else
|
6902 |
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
6903 |
|
|
for as_dir in $PATH
|
6904 |
|
|
do
|
6905 |
|
|
IFS=$as_save_IFS
|
6906 |
|
|
test -z "$as_dir" && as_dir=.
|
6907 |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
6908 |
|
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
6909 |
|
|
ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
|
6910 |
|
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
6911 |
|
|
break 2
|
6912 |
|
|
fi
|
6913 |
|
|
done
|
6914 |
|
|
done
|
6915 |
|
|
|
6916 |
|
|
fi
|
6917 |
|
|
fi
|
6918 |
|
|
LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
|
6919 |
|
|
if test -n "$LD_FOR_TARGET"; then
|
6920 |
|
|
echo "$as_me:$LINENO: result: $LD_FOR_TARGET" >&5
|
6921 |
|
|
echo "${ECHO_T}$LD_FOR_TARGET" >&6
|
6922 |
|
|
else
|
6923 |
|
|
echo "$as_me:$LINENO: result: no" >&5
|
6924 |
|
|
echo "${ECHO_T}no" >&6
|
6925 |
|
|
fi
|
6926 |
|
|
|
6927 |
|
|
fi
|
6928 |
|
|
test -n "$ac_cv_prog_LD_FOR_TARGET" && break
|
6929 |
|
|
done
|
6930 |
|
|
|
6931 |
|
|
if test -z "$ac_cv_prog_LD_FOR_TARGET" ; then
|
6932 |
|
|
set dummy ld
|
6933 |
|
|
if test $build = $target ; then
|
6934 |
|
|
LD_FOR_TARGET="$2"
|
6935 |
|
|
else
|
6936 |
|
|
LD_FOR_TARGET="${ncn_target_tool_prefix}$2"
|
6937 |
|
|
fi
|
6938 |
|
|
fi
|
6939 |
|
|
|
6940 |
|
|
for ncn_progname in lipo; do
|
6941 |
|
|
if test -n "$ncn_target_tool_prefix"; then
|
6942 |
|
|
# Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
|
6943 |
|
|
set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
|
6944 |
|
|
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
6945 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
6946 |
|
|
if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then
|
6947 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
6948 |
|
|
else
|
6949 |
|
|
if test -n "$LIPO_FOR_TARGET"; then
|
6950 |
|
|
ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
|
6951 |
|
|
else
|
6952 |
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
6953 |
|
|
for as_dir in $PATH
|
6954 |
|
|
do
|
6955 |
|
|
IFS=$as_save_IFS
|
6956 |
|
|
test -z "$as_dir" && as_dir=.
|
6957 |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
6958 |
|
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
6959 |
|
|
ac_cv_prog_LIPO_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
|
6960 |
|
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
6961 |
|
|
break 2
|
6962 |
|
|
fi
|
6963 |
|
|
done
|
6964 |
|
|
done
|
6965 |
|
|
|
6966 |
|
|
fi
|
6967 |
|
|
fi
|
6968 |
|
|
LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
|
6969 |
|
|
if test -n "$LIPO_FOR_TARGET"; then
|
6970 |
|
|
echo "$as_me:$LINENO: result: $LIPO_FOR_TARGET" >&5
|
6971 |
|
|
echo "${ECHO_T}$LIPO_FOR_TARGET" >&6
|
6972 |
|
|
else
|
6973 |
|
|
echo "$as_me:$LINENO: result: no" >&5
|
6974 |
|
|
echo "${ECHO_T}no" >&6
|
6975 |
|
|
fi
|
6976 |
|
|
|
6977 |
|
|
fi
|
6978 |
|
|
if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test $build = $target ; then
|
6979 |
|
|
# Extract the first word of "${ncn_progname}", so it can be a program name with args.
|
6980 |
|
|
set dummy ${ncn_progname}; ac_word=$2
|
6981 |
|
|
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
6982 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
6983 |
|
|
if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then
|
6984 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
6985 |
|
|
else
|
6986 |
|
|
if test -n "$LIPO_FOR_TARGET"; then
|
6987 |
|
|
ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
|
6988 |
|
|
else
|
6989 |
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
6990 |
|
|
for as_dir in $PATH
|
6991 |
|
|
do
|
6992 |
|
|
IFS=$as_save_IFS
|
6993 |
|
|
test -z "$as_dir" && as_dir=.
|
6994 |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
6995 |
|
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
6996 |
|
|
ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
|
6997 |
|
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
6998 |
|
|
break 2
|
6999 |
|
|
fi
|
7000 |
|
|
done
|
7001 |
|
|
done
|
7002 |
|
|
|
7003 |
|
|
fi
|
7004 |
|
|
fi
|
7005 |
|
|
LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
|
7006 |
|
|
if test -n "$LIPO_FOR_TARGET"; then
|
7007 |
|
|
echo "$as_me:$LINENO: result: $LIPO_FOR_TARGET" >&5
|
7008 |
|
|
echo "${ECHO_T}$LIPO_FOR_TARGET" >&6
|
7009 |
|
|
else
|
7010 |
|
|
echo "$as_me:$LINENO: result: no" >&5
|
7011 |
|
|
echo "${ECHO_T}no" >&6
|
7012 |
|
|
fi
|
7013 |
|
|
|
7014 |
|
|
fi
|
7015 |
|
|
test -n "$ac_cv_prog_LIPO_FOR_TARGET" && break
|
7016 |
|
|
done
|
7017 |
|
|
|
7018 |
|
|
if test -z "$ac_cv_prog_LIPO_FOR_TARGET" ; then
|
7019 |
|
|
set dummy lipo
|
7020 |
|
|
if test $build = $target ; then
|
7021 |
|
|
LIPO_FOR_TARGET="$2"
|
7022 |
|
|
else
|
7023 |
|
|
LIPO_FOR_TARGET="${ncn_target_tool_prefix}$2"
|
7024 |
|
|
fi
|
7025 |
|
|
fi
|
7026 |
|
|
|
7027 |
|
|
for ncn_progname in nm; do
|
7028 |
|
|
if test -n "$ncn_target_tool_prefix"; then
|
7029 |
|
|
# Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
|
7030 |
|
|
set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
|
7031 |
|
|
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
7032 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
7033 |
|
|
if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then
|
7034 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
7035 |
|
|
else
|
7036 |
|
|
if test -n "$NM_FOR_TARGET"; then
|
7037 |
|
|
ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
|
7038 |
|
|
else
|
7039 |
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
7040 |
|
|
for as_dir in $PATH
|
7041 |
|
|
do
|
7042 |
|
|
IFS=$as_save_IFS
|
7043 |
|
|
test -z "$as_dir" && as_dir=.
|
7044 |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
7045 |
|
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
7046 |
|
|
ac_cv_prog_NM_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
|
7047 |
|
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
7048 |
|
|
break 2
|
7049 |
|
|
fi
|
7050 |
|
|
done
|
7051 |
|
|
done
|
7052 |
|
|
|
7053 |
|
|
fi
|
7054 |
|
|
fi
|
7055 |
|
|
NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
|
7056 |
|
|
if test -n "$NM_FOR_TARGET"; then
|
7057 |
|
|
echo "$as_me:$LINENO: result: $NM_FOR_TARGET" >&5
|
7058 |
|
|
echo "${ECHO_T}$NM_FOR_TARGET" >&6
|
7059 |
|
|
else
|
7060 |
|
|
echo "$as_me:$LINENO: result: no" >&5
|
7061 |
|
|
echo "${ECHO_T}no" >&6
|
7062 |
|
|
fi
|
7063 |
|
|
|
7064 |
|
|
fi
|
7065 |
|
|
if test -z "$ac_cv_prog_NM_FOR_TARGET" && test $build = $target ; then
|
7066 |
|
|
# Extract the first word of "${ncn_progname}", so it can be a program name with args.
|
7067 |
|
|
set dummy ${ncn_progname}; ac_word=$2
|
7068 |
|
|
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
7069 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
7070 |
|
|
if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then
|
7071 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
7072 |
|
|
else
|
7073 |
|
|
if test -n "$NM_FOR_TARGET"; then
|
7074 |
|
|
ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
|
7075 |
|
|
else
|
7076 |
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
7077 |
|
|
for as_dir in $PATH
|
7078 |
|
|
do
|
7079 |
|
|
IFS=$as_save_IFS
|
7080 |
|
|
test -z "$as_dir" && as_dir=.
|
7081 |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
7082 |
|
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
7083 |
|
|
ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
|
7084 |
|
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
7085 |
|
|
break 2
|
7086 |
|
|
fi
|
7087 |
|
|
done
|
7088 |
|
|
done
|
7089 |
|
|
|
7090 |
|
|
fi
|
7091 |
|
|
fi
|
7092 |
|
|
NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
|
7093 |
|
|
if test -n "$NM_FOR_TARGET"; then
|
7094 |
|
|
echo "$as_me:$LINENO: result: $NM_FOR_TARGET" >&5
|
7095 |
|
|
echo "${ECHO_T}$NM_FOR_TARGET" >&6
|
7096 |
|
|
else
|
7097 |
|
|
echo "$as_me:$LINENO: result: no" >&5
|
7098 |
|
|
echo "${ECHO_T}no" >&6
|
7099 |
|
|
fi
|
7100 |
|
|
|
7101 |
|
|
fi
|
7102 |
|
|
test -n "$ac_cv_prog_NM_FOR_TARGET" && break
|
7103 |
|
|
done
|
7104 |
|
|
|
7105 |
|
|
if test -z "$ac_cv_prog_NM_FOR_TARGET" ; then
|
7106 |
|
|
set dummy nm
|
7107 |
|
|
if test $build = $target ; then
|
7108 |
|
|
NM_FOR_TARGET="$2"
|
7109 |
|
|
else
|
7110 |
|
|
NM_FOR_TARGET="${ncn_target_tool_prefix}$2"
|
7111 |
|
|
fi
|
7112 |
|
|
fi
|
7113 |
|
|
|
7114 |
|
|
for ncn_progname in objdump; do
|
7115 |
|
|
if test -n "$ncn_target_tool_prefix"; then
|
7116 |
|
|
# Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
|
7117 |
|
|
set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
|
7118 |
|
|
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
7119 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
7120 |
|
|
if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then
|
7121 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
7122 |
|
|
else
|
7123 |
|
|
if test -n "$OBJDUMP_FOR_TARGET"; then
|
7124 |
|
|
ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
|
7125 |
|
|
else
|
7126 |
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
7127 |
|
|
for as_dir in $PATH
|
7128 |
|
|
do
|
7129 |
|
|
IFS=$as_save_IFS
|
7130 |
|
|
test -z "$as_dir" && as_dir=.
|
7131 |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
7132 |
|
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
7133 |
|
|
ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
|
7134 |
|
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
7135 |
|
|
break 2
|
7136 |
|
|
fi
|
7137 |
|
|
done
|
7138 |
|
|
done
|
7139 |
|
|
|
7140 |
|
|
fi
|
7141 |
|
|
fi
|
7142 |
|
|
OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
|
7143 |
|
|
if test -n "$OBJDUMP_FOR_TARGET"; then
|
7144 |
|
|
echo "$as_me:$LINENO: result: $OBJDUMP_FOR_TARGET" >&5
|
7145 |
|
|
echo "${ECHO_T}$OBJDUMP_FOR_TARGET" >&6
|
7146 |
|
|
else
|
7147 |
|
|
echo "$as_me:$LINENO: result: no" >&5
|
7148 |
|
|
echo "${ECHO_T}no" >&6
|
7149 |
|
|
fi
|
7150 |
|
|
|
7151 |
|
|
fi
|
7152 |
|
|
if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test $build = $target ; then
|
7153 |
|
|
# Extract the first word of "${ncn_progname}", so it can be a program name with args.
|
7154 |
|
|
set dummy ${ncn_progname}; ac_word=$2
|
7155 |
|
|
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
7156 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
7157 |
|
|
if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then
|
7158 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
7159 |
|
|
else
|
7160 |
|
|
if test -n "$OBJDUMP_FOR_TARGET"; then
|
7161 |
|
|
ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
|
7162 |
|
|
else
|
7163 |
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
7164 |
|
|
for as_dir in $PATH
|
7165 |
|
|
do
|
7166 |
|
|
IFS=$as_save_IFS
|
7167 |
|
|
test -z "$as_dir" && as_dir=.
|
7168 |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
7169 |
|
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
7170 |
|
|
ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
|
7171 |
|
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
7172 |
|
|
break 2
|
7173 |
|
|
fi
|
7174 |
|
|
done
|
7175 |
|
|
done
|
7176 |
|
|
|
7177 |
|
|
fi
|
7178 |
|
|
fi
|
7179 |
|
|
OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
|
7180 |
|
|
if test -n "$OBJDUMP_FOR_TARGET"; then
|
7181 |
|
|
echo "$as_me:$LINENO: result: $OBJDUMP_FOR_TARGET" >&5
|
7182 |
|
|
echo "${ECHO_T}$OBJDUMP_FOR_TARGET" >&6
|
7183 |
|
|
else
|
7184 |
|
|
echo "$as_me:$LINENO: result: no" >&5
|
7185 |
|
|
echo "${ECHO_T}no" >&6
|
7186 |
|
|
fi
|
7187 |
|
|
|
7188 |
|
|
fi
|
7189 |
|
|
test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET" && break
|
7190 |
|
|
done
|
7191 |
|
|
|
7192 |
|
|
if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" ; then
|
7193 |
|
|
set dummy objdump
|
7194 |
|
|
if test $build = $target ; then
|
7195 |
|
|
OBJDUMP_FOR_TARGET="$2"
|
7196 |
|
|
else
|
7197 |
|
|
OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}$2"
|
7198 |
|
|
fi
|
7199 |
|
|
fi
|
7200 |
|
|
|
7201 |
|
|
for ncn_progname in ranlib; do
|
7202 |
|
|
if test -n "$ncn_target_tool_prefix"; then
|
7203 |
|
|
# Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
|
7204 |
|
|
set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
|
7205 |
|
|
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
7206 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
7207 |
|
|
if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then
|
7208 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
7209 |
|
|
else
|
7210 |
|
|
if test -n "$RANLIB_FOR_TARGET"; then
|
7211 |
|
|
ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
|
7212 |
|
|
else
|
7213 |
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
7214 |
|
|
for as_dir in $PATH
|
7215 |
|
|
do
|
7216 |
|
|
IFS=$as_save_IFS
|
7217 |
|
|
test -z "$as_dir" && as_dir=.
|
7218 |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
7219 |
|
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
7220 |
|
|
ac_cv_prog_RANLIB_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
|
7221 |
|
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
7222 |
|
|
break 2
|
7223 |
|
|
fi
|
7224 |
|
|
done
|
7225 |
|
|
done
|
7226 |
|
|
|
7227 |
|
|
fi
|
7228 |
|
|
fi
|
7229 |
|
|
RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
|
7230 |
|
|
if test -n "$RANLIB_FOR_TARGET"; then
|
7231 |
|
|
echo "$as_me:$LINENO: result: $RANLIB_FOR_TARGET" >&5
|
7232 |
|
|
echo "${ECHO_T}$RANLIB_FOR_TARGET" >&6
|
7233 |
|
|
else
|
7234 |
|
|
echo "$as_me:$LINENO: result: no" >&5
|
7235 |
|
|
echo "${ECHO_T}no" >&6
|
7236 |
|
|
fi
|
7237 |
|
|
|
7238 |
|
|
fi
|
7239 |
|
|
if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test $build = $target ; then
|
7240 |
|
|
# Extract the first word of "${ncn_progname}", so it can be a program name with args.
|
7241 |
|
|
set dummy ${ncn_progname}; ac_word=$2
|
7242 |
|
|
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
7243 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
7244 |
|
|
if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then
|
7245 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
7246 |
|
|
else
|
7247 |
|
|
if test -n "$RANLIB_FOR_TARGET"; then
|
7248 |
|
|
ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
|
7249 |
|
|
else
|
7250 |
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
7251 |
|
|
for as_dir in $PATH
|
7252 |
|
|
do
|
7253 |
|
|
IFS=$as_save_IFS
|
7254 |
|
|
test -z "$as_dir" && as_dir=.
|
7255 |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
7256 |
|
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
7257 |
|
|
ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
|
7258 |
|
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
7259 |
|
|
break 2
|
7260 |
|
|
fi
|
7261 |
|
|
done
|
7262 |
|
|
done
|
7263 |
|
|
|
7264 |
|
|
fi
|
7265 |
|
|
fi
|
7266 |
|
|
RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
|
7267 |
|
|
if test -n "$RANLIB_FOR_TARGET"; then
|
7268 |
|
|
echo "$as_me:$LINENO: result: $RANLIB_FOR_TARGET" >&5
|
7269 |
|
|
echo "${ECHO_T}$RANLIB_FOR_TARGET" >&6
|
7270 |
|
|
else
|
7271 |
|
|
echo "$as_me:$LINENO: result: no" >&5
|
7272 |
|
|
echo "${ECHO_T}no" >&6
|
7273 |
|
|
fi
|
7274 |
|
|
|
7275 |
|
|
fi
|
7276 |
|
|
test -n "$ac_cv_prog_RANLIB_FOR_TARGET" && break
|
7277 |
|
|
done
|
7278 |
|
|
|
7279 |
|
|
if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" ; then
|
7280 |
|
|
RANLIB_FOR_TARGET=":"
|
7281 |
|
|
fi
|
7282 |
|
|
|
7283 |
|
|
for ncn_progname in strip; do
|
7284 |
|
|
if test -n "$ncn_target_tool_prefix"; then
|
7285 |
|
|
# Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
|
7286 |
|
|
set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
|
7287 |
|
|
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
7288 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
7289 |
|
|
if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then
|
7290 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
7291 |
|
|
else
|
7292 |
|
|
if test -n "$STRIP_FOR_TARGET"; then
|
7293 |
|
|
ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
|
7294 |
|
|
else
|
7295 |
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
7296 |
|
|
for as_dir in $PATH
|
7297 |
|
|
do
|
7298 |
|
|
IFS=$as_save_IFS
|
7299 |
|
|
test -z "$as_dir" && as_dir=.
|
7300 |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
7301 |
|
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
7302 |
|
|
ac_cv_prog_STRIP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
|
7303 |
|
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
7304 |
|
|
break 2
|
7305 |
|
|
fi
|
7306 |
|
|
done
|
7307 |
|
|
done
|
7308 |
|
|
|
7309 |
|
|
fi
|
7310 |
|
|
fi
|
7311 |
|
|
STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
|
7312 |
|
|
if test -n "$STRIP_FOR_TARGET"; then
|
7313 |
|
|
echo "$as_me:$LINENO: result: $STRIP_FOR_TARGET" >&5
|
7314 |
|
|
echo "${ECHO_T}$STRIP_FOR_TARGET" >&6
|
7315 |
|
|
else
|
7316 |
|
|
echo "$as_me:$LINENO: result: no" >&5
|
7317 |
|
|
echo "${ECHO_T}no" >&6
|
7318 |
|
|
fi
|
7319 |
|
|
|
7320 |
|
|
fi
|
7321 |
|
|
if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test $build = $target ; then
|
7322 |
|
|
# Extract the first word of "${ncn_progname}", so it can be a program name with args.
|
7323 |
|
|
set dummy ${ncn_progname}; ac_word=$2
|
7324 |
|
|
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
7325 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
7326 |
|
|
if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then
|
7327 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
7328 |
|
|
else
|
7329 |
|
|
if test -n "$STRIP_FOR_TARGET"; then
|
7330 |
|
|
ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
|
7331 |
|
|
else
|
7332 |
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
7333 |
|
|
for as_dir in $PATH
|
7334 |
|
|
do
|
7335 |
|
|
IFS=$as_save_IFS
|
7336 |
|
|
test -z "$as_dir" && as_dir=.
|
7337 |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
7338 |
|
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
7339 |
|
|
ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
|
7340 |
|
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
7341 |
|
|
break 2
|
7342 |
|
|
fi
|
7343 |
|
|
done
|
7344 |
|
|
done
|
7345 |
|
|
|
7346 |
|
|
fi
|
7347 |
|
|
fi
|
7348 |
|
|
STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
|
7349 |
|
|
if test -n "$STRIP_FOR_TARGET"; then
|
7350 |
|
|
echo "$as_me:$LINENO: result: $STRIP_FOR_TARGET" >&5
|
7351 |
|
|
echo "${ECHO_T}$STRIP_FOR_TARGET" >&6
|
7352 |
|
|
else
|
7353 |
|
|
echo "$as_me:$LINENO: result: no" >&5
|
7354 |
|
|
echo "${ECHO_T}no" >&6
|
7355 |
|
|
fi
|
7356 |
|
|
|
7357 |
|
|
fi
|
7358 |
|
|
test -n "$ac_cv_prog_STRIP_FOR_TARGET" && break
|
7359 |
|
|
done
|
7360 |
|
|
|
7361 |
|
|
if test -z "$ac_cv_prog_STRIP_FOR_TARGET" ; then
|
7362 |
|
|
set dummy strip
|
7363 |
|
|
if test $build = $target ; then
|
7364 |
|
|
STRIP_FOR_TARGET="$2"
|
7365 |
|
|
else
|
7366 |
|
|
STRIP_FOR_TARGET="${ncn_target_tool_prefix}$2"
|
7367 |
|
|
fi
|
7368 |
|
|
fi
|
7369 |
|
|
|
7370 |
|
|
for ncn_progname in windres; do
|
7371 |
|
|
if test -n "$ncn_target_tool_prefix"; then
|
7372 |
|
|
# Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
|
7373 |
|
|
set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
|
7374 |
|
|
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
7375 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
7376 |
|
|
if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then
|
7377 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
7378 |
|
|
else
|
7379 |
|
|
if test -n "$WINDRES_FOR_TARGET"; then
|
7380 |
|
|
ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
|
7381 |
|
|
else
|
7382 |
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
7383 |
|
|
for as_dir in $PATH
|
7384 |
|
|
do
|
7385 |
|
|
IFS=$as_save_IFS
|
7386 |
|
|
test -z "$as_dir" && as_dir=.
|
7387 |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
7388 |
|
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
7389 |
|
|
ac_cv_prog_WINDRES_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
|
7390 |
|
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
7391 |
|
|
break 2
|
7392 |
|
|
fi
|
7393 |
|
|
done
|
7394 |
|
|
done
|
7395 |
|
|
|
7396 |
|
|
fi
|
7397 |
|
|
fi
|
7398 |
|
|
WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
|
7399 |
|
|
if test -n "$WINDRES_FOR_TARGET"; then
|
7400 |
|
|
echo "$as_me:$LINENO: result: $WINDRES_FOR_TARGET" >&5
|
7401 |
|
|
echo "${ECHO_T}$WINDRES_FOR_TARGET" >&6
|
7402 |
|
|
else
|
7403 |
|
|
echo "$as_me:$LINENO: result: no" >&5
|
7404 |
|
|
echo "${ECHO_T}no" >&6
|
7405 |
|
|
fi
|
7406 |
|
|
|
7407 |
|
|
fi
|
7408 |
|
|
if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test $build = $target ; then
|
7409 |
|
|
# Extract the first word of "${ncn_progname}", so it can be a program name with args.
|
7410 |
|
|
set dummy ${ncn_progname}; ac_word=$2
|
7411 |
|
|
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
7412 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
7413 |
|
|
if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then
|
7414 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
7415 |
|
|
else
|
7416 |
|
|
if test -n "$WINDRES_FOR_TARGET"; then
|
7417 |
|
|
ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
|
7418 |
|
|
else
|
7419 |
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
7420 |
|
|
for as_dir in $PATH
|
7421 |
|
|
do
|
7422 |
|
|
IFS=$as_save_IFS
|
7423 |
|
|
test -z "$as_dir" && as_dir=.
|
7424 |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
7425 |
|
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
7426 |
|
|
ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
|
7427 |
|
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
7428 |
|
|
break 2
|
7429 |
|
|
fi
|
7430 |
|
|
done
|
7431 |
|
|
done
|
7432 |
|
|
|
7433 |
|
|
fi
|
7434 |
|
|
fi
|
7435 |
|
|
WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
|
7436 |
|
|
if test -n "$WINDRES_FOR_TARGET"; then
|
7437 |
|
|
echo "$as_me:$LINENO: result: $WINDRES_FOR_TARGET" >&5
|
7438 |
|
|
echo "${ECHO_T}$WINDRES_FOR_TARGET" >&6
|
7439 |
|
|
else
|
7440 |
|
|
echo "$as_me:$LINENO: result: no" >&5
|
7441 |
|
|
echo "${ECHO_T}no" >&6
|
7442 |
|
|
fi
|
7443 |
|
|
|
7444 |
|
|
fi
|
7445 |
|
|
test -n "$ac_cv_prog_WINDRES_FOR_TARGET" && break
|
7446 |
|
|
done
|
7447 |
|
|
|
7448 |
|
|
if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" ; then
|
7449 |
|
|
set dummy windres
|
7450 |
|
|
if test $build = $target ; then
|
7451 |
|
|
WINDRES_FOR_TARGET="$2"
|
7452 |
|
|
else
|
7453 |
|
|
WINDRES_FOR_TARGET="${ncn_target_tool_prefix}$2"
|
7454 |
|
|
fi
|
7455 |
|
|
fi
|
7456 |
|
|
|
7457 |
|
|
|
7458 |
|
|
RAW_CXX_FOR_TARGET="$CXX_FOR_TARGET"
|
7459 |
|
|
|
7460 |
|
|
echo "$as_me:$LINENO: checking where to find the target ar" >&5
|
7461 |
|
|
echo $ECHO_N "checking where to find the target ar... $ECHO_C" >&6
|
7462 |
|
|
if test "x${build}" != "x${host}" ; then
|
7463 |
|
|
# Canadian cross, just use what we found
|
7464 |
|
|
echo "$as_me:$LINENO: result: pre-installed" >&5
|
7465 |
|
|
echo "${ECHO_T}pre-installed" >&6
|
7466 |
|
|
else
|
7467 |
|
|
ok=yes
|
7468 |
|
|
case " ${configdirs} " in
|
7469 |
|
|
*" binutils "*) ;;
|
7470 |
|
|
*) ok=no ;;
|
7471 |
|
|
esac
|
7472 |
|
|
|
7473 |
|
|
if test $ok = yes; then
|
7474 |
|
|
# An in-tree tool is available and we can use it
|
7475 |
|
|
AR_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ar'
|
7476 |
|
|
echo "$as_me:$LINENO: result: just compiled" >&5
|
7477 |
|
|
echo "${ECHO_T}just compiled" >&6
|
7478 |
|
|
elif test "x$target" = "x$host"; then
|
7479 |
|
|
# We can use an host tool
|
7480 |
|
|
AR_FOR_TARGET='$(AR)'
|
7481 |
|
|
echo "$as_me:$LINENO: result: host tool" >&5
|
7482 |
|
|
echo "${ECHO_T}host tool" >&6
|
7483 |
|
|
else
|
7484 |
|
|
# We need a cross tool
|
7485 |
|
|
echo "$as_me:$LINENO: result: pre-installed" >&5
|
7486 |
|
|
echo "${ECHO_T}pre-installed" >&6
|
7487 |
|
|
fi
|
7488 |
|
|
fi
|
7489 |
|
|
echo "$as_me:$LINENO: checking where to find the target as" >&5
|
7490 |
|
|
echo $ECHO_N "checking where to find the target as... $ECHO_C" >&6
|
7491 |
|
|
if test "x${build}" != "x${host}" ; then
|
7492 |
|
|
# Canadian cross, just use what we found
|
7493 |
|
|
echo "$as_me:$LINENO: result: pre-installed" >&5
|
7494 |
|
|
echo "${ECHO_T}pre-installed" >&6
|
7495 |
|
|
else
|
7496 |
|
|
ok=yes
|
7497 |
|
|
case " ${configdirs} " in
|
7498 |
|
|
*" gas "*) ;;
|
7499 |
|
|
*) ok=no ;;
|
7500 |
|
|
esac
|
7501 |
|
|
|
7502 |
|
|
if test $ok = yes; then
|
7503 |
|
|
# An in-tree tool is available and we can use it
|
7504 |
|
|
AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gas/as-new'
|
7505 |
|
|
echo "$as_me:$LINENO: result: just compiled" >&5
|
7506 |
|
|
echo "${ECHO_T}just compiled" >&6
|
7507 |
|
|
elif test "x$target" = "x$host"; then
|
7508 |
|
|
# We can use an host tool
|
7509 |
|
|
AS_FOR_TARGET='$(AS)'
|
7510 |
|
|
echo "$as_me:$LINENO: result: host tool" >&5
|
7511 |
|
|
echo "${ECHO_T}host tool" >&6
|
7512 |
|
|
else
|
7513 |
|
|
# We need a cross tool
|
7514 |
|
|
echo "$as_me:$LINENO: result: pre-installed" >&5
|
7515 |
|
|
echo "${ECHO_T}pre-installed" >&6
|
7516 |
|
|
fi
|
7517 |
|
|
fi
|
7518 |
|
|
echo "$as_me:$LINENO: checking where to find the target cc" >&5
|
7519 |
|
|
echo $ECHO_N "checking where to find the target cc... $ECHO_C" >&6
|
7520 |
|
|
if test "x${build}" != "x${host}" ; then
|
7521 |
|
|
# Canadian cross, just use what we found
|
7522 |
|
|
echo "$as_me:$LINENO: result: pre-installed" >&5
|
7523 |
|
|
echo "${ECHO_T}pre-installed" >&6
|
7524 |
|
|
else
|
7525 |
|
|
ok=yes
|
7526 |
|
|
case " ${configdirs} " in
|
7527 |
|
|
*" gcc "*) ;;
|
7528 |
|
|
*) ok=no ;;
|
7529 |
|
|
esac
|
7530 |
|
|
|
7531 |
|
|
if test $ok = yes; then
|
7532 |
|
|
# An in-tree tool is available and we can use it
|
7533 |
|
|
CC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
|
7534 |
|
|
echo "$as_me:$LINENO: result: just compiled" >&5
|
7535 |
|
|
echo "${ECHO_T}just compiled" >&6
|
7536 |
|
|
elif test "x$target" = "x$host"; then
|
7537 |
|
|
# We can use an host tool
|
7538 |
|
|
CC_FOR_TARGET='$(CC)'
|
7539 |
|
|
echo "$as_me:$LINENO: result: host tool" >&5
|
7540 |
|
|
echo "${ECHO_T}host tool" >&6
|
7541 |
|
|
else
|
7542 |
|
|
# We need a cross tool
|
7543 |
|
|
echo "$as_me:$LINENO: result: pre-installed" >&5
|
7544 |
|
|
echo "${ECHO_T}pre-installed" >&6
|
7545 |
|
|
fi
|
7546 |
|
|
fi
|
7547 |
|
|
echo "$as_me:$LINENO: checking where to find the target c++" >&5
|
7548 |
|
|
echo $ECHO_N "checking where to find the target c++... $ECHO_C" >&6
|
7549 |
|
|
if test "x${build}" != "x${host}" ; then
|
7550 |
|
|
# Canadian cross, just use what we found
|
7551 |
|
|
echo "$as_me:$LINENO: result: pre-installed" >&5
|
7552 |
|
|
echo "${ECHO_T}pre-installed" >&6
|
7553 |
|
|
else
|
7554 |
|
|
ok=yes
|
7555 |
|
|
case " ${configdirs} " in
|
7556 |
|
|
*" gcc "*) ;;
|
7557 |
|
|
*) ok=no ;;
|
7558 |
|
|
esac
|
7559 |
|
|
case ,${enable_languages}, in
|
7560 |
|
|
*,c++,*) ;;
|
7561 |
|
|
*) ok=no ;;
|
7562 |
|
|
esac
|
7563 |
|
|
if test $ok = yes; then
|
7564 |
|
|
# An in-tree tool is available and we can use it
|
7565 |
|
|
CXX_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/g++ -B$$r/$(HOST_SUBDIR)/gcc/ -nostdinc++ `test ! -f $$r/$(TARGET_SUBDIR)/libstdc++-v3/scripts/testsuite_flags || $(SHELL) $$r/$(TARGET_SUBDIR)/libstdc++-v3/scripts/testsuite_flags --build-includes` -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs'
|
7566 |
|
|
echo "$as_me:$LINENO: result: just compiled" >&5
|
7567 |
|
|
echo "${ECHO_T}just compiled" >&6
|
7568 |
|
|
elif test "x$target" = "x$host"; then
|
7569 |
|
|
# We can use an host tool
|
7570 |
|
|
CXX_FOR_TARGET='$(CXX)'
|
7571 |
|
|
echo "$as_me:$LINENO: result: host tool" >&5
|
7572 |
|
|
echo "${ECHO_T}host tool" >&6
|
7573 |
|
|
else
|
7574 |
|
|
# We need a cross tool
|
7575 |
|
|
echo "$as_me:$LINENO: result: pre-installed" >&5
|
7576 |
|
|
echo "${ECHO_T}pre-installed" >&6
|
7577 |
|
|
fi
|
7578 |
|
|
fi
|
7579 |
|
|
echo "$as_me:$LINENO: checking where to find the target c++ for libstdc++" >&5
|
7580 |
|
|
echo $ECHO_N "checking where to find the target c++ for libstdc++... $ECHO_C" >&6
|
7581 |
|
|
if test "x${build}" != "x${host}" ; then
|
7582 |
|
|
# Canadian cross, just use what we found
|
7583 |
|
|
echo "$as_me:$LINENO: result: pre-installed" >&5
|
7584 |
|
|
echo "${ECHO_T}pre-installed" >&6
|
7585 |
|
|
else
|
7586 |
|
|
ok=yes
|
7587 |
|
|
case " ${configdirs} " in
|
7588 |
|
|
*" gcc "*) ;;
|
7589 |
|
|
*) ok=no ;;
|
7590 |
|
|
esac
|
7591 |
|
|
case ,${enable_languages}, in
|
7592 |
|
|
*,c++,*) ;;
|
7593 |
|
|
*) ok=no ;;
|
7594 |
|
|
esac
|
7595 |
|
|
if test $ok = yes; then
|
7596 |
|
|
# An in-tree tool is available and we can use it
|
7597 |
|
|
RAW_CXX_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -shared-libgcc -B$$r/$(HOST_SUBDIR)/gcc -nostdinc++ -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs'
|
7598 |
|
|
echo "$as_me:$LINENO: result: just compiled" >&5
|
7599 |
|
|
echo "${ECHO_T}just compiled" >&6
|
7600 |
|
|
elif test "x$target" = "x$host"; then
|
7601 |
|
|
# We can use an host tool
|
7602 |
|
|
RAW_CXX_FOR_TARGET='$(CXX)'
|
7603 |
|
|
echo "$as_me:$LINENO: result: host tool" >&5
|
7604 |
|
|
echo "${ECHO_T}host tool" >&6
|
7605 |
|
|
else
|
7606 |
|
|
# We need a cross tool
|
7607 |
|
|
echo "$as_me:$LINENO: result: pre-installed" >&5
|
7608 |
|
|
echo "${ECHO_T}pre-installed" >&6
|
7609 |
|
|
fi
|
7610 |
|
|
fi
|
7611 |
|
|
echo "$as_me:$LINENO: checking where to find the target dlltool" >&5
|
7612 |
|
|
echo $ECHO_N "checking where to find the target dlltool... $ECHO_C" >&6
|
7613 |
|
|
if test "x${build}" != "x${host}" ; then
|
7614 |
|
|
# Canadian cross, just use what we found
|
7615 |
|
|
echo "$as_me:$LINENO: result: pre-installed" >&5
|
7616 |
|
|
echo "${ECHO_T}pre-installed" >&6
|
7617 |
|
|
else
|
7618 |
|
|
ok=yes
|
7619 |
|
|
case " ${configdirs} " in
|
7620 |
|
|
*" binutils "*) ;;
|
7621 |
|
|
*) ok=no ;;
|
7622 |
|
|
esac
|
7623 |
|
|
|
7624 |
|
|
if test $ok = yes; then
|
7625 |
|
|
# An in-tree tool is available and we can use it
|
7626 |
|
|
DLLTOOL_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/dlltool'
|
7627 |
|
|
echo "$as_me:$LINENO: result: just compiled" >&5
|
7628 |
|
|
echo "${ECHO_T}just compiled" >&6
|
7629 |
|
|
elif test "x$target" = "x$host"; then
|
7630 |
|
|
# We can use an host tool
|
7631 |
|
|
DLLTOOL_FOR_TARGET='$(DLLTOOL)'
|
7632 |
|
|
echo "$as_me:$LINENO: result: host tool" >&5
|
7633 |
|
|
echo "${ECHO_T}host tool" >&6
|
7634 |
|
|
else
|
7635 |
|
|
# We need a cross tool
|
7636 |
|
|
echo "$as_me:$LINENO: result: pre-installed" >&5
|
7637 |
|
|
echo "${ECHO_T}pre-installed" >&6
|
7638 |
|
|
fi
|
7639 |
|
|
fi
|
7640 |
|
|
echo "$as_me:$LINENO: checking where to find the target gcc" >&5
|
7641 |
|
|
echo $ECHO_N "checking where to find the target gcc... $ECHO_C" >&6
|
7642 |
|
|
if test "x${build}" != "x${host}" ; then
|
7643 |
|
|
# Canadian cross, just use what we found
|
7644 |
|
|
echo "$as_me:$LINENO: result: pre-installed" >&5
|
7645 |
|
|
echo "${ECHO_T}pre-installed" >&6
|
7646 |
|
|
else
|
7647 |
|
|
ok=yes
|
7648 |
|
|
case " ${configdirs} " in
|
7649 |
|
|
*" gcc "*) ;;
|
7650 |
|
|
*) ok=no ;;
|
7651 |
|
|
esac
|
7652 |
|
|
|
7653 |
|
|
if test $ok = yes; then
|
7654 |
|
|
# An in-tree tool is available and we can use it
|
7655 |
|
|
GCC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
|
7656 |
|
|
echo "$as_me:$LINENO: result: just compiled" >&5
|
7657 |
|
|
echo "${ECHO_T}just compiled" >&6
|
7658 |
|
|
elif test "x$target" = "x$host"; then
|
7659 |
|
|
# We can use an host tool
|
7660 |
|
|
GCC_FOR_TARGET='$()'
|
7661 |
|
|
echo "$as_me:$LINENO: result: host tool" >&5
|
7662 |
|
|
echo "${ECHO_T}host tool" >&6
|
7663 |
|
|
else
|
7664 |
|
|
# We need a cross tool
|
7665 |
|
|
echo "$as_me:$LINENO: result: pre-installed" >&5
|
7666 |
|
|
echo "${ECHO_T}pre-installed" >&6
|
7667 |
|
|
fi
|
7668 |
|
|
fi
|
7669 |
|
|
echo "$as_me:$LINENO: checking where to find the target gcj" >&5
|
7670 |
|
|
echo $ECHO_N "checking where to find the target gcj... $ECHO_C" >&6
|
7671 |
|
|
if test "x${build}" != "x${host}" ; then
|
7672 |
|
|
# Canadian cross, just use what we found
|
7673 |
|
|
echo "$as_me:$LINENO: result: pre-installed" >&5
|
7674 |
|
|
echo "${ECHO_T}pre-installed" >&6
|
7675 |
|
|
else
|
7676 |
|
|
ok=yes
|
7677 |
|
|
case " ${configdirs} " in
|
7678 |
|
|
*" gcc "*) ;;
|
7679 |
|
|
*) ok=no ;;
|
7680 |
|
|
esac
|
7681 |
|
|
case ,${enable_languages}, in
|
7682 |
|
|
*,java,*) ;;
|
7683 |
|
|
*) ok=no ;;
|
7684 |
|
|
esac
|
7685 |
|
|
if test $ok = yes; then
|
7686 |
|
|
# An in-tree tool is available and we can use it
|
7687 |
|
|
GCJ_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gcj -B$$r/$(HOST_SUBDIR)/gcc/'
|
7688 |
|
|
echo "$as_me:$LINENO: result: just compiled" >&5
|
7689 |
|
|
echo "${ECHO_T}just compiled" >&6
|
7690 |
|
|
elif test "x$target" = "x$host"; then
|
7691 |
|
|
# We can use an host tool
|
7692 |
|
|
GCJ_FOR_TARGET='$(GCJ)'
|
7693 |
|
|
echo "$as_me:$LINENO: result: host tool" >&5
|
7694 |
|
|
echo "${ECHO_T}host tool" >&6
|
7695 |
|
|
else
|
7696 |
|
|
# We need a cross tool
|
7697 |
|
|
echo "$as_me:$LINENO: result: pre-installed" >&5
|
7698 |
|
|
echo "${ECHO_T}pre-installed" >&6
|
7699 |
|
|
fi
|
7700 |
|
|
fi
|
7701 |
|
|
echo "$as_me:$LINENO: checking where to find the target gfortran" >&5
|
7702 |
|
|
echo $ECHO_N "checking where to find the target gfortran... $ECHO_C" >&6
|
7703 |
|
|
if test "x${build}" != "x${host}" ; then
|
7704 |
|
|
# Canadian cross, just use what we found
|
7705 |
|
|
echo "$as_me:$LINENO: result: pre-installed" >&5
|
7706 |
|
|
echo "${ECHO_T}pre-installed" >&6
|
7707 |
|
|
else
|
7708 |
|
|
ok=yes
|
7709 |
|
|
case " ${configdirs} " in
|
7710 |
|
|
*" gcc "*) ;;
|
7711 |
|
|
*) ok=no ;;
|
7712 |
|
|
esac
|
7713 |
|
|
case ,${enable_languages}, in
|
7714 |
|
|
*,fortran,*) ;;
|
7715 |
|
|
*) ok=no ;;
|
7716 |
|
|
esac
|
7717 |
|
|
if test $ok = yes; then
|
7718 |
|
|
# An in-tree tool is available and we can use it
|
7719 |
|
|
GFORTRAN_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gfortran -B$$r/$(HOST_SUBDIR)/gcc/'
|
7720 |
|
|
echo "$as_me:$LINENO: result: just compiled" >&5
|
7721 |
|
|
echo "${ECHO_T}just compiled" >&6
|
7722 |
|
|
elif test "x$target" = "x$host"; then
|
7723 |
|
|
# We can use an host tool
|
7724 |
|
|
GFORTRAN_FOR_TARGET='$(GFORTRAN)'
|
7725 |
|
|
echo "$as_me:$LINENO: result: host tool" >&5
|
7726 |
|
|
echo "${ECHO_T}host tool" >&6
|
7727 |
|
|
else
|
7728 |
|
|
# We need a cross tool
|
7729 |
|
|
echo "$as_me:$LINENO: result: pre-installed" >&5
|
7730 |
|
|
echo "${ECHO_T}pre-installed" >&6
|
7731 |
|
|
fi
|
7732 |
|
|
fi
|
7733 |
|
|
echo "$as_me:$LINENO: checking where to find the target ld" >&5
|
7734 |
|
|
echo $ECHO_N "checking where to find the target ld... $ECHO_C" >&6
|
7735 |
|
|
if test "x${build}" != "x${host}" ; then
|
7736 |
|
|
# Canadian cross, just use what we found
|
7737 |
|
|
echo "$as_me:$LINENO: result: pre-installed" >&5
|
7738 |
|
|
echo "${ECHO_T}pre-installed" >&6
|
7739 |
|
|
else
|
7740 |
|
|
ok=yes
|
7741 |
|
|
case " ${configdirs} " in
|
7742 |
|
|
*" ld "*) ;;
|
7743 |
|
|
*) ok=no ;;
|
7744 |
|
|
esac
|
7745 |
|
|
|
7746 |
|
|
if test $ok = yes; then
|
7747 |
|
|
# An in-tree tool is available and we can use it
|
7748 |
|
|
LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/ld/ld-new'
|
7749 |
|
|
echo "$as_me:$LINENO: result: just compiled" >&5
|
7750 |
|
|
echo "${ECHO_T}just compiled" >&6
|
7751 |
|
|
elif test "x$target" = "x$host"; then
|
7752 |
|
|
# We can use an host tool
|
7753 |
|
|
LD_FOR_TARGET='$(LD)'
|
7754 |
|
|
echo "$as_me:$LINENO: result: host tool" >&5
|
7755 |
|
|
echo "${ECHO_T}host tool" >&6
|
7756 |
|
|
else
|
7757 |
|
|
# We need a cross tool
|
7758 |
|
|
echo "$as_me:$LINENO: result: pre-installed" >&5
|
7759 |
|
|
echo "${ECHO_T}pre-installed" >&6
|
7760 |
|
|
fi
|
7761 |
|
|
fi
|
7762 |
|
|
echo "$as_me:$LINENO: checking where to find the target lipo" >&5
|
7763 |
|
|
echo $ECHO_N "checking where to find the target lipo... $ECHO_C" >&6
|
7764 |
|
|
if test "x${build}" != "x${host}" ; then
|
7765 |
|
|
# Canadian cross, just use what we found
|
7766 |
|
|
echo "$as_me:$LINENO: result: pre-installed" >&5
|
7767 |
|
|
echo "${ECHO_T}pre-installed" >&6
|
7768 |
|
|
else
|
7769 |
|
|
if test "x$target" = "x$host"; then
|
7770 |
|
|
# We can use an host tool
|
7771 |
|
|
LIPO_FOR_TARGET='$(LIPO)'
|
7772 |
|
|
echo "$as_me:$LINENO: result: host tool" >&5
|
7773 |
|
|
echo "${ECHO_T}host tool" >&6
|
7774 |
|
|
else
|
7775 |
|
|
# We need a cross tool
|
7776 |
|
|
echo "$as_me:$LINENO: result: pre-installed" >&5
|
7777 |
|
|
echo "${ECHO_T}pre-installed" >&6
|
7778 |
|
|
fi
|
7779 |
|
|
fi
|
7780 |
|
|
echo "$as_me:$LINENO: checking where to find the target nm" >&5
|
7781 |
|
|
echo $ECHO_N "checking where to find the target nm... $ECHO_C" >&6
|
7782 |
|
|
if test "x${build}" != "x${host}" ; then
|
7783 |
|
|
# Canadian cross, just use what we found
|
7784 |
|
|
echo "$as_me:$LINENO: result: pre-installed" >&5
|
7785 |
|
|
echo "${ECHO_T}pre-installed" >&6
|
7786 |
|
|
else
|
7787 |
|
|
ok=yes
|
7788 |
|
|
case " ${configdirs} " in
|
7789 |
|
|
*" binutils "*) ;;
|
7790 |
|
|
*) ok=no ;;
|
7791 |
|
|
esac
|
7792 |
|
|
|
7793 |
|
|
if test $ok = yes; then
|
7794 |
|
|
# An in-tree tool is available and we can use it
|
7795 |
|
|
NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/nm-new'
|
7796 |
|
|
echo "$as_me:$LINENO: result: just compiled" >&5
|
7797 |
|
|
echo "${ECHO_T}just compiled" >&6
|
7798 |
|
|
elif test "x$target" = "x$host"; then
|
7799 |
|
|
# We can use an host tool
|
7800 |
|
|
NM_FOR_TARGET='$(NM)'
|
7801 |
|
|
echo "$as_me:$LINENO: result: host tool" >&5
|
7802 |
|
|
echo "${ECHO_T}host tool" >&6
|
7803 |
|
|
else
|
7804 |
|
|
# We need a cross tool
|
7805 |
|
|
echo "$as_me:$LINENO: result: pre-installed" >&5
|
7806 |
|
|
echo "${ECHO_T}pre-installed" >&6
|
7807 |
|
|
fi
|
7808 |
|
|
fi
|
7809 |
|
|
echo "$as_me:$LINENO: checking where to find the target objdump" >&5
|
7810 |
|
|
echo $ECHO_N "checking where to find the target objdump... $ECHO_C" >&6
|
7811 |
|
|
if test "x${build}" != "x${host}" ; then
|
7812 |
|
|
# Canadian cross, just use what we found
|
7813 |
|
|
echo "$as_me:$LINENO: result: pre-installed" >&5
|
7814 |
|
|
echo "${ECHO_T}pre-installed" >&6
|
7815 |
|
|
else
|
7816 |
|
|
ok=yes
|
7817 |
|
|
case " ${configdirs} " in
|
7818 |
|
|
*" binutils "*) ;;
|
7819 |
|
|
*) ok=no ;;
|
7820 |
|
|
esac
|
7821 |
|
|
|
7822 |
|
|
if test $ok = yes; then
|
7823 |
|
|
# An in-tree tool is available and we can use it
|
7824 |
|
|
OBJDUMP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objdump'
|
7825 |
|
|
echo "$as_me:$LINENO: result: just compiled" >&5
|
7826 |
|
|
echo "${ECHO_T}just compiled" >&6
|
7827 |
|
|
elif test "x$target" = "x$host"; then
|
7828 |
|
|
# We can use an host tool
|
7829 |
|
|
OBJDUMP_FOR_TARGET='$(OBJDUMP)'
|
7830 |
|
|
echo "$as_me:$LINENO: result: host tool" >&5
|
7831 |
|
|
echo "${ECHO_T}host tool" >&6
|
7832 |
|
|
else
|
7833 |
|
|
# We need a cross tool
|
7834 |
|
|
echo "$as_me:$LINENO: result: pre-installed" >&5
|
7835 |
|
|
echo "${ECHO_T}pre-installed" >&6
|
7836 |
|
|
fi
|
7837 |
|
|
fi
|
7838 |
|
|
echo "$as_me:$LINENO: checking where to find the target ranlib" >&5
|
7839 |
|
|
echo $ECHO_N "checking where to find the target ranlib... $ECHO_C" >&6
|
7840 |
|
|
if test "x${build}" != "x${host}" ; then
|
7841 |
|
|
# Canadian cross, just use what we found
|
7842 |
|
|
echo "$as_me:$LINENO: result: pre-installed" >&5
|
7843 |
|
|
echo "${ECHO_T}pre-installed" >&6
|
7844 |
|
|
else
|
7845 |
|
|
ok=yes
|
7846 |
|
|
case " ${configdirs} " in
|
7847 |
|
|
*" binutils "*) ;;
|
7848 |
|
|
*) ok=no ;;
|
7849 |
|
|
esac
|
7850 |
|
|
|
7851 |
|
|
if test $ok = yes; then
|
7852 |
|
|
# An in-tree tool is available and we can use it
|
7853 |
|
|
RANLIB_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ranlib'
|
7854 |
|
|
echo "$as_me:$LINENO: result: just compiled" >&5
|
7855 |
|
|
echo "${ECHO_T}just compiled" >&6
|
7856 |
|
|
elif test "x$target" = "x$host"; then
|
7857 |
|
|
# We can use an host tool
|
7858 |
|
|
RANLIB_FOR_TARGET='$(RANLIB)'
|
7859 |
|
|
echo "$as_me:$LINENO: result: host tool" >&5
|
7860 |
|
|
echo "${ECHO_T}host tool" >&6
|
7861 |
|
|
else
|
7862 |
|
|
# We need a cross tool
|
7863 |
|
|
echo "$as_me:$LINENO: result: pre-installed" >&5
|
7864 |
|
|
echo "${ECHO_T}pre-installed" >&6
|
7865 |
|
|
fi
|
7866 |
|
|
fi
|
7867 |
|
|
echo "$as_me:$LINENO: checking where to find the target strip" >&5
|
7868 |
|
|
echo $ECHO_N "checking where to find the target strip... $ECHO_C" >&6
|
7869 |
|
|
if test "x${build}" != "x${host}" ; then
|
7870 |
|
|
# Canadian cross, just use what we found
|
7871 |
|
|
echo "$as_me:$LINENO: result: pre-installed" >&5
|
7872 |
|
|
echo "${ECHO_T}pre-installed" >&6
|
7873 |
|
|
else
|
7874 |
|
|
ok=yes
|
7875 |
|
|
case " ${configdirs} " in
|
7876 |
|
|
*" binutils "*) ;;
|
7877 |
|
|
*) ok=no ;;
|
7878 |
|
|
esac
|
7879 |
|
|
|
7880 |
|
|
if test $ok = yes; then
|
7881 |
|
|
# An in-tree tool is available and we can use it
|
7882 |
|
|
STRIP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/strip'
|
7883 |
|
|
echo "$as_me:$LINENO: result: just compiled" >&5
|
7884 |
|
|
echo "${ECHO_T}just compiled" >&6
|
7885 |
|
|
elif test "x$target" = "x$host"; then
|
7886 |
|
|
# We can use an host tool
|
7887 |
|
|
STRIP_FOR_TARGET='$(STRIP)'
|
7888 |
|
|
echo "$as_me:$LINENO: result: host tool" >&5
|
7889 |
|
|
echo "${ECHO_T}host tool" >&6
|
7890 |
|
|
else
|
7891 |
|
|
# We need a cross tool
|
7892 |
|
|
echo "$as_me:$LINENO: result: pre-installed" >&5
|
7893 |
|
|
echo "${ECHO_T}pre-installed" >&6
|
7894 |
|
|
fi
|
7895 |
|
|
fi
|
7896 |
|
|
echo "$as_me:$LINENO: checking where to find the target windres" >&5
|
7897 |
|
|
echo $ECHO_N "checking where to find the target windres... $ECHO_C" >&6
|
7898 |
|
|
if test "x${build}" != "x${host}" ; then
|
7899 |
|
|
# Canadian cross, just use what we found
|
7900 |
|
|
echo "$as_me:$LINENO: result: pre-installed" >&5
|
7901 |
|
|
echo "${ECHO_T}pre-installed" >&6
|
7902 |
|
|
else
|
7903 |
|
|
ok=yes
|
7904 |
|
|
case " ${configdirs} " in
|
7905 |
|
|
*" binutils "*) ;;
|
7906 |
|
|
*) ok=no ;;
|
7907 |
|
|
esac
|
7908 |
|
|
|
7909 |
|
|
if test $ok = yes; then
|
7910 |
|
|
# An in-tree tool is available and we can use it
|
7911 |
|
|
WINDRES_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windres'
|
7912 |
|
|
echo "$as_me:$LINENO: result: just compiled" >&5
|
7913 |
|
|
echo "${ECHO_T}just compiled" >&6
|
7914 |
|
|
elif test "x$target" = "x$host"; then
|
7915 |
|
|
# We can use an host tool
|
7916 |
|
|
WINDRES_FOR_TARGET='$(WINDRES)'
|
7917 |
|
|
echo "$as_me:$LINENO: result: host tool" >&5
|
7918 |
|
|
echo "${ECHO_T}host tool" >&6
|
7919 |
|
|
else
|
7920 |
|
|
# We need a cross tool
|
7921 |
|
|
echo "$as_me:$LINENO: result: pre-installed" >&5
|
7922 |
|
|
echo "${ECHO_T}pre-installed" >&6
|
7923 |
|
|
fi
|
7924 |
|
|
fi
|
7925 |
|
|
|
7926 |
|
|
|
7927 |
|
|
|
7928 |
|
|
|
7929 |
|
|
# Certain tools may need extra flags.
|
7930 |
|
|
AR_FOR_TARGET=${AR_FOR_TARGET}${extra_arflags_for_target}
|
7931 |
|
|
RANLIB_FOR_TARGET=${RANLIB_FOR_TARGET}${extra_ranlibflags_for_target}
|
7932 |
|
|
NM_FOR_TARGET=${NM_FOR_TARGET}${extra_nmflags_for_target}
|
7933 |
|
|
|
7934 |
|
|
# When building target libraries, except in a Canadian cross, we use
|
7935 |
|
|
# the same toolchain as the compiler we just built.
|
7936 |
|
|
COMPILER_AS_FOR_TARGET='$(AS_FOR_TARGET)'
|
7937 |
|
|
COMPILER_LD_FOR_TARGET='$(LD_FOR_TARGET)'
|
7938 |
|
|
COMPILER_NM_FOR_TARGET='$(NM_FOR_TARGET)'
|
7939 |
|
|
if test $host = $build; then
|
7940 |
|
|
case " $configdirs " in
|
7941 |
|
|
*" gcc "*)
|
7942 |
|
|
COMPILER_AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/as'
|
7943 |
|
|
COMPILER_LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/collect-ld'
|
7944 |
|
|
COMPILER_NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/nm'${extra_nmflags_for_target}
|
7945 |
|
|
;;
|
7946 |
|
|
esac
|
7947 |
|
|
fi
|
7948 |
|
|
|
7949 |
|
|
|
7950 |
|
|
|
7951 |
|
|
|
7952 |
|
|
|
7953 |
|
|
echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
|
7954 |
|
|
echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
|
7955 |
|
|
# Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
|
7956 |
|
|
if test "${enable_maintainer_mode+set}" = set; then
|
7957 |
|
|
enableval="$enable_maintainer_mode"
|
7958 |
|
|
USE_MAINTAINER_MODE=$enableval
|
7959 |
|
|
else
|
7960 |
|
|
USE_MAINTAINER_MODE=no
|
7961 |
|
|
fi;
|
7962 |
|
|
echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
|
7963 |
|
|
echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
|
7964 |
|
|
|
7965 |
|
|
|
7966 |
|
|
if test "$USE_MAINTAINER_MODE" = yes; then
|
7967 |
|
|
MAINTAINER_MODE_TRUE=
|
7968 |
|
|
MAINTAINER_MODE_FALSE='#'
|
7969 |
|
|
else
|
7970 |
|
|
MAINTAINER_MODE_TRUE='#'
|
7971 |
|
|
MAINTAINER_MODE_FALSE=
|
7972 |
|
|
fi
|
7973 |
|
|
MAINT=$MAINTAINER_MODE_TRUE
|
7974 |
|
|
|
7975 |
|
|
# ---------------------
|
7976 |
|
|
# GCC bootstrap support
|
7977 |
|
|
# ---------------------
|
7978 |
|
|
|
7979 |
|
|
# Stage specific cflags for build.
|
7980 |
|
|
stage1_cflags="-g"
|
7981 |
|
|
case $build in
|
7982 |
|
|
vax-*-*)
|
7983 |
|
|
case ${GCC} in
|
7984 |
|
|
yes) stage1_cflags="-g -Wa,-J" ;;
|
7985 |
|
|
*) stage1_cflags="-g -J" ;;
|
7986 |
|
|
esac ;;
|
7987 |
|
|
powerpc-*-darwin*)
|
7988 |
|
|
# The spiffy cpp-precomp chokes on some legitimate constructs in GCC
|
7989 |
|
|
# sources; use -no-cpp-precomp to get to GNU cpp.
|
7990 |
|
|
# Apple's GCC has bugs in designated initializer handling, so disable
|
7991 |
|
|
# that too.
|
7992 |
|
|
stage1_cflags="-g -no-cpp-precomp -DHAVE_DESIGNATED_INITIALIZERS=0"
|
7993 |
|
|
;;
|
7994 |
|
|
esac
|
7995 |
|
|
|
7996 |
|
|
|
7997 |
|
|
# It makes debugging easier if we create as symlinks the stage directories
|
7998 |
|
|
# gcc for stageN-gcc and stagePREV-gcc for stage(N-1). In case this is not
|
7999 |
|
|
# possible, however, we can resort to mv.
|
8000 |
|
|
echo "$as_me:$LINENO: checking if symbolic links between directories work" >&5
|
8001 |
|
|
echo $ECHO_N "checking if symbolic links between directories work... $ECHO_C" >&6
|
8002 |
|
|
if test "${gcc_cv_prog_ln_s_dir+set}" = set; then
|
8003 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
8004 |
|
|
else
|
8005 |
|
|
if test "${LN_S}" = "ln -s" \
|
8006 |
|
|
&& mkdir confdir.s1 \
|
8007 |
|
|
&& ln -s confdir.s1 confdir.s2 \
|
8008 |
|
|
&& echo timestamp1 > confdir.s1/conftest.1 \
|
8009 |
|
|
&& cmp confdir.s1/conftest.1 confdir.s2/conftest.1 \
|
8010 |
|
|
&& echo timestamp2 > confdir.s2/conftest.2 \
|
8011 |
|
|
&& cmp confdir.s1/conftest.2 confdir.s1/conftest.2 \
|
8012 |
|
|
&& rm -f confdir.s2; then
|
8013 |
|
|
gcc_cv_prog_ln_s_dir=yes
|
8014 |
|
|
else
|
8015 |
|
|
gcc_cv_prog_ln_s_dir=no
|
8016 |
|
|
fi
|
8017 |
|
|
rm -rf confdir.s1 confdir.s2
|
8018 |
|
|
fi
|
8019 |
|
|
echo "$as_me:$LINENO: result: $gcc_cv_prog_ln_s_dir" >&5
|
8020 |
|
|
echo "${ECHO_T}$gcc_cv_prog_ln_s_dir" >&6
|
8021 |
|
|
|
8022 |
|
|
case ${gcc_cv_prog_ln_s_dir} in
|
8023 |
|
|
yes)
|
8024 |
|
|
CREATE_LINK_TO_DIR='ln -s $$1 $$2'
|
8025 |
|
|
UNDO_LINK_TO_DIR='rm -f $$1' ;;
|
8026 |
|
|
*)
|
8027 |
|
|
CREATE_LINK_TO_DIR='mv $$1 $$2'
|
8028 |
|
|
UNDO_LINK_TO_DIR='mv $$1 $$2' ;;
|
8029 |
|
|
esac
|
8030 |
|
|
|
8031 |
|
|
|
8032 |
|
|
|
8033 |
|
|
# Enable -Werror in bootstrap stage2 and later.
|
8034 |
|
|
# Change the default to "no" on release branches.
|
8035 |
|
|
# Check whether --enable-werror or --disable-werror was given.
|
8036 |
|
|
if test "${enable_werror+set}" = set; then
|
8037 |
|
|
enableval="$enable_werror"
|
8038 |
|
|
|
8039 |
|
|
else
|
8040 |
|
|
enable_werror=yes
|
8041 |
|
|
fi;
|
8042 |
|
|
case ${enable_werror} in
|
8043 |
|
|
yes) stage2_werror_flag="--enable-werror-always" ;;
|
8044 |
|
|
*) stage2_werror_flag="" ;;
|
8045 |
|
|
esac
|
8046 |
|
|
|
8047 |
|
|
|
8048 |
|
|
ac_config_files="$ac_config_files Makefile"
|
8049 |
|
|
cat >confcache <<\_ACEOF
|
8050 |
|
|
# This file is a shell script that caches the results of configure
|
8051 |
|
|
# tests run on this system so they can be shared between configure
|
8052 |
|
|
# scripts and configure runs, see configure's option --config-cache.
|
8053 |
|
|
# It is not useful on other systems. If it contains results you don't
|
8054 |
|
|
# want to keep, you may remove or edit it.
|
8055 |
|
|
#
|
8056 |
|
|
# config.status only pays attention to the cache file if you give it
|
8057 |
|
|
# the --recheck option to rerun configure.
|
8058 |
|
|
#
|
8059 |
|
|
# `ac_cv_env_foo' variables (set or unset) will be overridden when
|
8060 |
|
|
# loading this file, other *unset* `ac_cv_foo' will be assigned the
|
8061 |
|
|
# following values.
|
8062 |
|
|
|
8063 |
|
|
_ACEOF
|
8064 |
|
|
|
8065 |
|
|
# The following way of writing the cache mishandles newlines in values,
|
8066 |
|
|
# but we know of no workaround that is simple, portable, and efficient.
|
8067 |
|
|
# So, don't put newlines in cache variables' values.
|
8068 |
|
|
# Ultrix sh set writes to stderr and can't be redirected directly,
|
8069 |
|
|
# and sets the high bit in the cache file unless we assign to the vars.
|
8070 |
|
|
{
|
8071 |
|
|
(set) 2>&1 |
|
8072 |
|
|
case `(ac_space=' '; set | grep ac_space) 2>&1` in
|
8073 |
|
|
*ac_space=\ *)
|
8074 |
|
|
# `set' does not quote correctly, so add quotes (double-quote
|
8075 |
|
|
# substitution turns \\\\ into \\, and sed turns \\ into \).
|
8076 |
|
|
sed -n \
|
8077 |
|
|
"s/'/'\\\\''/g;
|
8078 |
|
|
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
|
8079 |
|
|
;;
|
8080 |
|
|
*)
|
8081 |
|
|
# `set' quotes correctly as required by POSIX, so do not add quotes.
|
8082 |
|
|
sed -n \
|
8083 |
|
|
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
|
8084 |
|
|
;;
|
8085 |
|
|
esac;
|
8086 |
|
|
} |
|
8087 |
|
|
sed '
|
8088 |
|
|
t clear
|
8089 |
|
|
: clear
|
8090 |
|
|
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
|
8091 |
|
|
t end
|
8092 |
|
|
/^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
|
8093 |
|
|
: end' >>confcache
|
8094 |
|
|
if diff $cache_file confcache >/dev/null 2>&1; then :; else
|
8095 |
|
|
if test -w $cache_file; then
|
8096 |
|
|
test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
|
8097 |
|
|
cat confcache >$cache_file
|
8098 |
|
|
else
|
8099 |
|
|
echo "not updating unwritable cache $cache_file"
|
8100 |
|
|
fi
|
8101 |
|
|
fi
|
8102 |
|
|
rm -f confcache
|
8103 |
|
|
|
8104 |
|
|
test "x$prefix" = xNONE && prefix=$ac_default_prefix
|
8105 |
|
|
# Let make expand exec_prefix.
|
8106 |
|
|
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
|
8107 |
|
|
|
8108 |
|
|
# VPATH may cause trouble with some makes, so we remove $(srcdir),
|
8109 |
|
|
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
|
8110 |
|
|
# trailing colons and then remove the whole line if VPATH becomes empty
|
8111 |
|
|
# (actually we leave an empty line to preserve line numbers).
|
8112 |
|
|
if test "x$srcdir" = x.; then
|
8113 |
|
|
ac_vpsub='/^[ ]*VPATH[ ]*=/{
|
8114 |
|
|
s/:*\$(srcdir):*/:/;
|
8115 |
|
|
s/:*\${srcdir}:*/:/;
|
8116 |
|
|
s/:*@srcdir@:*/:/;
|
8117 |
|
|
s/^\([^=]*=[ ]*\):*/\1/;
|
8118 |
|
|
s/:*$//;
|
8119 |
|
|
s/^[^=]*=[ ]*$//;
|
8120 |
|
|
}'
|
8121 |
|
|
fi
|
8122 |
|
|
|
8123 |
|
|
# Transform confdefs.h into DEFS.
|
8124 |
|
|
# Protect against shell expansion while executing Makefile rules.
|
8125 |
|
|
# Protect against Makefile macro expansion.
|
8126 |
|
|
#
|
8127 |
|
|
# If the first sed substitution is executed (which looks for macros that
|
8128 |
|
|
# take arguments), then we branch to the quote section. Otherwise,
|
8129 |
|
|
# look for a macro that doesn't take arguments.
|
8130 |
|
|
cat >confdef2opt.sed <<\_ACEOF
|
8131 |
|
|
t clear
|
8132 |
|
|
: clear
|
8133 |
|
|
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
|
8134 |
|
|
t quote
|
8135 |
|
|
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
|
8136 |
|
|
t quote
|
8137 |
|
|
d
|
8138 |
|
|
: quote
|
8139 |
|
|
s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
|
8140 |
|
|
s,\[,\\&,g
|
8141 |
|
|
s,\],\\&,g
|
8142 |
|
|
s,\$,$$,g
|
8143 |
|
|
p
|
8144 |
|
|
_ACEOF
|
8145 |
|
|
# We use echo to avoid assuming a particular line-breaking character.
|
8146 |
|
|
# The extra dot is to prevent the shell from consuming trailing
|
8147 |
|
|
# line-breaks from the sub-command output. A line-break within
|
8148 |
|
|
# single-quotes doesn't work because, if this script is created in a
|
8149 |
|
|
# platform that uses two characters for line-breaks (e.g., DOS), tr
|
8150 |
|
|
# would break.
|
8151 |
|
|
ac_LF_and_DOT=`echo; echo .`
|
8152 |
|
|
DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
|
8153 |
|
|
rm -f confdef2opt.sed
|
8154 |
|
|
|
8155 |
|
|
|
8156 |
|
|
ac_libobjs=
|
8157 |
|
|
ac_ltlibobjs=
|
8158 |
|
|
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
|
8159 |
|
|
# 1. Remove the extension, and $U if already installed.
|
8160 |
|
|
ac_i=`echo "$ac_i" |
|
8161 |
|
|
sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
|
8162 |
|
|
# 2. Add them.
|
8163 |
|
|
ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
|
8164 |
|
|
ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
|
8165 |
|
|
done
|
8166 |
|
|
LIBOBJS=$ac_libobjs
|
8167 |
|
|
|
8168 |
|
|
LTLIBOBJS=$ac_ltlibobjs
|
8169 |
|
|
|
8170 |
|
|
|
8171 |
|
|
|
8172 |
|
|
: ${CONFIG_STATUS=./config.status}
|
8173 |
|
|
ac_clean_files_save=$ac_clean_files
|
8174 |
|
|
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
|
8175 |
|
|
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
|
8176 |
|
|
echo "$as_me: creating $CONFIG_STATUS" >&6;}
|
8177 |
|
|
cat >$CONFIG_STATUS <<_ACEOF
|
8178 |
|
|
#! $SHELL
|
8179 |
|
|
# Generated by $as_me.
|
8180 |
|
|
# Run this file to recreate the current configuration.
|
8181 |
|
|
# Compiler output produced by configure, useful for debugging
|
8182 |
|
|
# configure, is in config.log if it exists.
|
8183 |
|
|
|
8184 |
|
|
debug=false
|
8185 |
|
|
ac_cs_recheck=false
|
8186 |
|
|
ac_cs_silent=false
|
8187 |
|
|
SHELL=\${CONFIG_SHELL-$SHELL}
|
8188 |
|
|
_ACEOF
|
8189 |
|
|
|
8190 |
|
|
cat >>$CONFIG_STATUS <<\_ACEOF
|
8191 |
|
|
## --------------------- ##
|
8192 |
|
|
## M4sh Initialization. ##
|
8193 |
|
|
## --------------------- ##
|
8194 |
|
|
|
8195 |
|
|
# Be Bourne compatible
|
8196 |
|
|
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
8197 |
|
|
emulate sh
|
8198 |
|
|
NULLCMD=:
|
8199 |
|
|
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
|
8200 |
|
|
# is contrary to our usage. Disable this feature.
|
8201 |
|
|
alias -g '${1+"$@"}'='"$@"'
|
8202 |
|
|
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
|
8203 |
|
|
set -o posix
|
8204 |
|
|
fi
|
8205 |
|
|
DUALCASE=1; export DUALCASE # for MKS sh
|
8206 |
|
|
|
8207 |
|
|
# Support unset when possible.
|
8208 |
|
|
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
|
8209 |
|
|
as_unset=unset
|
8210 |
|
|
else
|
8211 |
|
|
as_unset=false
|
8212 |
|
|
fi
|
8213 |
|
|
|
8214 |
|
|
|
8215 |
|
|
# Work around bugs in pre-3.0 UWIN ksh.
|
8216 |
|
|
$as_unset ENV MAIL MAILPATH
|
8217 |
|
|
PS1='$ '
|
8218 |
|
|
PS2='> '
|
8219 |
|
|
PS4='+ '
|
8220 |
|
|
|
8221 |
|
|
# NLS nuisances.
|
8222 |
|
|
for as_var in \
|
8223 |
|
|
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
|
8224 |
|
|
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
|
8225 |
|
|
LC_TELEPHONE LC_TIME
|
8226 |
|
|
do
|
8227 |
|
|
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
|
8228 |
|
|
eval $as_var=C; export $as_var
|
8229 |
|
|
else
|
8230 |
|
|
$as_unset $as_var
|
8231 |
|
|
fi
|
8232 |
|
|
done
|
8233 |
|
|
|
8234 |
|
|
# Required to use basename.
|
8235 |
|
|
if expr a : '\(a\)' >/dev/null 2>&1; then
|
8236 |
|
|
as_expr=expr
|
8237 |
|
|
else
|
8238 |
|
|
as_expr=false
|
8239 |
|
|
fi
|
8240 |
|
|
|
8241 |
|
|
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
|
8242 |
|
|
as_basename=basename
|
8243 |
|
|
else
|
8244 |
|
|
as_basename=false
|
8245 |
|
|
fi
|
8246 |
|
|
|
8247 |
|
|
|
8248 |
|
|
# Name of the executable.
|
8249 |
|
|
as_me=`$as_basename "$0" ||
|
8250 |
|
|
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
8251 |
|
|
X"$0" : 'X\(//\)$' \| \
|
8252 |
|
|
X"$0" : 'X\(/\)$' \| \
|
8253 |
|
|
. : '\(.\)' 2>/dev/null ||
|
8254 |
|
|
echo X/"$0" |
|
8255 |
|
|
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
|
8256 |
|
|
/^X\/\(\/\/\)$/{ s//\1/; q; }
|
8257 |
|
|
/^X\/\(\/\).*/{ s//\1/; q; }
|
8258 |
|
|
s/.*/./; q'`
|
8259 |
|
|
|
8260 |
|
|
|
8261 |
|
|
# PATH needs CR, and LINENO needs CR and PATH.
|
8262 |
|
|
# Avoid depending upon Character Ranges.
|
8263 |
|
|
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
8264 |
|
|
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
8265 |
|
|
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
|
8266 |
|
|
as_cr_digits='0123456789'
|
8267 |
|
|
as_cr_alnum=$as_cr_Letters$as_cr_digits
|
8268 |
|
|
|
8269 |
|
|
# The user is always right.
|
8270 |
|
|
if test "${PATH_SEPARATOR+set}" != set; then
|
8271 |
|
|
echo "#! /bin/sh" >conf$$.sh
|
8272 |
|
|
echo "exit 0" >>conf$$.sh
|
8273 |
|
|
chmod +x conf$$.sh
|
8274 |
|
|
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
|
8275 |
|
|
PATH_SEPARATOR=';'
|
8276 |
|
|
else
|
8277 |
|
|
PATH_SEPARATOR=:
|
8278 |
|
|
fi
|
8279 |
|
|
rm -f conf$$.sh
|
8280 |
|
|
fi
|
8281 |
|
|
|
8282 |
|
|
|
8283 |
|
|
as_lineno_1=$LINENO
|
8284 |
|
|
as_lineno_2=$LINENO
|
8285 |
|
|
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
|
8286 |
|
|
test "x$as_lineno_1" != "x$as_lineno_2" &&
|
8287 |
|
|
test "x$as_lineno_3" = "x$as_lineno_2" || {
|
8288 |
|
|
# Find who we are. Look in the path if we contain no path at all
|
8289 |
|
|
# relative or not.
|
8290 |
|
|
case $0 in
|
8291 |
|
|
*[\\/]* ) as_myself=$0 ;;
|
8292 |
|
|
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
8293 |
|
|
for as_dir in $PATH
|
8294 |
|
|
do
|
8295 |
|
|
IFS=$as_save_IFS
|
8296 |
|
|
test -z "$as_dir" && as_dir=.
|
8297 |
|
|
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
8298 |
|
|
done
|
8299 |
|
|
|
8300 |
|
|
;;
|
8301 |
|
|
esac
|
8302 |
|
|
# We did not find ourselves, most probably we were run as `sh COMMAND'
|
8303 |
|
|
# in which case we are not to be found in the path.
|
8304 |
|
|
if test "x$as_myself" = x; then
|
8305 |
|
|
as_myself=$0
|
8306 |
|
|
fi
|
8307 |
|
|
if test ! -f "$as_myself"; then
|
8308 |
|
|
{ { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
|
8309 |
|
|
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
|
8310 |
|
|
{ (exit 1); exit 1; }; }
|
8311 |
|
|
fi
|
8312 |
|
|
case $CONFIG_SHELL in
|
8313 |
|
|
'')
|
8314 |
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
8315 |
|
|
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
|
8316 |
|
|
do
|
8317 |
|
|
IFS=$as_save_IFS
|
8318 |
|
|
test -z "$as_dir" && as_dir=.
|
8319 |
|
|
for as_base in sh bash ksh sh5; do
|
8320 |
|
|
case $as_dir in
|
8321 |
|
|
/*)
|
8322 |
|
|
if ("$as_dir/$as_base" -c '
|
8323 |
|
|
as_lineno_1=$LINENO
|
8324 |
|
|
as_lineno_2=$LINENO
|
8325 |
|
|
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
|
8326 |
|
|
test "x$as_lineno_1" != "x$as_lineno_2" &&
|
8327 |
|
|
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
|
8328 |
|
|
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
|
8329 |
|
|
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
|
8330 |
|
|
CONFIG_SHELL=$as_dir/$as_base
|
8331 |
|
|
export CONFIG_SHELL
|
8332 |
|
|
exec "$CONFIG_SHELL" "$0" ${1+"$@"}
|
8333 |
|
|
fi;;
|
8334 |
|
|
esac
|
8335 |
|
|
done
|
8336 |
|
|
done
|
8337 |
|
|
;;
|
8338 |
|
|
esac
|
8339 |
|
|
|
8340 |
|
|
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
|
8341 |
|
|
# uniformly replaced by the line number. The first 'sed' inserts a
|
8342 |
|
|
# line-number line before each line; the second 'sed' does the real
|
8343 |
|
|
# work. The second script uses 'N' to pair each line-number line
|
8344 |
|
|
# with the numbered line, and appends trailing '-' during
|
8345 |
|
|
# substitution so that $LINENO is not a special case at line end.
|
8346 |
|
|
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
|
8347 |
|
|
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
|
8348 |
|
|
sed '=' <$as_myself |
|
8349 |
|
|
sed '
|
8350 |
|
|
N
|
8351 |
|
|
s,$,-,
|
8352 |
|
|
: loop
|
8353 |
|
|
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
|
8354 |
|
|
t loop
|
8355 |
|
|
s,-$,,
|
8356 |
|
|
s,^['$as_cr_digits']*\n,,
|
8357 |
|
|
' >$as_me.lineno &&
|
8358 |
|
|
chmod +x $as_me.lineno ||
|
8359 |
|
|
{ { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
|
8360 |
|
|
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
|
8361 |
|
|
{ (exit 1); exit 1; }; }
|
8362 |
|
|
|
8363 |
|
|
# Don't try to exec as it changes $[0], causing all sort of problems
|
8364 |
|
|
# (the dirname of $[0] is not the place where we might find the
|
8365 |
|
|
# original and so on. Autoconf is especially sensible to this).
|
8366 |
|
|
. ./$as_me.lineno
|
8367 |
|
|
# Exit status is that of the last command.
|
8368 |
|
|
exit
|
8369 |
|
|
}
|
8370 |
|
|
|
8371 |
|
|
|
8372 |
|
|
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
|
8373 |
|
|
*c*,-n*) ECHO_N= ECHO_C='
|
8374 |
|
|
' ECHO_T=' ' ;;
|
8375 |
|
|
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
|
8376 |
|
|
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
|
8377 |
|
|
esac
|
8378 |
|
|
|
8379 |
|
|
if expr a : '\(a\)' >/dev/null 2>&1; then
|
8380 |
|
|
as_expr=expr
|
8381 |
|
|
else
|
8382 |
|
|
as_expr=false
|
8383 |
|
|
fi
|
8384 |
|
|
|
8385 |
|
|
rm -f conf$$ conf$$.exe conf$$.file
|
8386 |
|
|
echo >conf$$.file
|
8387 |
|
|
if ln -s conf$$.file conf$$ 2>/dev/null; then
|
8388 |
|
|
# We could just check for DJGPP; but this test a) works b) is more generic
|
8389 |
|
|
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
|
8390 |
|
|
if test -f conf$$.exe; then
|
8391 |
|
|
# Don't use ln at all; we don't have any links
|
8392 |
|
|
as_ln_s='cp -p'
|
8393 |
|
|
else
|
8394 |
|
|
as_ln_s='ln -s'
|
8395 |
|
|
fi
|
8396 |
|
|
elif ln conf$$.file conf$$ 2>/dev/null; then
|
8397 |
|
|
as_ln_s=ln
|
8398 |
|
|
else
|
8399 |
|
|
as_ln_s='cp -p'
|
8400 |
|
|
fi
|
8401 |
|
|
rm -f conf$$ conf$$.exe conf$$.file
|
8402 |
|
|
|
8403 |
|
|
if mkdir -p . 2>/dev/null; then
|
8404 |
|
|
as_mkdir_p=:
|
8405 |
|
|
else
|
8406 |
|
|
test -d ./-p && rmdir ./-p
|
8407 |
|
|
as_mkdir_p=false
|
8408 |
|
|
fi
|
8409 |
|
|
|
8410 |
|
|
as_executable_p="test -f"
|
8411 |
|
|
|
8412 |
|
|
# Sed expression to map a string onto a valid CPP name.
|
8413 |
|
|
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
|
8414 |
|
|
|
8415 |
|
|
# Sed expression to map a string onto a valid variable name.
|
8416 |
|
|
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
|
8417 |
|
|
|
8418 |
|
|
|
8419 |
|
|
# IFS
|
8420 |
|
|
# We need space, tab and new line, in precisely that order.
|
8421 |
|
|
as_nl='
|
8422 |
|
|
'
|
8423 |
|
|
IFS=" $as_nl"
|
8424 |
|
|
|
8425 |
|
|
# CDPATH.
|
8426 |
|
|
$as_unset CDPATH
|
8427 |
|
|
|
8428 |
|
|
exec 6>&1
|
8429 |
|
|
|
8430 |
|
|
# Open the log real soon, to keep \$[0] and so on meaningful, and to
|
8431 |
|
|
# report actual input values of CONFIG_FILES etc. instead of their
|
8432 |
|
|
# values after options handling. Logging --version etc. is OK.
|
8433 |
|
|
exec 5>>config.log
|
8434 |
|
|
{
|
8435 |
|
|
echo
|
8436 |
|
|
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
|
8437 |
|
|
## Running $as_me. ##
|
8438 |
|
|
_ASBOX
|
8439 |
|
|
} >&5
|
8440 |
|
|
cat >&5 <<_CSEOF
|
8441 |
|
|
|
8442 |
|
|
This file was extended by $as_me, which was
|
8443 |
|
|
generated by GNU Autoconf 2.59. Invocation command line was
|
8444 |
|
|
|
8445 |
|
|
CONFIG_FILES = $CONFIG_FILES
|
8446 |
|
|
CONFIG_HEADERS = $CONFIG_HEADERS
|
8447 |
|
|
CONFIG_LINKS = $CONFIG_LINKS
|
8448 |
|
|
CONFIG_COMMANDS = $CONFIG_COMMANDS
|
8449 |
|
|
$ $0 $@
|
8450 |
|
|
|
8451 |
|
|
_CSEOF
|
8452 |
|
|
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
|
8453 |
|
|
echo >&5
|
8454 |
|
|
_ACEOF
|
8455 |
|
|
|
8456 |
|
|
# Files that config.status was made for.
|
8457 |
|
|
if test -n "$ac_config_files"; then
|
8458 |
|
|
echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
|
8459 |
|
|
fi
|
8460 |
|
|
|
8461 |
|
|
if test -n "$ac_config_headers"; then
|
8462 |
|
|
echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
|
8463 |
|
|
fi
|
8464 |
|
|
|
8465 |
|
|
if test -n "$ac_config_links"; then
|
8466 |
|
|
echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
|
8467 |
|
|
fi
|
8468 |
|
|
|
8469 |
|
|
if test -n "$ac_config_commands"; then
|
8470 |
|
|
echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
|
8471 |
|
|
fi
|
8472 |
|
|
|
8473 |
|
|
cat >>$CONFIG_STATUS <<\_ACEOF
|
8474 |
|
|
|
8475 |
|
|
ac_cs_usage="\
|
8476 |
|
|
\`$as_me' instantiates files from templates according to the
|
8477 |
|
|
current configuration.
|
8478 |
|
|
|
8479 |
|
|
Usage: $0 [OPTIONS] [FILE]...
|
8480 |
|
|
|
8481 |
|
|
-h, --help print this help, then exit
|
8482 |
|
|
-V, --version print version number, then exit
|
8483 |
|
|
-q, --quiet do not print progress messages
|
8484 |
|
|
-d, --debug don't remove temporary files
|
8485 |
|
|
--recheck update $as_me by reconfiguring in the same conditions
|
8486 |
|
|
--file=FILE[:TEMPLATE]
|
8487 |
|
|
instantiate the configuration file FILE
|
8488 |
|
|
|
8489 |
|
|
Configuration files:
|
8490 |
|
|
$config_files
|
8491 |
|
|
|
8492 |
|
|
Report bugs to ."
|
8493 |
|
|
_ACEOF
|
8494 |
|
|
|
8495 |
|
|
cat >>$CONFIG_STATUS <<_ACEOF
|
8496 |
|
|
ac_cs_version="\\
|
8497 |
|
|
config.status
|
8498 |
|
|
configured by $0, generated by GNU Autoconf 2.59,
|
8499 |
|
|
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
|
8500 |
|
|
|
8501 |
|
|
Copyright (C) 2003 Free Software Foundation, Inc.
|
8502 |
|
|
This config.status script is free software; the Free Software Foundation
|
8503 |
|
|
gives unlimited permission to copy, distribute and modify it."
|
8504 |
|
|
srcdir=$srcdir
|
8505 |
|
|
INSTALL="$INSTALL"
|
8506 |
|
|
_ACEOF
|
8507 |
|
|
|
8508 |
|
|
cat >>$CONFIG_STATUS <<\_ACEOF
|
8509 |
|
|
# If no file are specified by the user, then we need to provide default
|
8510 |
|
|
# value. By we need to know if files were specified by the user.
|
8511 |
|
|
ac_need_defaults=:
|
8512 |
|
|
while test $# != 0
|
8513 |
|
|
do
|
8514 |
|
|
case $1 in
|
8515 |
|
|
--*=*)
|
8516 |
|
|
ac_option=`expr "x$1" : 'x\([^=]*\)='`
|
8517 |
|
|
ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
|
8518 |
|
|
ac_shift=:
|
8519 |
|
|
;;
|
8520 |
|
|
-*)
|
8521 |
|
|
ac_option=$1
|
8522 |
|
|
ac_optarg=$2
|
8523 |
|
|
ac_shift=shift
|
8524 |
|
|
;;
|
8525 |
|
|
*) # This is not an option, so the user has probably given explicit
|
8526 |
|
|
# arguments.
|
8527 |
|
|
ac_option=$1
|
8528 |
|
|
ac_need_defaults=false;;
|
8529 |
|
|
esac
|
8530 |
|
|
|
8531 |
|
|
case $ac_option in
|
8532 |
|
|
# Handling of the options.
|
8533 |
|
|
_ACEOF
|
8534 |
|
|
cat >>$CONFIG_STATUS <<\_ACEOF
|
8535 |
|
|
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
|
8536 |
|
|
ac_cs_recheck=: ;;
|
8537 |
|
|
--version | --vers* | -V )
|
8538 |
|
|
echo "$ac_cs_version"; exit 0 ;;
|
8539 |
|
|
--he | --h)
|
8540 |
|
|
# Conflict between --help and --header
|
8541 |
|
|
{ { echo "$as_me:$LINENO: error: ambiguous option: $1
|
8542 |
|
|
Try \`$0 --help' for more information." >&5
|
8543 |
|
|
echo "$as_me: error: ambiguous option: $1
|
8544 |
|
|
Try \`$0 --help' for more information." >&2;}
|
8545 |
|
|
{ (exit 1); exit 1; }; };;
|
8546 |
|
|
--help | --hel | -h )
|
8547 |
|
|
echo "$ac_cs_usage"; exit 0 ;;
|
8548 |
|
|
--debug | --d* | -d )
|
8549 |
|
|
debug=: ;;
|
8550 |
|
|
--file | --fil | --fi | --f )
|
8551 |
|
|
$ac_shift
|
8552 |
|
|
CONFIG_FILES="$CONFIG_FILES $ac_optarg"
|
8553 |
|
|
ac_need_defaults=false;;
|
8554 |
|
|
--header | --heade | --head | --hea )
|
8555 |
|
|
$ac_shift
|
8556 |
|
|
CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
|
8557 |
|
|
ac_need_defaults=false;;
|
8558 |
|
|
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
8559 |
|
|
| -silent | --silent | --silen | --sile | --sil | --si | --s)
|
8560 |
|
|
ac_cs_silent=: ;;
|
8561 |
|
|
|
8562 |
|
|
# This is an error.
|
8563 |
|
|
-*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
|
8564 |
|
|
Try \`$0 --help' for more information." >&5
|
8565 |
|
|
echo "$as_me: error: unrecognized option: $1
|
8566 |
|
|
Try \`$0 --help' for more information." >&2;}
|
8567 |
|
|
{ (exit 1); exit 1; }; } ;;
|
8568 |
|
|
|
8569 |
|
|
*) ac_config_targets="$ac_config_targets $1" ;;
|
8570 |
|
|
|
8571 |
|
|
esac
|
8572 |
|
|
shift
|
8573 |
|
|
done
|
8574 |
|
|
|
8575 |
|
|
ac_configure_extra_args=
|
8576 |
|
|
|
8577 |
|
|
if $ac_cs_silent; then
|
8578 |
|
|
exec 6>/dev/null
|
8579 |
|
|
ac_configure_extra_args="$ac_configure_extra_args --silent"
|
8580 |
|
|
fi
|
8581 |
|
|
|
8582 |
|
|
_ACEOF
|
8583 |
|
|
cat >>$CONFIG_STATUS <<_ACEOF
|
8584 |
|
|
if \$ac_cs_recheck; then
|
8585 |
|
|
echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
|
8586 |
|
|
exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
|
8587 |
|
|
fi
|
8588 |
|
|
|
8589 |
|
|
_ACEOF
|
8590 |
|
|
|
8591 |
|
|
|
8592 |
|
|
|
8593 |
|
|
|
8594 |
|
|
|
8595 |
|
|
cat >>$CONFIG_STATUS <<\_ACEOF
|
8596 |
|
|
for ac_config_target in $ac_config_targets
|
8597 |
|
|
do
|
8598 |
|
|
case "$ac_config_target" in
|
8599 |
|
|
# Handling of arguments.
|
8600 |
|
|
"Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
|
8601 |
|
|
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
|
8602 |
|
|
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
|
8603 |
|
|
{ (exit 1); exit 1; }; };;
|
8604 |
|
|
esac
|
8605 |
|
|
done
|
8606 |
|
|
|
8607 |
|
|
# If the user did not use the arguments to specify the items to instantiate,
|
8608 |
|
|
# then the envvar interface is used. Set only those that are not.
|
8609 |
|
|
# We use the long form for the default assignment because of an extremely
|
8610 |
|
|
# bizarre bug on SunOS 4.1.3.
|
8611 |
|
|
if $ac_need_defaults; then
|
8612 |
|
|
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
|
8613 |
|
|
fi
|
8614 |
|
|
|
8615 |
|
|
# Have a temporary directory for convenience. Make it in the build tree
|
8616 |
|
|
# simply because there is no reason to put it here, and in addition,
|
8617 |
|
|
# creating and moving files from /tmp can sometimes cause problems.
|
8618 |
|
|
# Create a temporary directory, and hook for its removal unless debugging.
|
8619 |
|
|
$debug ||
|
8620 |
|
|
{
|
8621 |
|
|
trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
|
8622 |
|
|
trap '{ (exit 1); exit 1; }' 1 2 13 15
|
8623 |
|
|
}
|
8624 |
|
|
|
8625 |
|
|
# Create a (secure) tmp directory for tmp files.
|
8626 |
|
|
|
8627 |
|
|
{
|
8628 |
|
|
tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
|
8629 |
|
|
test -n "$tmp" && test -d "$tmp"
|
8630 |
|
|
} ||
|
8631 |
|
|
{
|
8632 |
|
|
tmp=./confstat$$-$RANDOM
|
8633 |
|
|
(umask 077 && mkdir $tmp)
|
8634 |
|
|
} ||
|
8635 |
|
|
{
|
8636 |
|
|
echo "$me: cannot create a temporary directory in ." >&2
|
8637 |
|
|
{ (exit 1); exit 1; }
|
8638 |
|
|
}
|
8639 |
|
|
|
8640 |
|
|
_ACEOF
|
8641 |
|
|
|
8642 |
|
|
cat >>$CONFIG_STATUS <<_ACEOF
|
8643 |
|
|
|
8644 |
|
|
#
|
8645 |
|
|
# CONFIG_FILES section.
|
8646 |
|
|
#
|
8647 |
|
|
|
8648 |
|
|
# No need to generate the scripts if there are no CONFIG_FILES.
|
8649 |
|
|
# This happens for instance when ./config.status config.h
|
8650 |
|
|
if test -n "\$CONFIG_FILES"; then
|
8651 |
|
|
# Protect against being on the right side of a sed subst in config.status.
|
8652 |
|
|
sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
|
8653 |
|
|
s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
|
8654 |
|
|
s,@SHELL@,$SHELL,;t t
|
8655 |
|
|
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
|
8656 |
|
|
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
|
8657 |
|
|
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
|
8658 |
|
|
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
|
8659 |
|
|
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
|
8660 |
|
|
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
|
8661 |
|
|
s,@exec_prefix@,$exec_prefix,;t t
|
8662 |
|
|
s,@prefix@,$prefix,;t t
|
8663 |
|
|
s,@program_transform_name@,$program_transform_name,;t t
|
8664 |
|
|
s,@bindir@,$bindir,;t t
|
8665 |
|
|
s,@sbindir@,$sbindir,;t t
|
8666 |
|
|
s,@libexecdir@,$libexecdir,;t t
|
8667 |
|
|
s,@datadir@,$datadir,;t t
|
8668 |
|
|
s,@sysconfdir@,$sysconfdir,;t t
|
8669 |
|
|
s,@sharedstatedir@,$sharedstatedir,;t t
|
8670 |
|
|
s,@localstatedir@,$localstatedir,;t t
|
8671 |
|
|
s,@libdir@,$libdir,;t t
|
8672 |
|
|
s,@includedir@,$includedir,;t t
|
8673 |
|
|
s,@oldincludedir@,$oldincludedir,;t t
|
8674 |
|
|
s,@infodir@,$infodir,;t t
|
8675 |
|
|
s,@mandir@,$mandir,;t t
|
8676 |
|
|
s,@build_alias@,$build_alias,;t t
|
8677 |
|
|
s,@host_alias@,$host_alias,;t t
|
8678 |
|
|
s,@target_alias@,$target_alias,;t t
|
8679 |
|
|
s,@DEFS@,$DEFS,;t t
|
8680 |
|
|
s,@ECHO_C@,$ECHO_C,;t t
|
8681 |
|
|
s,@ECHO_N@,$ECHO_N,;t t
|
8682 |
|
|
s,@ECHO_T@,$ECHO_T,;t t
|
8683 |
|
|
s,@LIBS@,$LIBS,;t t
|
8684 |
|
|
s,@build@,$build,;t t
|
8685 |
|
|
s,@build_cpu@,$build_cpu,;t t
|
8686 |
|
|
s,@build_vendor@,$build_vendor,;t t
|
8687 |
|
|
s,@build_os@,$build_os,;t t
|
8688 |
|
|
s,@host@,$host,;t t
|
8689 |
|
|
s,@host_cpu@,$host_cpu,;t t
|
8690 |
|
|
s,@host_vendor@,$host_vendor,;t t
|
8691 |
|
|
s,@host_os@,$host_os,;t t
|
8692 |
|
|
s,@target@,$target,;t t
|
8693 |
|
|
s,@target_cpu@,$target_cpu,;t t
|
8694 |
|
|
s,@target_vendor@,$target_vendor,;t t
|
8695 |
|
|
s,@target_os@,$target_os,;t t
|
8696 |
|
|
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
|
8697 |
|
|
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
|
8698 |
|
|
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
|
8699 |
|
|
s,@LN@,$LN,;t t
|
8700 |
|
|
s,@LN_S@,$LN_S,;t t
|
8701 |
|
|
s,@TOPLEVEL_CONFIGURE_ARGUMENTS@,$TOPLEVEL_CONFIGURE_ARGUMENTS,;t t
|
8702 |
|
|
s,@build_subdir@,$build_subdir,;t t
|
8703 |
|
|
s,@host_subdir@,$host_subdir,;t t
|
8704 |
|
|
s,@target_subdir@,$target_subdir,;t t
|
8705 |
|
|
s,@CC@,$CC,;t t
|
8706 |
|
|
s,@CFLAGS@,$CFLAGS,;t t
|
8707 |
|
|
s,@LDFLAGS@,$LDFLAGS,;t t
|
8708 |
|
|
s,@CPPFLAGS@,$CPPFLAGS,;t t
|
8709 |
|
|
s,@ac_ct_CC@,$ac_ct_CC,;t t
|
8710 |
|
|
s,@EXEEXT@,$EXEEXT,;t t
|
8711 |
|
|
s,@OBJEXT@,$OBJEXT,;t t
|
8712 |
|
|
s,@GNATBIND@,$GNATBIND,;t t
|
8713 |
|
|
s,@ac_ct_GNATBIND@,$ac_ct_GNATBIND,;t t
|
8714 |
|
|
s,@do_compare@,$do_compare,;t t
|
8715 |
|
|
s,@gmplibs@,$gmplibs,;t t
|
8716 |
|
|
s,@gmpinc@,$gmpinc,;t t
|
8717 |
|
|
s,@stage1_languages@,$stage1_languages,;t t
|
8718 |
|
|
s,@SYSROOT_CFLAGS_FOR_TARGET@,$SYSROOT_CFLAGS_FOR_TARGET,;t t
|
8719 |
|
|
s,@bootstrap_lean@,$bootstrap_lean,;t t
|
8720 |
|
|
s,@RPATH_ENVVAR@,$RPATH_ENVVAR,;t t
|
8721 |
|
|
s,@BUILD_PREFIX@,$BUILD_PREFIX,;t t
|
8722 |
|
|
s,@BUILD_PREFIX_1@,$BUILD_PREFIX_1,;t t
|
8723 |
|
|
s,@tooldir@,$tooldir,;t t
|
8724 |
|
|
s,@build_tooldir@,$build_tooldir,;t t
|
8725 |
|
|
s,@CONFIGURE_GDB_TK@,$CONFIGURE_GDB_TK,;t t
|
8726 |
|
|
s,@GDB_TK@,$GDB_TK,;t t
|
8727 |
|
|
s,@INSTALL_GDB_TK@,$INSTALL_GDB_TK,;t t
|
8728 |
|
|
s,@build_configargs@,$build_configargs,;t t
|
8729 |
|
|
s,@build_configdirs@,$build_configdirs,;t t
|
8730 |
|
|
s,@host_configargs@,$host_configargs,;t t
|
8731 |
|
|
s,@configdirs@,$configdirs,;t t
|
8732 |
|
|
s,@target_configargs@,$target_configargs,;t t
|
8733 |
|
|
s,@target_configdirs@,$target_configdirs,;t t
|
8734 |
|
|
s,@CC_FOR_BUILD@,$CC_FOR_BUILD,;t t
|
8735 |
|
|
s,@config_shell@,$config_shell,;t t
|
8736 |
|
|
s,@YACC@,$YACC,;t t
|
8737 |
|
|
s,@BISON@,$BISON,;t t
|
8738 |
|
|
s,@M4@,$M4,;t t
|
8739 |
|
|
s,@LEX@,$LEX,;t t
|
8740 |
|
|
s,@FLEX@,$FLEX,;t t
|
8741 |
|
|
s,@MAKEINFO@,$MAKEINFO,;t t
|
8742 |
|
|
s,@EXPECT@,$EXPECT,;t t
|
8743 |
|
|
s,@RUNTEST@,$RUNTEST,;t t
|
8744 |
|
|
s,@AR@,$AR,;t t
|
8745 |
|
|
s,@AS@,$AS,;t t
|
8746 |
|
|
s,@DLLTOOL@,$DLLTOOL,;t t
|
8747 |
|
|
s,@LD@,$LD,;t t
|
8748 |
|
|
s,@LIPO@,$LIPO,;t t
|
8749 |
|
|
s,@NM@,$NM,;t t
|
8750 |
|
|
s,@RANLIB@,$RANLIB,;t t
|
8751 |
|
|
s,@STRIP@,$STRIP,;t t
|
8752 |
|
|
s,@WINDRES@,$WINDRES,;t t
|
8753 |
|
|
s,@OBJCOPY@,$OBJCOPY,;t t
|
8754 |
|
|
s,@OBJDUMP@,$OBJDUMP,;t t
|
8755 |
|
|
s,@CXX@,$CXX,;t t
|
8756 |
|
|
s,@CFLAGS_FOR_BUILD@,$CFLAGS_FOR_BUILD,;t t
|
8757 |
|
|
s,@CXXFLAGS@,$CXXFLAGS,;t t
|
8758 |
|
|
s,@AR_FOR_TARGET@,$AR_FOR_TARGET,;t t
|
8759 |
|
|
s,@AS_FOR_TARGET@,$AS_FOR_TARGET,;t t
|
8760 |
|
|
s,@CC_FOR_TARGET@,$CC_FOR_TARGET,;t t
|
8761 |
|
|
s,@CXX_FOR_TARGET@,$CXX_FOR_TARGET,;t t
|
8762 |
|
|
s,@DLLTOOL_FOR_TARGET@,$DLLTOOL_FOR_TARGET,;t t
|
8763 |
|
|
s,@GCC_FOR_TARGET@,$GCC_FOR_TARGET,;t t
|
8764 |
|
|
s,@GCJ_FOR_TARGET@,$GCJ_FOR_TARGET,;t t
|
8765 |
|
|
s,@GFORTRAN_FOR_TARGET@,$GFORTRAN_FOR_TARGET,;t t
|
8766 |
|
|
s,@LD_FOR_TARGET@,$LD_FOR_TARGET,;t t
|
8767 |
|
|
s,@LIPO_FOR_TARGET@,$LIPO_FOR_TARGET,;t t
|
8768 |
|
|
s,@NM_FOR_TARGET@,$NM_FOR_TARGET,;t t
|
8769 |
|
|
s,@OBJDUMP_FOR_TARGET@,$OBJDUMP_FOR_TARGET,;t t
|
8770 |
|
|
s,@RANLIB_FOR_TARGET@,$RANLIB_FOR_TARGET,;t t
|
8771 |
|
|
s,@STRIP_FOR_TARGET@,$STRIP_FOR_TARGET,;t t
|
8772 |
|
|
s,@WINDRES_FOR_TARGET@,$WINDRES_FOR_TARGET,;t t
|
8773 |
|
|
s,@FLAGS_FOR_TARGET@,$FLAGS_FOR_TARGET,;t t
|
8774 |
|
|
s,@RAW_CXX_FOR_TARGET@,$RAW_CXX_FOR_TARGET,;t t
|
8775 |
|
|
s,@COMPILER_AS_FOR_TARGET@,$COMPILER_AS_FOR_TARGET,;t t
|
8776 |
|
|
s,@COMPILER_LD_FOR_TARGET@,$COMPILER_LD_FOR_TARGET,;t t
|
8777 |
|
|
s,@COMPILER_NM_FOR_TARGET@,$COMPILER_NM_FOR_TARGET,;t t
|
8778 |
|
|
s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
|
8779 |
|
|
s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
|
8780 |
|
|
s,@MAINT@,$MAINT,;t t
|
8781 |
|
|
s,@stage1_cflags@,$stage1_cflags,;t t
|
8782 |
|
|
s,@CREATE_LINK_TO_DIR@,$CREATE_LINK_TO_DIR,;t t
|
8783 |
|
|
s,@UNDO_LINK_TO_DIR@,$UNDO_LINK_TO_DIR,;t t
|
8784 |
|
|
s,@stage2_werror_flag@,$stage2_werror_flag,;t t
|
8785 |
|
|
s,@LIBOBJS@,$LIBOBJS,;t t
|
8786 |
|
|
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
|
8787 |
|
|
/@serialization_dependencies@/r $serialization_dependencies
|
8788 |
|
|
s,@serialization_dependencies@,,;t t
|
8789 |
|
|
/@host_makefile_frag@/r $host_makefile_frag
|
8790 |
|
|
s,@host_makefile_frag@,,;t t
|
8791 |
|
|
/@target_makefile_frag@/r $target_makefile_frag
|
8792 |
|
|
s,@target_makefile_frag@,,;t t
|
8793 |
|
|
/@alphaieee_frag@/r $alphaieee_frag
|
8794 |
|
|
s,@alphaieee_frag@,,;t t
|
8795 |
|
|
/@ospace_frag@/r $ospace_frag
|
8796 |
|
|
s,@ospace_frag@,,;t t
|
8797 |
|
|
CEOF
|
8798 |
|
|
|
8799 |
|
|
_ACEOF
|
8800 |
|
|
|
8801 |
|
|
cat >>$CONFIG_STATUS <<\_ACEOF
|
8802 |
|
|
# Split the substitutions into bite-sized pieces for seds with
|
8803 |
|
|
# small command number limits, like on Digital OSF/1 and HP-UX.
|
8804 |
|
|
ac_max_sed_lines=48
|
8805 |
|
|
ac_sed_frag=1 # Number of current file.
|
8806 |
|
|
ac_beg=1 # First line for current file.
|
8807 |
|
|
ac_end=$ac_max_sed_lines # Line after last line for current file.
|
8808 |
|
|
ac_more_lines=:
|
8809 |
|
|
ac_sed_cmds=
|
8810 |
|
|
while $ac_more_lines; do
|
8811 |
|
|
if test $ac_beg -gt 1; then
|
8812 |
|
|
sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
|
8813 |
|
|
else
|
8814 |
|
|
sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
|
8815 |
|
|
fi
|
8816 |
|
|
if test ! -s $tmp/subs.frag; then
|
8817 |
|
|
ac_more_lines=false
|
8818 |
|
|
else
|
8819 |
|
|
# The purpose of the label and of the branching condition is to
|
8820 |
|
|
# speed up the sed processing (if there are no `@' at all, there
|
8821 |
|
|
# is no need to browse any of the substitutions).
|
8822 |
|
|
# These are the two extra sed commands mentioned above.
|
8823 |
|
|
(echo ':t
|
8824 |
|
|
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
|
8825 |
|
|
if test -z "$ac_sed_cmds"; then
|
8826 |
|
|
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
|
8827 |
|
|
else
|
8828 |
|
|
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
|
8829 |
|
|
fi
|
8830 |
|
|
ac_sed_frag=`expr $ac_sed_frag + 1`
|
8831 |
|
|
ac_beg=$ac_end
|
8832 |
|
|
ac_end=`expr $ac_end + $ac_max_sed_lines`
|
8833 |
|
|
fi
|
8834 |
|
|
done
|
8835 |
|
|
if test -z "$ac_sed_cmds"; then
|
8836 |
|
|
ac_sed_cmds=cat
|
8837 |
|
|
fi
|
8838 |
|
|
fi # test -n "$CONFIG_FILES"
|
8839 |
|
|
|
8840 |
|
|
_ACEOF
|
8841 |
|
|
cat >>$CONFIG_STATUS <<\_ACEOF
|
8842 |
|
|
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
|
8843 |
|
|
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
|
8844 |
|
|
case $ac_file in
|
8845 |
|
|
- | *:- | *:-:* ) # input from stdin
|
8846 |
|
|
cat >$tmp/stdin
|
8847 |
|
|
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
|
8848 |
|
|
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
|
8849 |
|
|
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
|
8850 |
|
|
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
|
8851 |
|
|
* ) ac_file_in=$ac_file.in ;;
|
8852 |
|
|
esac
|
8853 |
|
|
|
8854 |
|
|
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
|
8855 |
|
|
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
|
8856 |
|
|
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
8857 |
|
|
X"$ac_file" : 'X\(//\)[^/]' \| \
|
8858 |
|
|
X"$ac_file" : 'X\(//\)$' \| \
|
8859 |
|
|
X"$ac_file" : 'X\(/\)' \| \
|
8860 |
|
|
. : '\(.\)' 2>/dev/null ||
|
8861 |
|
|
echo X"$ac_file" |
|
8862 |
|
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
8863 |
|
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
8864 |
|
|
/^X\(\/\/\)$/{ s//\1/; q; }
|
8865 |
|
|
/^X\(\/\).*/{ s//\1/; q; }
|
8866 |
|
|
s/.*/./; q'`
|
8867 |
|
|
{ if $as_mkdir_p; then
|
8868 |
|
|
mkdir -p "$ac_dir"
|
8869 |
|
|
else
|
8870 |
|
|
as_dir="$ac_dir"
|
8871 |
|
|
as_dirs=
|
8872 |
|
|
while test ! -d "$as_dir"; do
|
8873 |
|
|
as_dirs="$as_dir $as_dirs"
|
8874 |
|
|
as_dir=`(dirname "$as_dir") 2>/dev/null ||
|
8875 |
|
|
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
8876 |
|
|
X"$as_dir" : 'X\(//\)[^/]' \| \
|
8877 |
|
|
X"$as_dir" : 'X\(//\)$' \| \
|
8878 |
|
|
X"$as_dir" : 'X\(/\)' \| \
|
8879 |
|
|
. : '\(.\)' 2>/dev/null ||
|
8880 |
|
|
echo X"$as_dir" |
|
8881 |
|
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
8882 |
|
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
8883 |
|
|
/^X\(\/\/\)$/{ s//\1/; q; }
|
8884 |
|
|
/^X\(\/\).*/{ s//\1/; q; }
|
8885 |
|
|
s/.*/./; q'`
|
8886 |
|
|
done
|
8887 |
|
|
test ! -n "$as_dirs" || mkdir $as_dirs
|
8888 |
|
|
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
|
8889 |
|
|
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
|
8890 |
|
|
{ (exit 1); exit 1; }; }; }
|
8891 |
|
|
|
8892 |
|
|
ac_builddir=.
|
8893 |
|
|
|
8894 |
|
|
if test "$ac_dir" != .; then
|
8895 |
|
|
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
|
8896 |
|
|
# A "../" for each directory in $ac_dir_suffix.
|
8897 |
|
|
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
|
8898 |
|
|
else
|
8899 |
|
|
ac_dir_suffix= ac_top_builddir=
|
8900 |
|
|
fi
|
8901 |
|
|
|
8902 |
|
|
case $srcdir in
|
8903 |
|
|
.) # No --srcdir option. We are building in place.
|
8904 |
|
|
ac_srcdir=.
|
8905 |
|
|
if test -z "$ac_top_builddir"; then
|
8906 |
|
|
ac_top_srcdir=.
|
8907 |
|
|
else
|
8908 |
|
|
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
|
8909 |
|
|
fi ;;
|
8910 |
|
|
[\\/]* | ?:[\\/]* ) # Absolute path.
|
8911 |
|
|
ac_srcdir=$srcdir$ac_dir_suffix;
|
8912 |
|
|
ac_top_srcdir=$srcdir ;;
|
8913 |
|
|
*) # Relative path.
|
8914 |
|
|
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
|
8915 |
|
|
ac_top_srcdir=$ac_top_builddir$srcdir ;;
|
8916 |
|
|
esac
|
8917 |
|
|
|
8918 |
|
|
# Do not use `cd foo && pwd` to compute absolute paths, because
|
8919 |
|
|
# the directories may not exist.
|
8920 |
|
|
case `pwd` in
|
8921 |
|
|
.) ac_abs_builddir="$ac_dir";;
|
8922 |
|
|
*)
|
8923 |
|
|
case "$ac_dir" in
|
8924 |
|
|
.) ac_abs_builddir=`pwd`;;
|
8925 |
|
|
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
|
8926 |
|
|
*) ac_abs_builddir=`pwd`/"$ac_dir";;
|
8927 |
|
|
esac;;
|
8928 |
|
|
esac
|
8929 |
|
|
case $ac_abs_builddir in
|
8930 |
|
|
.) ac_abs_top_builddir=${ac_top_builddir}.;;
|
8931 |
|
|
*)
|
8932 |
|
|
case ${ac_top_builddir}. in
|
8933 |
|
|
.) ac_abs_top_builddir=$ac_abs_builddir;;
|
8934 |
|
|
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
|
8935 |
|
|
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
|
8936 |
|
|
esac;;
|
8937 |
|
|
esac
|
8938 |
|
|
case $ac_abs_builddir in
|
8939 |
|
|
.) ac_abs_srcdir=$ac_srcdir;;
|
8940 |
|
|
*)
|
8941 |
|
|
case $ac_srcdir in
|
8942 |
|
|
.) ac_abs_srcdir=$ac_abs_builddir;;
|
8943 |
|
|
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
|
8944 |
|
|
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
|
8945 |
|
|
esac;;
|
8946 |
|
|
esac
|
8947 |
|
|
case $ac_abs_builddir in
|
8948 |
|
|
.) ac_abs_top_srcdir=$ac_top_srcdir;;
|
8949 |
|
|
*)
|
8950 |
|
|
case $ac_top_srcdir in
|
8951 |
|
|
.) ac_abs_top_srcdir=$ac_abs_builddir;;
|
8952 |
|
|
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
|
8953 |
|
|
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
|
8954 |
|
|
esac;;
|
8955 |
|
|
esac
|
8956 |
|
|
|
8957 |
|
|
|
8958 |
|
|
case $INSTALL in
|
8959 |
|
|
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
|
8960 |
|
|
*) ac_INSTALL=$ac_top_builddir$INSTALL ;;
|
8961 |
|
|
esac
|
8962 |
|
|
|
8963 |
|
|
if test x"$ac_file" != x-; then
|
8964 |
|
|
{ echo "$as_me:$LINENO: creating $ac_file" >&5
|
8965 |
|
|
echo "$as_me: creating $ac_file" >&6;}
|
8966 |
|
|
rm -f "$ac_file"
|
8967 |
|
|
fi
|
8968 |
|
|
# Let's still pretend it is `configure' which instantiates (i.e., don't
|
8969 |
|
|
# use $as_me), people would be surprised to read:
|
8970 |
|
|
# /* config.h. Generated by config.status. */
|
8971 |
|
|
if test x"$ac_file" = x-; then
|
8972 |
|
|
configure_input=
|
8973 |
|
|
else
|
8974 |
|
|
configure_input="$ac_file. "
|
8975 |
|
|
fi
|
8976 |
|
|
configure_input=$configure_input"Generated from `echo $ac_file_in |
|
8977 |
|
|
sed 's,.*/,,'` by configure."
|
8978 |
|
|
|
8979 |
|
|
# First look for the input files in the build tree, otherwise in the
|
8980 |
|
|
# src tree.
|
8981 |
|
|
ac_file_inputs=`IFS=:
|
8982 |
|
|
for f in $ac_file_in; do
|
8983 |
|
|
case $f in
|
8984 |
|
|
-) echo $tmp/stdin ;;
|
8985 |
|
|
[\\/$]*)
|
8986 |
|
|
# Absolute (can't be DOS-style, as IFS=:)
|
8987 |
|
|
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
|
8988 |
|
|
echo "$as_me: error: cannot find input file: $f" >&2;}
|
8989 |
|
|
{ (exit 1); exit 1; }; }
|
8990 |
|
|
echo "$f";;
|
8991 |
|
|
*) # Relative
|
8992 |
|
|
if test -f "$f"; then
|
8993 |
|
|
# Build tree
|
8994 |
|
|
echo "$f"
|
8995 |
|
|
elif test -f "$srcdir/$f"; then
|
8996 |
|
|
# Source tree
|
8997 |
|
|
echo "$srcdir/$f"
|
8998 |
|
|
else
|
8999 |
|
|
# /dev/null tree
|
9000 |
|
|
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
|
9001 |
|
|
echo "$as_me: error: cannot find input file: $f" >&2;}
|
9002 |
|
|
{ (exit 1); exit 1; }; }
|
9003 |
|
|
fi;;
|
9004 |
|
|
esac
|
9005 |
|
|
done` || { (exit 1); exit 1; }
|
9006 |
|
|
_ACEOF
|
9007 |
|
|
cat >>$CONFIG_STATUS <<_ACEOF
|
9008 |
|
|
sed "$ac_vpsub
|
9009 |
|
|
$extrasub
|
9010 |
|
|
_ACEOF
|
9011 |
|
|
cat >>$CONFIG_STATUS <<\_ACEOF
|
9012 |
|
|
:t
|
9013 |
|
|
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
|
9014 |
|
|
s,@configure_input@,$configure_input,;t t
|
9015 |
|
|
s,@srcdir@,$ac_srcdir,;t t
|
9016 |
|
|
s,@abs_srcdir@,$ac_abs_srcdir,;t t
|
9017 |
|
|
s,@top_srcdir@,$ac_top_srcdir,;t t
|
9018 |
|
|
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
|
9019 |
|
|
s,@builddir@,$ac_builddir,;t t
|
9020 |
|
|
s,@abs_builddir@,$ac_abs_builddir,;t t
|
9021 |
|
|
s,@top_builddir@,$ac_top_builddir,;t t
|
9022 |
|
|
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
|
9023 |
|
|
s,@INSTALL@,$ac_INSTALL,;t t
|
9024 |
|
|
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
|
9025 |
|
|
rm -f $tmp/stdin
|
9026 |
|
|
if test x"$ac_file" != x-; then
|
9027 |
|
|
mv $tmp/out $ac_file
|
9028 |
|
|
else
|
9029 |
|
|
cat $tmp/out
|
9030 |
|
|
rm -f $tmp/out
|
9031 |
|
|
fi
|
9032 |
|
|
|
9033 |
|
|
done
|
9034 |
|
|
_ACEOF
|
9035 |
|
|
|
9036 |
|
|
cat >>$CONFIG_STATUS <<\_ACEOF
|
9037 |
|
|
|
9038 |
|
|
{ (exit 0); exit 0; }
|
9039 |
|
|
_ACEOF
|
9040 |
|
|
chmod +x $CONFIG_STATUS
|
9041 |
|
|
ac_clean_files=$ac_clean_files_save
|
9042 |
|
|
|
9043 |
|
|
|
9044 |
|
|
# configure is writing to config.log, and then calls config.status.
|
9045 |
|
|
# config.status does its own redirection, appending to config.log.
|
9046 |
|
|
# Unfortunately, on DOS this fails, as config.log is still kept open
|
9047 |
|
|
# by configure, so config.status won't be able to write to it; its
|
9048 |
|
|
# output is simply discarded. So we exec the FD to /dev/null,
|
9049 |
|
|
# effectively closing config.log, so it can be properly (re)opened and
|
9050 |
|
|
# appended to by config.status. When coming back to configure, we
|
9051 |
|
|
# need to make the FD available again.
|
9052 |
|
|
if test "$no_create" != yes; then
|
9053 |
|
|
ac_cs_success=:
|
9054 |
|
|
ac_config_status_args=
|
9055 |
|
|
test "$silent" = yes &&
|
9056 |
|
|
ac_config_status_args="$ac_config_status_args --quiet"
|
9057 |
|
|
exec 5>/dev/null
|
9058 |
|
|
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
|
9059 |
|
|
exec 5>>config.log
|
9060 |
|
|
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
|
9061 |
|
|
# would make configure fail if this is the last instruction.
|
9062 |
|
|
$ac_cs_success || { (exit 1); exit 1; }
|
9063 |
|
|
fi
|
9064 |
|
|
|