1 |
#! /bin/sh |
#! /bin/sh |
|
|
|
2 |
# Guess values for system-dependent variables and create Makefiles. |
# Guess values for system-dependent variables and create Makefiles. |
3 |
# Generated automatically using autoconf version 2.13 |
# Generated by GNU Autoconf 2.59. |
|
# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc. |
|
4 |
# |
# |
5 |
|
# Copyright (C) 2003 Free Software Foundation, Inc. |
6 |
# This configure script is free software; the Free Software Foundation |
# This configure script is free software; the Free Software Foundation |
7 |
# gives unlimited permission to copy, distribute and modify it. |
# 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 |
# Defaults: |
# Sed expression to map a string onto a valid CPP name. |
228 |
ac_help= |
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 |
ac_default_prefix=/usr/local |
255 |
# Any additions from configure.in: |
ac_config_libobj_dir=. |
256 |
ac_help="$ac_help |
cross_compiling=no |
257 |
--enable-shared[=PKGS] build shared libraries [default=no]" |
subdirs= |
258 |
ac_help="$ac_help |
MFLAGS= |
259 |
--enable-static[=PKGS] build static libraries [default=yes]" |
MAKEFLAGS= |
260 |
ac_help="$ac_help |
SHELL=${CONFIG_SHELL-/bin/sh} |
261 |
--enable-fast-install[=PKGS] optimize for fast installation [default=yes]" |
|
262 |
ac_help="$ac_help |
# Maximum number of lines to put in a shell here document. |
263 |
--with-gnu-ld assume the C compiler uses GNU ld [default=no]" |
# This variable seems obsolete. It should probably be removed, and |
264 |
ac_help="$ac_help |
# only ac_max_sed_lines should be used. |
265 |
--disable-libtool-lock avoid locking (might break parallel builds)" |
: ${ac_max_here_lines=38} |
266 |
ac_help="$ac_help |
|
267 |
--with-pic try to use only PIC/non-PIC objects [default=use both]" |
# Identity of this package. |
268 |
ac_help="$ac_help |
PACKAGE_NAME= |
269 |
--enable-64-bit-bfd 64-bit support (on hosts with narrower word sizes)" |
PACKAGE_TARNAME= |
270 |
ac_help="$ac_help |
PACKAGE_VERSION= |
271 |
--enable-targets alternative target configurations" |
PACKAGE_STRING= |
272 |
ac_help="$ac_help |
PACKAGE_BUGREPORT= |
273 |
--enable-commonbfdlib build shared BFD/opcodes/libiberty library" |
|
274 |
ac_help="$ac_help |
ac_unique_file="libbfd.c" |
275 |
--with-mmap try using mmap for BFD input files if available" |
# Factoring default headers for most tests. |
276 |
ac_help="$ac_help |
ac_includes_default="\ |
277 |
--enable-build-warnings Enable build-time compiler warnings if gcc is used" |
#include <stdio.h> |
278 |
ac_help="$ac_help |
#if HAVE_SYS_TYPES_H |
279 |
--enable-maintainer-mode enable make rules and dependencies not useful |
# include <sys/types.h> |
280 |
(and sometimes confusing) to the casual installer" |
#endif |
281 |
ac_help="$ac_help |
#if HAVE_SYS_STAT_H |
282 |
--install-libbfd controls installation of libbfd and related headers" |
# include <sys/stat.h> |
283 |
ac_help="$ac_help |
#endif |
284 |
--disable-nls do not use Native Language Support" |
#if STDC_HEADERS |
285 |
ac_help="$ac_help |
# include <stdlib.h> |
286 |
--with-included-gettext use the GNU gettext library included here" |
# include <stddef.h> |
287 |
|
#else |
288 |
|
# if HAVE_STDLIB_H |
289 |
|
# include <stdlib.h> |
290 |
|
# endif |
291 |
|
#endif |
292 |
|
#if HAVE_STRING_H |
293 |
|
# if !STDC_HEADERS && HAVE_MEMORY_H |
294 |
|
# include <memory.h> |
295 |
|
# endif |
296 |
|
# include <string.h> |
297 |
|
#endif |
298 |
|
#if HAVE_STRINGS_H |
299 |
|
# include <strings.h> |
300 |
|
#endif |
301 |
|
#if HAVE_INTTYPES_H |
302 |
|
# include <inttypes.h> |
303 |
|
#else |
304 |
|
# if HAVE_STDINT_H |
305 |
|
# include <stdint.h> |
306 |
|
# endif |
307 |
|
#endif |
308 |
|
#if HAVE_UNISTD_H |
309 |
|
# include <unistd.h> |
310 |
|
#endif" |
311 |
|
|
312 |
|
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE AR ac_ct_AR RANLIB ac_ct_RANLIB LN_S LIBTOOL WARN_CFLAGS MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT INSTALL_LIBBFD_TRUE INSTALL_LIBBFD_FALSE host_noncanonical target_noncanonical bfdlibdir bfdincludedir CPP EGREP ALLOCA USE_NLS MSGFMT GMSGFMT XGETTEXT USE_INCLUDED_LIBINTL CATALOGS CATOBJEXT DATADIRNAME GMOFILES INSTOBJEXT INTLDEPS INTLLIBS INTLOBJS POFILES POSUB INCLUDE_LOCALE_H GT_NO GT_YES MKINSTALLDIRS l HDEFINES BFD_HOST_64BIT_LONG BFD_HOST_LONG_LONG BFD_HOST_64_BIT_DEFINED BFD_HOST_64_BIT BFD_HOST_U_64_BIT CC_FOR_BUILD EXEEXT_FOR_BUILD COREFILE COREFLAG WIN32LDFLAGS WIN32LIBADD TDEFINES wordsize bfd_libs all_backends bfd_backends bfd_machines bfd_default_target_size bfd_file_ptr bfd_ufile_ptr tdefaults LIBOBJS LTLIBOBJS' |
313 |
|
ac_subst_files='' |
314 |
|
|
315 |
# Initialize some variables set by options. |
# Initialize some variables set by options. |
316 |
|
ac_init_help= |
317 |
|
ac_init_version=false |
318 |
# The variables have the same names as the options, with |
# The variables have the same names as the options, with |
319 |
# dashes changed to underlines. |
# dashes changed to underlines. |
320 |
build=NONE |
cache_file=/dev/null |
|
cache_file=./config.cache |
|
321 |
exec_prefix=NONE |
exec_prefix=NONE |
|
host=NONE |
|
322 |
no_create= |
no_create= |
|
nonopt=NONE |
|
323 |
no_recursion= |
no_recursion= |
324 |
prefix=NONE |
prefix=NONE |
325 |
program_prefix=NONE |
program_prefix=NONE |
328 |
silent= |
silent= |
329 |
site= |
site= |
330 |
srcdir= |
srcdir= |
|
target=NONE |
|
331 |
verbose= |
verbose= |
332 |
x_includes=NONE |
x_includes=NONE |
333 |
x_libraries=NONE |
x_libraries=NONE |
334 |
|
|
335 |
|
# Installation directory options. |
336 |
|
# These are left unexpanded so users can "make install exec_prefix=/foo" |
337 |
|
# and all the variables that are supposed to be based on exec_prefix |
338 |
|
# by default will actually change. |
339 |
|
# Use braces instead of parens because sh, perl, etc. also accept them. |
340 |
bindir='${exec_prefix}/bin' |
bindir='${exec_prefix}/bin' |
341 |
sbindir='${exec_prefix}/sbin' |
sbindir='${exec_prefix}/sbin' |
342 |
libexecdir='${exec_prefix}/libexec' |
libexecdir='${exec_prefix}/libexec' |
350 |
infodir='${prefix}/info' |
infodir='${prefix}/info' |
351 |
mandir='${prefix}/man' |
mandir='${prefix}/man' |
352 |
|
|
|
# Initialize some other variables. |
|
|
subdirs= |
|
|
MFLAGS= MAKEFLAGS= |
|
|
SHELL=${CONFIG_SHELL-/bin/sh} |
|
|
# Maximum number of lines to put in a shell here document. |
|
|
ac_max_here_lines=12 |
|
|
|
|
353 |
ac_prev= |
ac_prev= |
354 |
for ac_option |
for ac_option |
355 |
do |
do |
|
|
|
356 |
# If the previous option needs an argument, assign it. |
# If the previous option needs an argument, assign it. |
357 |
if test -n "$ac_prev"; then |
if test -n "$ac_prev"; then |
358 |
eval "$ac_prev=\$ac_option" |
eval "$ac_prev=\$ac_option" |
360 |
continue |
continue |
361 |
fi |
fi |
362 |
|
|
363 |
case "$ac_option" in |
ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` |
|
-*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;; |
|
|
*) ac_optarg= ;; |
|
|
esac |
|
364 |
|
|
365 |
# Accept the important Cygnus configure options, so we can diagnose typos. |
# Accept the important Cygnus configure options, so we can diagnose typos. |
366 |
|
|
367 |
case "$ac_option" in |
case $ac_option in |
368 |
|
|
369 |
-bindir | --bindir | --bindi | --bind | --bin | --bi) |
-bindir | --bindir | --bindi | --bind | --bin | --bi) |
370 |
ac_prev=bindir ;; |
ac_prev=bindir ;; |
371 |
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
372 |
bindir="$ac_optarg" ;; |
bindir=$ac_optarg ;; |
373 |
|
|
374 |
-build | --build | --buil | --bui | --bu) |
-build | --build | --buil | --bui | --bu) |
375 |
ac_prev=build ;; |
ac_prev=build_alias ;; |
376 |
-build=* | --build=* | --buil=* | --bui=* | --bu=*) |
-build=* | --build=* | --buil=* | --bui=* | --bu=*) |
377 |
build="$ac_optarg" ;; |
build_alias=$ac_optarg ;; |
378 |
|
|
379 |
-cache-file | --cache-file | --cache-fil | --cache-fi \ |
-cache-file | --cache-file | --cache-fil | --cache-fi \ |
380 |
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
381 |
ac_prev=cache_file ;; |
ac_prev=cache_file ;; |
382 |
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
383 |
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) |
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) |
384 |
cache_file="$ac_optarg" ;; |
cache_file=$ac_optarg ;; |
385 |
|
|
386 |
|
--config-cache | -C) |
387 |
|
cache_file=config.cache ;; |
388 |
|
|
389 |
-datadir | --datadir | --datadi | --datad | --data | --dat | --da) |
-datadir | --datadir | --datadi | --datad | --data | --dat | --da) |
390 |
ac_prev=datadir ;; |
ac_prev=datadir ;; |
391 |
-datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ |
-datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ |
392 |
| --da=*) |
| --da=*) |
393 |
datadir="$ac_optarg" ;; |
datadir=$ac_optarg ;; |
394 |
|
|
395 |
-disable-* | --disable-*) |
-disable-* | --disable-*) |
396 |
ac_feature=`echo $ac_option|sed -e 's/-*disable-//'` |
ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
397 |
# Reject names that are not valid shell variable names. |
# Reject names that are not valid shell variable names. |
398 |
if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then |
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && |
399 |
{ echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } |
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
400 |
fi |
{ (exit 1); exit 1; }; } |
401 |
ac_feature=`echo $ac_feature| sed 's/-/_/g'` |
ac_feature=`echo $ac_feature | sed 's/-/_/g'` |
402 |
eval "enable_${ac_feature}=no" ;; |
eval "enable_$ac_feature=no" ;; |
403 |
|
|
404 |
-enable-* | --enable-*) |
-enable-* | --enable-*) |
405 |
ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'` |
ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
406 |
# Reject names that are not valid shell variable names. |
# Reject names that are not valid shell variable names. |
407 |
if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then |
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && |
408 |
{ echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } |
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
409 |
fi |
{ (exit 1); exit 1; }; } |
410 |
ac_feature=`echo $ac_feature| sed 's/-/_/g'` |
ac_feature=`echo $ac_feature | sed 's/-/_/g'` |
411 |
case "$ac_option" in |
case $ac_option in |
412 |
*=*) ;; |
*=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; |
413 |
*) ac_optarg=yes ;; |
*) ac_optarg=yes ;; |
414 |
esac |
esac |
415 |
eval "enable_${ac_feature}='$ac_optarg'" ;; |
eval "enable_$ac_feature='$ac_optarg'" ;; |
416 |
|
|
417 |
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
418 |
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
421 |
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ |
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ |
422 |
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ |
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ |
423 |
| --exec=* | --exe=* | --ex=*) |
| --exec=* | --exe=* | --ex=*) |
424 |
exec_prefix="$ac_optarg" ;; |
exec_prefix=$ac_optarg ;; |
425 |
|
|
426 |
-gas | --gas | --ga | --g) |
-gas | --gas | --ga | --g) |
427 |
# Obsolete; use --with-gas. |
# Obsolete; use --with-gas. |
428 |
with_gas=yes ;; |
with_gas=yes ;; |
429 |
|
|
430 |
-help | --help | --hel | --he) |
-help | --help | --hel | --he | -h) |
431 |
# Omit some internal or obsolete options to make the list less imposing. |
ac_init_help=long ;; |
432 |
# This message is too long to be a string in the A/UX 3.1 sh. |
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*) |
433 |
cat << EOF |
ac_init_help=recursive ;; |
434 |
Usage: configure [options] [host] |
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*) |
435 |
Options: [defaults in brackets after descriptions] |
ac_init_help=short ;; |
|
Configuration: |
|
|
--cache-file=FILE cache test results in FILE |
|
|
--help print this message |
|
|
--no-create do not create output files |
|
|
--quiet, --silent do not print \`checking...' messages |
|
|
--version print the version of autoconf that created configure |
|
|
Directory and file names: |
|
|
--prefix=PREFIX install architecture-independent files in PREFIX |
|
|
[$ac_default_prefix] |
|
|
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
|
|
[same as prefix] |
|
|
--bindir=DIR user executables in DIR [EPREFIX/bin] |
|
|
--sbindir=DIR system admin executables in DIR [EPREFIX/sbin] |
|
|
--libexecdir=DIR program executables in DIR [EPREFIX/libexec] |
|
|
--datadir=DIR read-only architecture-independent data in DIR |
|
|
[PREFIX/share] |
|
|
--sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc] |
|
|
--sharedstatedir=DIR modifiable architecture-independent data in DIR |
|
|
[PREFIX/com] |
|
|
--localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var] |
|
|
--libdir=DIR object code libraries in DIR [EPREFIX/lib] |
|
|
--includedir=DIR C header files in DIR [PREFIX/include] |
|
|
--oldincludedir=DIR C header files for non-gcc in DIR [/usr/include] |
|
|
--infodir=DIR info documentation in DIR [PREFIX/info] |
|
|
--mandir=DIR man documentation in DIR [PREFIX/man] |
|
|
--srcdir=DIR find the sources in DIR [configure dir or ..] |
|
|
--program-prefix=PREFIX prepend PREFIX to installed program names |
|
|
--program-suffix=SUFFIX append SUFFIX to installed program names |
|
|
--program-transform-name=PROGRAM |
|
|
run sed PROGRAM on installed program names |
|
|
EOF |
|
|
cat << EOF |
|
|
Host type: |
|
|
--build=BUILD configure for building on BUILD [BUILD=HOST] |
|
|
--host=HOST configure for HOST [guessed] |
|
|
--target=TARGET configure for TARGET [TARGET=HOST] |
|
|
Features and packages: |
|
|
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
|
|
--enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
|
|
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
|
|
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
|
|
--x-includes=DIR X include files are in DIR |
|
|
--x-libraries=DIR X library files are in DIR |
|
|
EOF |
|
|
if test -n "$ac_help"; then |
|
|
echo "--enable and --with options recognized:$ac_help" |
|
|
fi |
|
|
exit 0 ;; |
|
436 |
|
|
437 |
-host | --host | --hos | --ho) |
-host | --host | --hos | --ho) |
438 |
ac_prev=host ;; |
ac_prev=host_alias ;; |
439 |
-host=* | --host=* | --hos=* | --ho=*) |
-host=* | --host=* | --hos=* | --ho=*) |
440 |
host="$ac_optarg" ;; |
host_alias=$ac_optarg ;; |
441 |
|
|
442 |
-includedir | --includedir | --includedi | --included | --include \ |
-includedir | --includedir | --includedi | --included | --include \ |
443 |
| --includ | --inclu | --incl | --inc) |
| --includ | --inclu | --incl | --inc) |
444 |
ac_prev=includedir ;; |
ac_prev=includedir ;; |
445 |
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ |
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ |
446 |
| --includ=* | --inclu=* | --incl=* | --inc=*) |
| --includ=* | --inclu=* | --incl=* | --inc=*) |
447 |
includedir="$ac_optarg" ;; |
includedir=$ac_optarg ;; |
448 |
|
|
449 |
-infodir | --infodir | --infodi | --infod | --info | --inf) |
-infodir | --infodir | --infodi | --infod | --info | --inf) |
450 |
ac_prev=infodir ;; |
ac_prev=infodir ;; |
451 |
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) |
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) |
452 |
infodir="$ac_optarg" ;; |
infodir=$ac_optarg ;; |
453 |
|
|
454 |
-libdir | --libdir | --libdi | --libd) |
-libdir | --libdir | --libdi | --libd) |
455 |
ac_prev=libdir ;; |
ac_prev=libdir ;; |
456 |
-libdir=* | --libdir=* | --libdi=* | --libd=*) |
-libdir=* | --libdir=* | --libdi=* | --libd=*) |
457 |
libdir="$ac_optarg" ;; |
libdir=$ac_optarg ;; |
458 |
|
|
459 |
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ |
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ |
460 |
| --libexe | --libex | --libe) |
| --libexe | --libex | --libe) |
461 |
ac_prev=libexecdir ;; |
ac_prev=libexecdir ;; |
462 |
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ |
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ |
463 |
| --libexe=* | --libex=* | --libe=*) |
| --libexe=* | --libex=* | --libe=*) |
464 |
libexecdir="$ac_optarg" ;; |
libexecdir=$ac_optarg ;; |
465 |
|
|
466 |
-localstatedir | --localstatedir | --localstatedi | --localstated \ |
-localstatedir | --localstatedir | --localstatedi | --localstated \ |
467 |
| --localstate | --localstat | --localsta | --localst \ |
| --localstate | --localstat | --localsta | --localst \ |
470 |
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
471 |
| --localstate=* | --localstat=* | --localsta=* | --localst=* \ |
| --localstate=* | --localstat=* | --localsta=* | --localst=* \ |
472 |
| --locals=* | --local=* | --loca=* | --loc=* | --lo=*) |
| --locals=* | --local=* | --loca=* | --loc=* | --lo=*) |
473 |
localstatedir="$ac_optarg" ;; |
localstatedir=$ac_optarg ;; |
474 |
|
|
475 |
-mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
-mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
476 |
ac_prev=mandir ;; |
ac_prev=mandir ;; |
477 |
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) |
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) |
478 |
mandir="$ac_optarg" ;; |
mandir=$ac_optarg ;; |
479 |
|
|
480 |
-nfp | --nfp | --nf) |
-nfp | --nfp | --nf) |
481 |
# Obsolete; use --without-fp. |
# Obsolete; use --without-fp. |
482 |
with_fp=no ;; |
with_fp=no ;; |
483 |
|
|
484 |
-no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
-no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
485 |
| --no-cr | --no-c) |
| --no-cr | --no-c | -n) |
486 |
no_create=yes ;; |
no_create=yes ;; |
487 |
|
|
488 |
-no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
-no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
496 |
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ |
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ |
497 |
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ |
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ |
498 |
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) |
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) |
499 |
oldincludedir="$ac_optarg" ;; |
oldincludedir=$ac_optarg ;; |
500 |
|
|
501 |
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
502 |
ac_prev=prefix ;; |
ac_prev=prefix ;; |
503 |
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
504 |
prefix="$ac_optarg" ;; |
prefix=$ac_optarg ;; |
505 |
|
|
506 |
-program-prefix | --program-prefix | --program-prefi | --program-pref \ |
-program-prefix | --program-prefix | --program-prefi | --program-pref \ |
507 |
| --program-pre | --program-pr | --program-p) |
| --program-pre | --program-pr | --program-p) |
508 |
ac_prev=program_prefix ;; |
ac_prev=program_prefix ;; |
509 |
-program-prefix=* | --program-prefix=* | --program-prefi=* \ |
-program-prefix=* | --program-prefix=* | --program-prefi=* \ |
510 |
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) |
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) |
511 |
program_prefix="$ac_optarg" ;; |
program_prefix=$ac_optarg ;; |
512 |
|
|
513 |
-program-suffix | --program-suffix | --program-suffi | --program-suff \ |
-program-suffix | --program-suffix | --program-suffi | --program-suff \ |
514 |
| --program-suf | --program-su | --program-s) |
| --program-suf | --program-su | --program-s) |
515 |
ac_prev=program_suffix ;; |
ac_prev=program_suffix ;; |
516 |
-program-suffix=* | --program-suffix=* | --program-suffi=* \ |
-program-suffix=* | --program-suffix=* | --program-suffi=* \ |
517 |
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) |
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) |
518 |
program_suffix="$ac_optarg" ;; |
program_suffix=$ac_optarg ;; |
519 |
|
|
520 |
-program-transform-name | --program-transform-name \ |
-program-transform-name | --program-transform-name \ |
521 |
| --program-transform-nam | --program-transform-na \ |
| --program-transform-nam | --program-transform-na \ |
532 |
| --program-transfo=* | --program-transf=* \ |
| --program-transfo=* | --program-transf=* \ |
533 |
| --program-trans=* | --program-tran=* \ |
| --program-trans=* | --program-tran=* \ |
534 |
| --progr-tra=* | --program-tr=* | --program-t=*) |
| --progr-tra=* | --program-tr=* | --program-t=*) |
535 |
program_transform_name="$ac_optarg" ;; |
program_transform_name=$ac_optarg ;; |
536 |
|
|
537 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
538 |
| -silent | --silent | --silen | --sile | --sil) |
| -silent | --silent | --silen | --sile | --sil) |
542 |
ac_prev=sbindir ;; |
ac_prev=sbindir ;; |
543 |
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
544 |
| --sbi=* | --sb=*) |
| --sbi=* | --sb=*) |
545 |
sbindir="$ac_optarg" ;; |
sbindir=$ac_optarg ;; |
546 |
|
|
547 |
-sharedstatedir | --sharedstatedir | --sharedstatedi \ |
-sharedstatedir | --sharedstatedir | --sharedstatedi \ |
548 |
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \ |
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \ |
553 |
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ |
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ |
554 |
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ |
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ |
555 |
| --sha=* | --sh=*) |
| --sha=* | --sh=*) |
556 |
sharedstatedir="$ac_optarg" ;; |
sharedstatedir=$ac_optarg ;; |
557 |
|
|
558 |
-site | --site | --sit) |
-site | --site | --sit) |
559 |
ac_prev=site ;; |
ac_prev=site ;; |
560 |
-site=* | --site=* | --sit=*) |
-site=* | --site=* | --sit=*) |
561 |
site="$ac_optarg" ;; |
site=$ac_optarg ;; |
562 |
|
|
563 |
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
564 |
ac_prev=srcdir ;; |
ac_prev=srcdir ;; |
565 |
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
566 |
srcdir="$ac_optarg" ;; |
srcdir=$ac_optarg ;; |
567 |
|
|
568 |
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ |
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ |
569 |
| --syscon | --sysco | --sysc | --sys | --sy) |
| --syscon | --sysco | --sysc | --sys | --sy) |
570 |
ac_prev=sysconfdir ;; |
ac_prev=sysconfdir ;; |
571 |
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ |
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ |
572 |
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) |
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) |
573 |
sysconfdir="$ac_optarg" ;; |
sysconfdir=$ac_optarg ;; |
574 |
|
|
575 |
-target | --target | --targe | --targ | --tar | --ta | --t) |
-target | --target | --targe | --targ | --tar | --ta | --t) |
576 |
ac_prev=target ;; |
ac_prev=target_alias ;; |
577 |
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
578 |
target="$ac_optarg" ;; |
target_alias=$ac_optarg ;; |
579 |
|
|
580 |
-v | -verbose | --verbose | --verbos | --verbo | --verb) |
-v | -verbose | --verbose | --verbos | --verbo | --verb) |
581 |
verbose=yes ;; |
verbose=yes ;; |
582 |
|
|
583 |
-version | --version | --versio | --versi | --vers) |
-version | --version | --versio | --versi | --vers | -V) |
584 |
echo "configure generated by autoconf version 2.13" |
ac_init_version=: ;; |
|
exit 0 ;; |
|
585 |
|
|
586 |
-with-* | --with-*) |
-with-* | --with-*) |
587 |
ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'` |
ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
588 |
# Reject names that are not valid shell variable names. |
# Reject names that are not valid shell variable names. |
589 |
if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then |
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && |
590 |
{ echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } |
{ echo "$as_me: error: invalid package name: $ac_package" >&2 |
591 |
fi |
{ (exit 1); exit 1; }; } |
592 |
ac_package=`echo $ac_package| sed 's/-/_/g'` |
ac_package=`echo $ac_package| sed 's/-/_/g'` |
593 |
case "$ac_option" in |
case $ac_option in |
594 |
*=*) ;; |
*=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; |
595 |
*) ac_optarg=yes ;; |
*) ac_optarg=yes ;; |
596 |
esac |
esac |
597 |
eval "with_${ac_package}='$ac_optarg'" ;; |
eval "with_$ac_package='$ac_optarg'" ;; |
598 |
|
|
599 |
-without-* | --without-*) |
-without-* | --without-*) |
600 |
ac_package=`echo $ac_option|sed -e 's/-*without-//'` |
ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
601 |
# Reject names that are not valid shell variable names. |
# Reject names that are not valid shell variable names. |
602 |
if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then |
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && |
603 |
{ echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } |
{ echo "$as_me: error: invalid package name: $ac_package" >&2 |
604 |
fi |
{ (exit 1); exit 1; }; } |
605 |
ac_package=`echo $ac_package| sed 's/-/_/g'` |
ac_package=`echo $ac_package | sed 's/-/_/g'` |
606 |
eval "with_${ac_package}=no" ;; |
eval "with_$ac_package=no" ;; |
607 |
|
|
608 |
--x) |
--x) |
609 |
# Obsolete; use --with-x. |
# Obsolete; use --with-x. |
614 |
ac_prev=x_includes ;; |
ac_prev=x_includes ;; |
615 |
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ |
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ |
616 |
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) |
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) |
617 |
x_includes="$ac_optarg" ;; |
x_includes=$ac_optarg ;; |
618 |
|
|
619 |
-x-libraries | --x-libraries | --x-librarie | --x-librari \ |
-x-libraries | --x-libraries | --x-librarie | --x-librari \ |
620 |
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) |
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) |
621 |
ac_prev=x_libraries ;; |
ac_prev=x_libraries ;; |
622 |
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
623 |
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
624 |
x_libraries="$ac_optarg" ;; |
x_libraries=$ac_optarg ;; |
625 |
|
|
626 |
-*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; } |
-*) { echo "$as_me: error: unrecognized option: $ac_option |
627 |
|
Try \`$0 --help' for more information." >&2 |
628 |
|
{ (exit 1); exit 1; }; } |
629 |
;; |
;; |
630 |
|
|
631 |
|
*=*) |
632 |
|
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
633 |
|
# Reject names that are not valid shell variable names. |
634 |
|
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && |
635 |
|
{ echo "$as_me: error: invalid variable name: $ac_envvar" >&2 |
636 |
|
{ (exit 1); exit 1; }; } |
637 |
|
ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` |
638 |
|
eval "$ac_envvar='$ac_optarg'" |
639 |
|
export $ac_envvar ;; |
640 |
|
|
641 |
*) |
*) |
642 |
if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then |
# FIXME: should be removed in autoconf 3.0. |
643 |
echo "configure: warning: $ac_option: invalid host type" 1>&2 |
echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
644 |
fi |
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
645 |
if test "x$nonopt" != xNONE; then |
echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
646 |
{ echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } |
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} |
|
fi |
|
|
nonopt="$ac_option" |
|
647 |
;; |
;; |
648 |
|
|
649 |
esac |
esac |
650 |
done |
done |
651 |
|
|
652 |
if test -n "$ac_prev"; then |
if test -n "$ac_prev"; then |
653 |
{ echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; } |
ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
654 |
|
{ echo "$as_me: error: missing argument to $ac_option" >&2 |
655 |
|
{ (exit 1); exit 1; }; } |
656 |
fi |
fi |
657 |
|
|
658 |
trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 |
# Be sure to have absolute paths. |
659 |
|
for ac_var in exec_prefix prefix |
660 |
# File descriptor usage: |
do |
661 |
# 0 standard input |
eval ac_val=$`echo $ac_var` |
662 |
# 1 file creation |
case $ac_val in |
663 |
# 2 errors and warnings |
[\\/$]* | ?:[\\/]* | NONE | '' ) ;; |
664 |
# 3 some systems may open it to /dev/tty |
*) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
665 |
# 4 used on the Kubota Titan |
{ (exit 1); exit 1; }; };; |
666 |
# 6 checking for... messages and results |
esac |
667 |
# 5 compiler messages saved in config.log |
done |
|
if test "$silent" = yes; then |
|
|
exec 6>/dev/null |
|
|
else |
|
|
exec 6>&1 |
|
|
fi |
|
|
exec 5>./config.log |
|
|
|
|
|
echo "\ |
|
|
This file contains any messages produced by compilers while |
|
|
running configure, to aid debugging if configure makes a mistake. |
|
|
" 1>&5 |
|
668 |
|
|
669 |
# Strip out --no-create and --no-recursion so they do not pile up. |
# Be sure to have absolute paths. |
670 |
# Also quote any args containing shell metacharacters. |
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ |
671 |
ac_configure_args= |
localstatedir libdir includedir oldincludedir infodir mandir |
|
for ac_arg |
|
672 |
do |
do |
673 |
case "$ac_arg" in |
eval ac_val=$`echo $ac_var` |
674 |
-no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
case $ac_val in |
675 |
| --no-cr | --no-c) ;; |
[\\/$]* | ?:[\\/]* ) ;; |
676 |
-no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
*) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
677 |
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;; |
{ (exit 1); exit 1; }; };; |
|
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*) |
|
|
ac_configure_args="$ac_configure_args '$ac_arg'" ;; |
|
|
*) ac_configure_args="$ac_configure_args $ac_arg" ;; |
|
678 |
esac |
esac |
679 |
done |
done |
680 |
|
|
681 |
# NLS nuisances. |
# There might be people who depend on the old broken behavior: `$host' |
682 |
# Only set these to C if already set. These must not be set unconditionally |
# used to hold the argument of --host etc. |
683 |
# because not all systems understand e.g. LANG=C (notably SCO). |
# FIXME: To remove some day. |
684 |
# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'! |
build=$build_alias |
685 |
# Non-C LC_CTYPE values break the ctype check. |
host=$host_alias |
686 |
if test "${LANG+set}" = set; then LANG=C; export LANG; fi |
target=$target_alias |
687 |
if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi |
|
688 |
if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi |
# FIXME: To remove some day. |
689 |
if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi |
if test "x$host_alias" != x; then |
690 |
|
if test "x$build_alias" = x; then |
691 |
|
cross_compiling=maybe |
692 |
|
echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. |
693 |
|
If a cross compiler is detected then cross compile mode will be used." >&2 |
694 |
|
elif test "x$build_alias" != "x$host_alias"; then |
695 |
|
cross_compiling=yes |
696 |
|
fi |
697 |
|
fi |
698 |
|
|
699 |
# confdefs.h avoids OS command line length limits that DEFS can exceed. |
ac_tool_prefix= |
700 |
rm -rf conftest* confdefs.h |
test -n "$host_alias" && ac_tool_prefix=$host_alias- |
701 |
# AIX cpp loses on an empty file, so make sure it contains at least a newline. |
|
702 |
echo > confdefs.h |
test "$silent" = yes && exec 6>/dev/null |
703 |
|
|
|
# A filename unique to this package, relative to the directory that |
|
|
# configure is in, which we can look for to find out if srcdir is correct. |
|
|
ac_unique_file=libbfd.c |
|
704 |
|
|
705 |
# Find the source files, if location was not specified. |
# Find the source files, if location was not specified. |
706 |
if test -z "$srcdir"; then |
if test -z "$srcdir"; then |
707 |
ac_srcdir_defaulted=yes |
ac_srcdir_defaulted=yes |
708 |
# Try the directory containing this script, then its parent. |
# Try the directory containing this script, then its parent. |
709 |
ac_prog=$0 |
ac_confdir=`(dirname "$0") 2>/dev/null || |
710 |
ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'` |
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
711 |
test "x$ac_confdir" = "x$ac_prog" && ac_confdir=. |
X"$0" : 'X\(//\)[^/]' \| \ |
712 |
|
X"$0" : 'X\(//\)$' \| \ |
713 |
|
X"$0" : 'X\(/\)' \| \ |
714 |
|
. : '\(.\)' 2>/dev/null || |
715 |
|
echo X"$0" | |
716 |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
717 |
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
718 |
|
/^X\(\/\/\)$/{ s//\1/; q; } |
719 |
|
/^X\(\/\).*/{ s//\1/; q; } |
720 |
|
s/.*/./; q'` |
721 |
srcdir=$ac_confdir |
srcdir=$ac_confdir |
722 |
if test ! -r $srcdir/$ac_unique_file; then |
if test ! -r $srcdir/$ac_unique_file; then |
723 |
srcdir=.. |
srcdir=.. |
727 |
fi |
fi |
728 |
if test ! -r $srcdir/$ac_unique_file; then |
if test ! -r $srcdir/$ac_unique_file; then |
729 |
if test "$ac_srcdir_defaulted" = yes; then |
if test "$ac_srcdir_defaulted" = yes; then |
730 |
{ echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; } |
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 |
731 |
|
{ (exit 1); exit 1; }; } |
732 |
else |
else |
733 |
{ echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; } |
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 |
734 |
|
{ (exit 1); exit 1; }; } |
735 |
fi |
fi |
736 |
fi |
fi |
737 |
srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'` |
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || |
738 |
|
{ echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 |
739 |
|
{ (exit 1); exit 1; }; } |
740 |
|
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` |
741 |
|
ac_env_build_alias_set=${build_alias+set} |
742 |
|
ac_env_build_alias_value=$build_alias |
743 |
|
ac_cv_env_build_alias_set=${build_alias+set} |
744 |
|
ac_cv_env_build_alias_value=$build_alias |
745 |
|
ac_env_host_alias_set=${host_alias+set} |
746 |
|
ac_env_host_alias_value=$host_alias |
747 |
|
ac_cv_env_host_alias_set=${host_alias+set} |
748 |
|
ac_cv_env_host_alias_value=$host_alias |
749 |
|
ac_env_target_alias_set=${target_alias+set} |
750 |
|
ac_env_target_alias_value=$target_alias |
751 |
|
ac_cv_env_target_alias_set=${target_alias+set} |
752 |
|
ac_cv_env_target_alias_value=$target_alias |
753 |
|
ac_env_CC_set=${CC+set} |
754 |
|
ac_env_CC_value=$CC |
755 |
|
ac_cv_env_CC_set=${CC+set} |
756 |
|
ac_cv_env_CC_value=$CC |
757 |
|
ac_env_CFLAGS_set=${CFLAGS+set} |
758 |
|
ac_env_CFLAGS_value=$CFLAGS |
759 |
|
ac_cv_env_CFLAGS_set=${CFLAGS+set} |
760 |
|
ac_cv_env_CFLAGS_value=$CFLAGS |
761 |
|
ac_env_LDFLAGS_set=${LDFLAGS+set} |
762 |
|
ac_env_LDFLAGS_value=$LDFLAGS |
763 |
|
ac_cv_env_LDFLAGS_set=${LDFLAGS+set} |
764 |
|
ac_cv_env_LDFLAGS_value=$LDFLAGS |
765 |
|
ac_env_CPPFLAGS_set=${CPPFLAGS+set} |
766 |
|
ac_env_CPPFLAGS_value=$CPPFLAGS |
767 |
|
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} |
768 |
|
ac_cv_env_CPPFLAGS_value=$CPPFLAGS |
769 |
|
ac_env_CPP_set=${CPP+set} |
770 |
|
ac_env_CPP_value=$CPP |
771 |
|
ac_cv_env_CPP_set=${CPP+set} |
772 |
|
ac_cv_env_CPP_value=$CPP |
773 |
|
|
774 |
|
# |
775 |
|
# Report the --help message. |
776 |
|
# |
777 |
|
if test "$ac_init_help" = "long"; then |
778 |
|
# Omit some internal or obsolete options to make the list less imposing. |
779 |
|
# This message is too long to be a string in the A/UX 3.1 sh. |
780 |
|
cat <<_ACEOF |
781 |
|
\`configure' configures this package to adapt to many kinds of systems. |
782 |
|
|
783 |
|
Usage: $0 [OPTION]... [VAR=VALUE]... |
784 |
|
|
785 |
|
To assign environment variables (e.g., CC, CFLAGS...), specify them as |
786 |
|
VAR=VALUE. See below for descriptions of some of the useful variables. |
787 |
|
|
788 |
|
Defaults for the options are specified in brackets. |
789 |
|
|
790 |
|
Configuration: |
791 |
|
-h, --help display this help and exit |
792 |
|
--help=short display options specific to this package |
793 |
|
--help=recursive display the short help of all the included packages |
794 |
|
-V, --version display version information and exit |
795 |
|
-q, --quiet, --silent do not print \`checking...' messages |
796 |
|
--cache-file=FILE cache test results in FILE [disabled] |
797 |
|
-C, --config-cache alias for \`--cache-file=config.cache' |
798 |
|
-n, --no-create do not create output files |
799 |
|
--srcdir=DIR find the sources in DIR [configure dir or \`..'] |
800 |
|
|
801 |
|
_ACEOF |
802 |
|
|
803 |
|
cat <<_ACEOF |
804 |
|
Installation directories: |
805 |
|
--prefix=PREFIX install architecture-independent files in PREFIX |
806 |
|
[$ac_default_prefix] |
807 |
|
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
808 |
|
[PREFIX] |
809 |
|
|
810 |
|
By default, \`make install' will install all the files in |
811 |
|
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
812 |
|
an installation prefix other than \`$ac_default_prefix' using \`--prefix', |
813 |
|
for instance \`--prefix=\$HOME'. |
814 |
|
|
815 |
|
For better control, use the options below. |
816 |
|
|
817 |
|
Fine tuning of the installation directories: |
818 |
|
--bindir=DIR user executables [EPREFIX/bin] |
819 |
|
--sbindir=DIR system admin executables [EPREFIX/sbin] |
820 |
|
--libexecdir=DIR program executables [EPREFIX/libexec] |
821 |
|
--datadir=DIR read-only architecture-independent data [PREFIX/share] |
822 |
|
--sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
823 |
|
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
824 |
|
--localstatedir=DIR modifiable single-machine data [PREFIX/var] |
825 |
|
--libdir=DIR object code libraries [EPREFIX/lib] |
826 |
|
--includedir=DIR C header files [PREFIX/include] |
827 |
|
--oldincludedir=DIR C header files for non-gcc [/usr/include] |
828 |
|
--infodir=DIR info documentation [PREFIX/info] |
829 |
|
--mandir=DIR man documentation [PREFIX/man] |
830 |
|
_ACEOF |
831 |
|
|
832 |
|
cat <<\_ACEOF |
833 |
|
|
834 |
|
Program names: |
835 |
|
--program-prefix=PREFIX prepend PREFIX to installed program names |
836 |
|
--program-suffix=SUFFIX append SUFFIX to installed program names |
837 |
|
--program-transform-name=PROGRAM run sed PROGRAM on installed program names |
838 |
|
|
839 |
|
System types: |
840 |
|
--build=BUILD configure for building on BUILD [guessed] |
841 |
|
--host=HOST cross-compile to build programs to run on HOST [BUILD] |
842 |
|
--target=TARGET configure for building compilers for TARGET [HOST] |
843 |
|
_ACEOF |
844 |
|
fi |
845 |
|
|
846 |
|
if test -n "$ac_init_help"; then |
847 |
|
|
848 |
|
cat <<\_ACEOF |
849 |
|
|
850 |
|
Optional Features: |
851 |
|
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
852 |
|
--enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
853 |
|
--disable-dependency-tracking speeds up one-time build |
854 |
|
--enable-dependency-tracking do not reject slow dependency extractors |
855 |
|
--enable-shared=PKGS build shared libraries default=no |
856 |
|
--enable-static=PKGS build static libraries default=yes |
857 |
|
--enable-fast-install=PKGS optimize for fast installation default=yes |
858 |
|
--disable-libtool-lock avoid locking (might break parallel builds) |
859 |
|
--enable-64-bit-bfd 64-bit support (on hosts with narrower word sizes) |
860 |
|
--enable-targets alternative target configurations |
861 |
|
--enable-commonbfdlib build shared BFD/opcodes/libiberty library |
862 |
|
--enable-build-warnings Enable build-time compiler warnings if gcc is used |
863 |
|
--enable-maintainer-mode enable make rules and dependencies not useful |
864 |
|
(and sometimes confusing) to the casual installer |
865 |
|
--enable-install-libbfd controls installation of libbfd and related headers |
866 |
|
--disable-nls do not use Native Language Support |
867 |
|
|
868 |
|
Optional Packages: |
869 |
|
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
870 |
|
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
871 |
|
--with-gnu-ld assume the C compiler uses GNU ld default=no |
872 |
|
--with-pic try to use only PIC/non-PIC objects default=use both |
873 |
|
--with-mmap try using mmap for BFD input files if available |
874 |
|
--with-included-gettext use the GNU gettext library included here |
875 |
|
|
876 |
|
Some influential environment variables: |
877 |
|
CC C compiler command |
878 |
|
CFLAGS C compiler flags |
879 |
|
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
880 |
|
nonstandard directory <lib dir> |
881 |
|
CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have |
882 |
|
headers in a nonstandard directory <include dir> |
883 |
|
CPP C preprocessor |
884 |
|
|
885 |
|
Use these variables to override the choices made by `configure' or to help |
886 |
|
it to find libraries and programs with nonstandard names/locations. |
887 |
|
|
888 |
|
_ACEOF |
889 |
|
fi |
890 |
|
|
891 |
|
if test "$ac_init_help" = "recursive"; then |
892 |
|
# If there are subdirs, report their specific --help. |
893 |
|
ac_popdir=`pwd` |
894 |
|
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
895 |
|
test -d $ac_dir || continue |
896 |
|
ac_builddir=. |
897 |
|
|
898 |
|
if test "$ac_dir" != .; then |
899 |
|
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
900 |
|
# A "../" for each directory in $ac_dir_suffix. |
901 |
|
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` |
902 |
|
else |
903 |
|
ac_dir_suffix= ac_top_builddir= |
904 |
|
fi |
905 |
|
|
906 |
|
case $srcdir in |
907 |
|
.) # No --srcdir option. We are building in place. |
908 |
|
ac_srcdir=. |
909 |
|
if test -z "$ac_top_builddir"; then |
910 |
|
ac_top_srcdir=. |
911 |
|
else |
912 |
|
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` |
913 |
|
fi ;; |
914 |
|
[\\/]* | ?:[\\/]* ) # Absolute path. |
915 |
|
ac_srcdir=$srcdir$ac_dir_suffix; |
916 |
|
ac_top_srcdir=$srcdir ;; |
917 |
|
*) # Relative path. |
918 |
|
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
919 |
|
ac_top_srcdir=$ac_top_builddir$srcdir ;; |
920 |
|
esac |
921 |
|
|
922 |
|
# Do not use `cd foo && pwd` to compute absolute paths, because |
923 |
|
# the directories may not exist. |
924 |
|
case `pwd` in |
925 |
|
.) ac_abs_builddir="$ac_dir";; |
926 |
|
*) |
927 |
|
case "$ac_dir" in |
928 |
|
.) ac_abs_builddir=`pwd`;; |
929 |
|
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; |
930 |
|
*) ac_abs_builddir=`pwd`/"$ac_dir";; |
931 |
|
esac;; |
932 |
|
esac |
933 |
|
case $ac_abs_builddir in |
934 |
|
.) ac_abs_top_builddir=${ac_top_builddir}.;; |
935 |
|
*) |
936 |
|
case ${ac_top_builddir}. in |
937 |
|
.) ac_abs_top_builddir=$ac_abs_builddir;; |
938 |
|
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; |
939 |
|
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; |
940 |
|
esac;; |
941 |
|
esac |
942 |
|
case $ac_abs_builddir in |
943 |
|
.) ac_abs_srcdir=$ac_srcdir;; |
944 |
|
*) |
945 |
|
case $ac_srcdir in |
946 |
|
.) ac_abs_srcdir=$ac_abs_builddir;; |
947 |
|
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; |
948 |
|
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; |
949 |
|
esac;; |
950 |
|
esac |
951 |
|
case $ac_abs_builddir in |
952 |
|
.) ac_abs_top_srcdir=$ac_top_srcdir;; |
953 |
|
*) |
954 |
|
case $ac_top_srcdir in |
955 |
|
.) ac_abs_top_srcdir=$ac_abs_builddir;; |
956 |
|
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; |
957 |
|
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; |
958 |
|
esac;; |
959 |
|
esac |
960 |
|
|
961 |
|
cd $ac_dir |
962 |
|
# Check for guested configure; otherwise get Cygnus style configure. |
963 |
|
if test -f $ac_srcdir/configure.gnu; then |
964 |
|
echo |
965 |
|
$SHELL $ac_srcdir/configure.gnu --help=recursive |
966 |
|
elif test -f $ac_srcdir/configure; then |
967 |
|
echo |
968 |
|
$SHELL $ac_srcdir/configure --help=recursive |
969 |
|
elif test -f $ac_srcdir/configure.ac || |
970 |
|
test -f $ac_srcdir/configure.in; then |
971 |
|
echo |
972 |
|
$ac_configure --help |
973 |
|
else |
974 |
|
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
975 |
|
fi |
976 |
|
cd $ac_popdir |
977 |
|
done |
978 |
|
fi |
979 |
|
|
980 |
|
test -n "$ac_init_help" && exit 0 |
981 |
|
if $ac_init_version; then |
982 |
|
cat <<\_ACEOF |
983 |
|
|
984 |
|
Copyright (C) 2003 Free Software Foundation, Inc. |
985 |
|
This configure script is free software; the Free Software Foundation |
986 |
|
gives unlimited permission to copy, distribute and modify it. |
987 |
|
_ACEOF |
988 |
|
exit 0 |
989 |
|
fi |
990 |
|
exec 5>config.log |
991 |
|
cat >&5 <<_ACEOF |
992 |
|
This file contains any messages produced by compilers while |
993 |
|
running configure, to aid debugging if configure makes a mistake. |
994 |
|
|
995 |
|
It was created by $as_me, which was |
996 |
|
generated by GNU Autoconf 2.59. Invocation command line was |
997 |
|
|
998 |
|
$ $0 $@ |
999 |
|
|
1000 |
|
_ACEOF |
1001 |
|
{ |
1002 |
|
cat <<_ASUNAME |
1003 |
|
## --------- ## |
1004 |
|
## Platform. ## |
1005 |
|
## --------- ## |
1006 |
|
|
1007 |
|
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` |
1008 |
|
uname -m = `(uname -m) 2>/dev/null || echo unknown` |
1009 |
|
uname -r = `(uname -r) 2>/dev/null || echo unknown` |
1010 |
|
uname -s = `(uname -s) 2>/dev/null || echo unknown` |
1011 |
|
uname -v = `(uname -v) 2>/dev/null || echo unknown` |
1012 |
|
|
1013 |
|
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` |
1014 |
|
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` |
1015 |
|
|
1016 |
|
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` |
1017 |
|
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` |
1018 |
|
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` |
1019 |
|
hostinfo = `(hostinfo) 2>/dev/null || echo unknown` |
1020 |
|
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` |
1021 |
|
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` |
1022 |
|
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` |
1023 |
|
|
1024 |
|
_ASUNAME |
1025 |
|
|
1026 |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1027 |
|
for as_dir in $PATH |
1028 |
|
do |
1029 |
|
IFS=$as_save_IFS |
1030 |
|
test -z "$as_dir" && as_dir=. |
1031 |
|
echo "PATH: $as_dir" |
1032 |
|
done |
1033 |
|
|
1034 |
|
} >&5 |
1035 |
|
|
1036 |
|
cat >&5 <<_ACEOF |
1037 |
|
|
1038 |
|
|
1039 |
|
## ----------- ## |
1040 |
|
## Core tests. ## |
1041 |
|
## ----------- ## |
1042 |
|
|
1043 |
|
_ACEOF |
1044 |
|
|
1045 |
|
|
1046 |
|
# Keep a trace of the command line. |
1047 |
|
# Strip out --no-create and --no-recursion so they do not pile up. |
1048 |
|
# Strip out --silent because we don't want to record it for future runs. |
1049 |
|
# Also quote any args containing shell meta-characters. |
1050 |
|
# Make two passes to allow for proper duplicate-argument suppression. |
1051 |
|
ac_configure_args= |
1052 |
|
ac_configure_args0= |
1053 |
|
ac_configure_args1= |
1054 |
|
ac_sep= |
1055 |
|
ac_must_keep_next=false |
1056 |
|
for ac_pass in 1 2 |
1057 |
|
do |
1058 |
|
for ac_arg |
1059 |
|
do |
1060 |
|
case $ac_arg in |
1061 |
|
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
1062 |
|
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
1063 |
|
| -silent | --silent | --silen | --sile | --sil) |
1064 |
|
continue ;; |
1065 |
|
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) |
1066 |
|
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
1067 |
|
esac |
1068 |
|
case $ac_pass in |
1069 |
|
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; |
1070 |
|
2) |
1071 |
|
ac_configure_args1="$ac_configure_args1 '$ac_arg'" |
1072 |
|
if test $ac_must_keep_next = true; then |
1073 |
|
ac_must_keep_next=false # Got value, back to normal. |
1074 |
|
else |
1075 |
|
case $ac_arg in |
1076 |
|
*=* | --config-cache | -C | -disable-* | --disable-* \ |
1077 |
|
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
1078 |
|
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
1079 |
|
| -with-* | --with-* | -without-* | --without-* | --x) |
1080 |
|
case "$ac_configure_args0 " in |
1081 |
|
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
1082 |
|
esac |
1083 |
|
;; |
1084 |
|
-* ) ac_must_keep_next=true ;; |
1085 |
|
esac |
1086 |
|
fi |
1087 |
|
ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" |
1088 |
|
# Get rid of the leading space. |
1089 |
|
ac_sep=" " |
1090 |
|
;; |
1091 |
|
esac |
1092 |
|
done |
1093 |
|
done |
1094 |
|
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } |
1095 |
|
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } |
1096 |
|
|
1097 |
|
# When interrupted or exit'd, cleanup temporary files, and complete |
1098 |
|
# config.log. We remove comments because anyway the quotes in there |
1099 |
|
# would cause problems or look ugly. |
1100 |
|
# WARNING: Be sure not to use single quotes in there, as some shells, |
1101 |
|
# such as our DU 5.0 friend, will then `close' the trap. |
1102 |
|
trap 'exit_status=$? |
1103 |
|
# Save into config.log some information that might help in debugging. |
1104 |
|
{ |
1105 |
|
echo |
1106 |
|
|
1107 |
|
cat <<\_ASBOX |
1108 |
|
## ---------------- ## |
1109 |
|
## Cache variables. ## |
1110 |
|
## ---------------- ## |
1111 |
|
_ASBOX |
1112 |
|
echo |
1113 |
|
# The following way of writing the cache mishandles newlines in values, |
1114 |
|
{ |
1115 |
|
(set) 2>&1 | |
1116 |
|
case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in |
1117 |
|
*ac_space=\ *) |
1118 |
|
sed -n \ |
1119 |
|
"s/'"'"'/'"'"'\\\\'"'"''"'"'/g; |
1120 |
|
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" |
1121 |
|
;; |
1122 |
|
*) |
1123 |
|
sed -n \ |
1124 |
|
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
1125 |
|
;; |
1126 |
|
esac; |
1127 |
|
} |
1128 |
|
echo |
1129 |
|
|
1130 |
|
cat <<\_ASBOX |
1131 |
|
## ----------------- ## |
1132 |
|
## Output variables. ## |
1133 |
|
## ----------------- ## |
1134 |
|
_ASBOX |
1135 |
|
echo |
1136 |
|
for ac_var in $ac_subst_vars |
1137 |
|
do |
1138 |
|
eval ac_val=$`echo $ac_var` |
1139 |
|
echo "$ac_var='"'"'$ac_val'"'"'" |
1140 |
|
done | sort |
1141 |
|
echo |
1142 |
|
|
1143 |
|
if test -n "$ac_subst_files"; then |
1144 |
|
cat <<\_ASBOX |
1145 |
|
## ------------- ## |
1146 |
|
## Output files. ## |
1147 |
|
## ------------- ## |
1148 |
|
_ASBOX |
1149 |
|
echo |
1150 |
|
for ac_var in $ac_subst_files |
1151 |
|
do |
1152 |
|
eval ac_val=$`echo $ac_var` |
1153 |
|
echo "$ac_var='"'"'$ac_val'"'"'" |
1154 |
|
done | sort |
1155 |
|
echo |
1156 |
|
fi |
1157 |
|
|
1158 |
|
if test -s confdefs.h; then |
1159 |
|
cat <<\_ASBOX |
1160 |
|
## ----------- ## |
1161 |
|
## confdefs.h. ## |
1162 |
|
## ----------- ## |
1163 |
|
_ASBOX |
1164 |
|
echo |
1165 |
|
sed "/^$/d" confdefs.h | sort |
1166 |
|
echo |
1167 |
|
fi |
1168 |
|
test "$ac_signal" != 0 && |
1169 |
|
echo "$as_me: caught signal $ac_signal" |
1170 |
|
echo "$as_me: exit $exit_status" |
1171 |
|
} >&5 |
1172 |
|
rm -f core *.core && |
1173 |
|
rm -rf conftest* confdefs* conf$$* $ac_clean_files && |
1174 |
|
exit $exit_status |
1175 |
|
' 0 |
1176 |
|
for ac_signal in 1 2 13 15; do |
1177 |
|
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal |
1178 |
|
done |
1179 |
|
ac_signal=0 |
1180 |
|
|
1181 |
|
# confdefs.h avoids OS command line length limits that DEFS can exceed. |
1182 |
|
rm -rf conftest* confdefs.h |
1183 |
|
# AIX cpp loses on an empty file, so make sure it contains at least a newline. |
1184 |
|
echo >confdefs.h |
1185 |
|
|
1186 |
|
# Predefined preprocessor variables. |
1187 |
|
|
1188 |
|
cat >>confdefs.h <<_ACEOF |
1189 |
|
#define PACKAGE_NAME "$PACKAGE_NAME" |
1190 |
|
_ACEOF |
1191 |
|
|
1192 |
|
|
1193 |
|
cat >>confdefs.h <<_ACEOF |
1194 |
|
#define PACKAGE_TARNAME "$PACKAGE_TARNAME" |
1195 |
|
_ACEOF |
1196 |
|
|
1197 |
|
|
1198 |
|
cat >>confdefs.h <<_ACEOF |
1199 |
|
#define PACKAGE_VERSION "$PACKAGE_VERSION" |
1200 |
|
_ACEOF |
1201 |
|
|
1202 |
|
|
1203 |
|
cat >>confdefs.h <<_ACEOF |
1204 |
|
#define PACKAGE_STRING "$PACKAGE_STRING" |
1205 |
|
_ACEOF |
1206 |
|
|
1207 |
|
|
1208 |
|
cat >>confdefs.h <<_ACEOF |
1209 |
|
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
1210 |
|
_ACEOF |
1211 |
|
|
1212 |
|
|
1213 |
|
# Let the site file select an alternate cache file if it wants to. |
1214 |
# Prefer explicitly selected file to automatically selected ones. |
# Prefer explicitly selected file to automatically selected ones. |
1215 |
if test -z "$CONFIG_SITE"; then |
if test -z "$CONFIG_SITE"; then |
1216 |
if test "x$prefix" != xNONE; then |
if test "x$prefix" != xNONE; then |
1221 |
fi |
fi |
1222 |
for ac_site_file in $CONFIG_SITE; do |
for ac_site_file in $CONFIG_SITE; do |
1223 |
if test -r "$ac_site_file"; then |
if test -r "$ac_site_file"; then |
1224 |
echo "loading site script $ac_site_file" |
{ echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 |
1225 |
|
echo "$as_me: loading site script $ac_site_file" >&6;} |
1226 |
|
sed 's/^/| /' "$ac_site_file" >&5 |
1227 |
. "$ac_site_file" |
. "$ac_site_file" |
1228 |
fi |
fi |
1229 |
done |
done |
1230 |
|
|
1231 |
if test -r "$cache_file"; then |
if test -r "$cache_file"; then |
1232 |
echo "loading cache $cache_file" |
# Some versions of bash will fail to source /dev/null (special |
1233 |
. $cache_file |
# files actually), so we avoid doing that. |
1234 |
|
if test -f "$cache_file"; then |
1235 |
|
{ echo "$as_me:$LINENO: loading cache $cache_file" >&5 |
1236 |
|
echo "$as_me: loading cache $cache_file" >&6;} |
1237 |
|
case $cache_file in |
1238 |
|
[\\/]* | ?:[\\/]* ) . $cache_file;; |
1239 |
|
*) . ./$cache_file;; |
1240 |
|
esac |
1241 |
|
fi |
1242 |
else |
else |
1243 |
echo "creating cache $cache_file" |
{ echo "$as_me:$LINENO: creating cache $cache_file" >&5 |
1244 |
> $cache_file |
echo "$as_me: creating cache $cache_file" >&6;} |
1245 |
|
>$cache_file |
1246 |
|
fi |
1247 |
|
|
1248 |
|
# Check that the precious variables saved in the cache have kept the same |
1249 |
|
# value. |
1250 |
|
ac_cache_corrupted=false |
1251 |
|
for ac_var in `(set) 2>&1 | |
1252 |
|
sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do |
1253 |
|
eval ac_old_set=\$ac_cv_env_${ac_var}_set |
1254 |
|
eval ac_new_set=\$ac_env_${ac_var}_set |
1255 |
|
eval ac_old_val="\$ac_cv_env_${ac_var}_value" |
1256 |
|
eval ac_new_val="\$ac_env_${ac_var}_value" |
1257 |
|
case $ac_old_set,$ac_new_set in |
1258 |
|
set,) |
1259 |
|
{ echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
1260 |
|
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
1261 |
|
ac_cache_corrupted=: ;; |
1262 |
|
,set) |
1263 |
|
{ echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 |
1264 |
|
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
1265 |
|
ac_cache_corrupted=: ;; |
1266 |
|
,);; |
1267 |
|
*) |
1268 |
|
if test "x$ac_old_val" != "x$ac_new_val"; then |
1269 |
|
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 |
1270 |
|
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
1271 |
|
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5 |
1272 |
|
echo "$as_me: former value: $ac_old_val" >&2;} |
1273 |
|
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5 |
1274 |
|
echo "$as_me: current value: $ac_new_val" >&2;} |
1275 |
|
ac_cache_corrupted=: |
1276 |
|
fi;; |
1277 |
|
esac |
1278 |
|
# Pass precious variables to config.status. |
1279 |
|
if test "$ac_new_set" = set; then |
1280 |
|
case $ac_new_val in |
1281 |
|
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) |
1282 |
|
ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
1283 |
|
*) ac_arg=$ac_var=$ac_new_val ;; |
1284 |
|
esac |
1285 |
|
case " $ac_configure_args " in |
1286 |
|
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
1287 |
|
*) ac_configure_args="$ac_configure_args '$ac_arg'" ;; |
1288 |
|
esac |
1289 |
|
fi |
1290 |
|
done |
1291 |
|
if $ac_cache_corrupted; then |
1292 |
|
{ echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 |
1293 |
|
echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
1294 |
|
{ { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 |
1295 |
|
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} |
1296 |
|
{ (exit 1); exit 1; }; } |
1297 |
fi |
fi |
1298 |
|
|
1299 |
ac_ext=c |
ac_ext=c |
|
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. |
|
1300 |
ac_cpp='$CPP $CPPFLAGS' |
ac_cpp='$CPP $CPPFLAGS' |
1301 |
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
1302 |
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
1303 |
cross_compiling=$ac_cv_prog_cc_cross |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
1304 |
|
|
1305 |
|
|
1306 |
|
|
1307 |
|
|
1308 |
|
|
1309 |
|
|
1310 |
|
|
1311 |
|
|
1312 |
|
|
1313 |
|
|
1314 |
|
|
1315 |
|
|
1316 |
|
|
|
ac_exeext= |
|
|
ac_objext=o |
|
|
if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then |
|
|
# Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu. |
|
|
if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then |
|
|
ac_n= ac_c=' |
|
|
' ac_t=' ' |
|
|
else |
|
|
ac_n=-n ac_c= ac_t= |
|
|
fi |
|
|
else |
|
|
ac_n= ac_c='\c' ac_t= |
|
|
fi |
|
1317 |
|
|
|
echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6 |
|
|
echo "configure:556: checking for Cygwin environment" >&5 |
|
|
if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then |
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
else |
|
|
cat > conftest.$ac_ext <<EOF |
|
|
#line 561 "configure" |
|
|
#include "confdefs.h" |
|
1318 |
|
|
|
int main() { |
|
1319 |
|
|
|
#ifndef __CYGWIN__ |
|
|
#define __CYGWIN__ __CYGWIN32__ |
|
|
#endif |
|
|
return __CYGWIN__; |
|
|
; return 0; } |
|
|
EOF |
|
|
if { (eval echo configure:572: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
|
|
rm -rf conftest* |
|
|
ac_cv_cygwin=yes |
|
|
else |
|
|
echo "configure: failed program was:" >&5 |
|
|
cat conftest.$ac_ext >&5 |
|
|
rm -rf conftest* |
|
|
ac_cv_cygwin=no |
|
|
fi |
|
|
rm -f conftest* |
|
|
rm -f conftest* |
|
|
fi |
|
1320 |
|
|
|
echo "$ac_t""$ac_cv_cygwin" 1>&6 |
|
|
CYGWIN= |
|
|
test "$ac_cv_cygwin" = yes && CYGWIN=yes |
|
|
echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6 |
|
|
echo "configure:589: checking for mingw32 environment" >&5 |
|
|
if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then |
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
else |
|
|
cat > conftest.$ac_ext <<EOF |
|
|
#line 594 "configure" |
|
|
#include "confdefs.h" |
|
1321 |
|
|
|
int main() { |
|
|
return __MINGW32__; |
|
|
; return 0; } |
|
|
EOF |
|
|
if { (eval echo configure:601: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
|
|
rm -rf conftest* |
|
|
ac_cv_mingw32=yes |
|
|
else |
|
|
echo "configure: failed program was:" >&5 |
|
|
cat conftest.$ac_ext >&5 |
|
|
rm -rf conftest* |
|
|
ac_cv_mingw32=no |
|
|
fi |
|
|
rm -f conftest* |
|
|
rm -f conftest* |
|
|
fi |
|
1322 |
|
|
|
echo "$ac_t""$ac_cv_mingw32" 1>&6 |
|
|
MINGW32= |
|
|
test "$ac_cv_mingw32" = yes && MINGW32=yes |
|
1323 |
|
|
1324 |
|
|
1325 |
ac_aux_dir= |
ac_aux_dir= |
1332 |
ac_aux_dir=$ac_dir |
ac_aux_dir=$ac_dir |
1333 |
ac_install_sh="$ac_aux_dir/install.sh -c" |
ac_install_sh="$ac_aux_dir/install.sh -c" |
1334 |
break |
break |
1335 |
|
elif test -f $ac_dir/shtool; then |
1336 |
|
ac_aux_dir=$ac_dir |
1337 |
|
ac_install_sh="$ac_aux_dir/shtool install -c" |
1338 |
|
break |
1339 |
fi |
fi |
1340 |
done |
done |
1341 |
if test -z "$ac_aux_dir"; then |
if test -z "$ac_aux_dir"; then |
1342 |
{ echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; } |
{ { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 |
1343 |
fi |
echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} |
1344 |
ac_config_guess=$ac_aux_dir/config.guess |
{ (exit 1); exit 1; }; } |
1345 |
ac_config_sub=$ac_aux_dir/config.sub |
fi |
1346 |
ac_configure=$ac_aux_dir/configure # This should be Cygnus configure. |
ac_config_guess="$SHELL $ac_aux_dir/config.guess" |
1347 |
|
ac_config_sub="$SHELL $ac_aux_dir/config.sub" |
1348 |
|
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. |
1349 |
|
|
1350 |
|
# Make sure we can run config.sub. |
1351 |
|
$ac_config_sub sun4 >/dev/null 2>&1 || |
1352 |
|
{ { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 |
1353 |
|
echo "$as_me: error: cannot run $ac_config_sub" >&2;} |
1354 |
|
{ (exit 1); exit 1; }; } |
1355 |
|
|
1356 |
|
echo "$as_me:$LINENO: checking build system type" >&5 |
1357 |
|
echo $ECHO_N "checking build system type... $ECHO_C" >&6 |
1358 |
|
if test "${ac_cv_build+set}" = set; then |
1359 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1360 |
|
else |
1361 |
|
ac_cv_build_alias=$build_alias |
1362 |
|
test -z "$ac_cv_build_alias" && |
1363 |
|
ac_cv_build_alias=`$ac_config_guess` |
1364 |
|
test -z "$ac_cv_build_alias" && |
1365 |
|
{ { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 |
1366 |
|
echo "$as_me: error: cannot guess build type; you must specify one" >&2;} |
1367 |
|
{ (exit 1); exit 1; }; } |
1368 |
|
ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || |
1369 |
|
{ { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 |
1370 |
|
echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} |
1371 |
|
{ (exit 1); exit 1; }; } |
1372 |
|
|
1373 |
|
fi |
1374 |
|
echo "$as_me:$LINENO: result: $ac_cv_build" >&5 |
1375 |
|
echo "${ECHO_T}$ac_cv_build" >&6 |
1376 |
|
build=$ac_cv_build |
1377 |
|
build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
1378 |
|
build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
1379 |
|
build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
1380 |
|
|
1381 |
|
|
1382 |
|
echo "$as_me:$LINENO: checking host system type" >&5 |
1383 |
|
echo $ECHO_N "checking host system type... $ECHO_C" >&6 |
1384 |
|
if test "${ac_cv_host+set}" = set; then |
1385 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1386 |
|
else |
1387 |
|
ac_cv_host_alias=$host_alias |
1388 |
|
test -z "$ac_cv_host_alias" && |
1389 |
|
ac_cv_host_alias=$ac_cv_build_alias |
1390 |
|
ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || |
1391 |
|
{ { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 |
1392 |
|
echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} |
1393 |
|
{ (exit 1); exit 1; }; } |
1394 |
|
|
1395 |
|
fi |
1396 |
|
echo "$as_me:$LINENO: result: $ac_cv_host" >&5 |
1397 |
|
echo "${ECHO_T}$ac_cv_host" >&6 |
1398 |
|
host=$ac_cv_host |
1399 |
|
host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
1400 |
|
host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
1401 |
|
host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
1402 |
|
|
1403 |
|
|
1404 |
|
echo "$as_me:$LINENO: checking target system type" >&5 |
1405 |
|
echo $ECHO_N "checking target system type... $ECHO_C" >&6 |
1406 |
|
if test "${ac_cv_target+set}" = set; then |
1407 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1408 |
|
else |
1409 |
|
ac_cv_target_alias=$target_alias |
1410 |
|
test "x$ac_cv_target_alias" = "x" && |
1411 |
|
ac_cv_target_alias=$ac_cv_host_alias |
1412 |
|
ac_cv_target=`$ac_config_sub $ac_cv_target_alias` || |
1413 |
|
{ { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5 |
1414 |
|
echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;} |
1415 |
|
{ (exit 1); exit 1; }; } |
1416 |
|
|
1417 |
|
fi |
1418 |
|
echo "$as_me:$LINENO: result: $ac_cv_target" >&5 |
1419 |
|
echo "${ECHO_T}$ac_cv_target" >&6 |
1420 |
|
target=$ac_cv_target |
1421 |
|
target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
1422 |
|
target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
1423 |
|
target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
1424 |
|
|
|
# Do some error checking and defaulting for the host and target type. |
|
|
# The inputs are: |
|
|
# configure --host=HOST --target=TARGET --build=BUILD NONOPT |
|
|
# |
|
|
# The rules are: |
|
|
# 1. You are not allowed to specify --host, --target, and nonopt at the |
|
|
# same time. |
|
|
# 2. Host defaults to nonopt. |
|
|
# 3. If nonopt is not specified, then host defaults to the current host, |
|
|
# as determined by config.guess. |
|
|
# 4. Target and build default to nonopt. |
|
|
# 5. If nonopt is not specified, then target and build default to host. |
|
1425 |
|
|
1426 |
# The aliases save the names the user supplied, while $host etc. |
# The aliases save the names the user supplied, while $host etc. |
1427 |
# will get canonicalized. |
# will get canonicalized. |
1428 |
case $host---$target---$nonopt in |
test -n "$target_alias" && |
1429 |
NONE---*---* | *---NONE---* | *---*---NONE) ;; |
test "$program_prefix$program_suffix$program_transform_name" = \ |
1430 |
*) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;; |
NONENONEs,x,x, && |
1431 |
esac |
program_prefix=${target_alias}- |
1432 |
|
ac_ext=c |
1433 |
|
ac_cpp='$CPP $CPPFLAGS' |
1434 |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
1435 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
1436 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
1437 |
|
if test -n "$ac_tool_prefix"; then |
1438 |
|
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
1439 |
|
set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
1440 |
|
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1441 |
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1442 |
|
if test "${ac_cv_prog_CC+set}" = set; then |
1443 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1444 |
|
else |
1445 |
|
if test -n "$CC"; then |
1446 |
|
ac_cv_prog_CC="$CC" # Let the user override the test. |
1447 |
|
else |
1448 |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1449 |
|
for as_dir in $PATH |
1450 |
|
do |
1451 |
|
IFS=$as_save_IFS |
1452 |
|
test -z "$as_dir" && as_dir=. |
1453 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
1454 |
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1455 |
|
ac_cv_prog_CC="${ac_tool_prefix}gcc" |
1456 |
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1457 |
|
break 2 |
1458 |
|
fi |
1459 |
|
done |
1460 |
|
done |
1461 |
|
|
1462 |
|
fi |
1463 |
|
fi |
1464 |
|
CC=$ac_cv_prog_CC |
1465 |
|
if test -n "$CC"; then |
1466 |
|
echo "$as_me:$LINENO: result: $CC" >&5 |
1467 |
|
echo "${ECHO_T}$CC" >&6 |
1468 |
|
else |
1469 |
|
echo "$as_me:$LINENO: result: no" >&5 |
1470 |
|
echo "${ECHO_T}no" >&6 |
1471 |
|
fi |
1472 |
|
|
|
# Make sure we can run config.sub. |
|
|
if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then : |
|
|
else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; } |
|
1473 |
fi |
fi |
1474 |
|
if test -z "$ac_cv_prog_CC"; then |
1475 |
|
ac_ct_CC=$CC |
1476 |
|
# Extract the first word of "gcc", so it can be a program name with args. |
1477 |
|
set dummy gcc; ac_word=$2 |
1478 |
|
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1479 |
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1480 |
|
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
1481 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1482 |
|
else |
1483 |
|
if test -n "$ac_ct_CC"; then |
1484 |
|
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
1485 |
|
else |
1486 |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1487 |
|
for as_dir in $PATH |
1488 |
|
do |
1489 |
|
IFS=$as_save_IFS |
1490 |
|
test -z "$as_dir" && as_dir=. |
1491 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
1492 |
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1493 |
|
ac_cv_prog_ac_ct_CC="gcc" |
1494 |
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1495 |
|
break 2 |
1496 |
|
fi |
1497 |
|
done |
1498 |
|
done |
1499 |
|
|
1500 |
echo $ac_n "checking host system type""... $ac_c" 1>&6 |
fi |
1501 |
echo "configure:666: checking host system type" >&5 |
fi |
1502 |
|
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
1503 |
|
if test -n "$ac_ct_CC"; then |
1504 |
|
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
1505 |
|
echo "${ECHO_T}$ac_ct_CC" >&6 |
1506 |
|
else |
1507 |
|
echo "$as_me:$LINENO: result: no" >&5 |
1508 |
|
echo "${ECHO_T}no" >&6 |
1509 |
|
fi |
1510 |
|
|
1511 |
host_alias=$host |
CC=$ac_ct_CC |
1512 |
case "$host_alias" in |
else |
1513 |
NONE) |
CC="$ac_cv_prog_CC" |
1514 |
case $nonopt in |
fi |
|
NONE) |
|
|
if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then : |
|
|
else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; } |
|
|
fi ;; |
|
|
*) host_alias=$nonopt ;; |
|
|
esac ;; |
|
|
esac |
|
1515 |
|
|
1516 |
host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias` |
if test -z "$CC"; then |
1517 |
host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
if test -n "$ac_tool_prefix"; then |
1518 |
host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
1519 |
host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
set dummy ${ac_tool_prefix}cc; ac_word=$2 |
1520 |
echo "$ac_t""$host" 1>&6 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1521 |
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1522 |
echo $ac_n "checking target system type""... $ac_c" 1>&6 |
if test "${ac_cv_prog_CC+set}" = set; then |
1523 |
echo "configure:687: checking target system type" >&5 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1524 |
|
else |
1525 |
target_alias=$target |
if test -n "$CC"; then |
1526 |
case "$target_alias" in |
ac_cv_prog_CC="$CC" # Let the user override the test. |
1527 |
NONE) |
else |
1528 |
case $nonopt in |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1529 |
NONE) target_alias=$host_alias ;; |
for as_dir in $PATH |
1530 |
*) target_alias=$nonopt ;; |
do |
1531 |
esac ;; |
IFS=$as_save_IFS |
1532 |
esac |
test -z "$as_dir" && as_dir=. |
1533 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
1534 |
target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias` |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1535 |
target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
ac_cv_prog_CC="${ac_tool_prefix}cc" |
1536 |
target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1537 |
target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
break 2 |
1538 |
echo "$ac_t""$target" 1>&6 |
fi |
1539 |
|
done |
1540 |
echo $ac_n "checking build system type""... $ac_c" 1>&6 |
done |
|
echo "configure:705: checking build system type" >&5 |
|
|
|
|
|
build_alias=$build |
|
|
case "$build_alias" in |
|
|
NONE) |
|
|
case $nonopt in |
|
|
NONE) build_alias=$host_alias ;; |
|
|
*) build_alias=$nonopt ;; |
|
|
esac ;; |
|
|
esac |
|
|
|
|
|
build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias` |
|
|
build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
|
|
build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
|
|
build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
|
|
echo "$ac_t""$build" 1>&6 |
|
1541 |
|
|
1542 |
test "$host_alias" != "$target_alias" && |
fi |
1543 |
test "$program_prefix$program_suffix$program_transform_name" = \ |
fi |
1544 |
NONENONEs,x,x, && |
CC=$ac_cv_prog_CC |
1545 |
program_prefix=${target_alias}- |
if test -n "$CC"; then |
1546 |
|
echo "$as_me:$LINENO: result: $CC" >&5 |
1547 |
|
echo "${ECHO_T}$CC" >&6 |
1548 |
|
else |
1549 |
|
echo "$as_me:$LINENO: result: no" >&5 |
1550 |
|
echo "${ECHO_T}no" >&6 |
1551 |
|
fi |
1552 |
|
|
1553 |
|
fi |
1554 |
|
if test -z "$ac_cv_prog_CC"; then |
1555 |
|
ac_ct_CC=$CC |
1556 |
|
# Extract the first word of "cc", so it can be a program name with args. |
1557 |
|
set dummy cc; ac_word=$2 |
1558 |
|
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1559 |
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1560 |
|
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
1561 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1562 |
|
else |
1563 |
|
if test -n "$ac_ct_CC"; then |
1564 |
|
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
1565 |
|
else |
1566 |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1567 |
|
for as_dir in $PATH |
1568 |
|
do |
1569 |
|
IFS=$as_save_IFS |
1570 |
|
test -z "$as_dir" && as_dir=. |
1571 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
1572 |
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1573 |
|
ac_cv_prog_ac_ct_CC="cc" |
1574 |
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1575 |
|
break 2 |
1576 |
|
fi |
1577 |
|
done |
1578 |
|
done |
1579 |
|
|
1580 |
|
fi |
1581 |
|
fi |
1582 |
|
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
1583 |
|
if test -n "$ac_ct_CC"; then |
1584 |
|
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
1585 |
|
echo "${ECHO_T}$ac_ct_CC" >&6 |
1586 |
|
else |
1587 |
|
echo "$as_me:$LINENO: result: no" >&5 |
1588 |
|
echo "${ECHO_T}no" >&6 |
1589 |
|
fi |
1590 |
|
|
1591 |
echo $ac_n "checking for strerror in -lcposix""... $ac_c" 1>&6 |
CC=$ac_ct_CC |
1592 |
echo "configure:729: checking for strerror in -lcposix" >&5 |
else |
1593 |
ac_lib_var=`echo cposix'_'strerror | sed 'y%./+-%__p_%'` |
CC="$ac_cv_prog_CC" |
1594 |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
fi |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
else |
|
|
ac_save_LIBS="$LIBS" |
|
|
LIBS="-lcposix $LIBS" |
|
|
cat > conftest.$ac_ext <<EOF |
|
|
#line 737 "configure" |
|
|
#include "confdefs.h" |
|
|
/* Override any gcc2 internal prototype to avoid an error. */ |
|
|
/* We use char because int might match the return type of a gcc2 |
|
|
builtin and then its argument prototype would still apply. */ |
|
|
char strerror(); |
|
1595 |
|
|
1596 |
int main() { |
fi |
1597 |
strerror() |
if test -z "$CC"; then |
1598 |
; return 0; } |
# Extract the first word of "cc", so it can be a program name with args. |
1599 |
EOF |
set dummy cc; ac_word=$2 |
1600 |
if { (eval echo configure:748: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1601 |
rm -rf conftest* |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1602 |
eval "ac_cv_lib_$ac_lib_var=yes" |
if test "${ac_cv_prog_CC+set}" = set; then |
1603 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1604 |
else |
else |
1605 |
echo "configure: failed program was:" >&5 |
if test -n "$CC"; then |
1606 |
cat conftest.$ac_ext >&5 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
1607 |
rm -rf conftest* |
else |
1608 |
eval "ac_cv_lib_$ac_lib_var=no" |
ac_prog_rejected=no |
1609 |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1610 |
|
for as_dir in $PATH |
1611 |
|
do |
1612 |
|
IFS=$as_save_IFS |
1613 |
|
test -z "$as_dir" && as_dir=. |
1614 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
1615 |
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1616 |
|
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
1617 |
|
ac_prog_rejected=yes |
1618 |
|
continue |
1619 |
|
fi |
1620 |
|
ac_cv_prog_CC="cc" |
1621 |
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1622 |
|
break 2 |
1623 |
|
fi |
1624 |
|
done |
1625 |
|
done |
1626 |
|
|
1627 |
|
if test $ac_prog_rejected = yes; then |
1628 |
|
# We found a bogon in the path, so make sure we never use it. |
1629 |
|
set dummy $ac_cv_prog_CC |
1630 |
|
shift |
1631 |
|
if test $# != 0; then |
1632 |
|
# We chose a different compiler from the bogus one. |
1633 |
|
# However, it has the same basename, so the bogon will be chosen |
1634 |
|
# first if we set CC to just the basename; use the full file name. |
1635 |
|
shift |
1636 |
|
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
1637 |
|
fi |
1638 |
|
fi |
1639 |
|
fi |
1640 |
|
fi |
1641 |
|
CC=$ac_cv_prog_CC |
1642 |
|
if test -n "$CC"; then |
1643 |
|
echo "$as_me:$LINENO: result: $CC" >&5 |
1644 |
|
echo "${ECHO_T}$CC" >&6 |
1645 |
|
else |
1646 |
|
echo "$as_me:$LINENO: result: no" >&5 |
1647 |
|
echo "${ECHO_T}no" >&6 |
1648 |
|
fi |
1649 |
|
|
1650 |
|
fi |
1651 |
|
if test -z "$CC"; then |
1652 |
|
if test -n "$ac_tool_prefix"; then |
1653 |
|
for ac_prog in cl |
1654 |
|
do |
1655 |
|
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
1656 |
|
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
1657 |
|
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1658 |
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1659 |
|
if test "${ac_cv_prog_CC+set}" = set; then |
1660 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1661 |
|
else |
1662 |
|
if test -n "$CC"; then |
1663 |
|
ac_cv_prog_CC="$CC" # Let the user override the test. |
1664 |
|
else |
1665 |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1666 |
|
for as_dir in $PATH |
1667 |
|
do |
1668 |
|
IFS=$as_save_IFS |
1669 |
|
test -z "$as_dir" && as_dir=. |
1670 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
1671 |
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1672 |
|
ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
1673 |
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1674 |
|
break 2 |
1675 |
|
fi |
1676 |
|
done |
1677 |
|
done |
1678 |
|
|
1679 |
|
fi |
1680 |
|
fi |
1681 |
|
CC=$ac_cv_prog_CC |
1682 |
|
if test -n "$CC"; then |
1683 |
|
echo "$as_me:$LINENO: result: $CC" >&5 |
1684 |
|
echo "${ECHO_T}$CC" >&6 |
1685 |
|
else |
1686 |
|
echo "$as_me:$LINENO: result: no" >&5 |
1687 |
|
echo "${ECHO_T}no" >&6 |
1688 |
|
fi |
1689 |
|
|
1690 |
|
test -n "$CC" && break |
1691 |
|
done |
1692 |
|
fi |
1693 |
|
if test -z "$CC"; then |
1694 |
|
ac_ct_CC=$CC |
1695 |
|
for ac_prog in cl |
1696 |
|
do |
1697 |
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
1698 |
|
set dummy $ac_prog; ac_word=$2 |
1699 |
|
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1700 |
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1701 |
|
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
1702 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1703 |
|
else |
1704 |
|
if test -n "$ac_ct_CC"; then |
1705 |
|
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
1706 |
|
else |
1707 |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1708 |
|
for as_dir in $PATH |
1709 |
|
do |
1710 |
|
IFS=$as_save_IFS |
1711 |
|
test -z "$as_dir" && as_dir=. |
1712 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
1713 |
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1714 |
|
ac_cv_prog_ac_ct_CC="$ac_prog" |
1715 |
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1716 |
|
break 2 |
1717 |
|
fi |
1718 |
|
done |
1719 |
|
done |
1720 |
|
|
1721 |
|
fi |
1722 |
|
fi |
1723 |
|
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
1724 |
|
if test -n "$ac_ct_CC"; then |
1725 |
|
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
1726 |
|
echo "${ECHO_T}$ac_ct_CC" >&6 |
1727 |
|
else |
1728 |
|
echo "$as_me:$LINENO: result: no" >&5 |
1729 |
|
echo "${ECHO_T}no" >&6 |
1730 |
|
fi |
1731 |
|
|
1732 |
|
test -n "$ac_ct_CC" && break |
1733 |
|
done |
1734 |
|
|
1735 |
|
CC=$ac_ct_CC |
1736 |
|
fi |
1737 |
|
|
1738 |
|
fi |
1739 |
|
|
1740 |
|
|
1741 |
|
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH |
1742 |
|
See \`config.log' for more details." >&5 |
1743 |
|
echo "$as_me: error: no acceptable C compiler found in \$PATH |
1744 |
|
See \`config.log' for more details." >&2;} |
1745 |
|
{ (exit 1); exit 1; }; } |
1746 |
|
|
1747 |
|
# Provide some information about the compiler. |
1748 |
|
echo "$as_me:$LINENO:" \ |
1749 |
|
"checking for C compiler version" >&5 |
1750 |
|
ac_compiler=`set X $ac_compile; echo $2` |
1751 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 |
1752 |
|
(eval $ac_compiler --version </dev/null >&5) 2>&5 |
1753 |
|
ac_status=$? |
1754 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1755 |
|
(exit $ac_status); } |
1756 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 |
1757 |
|
(eval $ac_compiler -v </dev/null >&5) 2>&5 |
1758 |
|
ac_status=$? |
1759 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1760 |
|
(exit $ac_status); } |
1761 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 |
1762 |
|
(eval $ac_compiler -V </dev/null >&5) 2>&5 |
1763 |
|
ac_status=$? |
1764 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1765 |
|
(exit $ac_status); } |
1766 |
|
|
1767 |
|
cat >conftest.$ac_ext <<_ACEOF |
1768 |
|
/* confdefs.h. */ |
1769 |
|
_ACEOF |
1770 |
|
cat confdefs.h >>conftest.$ac_ext |
1771 |
|
cat >>conftest.$ac_ext <<_ACEOF |
1772 |
|
/* end confdefs.h. */ |
1773 |
|
|
1774 |
|
int |
1775 |
|
main () |
1776 |
|
{ |
1777 |
|
|
1778 |
|
; |
1779 |
|
return 0; |
1780 |
|
} |
1781 |
|
_ACEOF |
1782 |
|
ac_clean_files_save=$ac_clean_files |
1783 |
|
ac_clean_files="$ac_clean_files a.out a.exe b.out" |
1784 |
|
# Try to create an executable without -o first, disregard a.out. |
1785 |
|
# It will help us diagnose broken compilers, and finding out an intuition |
1786 |
|
# of exeext. |
1787 |
|
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 |
1788 |
|
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 |
1789 |
|
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
1790 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 |
1791 |
|
(eval $ac_link_default) 2>&5 |
1792 |
|
ac_status=$? |
1793 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1794 |
|
(exit $ac_status); }; then |
1795 |
|
# Find the output, starting from the most likely. This scheme is |
1796 |
|
# not robust to junk in `.', hence go to wildcards (a.*) only as a last |
1797 |
|
# resort. |
1798 |
|
|
1799 |
|
# Be careful to initialize this variable, since it used to be cached. |
1800 |
|
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. |
1801 |
|
ac_cv_exeext= |
1802 |
|
# b.out is created by i960 compilers. |
1803 |
|
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out |
1804 |
|
do |
1805 |
|
test -f "$ac_file" || continue |
1806 |
|
case $ac_file in |
1807 |
|
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) |
1808 |
|
;; |
1809 |
|
conftest.$ac_ext ) |
1810 |
|
# This is the source file. |
1811 |
|
;; |
1812 |
|
[ab].out ) |
1813 |
|
# We found the default executable, but exeext='' is most |
1814 |
|
# certainly right. |
1815 |
|
break;; |
1816 |
|
*.* ) |
1817 |
|
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
1818 |
|
# FIXME: I believe we export ac_cv_exeext for Libtool, |
1819 |
|
# but it would be cool to find out if it's true. Does anybody |
1820 |
|
# maintain Libtool? --akim. |
1821 |
|
export ac_cv_exeext |
1822 |
|
break;; |
1823 |
|
* ) |
1824 |
|
break;; |
1825 |
|
esac |
1826 |
|
done |
1827 |
|
else |
1828 |
|
echo "$as_me: failed program was:" >&5 |
1829 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
1830 |
|
|
1831 |
|
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables |
1832 |
|
See \`config.log' for more details." >&5 |
1833 |
|
echo "$as_me: error: C compiler cannot create executables |
1834 |
|
See \`config.log' for more details." >&2;} |
1835 |
|
{ (exit 77); exit 77; }; } |
1836 |
|
fi |
1837 |
|
|
1838 |
|
ac_exeext=$ac_cv_exeext |
1839 |
|
echo "$as_me:$LINENO: result: $ac_file" >&5 |
1840 |
|
echo "${ECHO_T}$ac_file" >&6 |
1841 |
|
|
1842 |
|
# Check the compiler produces executables we can run. If not, either |
1843 |
|
# the compiler is broken, or we cross compile. |
1844 |
|
echo "$as_me:$LINENO: checking whether the C compiler works" >&5 |
1845 |
|
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 |
1846 |
|
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 |
1847 |
|
# If not cross compiling, check that we can run a simple program. |
1848 |
|
if test "$cross_compiling" != yes; then |
1849 |
|
if { ac_try='./$ac_file' |
1850 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
1851 |
|
(eval $ac_try) 2>&5 |
1852 |
|
ac_status=$? |
1853 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1854 |
|
(exit $ac_status); }; }; then |
1855 |
|
cross_compiling=no |
1856 |
|
else |
1857 |
|
if test "$cross_compiling" = maybe; then |
1858 |
|
cross_compiling=yes |
1859 |
|
else |
1860 |
|
{ { echo "$as_me:$LINENO: error: cannot run C compiled programs. |
1861 |
|
If you meant to cross compile, use \`--host'. |
1862 |
|
See \`config.log' for more details." >&5 |
1863 |
|
echo "$as_me: error: cannot run C compiled programs. |
1864 |
|
If you meant to cross compile, use \`--host'. |
1865 |
|
See \`config.log' for more details." >&2;} |
1866 |
|
{ (exit 1); exit 1; }; } |
1867 |
|
fi |
1868 |
|
fi |
1869 |
|
fi |
1870 |
|
echo "$as_me:$LINENO: result: yes" >&5 |
1871 |
|
echo "${ECHO_T}yes" >&6 |
1872 |
|
|
1873 |
|
rm -f a.out a.exe conftest$ac_cv_exeext b.out |
1874 |
|
ac_clean_files=$ac_clean_files_save |
1875 |
|
# Check the compiler produces executables we can run. If not, either |
1876 |
|
# the compiler is broken, or we cross compile. |
1877 |
|
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 |
1878 |
|
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 |
1879 |
|
echo "$as_me:$LINENO: result: $cross_compiling" >&5 |
1880 |
|
echo "${ECHO_T}$cross_compiling" >&6 |
1881 |
|
|
1882 |
|
echo "$as_me:$LINENO: checking for suffix of executables" >&5 |
1883 |
|
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 |
1884 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
1885 |
|
(eval $ac_link) 2>&5 |
1886 |
|
ac_status=$? |
1887 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1888 |
|
(exit $ac_status); }; then |
1889 |
|
# If both `conftest.exe' and `conftest' are `present' (well, observable) |
1890 |
|
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
1891 |
|
# work properly (i.e., refer to `conftest.exe'), while it won't with |
1892 |
|
# `rm'. |
1893 |
|
for ac_file in conftest.exe conftest conftest.*; do |
1894 |
|
test -f "$ac_file" || continue |
1895 |
|
case $ac_file in |
1896 |
|
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; |
1897 |
|
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
1898 |
|
export ac_cv_exeext |
1899 |
|
break;; |
1900 |
|
* ) break;; |
1901 |
|
esac |
1902 |
|
done |
1903 |
|
else |
1904 |
|
{ { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link |
1905 |
|
See \`config.log' for more details." >&5 |
1906 |
|
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link |
1907 |
|
See \`config.log' for more details." >&2;} |
1908 |
|
{ (exit 1); exit 1; }; } |
1909 |
|
fi |
1910 |
|
|
1911 |
|
rm -f conftest$ac_cv_exeext |
1912 |
|
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 |
1913 |
|
echo "${ECHO_T}$ac_cv_exeext" >&6 |
1914 |
|
|
1915 |
|
rm -f conftest.$ac_ext |
1916 |
|
EXEEXT=$ac_cv_exeext |
1917 |
|
ac_exeext=$EXEEXT |
1918 |
|
echo "$as_me:$LINENO: checking for suffix of object files" >&5 |
1919 |
|
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 |
1920 |
|
if test "${ac_cv_objext+set}" = set; then |
1921 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1922 |
|
else |
1923 |
|
cat >conftest.$ac_ext <<_ACEOF |
1924 |
|
/* confdefs.h. */ |
1925 |
|
_ACEOF |
1926 |
|
cat confdefs.h >>conftest.$ac_ext |
1927 |
|
cat >>conftest.$ac_ext <<_ACEOF |
1928 |
|
/* end confdefs.h. */ |
1929 |
|
|
1930 |
|
int |
1931 |
|
main () |
1932 |
|
{ |
1933 |
|
|
1934 |
|
; |
1935 |
|
return 0; |
1936 |
|
} |
1937 |
|
_ACEOF |
1938 |
|
rm -f conftest.o conftest.obj |
1939 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
1940 |
|
(eval $ac_compile) 2>&5 |
1941 |
|
ac_status=$? |
1942 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1943 |
|
(exit $ac_status); }; then |
1944 |
|
for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do |
1945 |
|
case $ac_file in |
1946 |
|
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; |
1947 |
|
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
1948 |
|
break;; |
1949 |
|
esac |
1950 |
|
done |
1951 |
|
else |
1952 |
|
echo "$as_me: failed program was:" >&5 |
1953 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
1954 |
|
|
1955 |
|
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile |
1956 |
|
See \`config.log' for more details." >&5 |
1957 |
|
echo "$as_me: error: cannot compute suffix of object files: cannot compile |
1958 |
|
See \`config.log' for more details." >&2;} |
1959 |
|
{ (exit 1); exit 1; }; } |
1960 |
|
fi |
1961 |
|
|
1962 |
|
rm -f conftest.$ac_cv_objext conftest.$ac_ext |
1963 |
|
fi |
1964 |
|
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 |
1965 |
|
echo "${ECHO_T}$ac_cv_objext" >&6 |
1966 |
|
OBJEXT=$ac_cv_objext |
1967 |
|
ac_objext=$OBJEXT |
1968 |
|
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 |
1969 |
|
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 |
1970 |
|
if test "${ac_cv_c_compiler_gnu+set}" = set; then |
1971 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1972 |
|
else |
1973 |
|
cat >conftest.$ac_ext <<_ACEOF |
1974 |
|
/* confdefs.h. */ |
1975 |
|
_ACEOF |
1976 |
|
cat confdefs.h >>conftest.$ac_ext |
1977 |
|
cat >>conftest.$ac_ext <<_ACEOF |
1978 |
|
/* end confdefs.h. */ |
1979 |
|
|
1980 |
|
int |
1981 |
|
main () |
1982 |
|
{ |
1983 |
|
#ifndef __GNUC__ |
1984 |
|
choke me |
1985 |
|
#endif |
1986 |
|
|
1987 |
|
; |
1988 |
|
return 0; |
1989 |
|
} |
1990 |
|
_ACEOF |
1991 |
|
rm -f conftest.$ac_objext |
1992 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
1993 |
|
(eval $ac_compile) 2>conftest.er1 |
1994 |
|
ac_status=$? |
1995 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
1996 |
|
rm -f conftest.er1 |
1997 |
|
cat conftest.err >&5 |
1998 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1999 |
|
(exit $ac_status); } && |
2000 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
2001 |
|
|| test ! -s conftest.err' |
2002 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2003 |
|
(eval $ac_try) 2>&5 |
2004 |
|
ac_status=$? |
2005 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2006 |
|
(exit $ac_status); }; } && |
2007 |
|
{ ac_try='test -s conftest.$ac_objext' |
2008 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2009 |
|
(eval $ac_try) 2>&5 |
2010 |
|
ac_status=$? |
2011 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2012 |
|
(exit $ac_status); }; }; then |
2013 |
|
ac_compiler_gnu=yes |
2014 |
|
else |
2015 |
|
echo "$as_me: failed program was:" >&5 |
2016 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
2017 |
|
|
2018 |
|
ac_compiler_gnu=no |
2019 |
|
fi |
2020 |
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2021 |
|
ac_cv_c_compiler_gnu=$ac_compiler_gnu |
2022 |
|
|
2023 |
|
fi |
2024 |
|
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
2025 |
|
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 |
2026 |
|
GCC=`test $ac_compiler_gnu = yes && echo yes` |
2027 |
|
ac_test_CFLAGS=${CFLAGS+set} |
2028 |
|
ac_save_CFLAGS=$CFLAGS |
2029 |
|
CFLAGS="-g" |
2030 |
|
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 |
2031 |
|
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 |
2032 |
|
if test "${ac_cv_prog_cc_g+set}" = set; then |
2033 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2034 |
|
else |
2035 |
|
cat >conftest.$ac_ext <<_ACEOF |
2036 |
|
/* confdefs.h. */ |
2037 |
|
_ACEOF |
2038 |
|
cat confdefs.h >>conftest.$ac_ext |
2039 |
|
cat >>conftest.$ac_ext <<_ACEOF |
2040 |
|
/* end confdefs.h. */ |
2041 |
|
|
2042 |
|
int |
2043 |
|
main () |
2044 |
|
{ |
2045 |
|
|
2046 |
|
; |
2047 |
|
return 0; |
2048 |
|
} |
2049 |
|
_ACEOF |
2050 |
|
rm -f conftest.$ac_objext |
2051 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2052 |
|
(eval $ac_compile) 2>conftest.er1 |
2053 |
|
ac_status=$? |
2054 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
2055 |
|
rm -f conftest.er1 |
2056 |
|
cat conftest.err >&5 |
2057 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2058 |
|
(exit $ac_status); } && |
2059 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
2060 |
|
|| test ! -s conftest.err' |
2061 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2062 |
|
(eval $ac_try) 2>&5 |
2063 |
|
ac_status=$? |
2064 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2065 |
|
(exit $ac_status); }; } && |
2066 |
|
{ ac_try='test -s conftest.$ac_objext' |
2067 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2068 |
|
(eval $ac_try) 2>&5 |
2069 |
|
ac_status=$? |
2070 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2071 |
|
(exit $ac_status); }; }; then |
2072 |
|
ac_cv_prog_cc_g=yes |
2073 |
|
else |
2074 |
|
echo "$as_me: failed program was:" >&5 |
2075 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
2076 |
|
|
2077 |
|
ac_cv_prog_cc_g=no |
2078 |
|
fi |
2079 |
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2080 |
|
fi |
2081 |
|
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
2082 |
|
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 |
2083 |
|
if test "$ac_test_CFLAGS" = set; then |
2084 |
|
CFLAGS=$ac_save_CFLAGS |
2085 |
|
elif test $ac_cv_prog_cc_g = yes; then |
2086 |
|
if test "$GCC" = yes; then |
2087 |
|
CFLAGS="-g -O2" |
2088 |
|
else |
2089 |
|
CFLAGS="-g" |
2090 |
|
fi |
2091 |
|
else |
2092 |
|
if test "$GCC" = yes; then |
2093 |
|
CFLAGS="-O2" |
2094 |
|
else |
2095 |
|
CFLAGS= |
2096 |
|
fi |
2097 |
|
fi |
2098 |
|
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 |
2099 |
|
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 |
2100 |
|
if test "${ac_cv_prog_cc_stdc+set}" = set; then |
2101 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2102 |
|
else |
2103 |
|
ac_cv_prog_cc_stdc=no |
2104 |
|
ac_save_CC=$CC |
2105 |
|
cat >conftest.$ac_ext <<_ACEOF |
2106 |
|
/* confdefs.h. */ |
2107 |
|
_ACEOF |
2108 |
|
cat confdefs.h >>conftest.$ac_ext |
2109 |
|
cat >>conftest.$ac_ext <<_ACEOF |
2110 |
|
/* end confdefs.h. */ |
2111 |
|
#include <stdarg.h> |
2112 |
|
#include <stdio.h> |
2113 |
|
#include <sys/types.h> |
2114 |
|
#include <sys/stat.h> |
2115 |
|
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
2116 |
|
struct buf { int x; }; |
2117 |
|
FILE * (*rcsopen) (struct buf *, struct stat *, int); |
2118 |
|
static char *e (p, i) |
2119 |
|
char **p; |
2120 |
|
int i; |
2121 |
|
{ |
2122 |
|
return p[i]; |
2123 |
|
} |
2124 |
|
static char *f (char * (*g) (char **, int), char **p, ...) |
2125 |
|
{ |
2126 |
|
char *s; |
2127 |
|
va_list v; |
2128 |
|
va_start (v,p); |
2129 |
|
s = g (p, va_arg (v,int)); |
2130 |
|
va_end (v); |
2131 |
|
return s; |
2132 |
|
} |
2133 |
|
|
2134 |
|
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
2135 |
|
function prototypes and stuff, but not '\xHH' hex character constants. |
2136 |
|
These don't provoke an error unfortunately, instead are silently treated |
2137 |
|
as 'x'. The following induces an error, until -std1 is added to get |
2138 |
|
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
2139 |
|
array size at least. It's necessary to write '\x00'==0 to get something |
2140 |
|
that's true only with -std1. */ |
2141 |
|
int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
2142 |
|
|
2143 |
|
int test (int i, double x); |
2144 |
|
struct s1 {int (*f) (int a);}; |
2145 |
|
struct s2 {int (*f) (double a);}; |
2146 |
|
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
2147 |
|
int argc; |
2148 |
|
char **argv; |
2149 |
|
int |
2150 |
|
main () |
2151 |
|
{ |
2152 |
|
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
2153 |
|
; |
2154 |
|
return 0; |
2155 |
|
} |
2156 |
|
_ACEOF |
2157 |
|
# Don't try gcc -ansi; that turns off useful extensions and |
2158 |
|
# breaks some systems' header files. |
2159 |
|
# AIX -qlanglvl=ansi |
2160 |
|
# Ultrix and OSF/1 -std1 |
2161 |
|
# HP-UX 10.20 and later -Ae |
2162 |
|
# HP-UX older versions -Aa -D_HPUX_SOURCE |
2163 |
|
# SVR4 -Xc -D__EXTENSIONS__ |
2164 |
|
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
2165 |
|
do |
2166 |
|
CC="$ac_save_CC $ac_arg" |
2167 |
|
rm -f conftest.$ac_objext |
2168 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2169 |
|
(eval $ac_compile) 2>conftest.er1 |
2170 |
|
ac_status=$? |
2171 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
2172 |
|
rm -f conftest.er1 |
2173 |
|
cat conftest.err >&5 |
2174 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2175 |
|
(exit $ac_status); } && |
2176 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
2177 |
|
|| test ! -s conftest.err' |
2178 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2179 |
|
(eval $ac_try) 2>&5 |
2180 |
|
ac_status=$? |
2181 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2182 |
|
(exit $ac_status); }; } && |
2183 |
|
{ ac_try='test -s conftest.$ac_objext' |
2184 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2185 |
|
(eval $ac_try) 2>&5 |
2186 |
|
ac_status=$? |
2187 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2188 |
|
(exit $ac_status); }; }; then |
2189 |
|
ac_cv_prog_cc_stdc=$ac_arg |
2190 |
|
break |
2191 |
|
else |
2192 |
|
echo "$as_me: failed program was:" >&5 |
2193 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
2194 |
|
|
2195 |
|
fi |
2196 |
|
rm -f conftest.err conftest.$ac_objext |
2197 |
|
done |
2198 |
|
rm -f conftest.$ac_ext conftest.$ac_objext |
2199 |
|
CC=$ac_save_CC |
2200 |
|
|
2201 |
|
fi |
2202 |
|
|
2203 |
|
case "x$ac_cv_prog_cc_stdc" in |
2204 |
|
x|xno) |
2205 |
|
echo "$as_me:$LINENO: result: none needed" >&5 |
2206 |
|
echo "${ECHO_T}none needed" >&6 ;; |
2207 |
|
*) |
2208 |
|
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 |
2209 |
|
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 |
2210 |
|
CC="$CC $ac_cv_prog_cc_stdc" ;; |
2211 |
|
esac |
2212 |
|
|
2213 |
|
# Some people use a C++ compiler to compile C. Since we use `exit', |
2214 |
|
# in C++ we need to declare it. In case someone uses the same compiler |
2215 |
|
# for both compiling C and C++ we need to have the C++ compiler decide |
2216 |
|
# the declaration of exit, since it's the most demanding environment. |
2217 |
|
cat >conftest.$ac_ext <<_ACEOF |
2218 |
|
#ifndef __cplusplus |
2219 |
|
choke me |
2220 |
|
#endif |
2221 |
|
_ACEOF |
2222 |
|
rm -f conftest.$ac_objext |
2223 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2224 |
|
(eval $ac_compile) 2>conftest.er1 |
2225 |
|
ac_status=$? |
2226 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
2227 |
|
rm -f conftest.er1 |
2228 |
|
cat conftest.err >&5 |
2229 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2230 |
|
(exit $ac_status); } && |
2231 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
2232 |
|
|| test ! -s conftest.err' |
2233 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2234 |
|
(eval $ac_try) 2>&5 |
2235 |
|
ac_status=$? |
2236 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2237 |
|
(exit $ac_status); }; } && |
2238 |
|
{ ac_try='test -s conftest.$ac_objext' |
2239 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2240 |
|
(eval $ac_try) 2>&5 |
2241 |
|
ac_status=$? |
2242 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2243 |
|
(exit $ac_status); }; }; then |
2244 |
|
for ac_declaration in \ |
2245 |
|
'' \ |
2246 |
|
'extern "C" void std::exit (int) throw (); using std::exit;' \ |
2247 |
|
'extern "C" void std::exit (int); using std::exit;' \ |
2248 |
|
'extern "C" void exit (int) throw ();' \ |
2249 |
|
'extern "C" void exit (int);' \ |
2250 |
|
'void exit (int);' |
2251 |
|
do |
2252 |
|
cat >conftest.$ac_ext <<_ACEOF |
2253 |
|
/* confdefs.h. */ |
2254 |
|
_ACEOF |
2255 |
|
cat confdefs.h >>conftest.$ac_ext |
2256 |
|
cat >>conftest.$ac_ext <<_ACEOF |
2257 |
|
/* end confdefs.h. */ |
2258 |
|
$ac_declaration |
2259 |
|
#include <stdlib.h> |
2260 |
|
int |
2261 |
|
main () |
2262 |
|
{ |
2263 |
|
exit (42); |
2264 |
|
; |
2265 |
|
return 0; |
2266 |
|
} |
2267 |
|
_ACEOF |
2268 |
|
rm -f conftest.$ac_objext |
2269 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2270 |
|
(eval $ac_compile) 2>conftest.er1 |
2271 |
|
ac_status=$? |
2272 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
2273 |
|
rm -f conftest.er1 |
2274 |
|
cat conftest.err >&5 |
2275 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2276 |
|
(exit $ac_status); } && |
2277 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
2278 |
|
|| test ! -s conftest.err' |
2279 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2280 |
|
(eval $ac_try) 2>&5 |
2281 |
|
ac_status=$? |
2282 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2283 |
|
(exit $ac_status); }; } && |
2284 |
|
{ ac_try='test -s conftest.$ac_objext' |
2285 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2286 |
|
(eval $ac_try) 2>&5 |
2287 |
|
ac_status=$? |
2288 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2289 |
|
(exit $ac_status); }; }; then |
2290 |
|
: |
2291 |
|
else |
2292 |
|
echo "$as_me: failed program was:" >&5 |
2293 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
2294 |
|
|
2295 |
|
continue |
2296 |
fi |
fi |
2297 |
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2298 |
|
cat >conftest.$ac_ext <<_ACEOF |
2299 |
|
/* confdefs.h. */ |
2300 |
|
_ACEOF |
2301 |
|
cat confdefs.h >>conftest.$ac_ext |
2302 |
|
cat >>conftest.$ac_ext <<_ACEOF |
2303 |
|
/* end confdefs.h. */ |
2304 |
|
$ac_declaration |
2305 |
|
int |
2306 |
|
main () |
2307 |
|
{ |
2308 |
|
exit (42); |
2309 |
|
; |
2310 |
|
return 0; |
2311 |
|
} |
2312 |
|
_ACEOF |
2313 |
|
rm -f conftest.$ac_objext |
2314 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2315 |
|
(eval $ac_compile) 2>conftest.er1 |
2316 |
|
ac_status=$? |
2317 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
2318 |
|
rm -f conftest.er1 |
2319 |
|
cat conftest.err >&5 |
2320 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2321 |
|
(exit $ac_status); } && |
2322 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
2323 |
|
|| test ! -s conftest.err' |
2324 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2325 |
|
(eval $ac_try) 2>&5 |
2326 |
|
ac_status=$? |
2327 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2328 |
|
(exit $ac_status); }; } && |
2329 |
|
{ ac_try='test -s conftest.$ac_objext' |
2330 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2331 |
|
(eval $ac_try) 2>&5 |
2332 |
|
ac_status=$? |
2333 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2334 |
|
(exit $ac_status); }; }; then |
2335 |
|
break |
2336 |
|
else |
2337 |
|
echo "$as_me: failed program was:" >&5 |
2338 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
2339 |
|
|
2340 |
|
fi |
2341 |
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2342 |
|
done |
2343 |
rm -f conftest* |
rm -f conftest* |
2344 |
LIBS="$ac_save_LIBS" |
if test -n "$ac_declaration"; then |
2345 |
|
echo '#ifdef __cplusplus' >>confdefs.h |
2346 |
|
echo $ac_declaration >>confdefs.h |
2347 |
|
echo '#endif' >>confdefs.h |
2348 |
|
fi |
2349 |
|
|
2350 |
|
else |
2351 |
|
echo "$as_me: failed program was:" >&5 |
2352 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
2353 |
|
|
2354 |
fi |
fi |
2355 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2356 |
echo "$ac_t""yes" 1>&6 |
ac_ext=c |
2357 |
LIBS="$LIBS -lcposix" |
ac_cpp='$CPP $CPPFLAGS' |
2358 |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
2359 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
2360 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
2361 |
|
|
2362 |
|
|
2363 |
|
echo "$as_me:$LINENO: checking for library containing strerror" >&5 |
2364 |
|
echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6 |
2365 |
|
if test "${ac_cv_search_strerror+set}" = set; then |
2366 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2367 |
|
else |
2368 |
|
ac_func_search_save_LIBS=$LIBS |
2369 |
|
ac_cv_search_strerror=no |
2370 |
|
cat >conftest.$ac_ext <<_ACEOF |
2371 |
|
/* confdefs.h. */ |
2372 |
|
_ACEOF |
2373 |
|
cat confdefs.h >>conftest.$ac_ext |
2374 |
|
cat >>conftest.$ac_ext <<_ACEOF |
2375 |
|
/* end confdefs.h. */ |
2376 |
|
|
2377 |
|
/* Override any gcc2 internal prototype to avoid an error. */ |
2378 |
|
#ifdef __cplusplus |
2379 |
|
extern "C" |
2380 |
|
#endif |
2381 |
|
/* We use char because int might match the return type of a gcc2 |
2382 |
|
builtin and then its argument prototype would still apply. */ |
2383 |
|
char strerror (); |
2384 |
|
int |
2385 |
|
main () |
2386 |
|
{ |
2387 |
|
strerror (); |
2388 |
|
; |
2389 |
|
return 0; |
2390 |
|
} |
2391 |
|
_ACEOF |
2392 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
2393 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
2394 |
|
(eval $ac_link) 2>conftest.er1 |
2395 |
|
ac_status=$? |
2396 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
2397 |
|
rm -f conftest.er1 |
2398 |
|
cat conftest.err >&5 |
2399 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2400 |
|
(exit $ac_status); } && |
2401 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
2402 |
|
|| test ! -s conftest.err' |
2403 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2404 |
|
(eval $ac_try) 2>&5 |
2405 |
|
ac_status=$? |
2406 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2407 |
|
(exit $ac_status); }; } && |
2408 |
|
{ ac_try='test -s conftest$ac_exeext' |
2409 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2410 |
|
(eval $ac_try) 2>&5 |
2411 |
|
ac_status=$? |
2412 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2413 |
|
(exit $ac_status); }; }; then |
2414 |
|
ac_cv_search_strerror="none required" |
2415 |
|
else |
2416 |
|
echo "$as_me: failed program was:" >&5 |
2417 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
2418 |
|
|
2419 |
|
fi |
2420 |
|
rm -f conftest.err conftest.$ac_objext \ |
2421 |
|
conftest$ac_exeext conftest.$ac_ext |
2422 |
|
if test "$ac_cv_search_strerror" = no; then |
2423 |
|
for ac_lib in cposix; do |
2424 |
|
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
2425 |
|
cat >conftest.$ac_ext <<_ACEOF |
2426 |
|
/* confdefs.h. */ |
2427 |
|
_ACEOF |
2428 |
|
cat confdefs.h >>conftest.$ac_ext |
2429 |
|
cat >>conftest.$ac_ext <<_ACEOF |
2430 |
|
/* end confdefs.h. */ |
2431 |
|
|
2432 |
|
/* Override any gcc2 internal prototype to avoid an error. */ |
2433 |
|
#ifdef __cplusplus |
2434 |
|
extern "C" |
2435 |
|
#endif |
2436 |
|
/* We use char because int might match the return type of a gcc2 |
2437 |
|
builtin and then its argument prototype would still apply. */ |
2438 |
|
char strerror (); |
2439 |
|
int |
2440 |
|
main () |
2441 |
|
{ |
2442 |
|
strerror (); |
2443 |
|
; |
2444 |
|
return 0; |
2445 |
|
} |
2446 |
|
_ACEOF |
2447 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
2448 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
2449 |
|
(eval $ac_link) 2>conftest.er1 |
2450 |
|
ac_status=$? |
2451 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
2452 |
|
rm -f conftest.er1 |
2453 |
|
cat conftest.err >&5 |
2454 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2455 |
|
(exit $ac_status); } && |
2456 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
2457 |
|
|| test ! -s conftest.err' |
2458 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2459 |
|
(eval $ac_try) 2>&5 |
2460 |
|
ac_status=$? |
2461 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2462 |
|
(exit $ac_status); }; } && |
2463 |
|
{ ac_try='test -s conftest$ac_exeext' |
2464 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2465 |
|
(eval $ac_try) 2>&5 |
2466 |
|
ac_status=$? |
2467 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2468 |
|
(exit $ac_status); }; }; then |
2469 |
|
ac_cv_search_strerror="-l$ac_lib" |
2470 |
|
break |
2471 |
else |
else |
2472 |
echo "$ac_t""no" 1>&6 |
echo "$as_me: failed program was:" >&5 |
2473 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
2474 |
|
|
2475 |
|
fi |
2476 |
|
rm -f conftest.err conftest.$ac_objext \ |
2477 |
|
conftest$ac_exeext conftest.$ac_ext |
2478 |
|
done |
2479 |
|
fi |
2480 |
|
LIBS=$ac_func_search_save_LIBS |
2481 |
fi |
fi |
2482 |
|
echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5 |
2483 |
|
echo "${ECHO_T}$ac_cv_search_strerror" >&6 |
2484 |
|
if test "$ac_cv_search_strerror" != no; then |
2485 |
|
test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS" |
2486 |
|
|
2487 |
|
fi |
2488 |
|
|
2489 |
|
|
2490 |
am__api_version="1.4" |
am__api_version="1.9" |
2491 |
# Find a good install program. We prefer a C program (faster), |
# Find a good install program. We prefer a C program (faster), |
2492 |
# so one script is as good as another. But avoid the broken or |
# so one script is as good as another. But avoid the broken or |
2493 |
# incompatible versions: |
# incompatible versions: |
2495 |
# SunOS /usr/etc/install |
# SunOS /usr/etc/install |
2496 |
# IRIX /sbin/install |
# IRIX /sbin/install |
2497 |
# AIX /bin/install |
# AIX /bin/install |
2498 |
|
# AmigaOS /C/install, which installs bootblocks on floppy discs |
2499 |
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
2500 |
# AFS /usr/afsws/bin/install, which mishandles nonexistent args |
# AFS /usr/afsws/bin/install, which mishandles nonexistent args |
2501 |
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
2502 |
|
# OS/2's system install, which has a completely different semantic |
2503 |
# ./install, which can be erroneously created by make from ./install.sh. |
# ./install, which can be erroneously created by make from ./install.sh. |
2504 |
echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
2505 |
echo "configure:784: checking for a BSD compatible install" >&5 |
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 |
2506 |
if test -z "$INSTALL"; then |
if test -z "$INSTALL"; then |
2507 |
if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then |
if test "${ac_cv_path_install+set}" = set; then |
2508 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2509 |
else |
else |
2510 |
IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2511 |
for ac_dir in $PATH; do |
for as_dir in $PATH |
2512 |
# Account for people who put trailing slashes in PATH elements. |
do |
2513 |
case "$ac_dir/" in |
IFS=$as_save_IFS |
2514 |
/|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;; |
test -z "$as_dir" && as_dir=. |
2515 |
*) |
# Account for people who put trailing slashes in PATH elements. |
2516 |
# OSF1 and SCO ODT 3.0 have their own names for install. |
case $as_dir/ in |
2517 |
# Don't use installbsd from OSF since it installs stuff as root |
./ | .// | /cC/* | \ |
2518 |
# by default. |
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
2519 |
for ac_prog in ginstall scoinst install; do |
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ |
2520 |
if test -f $ac_dir/$ac_prog; then |
/usr/ucb/* ) ;; |
2521 |
|
*) |
2522 |
|
# OSF1 and SCO ODT 3.0 have their own names for install. |
2523 |
|
# Don't use installbsd from OSF since it installs stuff as root |
2524 |
|
# by default. |
2525 |
|
for ac_prog in ginstall scoinst install; do |
2526 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
2527 |
|
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
2528 |
if test $ac_prog = install && |
if test $ac_prog = install && |
2529 |
grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then |
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
2530 |
# AIX install. It has an incompatible calling convention. |
# AIX install. It has an incompatible calling convention. |
2531 |
: |
: |
2532 |
|
elif test $ac_prog = install && |
2533 |
|
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
2534 |
|
# program-specific install script used by HP pwplus--don't use. |
2535 |
|
: |
2536 |
else |
else |
2537 |
ac_cv_path_install="$ac_dir/$ac_prog -c" |
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
2538 |
break 2 |
break 3 |
2539 |
fi |
fi |
2540 |
fi |
fi |
2541 |
done |
done |
2542 |
;; |
done |
2543 |
esac |
;; |
2544 |
done |
esac |
2545 |
IFS="$ac_save_IFS" |
done |
2546 |
|
|
2547 |
|
|
2548 |
fi |
fi |
2549 |
if test "${ac_cv_path_install+set}" = set; then |
if test "${ac_cv_path_install+set}" = set; then |
2550 |
INSTALL="$ac_cv_path_install" |
INSTALL=$ac_cv_path_install |
2551 |
else |
else |
2552 |
# As a last resort, use the slow shell script. We don't cache a |
# As a last resort, use the slow shell script. We don't cache a |
2553 |
# path for INSTALL within a source directory, because that will |
# path for INSTALL within a source directory, because that will |
2554 |
# break other packages using the cache if that directory is |
# break other packages using the cache if that directory is |
2555 |
# removed, or if the path is relative. |
# removed, or if the path is relative. |
2556 |
INSTALL="$ac_install_sh" |
INSTALL=$ac_install_sh |
2557 |
fi |
fi |
2558 |
fi |
fi |
2559 |
echo "$ac_t""$INSTALL" 1>&6 |
echo "$as_me:$LINENO: result: $INSTALL" >&5 |
2560 |
|
echo "${ECHO_T}$INSTALL" >&6 |
2561 |
|
|
2562 |
# Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
# Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
2563 |
# It thinks the first close brace ends the variable substitution. |
# It thinks the first close brace ends the variable substitution. |
2564 |
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
2565 |
|
|
2566 |
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}' |
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
2567 |
|
|
2568 |
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
2569 |
|
|
2570 |
echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking whether build environment is sane" >&5 |
2571 |
echo "configure:837: checking whether build environment is sane" >&5 |
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6 |
2572 |
# Just in case |
# Just in case |
2573 |
sleep 1 |
sleep 1 |
2574 |
echo timestamp > conftestfile |
echo timestamp > conftest.file |
2575 |
# Do `set' in a subshell so we don't clobber the current shell's |
# Do `set' in a subshell so we don't clobber the current shell's |
2576 |
# arguments. Must try -L first in case configure is actually a |
# arguments. Must try -L first in case configure is actually a |
2577 |
# symlink; some systems play weird games with the mod time of symlinks |
# symlink; some systems play weird games with the mod time of symlinks |
2578 |
# (eg FreeBSD returns the mod time of the symlink's containing |
# (eg FreeBSD returns the mod time of the symlink's containing |
2579 |
# directory). |
# directory). |
2580 |
if ( |
if ( |
2581 |
set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null` |
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` |
2582 |
if test "$*" = "X"; then |
if test "$*" = "X"; then |
2583 |
# -L didn't work. |
# -L didn't work. |
2584 |
set X `ls -t $srcdir/configure conftestfile` |
set X `ls -t $srcdir/configure conftest.file` |
2585 |
fi |
fi |
2586 |
if test "$*" != "X $srcdir/configure conftestfile" \ |
rm -f conftest.file |
2587 |
&& test "$*" != "X conftestfile $srcdir/configure"; then |
if test "$*" != "X $srcdir/configure conftest.file" \ |
2588 |
|
&& test "$*" != "X conftest.file $srcdir/configure"; then |
2589 |
|
|
2590 |
# If neither matched, then we have a broken ls. This can happen |
# If neither matched, then we have a broken ls. This can happen |
2591 |
# if, for instance, CONFIG_SHELL is bash and it inherits a |
# if, for instance, CONFIG_SHELL is bash and it inherits a |
2592 |
# broken ls alias from the environment. This has actually |
# broken ls alias from the environment. This has actually |
2593 |
# happened. Such a system could not be considered "sane". |
# happened. Such a system could not be considered "sane". |
2594 |
{ echo "configure: error: ls -t appears to fail. Make sure there is not a broken |
{ { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken |
2595 |
alias in your environment" 1>&2; exit 1; } |
alias in your environment" >&5 |
2596 |
|
echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken |
2597 |
|
alias in your environment" >&2;} |
2598 |
|
{ (exit 1); exit 1; }; } |
2599 |
fi |
fi |
2600 |
|
|
2601 |
test "$2" = conftestfile |
test "$2" = conftest.file |
2602 |
) |
) |
2603 |
then |
then |
2604 |
# Ok. |
# Ok. |
2605 |
: |
: |
2606 |
else |
else |
2607 |
{ echo "configure: error: newly created file is older than distributed files! |
{ { echo "$as_me:$LINENO: error: newly created file is older than distributed files! |
2608 |
Check your system clock" 1>&2; exit 1; } |
Check your system clock" >&5 |
2609 |
fi |
echo "$as_me: error: newly created file is older than distributed files! |
2610 |
rm -f conftest* |
Check your system clock" >&2;} |
2611 |
echo "$ac_t""yes" 1>&6 |
{ (exit 1); exit 1; }; } |
|
if test "$program_transform_name" = s,x,x,; then |
|
|
program_transform_name= |
|
|
else |
|
|
# Double any \ or $. echo might interpret backslashes. |
|
|
cat <<\EOF_SED > conftestsed |
|
|
s,\\,\\\\,g; s,\$,$$,g |
|
|
EOF_SED |
|
|
program_transform_name="`echo $program_transform_name|sed -f conftestsed`" |
|
|
rm -f conftestsed |
|
2612 |
fi |
fi |
2613 |
|
echo "$as_me:$LINENO: result: yes" >&5 |
2614 |
|
echo "${ECHO_T}yes" >&6 |
2615 |
test "$program_prefix" != NONE && |
test "$program_prefix" != NONE && |
2616 |
program_transform_name="s,^,${program_prefix},; $program_transform_name" |
program_transform_name="s,^,$program_prefix,;$program_transform_name" |
2617 |
# Use a double $ so make ignores it. |
# Use a double $ so make ignores it. |
2618 |
test "$program_suffix" != NONE && |
test "$program_suffix" != NONE && |
2619 |
program_transform_name="s,\$\$,${program_suffix},; $program_transform_name" |
program_transform_name="s,\$,$program_suffix,;$program_transform_name" |
2620 |
|
# Double any \ or $. echo might interpret backslashes. |
2621 |
|
# By default was `s,x,x', remove it if useless. |
2622 |
|
cat <<\_ACEOF >conftest.sed |
2623 |
|
s/[\\$]/&&/g;s/;s,x,x,$// |
2624 |
|
_ACEOF |
2625 |
|
program_transform_name=`echo $program_transform_name | sed -f conftest.sed` |
2626 |
|
rm conftest.sed |
2627 |
|
|
2628 |
|
# expand $ac_aux_dir to an absolute path |
2629 |
|
am_aux_dir=`cd $ac_aux_dir && pwd` |
2630 |
|
|
2631 |
|
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" |
2632 |
|
# Use eval to expand $SHELL |
2633 |
|
if eval "$MISSING --run true"; then |
2634 |
|
am_missing_run="$MISSING --run " |
2635 |
|
else |
2636 |
|
am_missing_run= |
2637 |
|
{ echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 |
2638 |
|
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} |
2639 |
|
fi |
2640 |
|
|
2641 |
|
if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then |
2642 |
|
# We used to keeping the `.' as first argument, in order to |
2643 |
|
# allow $(mkdir_p) to be used without argument. As in |
2644 |
|
# $(mkdir_p) $(somedir) |
2645 |
|
# where $(somedir) is conditionally defined. However this is wrong |
2646 |
|
# for two reasons: |
2647 |
|
# 1. if the package is installed by a user who cannot write `.' |
2648 |
|
# make install will fail, |
2649 |
|
# 2. the above comment should most certainly read |
2650 |
|
# $(mkdir_p) $(DESTDIR)$(somedir) |
2651 |
|
# so it does not work when $(somedir) is undefined and |
2652 |
|
# $(DESTDIR) is not. |
2653 |
|
# To support the latter case, we have to write |
2654 |
|
# test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir), |
2655 |
|
# so the `.' trick is pointless. |
2656 |
|
mkdir_p='mkdir -p --' |
2657 |
|
else |
2658 |
|
# On NextStep and OpenStep, the `mkdir' command does not |
2659 |
|
# recognize any option. It will interpret all options as |
2660 |
|
# directories to create, and then abort because `.' already |
2661 |
|
# exists. |
2662 |
|
for d in ./-p ./--version; |
2663 |
|
do |
2664 |
|
test -d $d && rmdir $d |
2665 |
|
done |
2666 |
|
# $(mkinstalldirs) is defined by Automake if mkinstalldirs exists. |
2667 |
|
if test -f "$ac_aux_dir/mkinstalldirs"; then |
2668 |
|
mkdir_p='$(mkinstalldirs)' |
2669 |
|
else |
2670 |
|
mkdir_p='$(install_sh) -d' |
2671 |
|
fi |
2672 |
|
fi |
2673 |
|
|
2674 |
|
for ac_prog in gawk mawk nawk awk |
2675 |
|
do |
2676 |
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
2677 |
|
set dummy $ac_prog; ac_word=$2 |
2678 |
|
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2679 |
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
2680 |
|
if test "${ac_cv_prog_AWK+set}" = set; then |
2681 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2682 |
|
else |
2683 |
|
if test -n "$AWK"; then |
2684 |
|
ac_cv_prog_AWK="$AWK" # Let the user override the test. |
2685 |
|
else |
2686 |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2687 |
|
for as_dir in $PATH |
2688 |
|
do |
2689 |
|
IFS=$as_save_IFS |
2690 |
|
test -z "$as_dir" && as_dir=. |
2691 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
2692 |
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2693 |
|
ac_cv_prog_AWK="$ac_prog" |
2694 |
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2695 |
|
break 2 |
2696 |
|
fi |
2697 |
|
done |
2698 |
|
done |
2699 |
|
|
2700 |
|
fi |
2701 |
|
fi |
2702 |
|
AWK=$ac_cv_prog_AWK |
2703 |
|
if test -n "$AWK"; then |
2704 |
|
echo "$as_me:$LINENO: result: $AWK" >&5 |
2705 |
|
echo "${ECHO_T}$AWK" >&6 |
2706 |
|
else |
2707 |
|
echo "$as_me:$LINENO: result: no" >&5 |
2708 |
|
echo "${ECHO_T}no" >&6 |
2709 |
|
fi |
2710 |
|
|
2711 |
# sed with no file args requires a program. |
test -n "$AWK" && break |
2712 |
test "$program_transform_name" = "" && program_transform_name="s,x,x," |
done |
2713 |
|
|
2714 |
echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
2715 |
echo "configure:894: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 |
2716 |
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` |
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` |
2717 |
if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then |
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then |
2718 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2719 |
else |
else |
2720 |
cat > conftestmake <<\EOF |
cat >conftest.make <<\_ACEOF |
2721 |
all: |
all: |
2722 |
@echo 'ac_maketemp="${MAKE}"' |
@echo 'ac_maketemp="$(MAKE)"' |
2723 |
EOF |
_ACEOF |
2724 |
# GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
# GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
2725 |
eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=` |
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` |
2726 |
if test -n "$ac_maketemp"; then |
if test -n "$ac_maketemp"; then |
2727 |
eval ac_cv_prog_make_${ac_make}_set=yes |
eval ac_cv_prog_make_${ac_make}_set=yes |
2728 |
else |
else |
2729 |
eval ac_cv_prog_make_${ac_make}_set=no |
eval ac_cv_prog_make_${ac_make}_set=no |
2730 |
fi |
fi |
2731 |
rm -f conftestmake |
rm -f conftest.make |
2732 |
fi |
fi |
2733 |
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then |
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then |
2734 |
echo "$ac_t""yes" 1>&6 |
echo "$as_me:$LINENO: result: yes" >&5 |
2735 |
|
echo "${ECHO_T}yes" >&6 |
2736 |
SET_MAKE= |
SET_MAKE= |
2737 |
else |
else |
2738 |
echo "$ac_t""no" 1>&6 |
echo "$as_me:$LINENO: result: no" >&5 |
2739 |
|
echo "${ECHO_T}no" >&6 |
2740 |
SET_MAKE="MAKE=${MAKE-make}" |
SET_MAKE="MAKE=${MAKE-make}" |
2741 |
fi |
fi |
2742 |
|
|
2743 |
|
rm -rf .tst 2>/dev/null |
2744 |
|
mkdir .tst 2>/dev/null |
2745 |
|
if test -d .tst; then |
2746 |
|
am__leading_dot=. |
2747 |
|
else |
2748 |
|
am__leading_dot=_ |
2749 |
|
fi |
2750 |
|
rmdir .tst 2>/dev/null |
2751 |
|
|
2752 |
|
DEPDIR="${am__leading_dot}deps" |
2753 |
|
|
2754 |
|
ac_config_commands="$ac_config_commands depfiles" |
2755 |
|
|
2756 |
|
|
2757 |
|
am_make=${MAKE-make} |
2758 |
|
cat > confinc << 'END' |
2759 |
|
am__doit: |
2760 |
|
@echo done |
2761 |
|
.PHONY: am__doit |
2762 |
|
END |
2763 |
|
# If we don't find an include directive, just comment out the code. |
2764 |
|
echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 |
2765 |
|
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6 |
2766 |
|
am__include="#" |
2767 |
|
am__quote= |
2768 |
|
_am_result=none |
2769 |
|
# First try GNU make style include. |
2770 |
|
echo "include confinc" > confmf |
2771 |
|
# We grep out `Entering directory' and `Leaving directory' |
2772 |
|
# messages which can occur if `w' ends up in MAKEFLAGS. |
2773 |
|
# In particular we don't look at `^make:' because GNU make might |
2774 |
|
# be invoked under some other name (usually "gmake"), in which |
2775 |
|
# case it prints its new name instead of `make'. |
2776 |
|
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then |
2777 |
|
am__include=include |
2778 |
|
am__quote= |
2779 |
|
_am_result=GNU |
2780 |
|
fi |
2781 |
|
# Now try BSD make style include. |
2782 |
|
if test "$am__include" = "#"; then |
2783 |
|
echo '.include "confinc"' > confmf |
2784 |
|
if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then |
2785 |
|
am__include=.include |
2786 |
|
am__quote="\"" |
2787 |
|
_am_result=BSD |
2788 |
|
fi |
2789 |
|
fi |
2790 |
|
|
2791 |
|
|
2792 |
|
echo "$as_me:$LINENO: result: $_am_result" >&5 |
2793 |
|
echo "${ECHO_T}$_am_result" >&6 |
2794 |
|
rm -f confinc confmf |
2795 |
|
|
2796 |
|
# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given. |
2797 |
|
if test "${enable_dependency_tracking+set}" = set; then |
2798 |
|
enableval="$enable_dependency_tracking" |
2799 |
|
|
2800 |
|
fi; |
2801 |
|
if test "x$enable_dependency_tracking" != xno; then |
2802 |
|
am_depcomp="$ac_aux_dir/depcomp" |
2803 |
|
AMDEPBACKSLASH='\' |
2804 |
|
fi |
2805 |
|
|
2806 |
|
|
2807 |
|
if test "x$enable_dependency_tracking" != xno; then |
2808 |
|
AMDEP_TRUE= |
2809 |
|
AMDEP_FALSE='#' |
2810 |
|
else |
2811 |
|
AMDEP_TRUE='#' |
2812 |
|
AMDEP_FALSE= |
2813 |
|
fi |
2814 |
|
|
2815 |
|
|
|
PACKAGE=bfd |
|
2816 |
|
|
2817 |
VERSION=2.12.90.0.15 |
# test to see if srcdir already configured |
2818 |
|
if test "`cd $srcdir && pwd`" != "`pwd`" && |
2819 |
|
test -f $srcdir/config.status; then |
2820 |
|
{ { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 |
2821 |
|
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} |
2822 |
|
{ (exit 1); exit 1; }; } |
2823 |
|
fi |
2824 |
|
|
2825 |
if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then |
# test whether we have cygpath |
2826 |
{ echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; } |
if test -z "$CYGPATH_W"; then |
2827 |
|
if (cygpath --version) >/dev/null 2>/dev/null; then |
2828 |
|
CYGPATH_W='cygpath -w' |
2829 |
|
else |
2830 |
|
CYGPATH_W=echo |
2831 |
|
fi |
2832 |
fi |
fi |
2833 |
cat >> confdefs.h <<EOF |
|
2834 |
|
|
2835 |
|
# Define the identity of the package. |
2836 |
|
PACKAGE=bfd |
2837 |
|
VERSION=2.16.1 |
2838 |
|
|
2839 |
|
|
2840 |
|
cat >>confdefs.h <<_ACEOF |
2841 |
#define PACKAGE "$PACKAGE" |
#define PACKAGE "$PACKAGE" |
2842 |
EOF |
_ACEOF |
2843 |
|
|
2844 |
cat >> confdefs.h <<EOF |
|
2845 |
|
cat >>confdefs.h <<_ACEOF |
2846 |
#define VERSION "$VERSION" |
#define VERSION "$VERSION" |
2847 |
EOF |
_ACEOF |
2848 |
|
|
2849 |
|
# Some tools Automake needs. |
2850 |
|
|
2851 |
|
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} |
2852 |
|
|
2853 |
|
|
2854 |
missing_dir=`cd $ac_aux_dir && pwd` |
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} |
2855 |
echo $ac_n "checking for working aclocal-${am__api_version}""... $ac_c" 1>&6 |
|
2856 |
echo "configure:940: checking for working aclocal-${am__api_version}" >&5 |
|
2857 |
# Run test in a subshell; some versions of sh will print an error if |
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} |
2858 |
# an executable is not found, even if stderr is redirected. |
|
2859 |
# Redirect stdin to placate older versions of autoconf. Sigh. |
|
2860 |
if (aclocal-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then |
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} |
2861 |
ACLOCAL=aclocal-${am__api_version} |
|
2862 |
echo "$ac_t""found" 1>&6 |
|
2863 |
|
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} |
2864 |
|
|
2865 |
|
install_sh=${install_sh-"$am_aux_dir/install-sh"} |
2866 |
|
|
2867 |
|
# Installed binaries are usually stripped using `strip' when the user |
2868 |
|
# run `make install-strip'. However `strip' might not be the right |
2869 |
|
# tool to use in cross-compilation environments, therefore Automake |
2870 |
|
# will honor the `STRIP' environment variable to overrule this program. |
2871 |
|
if test "$cross_compiling" != no; then |
2872 |
|
if test -n "$ac_tool_prefix"; then |
2873 |
|
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
2874 |
|
set dummy ${ac_tool_prefix}strip; ac_word=$2 |
2875 |
|
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2876 |
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
2877 |
|
if test "${ac_cv_prog_STRIP+set}" = set; then |
2878 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2879 |
else |
else |
2880 |
ACLOCAL="$missing_dir/missing aclocal-${am__api_version}" |
if test -n "$STRIP"; then |
2881 |
echo "$ac_t""missing" 1>&6 |
ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
2882 |
fi |
else |
2883 |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2884 |
|
for as_dir in $PATH |
2885 |
|
do |
2886 |
|
IFS=$as_save_IFS |
2887 |
|
test -z "$as_dir" && as_dir=. |
2888 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
2889 |
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2890 |
|
ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
2891 |
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2892 |
|
break 2 |
2893 |
|
fi |
2894 |
|
done |
2895 |
|
done |
2896 |
|
|
2897 |
echo $ac_n "checking for working autoconf""... $ac_c" 1>&6 |
fi |
2898 |
echo "configure:953: checking for working autoconf" >&5 |
fi |
2899 |
# Run test in a subshell; some versions of sh will print an error if |
STRIP=$ac_cv_prog_STRIP |
2900 |
# an executable is not found, even if stderr is redirected. |
if test -n "$STRIP"; then |
2901 |
# Redirect stdin to placate older versions of autoconf. Sigh. |
echo "$as_me:$LINENO: result: $STRIP" >&5 |
2902 |
if (autoconf --version) < /dev/null > /dev/null 2>&1; then |
echo "${ECHO_T}$STRIP" >&6 |
|
AUTOCONF=autoconf |
|
|
echo "$ac_t""found" 1>&6 |
|
2903 |
else |
else |
2904 |
AUTOCONF="$missing_dir/missing autoconf" |
echo "$as_me:$LINENO: result: no" >&5 |
2905 |
echo "$ac_t""missing" 1>&6 |
echo "${ECHO_T}no" >&6 |
2906 |
fi |
fi |
2907 |
|
|
|
echo $ac_n "checking for working automake-${am__api_version}""... $ac_c" 1>&6 |
|
|
echo "configure:966: checking for working automake-${am__api_version}" >&5 |
|
|
# Run test in a subshell; some versions of sh will print an error if |
|
|
# an executable is not found, even if stderr is redirected. |
|
|
# Redirect stdin to placate older versions of autoconf. Sigh. |
|
|
if (automake-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then |
|
|
AUTOMAKE=automake-${am__api_version} |
|
|
echo "$ac_t""found" 1>&6 |
|
|
else |
|
|
AUTOMAKE="$missing_dir/missing automake-${am__api_version}" |
|
|
echo "$ac_t""missing" 1>&6 |
|
2908 |
fi |
fi |
2909 |
|
if test -z "$ac_cv_prog_STRIP"; then |
2910 |
|
ac_ct_STRIP=$STRIP |
2911 |
|
# Extract the first word of "strip", so it can be a program name with args. |
2912 |
|
set dummy strip; ac_word=$2 |
2913 |
|
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2914 |
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
2915 |
|
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then |
2916 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2917 |
|
else |
2918 |
|
if test -n "$ac_ct_STRIP"; then |
2919 |
|
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. |
2920 |
|
else |
2921 |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2922 |
|
for as_dir in $PATH |
2923 |
|
do |
2924 |
|
IFS=$as_save_IFS |
2925 |
|
test -z "$as_dir" && as_dir=. |
2926 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
2927 |
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2928 |
|
ac_cv_prog_ac_ct_STRIP="strip" |
2929 |
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2930 |
|
break 2 |
2931 |
|
fi |
2932 |
|
done |
2933 |
|
done |
2934 |
|
|
2935 |
echo $ac_n "checking for working autoheader""... $ac_c" 1>&6 |
test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":" |
2936 |
echo "configure:979: checking for working autoheader" >&5 |
fi |
2937 |
# Run test in a subshell; some versions of sh will print an error if |
fi |
2938 |
# an executable is not found, even if stderr is redirected. |
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP |
2939 |
# Redirect stdin to placate older versions of autoconf. Sigh. |
if test -n "$ac_ct_STRIP"; then |
2940 |
if (autoheader --version) < /dev/null > /dev/null 2>&1; then |
echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 |
2941 |
AUTOHEADER=autoheader |
echo "${ECHO_T}$ac_ct_STRIP" >&6 |
|
echo "$ac_t""found" 1>&6 |
|
2942 |
else |
else |
2943 |
AUTOHEADER="$missing_dir/missing autoheader" |
echo "$as_me:$LINENO: result: no" >&5 |
2944 |
echo "$ac_t""missing" 1>&6 |
echo "${ECHO_T}no" >&6 |
2945 |
fi |
fi |
2946 |
|
|
2947 |
echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6 |
STRIP=$ac_ct_STRIP |
|
echo "configure:992: checking for working makeinfo" >&5 |
|
|
# Run test in a subshell; some versions of sh will print an error if |
|
|
# an executable is not found, even if stderr is redirected. |
|
|
# Redirect stdin to placate older versions of autoconf. Sigh. |
|
|
if (makeinfo --version) < /dev/null > /dev/null 2>&1; then |
|
|
MAKEINFO=makeinfo |
|
|
echo "$ac_t""found" 1>&6 |
|
2948 |
else |
else |
2949 |
MAKEINFO="$missing_dir/missing makeinfo" |
STRIP="$ac_cv_prog_STRIP" |
2950 |
echo "$ac_t""missing" 1>&6 |
fi |
2951 |
|
|
2952 |
fi |
fi |
2953 |
|
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" |
2954 |
|
|
2955 |
|
# We need awk for the "check" target. The system "awk" is bad on |
2956 |
|
# some platforms. |
2957 |
|
# Always define AMTAR for backward compatibility. |
2958 |
|
|
2959 |
|
AMTAR=${AMTAR-"${am_missing_run}tar"} |
2960 |
|
|
2961 |
|
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' |
2962 |
|
|
2963 |
|
|
2964 |
|
|
2965 |
|
|
2966 |
# Uncomment the next line to remove the date from the reported bfd version |
depcc="$CC" am_compiler_list= |
|
#is_release=y |
|
2967 |
|
|
2968 |
bfd_version=`echo "${VERSION}" | sed -e 's/\([^\.]*\)\.*\([^\.]*\)\.*\([^\.]*\)\.*\([^\.]*\)\.*\([^\.]*\).*/\1.00\2.00\3.00\4.00\5/' -e 's/\([^\.]*\)\..*\(..\)\..*\(..\)\..*\(..\)\..*\(..\)$/\1\2\3\4\5/'` |
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 |
2969 |
|
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 |
2970 |
|
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then |
2971 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2972 |
|
else |
2973 |
|
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
2974 |
|
# We make a subdir and do the tests there. Otherwise we can end up |
2975 |
|
# making bogus files that we don't know about and never remove. For |
2976 |
|
# instance it was reported that on HP-UX the gcc test will end up |
2977 |
|
# making a dummy file named `D' -- because `-MD' means `put the output |
2978 |
|
# in D'. |
2979 |
|
mkdir conftest.dir |
2980 |
|
# Copy depcomp to subdir because otherwise we won't find it if we're |
2981 |
|
# using a relative directory. |
2982 |
|
cp "$am_depcomp" conftest.dir |
2983 |
|
cd conftest.dir |
2984 |
|
# We will build objects and dependencies in a subdirectory because |
2985 |
|
# it helps to detect inapplicable dependency modes. For instance |
2986 |
|
# both Tru64's cc and ICC support -MD to output dependencies as a |
2987 |
|
# side effect of compilation, but ICC will put the dependencies in |
2988 |
|
# the current directory while Tru64 will put them in the object |
2989 |
|
# directory. |
2990 |
|
mkdir sub |
2991 |
|
|
2992 |
|
am_cv_CC_dependencies_compiler_type=none |
2993 |
|
if test "$am_compiler_list" = ""; then |
2994 |
|
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
2995 |
|
fi |
2996 |
|
for depmode in $am_compiler_list; do |
2997 |
|
# Setup a source with many dependencies, because some compilers |
2998 |
|
# like to wrap large dependency lists on column 80 (with \), and |
2999 |
|
# we should not choose a depcomp mode which is confused by this. |
3000 |
|
# |
3001 |
|
# We need to recreate these files for each test, as the compiler may |
3002 |
|
# overwrite some of them when testing with obscure command lines. |
3003 |
|
# This happens at least with the AIX C compiler. |
3004 |
|
: > sub/conftest.c |
3005 |
|
for i in 1 2 3 4 5 6; do |
3006 |
|
echo '#include "conftst'$i'.h"' >> sub/conftest.c |
3007 |
|
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with |
3008 |
|
# Solaris 8's {/usr,}/bin/sh. |
3009 |
|
touch sub/conftst$i.h |
3010 |
|
done |
3011 |
|
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
3012 |
|
|
3013 |
bfd_version_string="\"${VERSION}\"" |
case $depmode in |
3014 |
bfd_version_date=`sed -e 's/.*DATE //' < ${srcdir}/version.h` |
nosideeffect) |
3015 |
if test x${is_release} = x; then |
# after this tag, mechanisms are not by side-effect, so they'll |
3016 |
bfd_version_string="\"${VERSION} ${bfd_version_date}\"" |
# only be used when explicitly requested |
3017 |
|
if test "x$enable_dependency_tracking" = xyes; then |
3018 |
|
continue |
3019 |
|
else |
3020 |
|
break |
3021 |
|
fi |
3022 |
|
;; |
3023 |
|
none) break ;; |
3024 |
|
esac |
3025 |
|
# We check with `-c' and `-o' for the sake of the "dashmstdout" |
3026 |
|
# mode. It turns out that the SunPro C++ compiler does not properly |
3027 |
|
# handle `-M -o', and we need to detect this. |
3028 |
|
if depmode=$depmode \ |
3029 |
|
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ |
3030 |
|
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
3031 |
|
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ |
3032 |
|
>/dev/null 2>conftest.err && |
3033 |
|
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
3034 |
|
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && |
3035 |
|
${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
3036 |
|
# icc doesn't choke on unknown options, it will just issue warnings |
3037 |
|
# or remarks (even with -Werror). So we grep stderr for any message |
3038 |
|
# that says an option was ignored or not supported. |
3039 |
|
# When given -MP, icc 7.0 and 7.1 complain thusly: |
3040 |
|
# icc: Command line warning: ignoring option '-M'; no argument required |
3041 |
|
# The diagnosis changed in icc 8.0: |
3042 |
|
# icc: Command line remark: option '-MP' not supported |
3043 |
|
if (grep 'ignoring option' conftest.err || |
3044 |
|
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else |
3045 |
|
am_cv_CC_dependencies_compiler_type=$depmode |
3046 |
|
break |
3047 |
|
fi |
3048 |
|
fi |
3049 |
|
done |
3050 |
|
|
3051 |
|
cd .. |
3052 |
|
rm -rf conftest.dir |
3053 |
|
else |
3054 |
|
am_cv_CC_dependencies_compiler_type=none |
3055 |
fi |
fi |
3056 |
|
|
3057 |
|
fi |
3058 |
|
echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 |
3059 |
|
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6 |
3060 |
|
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type |
3061 |
|
|
3062 |
|
|
3063 |
|
|
3064 |
if test $host != $build; then |
if |
3065 |
ac_tool_prefix=${host_alias}- |
test "x$enable_dependency_tracking" != xno \ |
3066 |
|
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then |
3067 |
|
am__fastdepCC_TRUE= |
3068 |
|
am__fastdepCC_FALSE='#' |
3069 |
else |
else |
3070 |
ac_tool_prefix= |
am__fastdepCC_TRUE='#' |
3071 |
|
am__fastdepCC_FALSE= |
3072 |
fi |
fi |
3073 |
|
|
3074 |
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. |
|
3075 |
|
|
3076 |
|
|
3077 |
|
if test -n "$ac_tool_prefix"; then |
3078 |
|
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. |
3079 |
set dummy ${ac_tool_prefix}ar; ac_word=$2 |
set dummy ${ac_tool_prefix}ar; ac_word=$2 |
3080 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3081 |
echo "configure:1028: checking for $ac_word" >&5 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
3082 |
if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then |
if test "${ac_cv_prog_AR+set}" = set; then |
3083 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3084 |
else |
else |
3085 |
if test -n "$AR"; then |
if test -n "$AR"; then |
3086 |
ac_cv_prog_AR="$AR" # Let the user override the test. |
ac_cv_prog_AR="$AR" # Let the user override the test. |
3087 |
else |
else |
3088 |
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3089 |
ac_dummy="$PATH" |
for as_dir in $PATH |
3090 |
for ac_dir in $ac_dummy; do |
do |
3091 |
test -z "$ac_dir" && ac_dir=. |
IFS=$as_save_IFS |
3092 |
if test -f $ac_dir/$ac_word; then |
test -z "$as_dir" && as_dir=. |
3093 |
ac_cv_prog_AR="${ac_tool_prefix}ar" |
for ac_exec_ext in '' $ac_executable_extensions; do |
3094 |
break |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3095 |
fi |
ac_cv_prog_AR="${ac_tool_prefix}ar" |
3096 |
done |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3097 |
IFS="$ac_save_ifs" |
break 2 |
3098 |
test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar" |
fi |
3099 |
|
done |
3100 |
|
done |
3101 |
|
|
3102 |
fi |
fi |
3103 |
fi |
fi |
3104 |
AR="$ac_cv_prog_AR" |
AR=$ac_cv_prog_AR |
3105 |
if test -n "$AR"; then |
if test -n "$AR"; then |
3106 |
echo "$ac_t""$AR" 1>&6 |
echo "$as_me:$LINENO: result: $AR" >&5 |
3107 |
|
echo "${ECHO_T}$AR" >&6 |
3108 |
else |
else |
3109 |
echo "$ac_t""no" 1>&6 |
echo "$as_me:$LINENO: result: no" >&5 |
3110 |
|
echo "${ECHO_T}no" >&6 |
3111 |
fi |
fi |
3112 |
|
|
3113 |
|
fi |
3114 |
|
if test -z "$ac_cv_prog_AR"; then |
3115 |
|
ac_ct_AR=$AR |
3116 |
|
# Extract the first word of "ar", so it can be a program name with args. |
3117 |
|
set dummy ar; ac_word=$2 |
3118 |
|
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3119 |
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
3120 |
|
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then |
3121 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3122 |
|
else |
3123 |
|
if test -n "$ac_ct_AR"; then |
3124 |
|
ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. |
3125 |
|
else |
3126 |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3127 |
|
for as_dir in $PATH |
3128 |
|
do |
3129 |
|
IFS=$as_save_IFS |
3130 |
|
test -z "$as_dir" && as_dir=. |
3131 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
3132 |
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3133 |
|
ac_cv_prog_ac_ct_AR="ar" |
3134 |
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3135 |
|
break 2 |
3136 |
|
fi |
3137 |
|
done |
3138 |
|
done |
3139 |
|
|
3140 |
|
fi |
3141 |
|
fi |
3142 |
|
ac_ct_AR=$ac_cv_prog_ac_ct_AR |
3143 |
|
if test -n "$ac_ct_AR"; then |
3144 |
|
echo "$as_me:$LINENO: result: $ac_ct_AR" >&5 |
3145 |
|
echo "${ECHO_T}$ac_ct_AR" >&6 |
3146 |
|
else |
3147 |
|
echo "$as_me:$LINENO: result: no" >&5 |
3148 |
|
echo "${ECHO_T}no" >&6 |
3149 |
|
fi |
3150 |
|
|
3151 |
|
AR=$ac_ct_AR |
3152 |
|
else |
3153 |
|
AR="$ac_cv_prog_AR" |
3154 |
|
fi |
3155 |
|
|
3156 |
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. |
if test -n "$ac_tool_prefix"; then |
3157 |
|
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. |
3158 |
set dummy ${ac_tool_prefix}ranlib; ac_word=$2 |
set dummy ${ac_tool_prefix}ranlib; ac_word=$2 |
3159 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3160 |
echo "configure:1060: checking for $ac_word" >&5 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
3161 |
if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then |
if test "${ac_cv_prog_RANLIB+set}" = set; then |
3162 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3163 |
else |
else |
3164 |
if test -n "$RANLIB"; then |
if test -n "$RANLIB"; then |
3165 |
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
3166 |
else |
else |
3167 |
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3168 |
ac_dummy="$PATH" |
for as_dir in $PATH |
3169 |
for ac_dir in $ac_dummy; do |
do |
3170 |
test -z "$ac_dir" && ac_dir=. |
IFS=$as_save_IFS |
3171 |
if test -f $ac_dir/$ac_word; then |
test -z "$as_dir" && as_dir=. |
3172 |
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
for ac_exec_ext in '' $ac_executable_extensions; do |
3173 |
break |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3174 |
fi |
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
3175 |
done |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3176 |
IFS="$ac_save_ifs" |
break 2 |
3177 |
|
fi |
3178 |
|
done |
3179 |
|
done |
3180 |
|
|
3181 |
fi |
fi |
3182 |
fi |
fi |
3183 |
RANLIB="$ac_cv_prog_RANLIB" |
RANLIB=$ac_cv_prog_RANLIB |
3184 |
if test -n "$RANLIB"; then |
if test -n "$RANLIB"; then |
3185 |
echo "$ac_t""$RANLIB" 1>&6 |
echo "$as_me:$LINENO: result: $RANLIB" >&5 |
3186 |
|
echo "${ECHO_T}$RANLIB" >&6 |
3187 |
else |
else |
3188 |
echo "$ac_t""no" 1>&6 |
echo "$as_me:$LINENO: result: no" >&5 |
3189 |
|
echo "${ECHO_T}no" >&6 |
3190 |
fi |
fi |
3191 |
|
|
3192 |
|
fi |
3193 |
if test -z "$ac_cv_prog_RANLIB"; then |
if test -z "$ac_cv_prog_RANLIB"; then |
3194 |
if test -n "$ac_tool_prefix"; then |
ac_ct_RANLIB=$RANLIB |
3195 |
# Extract the first word of "ranlib", so it can be a program name with args. |
# Extract the first word of "ranlib", so it can be a program name with args. |
3196 |
set dummy ranlib; ac_word=$2 |
set dummy ranlib; ac_word=$2 |
3197 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3198 |
echo "configure:1092: checking for $ac_word" >&5 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
3199 |
if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then |
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then |
3200 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3201 |
else |
else |
3202 |
if test -n "$RANLIB"; then |
if test -n "$ac_ct_RANLIB"; then |
3203 |
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. |
3204 |
else |
else |
3205 |
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3206 |
ac_dummy="$PATH" |
for as_dir in $PATH |
3207 |
for ac_dir in $ac_dummy; do |
do |
3208 |
test -z "$ac_dir" && ac_dir=. |
IFS=$as_save_IFS |
3209 |
if test -f $ac_dir/$ac_word; then |
test -z "$as_dir" && as_dir=. |
3210 |
ac_cv_prog_RANLIB="ranlib" |
for ac_exec_ext in '' $ac_executable_extensions; do |
3211 |
break |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3212 |
fi |
ac_cv_prog_ac_ct_RANLIB="ranlib" |
3213 |
done |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3214 |
IFS="$ac_save_ifs" |
break 2 |
3215 |
test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":" |
fi |
3216 |
|
done |
3217 |
|
done |
3218 |
|
|
3219 |
|
test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" |
3220 |
fi |
fi |
3221 |
fi |
fi |
3222 |
RANLIB="$ac_cv_prog_RANLIB" |
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB |
3223 |
if test -n "$RANLIB"; then |
if test -n "$ac_ct_RANLIB"; then |
3224 |
echo "$ac_t""$RANLIB" 1>&6 |
echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 |
3225 |
|
echo "${ECHO_T}$ac_ct_RANLIB" >&6 |
3226 |
else |
else |
3227 |
echo "$ac_t""no" 1>&6 |
echo "$as_me:$LINENO: result: no" >&5 |
3228 |
|
echo "${ECHO_T}no" >&6 |
3229 |
fi |
fi |
3230 |
|
|
3231 |
|
RANLIB=$ac_ct_RANLIB |
3232 |
else |
else |
3233 |
RANLIB=":" |
RANLIB="$ac_cv_prog_RANLIB" |
|
fi |
|
3234 |
fi |
fi |
3235 |
|
|
3236 |
|
|
3255 |
esac |
esac |
3256 |
else |
else |
3257 |
enable_shared=no |
enable_shared=no |
3258 |
fi |
fi; |
|
|
|
3259 |
|
|
3260 |
# Check whether --enable-static or --disable-static was given. |
# Check whether --enable-static or --disable-static was given. |
3261 |
if test "${enable_static+set}" = set; then |
if test "${enable_static+set}" = set; then |
3278 |
esac |
esac |
3279 |
else |
else |
3280 |
enable_static=yes |
enable_static=yes |
3281 |
fi |
fi; |
|
|
|
3282 |
# Check whether --enable-fast-install or --disable-fast-install was given. |
# Check whether --enable-fast-install or --disable-fast-install was given. |
3283 |
if test "${enable_fast_install+set}" = set; then |
if test "${enable_fast_install+set}" = set; then |
3284 |
enableval="$enable_fast_install" |
enableval="$enable_fast_install" |
3300 |
esac |
esac |
3301 |
else |
else |
3302 |
enable_fast_install=yes |
enable_fast_install=yes |
3303 |
fi |
fi; |
|
|
|
|
# Extract the first word of "gcc", so it can be a program name with args. |
|
|
set dummy gcc; ac_word=$2 |
|
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
|
|
echo "configure:1198: checking for $ac_word" >&5 |
|
|
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
else |
|
|
if test -n "$CC"; then |
|
|
ac_cv_prog_CC="$CC" # Let the user override the test. |
|
|
else |
|
|
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
|
|
ac_dummy="$PATH" |
|
|
for ac_dir in $ac_dummy; do |
|
|
test -z "$ac_dir" && ac_dir=. |
|
|
if test -f $ac_dir/$ac_word; then |
|
|
ac_cv_prog_CC="gcc" |
|
|
break |
|
|
fi |
|
|
done |
|
|
IFS="$ac_save_ifs" |
|
|
fi |
|
|
fi |
|
|
CC="$ac_cv_prog_CC" |
|
|
if test -n "$CC"; then |
|
|
echo "$ac_t""$CC" 1>&6 |
|
|
else |
|
|
echo "$ac_t""no" 1>&6 |
|
|
fi |
|
|
|
|
|
if test -z "$CC"; then |
|
|
# Extract the first word of "cc", so it can be a program name with args. |
|
|
set dummy cc; ac_word=$2 |
|
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
|
|
echo "configure:1228: checking for $ac_word" >&5 |
|
|
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
else |
|
|
if test -n "$CC"; then |
|
|
ac_cv_prog_CC="$CC" # Let the user override the test. |
|
|
else |
|
|
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
|
|
ac_prog_rejected=no |
|
|
ac_dummy="$PATH" |
|
|
for ac_dir in $ac_dummy; do |
|
|
test -z "$ac_dir" && ac_dir=. |
|
|
if test -f $ac_dir/$ac_word; then |
|
|
if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then |
|
|
ac_prog_rejected=yes |
|
|
continue |
|
|
fi |
|
|
ac_cv_prog_CC="cc" |
|
|
break |
|
|
fi |
|
|
done |
|
|
IFS="$ac_save_ifs" |
|
|
if test $ac_prog_rejected = yes; then |
|
|
# We found a bogon in the path, so make sure we never use it. |
|
|
set dummy $ac_cv_prog_CC |
|
|
shift |
|
|
if test $# -gt 0; then |
|
|
# We chose a different compiler from the bogus one. |
|
|
# However, it has the same basename, so the bogon will be chosen |
|
|
# first if we set CC to just the basename; use the full file name. |
|
|
shift |
|
|
set dummy "$ac_dir/$ac_word" "$@" |
|
|
shift |
|
|
ac_cv_prog_CC="$@" |
|
|
fi |
|
|
fi |
|
|
fi |
|
|
fi |
|
|
CC="$ac_cv_prog_CC" |
|
|
if test -n "$CC"; then |
|
|
echo "$ac_t""$CC" 1>&6 |
|
|
else |
|
|
echo "$ac_t""no" 1>&6 |
|
|
fi |
|
|
|
|
|
if test -z "$CC"; then |
|
|
case "`uname -s`" in |
|
|
*win32* | *WIN32*) |
|
|
# Extract the first word of "cl", so it can be a program name with args. |
|
|
set dummy cl; ac_word=$2 |
|
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
|
|
echo "configure:1279: checking for $ac_word" >&5 |
|
|
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
else |
|
|
if test -n "$CC"; then |
|
|
ac_cv_prog_CC="$CC" # Let the user override the test. |
|
|
else |
|
|
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
|
|
ac_dummy="$PATH" |
|
|
for ac_dir in $ac_dummy; do |
|
|
test -z "$ac_dir" && ac_dir=. |
|
|
if test -f $ac_dir/$ac_word; then |
|
|
ac_cv_prog_CC="cl" |
|
|
break |
|
|
fi |
|
|
done |
|
|
IFS="$ac_save_ifs" |
|
|
fi |
|
|
fi |
|
|
CC="$ac_cv_prog_CC" |
|
|
if test -n "$CC"; then |
|
|
echo "$ac_t""$CC" 1>&6 |
|
|
else |
|
|
echo "$ac_t""no" 1>&6 |
|
|
fi |
|
|
;; |
|
|
esac |
|
|
fi |
|
|
test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
|
|
fi |
|
|
|
|
|
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
|
|
echo "configure:1311: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
|
|
|
|
|
ac_ext=c |
|
|
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. |
|
|
ac_cpp='$CPP $CPPFLAGS' |
|
|
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' |
|
|
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' |
|
|
cross_compiling=$ac_cv_prog_cc_cross |
|
|
|
|
|
cat > conftest.$ac_ext << EOF |
|
|
|
|
|
#line 1322 "configure" |
|
|
#include "confdefs.h" |
|
|
|
|
|
main(){return(0);} |
|
|
EOF |
|
|
if { (eval echo configure:1327: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|
|
ac_cv_prog_cc_works=yes |
|
|
# If we can't run a trivial program, we are probably using a cross compiler. |
|
|
if (./conftest; exit) 2>/dev/null; then |
|
|
ac_cv_prog_cc_cross=no |
|
|
else |
|
|
ac_cv_prog_cc_cross=yes |
|
|
fi |
|
|
else |
|
|
echo "configure: failed program was:" >&5 |
|
|
cat conftest.$ac_ext >&5 |
|
|
ac_cv_prog_cc_works=no |
|
|
fi |
|
|
rm -fr conftest* |
|
|
ac_ext=c |
|
|
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. |
|
|
ac_cpp='$CPP $CPPFLAGS' |
|
|
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' |
|
|
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' |
|
|
cross_compiling=$ac_cv_prog_cc_cross |
|
|
|
|
|
echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
|
|
if test $ac_cv_prog_cc_works = no; then |
|
|
{ echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
|
|
fi |
|
|
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
|
|
echo "configure:1353: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
|
|
echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
|
|
cross_compiling=$ac_cv_prog_cc_cross |
|
|
|
|
|
echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
|
|
echo "configure:1358: checking whether we are using GNU C" >&5 |
|
|
if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then |
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
else |
|
|
cat > conftest.c <<EOF |
|
|
#ifdef __GNUC__ |
|
|
yes; |
|
|
#endif |
|
|
EOF |
|
|
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1367: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
|
|
ac_cv_prog_gcc=yes |
|
|
else |
|
|
ac_cv_prog_gcc=no |
|
|
fi |
|
|
fi |
|
|
|
|
|
echo "$ac_t""$ac_cv_prog_gcc" 1>&6 |
|
|
|
|
|
if test $ac_cv_prog_gcc = yes; then |
|
|
GCC=yes |
|
|
else |
|
|
GCC= |
|
|
fi |
|
|
|
|
|
ac_test_CFLAGS="${CFLAGS+set}" |
|
|
ac_save_CFLAGS="$CFLAGS" |
|
|
CFLAGS= |
|
|
echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
|
|
echo "configure:1386: checking whether ${CC-cc} accepts -g" >&5 |
|
|
if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then |
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
else |
|
|
echo 'void f(){}' > conftest.c |
|
|
if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
|
|
ac_cv_prog_cc_g=yes |
|
|
else |
|
|
ac_cv_prog_cc_g=no |
|
|
fi |
|
|
rm -f conftest* |
|
|
|
|
|
fi |
|
|
|
|
|
echo "$ac_t""$ac_cv_prog_cc_g" 1>&6 |
|
|
if test "$ac_test_CFLAGS" = set; then |
|
|
CFLAGS="$ac_save_CFLAGS" |
|
|
elif test $ac_cv_prog_cc_g = yes; then |
|
|
if test "$GCC" = yes; then |
|
|
CFLAGS="-g -O2" |
|
|
else |
|
|
CFLAGS="-g" |
|
|
fi |
|
|
else |
|
|
if test "$GCC" = yes; then |
|
|
CFLAGS="-O2" |
|
|
else |
|
|
CFLAGS= |
|
|
fi |
|
|
fi |
|
3304 |
|
|
3305 |
# Check whether --with-gnu-ld or --without-gnu-ld was given. |
# Check whether --with-gnu-ld or --without-gnu-ld was given. |
3306 |
if test "${with_gnu_ld+set}" = set; then |
if test "${with_gnu_ld+set}" = set; then |
3308 |
test "$withval" = no || with_gnu_ld=yes |
test "$withval" = no || with_gnu_ld=yes |
3309 |
else |
else |
3310 |
with_gnu_ld=no |
with_gnu_ld=no |
3311 |
fi |
fi; |
|
|
|
3312 |
ac_prog=ld |
ac_prog=ld |
3313 |
if test "$GCC" = yes; then |
if test "$GCC" = yes; then |
3314 |
# Check if gcc -print-prog-name=ld gives a path. |
# Check if gcc -print-prog-name=ld gives a path. |
3315 |
echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for ld used by GCC" >&5 |
3316 |
echo "configure:1429: checking for ld used by GCC" >&5 |
echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6 |
3317 |
case $host in |
case $host in |
3318 |
*-*-mingw*) |
*-*-mingw*) |
3319 |
# gcc leaves a trailing carriage return which upsets mingw |
# gcc leaves a trailing carriage return which upsets mingw |
3342 |
;; |
;; |
3343 |
esac |
esac |
3344 |
elif test "$with_gnu_ld" = yes; then |
elif test "$with_gnu_ld" = yes; then |
3345 |
echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for GNU ld" >&5 |
3346 |
echo "configure:1459: checking for GNU ld" >&5 |
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6 |
3347 |
else |
else |
3348 |
echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for non-GNU ld" >&5 |
3349 |
echo "configure:1462: checking for non-GNU ld" >&5 |
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6 |
3350 |
fi |
fi |
3351 |
if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then |
if test "${lt_cv_path_LD+set}" = set; then |
3352 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3353 |
else |
else |
3354 |
if test -z "$LD"; then |
if test -z "$LD"; then |
3355 |
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" |
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" |
3375 |
|
|
3376 |
LD="$lt_cv_path_LD" |
LD="$lt_cv_path_LD" |
3377 |
if test -n "$LD"; then |
if test -n "$LD"; then |
3378 |
echo "$ac_t""$LD" 1>&6 |
echo "$as_me:$LINENO: result: $LD" >&5 |
3379 |
|
echo "${ECHO_T}$LD" >&6 |
3380 |
else |
else |
3381 |
echo "$ac_t""no" 1>&6 |
echo "$as_me:$LINENO: result: no" >&5 |
3382 |
|
echo "${ECHO_T}no" >&6 |
3383 |
fi |
fi |
3384 |
test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; } |
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 |
3385 |
echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6 |
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} |
3386 |
echo "configure:1497: checking if the linker ($LD) is GNU ld" >&5 |
{ (exit 1); exit 1; }; } |
3387 |
if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then |
echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 |
3388 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6 |
3389 |
|
if test "${lt_cv_prog_gnu_ld+set}" = set; then |
3390 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3391 |
else |
else |
3392 |
# I'd rather use --version here, but apparently some GNU ld's only accept -v. |
# I'd rather use --version here, but apparently some GNU ld's only accept -v. |
3393 |
if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then |
if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then |
3396 |
lt_cv_prog_gnu_ld=no |
lt_cv_prog_gnu_ld=no |
3397 |
fi |
fi |
3398 |
fi |
fi |
3399 |
|
echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5 |
3400 |
echo "$ac_t""$lt_cv_prog_gnu_ld" 1>&6 |
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6 |
3401 |
with_gnu_ld=$lt_cv_prog_gnu_ld |
with_gnu_ld=$lt_cv_prog_gnu_ld |
3402 |
|
|
3403 |
|
|
3404 |
echo $ac_n "checking for $LD option to reload object files""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5 |
3405 |
echo "configure:1514: checking for $LD option to reload object files" >&5 |
echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6 |
3406 |
if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then |
if test "${lt_cv_ld_reload_flag+set}" = set; then |
3407 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3408 |
else |
else |
3409 |
lt_cv_ld_reload_flag='-r' |
lt_cv_ld_reload_flag='-r' |
3410 |
fi |
fi |
3411 |
|
echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5 |
3412 |
echo "$ac_t""$lt_cv_ld_reload_flag" 1>&6 |
echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6 |
3413 |
reload_flag=$lt_cv_ld_reload_flag |
reload_flag=$lt_cv_ld_reload_flag |
3414 |
test -n "$reload_flag" && reload_flag=" $reload_flag" |
test -n "$reload_flag" && reload_flag=" $reload_flag" |
3415 |
|
|
3416 |
echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5 |
3417 |
echo "configure:1526: checking for BSD-compatible nm" >&5 |
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6 |
3418 |
if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then |
if test "${lt_cv_path_NM+set}" = set; then |
3419 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3420 |
else |
else |
3421 |
if test -n "$NM"; then |
if test -n "$NM"; then |
3422 |
# Let the user override the test. |
# Let the user override the test. |
3449 |
fi |
fi |
3450 |
|
|
3451 |
NM="$lt_cv_path_NM" |
NM="$lt_cv_path_NM" |
3452 |
echo "$ac_t""$NM" 1>&6 |
echo "$as_me:$LINENO: result: $NM" >&5 |
3453 |
|
echo "${ECHO_T}$NM" >&6 |
3454 |
|
|
3455 |
echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking whether ln -s works" >&5 |
3456 |
echo "configure:1564: checking whether ln -s works" >&5 |
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 |
3457 |
if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then |
LN_S=$as_ln_s |
3458 |
echo $ac_n "(cached) $ac_c" 1>&6 |
if test "$LN_S" = "ln -s"; then |
3459 |
else |
echo "$as_me:$LINENO: result: yes" >&5 |
3460 |
rm -f conftestdata |
echo "${ECHO_T}yes" >&6 |
3461 |
if ln -s X conftestdata 2>/dev/null |
else |
3462 |
then |
echo "$as_me:$LINENO: result: no, using $LN_S" >&5 |
3463 |
rm -f conftestdata |
echo "${ECHO_T}no, using $LN_S" >&6 |
3464 |
ac_cv_prog_LN_S="ln -s" |
fi |
3465 |
else |
|
3466 |
ac_cv_prog_LN_S=ln |
echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5 |
3467 |
fi |
echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6 |
3468 |
fi |
if test "${lt_cv_deplibs_check_method+set}" = set; then |
3469 |
LN_S="$ac_cv_prog_LN_S" |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
if test "$ac_cv_prog_LN_S" = "ln -s"; then |
|
|
echo "$ac_t""yes" 1>&6 |
|
|
else |
|
|
echo "$ac_t""no" 1>&6 |
|
|
fi |
|
|
|
|
|
echo $ac_n "checking how to recognise dependant libraries""... $ac_c" 1>&6 |
|
|
echo "configure:1585: checking how to recognise dependant libraries" >&5 |
|
|
if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then |
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
3470 |
else |
else |
3471 |
lt_cv_file_magic_cmd='$MAGIC_CMD' |
lt_cv_file_magic_cmd='$MAGIC_CMD' |
3472 |
lt_cv_file_magic_test_file= |
lt_cv_file_magic_test_file= |
3515 |
esac |
esac |
3516 |
;; |
;; |
3517 |
|
|
3518 |
freebsd* ) |
freebsd* | kfreebsd*-gnu) |
3519 |
if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then |
if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then |
3520 |
case $host_cpu in |
case $host_cpu in |
3521 |
i*86 ) |
i*86 ) |
3583 |
lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so` |
lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so` |
3584 |
;; |
;; |
3585 |
|
|
3586 |
netbsd*) |
netbsd* | knetbsd*-gnu) |
3587 |
if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then |
if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then |
3588 |
lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$' |
lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$' |
3589 |
else |
else |
3631 |
esac |
esac |
3632 |
|
|
3633 |
fi |
fi |
3634 |
|
echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5 |
3635 |
echo "$ac_t""$lt_cv_deplibs_check_method" 1>&6 |
echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6 |
3636 |
file_magic_cmd=$lt_cv_file_magic_cmd |
file_magic_cmd=$lt_cv_file_magic_cmd |
3637 |
deplibs_check_method=$lt_cv_deplibs_check_method |
deplibs_check_method=$lt_cv_deplibs_check_method |
3638 |
|
|
|
echo $ac_n "checking for object suffix""... $ac_c" 1>&6 |
|
|
echo "configure:1758: checking for object suffix" >&5 |
|
|
if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then |
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
else |
|
|
rm -f conftest* |
|
|
echo 'int i = 1;' > conftest.$ac_ext |
|
|
if { (eval echo configure:1764: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
|
|
for ac_file in conftest.*; do |
|
|
case $ac_file in |
|
|
*.c) ;; |
|
|
*) ac_cv_objext=`echo $ac_file | sed -e s/conftest.//` ;; |
|
|
esac |
|
|
done |
|
|
else |
|
|
{ echo "configure: error: installation or configuration problem; compiler does not work" 1>&2; exit 1; } |
|
|
fi |
|
|
rm -f conftest* |
|
|
fi |
|
|
|
|
|
echo "$ac_t""$ac_cv_objext" 1>&6 |
|
|
OBJEXT=$ac_cv_objext |
|
|
ac_objext=$ac_cv_objext |
|
3639 |
|
|
3640 |
|
|
3641 |
|
|
|
echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 |
|
|
echo "configure:1784: checking for executable suffix" >&5 |
|
|
if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then |
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
else |
|
|
if test "$CYGWIN" = yes || test "$MINGW32" = yes; then |
|
|
ac_cv_exeext=.exe |
|
|
else |
|
|
rm -f conftest* |
|
|
echo 'int main () { return 0; }' > conftest.$ac_ext |
|
|
ac_cv_exeext= |
|
|
if { (eval echo configure:1794: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then |
|
|
for file in conftest.*; do |
|
|
case $file in |
|
|
*.$ac_ext | *.c | *.o | *.obj) ;; |
|
|
*) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;; |
|
|
esac |
|
|
done |
|
|
else |
|
|
{ echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; } |
|
|
fi |
|
|
rm -f conftest* |
|
|
test x"${ac_cv_exeext}" = x && ac_cv_exeext=no |
|
|
fi |
|
|
fi |
|
|
|
|
|
EXEEXT="" |
|
|
test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext} |
|
|
echo "$ac_t""${ac_cv_exeext}" 1>&6 |
|
|
ac_exeext=$EXEEXT |
|
|
|
|
3642 |
# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers! |
# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers! |
3643 |
|
|
3644 |
# Only perform the check for file, if the check method requires it |
# Only perform the check for file, if the check method requires it |
3645 |
case $deplibs_check_method in |
case $deplibs_check_method in |
3646 |
file_magic*) |
file_magic*) |
3647 |
if test "$file_magic_cmd" = '$MAGIC_CMD'; then |
if test "$file_magic_cmd" = '$MAGIC_CMD'; then |
3648 |
echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5 |
3649 |
echo "configure:1821: checking for ${ac_tool_prefix}file" >&5 |
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6 |
3650 |
if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then |
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then |
3651 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3652 |
else |
else |
3653 |
case $MAGIC_CMD in |
case $MAGIC_CMD in |
3654 |
/*) |
/*) |
3700 |
|
|
3701 |
MAGIC_CMD="$lt_cv_path_MAGIC_CMD" |
MAGIC_CMD="$lt_cv_path_MAGIC_CMD" |
3702 |
if test -n "$MAGIC_CMD"; then |
if test -n "$MAGIC_CMD"; then |
3703 |
echo "$ac_t""$MAGIC_CMD" 1>&6 |
echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 |
3704 |
|
echo "${ECHO_T}$MAGIC_CMD" >&6 |
3705 |
else |
else |
3706 |
echo "$ac_t""no" 1>&6 |
echo "$as_me:$LINENO: result: no" >&5 |
3707 |
|
echo "${ECHO_T}no" >&6 |
3708 |
fi |
fi |
3709 |
|
|
3710 |
if test -z "$lt_cv_path_MAGIC_CMD"; then |
if test -z "$lt_cv_path_MAGIC_CMD"; then |
3711 |
if test -n "$ac_tool_prefix"; then |
if test -n "$ac_tool_prefix"; then |
3712 |
echo $ac_n "checking for file""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for file" >&5 |
3713 |
echo "configure:1883: checking for file" >&5 |
echo $ECHO_N "checking for file... $ECHO_C" >&6 |
3714 |
if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then |
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then |
3715 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3716 |
else |
else |
3717 |
case $MAGIC_CMD in |
case $MAGIC_CMD in |
3718 |
/*) |
/*) |
3764 |
|
|
3765 |
MAGIC_CMD="$lt_cv_path_MAGIC_CMD" |
MAGIC_CMD="$lt_cv_path_MAGIC_CMD" |
3766 |
if test -n "$MAGIC_CMD"; then |
if test -n "$MAGIC_CMD"; then |
3767 |
echo "$ac_t""$MAGIC_CMD" 1>&6 |
echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 |
3768 |
|
echo "${ECHO_T}$MAGIC_CMD" >&6 |
3769 |
else |
else |
3770 |
echo "$ac_t""no" 1>&6 |
echo "$as_me:$LINENO: result: no" >&5 |
3771 |
|
echo "${ECHO_T}no" >&6 |
3772 |
fi |
fi |
3773 |
|
|
3774 |
else |
else |
3780 |
;; |
;; |
3781 |
esac |
esac |
3782 |
|
|
3783 |
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. |
if test -n "$ac_tool_prefix"; then |
3784 |
|
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. |
3785 |
set dummy ${ac_tool_prefix}ranlib; ac_word=$2 |
set dummy ${ac_tool_prefix}ranlib; ac_word=$2 |
3786 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3787 |
echo "configure:1954: checking for $ac_word" >&5 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
3788 |
if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then |
if test "${ac_cv_prog_RANLIB+set}" = set; then |
3789 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3790 |
else |
else |
3791 |
if test -n "$RANLIB"; then |
if test -n "$RANLIB"; then |
3792 |
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
3793 |
else |
else |
3794 |
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3795 |
ac_dummy="$PATH" |
for as_dir in $PATH |
3796 |
for ac_dir in $ac_dummy; do |
do |
3797 |
test -z "$ac_dir" && ac_dir=. |
IFS=$as_save_IFS |
3798 |
if test -f $ac_dir/$ac_word; then |
test -z "$as_dir" && as_dir=. |
3799 |
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
for ac_exec_ext in '' $ac_executable_extensions; do |
3800 |
break |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3801 |
fi |
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
3802 |
done |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3803 |
IFS="$ac_save_ifs" |
break 2 |
3804 |
|
fi |
3805 |
|
done |
3806 |
|
done |
3807 |
|
|
3808 |
fi |
fi |
3809 |
fi |
fi |
3810 |
RANLIB="$ac_cv_prog_RANLIB" |
RANLIB=$ac_cv_prog_RANLIB |
3811 |
if test -n "$RANLIB"; then |
if test -n "$RANLIB"; then |
3812 |
echo "$ac_t""$RANLIB" 1>&6 |
echo "$as_me:$LINENO: result: $RANLIB" >&5 |
3813 |
|
echo "${ECHO_T}$RANLIB" >&6 |
3814 |
else |
else |
3815 |
echo "$ac_t""no" 1>&6 |
echo "$as_me:$LINENO: result: no" >&5 |
3816 |
|
echo "${ECHO_T}no" >&6 |
3817 |
fi |
fi |
3818 |
|
|
3819 |
|
fi |
3820 |
if test -z "$ac_cv_prog_RANLIB"; then |
if test -z "$ac_cv_prog_RANLIB"; then |
3821 |
if test -n "$ac_tool_prefix"; then |
ac_ct_RANLIB=$RANLIB |
3822 |
# Extract the first word of "ranlib", so it can be a program name with args. |
# Extract the first word of "ranlib", so it can be a program name with args. |
3823 |
set dummy ranlib; ac_word=$2 |
set dummy ranlib; ac_word=$2 |
3824 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3825 |
echo "configure:1986: checking for $ac_word" >&5 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
3826 |
if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then |
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then |
3827 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3828 |
else |
else |
3829 |
if test -n "$RANLIB"; then |
if test -n "$ac_ct_RANLIB"; then |
3830 |
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. |
3831 |
else |
else |
3832 |
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3833 |
ac_dummy="$PATH" |
for as_dir in $PATH |
3834 |
for ac_dir in $ac_dummy; do |
do |
3835 |
test -z "$ac_dir" && ac_dir=. |
IFS=$as_save_IFS |
3836 |
if test -f $ac_dir/$ac_word; then |
test -z "$as_dir" && as_dir=. |
3837 |
ac_cv_prog_RANLIB="ranlib" |
for ac_exec_ext in '' $ac_executable_extensions; do |
3838 |
break |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3839 |
fi |
ac_cv_prog_ac_ct_RANLIB="ranlib" |
3840 |
done |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3841 |
IFS="$ac_save_ifs" |
break 2 |
3842 |
test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":" |
fi |
3843 |
|
done |
3844 |
|
done |
3845 |
|
|
3846 |
|
test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" |
3847 |
fi |
fi |
3848 |
fi |
fi |
3849 |
RANLIB="$ac_cv_prog_RANLIB" |
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB |
3850 |
if test -n "$RANLIB"; then |
if test -n "$ac_ct_RANLIB"; then |
3851 |
echo "$ac_t""$RANLIB" 1>&6 |
echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 |
3852 |
|
echo "${ECHO_T}$ac_ct_RANLIB" >&6 |
3853 |
else |
else |
3854 |
echo "$ac_t""no" 1>&6 |
echo "$as_me:$LINENO: result: no" >&5 |
3855 |
|
echo "${ECHO_T}no" >&6 |
3856 |
fi |
fi |
3857 |
|
|
3858 |
|
RANLIB=$ac_ct_RANLIB |
3859 |
else |
else |
3860 |
RANLIB=":" |
RANLIB="$ac_cv_prog_RANLIB" |
|
fi |
|
3861 |
fi |
fi |
3862 |
|
|
3863 |
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
if test -n "$ac_tool_prefix"; then |
3864 |
|
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
3865 |
set dummy ${ac_tool_prefix}strip; ac_word=$2 |
set dummy ${ac_tool_prefix}strip; ac_word=$2 |
3866 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3867 |
echo "configure:2021: checking for $ac_word" >&5 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
3868 |
if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then |
if test "${ac_cv_prog_STRIP+set}" = set; then |
3869 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3870 |
else |
else |
3871 |
if test -n "$STRIP"; then |
if test -n "$STRIP"; then |
3872 |
ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
3873 |
else |
else |
3874 |
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3875 |
ac_dummy="$PATH" |
for as_dir in $PATH |
3876 |
for ac_dir in $ac_dummy; do |
do |
3877 |
test -z "$ac_dir" && ac_dir=. |
IFS=$as_save_IFS |
3878 |
if test -f $ac_dir/$ac_word; then |
test -z "$as_dir" && as_dir=. |
3879 |
ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
for ac_exec_ext in '' $ac_executable_extensions; do |
3880 |
break |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3881 |
fi |
ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
3882 |
done |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3883 |
IFS="$ac_save_ifs" |
break 2 |
3884 |
|
fi |
3885 |
|
done |
3886 |
|
done |
3887 |
|
|
3888 |
fi |
fi |
3889 |
fi |
fi |
3890 |
STRIP="$ac_cv_prog_STRIP" |
STRIP=$ac_cv_prog_STRIP |
3891 |
if test -n "$STRIP"; then |
if test -n "$STRIP"; then |
3892 |
echo "$ac_t""$STRIP" 1>&6 |
echo "$as_me:$LINENO: result: $STRIP" >&5 |
3893 |
|
echo "${ECHO_T}$STRIP" >&6 |
3894 |
else |
else |
3895 |
echo "$ac_t""no" 1>&6 |
echo "$as_me:$LINENO: result: no" >&5 |
3896 |
|
echo "${ECHO_T}no" >&6 |
3897 |
fi |
fi |
3898 |
|
|
3899 |
|
fi |
3900 |
if test -z "$ac_cv_prog_STRIP"; then |
if test -z "$ac_cv_prog_STRIP"; then |
3901 |
if test -n "$ac_tool_prefix"; then |
ac_ct_STRIP=$STRIP |
3902 |
# Extract the first word of "strip", so it can be a program name with args. |
# Extract the first word of "strip", so it can be a program name with args. |
3903 |
set dummy strip; ac_word=$2 |
set dummy strip; ac_word=$2 |
3904 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3905 |
echo "configure:2053: checking for $ac_word" >&5 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
3906 |
if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then |
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then |
3907 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3908 |
else |
else |
3909 |
if test -n "$STRIP"; then |
if test -n "$ac_ct_STRIP"; then |
3910 |
ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. |
3911 |
else |
else |
3912 |
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3913 |
ac_dummy="$PATH" |
for as_dir in $PATH |
3914 |
for ac_dir in $ac_dummy; do |
do |
3915 |
test -z "$ac_dir" && ac_dir=. |
IFS=$as_save_IFS |
3916 |
if test -f $ac_dir/$ac_word; then |
test -z "$as_dir" && as_dir=. |
3917 |
ac_cv_prog_STRIP="strip" |
for ac_exec_ext in '' $ac_executable_extensions; do |
3918 |
break |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3919 |
fi |
ac_cv_prog_ac_ct_STRIP="strip" |
3920 |
done |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3921 |
IFS="$ac_save_ifs" |
break 2 |
3922 |
test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP=":" |
fi |
3923 |
|
done |
3924 |
|
done |
3925 |
|
|
3926 |
|
test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":" |
3927 |
fi |
fi |
3928 |
fi |
fi |
3929 |
STRIP="$ac_cv_prog_STRIP" |
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP |
3930 |
if test -n "$STRIP"; then |
if test -n "$ac_ct_STRIP"; then |
3931 |
echo "$ac_t""$STRIP" 1>&6 |
echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 |
3932 |
|
echo "${ECHO_T}$ac_ct_STRIP" >&6 |
3933 |
else |
else |
3934 |
echo "$ac_t""no" 1>&6 |
echo "$as_me:$LINENO: result: no" >&5 |
3935 |
|
echo "${ECHO_T}no" >&6 |
3936 |
fi |
fi |
3937 |
|
|
3938 |
|
STRIP=$ac_ct_STRIP |
3939 |
else |
else |
3940 |
STRIP=":" |
STRIP="$ac_cv_prog_STRIP" |
|
fi |
|
3941 |
fi |
fi |
3942 |
|
|
3943 |
|
|
3953 |
# Check whether --enable-libtool-lock or --disable-libtool-lock was given. |
# Check whether --enable-libtool-lock or --disable-libtool-lock was given. |
3954 |
if test "${enable_libtool_lock+set}" = set; then |
if test "${enable_libtool_lock+set}" = set; then |
3955 |
enableval="$enable_libtool_lock" |
enableval="$enable_libtool_lock" |
|
: |
|
|
fi |
|
3956 |
|
|
3957 |
|
fi; |
3958 |
test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock" |
test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock" |
3959 |
test x"$silent" = xyes && libtool_flags="$libtool_flags --silent" |
test x"$silent" = xyes && libtool_flags="$libtool_flags --silent" |
3960 |
|
|
3961 |
|
|
3962 |
# Check whether --with-pic or --without-pic was given. |
# Check whether --with-pic or --without-pic was given. |
3963 |
if test "${with_pic+set}" = set; then |
if test "${with_pic+set}" = set; then |
3964 |
withval="$with_pic" |
withval="$with_pic" |
3965 |
pic_mode="$withval" |
pic_mode="$withval" |
3966 |
else |
else |
3967 |
pic_mode=default |
pic_mode=default |
3968 |
fi |
fi; |
|
|
|
3969 |
test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic" |
test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic" |
3970 |
test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic" |
test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic" |
3971 |
|
|
3974 |
case $host in |
case $host in |
3975 |
*-*-irix6*) |
*-*-irix6*) |
3976 |
# Find out which ABI we are using. |
# Find out which ABI we are using. |
3977 |
echo '#line 2120 "configure"' > conftest.$ac_ext |
echo '#line 3977 "configure"' > conftest.$ac_ext |
3978 |
if { (eval echo configure:2121: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3979 |
|
(eval $ac_compile) 2>&5 |
3980 |
|
ac_status=$? |
3981 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3982 |
|
(exit $ac_status); }; then |
3983 |
if test "$lt_cv_prog_gnu_ld" = yes; then |
if test "$lt_cv_prog_gnu_ld" = yes; then |
3984 |
case `/usr/bin/file conftest.$ac_objext` in |
case `/usr/bin/file conftest.$ac_objext` in |
3985 |
*32-bit*) |
*32-bit*) |
4012 |
ia64-*-hpux*) |
ia64-*-hpux*) |
4013 |
# Find out which ABI we are using. |
# Find out which ABI we are using. |
4014 |
echo 'int i;' > conftest.$ac_ext |
echo 'int i;' > conftest.$ac_ext |
4015 |
if { (eval echo configure:2154: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4016 |
|
(eval $ac_compile) 2>&5 |
4017 |
|
ac_status=$? |
4018 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4019 |
|
(exit $ac_status); }; then |
4020 |
case "`/usr/bin/file conftest.o`" in |
case "`/usr/bin/file conftest.o`" in |
4021 |
*ELF-32*) |
*ELF-32*) |
4022 |
HPUX_IA64_MODE="32" |
HPUX_IA64_MODE="32" |
4033 |
# On SCO OpenServer 5, we need -belf to get full-featured binaries. |
# On SCO OpenServer 5, we need -belf to get full-featured binaries. |
4034 |
SAVE_CFLAGS="$CFLAGS" |
SAVE_CFLAGS="$CFLAGS" |
4035 |
CFLAGS="$CFLAGS -belf" |
CFLAGS="$CFLAGS -belf" |
4036 |
echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5 |
4037 |
echo "configure:2172: checking whether the C compiler needs -belf" >&5 |
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6 |
4038 |
if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then |
if test "${lt_cv_cc_needs_belf+set}" = set; then |
4039 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4040 |
else |
else |
4041 |
|
|
4042 |
|
|
4043 |
ac_ext=c |
ac_ext=c |
|
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. |
|
4044 |
ac_cpp='$CPP $CPPFLAGS' |
ac_cpp='$CPP $CPPFLAGS' |
4045 |
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
4046 |
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
4047 |
cross_compiling=$ac_cv_prog_cc_cross |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
4048 |
|
|
4049 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
4050 |
#line 2185 "configure" |
/* confdefs.h. */ |
4051 |
#include "confdefs.h" |
_ACEOF |
4052 |
|
cat confdefs.h >>conftest.$ac_ext |
4053 |
|
cat >>conftest.$ac_ext <<_ACEOF |
4054 |
|
/* end confdefs.h. */ |
4055 |
|
|
4056 |
int main() { |
int |
4057 |
|
main () |
4058 |
|
{ |
4059 |
|
|
4060 |
; return 0; } |
; |
4061 |
EOF |
return 0; |
4062 |
if { (eval echo configure:2192: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
} |
4063 |
rm -rf conftest* |
_ACEOF |
4064 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
4065 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
4066 |
|
(eval $ac_link) 2>conftest.er1 |
4067 |
|
ac_status=$? |
4068 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
4069 |
|
rm -f conftest.er1 |
4070 |
|
cat conftest.err >&5 |
4071 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4072 |
|
(exit $ac_status); } && |
4073 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
4074 |
|
|| test ! -s conftest.err' |
4075 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4076 |
|
(eval $ac_try) 2>&5 |
4077 |
|
ac_status=$? |
4078 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4079 |
|
(exit $ac_status); }; } && |
4080 |
|
{ ac_try='test -s conftest$ac_exeext' |
4081 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4082 |
|
(eval $ac_try) 2>&5 |
4083 |
|
ac_status=$? |
4084 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4085 |
|
(exit $ac_status); }; }; then |
4086 |
lt_cv_cc_needs_belf=yes |
lt_cv_cc_needs_belf=yes |
4087 |
else |
else |
4088 |
echo "configure: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
4089 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
4090 |
rm -rf conftest* |
|
4091 |
lt_cv_cc_needs_belf=no |
lt_cv_cc_needs_belf=no |
4092 |
fi |
fi |
4093 |
rm -f conftest* |
rm -f conftest.err conftest.$ac_objext \ |
4094 |
|
conftest$ac_exeext conftest.$ac_ext |
4095 |
ac_ext=c |
ac_ext=c |
|
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. |
|
4096 |
ac_cpp='$CPP $CPPFLAGS' |
ac_cpp='$CPP $CPPFLAGS' |
4097 |
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
4098 |
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
4099 |
cross_compiling=$ac_cv_prog_cc_cross |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
4100 |
|
|
4101 |
fi |
fi |
4102 |
|
echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5 |
4103 |
echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6 |
echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6 |
4104 |
if test x"$lt_cv_cc_needs_belf" != x"yes"; then |
if test x"$lt_cv_cc_needs_belf" != x"yes"; then |
4105 |
# this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf |
# this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf |
4106 |
CFLAGS="$SAVE_CFLAGS" |
CFLAGS="$SAVE_CFLAGS" |
4112 |
|
|
4113 |
|
|
4114 |
# Save cache, so that ltconfig can load it |
# Save cache, so that ltconfig can load it |
4115 |
cat > confcache <<\EOF |
cat >confcache <<\_ACEOF |
4116 |
# This file is a shell script that caches the results of configure |
# This file is a shell script that caches the results of configure |
4117 |
# tests run on this system so they can be shared between configure |
# tests run on this system so they can be shared between configure |
4118 |
# scripts and configure runs. It is not useful on other systems. |
# scripts and configure runs, see configure's option --config-cache. |
4119 |
# If it contains results you don't want to keep, you may remove or edit it. |
# It is not useful on other systems. If it contains results you don't |
4120 |
|
# want to keep, you may remove or edit it. |
4121 |
# |
# |
4122 |
# By default, configure uses ./config.cache as the cache file, |
# config.status only pays attention to the cache file if you give it |
4123 |
# creating it if it does not exist already. You can give configure |
# the --recheck option to rerun configure. |
|
# the --cache-file=FILE option to use a different cache file; that is |
|
|
# what configure does when it calls configure scripts in |
|
|
# subdirectories, so they share the cache. |
|
|
# Giving --cache-file=/dev/null disables caching, for debugging configure. |
|
|
# config.status only pays attention to the cache file if you give it the |
|
|
# --recheck option to rerun configure. |
|
4124 |
# |
# |
4125 |
EOF |
# `ac_cv_env_foo' variables (set or unset) will be overridden when |
4126 |
|
# loading this file, other *unset* `ac_cv_foo' will be assigned the |
4127 |
|
# following values. |
4128 |
|
|
4129 |
|
_ACEOF |
4130 |
|
|
4131 |
# The following way of writing the cache mishandles newlines in values, |
# The following way of writing the cache mishandles newlines in values, |
4132 |
# but we know of no workaround that is simple, portable, and efficient. |
# but we know of no workaround that is simple, portable, and efficient. |
4133 |
# So, don't put newlines in cache variables' values. |
# So, don't put newlines in cache variables' values. |
4134 |
# Ultrix sh set writes to stderr and can't be redirected directly, |
# Ultrix sh set writes to stderr and can't be redirected directly, |
4135 |
# and sets the high bit in the cache file unless we assign to the vars. |
# and sets the high bit in the cache file unless we assign to the vars. |
4136 |
(set) 2>&1 | |
{ |
4137 |
case `(ac_space=' '; set | grep ac_space) 2>&1` in |
(set) 2>&1 | |
4138 |
*ac_space=\ *) |
case `(ac_space=' '; set | grep ac_space) 2>&1` in |
4139 |
# `set' does not quote correctly, so add quotes (double-quote substitution |
*ac_space=\ *) |
4140 |
# turns \\\\ into \\, and sed turns \\ into \). |
# `set' does not quote correctly, so add quotes (double-quote |
4141 |
sed -n \ |
# substitution turns \\\\ into \\, and sed turns \\ into \). |
4142 |
-e "s/'/'\\\\''/g" \ |
sed -n \ |
4143 |
-e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p" |
"s/'/'\\\\''/g; |
4144 |
;; |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
4145 |
*) |
;; |
4146 |
# `set' quotes correctly as required by POSIX, so do not add quotes. |
*) |
4147 |
sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p' |
# `set' quotes correctly as required by POSIX, so do not add quotes. |
4148 |
;; |
sed -n \ |
4149 |
esac >> confcache |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
4150 |
if cmp -s $cache_file confcache; then |
;; |
4151 |
: |
esac; |
4152 |
else |
} | |
4153 |
|
sed ' |
4154 |
|
t clear |
4155 |
|
: clear |
4156 |
|
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ |
4157 |
|
t end |
4158 |
|
/^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
4159 |
|
: end' >>confcache |
4160 |
|
if diff $cache_file confcache >/dev/null 2>&1; then :; else |
4161 |
if test -w $cache_file; then |
if test -w $cache_file; then |
4162 |
echo "updating cache $cache_file" |
test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" |
4163 |
cat confcache > $cache_file |
cat confcache >$cache_file |
4164 |
else |
else |
4165 |
echo "not updating unwritable cache $cache_file" |
echo "not updating unwritable cache $cache_file" |
4166 |
fi |
fi |
4167 |
fi |
fi |
4168 |
rm -f confcache |
rm -f confcache |
4169 |
|
|
|
|
|
4170 |
# Actually configure libtool. ac_aux_dir is where install-sh is found. |
# Actually configure libtool. ac_aux_dir is where install-sh is found. |
4171 |
AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \ |
AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \ |
4172 |
MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \ |
MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \ |
4176 |
deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \ |
deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \ |
4177 |
${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \ |
${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \ |
4178 |
$libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \ |
$libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \ |
4179 |
|| { echo "configure: error: libtool configure failed" 1>&2; exit 1; } |
|| { { echo "$as_me:$LINENO: error: libtool configure failed" >&5 |
4180 |
|
echo "$as_me: error: libtool configure failed" >&2;} |
4181 |
|
{ (exit 1); exit 1; }; } |
4182 |
|
|
4183 |
# Reload cache, that may have been modified by ltconfig |
# Reload cache, that may have been modified by ltconfig |
4184 |
if test -r "$cache_file"; then |
if test -r "$cache_file"; then |
4185 |
echo "loading cache $cache_file" |
# Some versions of bash will fail to source /dev/null (special |
4186 |
. $cache_file |
# files actually), so we avoid doing that. |
4187 |
|
if test -f "$cache_file"; then |
4188 |
|
{ echo "$as_me:$LINENO: loading cache $cache_file" >&5 |
4189 |
|
echo "$as_me: loading cache $cache_file" >&6;} |
4190 |
|
case $cache_file in |
4191 |
|
[\\/]* | ?:[\\/]* ) . $cache_file;; |
4192 |
|
*) . ./$cache_file;; |
4193 |
|
esac |
4194 |
|
fi |
4195 |
else |
else |
4196 |
echo "creating cache $cache_file" |
{ echo "$as_me:$LINENO: creating cache $cache_file" >&5 |
4197 |
> $cache_file |
echo "$as_me: creating cache $cache_file" >&6;} |
4198 |
|
>$cache_file |
4199 |
fi |
fi |
4200 |
|
|
4201 |
|
|
4209 |
# clobbered by the next message. |
# clobbered by the next message. |
4210 |
exec 5>>./config.log |
exec 5>>./config.log |
4211 |
|
|
|
|
|
4212 |
|
|
4213 |
|
|
4214 |
|
|
4215 |
|
|
4216 |
|
|
4217 |
|
|
4218 |
# Check whether --enable-64-bit-bfd or --disable-64-bit-bfd was given. |
# Check whether --enable-64-bit-bfd or --disable-64-bit-bfd was given. |
4219 |
if test "${enable_64_bit_bfd+set}" = set; then |
if test "${enable_64_bit_bfd+set}" = set; then |
4221 |
case "${enableval}" in |
case "${enableval}" in |
4222 |
yes) want64=true ;; |
yes) want64=true ;; |
4223 |
no) want64=false ;; |
no) want64=false ;; |
4224 |
*) { echo "configure: error: bad value ${enableval} for 64-bit-bfd option" 1>&2; exit 1; } ;; |
*) { { echo "$as_me:$LINENO: error: bad value ${enableval} for 64-bit-bfd option" >&5 |
4225 |
|
echo "$as_me: error: bad value ${enableval} for 64-bit-bfd option" >&2;} |
4226 |
|
{ (exit 1); exit 1; }; } ;; |
4227 |
esac |
esac |
4228 |
else |
else |
4229 |
want64=false |
want64=false |
4230 |
fi |
fi; # Check whether --enable-targets or --disable-targets was given. |
|
# Check whether --enable-targets or --disable-targets was given. |
|
4231 |
if test "${enable_targets+set}" = set; then |
if test "${enable_targets+set}" = set; then |
4232 |
enableval="$enable_targets" |
enableval="$enable_targets" |
4233 |
case "${enableval}" in |
case "${enableval}" in |
4234 |
yes | "") { echo "configure: error: enable-targets option must specify target names or 'all'" 1>&2; exit 1; } |
yes | "") { { echo "$as_me:$LINENO: error: enable-targets option must specify target names or 'all'" >&5 |
4235 |
|
echo "$as_me: error: enable-targets option must specify target names or 'all'" >&2;} |
4236 |
|
{ (exit 1); exit 1; }; } |
4237 |
;; |
;; |
4238 |
no) enable_targets= ;; |
no) enable_targets= ;; |
4239 |
*) enable_targets=$enableval ;; |
*) enable_targets=$enableval ;; |
4240 |
esac |
esac |
4241 |
fi |
fi; # Check whether --enable-commonbfdlib or --disable-commonbfdlib was given. |
|
# Check whether --enable-commonbfdlib or --disable-commonbfdlib was given. |
|
4242 |
if test "${enable_commonbfdlib+set}" = set; then |
if test "${enable_commonbfdlib+set}" = set; then |
4243 |
enableval="$enable_commonbfdlib" |
enableval="$enable_commonbfdlib" |
4244 |
case "${enableval}" in |
case "${enableval}" in |
4245 |
yes) commonbfdlib=true ;; |
yes) commonbfdlib=true ;; |
4246 |
no) commonbfdlib=false ;; |
no) commonbfdlib=false ;; |
4247 |
*) { echo "configure: error: bad value ${enableval} for BFD commonbfdlib option" 1>&2; exit 1; } ;; |
*) { { echo "$as_me:$LINENO: error: bad value ${enableval} for BFD commonbfdlib option" >&5 |
4248 |
|
echo "$as_me: error: bad value ${enableval} for BFD commonbfdlib option" >&2;} |
4249 |
|
{ (exit 1); exit 1; }; } ;; |
4250 |
esac |
esac |
4251 |
fi |
fi; |
4252 |
# Check whether --with-mmap or --without-mmap was given. |
# Check whether --with-mmap or --without-mmap was given. |
4253 |
if test "${with_mmap+set}" = set; then |
if test "${with_mmap+set}" = set; then |
4254 |
withval="$with_mmap" |
withval="$with_mmap" |
4255 |
case "${withval}" in |
case "${withval}" in |
4256 |
yes) want_mmap=true ;; |
yes) want_mmap=true ;; |
4257 |
no) want_mmap=false ;; |
no) want_mmap=false ;; |
4258 |
*) { echo "configure: error: bad value ${withval} for BFD with-mmap option" 1>&2; exit 1; } ;; |
*) { { echo "$as_me:$LINENO: error: bad value ${withval} for BFD with-mmap option" >&5 |
4259 |
|
echo "$as_me: error: bad value ${withval} for BFD with-mmap option" >&2;} |
4260 |
|
{ (exit 1); exit 1; }; } ;; |
4261 |
esac |
esac |
4262 |
else |
else |
4263 |
want_mmap=false |
want_mmap=false |
4264 |
fi |
fi; |
|
|
|
4265 |
build_warnings="-W -Wall -Wstrict-prototypes -Wmissing-prototypes" |
build_warnings="-W -Wall -Wstrict-prototypes -Wmissing-prototypes" |
4266 |
# Check whether --enable-build-warnings or --disable-build-warnings was given. |
# Check whether --enable-build-warnings or --disable-build-warnings was given. |
4267 |
if test "${enable_build_warnings+set}" = set; then |
if test "${enable_build_warnings+set}" = set; then |
4278 |
if test x"$silent" != x"yes" && test x"$build_warnings" != x""; then |
if test x"$silent" != x"yes" && test x"$build_warnings" != x""; then |
4279 |
echo "Setting warning flags = $build_warnings" 6>&1 |
echo "Setting warning flags = $build_warnings" 6>&1 |
4280 |
fi |
fi |
4281 |
fi |
fi; WARN_CFLAGS="" |
4282 |
WARN_CFLAGS="" |
if test "x${build_warnings}" != x && test "x$GCC" = xyes ; then |
|
if test "x${build_warnings}" != x -a "x$GCC" = xyes ; then |
|
4283 |
WARN_CFLAGS="${build_warnings}" |
WARN_CFLAGS="${build_warnings}" |
4284 |
fi |
fi |
4285 |
|
|
4286 |
|
|
4287 |
|
ac_config_headers="$ac_config_headers config.h:config.in" |
|
|
|
4288 |
|
|
4289 |
|
|
4290 |
if test -z "$target" ; then |
if test -z "$target" ; then |
4291 |
{ echo "configure: error: Unrecognized target system type; please check config.sub." 1>&2; exit 1; } |
{ { echo "$as_me:$LINENO: error: Unrecognized target system type; please check config.sub." >&5 |
4292 |
|
echo "$as_me: error: Unrecognized target system type; please check config.sub." >&2;} |
4293 |
|
{ (exit 1); exit 1; }; } |
4294 |
fi |
fi |
4295 |
|
|
4296 |
echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5 |
4297 |
echo "configure:2382: checking whether to enable maintainer-specific portions of Makefiles" >&5 |
echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6 |
4298 |
# Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. |
# Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. |
4299 |
if test "${enable_maintainer_mode+set}" = set; then |
if test "${enable_maintainer_mode+set}" = set; then |
4300 |
enableval="$enable_maintainer_mode" |
enableval="$enable_maintainer_mode" |
4301 |
USE_MAINTAINER_MODE=$enableval |
USE_MAINTAINER_MODE=$enableval |
4302 |
else |
else |
4303 |
USE_MAINTAINER_MODE=no |
USE_MAINTAINER_MODE=no |
4304 |
fi |
fi; |
4305 |
|
echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5 |
4306 |
|
echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6 |
4307 |
|
|
|
echo "$ac_t""$USE_MAINTAINER_MODE" 1>&6 |
|
|
|
|
4308 |
|
|
4309 |
if test $USE_MAINTAINER_MODE = yes; then |
if test $USE_MAINTAINER_MODE = yes; then |
4310 |
MAINTAINER_MODE_TRUE= |
MAINTAINER_MODE_TRUE= |
4313 |
MAINTAINER_MODE_TRUE='#' |
MAINTAINER_MODE_TRUE='#' |
4314 |
MAINTAINER_MODE_FALSE= |
MAINTAINER_MODE_FALSE= |
4315 |
fi |
fi |
4316 |
|
|
4317 |
MAINT=$MAINTAINER_MODE_TRUE |
MAINT=$MAINTAINER_MODE_TRUE |
|
|
|
4318 |
|
|
4319 |
echo $ac_n "checking whether to install libbfd""... $ac_c" 1>&6 |
|
4320 |
echo "configure:2405: checking whether to install libbfd" >&5 |
case ${build_alias} in |
4321 |
|
"") build_noncanonical=${build} ;; |
4322 |
|
*) build_noncanonical=${build_alias} ;; |
4323 |
|
esac |
4324 |
|
|
4325 |
|
case ${host_alias} in |
4326 |
|
"") host_noncanonical=${build_noncanonical} ;; |
4327 |
|
*) host_noncanonical=${host_alias} ;; |
4328 |
|
esac |
4329 |
|
|
4330 |
|
case ${target_alias} in |
4331 |
|
"") target_noncanonical=${host_noncanonical} ;; |
4332 |
|
*) target_noncanonical=${target_alias} ;; |
4333 |
|
esac |
4334 |
|
|
4335 |
|
echo "$as_me:$LINENO: checking whether to install libbfd" >&5 |
4336 |
|
echo $ECHO_N "checking whether to install libbfd... $ECHO_C" >&6 |
4337 |
# Check whether --enable-install-libbfd or --disable-install-libbfd was given. |
# Check whether --enable-install-libbfd or --disable-install-libbfd was given. |
4338 |
if test "${enable_install_libbfd+set}" = set; then |
if test "${enable_install_libbfd+set}" = set; then |
4339 |
enableval="$enable_install_libbfd" |
enableval="$enable_install_libbfd" |
4340 |
install_libbfd_p=$enableval |
install_libbfd_p=$enableval |
4341 |
else |
else |
4342 |
if test "${host}" = "${target}" -o "$enable_shared" = "yes"; then |
if test "${host}" = "${target}" || test "$enable_shared" = "yes"; then |
4343 |
install_libbfd_p=yes |
install_libbfd_p=yes |
4344 |
else |
else |
4345 |
install_libbfd_p=no |
install_libbfd_p=no |
4346 |
fi |
fi |
4347 |
fi |
fi; |
4348 |
|
echo "$as_me:$LINENO: result: $install_libbfd_p" >&5 |
4349 |
|
echo "${ECHO_T}$install_libbfd_p" >&6 |
4350 |
|
|
|
echo "$ac_t""$install_libbfd_p" 1>&6 |
|
|
|
|
4351 |
|
|
4352 |
if test $install_libbfd_p = yes; then |
if test $install_libbfd_p = yes; then |
4353 |
INSTALL_LIBBFD_TRUE= |
INSTALL_LIBBFD_TRUE= |
4356 |
INSTALL_LIBBFD_TRUE='#' |
INSTALL_LIBBFD_TRUE='#' |
4357 |
INSTALL_LIBBFD_FALSE= |
INSTALL_LIBBFD_FALSE= |
4358 |
fi |
fi |
4359 |
|
|
4360 |
|
# Need _noncanonical variables for this. |
4361 |
|
|
4362 |
|
|
4363 |
|
|
4364 |
|
|
4365 |
# libbfd.a is a host library containing target dependent code |
# libbfd.a is a host library containing target dependent code |
4366 |
bfdlibdir='$(libdir)' |
bfdlibdir='$(libdir)' |
4367 |
bfdincludedir='$(includedir)' |
bfdincludedir='$(includedir)' |
4368 |
if test "${host}" != "${target}"; then |
if test "${host}" != "${target}"; then |
4369 |
bfdlibdir='$(exec_prefix)/$(host_alias)/$(target_alias)/lib' |
bfdlibdir='$(exec_prefix)/$(host_noncanonical)/$(target_noncanonical)/lib' |
4370 |
bfdincludedir='$(exec_prefix)/$(host_alias)/$(target_alias)/include' |
bfdincludedir='$(exec_prefix)/$(host_noncanonical)/$(target_noncanonical)/include' |
4371 |
fi |
fi |
|
|
|
|
|
|
4372 |
|
|
4373 |
|
|
4374 |
|
|
4375 |
|
|
|
echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 |
|
|
echo "configure:2442: checking for executable suffix" >&5 |
|
|
if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then |
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
else |
|
|
if test "$CYGWIN" = yes || test "$MINGW32" = yes; then |
|
|
ac_cv_exeext=.exe |
|
|
else |
|
|
rm -f conftest* |
|
|
echo 'int main () { return 0; }' > conftest.$ac_ext |
|
|
ac_cv_exeext= |
|
|
if { (eval echo configure:2452: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then |
|
|
for file in conftest.*; do |
|
|
case $file in |
|
|
*.$ac_ext | *.c | *.o | *.obj) ;; |
|
|
*) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;; |
|
|
esac |
|
|
done |
|
|
else |
|
|
{ echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; } |
|
|
fi |
|
|
rm -f conftest* |
|
|
test x"${ac_cv_exeext}" = x && ac_cv_exeext=no |
|
|
fi |
|
|
fi |
|
|
|
|
|
EXEEXT="" |
|
|
test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext} |
|
|
echo "$ac_t""${ac_cv_exeext}" 1>&6 |
|
|
ac_exeext=$EXEEXT |
|
4376 |
|
|
4377 |
|
|
4378 |
host64=false |
host64=false |
4381 |
|
|
4382 |
# host stuff: |
# host stuff: |
4383 |
|
|
4384 |
# Extract the first word of "gcc", so it can be a program name with args. |
ac_ext=c |
4385 |
|
ac_cpp='$CPP $CPPFLAGS' |
4386 |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
4387 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
4388 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
4389 |
|
if test -n "$ac_tool_prefix"; then |
4390 |
|
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
4391 |
|
set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
4392 |
|
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
4393 |
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
4394 |
|
if test "${ac_cv_prog_CC+set}" = set; then |
4395 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4396 |
|
else |
4397 |
|
if test -n "$CC"; then |
4398 |
|
ac_cv_prog_CC="$CC" # Let the user override the test. |
4399 |
|
else |
4400 |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
4401 |
|
for as_dir in $PATH |
4402 |
|
do |
4403 |
|
IFS=$as_save_IFS |
4404 |
|
test -z "$as_dir" && as_dir=. |
4405 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
4406 |
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
4407 |
|
ac_cv_prog_CC="${ac_tool_prefix}gcc" |
4408 |
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4409 |
|
break 2 |
4410 |
|
fi |
4411 |
|
done |
4412 |
|
done |
4413 |
|
|
4414 |
|
fi |
4415 |
|
fi |
4416 |
|
CC=$ac_cv_prog_CC |
4417 |
|
if test -n "$CC"; then |
4418 |
|
echo "$as_me:$LINENO: result: $CC" >&5 |
4419 |
|
echo "${ECHO_T}$CC" >&6 |
4420 |
|
else |
4421 |
|
echo "$as_me:$LINENO: result: no" >&5 |
4422 |
|
echo "${ECHO_T}no" >&6 |
4423 |
|
fi |
4424 |
|
|
4425 |
|
fi |
4426 |
|
if test -z "$ac_cv_prog_CC"; then |
4427 |
|
ac_ct_CC=$CC |
4428 |
|
# Extract the first word of "gcc", so it can be a program name with args. |
4429 |
set dummy gcc; ac_word=$2 |
set dummy gcc; ac_word=$2 |
4430 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
4431 |
echo "configure:2482: checking for $ac_word" >&5 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
4432 |
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
4433 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4434 |
|
else |
4435 |
|
if test -n "$ac_ct_CC"; then |
4436 |
|
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
4437 |
|
else |
4438 |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
4439 |
|
for as_dir in $PATH |
4440 |
|
do |
4441 |
|
IFS=$as_save_IFS |
4442 |
|
test -z "$as_dir" && as_dir=. |
4443 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
4444 |
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
4445 |
|
ac_cv_prog_ac_ct_CC="gcc" |
4446 |
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4447 |
|
break 2 |
4448 |
|
fi |
4449 |
|
done |
4450 |
|
done |
4451 |
|
|
4452 |
|
fi |
4453 |
|
fi |
4454 |
|
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
4455 |
|
if test -n "$ac_ct_CC"; then |
4456 |
|
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
4457 |
|
echo "${ECHO_T}$ac_ct_CC" >&6 |
4458 |
|
else |
4459 |
|
echo "$as_me:$LINENO: result: no" >&5 |
4460 |
|
echo "${ECHO_T}no" >&6 |
4461 |
|
fi |
4462 |
|
|
4463 |
|
CC=$ac_ct_CC |
4464 |
|
else |
4465 |
|
CC="$ac_cv_prog_CC" |
4466 |
|
fi |
4467 |
|
|
4468 |
|
if test -z "$CC"; then |
4469 |
|
if test -n "$ac_tool_prefix"; then |
4470 |
|
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
4471 |
|
set dummy ${ac_tool_prefix}cc; ac_word=$2 |
4472 |
|
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
4473 |
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
4474 |
|
if test "${ac_cv_prog_CC+set}" = set; then |
4475 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4476 |
else |
else |
4477 |
if test -n "$CC"; then |
if test -n "$CC"; then |
4478 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
ac_cv_prog_CC="$CC" # Let the user override the test. |
4479 |
else |
else |
4480 |
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
4481 |
ac_dummy="$PATH" |
for as_dir in $PATH |
4482 |
for ac_dir in $ac_dummy; do |
do |
4483 |
test -z "$ac_dir" && ac_dir=. |
IFS=$as_save_IFS |
4484 |
if test -f $ac_dir/$ac_word; then |
test -z "$as_dir" && as_dir=. |
4485 |
ac_cv_prog_CC="gcc" |
for ac_exec_ext in '' $ac_executable_extensions; do |
4486 |
break |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
4487 |
fi |
ac_cv_prog_CC="${ac_tool_prefix}cc" |
4488 |
done |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4489 |
IFS="$ac_save_ifs" |
break 2 |
4490 |
|
fi |
4491 |
|
done |
4492 |
|
done |
4493 |
|
|
4494 |
fi |
fi |
4495 |
fi |
fi |
4496 |
CC="$ac_cv_prog_CC" |
CC=$ac_cv_prog_CC |
4497 |
if test -n "$CC"; then |
if test -n "$CC"; then |
4498 |
echo "$ac_t""$CC" 1>&6 |
echo "$as_me:$LINENO: result: $CC" >&5 |
4499 |
|
echo "${ECHO_T}$CC" >&6 |
4500 |
|
else |
4501 |
|
echo "$as_me:$LINENO: result: no" >&5 |
4502 |
|
echo "${ECHO_T}no" >&6 |
4503 |
|
fi |
4504 |
|
|
4505 |
|
fi |
4506 |
|
if test -z "$ac_cv_prog_CC"; then |
4507 |
|
ac_ct_CC=$CC |
4508 |
|
# Extract the first word of "cc", so it can be a program name with args. |
4509 |
|
set dummy cc; ac_word=$2 |
4510 |
|
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
4511 |
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
4512 |
|
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
4513 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4514 |
|
else |
4515 |
|
if test -n "$ac_ct_CC"; then |
4516 |
|
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
4517 |
|
else |
4518 |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
4519 |
|
for as_dir in $PATH |
4520 |
|
do |
4521 |
|
IFS=$as_save_IFS |
4522 |
|
test -z "$as_dir" && as_dir=. |
4523 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
4524 |
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
4525 |
|
ac_cv_prog_ac_ct_CC="cc" |
4526 |
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4527 |
|
break 2 |
4528 |
|
fi |
4529 |
|
done |
4530 |
|
done |
4531 |
|
|
4532 |
|
fi |
4533 |
|
fi |
4534 |
|
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
4535 |
|
if test -n "$ac_ct_CC"; then |
4536 |
|
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
4537 |
|
echo "${ECHO_T}$ac_ct_CC" >&6 |
4538 |
else |
else |
4539 |
echo "$ac_t""no" 1>&6 |
echo "$as_me:$LINENO: result: no" >&5 |
4540 |
|
echo "${ECHO_T}no" >&6 |
4541 |
fi |
fi |
4542 |
|
|
4543 |
|
CC=$ac_ct_CC |
4544 |
|
else |
4545 |
|
CC="$ac_cv_prog_CC" |
4546 |
|
fi |
4547 |
|
|
4548 |
|
fi |
4549 |
if test -z "$CC"; then |
if test -z "$CC"; then |
4550 |
# Extract the first word of "cc", so it can be a program name with args. |
# Extract the first word of "cc", so it can be a program name with args. |
4551 |
set dummy cc; ac_word=$2 |
set dummy cc; ac_word=$2 |
4552 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
4553 |
echo "configure:2512: checking for $ac_word" >&5 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
4554 |
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
if test "${ac_cv_prog_CC+set}" = set; then |
4555 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4556 |
else |
else |
4557 |
if test -n "$CC"; then |
if test -n "$CC"; then |
4558 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
ac_cv_prog_CC="$CC" # Let the user override the test. |
4559 |
else |
else |
|
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
|
4560 |
ac_prog_rejected=no |
ac_prog_rejected=no |
4561 |
ac_dummy="$PATH" |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
4562 |
for ac_dir in $ac_dummy; do |
for as_dir in $PATH |
4563 |
test -z "$ac_dir" && ac_dir=. |
do |
4564 |
if test -f $ac_dir/$ac_word; then |
IFS=$as_save_IFS |
4565 |
if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then |
test -z "$as_dir" && as_dir=. |
4566 |
ac_prog_rejected=yes |
for ac_exec_ext in '' $ac_executable_extensions; do |
4567 |
continue |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
4568 |
fi |
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
4569 |
ac_cv_prog_CC="cc" |
ac_prog_rejected=yes |
4570 |
break |
continue |
4571 |
fi |
fi |
4572 |
done |
ac_cv_prog_CC="cc" |
4573 |
IFS="$ac_save_ifs" |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4574 |
|
break 2 |
4575 |
|
fi |
4576 |
|
done |
4577 |
|
done |
4578 |
|
|
4579 |
if test $ac_prog_rejected = yes; then |
if test $ac_prog_rejected = yes; then |
4580 |
# We found a bogon in the path, so make sure we never use it. |
# We found a bogon in the path, so make sure we never use it. |
4581 |
set dummy $ac_cv_prog_CC |
set dummy $ac_cv_prog_CC |
4582 |
shift |
shift |
4583 |
if test $# -gt 0; then |
if test $# != 0; then |
4584 |
# We chose a different compiler from the bogus one. |
# We chose a different compiler from the bogus one. |
4585 |
# However, it has the same basename, so the bogon will be chosen |
# However, it has the same basename, so the bogon will be chosen |
4586 |
# first if we set CC to just the basename; use the full file name. |
# first if we set CC to just the basename; use the full file name. |
4587 |
shift |
shift |
4588 |
set dummy "$ac_dir/$ac_word" "$@" |
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
|
shift |
|
|
ac_cv_prog_CC="$@" |
|
4589 |
fi |
fi |
4590 |
fi |
fi |
4591 |
fi |
fi |
4592 |
fi |
fi |
4593 |
CC="$ac_cv_prog_CC" |
CC=$ac_cv_prog_CC |
4594 |
if test -n "$CC"; then |
if test -n "$CC"; then |
4595 |
echo "$ac_t""$CC" 1>&6 |
echo "$as_me:$LINENO: result: $CC" >&5 |
4596 |
|
echo "${ECHO_T}$CC" >&6 |
4597 |
else |
else |
4598 |
echo "$ac_t""no" 1>&6 |
echo "$as_me:$LINENO: result: no" >&5 |
4599 |
|
echo "${ECHO_T}no" >&6 |
4600 |
fi |
fi |
4601 |
|
|
4602 |
if test -z "$CC"; then |
fi |
4603 |
case "`uname -s`" in |
if test -z "$CC"; then |
4604 |
*win32* | *WIN32*) |
if test -n "$ac_tool_prefix"; then |
4605 |
# Extract the first word of "cl", so it can be a program name with args. |
for ac_prog in cl |
4606 |
set dummy cl; ac_word=$2 |
do |
4607 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
4608 |
echo "configure:2563: checking for $ac_word" >&5 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
4609 |
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
4610 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
4611 |
|
if test "${ac_cv_prog_CC+set}" = set; then |
4612 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4613 |
else |
else |
4614 |
if test -n "$CC"; then |
if test -n "$CC"; then |
4615 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
ac_cv_prog_CC="$CC" # Let the user override the test. |
4616 |
else |
else |
4617 |
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
4618 |
ac_dummy="$PATH" |
for as_dir in $PATH |
4619 |
for ac_dir in $ac_dummy; do |
do |
4620 |
test -z "$ac_dir" && ac_dir=. |
IFS=$as_save_IFS |
4621 |
if test -f $ac_dir/$ac_word; then |
test -z "$as_dir" && as_dir=. |
4622 |
ac_cv_prog_CC="cl" |
for ac_exec_ext in '' $ac_executable_extensions; do |
4623 |
break |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
4624 |
fi |
ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
4625 |
done |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4626 |
IFS="$ac_save_ifs" |
break 2 |
4627 |
|
fi |
4628 |
|
done |
4629 |
|
done |
4630 |
|
|
4631 |
fi |
fi |
4632 |
fi |
fi |
4633 |
CC="$ac_cv_prog_CC" |
CC=$ac_cv_prog_CC |
4634 |
if test -n "$CC"; then |
if test -n "$CC"; then |
4635 |
echo "$ac_t""$CC" 1>&6 |
echo "$as_me:$LINENO: result: $CC" >&5 |
4636 |
|
echo "${ECHO_T}$CC" >&6 |
4637 |
else |
else |
4638 |
echo "$ac_t""no" 1>&6 |
echo "$as_me:$LINENO: result: no" >&5 |
4639 |
|
echo "${ECHO_T}no" >&6 |
4640 |
fi |
fi |
4641 |
;; |
|
4642 |
esac |
test -n "$CC" && break |
4643 |
|
done |
4644 |
|
fi |
4645 |
|
if test -z "$CC"; then |
4646 |
|
ac_ct_CC=$CC |
4647 |
|
for ac_prog in cl |
4648 |
|
do |
4649 |
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
4650 |
|
set dummy $ac_prog; ac_word=$2 |
4651 |
|
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
4652 |
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
4653 |
|
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
4654 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4655 |
|
else |
4656 |
|
if test -n "$ac_ct_CC"; then |
4657 |
|
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
4658 |
|
else |
4659 |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
4660 |
|
for as_dir in $PATH |
4661 |
|
do |
4662 |
|
IFS=$as_save_IFS |
4663 |
|
test -z "$as_dir" && as_dir=. |
4664 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
4665 |
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
4666 |
|
ac_cv_prog_ac_ct_CC="$ac_prog" |
4667 |
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4668 |
|
break 2 |
4669 |
fi |
fi |
4670 |
test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
done |
4671 |
|
done |
4672 |
|
|
4673 |
|
fi |
4674 |
|
fi |
4675 |
|
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
4676 |
|
if test -n "$ac_ct_CC"; then |
4677 |
|
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
4678 |
|
echo "${ECHO_T}$ac_ct_CC" >&6 |
4679 |
|
else |
4680 |
|
echo "$as_me:$LINENO: result: no" >&5 |
4681 |
|
echo "${ECHO_T}no" >&6 |
4682 |
fi |
fi |
4683 |
|
|
4684 |
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
test -n "$ac_ct_CC" && break |
4685 |
echo "configure:2595: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
done |
4686 |
|
|
4687 |
ac_ext=c |
CC=$ac_ct_CC |
4688 |
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. |
fi |
|
ac_cpp='$CPP $CPPFLAGS' |
|
|
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' |
|
|
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' |
|
|
cross_compiling=$ac_cv_prog_cc_cross |
|
4689 |
|
|
4690 |
cat > conftest.$ac_ext << EOF |
fi |
4691 |
|
|
|
#line 2606 "configure" |
|
|
#include "confdefs.h" |
|
4692 |
|
|
4693 |
main(){return(0);} |
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH |
4694 |
EOF |
See \`config.log' for more details." >&5 |
4695 |
if { (eval echo configure:2611: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
echo "$as_me: error: no acceptable C compiler found in \$PATH |
4696 |
ac_cv_prog_cc_works=yes |
See \`config.log' for more details." >&2;} |
4697 |
# If we can't run a trivial program, we are probably using a cross compiler. |
{ (exit 1); exit 1; }; } |
4698 |
if (./conftest; exit) 2>/dev/null; then |
|
4699 |
ac_cv_prog_cc_cross=no |
# Provide some information about the compiler. |
4700 |
else |
echo "$as_me:$LINENO:" \ |
4701 |
ac_cv_prog_cc_cross=yes |
"checking for C compiler version" >&5 |
4702 |
fi |
ac_compiler=`set X $ac_compile; echo $2` |
4703 |
else |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 |
4704 |
echo "configure: failed program was:" >&5 |
(eval $ac_compiler --version </dev/null >&5) 2>&5 |
4705 |
cat conftest.$ac_ext >&5 |
ac_status=$? |
4706 |
ac_cv_prog_cc_works=no |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4707 |
fi |
(exit $ac_status); } |
4708 |
rm -fr conftest* |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 |
4709 |
ac_ext=c |
(eval $ac_compiler -v </dev/null >&5) 2>&5 |
4710 |
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. |
ac_status=$? |
4711 |
ac_cpp='$CPP $CPPFLAGS' |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4712 |
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' |
(exit $ac_status); } |
4713 |
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 |
4714 |
cross_compiling=$ac_cv_prog_cc_cross |
(eval $ac_compiler -V </dev/null >&5) 2>&5 |
4715 |
|
ac_status=$? |
4716 |
echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4717 |
if test $ac_cv_prog_cc_works = no; then |
(exit $ac_status); } |
4718 |
{ echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
|
4719 |
fi |
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 |
4720 |
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 |
4721 |
echo "configure:2637: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
if test "${ac_cv_c_compiler_gnu+set}" = set; then |
4722 |
echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4723 |
cross_compiling=$ac_cv_prog_cc_cross |
else |
4724 |
|
cat >conftest.$ac_ext <<_ACEOF |
4725 |
echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
/* confdefs.h. */ |
4726 |
echo "configure:2642: checking whether we are using GNU C" >&5 |
_ACEOF |
4727 |
if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then |
cat confdefs.h >>conftest.$ac_ext |
4728 |
echo $ac_n "(cached) $ac_c" 1>&6 |
cat >>conftest.$ac_ext <<_ACEOF |
4729 |
else |
/* end confdefs.h. */ |
4730 |
cat > conftest.c <<EOF |
|
4731 |
#ifdef __GNUC__ |
int |
4732 |
yes; |
main () |
4733 |
|
{ |
4734 |
|
#ifndef __GNUC__ |
4735 |
|
choke me |
4736 |
#endif |
#endif |
|
EOF |
|
|
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2651: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
|
|
ac_cv_prog_gcc=yes |
|
|
else |
|
|
ac_cv_prog_gcc=no |
|
|
fi |
|
|
fi |
|
4737 |
|
|
4738 |
echo "$ac_t""$ac_cv_prog_gcc" 1>&6 |
; |
4739 |
|
return 0; |
4740 |
|
} |
4741 |
|
_ACEOF |
4742 |
|
rm -f conftest.$ac_objext |
4743 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4744 |
|
(eval $ac_compile) 2>conftest.er1 |
4745 |
|
ac_status=$? |
4746 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
4747 |
|
rm -f conftest.er1 |
4748 |
|
cat conftest.err >&5 |
4749 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4750 |
|
(exit $ac_status); } && |
4751 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
4752 |
|
|| test ! -s conftest.err' |
4753 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4754 |
|
(eval $ac_try) 2>&5 |
4755 |
|
ac_status=$? |
4756 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4757 |
|
(exit $ac_status); }; } && |
4758 |
|
{ ac_try='test -s conftest.$ac_objext' |
4759 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4760 |
|
(eval $ac_try) 2>&5 |
4761 |
|
ac_status=$? |
4762 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4763 |
|
(exit $ac_status); }; }; then |
4764 |
|
ac_compiler_gnu=yes |
4765 |
|
else |
4766 |
|
echo "$as_me: failed program was:" >&5 |
4767 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
4768 |
|
|
4769 |
|
ac_compiler_gnu=no |
4770 |
|
fi |
4771 |
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
4772 |
|
ac_cv_c_compiler_gnu=$ac_compiler_gnu |
4773 |
|
|
4774 |
|
fi |
4775 |
|
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
4776 |
|
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 |
4777 |
|
GCC=`test $ac_compiler_gnu = yes && echo yes` |
4778 |
|
ac_test_CFLAGS=${CFLAGS+set} |
4779 |
|
ac_save_CFLAGS=$CFLAGS |
4780 |
|
CFLAGS="-g" |
4781 |
|
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 |
4782 |
|
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 |
4783 |
|
if test "${ac_cv_prog_cc_g+set}" = set; then |
4784 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4785 |
|
else |
4786 |
|
cat >conftest.$ac_ext <<_ACEOF |
4787 |
|
/* confdefs.h. */ |
4788 |
|
_ACEOF |
4789 |
|
cat confdefs.h >>conftest.$ac_ext |
4790 |
|
cat >>conftest.$ac_ext <<_ACEOF |
4791 |
|
/* end confdefs.h. */ |
4792 |
|
|
4793 |
if test $ac_cv_prog_gcc = yes; then |
int |
4794 |
GCC=yes |
main () |
4795 |
else |
{ |
|
GCC= |
|
|
fi |
|
4796 |
|
|
4797 |
ac_test_CFLAGS="${CFLAGS+set}" |
; |
4798 |
ac_save_CFLAGS="$CFLAGS" |
return 0; |
4799 |
CFLAGS= |
} |
4800 |
echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
_ACEOF |
4801 |
echo "configure:2670: checking whether ${CC-cc} accepts -g" >&5 |
rm -f conftest.$ac_objext |
4802 |
if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4803 |
echo $ac_n "(cached) $ac_c" 1>&6 |
(eval $ac_compile) 2>conftest.er1 |
4804 |
else |
ac_status=$? |
4805 |
echo 'void f(){}' > conftest.c |
grep -v '^ *+' conftest.er1 >conftest.err |
4806 |
if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
rm -f conftest.er1 |
4807 |
|
cat conftest.err >&5 |
4808 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4809 |
|
(exit $ac_status); } && |
4810 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
4811 |
|
|| test ! -s conftest.err' |
4812 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4813 |
|
(eval $ac_try) 2>&5 |
4814 |
|
ac_status=$? |
4815 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4816 |
|
(exit $ac_status); }; } && |
4817 |
|
{ ac_try='test -s conftest.$ac_objext' |
4818 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4819 |
|
(eval $ac_try) 2>&5 |
4820 |
|
ac_status=$? |
4821 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4822 |
|
(exit $ac_status); }; }; then |
4823 |
ac_cv_prog_cc_g=yes |
ac_cv_prog_cc_g=yes |
4824 |
else |
else |
4825 |
ac_cv_prog_cc_g=no |
echo "$as_me: failed program was:" >&5 |
4826 |
fi |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
rm -f conftest* |
|
4827 |
|
|
4828 |
|
ac_cv_prog_cc_g=no |
4829 |
fi |
fi |
4830 |
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
4831 |
echo "$ac_t""$ac_cv_prog_cc_g" 1>&6 |
fi |
4832 |
|
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
4833 |
|
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 |
4834 |
if test "$ac_test_CFLAGS" = set; then |
if test "$ac_test_CFLAGS" = set; then |
4835 |
CFLAGS="$ac_save_CFLAGS" |
CFLAGS=$ac_save_CFLAGS |
4836 |
elif test $ac_cv_prog_cc_g = yes; then |
elif test $ac_cv_prog_cc_g = yes; then |
4837 |
if test "$GCC" = yes; then |
if test "$GCC" = yes; then |
4838 |
CFLAGS="-g -O2" |
CFLAGS="-g -O2" |
4846 |
CFLAGS= |
CFLAGS= |
4847 |
fi |
fi |
4848 |
fi |
fi |
4849 |
|
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 |
4850 |
|
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 |
4851 |
|
if test "${ac_cv_prog_cc_stdc+set}" = set; then |
4852 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4853 |
|
else |
4854 |
|
ac_cv_prog_cc_stdc=no |
4855 |
|
ac_save_CC=$CC |
4856 |
|
cat >conftest.$ac_ext <<_ACEOF |
4857 |
|
/* confdefs.h. */ |
4858 |
|
_ACEOF |
4859 |
|
cat confdefs.h >>conftest.$ac_ext |
4860 |
|
cat >>conftest.$ac_ext <<_ACEOF |
4861 |
|
/* end confdefs.h. */ |
4862 |
|
#include <stdarg.h> |
4863 |
|
#include <stdio.h> |
4864 |
|
#include <sys/types.h> |
4865 |
|
#include <sys/stat.h> |
4866 |
|
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
4867 |
|
struct buf { int x; }; |
4868 |
|
FILE * (*rcsopen) (struct buf *, struct stat *, int); |
4869 |
|
static char *e (p, i) |
4870 |
|
char **p; |
4871 |
|
int i; |
4872 |
|
{ |
4873 |
|
return p[i]; |
4874 |
|
} |
4875 |
|
static char *f (char * (*g) (char **, int), char **p, ...) |
4876 |
|
{ |
4877 |
|
char *s; |
4878 |
|
va_list v; |
4879 |
|
va_start (v,p); |
4880 |
|
s = g (p, va_arg (v,int)); |
4881 |
|
va_end (v); |
4882 |
|
return s; |
4883 |
|
} |
4884 |
|
|
4885 |
|
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
4886 |
|
function prototypes and stuff, but not '\xHH' hex character constants. |
4887 |
|
These don't provoke an error unfortunately, instead are silently treated |
4888 |
|
as 'x'. The following induces an error, until -std1 is added to get |
4889 |
|
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
4890 |
|
array size at least. It's necessary to write '\x00'==0 to get something |
4891 |
|
that's true only with -std1. */ |
4892 |
|
int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
4893 |
|
|
4894 |
|
int test (int i, double x); |
4895 |
|
struct s1 {int (*f) (int a);}; |
4896 |
|
struct s2 {int (*f) (double a);}; |
4897 |
|
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
4898 |
|
int argc; |
4899 |
|
char **argv; |
4900 |
|
int |
4901 |
|
main () |
4902 |
|
{ |
4903 |
|
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
4904 |
|
; |
4905 |
|
return 0; |
4906 |
|
} |
4907 |
|
_ACEOF |
4908 |
|
# Don't try gcc -ansi; that turns off useful extensions and |
4909 |
|
# breaks some systems' header files. |
4910 |
|
# AIX -qlanglvl=ansi |
4911 |
|
# Ultrix and OSF/1 -std1 |
4912 |
|
# HP-UX 10.20 and later -Ae |
4913 |
|
# HP-UX older versions -Aa -D_HPUX_SOURCE |
4914 |
|
# SVR4 -Xc -D__EXTENSIONS__ |
4915 |
|
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
4916 |
|
do |
4917 |
|
CC="$ac_save_CC $ac_arg" |
4918 |
|
rm -f conftest.$ac_objext |
4919 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4920 |
|
(eval $ac_compile) 2>conftest.er1 |
4921 |
|
ac_status=$? |
4922 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
4923 |
|
rm -f conftest.er1 |
4924 |
|
cat conftest.err >&5 |
4925 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4926 |
|
(exit $ac_status); } && |
4927 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
4928 |
|
|| test ! -s conftest.err' |
4929 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4930 |
|
(eval $ac_try) 2>&5 |
4931 |
|
ac_status=$? |
4932 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4933 |
|
(exit $ac_status); }; } && |
4934 |
|
{ ac_try='test -s conftest.$ac_objext' |
4935 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4936 |
|
(eval $ac_try) 2>&5 |
4937 |
|
ac_status=$? |
4938 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4939 |
|
(exit $ac_status); }; }; then |
4940 |
|
ac_cv_prog_cc_stdc=$ac_arg |
4941 |
|
break |
4942 |
|
else |
4943 |
|
echo "$as_me: failed program was:" >&5 |
4944 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
4945 |
|
|
4946 |
|
fi |
4947 |
|
rm -f conftest.err conftest.$ac_objext |
4948 |
|
done |
4949 |
|
rm -f conftest.$ac_ext conftest.$ac_objext |
4950 |
|
CC=$ac_save_CC |
4951 |
|
|
4952 |
|
fi |
4953 |
|
|
4954 |
|
case "x$ac_cv_prog_cc_stdc" in |
4955 |
|
x|xno) |
4956 |
|
echo "$as_me:$LINENO: result: none needed" >&5 |
4957 |
|
echo "${ECHO_T}none needed" >&6 ;; |
4958 |
|
*) |
4959 |
|
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 |
4960 |
|
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 |
4961 |
|
CC="$CC $ac_cv_prog_cc_stdc" ;; |
4962 |
|
esac |
4963 |
|
|
4964 |
|
# Some people use a C++ compiler to compile C. Since we use `exit', |
4965 |
|
# in C++ we need to declare it. In case someone uses the same compiler |
4966 |
|
# for both compiling C and C++ we need to have the C++ compiler decide |
4967 |
|
# the declaration of exit, since it's the most demanding environment. |
4968 |
|
cat >conftest.$ac_ext <<_ACEOF |
4969 |
|
#ifndef __cplusplus |
4970 |
|
choke me |
4971 |
|
#endif |
4972 |
|
_ACEOF |
4973 |
|
rm -f conftest.$ac_objext |
4974 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4975 |
|
(eval $ac_compile) 2>conftest.er1 |
4976 |
|
ac_status=$? |
4977 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
4978 |
|
rm -f conftest.er1 |
4979 |
|
cat conftest.err >&5 |
4980 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4981 |
|
(exit $ac_status); } && |
4982 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
4983 |
|
|| test ! -s conftest.err' |
4984 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4985 |
|
(eval $ac_try) 2>&5 |
4986 |
|
ac_status=$? |
4987 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4988 |
|
(exit $ac_status); }; } && |
4989 |
|
{ ac_try='test -s conftest.$ac_objext' |
4990 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4991 |
|
(eval $ac_try) 2>&5 |
4992 |
|
ac_status=$? |
4993 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4994 |
|
(exit $ac_status); }; }; then |
4995 |
|
for ac_declaration in \ |
4996 |
|
'' \ |
4997 |
|
'extern "C" void std::exit (int) throw (); using std::exit;' \ |
4998 |
|
'extern "C" void std::exit (int); using std::exit;' \ |
4999 |
|
'extern "C" void exit (int) throw ();' \ |
5000 |
|
'extern "C" void exit (int);' \ |
5001 |
|
'void exit (int);' |
5002 |
|
do |
5003 |
|
cat >conftest.$ac_ext <<_ACEOF |
5004 |
|
/* confdefs.h. */ |
5005 |
|
_ACEOF |
5006 |
|
cat confdefs.h >>conftest.$ac_ext |
5007 |
|
cat >>conftest.$ac_ext <<_ACEOF |
5008 |
|
/* end confdefs.h. */ |
5009 |
|
$ac_declaration |
5010 |
|
#include <stdlib.h> |
5011 |
|
int |
5012 |
|
main () |
5013 |
|
{ |
5014 |
|
exit (42); |
5015 |
|
; |
5016 |
|
return 0; |
5017 |
|
} |
5018 |
|
_ACEOF |
5019 |
|
rm -f conftest.$ac_objext |
5020 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5021 |
|
(eval $ac_compile) 2>conftest.er1 |
5022 |
|
ac_status=$? |
5023 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
5024 |
|
rm -f conftest.er1 |
5025 |
|
cat conftest.err >&5 |
5026 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5027 |
|
(exit $ac_status); } && |
5028 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
5029 |
|
|| test ! -s conftest.err' |
5030 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5031 |
|
(eval $ac_try) 2>&5 |
5032 |
|
ac_status=$? |
5033 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5034 |
|
(exit $ac_status); }; } && |
5035 |
|
{ ac_try='test -s conftest.$ac_objext' |
5036 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5037 |
|
(eval $ac_try) 2>&5 |
5038 |
|
ac_status=$? |
5039 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5040 |
|
(exit $ac_status); }; }; then |
5041 |
|
: |
5042 |
|
else |
5043 |
|
echo "$as_me: failed program was:" >&5 |
5044 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
5045 |
|
|
5046 |
|
continue |
5047 |
|
fi |
5048 |
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
5049 |
|
cat >conftest.$ac_ext <<_ACEOF |
5050 |
|
/* confdefs.h. */ |
5051 |
|
_ACEOF |
5052 |
|
cat confdefs.h >>conftest.$ac_ext |
5053 |
|
cat >>conftest.$ac_ext <<_ACEOF |
5054 |
|
/* end confdefs.h. */ |
5055 |
|
$ac_declaration |
5056 |
|
int |
5057 |
|
main () |
5058 |
|
{ |
5059 |
|
exit (42); |
5060 |
|
; |
5061 |
|
return 0; |
5062 |
|
} |
5063 |
|
_ACEOF |
5064 |
|
rm -f conftest.$ac_objext |
5065 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5066 |
|
(eval $ac_compile) 2>conftest.er1 |
5067 |
|
ac_status=$? |
5068 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
5069 |
|
rm -f conftest.er1 |
5070 |
|
cat conftest.err >&5 |
5071 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5072 |
|
(exit $ac_status); } && |
5073 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
5074 |
|
|| test ! -s conftest.err' |
5075 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5076 |
|
(eval $ac_try) 2>&5 |
5077 |
|
ac_status=$? |
5078 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5079 |
|
(exit $ac_status); }; } && |
5080 |
|
{ ac_try='test -s conftest.$ac_objext' |
5081 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5082 |
|
(eval $ac_try) 2>&5 |
5083 |
|
ac_status=$? |
5084 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5085 |
|
(exit $ac_status); }; }; then |
5086 |
|
break |
5087 |
|
else |
5088 |
|
echo "$as_me: failed program was:" >&5 |
5089 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
5090 |
|
|
5091 |
|
fi |
5092 |
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
5093 |
|
done |
5094 |
|
rm -f conftest* |
5095 |
|
if test -n "$ac_declaration"; then |
5096 |
|
echo '#ifdef __cplusplus' >>confdefs.h |
5097 |
|
echo $ac_declaration >>confdefs.h |
5098 |
|
echo '#endif' >>confdefs.h |
5099 |
|
fi |
5100 |
|
|
5101 |
|
else |
5102 |
|
echo "$as_me: failed program was:" >&5 |
5103 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
5104 |
|
|
5105 |
|
fi |
5106 |
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
5107 |
|
ac_ext=c |
5108 |
|
ac_cpp='$CPP $CPPFLAGS' |
5109 |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
5110 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
5111 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
5112 |
|
|
5113 |
|
|
5114 |
|
ALL_LINGUAS="fr tr ja es sv da zh_CN ro" |
5115 |
|
if test -n "$ac_tool_prefix"; then |
5116 |
|
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. |
5117 |
|
set dummy ${ac_tool_prefix}ranlib; ac_word=$2 |
5118 |
|
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5119 |
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
5120 |
|
if test "${ac_cv_prog_RANLIB+set}" = set; then |
5121 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5122 |
|
else |
5123 |
|
if test -n "$RANLIB"; then |
5124 |
|
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
5125 |
|
else |
5126 |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
5127 |
|
for as_dir in $PATH |
5128 |
|
do |
5129 |
|
IFS=$as_save_IFS |
5130 |
|
test -z "$as_dir" && as_dir=. |
5131 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
5132 |
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
5133 |
|
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
5134 |
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5135 |
|
break 2 |
5136 |
|
fi |
5137 |
|
done |
5138 |
|
done |
5139 |
|
|
5140 |
|
fi |
5141 |
|
fi |
5142 |
|
RANLIB=$ac_cv_prog_RANLIB |
5143 |
|
if test -n "$RANLIB"; then |
5144 |
|
echo "$as_me:$LINENO: result: $RANLIB" >&5 |
5145 |
|
echo "${ECHO_T}$RANLIB" >&6 |
5146 |
|
else |
5147 |
|
echo "$as_me:$LINENO: result: no" >&5 |
5148 |
|
echo "${ECHO_T}no" >&6 |
5149 |
|
fi |
5150 |
|
|
5151 |
|
fi |
5152 |
|
if test -z "$ac_cv_prog_RANLIB"; then |
5153 |
|
ac_ct_RANLIB=$RANLIB |
5154 |
|
# Extract the first word of "ranlib", so it can be a program name with args. |
5155 |
|
set dummy ranlib; ac_word=$2 |
5156 |
|
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5157 |
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
5158 |
|
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then |
5159 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5160 |
|
else |
5161 |
|
if test -n "$ac_ct_RANLIB"; then |
5162 |
|
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. |
5163 |
|
else |
5164 |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
5165 |
|
for as_dir in $PATH |
5166 |
|
do |
5167 |
|
IFS=$as_save_IFS |
5168 |
|
test -z "$as_dir" && as_dir=. |
5169 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
5170 |
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
5171 |
|
ac_cv_prog_ac_ct_RANLIB="ranlib" |
5172 |
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5173 |
|
break 2 |
5174 |
|
fi |
5175 |
|
done |
5176 |
|
done |
5177 |
|
|
5178 |
|
test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" |
5179 |
|
fi |
5180 |
|
fi |
5181 |
|
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB |
5182 |
|
if test -n "$ac_ct_RANLIB"; then |
5183 |
|
echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 |
5184 |
|
echo "${ECHO_T}$ac_ct_RANLIB" >&6 |
5185 |
|
else |
5186 |
|
echo "$as_me:$LINENO: result: no" >&5 |
5187 |
|
echo "${ECHO_T}no" >&6 |
5188 |
|
fi |
5189 |
|
|
5190 |
|
RANLIB=$ac_ct_RANLIB |
5191 |
|
else |
5192 |
|
RANLIB="$ac_cv_prog_RANLIB" |
5193 |
|
fi |
5194 |
|
|
5195 |
ALL_LINGUAS="fr tr ja es sv" |
ac_ext=c |
5196 |
echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 |
ac_cpp='$CPP $CPPFLAGS' |
5197 |
echo "configure:2704: checking how to run the C preprocessor" >&5 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
5198 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
5199 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
5200 |
|
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 |
5201 |
|
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 |
5202 |
# On Suns, sometimes $CPP names a directory. |
# On Suns, sometimes $CPP names a directory. |
5203 |
if test -n "$CPP" && test -d "$CPP"; then |
if test -n "$CPP" && test -d "$CPP"; then |
5204 |
CPP= |
CPP= |
5205 |
fi |
fi |
5206 |
if test -z "$CPP"; then |
if test -z "$CPP"; then |
5207 |
if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then |
if test "${ac_cv_prog_CPP+set}" = set; then |
5208 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5209 |
else |
else |
5210 |
# This must be in double quotes, not single quotes, because CPP may get |
# Double quotes because CPP needs to be expanded |
5211 |
# substituted into the Makefile and "${CC-cc}" will confuse make. |
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
5212 |
CPP="${CC-cc} -E" |
do |
5213 |
|
ac_preproc_ok=false |
5214 |
|
for ac_c_preproc_warn_flag in '' yes |
5215 |
|
do |
5216 |
|
# Use a header file that comes with gcc, so configuring glibc |
5217 |
|
# with a fresh cross-compiler works. |
5218 |
|
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
5219 |
|
# <limits.h> exists even on freestanding compilers. |
5220 |
# On the NeXT, cc -E runs the code through the compiler's parser, |
# On the NeXT, cc -E runs the code through the compiler's parser, |
5221 |
# not just through cpp. |
# not just through cpp. "Syntax error" is here to catch this case. |
5222 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
5223 |
#line 2719 "configure" |
/* confdefs.h. */ |
5224 |
#include "confdefs.h" |
_ACEOF |
5225 |
#include <assert.h> |
cat confdefs.h >>conftest.$ac_ext |
5226 |
Syntax Error |
cat >>conftest.$ac_ext <<_ACEOF |
5227 |
EOF |
/* end confdefs.h. */ |
5228 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
#ifdef __STDC__ |
5229 |
{ (eval echo configure:2725: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
# include <limits.h> |
5230 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
#else |
5231 |
if test -z "$ac_err"; then |
# include <assert.h> |
5232 |
: |
#endif |
5233 |
|
Syntax error |
5234 |
|
_ACEOF |
5235 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
5236 |
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
5237 |
|
ac_status=$? |
5238 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
5239 |
|
rm -f conftest.er1 |
5240 |
|
cat conftest.err >&5 |
5241 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5242 |
|
(exit $ac_status); } >/dev/null; then |
5243 |
|
if test -s conftest.err; then |
5244 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
5245 |
|
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
5246 |
|
else |
5247 |
|
ac_cpp_err= |
5248 |
|
fi |
5249 |
else |
else |
5250 |
echo "$ac_err" >&5 |
ac_cpp_err=yes |
5251 |
echo "configure: failed program was:" >&5 |
fi |
5252 |
cat conftest.$ac_ext >&5 |
if test -z "$ac_cpp_err"; then |
|
rm -rf conftest* |
|
|
CPP="${CC-cc} -E -traditional-cpp" |
|
|
cat > conftest.$ac_ext <<EOF |
|
|
#line 2736 "configure" |
|
|
#include "confdefs.h" |
|
|
#include <assert.h> |
|
|
Syntax Error |
|
|
EOF |
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
|
|
{ (eval echo configure:2742: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|
|
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
|
|
if test -z "$ac_err"; then |
|
5253 |
: |
: |
5254 |
else |
else |
5255 |
echo "$ac_err" >&5 |
echo "$as_me: failed program was:" >&5 |
5256 |
echo "configure: failed program was:" >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
5257 |
cat conftest.$ac_ext >&5 |
|
5258 |
rm -rf conftest* |
# Broken: fails on valid input. |
5259 |
CPP="${CC-cc} -nologo -E" |
continue |
5260 |
cat > conftest.$ac_ext <<EOF |
fi |
5261 |
#line 2753 "configure" |
rm -f conftest.err conftest.$ac_ext |
5262 |
#include "confdefs.h" |
|
5263 |
#include <assert.h> |
# OK, works on sane cases. Now check whether non-existent headers |
5264 |
Syntax Error |
# can be detected and how. |
5265 |
EOF |
cat >conftest.$ac_ext <<_ACEOF |
5266 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
/* confdefs.h. */ |
5267 |
{ (eval echo configure:2759: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
_ACEOF |
5268 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
cat confdefs.h >>conftest.$ac_ext |
5269 |
if test -z "$ac_err"; then |
cat >>conftest.$ac_ext <<_ACEOF |
5270 |
: |
/* end confdefs.h. */ |
5271 |
|
#include <ac_nonexistent.h> |
5272 |
|
_ACEOF |
5273 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
5274 |
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
5275 |
|
ac_status=$? |
5276 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
5277 |
|
rm -f conftest.er1 |
5278 |
|
cat conftest.err >&5 |
5279 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5280 |
|
(exit $ac_status); } >/dev/null; then |
5281 |
|
if test -s conftest.err; then |
5282 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
5283 |
|
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
5284 |
|
else |
5285 |
|
ac_cpp_err= |
5286 |
|
fi |
5287 |
else |
else |
5288 |
echo "$ac_err" >&5 |
ac_cpp_err=yes |
|
echo "configure: failed program was:" >&5 |
|
|
cat conftest.$ac_ext >&5 |
|
|
rm -rf conftest* |
|
|
CPP=/lib/cpp |
|
5289 |
fi |
fi |
5290 |
rm -f conftest* |
if test -z "$ac_cpp_err"; then |
5291 |
|
# Broken: success on invalid input. |
5292 |
|
continue |
5293 |
|
else |
5294 |
|
echo "$as_me: failed program was:" >&5 |
5295 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
5296 |
|
|
5297 |
|
# Passes both tests. |
5298 |
|
ac_preproc_ok=: |
5299 |
|
break |
5300 |
fi |
fi |
5301 |
rm -f conftest* |
rm -f conftest.err conftest.$ac_ext |
5302 |
|
|
5303 |
|
done |
5304 |
|
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
5305 |
|
rm -f conftest.err conftest.$ac_ext |
5306 |
|
if $ac_preproc_ok; then |
5307 |
|
break |
5308 |
fi |
fi |
5309 |
rm -f conftest* |
|
5310 |
ac_cv_prog_CPP="$CPP" |
done |
5311 |
|
ac_cv_prog_CPP=$CPP |
5312 |
|
|
5313 |
fi |
fi |
5314 |
CPP="$ac_cv_prog_CPP" |
CPP=$ac_cv_prog_CPP |
5315 |
else |
else |
5316 |
ac_cv_prog_CPP="$CPP" |
ac_cv_prog_CPP=$CPP |
5317 |
fi |
fi |
5318 |
echo "$ac_t""$CPP" 1>&6 |
echo "$as_me:$LINENO: result: $CPP" >&5 |
5319 |
|
echo "${ECHO_T}$CPP" >&6 |
5320 |
|
ac_preproc_ok=false |
5321 |
|
for ac_c_preproc_warn_flag in '' yes |
5322 |
|
do |
5323 |
|
# Use a header file that comes with gcc, so configuring glibc |
5324 |
|
# with a fresh cross-compiler works. |
5325 |
|
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
5326 |
|
# <limits.h> exists even on freestanding compilers. |
5327 |
|
# On the NeXT, cc -E runs the code through the compiler's parser, |
5328 |
|
# not just through cpp. "Syntax error" is here to catch this case. |
5329 |
|
cat >conftest.$ac_ext <<_ACEOF |
5330 |
|
/* confdefs.h. */ |
5331 |
|
_ACEOF |
5332 |
|
cat confdefs.h >>conftest.$ac_ext |
5333 |
|
cat >>conftest.$ac_ext <<_ACEOF |
5334 |
|
/* end confdefs.h. */ |
5335 |
|
#ifdef __STDC__ |
5336 |
|
# include <limits.h> |
5337 |
|
#else |
5338 |
|
# include <assert.h> |
5339 |
|
#endif |
5340 |
|
Syntax error |
5341 |
|
_ACEOF |
5342 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
5343 |
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
5344 |
|
ac_status=$? |
5345 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
5346 |
|
rm -f conftest.er1 |
5347 |
|
cat conftest.err >&5 |
5348 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5349 |
|
(exit $ac_status); } >/dev/null; then |
5350 |
|
if test -s conftest.err; then |
5351 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
5352 |
|
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
5353 |
|
else |
5354 |
|
ac_cpp_err= |
5355 |
|
fi |
5356 |
|
else |
5357 |
|
ac_cpp_err=yes |
5358 |
|
fi |
5359 |
|
if test -z "$ac_cpp_err"; then |
5360 |
|
: |
5361 |
|
else |
5362 |
|
echo "$as_me: failed program was:" >&5 |
5363 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
5364 |
|
|
5365 |
# Extract the first word of "ranlib", so it can be a program name with args. |
# Broken: fails on valid input. |
5366 |
set dummy ranlib; ac_word=$2 |
continue |
5367 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
fi |
5368 |
echo "configure:2786: checking for $ac_word" >&5 |
rm -f conftest.err conftest.$ac_ext |
5369 |
if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then |
|
5370 |
echo $ac_n "(cached) $ac_c" 1>&6 |
# OK, works on sane cases. Now check whether non-existent headers |
5371 |
|
# can be detected and how. |
5372 |
|
cat >conftest.$ac_ext <<_ACEOF |
5373 |
|
/* confdefs.h. */ |
5374 |
|
_ACEOF |
5375 |
|
cat confdefs.h >>conftest.$ac_ext |
5376 |
|
cat >>conftest.$ac_ext <<_ACEOF |
5377 |
|
/* end confdefs.h. */ |
5378 |
|
#include <ac_nonexistent.h> |
5379 |
|
_ACEOF |
5380 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
5381 |
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
5382 |
|
ac_status=$? |
5383 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
5384 |
|
rm -f conftest.er1 |
5385 |
|
cat conftest.err >&5 |
5386 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5387 |
|
(exit $ac_status); } >/dev/null; then |
5388 |
|
if test -s conftest.err; then |
5389 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
5390 |
|
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
5391 |
|
else |
5392 |
|
ac_cpp_err= |
5393 |
|
fi |
5394 |
else |
else |
5395 |
if test -n "$RANLIB"; then |
ac_cpp_err=yes |
5396 |
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
fi |
5397 |
|
if test -z "$ac_cpp_err"; then |
5398 |
|
# Broken: success on invalid input. |
5399 |
|
continue |
5400 |
else |
else |
5401 |
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
echo "$as_me: failed program was:" >&5 |
5402 |
ac_dummy="$PATH" |
sed 's/^/| /' conftest.$ac_ext >&5 |
5403 |
for ac_dir in $ac_dummy; do |
|
5404 |
test -z "$ac_dir" && ac_dir=. |
# Passes both tests. |
5405 |
if test -f $ac_dir/$ac_word; then |
ac_preproc_ok=: |
5406 |
ac_cv_prog_RANLIB="ranlib" |
break |
|
break |
|
|
fi |
|
|
done |
|
|
IFS="$ac_save_ifs" |
|
|
test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":" |
|
5407 |
fi |
fi |
5408 |
|
rm -f conftest.err conftest.$ac_ext |
5409 |
|
|
5410 |
|
done |
5411 |
|
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
5412 |
|
rm -f conftest.err conftest.$ac_ext |
5413 |
|
if $ac_preproc_ok; then |
5414 |
|
: |
5415 |
|
else |
5416 |
|
{ { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check |
5417 |
|
See \`config.log' for more details." >&5 |
5418 |
|
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check |
5419 |
|
See \`config.log' for more details." >&2;} |
5420 |
|
{ (exit 1); exit 1; }; } |
5421 |
fi |
fi |
5422 |
RANLIB="$ac_cv_prog_RANLIB" |
|
5423 |
if test -n "$RANLIB"; then |
ac_ext=c |
5424 |
echo "$ac_t""$RANLIB" 1>&6 |
ac_cpp='$CPP $CPPFLAGS' |
5425 |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
5426 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
5427 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
5428 |
|
|
5429 |
|
|
5430 |
|
echo "$as_me:$LINENO: checking for egrep" >&5 |
5431 |
|
echo $ECHO_N "checking for egrep... $ECHO_C" >&6 |
5432 |
|
if test "${ac_cv_prog_egrep+set}" = set; then |
5433 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5434 |
else |
else |
5435 |
echo "$ac_t""no" 1>&6 |
if echo a | (grep -E '(a|b)') >/dev/null 2>&1 |
5436 |
|
then ac_cv_prog_egrep='grep -E' |
5437 |
|
else ac_cv_prog_egrep='egrep' |
5438 |
|
fi |
5439 |
fi |
fi |
5440 |
|
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 |
5441 |
|
echo "${ECHO_T}$ac_cv_prog_egrep" >&6 |
5442 |
|
EGREP=$ac_cv_prog_egrep |
5443 |
|
|
5444 |
echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 |
|
5445 |
echo "configure:2814: checking for ANSI C header files" >&5 |
echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
5446 |
if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then |
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 |
5447 |
echo $ac_n "(cached) $ac_c" 1>&6 |
if test "${ac_cv_header_stdc+set}" = set; then |
5448 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5449 |
else |
else |
5450 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
5451 |
#line 2819 "configure" |
/* confdefs.h. */ |
5452 |
#include "confdefs.h" |
_ACEOF |
5453 |
|
cat confdefs.h >>conftest.$ac_ext |
5454 |
|
cat >>conftest.$ac_ext <<_ACEOF |
5455 |
|
/* end confdefs.h. */ |
5456 |
#include <stdlib.h> |
#include <stdlib.h> |
5457 |
#include <stdarg.h> |
#include <stdarg.h> |
5458 |
#include <string.h> |
#include <string.h> |
5459 |
#include <float.h> |
#include <float.h> |
5460 |
EOF |
|
5461 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
int |
5462 |
{ (eval echo configure:2827: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
main () |
5463 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
{ |
5464 |
if test -z "$ac_err"; then |
|
5465 |
rm -rf conftest* |
; |
5466 |
|
return 0; |
5467 |
|
} |
5468 |
|
_ACEOF |
5469 |
|
rm -f conftest.$ac_objext |
5470 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5471 |
|
(eval $ac_compile) 2>conftest.er1 |
5472 |
|
ac_status=$? |
5473 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
5474 |
|
rm -f conftest.er1 |
5475 |
|
cat conftest.err >&5 |
5476 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5477 |
|
(exit $ac_status); } && |
5478 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
5479 |
|
|| test ! -s conftest.err' |
5480 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5481 |
|
(eval $ac_try) 2>&5 |
5482 |
|
ac_status=$? |
5483 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5484 |
|
(exit $ac_status); }; } && |
5485 |
|
{ ac_try='test -s conftest.$ac_objext' |
5486 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5487 |
|
(eval $ac_try) 2>&5 |
5488 |
|
ac_status=$? |
5489 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5490 |
|
(exit $ac_status); }; }; then |
5491 |
ac_cv_header_stdc=yes |
ac_cv_header_stdc=yes |
5492 |
else |
else |
5493 |
echo "$ac_err" >&5 |
echo "$as_me: failed program was:" >&5 |
5494 |
echo "configure: failed program was:" >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
5495 |
cat conftest.$ac_ext >&5 |
|
5496 |
rm -rf conftest* |
ac_cv_header_stdc=no |
|
ac_cv_header_stdc=no |
|
5497 |
fi |
fi |
5498 |
rm -f conftest* |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
5499 |
|
|
5500 |
if test $ac_cv_header_stdc = yes; then |
if test $ac_cv_header_stdc = yes; then |
5501 |
# SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
# SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
5502 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
5503 |
#line 2844 "configure" |
/* confdefs.h. */ |
5504 |
#include "confdefs.h" |
_ACEOF |
5505 |
|
cat confdefs.h >>conftest.$ac_ext |
5506 |
|
cat >>conftest.$ac_ext <<_ACEOF |
5507 |
|
/* end confdefs.h. */ |
5508 |
#include <string.h> |
#include <string.h> |
5509 |
EOF |
|
5510 |
|
_ACEOF |
5511 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
5512 |
egrep "memchr" >/dev/null 2>&1; then |
$EGREP "memchr" >/dev/null 2>&1; then |
5513 |
: |
: |
5514 |
else |
else |
|
rm -rf conftest* |
|
5515 |
ac_cv_header_stdc=no |
ac_cv_header_stdc=no |
5516 |
fi |
fi |
5517 |
rm -f conftest* |
rm -f conftest* |
5520 |
|
|
5521 |
if test $ac_cv_header_stdc = yes; then |
if test $ac_cv_header_stdc = yes; then |
5522 |
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
5523 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
5524 |
#line 2862 "configure" |
/* confdefs.h. */ |
5525 |
#include "confdefs.h" |
_ACEOF |
5526 |
|
cat confdefs.h >>conftest.$ac_ext |
5527 |
|
cat >>conftest.$ac_ext <<_ACEOF |
5528 |
|
/* end confdefs.h. */ |
5529 |
#include <stdlib.h> |
#include <stdlib.h> |
5530 |
EOF |
|
5531 |
|
_ACEOF |
5532 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
5533 |
egrep "free" >/dev/null 2>&1; then |
$EGREP "free" >/dev/null 2>&1; then |
5534 |
: |
: |
5535 |
else |
else |
|
rm -rf conftest* |
|
5536 |
ac_cv_header_stdc=no |
ac_cv_header_stdc=no |
5537 |
fi |
fi |
5538 |
rm -f conftest* |
rm -f conftest* |
5541 |
|
|
5542 |
if test $ac_cv_header_stdc = yes; then |
if test $ac_cv_header_stdc = yes; then |
5543 |
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
5544 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
5545 |
: |
: |
5546 |
else |
else |
5547 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
5548 |
#line 2883 "configure" |
/* confdefs.h. */ |
5549 |
#include "confdefs.h" |
_ACEOF |
5550 |
|
cat confdefs.h >>conftest.$ac_ext |
5551 |
|
cat >>conftest.$ac_ext <<_ACEOF |
5552 |
|
/* end confdefs.h. */ |
5553 |
#include <ctype.h> |
#include <ctype.h> |
5554 |
#define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
#if ((' ' & 0x0FF) == 0x020) |
5555 |
#define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
5556 |
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
5557 |
int main () { int i; for (i = 0; i < 256; i++) |
#else |
5558 |
if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); |
# define ISLOWER(c) \ |
5559 |
exit (0); } |
(('a' <= (c) && (c) <= 'i') \ |
5560 |
|
|| ('j' <= (c) && (c) <= 'r') \ |
5561 |
|
|| ('s' <= (c) && (c) <= 'z')) |
5562 |
|
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
5563 |
|
#endif |
5564 |
|
|
5565 |
EOF |
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
5566 |
if { (eval echo configure:2894: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
int |
5567 |
then |
main () |
5568 |
|
{ |
5569 |
|
int i; |
5570 |
|
for (i = 0; i < 256; i++) |
5571 |
|
if (XOR (islower (i), ISLOWER (i)) |
5572 |
|
|| toupper (i) != TOUPPER (i)) |
5573 |
|
exit(2); |
5574 |
|
exit (0); |
5575 |
|
} |
5576 |
|
_ACEOF |
5577 |
|
rm -f conftest$ac_exeext |
5578 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
5579 |
|
(eval $ac_link) 2>&5 |
5580 |
|
ac_status=$? |
5581 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5582 |
|
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
5583 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5584 |
|
(eval $ac_try) 2>&5 |
5585 |
|
ac_status=$? |
5586 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5587 |
|
(exit $ac_status); }; }; then |
5588 |
: |
: |
5589 |
else |
else |
5590 |
echo "configure: failed program was:" >&5 |
echo "$as_me: program exited with status $ac_status" >&5 |
5591 |
cat conftest.$ac_ext >&5 |
echo "$as_me: failed program was:" >&5 |
5592 |
rm -fr conftest* |
sed 's/^/| /' conftest.$ac_ext >&5 |
5593 |
ac_cv_header_stdc=no |
|
5594 |
|
( exit $ac_status ) |
5595 |
|
ac_cv_header_stdc=no |
5596 |
fi |
fi |
5597 |
rm -fr conftest* |
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
5598 |
fi |
fi |
|
|
|
5599 |
fi |
fi |
5600 |
fi |
fi |
5601 |
|
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 |
5602 |
echo "$ac_t""$ac_cv_header_stdc" 1>&6 |
echo "${ECHO_T}$ac_cv_header_stdc" >&6 |
5603 |
if test $ac_cv_header_stdc = yes; then |
if test $ac_cv_header_stdc = yes; then |
5604 |
cat >> confdefs.h <<\EOF |
|
5605 |
|
cat >>confdefs.h <<\_ACEOF |
5606 |
#define STDC_HEADERS 1 |
#define STDC_HEADERS 1 |
5607 |
EOF |
_ACEOF |
5608 |
|
|
5609 |
fi |
fi |
5610 |
|
|
5611 |
echo $ac_n "checking for working const""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 |
5612 |
echo "configure:2918: checking for working const" >&5 |
echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 |
5613 |
if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then |
if test "${ac_cv_c_const+set}" = set; then |
5614 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5615 |
else |
else |
5616 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
5617 |
#line 2923 "configure" |
/* confdefs.h. */ |
5618 |
#include "confdefs.h" |
_ACEOF |
5619 |
|
cat confdefs.h >>conftest.$ac_ext |
5620 |
|
cat >>conftest.$ac_ext <<_ACEOF |
5621 |
|
/* end confdefs.h. */ |
5622 |
|
|
5623 |
int main() { |
int |
5624 |
|
main () |
5625 |
|
{ |
5626 |
|
/* FIXME: Include the comments suggested by Paul. */ |
5627 |
|
#ifndef __cplusplus |
5628 |
|
/* Ultrix mips cc rejects this. */ |
5629 |
|
typedef int charset[2]; |
5630 |
|
const charset x; |
5631 |
|
/* SunOS 4.1.1 cc rejects this. */ |
5632 |
|
char const *const *ccp; |
5633 |
|
char **p; |
5634 |
|
/* NEC SVR4.0.2 mips cc rejects this. */ |
5635 |
|
struct point {int x, y;}; |
5636 |
|
static struct point const zero = {0,0}; |
5637 |
|
/* AIX XL C 1.02.0.0 rejects this. |
5638 |
|
It does not let you subtract one const X* pointer from another in |
5639 |
|
an arm of an if-expression whose if-part is not a constant |
5640 |
|
expression */ |
5641 |
|
const char *g = "string"; |
5642 |
|
ccp = &g + (g ? g-g : 0); |
5643 |
|
/* HPUX 7.0 cc rejects these. */ |
5644 |
|
++ccp; |
5645 |
|
p = (char**) ccp; |
5646 |
|
ccp = (char const *const *) p; |
5647 |
|
{ /* SCO 3.2v4 cc rejects this. */ |
5648 |
|
char *t; |
5649 |
|
char const *s = 0 ? (char *) 0 : (char const *) 0; |
5650 |
|
|
5651 |
|
*t++ = 0; |
5652 |
|
} |
5653 |
|
{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ |
5654 |
|
int x[] = {25, 17}; |
5655 |
|
const int *foo = &x[0]; |
5656 |
|
++foo; |
5657 |
|
} |
5658 |
|
{ /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ |
5659 |
|
typedef const int *iptr; |
5660 |
|
iptr p = 0; |
5661 |
|
++p; |
5662 |
|
} |
5663 |
|
{ /* AIX XL C 1.02.0.0 rejects this saying |
5664 |
|
"k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ |
5665 |
|
struct s { int j; const int *ap[3]; }; |
5666 |
|
struct s *b; b->j = 5; |
5667 |
|
} |
5668 |
|
{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ |
5669 |
|
const int foo = 10; |
5670 |
|
} |
5671 |
|
#endif |
5672 |
|
|
5673 |
/* Ultrix mips cc rejects this. */ |
; |
5674 |
typedef int charset[2]; const charset x; |
return 0; |
|
/* SunOS 4.1.1 cc rejects this. */ |
|
|
char const *const *ccp; |
|
|
char **p; |
|
|
/* NEC SVR4.0.2 mips cc rejects this. */ |
|
|
struct point {int x, y;}; |
|
|
static struct point const zero = {0,0}; |
|
|
/* AIX XL C 1.02.0.0 rejects this. |
|
|
It does not let you subtract one const X* pointer from another in an arm |
|
|
of an if-expression whose if-part is not a constant expression */ |
|
|
const char *g = "string"; |
|
|
ccp = &g + (g ? g-g : 0); |
|
|
/* HPUX 7.0 cc rejects these. */ |
|
|
++ccp; |
|
|
p = (char**) ccp; |
|
|
ccp = (char const *const *) p; |
|
|
{ /* SCO 3.2v4 cc rejects this. */ |
|
|
char *t; |
|
|
char const *s = 0 ? (char *) 0 : (char const *) 0; |
|
|
|
|
|
*t++ = 0; |
|
|
} |
|
|
{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ |
|
|
int x[] = {25, 17}; |
|
|
const int *foo = &x[0]; |
|
|
++foo; |
|
|
} |
|
|
{ /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ |
|
|
typedef const int *iptr; |
|
|
iptr p = 0; |
|
|
++p; |
|
|
} |
|
|
{ /* AIX XL C 1.02.0.0 rejects this saying |
|
|
"k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ |
|
|
struct s { int j; const int *ap[3]; }; |
|
|
struct s *b; b->j = 5; |
|
|
} |
|
|
{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ |
|
|
const int foo = 10; |
|
5675 |
} |
} |
5676 |
|
_ACEOF |
5677 |
; return 0; } |
rm -f conftest.$ac_objext |
5678 |
EOF |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5679 |
if { (eval echo configure:2972: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
(eval $ac_compile) 2>conftest.er1 |
5680 |
rm -rf conftest* |
ac_status=$? |
5681 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
5682 |
|
rm -f conftest.er1 |
5683 |
|
cat conftest.err >&5 |
5684 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5685 |
|
(exit $ac_status); } && |
5686 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
5687 |
|
|| test ! -s conftest.err' |
5688 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5689 |
|
(eval $ac_try) 2>&5 |
5690 |
|
ac_status=$? |
5691 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5692 |
|
(exit $ac_status); }; } && |
5693 |
|
{ ac_try='test -s conftest.$ac_objext' |
5694 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5695 |
|
(eval $ac_try) 2>&5 |
5696 |
|
ac_status=$? |
5697 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5698 |
|
(exit $ac_status); }; }; then |
5699 |
ac_cv_c_const=yes |
ac_cv_c_const=yes |
5700 |
else |
else |
5701 |
echo "configure: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
5702 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
5703 |
rm -rf conftest* |
|
5704 |
ac_cv_c_const=no |
ac_cv_c_const=no |
5705 |
fi |
fi |
5706 |
rm -f conftest* |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
5707 |
fi |
fi |
5708 |
|
echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 |
5709 |
echo "$ac_t""$ac_cv_c_const" 1>&6 |
echo "${ECHO_T}$ac_cv_c_const" >&6 |
5710 |
if test $ac_cv_c_const = no; then |
if test $ac_cv_c_const = no; then |
5711 |
cat >> confdefs.h <<\EOF |
|
5712 |
#define const |
cat >>confdefs.h <<\_ACEOF |
5713 |
EOF |
#define const |
5714 |
|
_ACEOF |
5715 |
|
|
5716 |
fi |
fi |
5717 |
|
|
5718 |
echo $ac_n "checking for inline""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for inline" >&5 |
5719 |
echo "configure:2993: checking for inline" >&5 |
echo $ECHO_N "checking for inline... $ECHO_C" >&6 |
5720 |
if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then |
if test "${ac_cv_c_inline+set}" = set; then |
5721 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5722 |
else |
else |
5723 |
ac_cv_c_inline=no |
ac_cv_c_inline=no |
5724 |
for ac_kw in inline __inline__ __inline; do |
for ac_kw in inline __inline__ __inline; do |
5725 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
5726 |
#line 3000 "configure" |
/* confdefs.h. */ |
5727 |
#include "confdefs.h" |
_ACEOF |
5728 |
|
cat confdefs.h >>conftest.$ac_ext |
5729 |
|
cat >>conftest.$ac_ext <<_ACEOF |
5730 |
|
/* end confdefs.h. */ |
5731 |
|
#ifndef __cplusplus |
5732 |
|
typedef int foo_t; |
5733 |
|
static $ac_kw foo_t static_foo () {return 0; } |
5734 |
|
$ac_kw foo_t foo () {return 0; } |
5735 |
|
#endif |
5736 |
|
|
5737 |
int main() { |
_ACEOF |
5738 |
} $ac_kw foo() { |
rm -f conftest.$ac_objext |
5739 |
; return 0; } |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5740 |
EOF |
(eval $ac_compile) 2>conftest.er1 |
5741 |
if { (eval echo configure:3007: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
ac_status=$? |
5742 |
rm -rf conftest* |
grep -v '^ *+' conftest.er1 >conftest.err |
5743 |
|
rm -f conftest.er1 |
5744 |
|
cat conftest.err >&5 |
5745 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5746 |
|
(exit $ac_status); } && |
5747 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
5748 |
|
|| test ! -s conftest.err' |
5749 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5750 |
|
(eval $ac_try) 2>&5 |
5751 |
|
ac_status=$? |
5752 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5753 |
|
(exit $ac_status); }; } && |
5754 |
|
{ ac_try='test -s conftest.$ac_objext' |
5755 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5756 |
|
(eval $ac_try) 2>&5 |
5757 |
|
ac_status=$? |
5758 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5759 |
|
(exit $ac_status); }; }; then |
5760 |
ac_cv_c_inline=$ac_kw; break |
ac_cv_c_inline=$ac_kw; break |
5761 |
else |
else |
5762 |
echo "configure: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
5763 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
5764 |
|
|
5765 |
fi |
fi |
5766 |
rm -f conftest* |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
5767 |
done |
done |
5768 |
|
|
5769 |
fi |
fi |
5770 |
|
echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5 |
5771 |
|
echo "${ECHO_T}$ac_cv_c_inline" >&6 |
5772 |
|
|
5773 |
echo "$ac_t""$ac_cv_c_inline" 1>&6 |
|
5774 |
case "$ac_cv_c_inline" in |
case $ac_cv_c_inline in |
5775 |
inline | yes) ;; |
inline | yes) ;; |
5776 |
no) cat >> confdefs.h <<\EOF |
*) |
5777 |
#define inline |
case $ac_cv_c_inline in |
5778 |
EOF |
no) ac_val=;; |
5779 |
;; |
*) ac_val=$ac_cv_c_inline;; |
5780 |
*) cat >> confdefs.h <<EOF |
esac |
5781 |
#define inline $ac_cv_c_inline |
cat >>confdefs.h <<_ACEOF |
5782 |
EOF |
#ifndef __cplusplus |
5783 |
;; |
#define inline $ac_val |
5784 |
|
#endif |
5785 |
|
_ACEOF |
5786 |
|
;; |
5787 |
esac |
esac |
5788 |
|
|
5789 |
echo $ac_n "checking for off_t""... $ac_c" 1>&6 |
# On IRIX 5.3, sys/types and inttypes.h are conflicting. |
5790 |
echo "configure:3033: checking for off_t" >&5 |
|
5791 |
if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then |
|
5792 |
echo $ac_n "(cached) $ac_c" 1>&6 |
|
5793 |
else |
|
5794 |
cat > conftest.$ac_ext <<EOF |
|
5795 |
#line 3038 "configure" |
|
5796 |
#include "confdefs.h" |
|
5797 |
#include <sys/types.h> |
|
5798 |
#if STDC_HEADERS |
|
5799 |
#include <stdlib.h> |
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
5800 |
#include <stddef.h> |
inttypes.h stdint.h unistd.h |
5801 |
#endif |
do |
5802 |
EOF |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
5803 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
5804 |
egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
5805 |
rm -rf conftest* |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
5806 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5807 |
|
else |
5808 |
|
cat >conftest.$ac_ext <<_ACEOF |
5809 |
|
/* confdefs.h. */ |
5810 |
|
_ACEOF |
5811 |
|
cat confdefs.h >>conftest.$ac_ext |
5812 |
|
cat >>conftest.$ac_ext <<_ACEOF |
5813 |
|
/* end confdefs.h. */ |
5814 |
|
$ac_includes_default |
5815 |
|
|
5816 |
|
#include <$ac_header> |
5817 |
|
_ACEOF |
5818 |
|
rm -f conftest.$ac_objext |
5819 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5820 |
|
(eval $ac_compile) 2>conftest.er1 |
5821 |
|
ac_status=$? |
5822 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
5823 |
|
rm -f conftest.er1 |
5824 |
|
cat conftest.err >&5 |
5825 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5826 |
|
(exit $ac_status); } && |
5827 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
5828 |
|
|| test ! -s conftest.err' |
5829 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5830 |
|
(eval $ac_try) 2>&5 |
5831 |
|
ac_status=$? |
5832 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5833 |
|
(exit $ac_status); }; } && |
5834 |
|
{ ac_try='test -s conftest.$ac_objext' |
5835 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5836 |
|
(eval $ac_try) 2>&5 |
5837 |
|
ac_status=$? |
5838 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5839 |
|
(exit $ac_status); }; }; then |
5840 |
|
eval "$as_ac_Header=yes" |
5841 |
|
else |
5842 |
|
echo "$as_me: failed program was:" >&5 |
5843 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
5844 |
|
|
5845 |
|
eval "$as_ac_Header=no" |
5846 |
|
fi |
5847 |
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
5848 |
|
fi |
5849 |
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
5850 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
5851 |
|
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
5852 |
|
cat >>confdefs.h <<_ACEOF |
5853 |
|
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
5854 |
|
_ACEOF |
5855 |
|
|
5856 |
|
fi |
5857 |
|
|
5858 |
|
done |
5859 |
|
|
5860 |
|
|
5861 |
|
echo "$as_me:$LINENO: checking for off_t" >&5 |
5862 |
|
echo $ECHO_N "checking for off_t... $ECHO_C" >&6 |
5863 |
|
if test "${ac_cv_type_off_t+set}" = set; then |
5864 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5865 |
|
else |
5866 |
|
cat >conftest.$ac_ext <<_ACEOF |
5867 |
|
/* confdefs.h. */ |
5868 |
|
_ACEOF |
5869 |
|
cat confdefs.h >>conftest.$ac_ext |
5870 |
|
cat >>conftest.$ac_ext <<_ACEOF |
5871 |
|
/* end confdefs.h. */ |
5872 |
|
$ac_includes_default |
5873 |
|
int |
5874 |
|
main () |
5875 |
|
{ |
5876 |
|
if ((off_t *) 0) |
5877 |
|
return 0; |
5878 |
|
if (sizeof (off_t)) |
5879 |
|
return 0; |
5880 |
|
; |
5881 |
|
return 0; |
5882 |
|
} |
5883 |
|
_ACEOF |
5884 |
|
rm -f conftest.$ac_objext |
5885 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5886 |
|
(eval $ac_compile) 2>conftest.er1 |
5887 |
|
ac_status=$? |
5888 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
5889 |
|
rm -f conftest.er1 |
5890 |
|
cat conftest.err >&5 |
5891 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5892 |
|
(exit $ac_status); } && |
5893 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
5894 |
|
|| test ! -s conftest.err' |
5895 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5896 |
|
(eval $ac_try) 2>&5 |
5897 |
|
ac_status=$? |
5898 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5899 |
|
(exit $ac_status); }; } && |
5900 |
|
{ ac_try='test -s conftest.$ac_objext' |
5901 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5902 |
|
(eval $ac_try) 2>&5 |
5903 |
|
ac_status=$? |
5904 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5905 |
|
(exit $ac_status); }; }; then |
5906 |
ac_cv_type_off_t=yes |
ac_cv_type_off_t=yes |
5907 |
else |
else |
5908 |
rm -rf conftest* |
echo "$as_me: failed program was:" >&5 |
5909 |
ac_cv_type_off_t=no |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
fi |
|
|
rm -f conftest* |
|
5910 |
|
|
5911 |
|
ac_cv_type_off_t=no |
5912 |
|
fi |
5913 |
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
5914 |
fi |
fi |
5915 |
echo "$ac_t""$ac_cv_type_off_t" 1>&6 |
echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5 |
5916 |
if test $ac_cv_type_off_t = no; then |
echo "${ECHO_T}$ac_cv_type_off_t" >&6 |
5917 |
cat >> confdefs.h <<\EOF |
if test $ac_cv_type_off_t = yes; then |
5918 |
|
: |
5919 |
|
else |
5920 |
|
|
5921 |
|
cat >>confdefs.h <<_ACEOF |
5922 |
#define off_t long |
#define off_t long |
5923 |
EOF |
_ACEOF |
5924 |
|
|
5925 |
fi |
fi |
5926 |
|
|
5927 |
echo $ac_n "checking for size_t""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for size_t" >&5 |
5928 |
echo "configure:3066: checking for size_t" >&5 |
echo $ECHO_N "checking for size_t... $ECHO_C" >&6 |
5929 |
if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then |
if test "${ac_cv_type_size_t+set}" = set; then |
5930 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5931 |
else |
else |
5932 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
5933 |
#line 3071 "configure" |
/* confdefs.h. */ |
5934 |
#include "confdefs.h" |
_ACEOF |
5935 |
#include <sys/types.h> |
cat confdefs.h >>conftest.$ac_ext |
5936 |
#if STDC_HEADERS |
cat >>conftest.$ac_ext <<_ACEOF |
5937 |
#include <stdlib.h> |
/* end confdefs.h. */ |
5938 |
#include <stddef.h> |
$ac_includes_default |
5939 |
#endif |
int |
5940 |
EOF |
main () |
5941 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
{ |
5942 |
egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then |
if ((size_t *) 0) |
5943 |
rm -rf conftest* |
return 0; |
5944 |
|
if (sizeof (size_t)) |
5945 |
|
return 0; |
5946 |
|
; |
5947 |
|
return 0; |
5948 |
|
} |
5949 |
|
_ACEOF |
5950 |
|
rm -f conftest.$ac_objext |
5951 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5952 |
|
(eval $ac_compile) 2>conftest.er1 |
5953 |
|
ac_status=$? |
5954 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
5955 |
|
rm -f conftest.er1 |
5956 |
|
cat conftest.err >&5 |
5957 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5958 |
|
(exit $ac_status); } && |
5959 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
5960 |
|
|| test ! -s conftest.err' |
5961 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5962 |
|
(eval $ac_try) 2>&5 |
5963 |
|
ac_status=$? |
5964 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5965 |
|
(exit $ac_status); }; } && |
5966 |
|
{ ac_try='test -s conftest.$ac_objext' |
5967 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5968 |
|
(eval $ac_try) 2>&5 |
5969 |
|
ac_status=$? |
5970 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5971 |
|
(exit $ac_status); }; }; then |
5972 |
ac_cv_type_size_t=yes |
ac_cv_type_size_t=yes |
5973 |
else |
else |
5974 |
rm -rf conftest* |
echo "$as_me: failed program was:" >&5 |
5975 |
ac_cv_type_size_t=no |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
fi |
|
|
rm -f conftest* |
|
5976 |
|
|
5977 |
|
ac_cv_type_size_t=no |
5978 |
fi |
fi |
5979 |
echo "$ac_t""$ac_cv_type_size_t" 1>&6 |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
5980 |
if test $ac_cv_type_size_t = no; then |
fi |
5981 |
cat >> confdefs.h <<\EOF |
echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 |
5982 |
|
echo "${ECHO_T}$ac_cv_type_size_t" >&6 |
5983 |
|
if test $ac_cv_type_size_t = yes; then |
5984 |
|
: |
5985 |
|
else |
5986 |
|
|
5987 |
|
cat >>confdefs.h <<_ACEOF |
5988 |
#define size_t unsigned |
#define size_t unsigned |
5989 |
EOF |
_ACEOF |
5990 |
|
|
5991 |
fi |
fi |
5992 |
|
|
5993 |
# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
5994 |
# for constant arguments. Useless! |
# for constant arguments. Useless! |
5995 |
echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for working alloca.h" >&5 |
5996 |
echo "configure:3101: checking for working alloca.h" >&5 |
echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6 |
5997 |
if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then |
if test "${ac_cv_working_alloca_h+set}" = set; then |
5998 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5999 |
else |
else |
6000 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
6001 |
#line 3106 "configure" |
/* confdefs.h. */ |
6002 |
#include "confdefs.h" |
_ACEOF |
6003 |
|
cat confdefs.h >>conftest.$ac_ext |
6004 |
|
cat >>conftest.$ac_ext <<_ACEOF |
6005 |
|
/* end confdefs.h. */ |
6006 |
#include <alloca.h> |
#include <alloca.h> |
6007 |
int main() { |
int |
6008 |
char *p = alloca(2 * sizeof(int)); |
main () |
6009 |
; return 0; } |
{ |
6010 |
EOF |
char *p = (char *) alloca (2 * sizeof (int)); |
6011 |
if { (eval echo configure:3113: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
; |
6012 |
rm -rf conftest* |
return 0; |
6013 |
ac_cv_header_alloca_h=yes |
} |
6014 |
else |
_ACEOF |
6015 |
echo "configure: failed program was:" >&5 |
rm -f conftest.$ac_objext conftest$ac_exeext |
6016 |
cat conftest.$ac_ext >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
6017 |
rm -rf conftest* |
(eval $ac_link) 2>conftest.er1 |
6018 |
ac_cv_header_alloca_h=no |
ac_status=$? |
6019 |
fi |
grep -v '^ *+' conftest.er1 >conftest.err |
6020 |
rm -f conftest* |
rm -f conftest.er1 |
6021 |
fi |
cat conftest.err >&5 |
6022 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6023 |
|
(exit $ac_status); } && |
6024 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
6025 |
|
|| test ! -s conftest.err' |
6026 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6027 |
|
(eval $ac_try) 2>&5 |
6028 |
|
ac_status=$? |
6029 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6030 |
|
(exit $ac_status); }; } && |
6031 |
|
{ ac_try='test -s conftest$ac_exeext' |
6032 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6033 |
|
(eval $ac_try) 2>&5 |
6034 |
|
ac_status=$? |
6035 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6036 |
|
(exit $ac_status); }; }; then |
6037 |
|
ac_cv_working_alloca_h=yes |
6038 |
|
else |
6039 |
|
echo "$as_me: failed program was:" >&5 |
6040 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
6041 |
|
|
6042 |
|
ac_cv_working_alloca_h=no |
6043 |
|
fi |
6044 |
|
rm -f conftest.err conftest.$ac_objext \ |
6045 |
|
conftest$ac_exeext conftest.$ac_ext |
6046 |
|
fi |
6047 |
|
echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5 |
6048 |
|
echo "${ECHO_T}$ac_cv_working_alloca_h" >&6 |
6049 |
|
if test $ac_cv_working_alloca_h = yes; then |
6050 |
|
|
6051 |
echo "$ac_t""$ac_cv_header_alloca_h" 1>&6 |
cat >>confdefs.h <<\_ACEOF |
|
if test $ac_cv_header_alloca_h = yes; then |
|
|
cat >> confdefs.h <<\EOF |
|
6052 |
#define HAVE_ALLOCA_H 1 |
#define HAVE_ALLOCA_H 1 |
6053 |
EOF |
_ACEOF |
6054 |
|
|
6055 |
fi |
fi |
6056 |
|
|
6057 |
echo $ac_n "checking for alloca""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for alloca" >&5 |
6058 |
echo "configure:3134: checking for alloca" >&5 |
echo $ECHO_N "checking for alloca... $ECHO_C" >&6 |
6059 |
if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then |
if test "${ac_cv_func_alloca_works+set}" = set; then |
6060 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
6061 |
else |
else |
6062 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
6063 |
#line 3139 "configure" |
/* confdefs.h. */ |
6064 |
#include "confdefs.h" |
_ACEOF |
6065 |
|
cat confdefs.h >>conftest.$ac_ext |
6066 |
|
cat >>conftest.$ac_ext <<_ACEOF |
6067 |
|
/* end confdefs.h. */ |
6068 |
#ifdef __GNUC__ |
#ifdef __GNUC__ |
6069 |
# define alloca __builtin_alloca |
# define alloca __builtin_alloca |
6070 |
#else |
#else |
6086 |
# endif |
# endif |
6087 |
#endif |
#endif |
6088 |
|
|
6089 |
int main() { |
int |
6090 |
char *p = (char *) alloca(1); |
main () |
6091 |
; return 0; } |
{ |
6092 |
EOF |
char *p = (char *) alloca (1); |
6093 |
if { (eval echo configure:3167: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
; |
6094 |
rm -rf conftest* |
return 0; |
6095 |
|
} |
6096 |
|
_ACEOF |
6097 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
6098 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
6099 |
|
(eval $ac_link) 2>conftest.er1 |
6100 |
|
ac_status=$? |
6101 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
6102 |
|
rm -f conftest.er1 |
6103 |
|
cat conftest.err >&5 |
6104 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6105 |
|
(exit $ac_status); } && |
6106 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
6107 |
|
|| test ! -s conftest.err' |
6108 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6109 |
|
(eval $ac_try) 2>&5 |
6110 |
|
ac_status=$? |
6111 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6112 |
|
(exit $ac_status); }; } && |
6113 |
|
{ ac_try='test -s conftest$ac_exeext' |
6114 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6115 |
|
(eval $ac_try) 2>&5 |
6116 |
|
ac_status=$? |
6117 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6118 |
|
(exit $ac_status); }; }; then |
6119 |
ac_cv_func_alloca_works=yes |
ac_cv_func_alloca_works=yes |
6120 |
else |
else |
6121 |
echo "configure: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
6122 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
6123 |
rm -rf conftest* |
|
6124 |
ac_cv_func_alloca_works=no |
ac_cv_func_alloca_works=no |
6125 |
fi |
fi |
6126 |
rm -f conftest* |
rm -f conftest.err conftest.$ac_objext \ |
6127 |
|
conftest$ac_exeext conftest.$ac_ext |
6128 |
fi |
fi |
6129 |
|
echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5 |
6130 |
|
echo "${ECHO_T}$ac_cv_func_alloca_works" >&6 |
6131 |
|
|
|
echo "$ac_t""$ac_cv_func_alloca_works" 1>&6 |
|
6132 |
if test $ac_cv_func_alloca_works = yes; then |
if test $ac_cv_func_alloca_works = yes; then |
|
cat >> confdefs.h <<\EOF |
|
|
#define HAVE_ALLOCA 1 |
|
|
EOF |
|
6133 |
|
|
6134 |
fi |
cat >>confdefs.h <<\_ACEOF |
6135 |
|
#define HAVE_ALLOCA 1 |
6136 |
|
_ACEOF |
6137 |
|
|
6138 |
if test $ac_cv_func_alloca_works = no; then |
else |
6139 |
# The SVR3 libPW and SVR4 libucb both contain incompatible functions |
# The SVR3 libPW and SVR4 libucb both contain incompatible functions |
6140 |
# that cause trouble. Some versions do not even contain alloca or |
# that cause trouble. Some versions do not even contain alloca or |
6141 |
# contain a buggy version. If you still want to use their alloca, |
# contain a buggy version. If you still want to use their alloca, |
6142 |
# use ar to extract alloca.o from them instead of compiling alloca.c. |
# use ar to extract alloca.o from them instead of compiling alloca.c. |
6143 |
ALLOCA=alloca.${ac_objext} |
|
6144 |
cat >> confdefs.h <<\EOF |
ALLOCA=alloca.$ac_objext |
6145 |
|
|
6146 |
|
cat >>confdefs.h <<\_ACEOF |
6147 |
#define C_ALLOCA 1 |
#define C_ALLOCA 1 |
6148 |
EOF |
_ACEOF |
6149 |
|
|
6150 |
|
|
6151 |
echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5 |
6152 |
echo "configure:3199: checking whether alloca needs Cray hooks" >&5 |
echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6 |
6153 |
if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then |
if test "${ac_cv_os_cray+set}" = set; then |
6154 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
6155 |
else |
else |
6156 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
6157 |
#line 3204 "configure" |
/* confdefs.h. */ |
6158 |
#include "confdefs.h" |
_ACEOF |
6159 |
|
cat confdefs.h >>conftest.$ac_ext |
6160 |
|
cat >>conftest.$ac_ext <<_ACEOF |
6161 |
|
/* end confdefs.h. */ |
6162 |
#if defined(CRAY) && ! defined(CRAY2) |
#if defined(CRAY) && ! defined(CRAY2) |
6163 |
webecray |
webecray |
6164 |
#else |
#else |
6165 |
wenotbecray |
wenotbecray |
6166 |
#endif |
#endif |
6167 |
|
|
6168 |
EOF |
_ACEOF |
6169 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
6170 |
egrep "webecray" >/dev/null 2>&1; then |
$EGREP "webecray" >/dev/null 2>&1; then |
|
rm -rf conftest* |
|
6171 |
ac_cv_os_cray=yes |
ac_cv_os_cray=yes |
6172 |
else |
else |
|
rm -rf conftest* |
|
6173 |
ac_cv_os_cray=no |
ac_cv_os_cray=no |
6174 |
fi |
fi |
6175 |
rm -f conftest* |
rm -f conftest* |
6176 |
|
|
6177 |
fi |
fi |
6178 |
|
echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5 |
6179 |
echo "$ac_t""$ac_cv_os_cray" 1>&6 |
echo "${ECHO_T}$ac_cv_os_cray" >&6 |
6180 |
if test $ac_cv_os_cray = yes; then |
if test $ac_cv_os_cray = yes; then |
6181 |
for ac_func in _getb67 GETB67 getb67; do |
for ac_func in _getb67 GETB67 getb67; do |
6182 |
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
6183 |
echo "configure:3229: checking for $ac_func" >&5 |
echo "$as_me:$LINENO: checking for $ac_func" >&5 |
6184 |
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
6185 |
echo $ac_n "(cached) $ac_c" 1>&6 |
if eval "test \"\${$as_ac_var+set}\" = set"; then |
6186 |
else |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
6187 |
cat > conftest.$ac_ext <<EOF |
else |
6188 |
#line 3234 "configure" |
cat >conftest.$ac_ext <<_ACEOF |
6189 |
#include "confdefs.h" |
/* confdefs.h. */ |
6190 |
|
_ACEOF |
6191 |
|
cat confdefs.h >>conftest.$ac_ext |
6192 |
|
cat >>conftest.$ac_ext <<_ACEOF |
6193 |
|
/* end confdefs.h. */ |
6194 |
|
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
6195 |
|
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
6196 |
|
#define $ac_func innocuous_$ac_func |
6197 |
|
|
6198 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
6199 |
which can conflict with char $ac_func(); below. */ |
which can conflict with char $ac_func (); below. |
6200 |
#include <assert.h> |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
6201 |
/* Override any gcc2 internal prototype to avoid an error. */ |
<limits.h> exists even on freestanding compilers. */ |
6202 |
/* We use char because int might match the return type of a gcc2 |
|
6203 |
builtin and then its argument prototype would still apply. */ |
#ifdef __STDC__ |
6204 |
char $ac_func(); |
# include <limits.h> |
6205 |
|
#else |
6206 |
|
# include <assert.h> |
6207 |
|
#endif |
6208 |
|
|
6209 |
int main() { |
#undef $ac_func |
6210 |
|
|
6211 |
|
/* Override any gcc2 internal prototype to avoid an error. */ |
6212 |
|
#ifdef __cplusplus |
6213 |
|
extern "C" |
6214 |
|
{ |
6215 |
|
#endif |
6216 |
|
/* We use char because int might match the return type of a gcc2 |
6217 |
|
builtin and then its argument prototype would still apply. */ |
6218 |
|
char $ac_func (); |
6219 |
/* The GNU C library defines this for functions which it implements |
/* The GNU C library defines this for functions which it implements |
6220 |
to always fail with ENOSYS. Some functions are actually named |
to always fail with ENOSYS. Some functions are actually named |
6221 |
something starting with __ and the normal name is an alias. */ |
something starting with __ and the normal name is an alias. */ |
6222 |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
6223 |
choke me |
choke me |
6224 |
#else |
#else |
6225 |
$ac_func(); |
char (*f) () = $ac_func; |
6226 |
|
#endif |
6227 |
|
#ifdef __cplusplus |
6228 |
|
} |
6229 |
#endif |
#endif |
6230 |
|
|
6231 |
; return 0; } |
int |
6232 |
EOF |
main () |
6233 |
if { (eval echo configure:3257: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
{ |
6234 |
rm -rf conftest* |
return f != $ac_func; |
6235 |
eval "ac_cv_func_$ac_func=yes" |
; |
6236 |
else |
return 0; |
6237 |
echo "configure: failed program was:" >&5 |
} |
6238 |
cat conftest.$ac_ext >&5 |
_ACEOF |
6239 |
rm -rf conftest* |
rm -f conftest.$ac_objext conftest$ac_exeext |
6240 |
eval "ac_cv_func_$ac_func=no" |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
6241 |
fi |
(eval $ac_link) 2>conftest.er1 |
6242 |
rm -f conftest* |
ac_status=$? |
6243 |
fi |
grep -v '^ *+' conftest.er1 >conftest.err |
6244 |
|
rm -f conftest.er1 |
6245 |
|
cat conftest.err >&5 |
6246 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6247 |
|
(exit $ac_status); } && |
6248 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
6249 |
|
|| test ! -s conftest.err' |
6250 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6251 |
|
(eval $ac_try) 2>&5 |
6252 |
|
ac_status=$? |
6253 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6254 |
|
(exit $ac_status); }; } && |
6255 |
|
{ ac_try='test -s conftest$ac_exeext' |
6256 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6257 |
|
(eval $ac_try) 2>&5 |
6258 |
|
ac_status=$? |
6259 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6260 |
|
(exit $ac_status); }; }; then |
6261 |
|
eval "$as_ac_var=yes" |
6262 |
|
else |
6263 |
|
echo "$as_me: failed program was:" >&5 |
6264 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
6265 |
|
|
6266 |
|
eval "$as_ac_var=no" |
6267 |
|
fi |
6268 |
|
rm -f conftest.err conftest.$ac_objext \ |
6269 |
|
conftest$ac_exeext conftest.$ac_ext |
6270 |
|
fi |
6271 |
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
6272 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
6273 |
|
if test `eval echo '${'$as_ac_var'}'` = yes; then |
6274 |
|
|
6275 |
if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then |
cat >>confdefs.h <<_ACEOF |
|
echo "$ac_t""yes" 1>&6 |
|
|
cat >> confdefs.h <<EOF |
|
6276 |
#define CRAY_STACKSEG_END $ac_func |
#define CRAY_STACKSEG_END $ac_func |
6277 |
EOF |
_ACEOF |
6278 |
|
|
6279 |
break |
break |
|
else |
|
|
echo "$ac_t""no" 1>&6 |
|
6280 |
fi |
fi |
6281 |
|
|
6282 |
done |
done |
6283 |
fi |
fi |
6284 |
|
|
6285 |
echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking stack direction for C alloca" >&5 |
6286 |
echo "configure:3284: checking stack direction for C alloca" >&5 |
echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6 |
6287 |
if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then |
if test "${ac_cv_c_stack_direction+set}" = set; then |
6288 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
6289 |
else |
else |
6290 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
6291 |
ac_cv_c_stack_direction=0 |
ac_cv_c_stack_direction=0 |
6292 |
else |
else |
6293 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
6294 |
#line 3292 "configure" |
/* confdefs.h. */ |
6295 |
#include "confdefs.h" |
_ACEOF |
6296 |
|
cat confdefs.h >>conftest.$ac_ext |
6297 |
|
cat >>conftest.$ac_ext <<_ACEOF |
6298 |
|
/* end confdefs.h. */ |
6299 |
|
int |
6300 |
find_stack_direction () |
find_stack_direction () |
6301 |
{ |
{ |
6302 |
static char *addr = 0; |
static char *addr = 0; |
6309 |
else |
else |
6310 |
return (&dummy > addr) ? 1 : -1; |
return (&dummy > addr) ? 1 : -1; |
6311 |
} |
} |
6312 |
|
|
6313 |
|
int |
6314 |
main () |
main () |
6315 |
{ |
{ |
6316 |
exit (find_stack_direction() < 0); |
exit (find_stack_direction () < 0); |
6317 |
} |
} |
6318 |
EOF |
_ACEOF |
6319 |
if { (eval echo configure:3311: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
rm -f conftest$ac_exeext |
6320 |
then |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
6321 |
|
(eval $ac_link) 2>&5 |
6322 |
|
ac_status=$? |
6323 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6324 |
|
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
6325 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6326 |
|
(eval $ac_try) 2>&5 |
6327 |
|
ac_status=$? |
6328 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6329 |
|
(exit $ac_status); }; }; then |
6330 |
ac_cv_c_stack_direction=1 |
ac_cv_c_stack_direction=1 |
6331 |
else |
else |
6332 |
echo "configure: failed program was:" >&5 |
echo "$as_me: program exited with status $ac_status" >&5 |
6333 |
cat conftest.$ac_ext >&5 |
echo "$as_me: failed program was:" >&5 |
6334 |
rm -fr conftest* |
sed 's/^/| /' conftest.$ac_ext >&5 |
6335 |
ac_cv_c_stack_direction=-1 |
|
6336 |
|
( exit $ac_status ) |
6337 |
|
ac_cv_c_stack_direction=-1 |
6338 |
fi |
fi |
6339 |
rm -fr conftest* |
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
6340 |
fi |
fi |
|
|
|
6341 |
fi |
fi |
6342 |
|
echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5 |
6343 |
|
echo "${ECHO_T}$ac_cv_c_stack_direction" >&6 |
6344 |
|
|
6345 |
echo "$ac_t""$ac_cv_c_stack_direction" 1>&6 |
cat >>confdefs.h <<_ACEOF |
|
cat >> confdefs.h <<EOF |
|
6346 |
#define STACK_DIRECTION $ac_cv_c_stack_direction |
#define STACK_DIRECTION $ac_cv_c_stack_direction |
6347 |
EOF |
_ACEOF |
6348 |
|
|
6349 |
|
|
6350 |
fi |
fi |
6351 |
|
|
6352 |
for ac_hdr in unistd.h |
|
6353 |
|
|
6354 |
|
for ac_header in stdlib.h unistd.h |
6355 |
do |
do |
6356 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
6357 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
6358 |
echo "configure:3336: checking for $ac_hdr" >&5 |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
6359 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
6360 |
echo $ac_n "(cached) $ac_c" 1>&6 |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
6361 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
6362 |
|
fi |
6363 |
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
6364 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
6365 |
|
else |
6366 |
|
# Is the header compilable? |
6367 |
|
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
6368 |
|
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
6369 |
|
cat >conftest.$ac_ext <<_ACEOF |
6370 |
|
/* confdefs.h. */ |
6371 |
|
_ACEOF |
6372 |
|
cat confdefs.h >>conftest.$ac_ext |
6373 |
|
cat >>conftest.$ac_ext <<_ACEOF |
6374 |
|
/* end confdefs.h. */ |
6375 |
|
$ac_includes_default |
6376 |
|
#include <$ac_header> |
6377 |
|
_ACEOF |
6378 |
|
rm -f conftest.$ac_objext |
6379 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
6380 |
|
(eval $ac_compile) 2>conftest.er1 |
6381 |
|
ac_status=$? |
6382 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
6383 |
|
rm -f conftest.er1 |
6384 |
|
cat conftest.err >&5 |
6385 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6386 |
|
(exit $ac_status); } && |
6387 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
6388 |
|
|| test ! -s conftest.err' |
6389 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6390 |
|
(eval $ac_try) 2>&5 |
6391 |
|
ac_status=$? |
6392 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6393 |
|
(exit $ac_status); }; } && |
6394 |
|
{ ac_try='test -s conftest.$ac_objext' |
6395 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6396 |
|
(eval $ac_try) 2>&5 |
6397 |
|
ac_status=$? |
6398 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6399 |
|
(exit $ac_status); }; }; then |
6400 |
|
ac_header_compiler=yes |
6401 |
|
else |
6402 |
|
echo "$as_me: failed program was:" >&5 |
6403 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
6404 |
|
|
6405 |
|
ac_header_compiler=no |
6406 |
|
fi |
6407 |
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
6408 |
|
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
6409 |
|
echo "${ECHO_T}$ac_header_compiler" >&6 |
6410 |
|
|
6411 |
|
# Is the header present? |
6412 |
|
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
6413 |
|
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
6414 |
|
cat >conftest.$ac_ext <<_ACEOF |
6415 |
|
/* confdefs.h. */ |
6416 |
|
_ACEOF |
6417 |
|
cat confdefs.h >>conftest.$ac_ext |
6418 |
|
cat >>conftest.$ac_ext <<_ACEOF |
6419 |
|
/* end confdefs.h. */ |
6420 |
|
#include <$ac_header> |
6421 |
|
_ACEOF |
6422 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
6423 |
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
6424 |
|
ac_status=$? |
6425 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
6426 |
|
rm -f conftest.er1 |
6427 |
|
cat conftest.err >&5 |
6428 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6429 |
|
(exit $ac_status); } >/dev/null; then |
6430 |
|
if test -s conftest.err; then |
6431 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
6432 |
|
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
6433 |
|
else |
6434 |
|
ac_cpp_err= |
6435 |
|
fi |
6436 |
else |
else |
6437 |
cat > conftest.$ac_ext <<EOF |
ac_cpp_err=yes |
6438 |
#line 3341 "configure" |
fi |
6439 |
#include "confdefs.h" |
if test -z "$ac_cpp_err"; then |
6440 |
#include <$ac_hdr> |
ac_header_preproc=yes |
|
EOF |
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
|
|
{ (eval echo configure:3346: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|
|
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
|
|
if test -z "$ac_err"; then |
|
|
rm -rf conftest* |
|
|
eval "ac_cv_header_$ac_safe=yes" |
|
6441 |
else |
else |
6442 |
echo "$ac_err" >&5 |
echo "$as_me: failed program was:" >&5 |
6443 |
echo "configure: failed program was:" >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
6444 |
cat conftest.$ac_ext >&5 |
|
6445 |
rm -rf conftest* |
ac_header_preproc=no |
6446 |
eval "ac_cv_header_$ac_safe=no" |
fi |
6447 |
|
rm -f conftest.err conftest.$ac_ext |
6448 |
|
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
6449 |
|
echo "${ECHO_T}$ac_header_preproc" >&6 |
6450 |
|
|
6451 |
|
# So? What about this header? |
6452 |
|
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
6453 |
|
yes:no: ) |
6454 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
6455 |
|
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
6456 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
6457 |
|
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
6458 |
|
ac_header_preproc=yes |
6459 |
|
;; |
6460 |
|
no:yes:* ) |
6461 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
6462 |
|
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
6463 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
6464 |
|
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
6465 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
6466 |
|
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
6467 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
6468 |
|
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
6469 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
6470 |
|
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
6471 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
6472 |
|
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
6473 |
|
( |
6474 |
|
cat <<\_ASBOX |
6475 |
|
## ------------------------------------------ ## |
6476 |
|
## Report this to the AC_PACKAGE_NAME lists. ## |
6477 |
|
## ------------------------------------------ ## |
6478 |
|
_ASBOX |
6479 |
|
) | |
6480 |
|
sed "s/^/$as_me: WARNING: /" >&2 |
6481 |
|
;; |
6482 |
|
esac |
6483 |
|
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
6484 |
|
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
6485 |
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
6486 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
6487 |
|
else |
6488 |
|
eval "$as_ac_Header=\$ac_header_preproc" |
6489 |
fi |
fi |
6490 |
rm -f conftest* |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
6491 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
6492 |
|
|
6493 |
fi |
fi |
6494 |
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
6495 |
echo "$ac_t""yes" 1>&6 |
cat >>confdefs.h <<_ACEOF |
6496 |
ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
6497 |
cat >> confdefs.h <<EOF |
_ACEOF |
6498 |
#define $ac_tr_hdr 1 |
|
|
EOF |
|
|
|
|
|
else |
|
|
echo "$ac_t""no" 1>&6 |
|
6499 |
fi |
fi |
6500 |
|
|
6501 |
done |
done |
6502 |
|
|
6503 |
|
|
6504 |
for ac_func in getpagesize |
for ac_func in getpagesize |
6505 |
do |
do |
6506 |
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
6507 |
echo "configure:3375: checking for $ac_func" >&5 |
echo "$as_me:$LINENO: checking for $ac_func" >&5 |
6508 |
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
6509 |
echo $ac_n "(cached) $ac_c" 1>&6 |
if eval "test \"\${$as_ac_var+set}\" = set"; then |
6510 |
else |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
6511 |
cat > conftest.$ac_ext <<EOF |
else |
6512 |
#line 3380 "configure" |
cat >conftest.$ac_ext <<_ACEOF |
6513 |
#include "confdefs.h" |
/* confdefs.h. */ |
6514 |
|
_ACEOF |
6515 |
|
cat confdefs.h >>conftest.$ac_ext |
6516 |
|
cat >>conftest.$ac_ext <<_ACEOF |
6517 |
|
/* end confdefs.h. */ |
6518 |
|
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
6519 |
|
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
6520 |
|
#define $ac_func innocuous_$ac_func |
6521 |
|
|
6522 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
6523 |
which can conflict with char $ac_func(); below. */ |
which can conflict with char $ac_func (); below. |
6524 |
#include <assert.h> |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
6525 |
/* Override any gcc2 internal prototype to avoid an error. */ |
<limits.h> exists even on freestanding compilers. */ |
|
/* We use char because int might match the return type of a gcc2 |
|
|
builtin and then its argument prototype would still apply. */ |
|
|
char $ac_func(); |
|
6526 |
|
|
6527 |
int main() { |
#ifdef __STDC__ |
6528 |
|
# include <limits.h> |
6529 |
|
#else |
6530 |
|
# include <assert.h> |
6531 |
|
#endif |
6532 |
|
|
6533 |
|
#undef $ac_func |
6534 |
|
|
6535 |
|
/* Override any gcc2 internal prototype to avoid an error. */ |
6536 |
|
#ifdef __cplusplus |
6537 |
|
extern "C" |
6538 |
|
{ |
6539 |
|
#endif |
6540 |
|
/* We use char because int might match the return type of a gcc2 |
6541 |
|
builtin and then its argument prototype would still apply. */ |
6542 |
|
char $ac_func (); |
6543 |
/* The GNU C library defines this for functions which it implements |
/* The GNU C library defines this for functions which it implements |
6544 |
to always fail with ENOSYS. Some functions are actually named |
to always fail with ENOSYS. Some functions are actually named |
6545 |
something starting with __ and the normal name is an alias. */ |
something starting with __ and the normal name is an alias. */ |
6546 |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
6547 |
choke me |
choke me |
6548 |
#else |
#else |
6549 |
$ac_func(); |
char (*f) () = $ac_func; |
6550 |
|
#endif |
6551 |
|
#ifdef __cplusplus |
6552 |
|
} |
6553 |
#endif |
#endif |
6554 |
|
|
6555 |
; return 0; } |
int |
6556 |
EOF |
main () |
6557 |
if { (eval echo configure:3403: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
{ |
6558 |
rm -rf conftest* |
return f != $ac_func; |
6559 |
eval "ac_cv_func_$ac_func=yes" |
; |
6560 |
else |
return 0; |
6561 |
echo "configure: failed program was:" >&5 |
} |
6562 |
cat conftest.$ac_ext >&5 |
_ACEOF |
6563 |
rm -rf conftest* |
rm -f conftest.$ac_objext conftest$ac_exeext |
6564 |
eval "ac_cv_func_$ac_func=no" |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
6565 |
fi |
(eval $ac_link) 2>conftest.er1 |
6566 |
rm -f conftest* |
ac_status=$? |
6567 |
fi |
grep -v '^ *+' conftest.er1 >conftest.err |
6568 |
|
rm -f conftest.er1 |
6569 |
|
cat conftest.err >&5 |
6570 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6571 |
|
(exit $ac_status); } && |
6572 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
6573 |
|
|| test ! -s conftest.err' |
6574 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6575 |
|
(eval $ac_try) 2>&5 |
6576 |
|
ac_status=$? |
6577 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6578 |
|
(exit $ac_status); }; } && |
6579 |
|
{ ac_try='test -s conftest$ac_exeext' |
6580 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6581 |
|
(eval $ac_try) 2>&5 |
6582 |
|
ac_status=$? |
6583 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6584 |
|
(exit $ac_status); }; }; then |
6585 |
|
eval "$as_ac_var=yes" |
6586 |
|
else |
6587 |
|
echo "$as_me: failed program was:" >&5 |
6588 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
6589 |
|
|
6590 |
|
eval "$as_ac_var=no" |
6591 |
|
fi |
6592 |
|
rm -f conftest.err conftest.$ac_objext \ |
6593 |
|
conftest$ac_exeext conftest.$ac_ext |
6594 |
|
fi |
6595 |
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
6596 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
6597 |
|
if test `eval echo '${'$as_ac_var'}'` = yes; then |
6598 |
|
cat >>confdefs.h <<_ACEOF |
6599 |
|
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
6600 |
|
_ACEOF |
6601 |
|
|
|
if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then |
|
|
echo "$ac_t""yes" 1>&6 |
|
|
ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` |
|
|
cat >> confdefs.h <<EOF |
|
|
#define $ac_tr_func 1 |
|
|
EOF |
|
|
|
|
|
else |
|
|
echo "$ac_t""no" 1>&6 |
|
6602 |
fi |
fi |
6603 |
done |
done |
6604 |
|
|
6605 |
echo $ac_n "checking for working mmap""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for working mmap" >&5 |
6606 |
echo "configure:3428: checking for working mmap" >&5 |
echo $ECHO_N "checking for working mmap... $ECHO_C" >&6 |
6607 |
if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then |
if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then |
6608 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
6609 |
else |
else |
6610 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
6611 |
ac_cv_func_mmap_fixed_mapped=no |
ac_cv_func_mmap_fixed_mapped=no |
6612 |
else |
else |
6613 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
6614 |
#line 3436 "configure" |
/* confdefs.h. */ |
6615 |
#include "confdefs.h" |
_ACEOF |
6616 |
|
cat confdefs.h >>conftest.$ac_ext |
6617 |
|
cat >>conftest.$ac_ext <<_ACEOF |
6618 |
|
/* end confdefs.h. */ |
6619 |
|
$ac_includes_default |
6620 |
|
/* malloc might have been renamed as rpl_malloc. */ |
6621 |
|
#undef malloc |
6622 |
|
|
6623 |
/* Thanks to Mike Haertel and Jim Avera for this test. |
/* Thanks to Mike Haertel and Jim Avera for this test. |
6624 |
Here is a matrix of mmap possibilities: |
Here is a matrix of mmap possibilities: |
6632 |
back from the file, nor mmap's back from the file at a different |
back from the file, nor mmap's back from the file at a different |
6633 |
address. (There have been systems where private was not correctly |
address. (There have been systems where private was not correctly |
6634 |
implemented like the infamous i386 svr4.0, and systems where the |
implemented like the infamous i386 svr4.0, and systems where the |
6635 |
VM page cache was not coherent with the filesystem buffer cache |
VM page cache was not coherent with the file system buffer cache |
6636 |
like early versions of FreeBSD and possibly contemporary NetBSD.) |
like early versions of FreeBSD and possibly contemporary NetBSD.) |
6637 |
For shared mappings, we should conversely verify that changes get |
For shared mappings, we should conversely verify that changes get |
6638 |
propogated back to all the places they're supposed to be. |
propagated back to all the places they're supposed to be. |
6639 |
|
|
6640 |
Grep wants private fixed already mapped. |
Grep wants private fixed already mapped. |
6641 |
The main things grep needs to know about mmap are: |
The main things grep needs to know about mmap are: |
6642 |
* does it exist and is it safe to write into the mmap'd area |
* does it exist and is it safe to write into the mmap'd area |
6643 |
* how to use it (BSD variants) */ |
* how to use it (BSD variants) */ |
6644 |
#include <sys/types.h> |
|
6645 |
#include <fcntl.h> |
#include <fcntl.h> |
6646 |
#include <sys/mman.h> |
#include <sys/mman.h> |
6647 |
|
|
6648 |
/* This mess was copied from the GNU getpagesize.h. */ |
#if !STDC_HEADERS && !HAVE_STDLIB_H |
6649 |
#ifndef HAVE_GETPAGESIZE |
char *malloc (); |
6650 |
# ifdef HAVE_UNISTD_H |
#endif |
|
# include <unistd.h> |
|
|
# endif |
|
6651 |
|
|
6652 |
|
/* This mess was copied from the GNU getpagesize.h. */ |
6653 |
|
#if !HAVE_GETPAGESIZE |
6654 |
/* Assume that all systems that can run configure have sys/param.h. */ |
/* Assume that all systems that can run configure have sys/param.h. */ |
6655 |
# ifndef HAVE_SYS_PARAM_H |
# if !HAVE_SYS_PARAM_H |
6656 |
# define HAVE_SYS_PARAM_H 1 |
# define HAVE_SYS_PARAM_H 1 |
6657 |
# endif |
# endif |
6658 |
|
|
6659 |
# ifdef _SC_PAGESIZE |
# ifdef _SC_PAGESIZE |
6660 |
# define getpagesize() sysconf(_SC_PAGESIZE) |
# define getpagesize() sysconf(_SC_PAGESIZE) |
6661 |
# else /* no _SC_PAGESIZE */ |
# else /* no _SC_PAGESIZE */ |
6662 |
# ifdef HAVE_SYS_PARAM_H |
# if HAVE_SYS_PARAM_H |
6663 |
# include <sys/param.h> |
# include <sys/param.h> |
6664 |
# ifdef EXEC_PAGESIZE |
# ifdef EXEC_PAGESIZE |
6665 |
# define getpagesize() EXEC_PAGESIZE |
# define getpagesize() EXEC_PAGESIZE |
6686 |
|
|
6687 |
#endif /* no HAVE_GETPAGESIZE */ |
#endif /* no HAVE_GETPAGESIZE */ |
6688 |
|
|
|
#ifdef __cplusplus |
|
|
extern "C" { void *malloc(unsigned); } |
|
|
#else |
|
|
char *malloc(); |
|
|
#endif |
|
|
|
|
6689 |
int |
int |
6690 |
main() |
main () |
6691 |
{ |
{ |
6692 |
char *data, *data2, *data3; |
char *data, *data2, *data3; |
6693 |
int i, pagesize; |
int i, pagesize; |
6694 |
int fd; |
int fd; |
6695 |
|
|
6696 |
pagesize = getpagesize(); |
pagesize = getpagesize (); |
6697 |
|
|
6698 |
/* |
/* First, make a file with some known garbage in it. */ |
6699 |
* First, make a file with some known garbage in it. |
data = (char *) malloc (pagesize); |
6700 |
*/ |
if (!data) |
6701 |
data = malloc(pagesize); |
exit (1); |
6702 |
if (!data) |
for (i = 0; i < pagesize; ++i) |
6703 |
exit(1); |
*(data + i) = rand (); |
6704 |
for (i = 0; i < pagesize; ++i) |
umask (0); |
6705 |
*(data + i) = rand(); |
fd = creat ("conftest.mmap", 0600); |
6706 |
umask(0); |
if (fd < 0) |
6707 |
fd = creat("conftestmmap", 0600); |
exit (1); |
6708 |
if (fd < 0) |
if (write (fd, data, pagesize) != pagesize) |
6709 |
exit(1); |
exit (1); |
6710 |
if (write(fd, data, pagesize) != pagesize) |
close (fd); |
6711 |
exit(1); |
|
6712 |
close(fd); |
/* Next, try to mmap the file at a fixed address which already has |
6713 |
|
something else allocated at it. If we can, also make sure that |
6714 |
/* |
we see the same garbage. */ |
6715 |
* Next, try to mmap the file at a fixed address which |
fd = open ("conftest.mmap", O_RDWR); |
6716 |
* already has something else allocated at it. If we can, |
if (fd < 0) |
6717 |
* also make sure that we see the same garbage. |
exit (1); |
6718 |
*/ |
data2 = (char *) malloc (2 * pagesize); |
6719 |
fd = open("conftestmmap", O_RDWR); |
if (!data2) |
6720 |
if (fd < 0) |
exit (1); |
6721 |
exit(1); |
data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1); |
6722 |
data2 = malloc(2 * pagesize); |
if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE, |
6723 |
if (!data2) |
MAP_PRIVATE | MAP_FIXED, fd, 0L)) |
6724 |
exit(1); |
exit (1); |
6725 |
data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1); |
for (i = 0; i < pagesize; ++i) |
6726 |
if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE, |
if (*(data + i) != *(data2 + i)) |
6727 |
MAP_PRIVATE | MAP_FIXED, fd, 0L)) |
exit (1); |
6728 |
exit(1); |
|
6729 |
for (i = 0; i < pagesize; ++i) |
/* Finally, make sure that changes to the mapped area do not |
6730 |
if (*(data + i) != *(data2 + i)) |
percolate back to the file as seen by read(). (This is a bug on |
6731 |
exit(1); |
some variants of i386 svr4.0.) */ |
6732 |
|
for (i = 0; i < pagesize; ++i) |
6733 |
/* |
*(data2 + i) = *(data2 + i) + 1; |
6734 |
* Finally, make sure that changes to the mapped area |
data3 = (char *) malloc (pagesize); |
6735 |
* do not percolate back to the file as seen by read(). |
if (!data3) |
6736 |
* (This is a bug on some variants of i386 svr4.0.) |
exit (1); |
6737 |
*/ |
if (read (fd, data3, pagesize) != pagesize) |
6738 |
for (i = 0; i < pagesize; ++i) |
exit (1); |
6739 |
*(data2 + i) = *(data2 + i) + 1; |
for (i = 0; i < pagesize; ++i) |
6740 |
data3 = malloc(pagesize); |
if (*(data + i) != *(data3 + i)) |
6741 |
if (!data3) |
exit (1); |
6742 |
exit(1); |
close (fd); |
6743 |
if (read(fd, data3, pagesize) != pagesize) |
exit (0); |
|
exit(1); |
|
|
for (i = 0; i < pagesize; ++i) |
|
|
if (*(data + i) != *(data3 + i)) |
|
|
exit(1); |
|
|
close(fd); |
|
|
unlink("conftestmmap"); |
|
|
exit(0); |
|
6744 |
} |
} |
6745 |
|
_ACEOF |
6746 |
EOF |
rm -f conftest$ac_exeext |
6747 |
if { (eval echo configure:3576: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
6748 |
then |
(eval $ac_link) 2>&5 |
6749 |
|
ac_status=$? |
6750 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6751 |
|
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
6752 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6753 |
|
(eval $ac_try) 2>&5 |
6754 |
|
ac_status=$? |
6755 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6756 |
|
(exit $ac_status); }; }; then |
6757 |
ac_cv_func_mmap_fixed_mapped=yes |
ac_cv_func_mmap_fixed_mapped=yes |
6758 |
else |
else |
6759 |
echo "configure: failed program was:" >&5 |
echo "$as_me: program exited with status $ac_status" >&5 |
6760 |
cat conftest.$ac_ext >&5 |
echo "$as_me: failed program was:" >&5 |
6761 |
rm -fr conftest* |
sed 's/^/| /' conftest.$ac_ext >&5 |
6762 |
ac_cv_func_mmap_fixed_mapped=no |
|
6763 |
|
( exit $ac_status ) |
6764 |
|
ac_cv_func_mmap_fixed_mapped=no |
6765 |
fi |
fi |
6766 |
rm -fr conftest* |
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
6767 |
fi |
fi |
|
|
|
6768 |
fi |
fi |
6769 |
|
echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5 |
6770 |
echo "$ac_t""$ac_cv_func_mmap_fixed_mapped" 1>&6 |
echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6 |
6771 |
if test $ac_cv_func_mmap_fixed_mapped = yes; then |
if test $ac_cv_func_mmap_fixed_mapped = yes; then |
6772 |
cat >> confdefs.h <<\EOF |
|
6773 |
|
cat >>confdefs.h <<\_ACEOF |
6774 |
#define HAVE_MMAP 1 |
#define HAVE_MMAP 1 |
6775 |
EOF |
_ACEOF |
6776 |
|
|
6777 |
fi |
fi |
6778 |
|
rm -f conftest.mmap |
6779 |
|
|
6780 |
|
|
6781 |
|
|
6782 |
|
|
6783 |
for ac_hdr in argz.h limits.h locale.h nl_types.h malloc.h string.h \ |
|
6784 |
|
|
6785 |
|
|
6786 |
|
|
6787 |
|
|
6788 |
|
|
6789 |
|
|
6790 |
|
for ac_header in argz.h limits.h locale.h nl_types.h malloc.h string.h \ |
6791 |
unistd.h values.h sys/param.h |
unistd.h values.h sys/param.h |
6792 |
do |
do |
6793 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
6794 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
6795 |
echo "configure:3604: checking for $ac_hdr" >&5 |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
6796 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
6797 |
echo $ac_n "(cached) $ac_c" 1>&6 |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
6798 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
6799 |
|
fi |
6800 |
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
6801 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
6802 |
|
else |
6803 |
|
# Is the header compilable? |
6804 |
|
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
6805 |
|
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
6806 |
|
cat >conftest.$ac_ext <<_ACEOF |
6807 |
|
/* confdefs.h. */ |
6808 |
|
_ACEOF |
6809 |
|
cat confdefs.h >>conftest.$ac_ext |
6810 |
|
cat >>conftest.$ac_ext <<_ACEOF |
6811 |
|
/* end confdefs.h. */ |
6812 |
|
$ac_includes_default |
6813 |
|
#include <$ac_header> |
6814 |
|
_ACEOF |
6815 |
|
rm -f conftest.$ac_objext |
6816 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
6817 |
|
(eval $ac_compile) 2>conftest.er1 |
6818 |
|
ac_status=$? |
6819 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
6820 |
|
rm -f conftest.er1 |
6821 |
|
cat conftest.err >&5 |
6822 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6823 |
|
(exit $ac_status); } && |
6824 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
6825 |
|
|| test ! -s conftest.err' |
6826 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6827 |
|
(eval $ac_try) 2>&5 |
6828 |
|
ac_status=$? |
6829 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6830 |
|
(exit $ac_status); }; } && |
6831 |
|
{ ac_try='test -s conftest.$ac_objext' |
6832 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6833 |
|
(eval $ac_try) 2>&5 |
6834 |
|
ac_status=$? |
6835 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6836 |
|
(exit $ac_status); }; }; then |
6837 |
|
ac_header_compiler=yes |
6838 |
|
else |
6839 |
|
echo "$as_me: failed program was:" >&5 |
6840 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
6841 |
|
|
6842 |
|
ac_header_compiler=no |
6843 |
|
fi |
6844 |
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
6845 |
|
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
6846 |
|
echo "${ECHO_T}$ac_header_compiler" >&6 |
6847 |
|
|
6848 |
|
# Is the header present? |
6849 |
|
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
6850 |
|
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
6851 |
|
cat >conftest.$ac_ext <<_ACEOF |
6852 |
|
/* confdefs.h. */ |
6853 |
|
_ACEOF |
6854 |
|
cat confdefs.h >>conftest.$ac_ext |
6855 |
|
cat >>conftest.$ac_ext <<_ACEOF |
6856 |
|
/* end confdefs.h. */ |
6857 |
|
#include <$ac_header> |
6858 |
|
_ACEOF |
6859 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
6860 |
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
6861 |
|
ac_status=$? |
6862 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
6863 |
|
rm -f conftest.er1 |
6864 |
|
cat conftest.err >&5 |
6865 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6866 |
|
(exit $ac_status); } >/dev/null; then |
6867 |
|
if test -s conftest.err; then |
6868 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
6869 |
|
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
6870 |
|
else |
6871 |
|
ac_cpp_err= |
6872 |
|
fi |
6873 |
else |
else |
6874 |
cat > conftest.$ac_ext <<EOF |
ac_cpp_err=yes |
6875 |
#line 3609 "configure" |
fi |
6876 |
#include "confdefs.h" |
if test -z "$ac_cpp_err"; then |
6877 |
#include <$ac_hdr> |
ac_header_preproc=yes |
|
EOF |
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
|
|
{ (eval echo configure:3614: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|
|
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
|
|
if test -z "$ac_err"; then |
|
|
rm -rf conftest* |
|
|
eval "ac_cv_header_$ac_safe=yes" |
|
6878 |
else |
else |
6879 |
echo "$ac_err" >&5 |
echo "$as_me: failed program was:" >&5 |
6880 |
echo "configure: failed program was:" >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
6881 |
cat conftest.$ac_ext >&5 |
|
6882 |
rm -rf conftest* |
ac_header_preproc=no |
6883 |
eval "ac_cv_header_$ac_safe=no" |
fi |
6884 |
|
rm -f conftest.err conftest.$ac_ext |
6885 |
|
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
6886 |
|
echo "${ECHO_T}$ac_header_preproc" >&6 |
6887 |
|
|
6888 |
|
# So? What about this header? |
6889 |
|
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
6890 |
|
yes:no: ) |
6891 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
6892 |
|
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
6893 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
6894 |
|
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
6895 |
|
ac_header_preproc=yes |
6896 |
|
;; |
6897 |
|
no:yes:* ) |
6898 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
6899 |
|
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
6900 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
6901 |
|
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
6902 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
6903 |
|
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
6904 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
6905 |
|
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
6906 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
6907 |
|
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
6908 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
6909 |
|
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
6910 |
|
( |
6911 |
|
cat <<\_ASBOX |
6912 |
|
## ------------------------------------------ ## |
6913 |
|
## Report this to the AC_PACKAGE_NAME lists. ## |
6914 |
|
## ------------------------------------------ ## |
6915 |
|
_ASBOX |
6916 |
|
) | |
6917 |
|
sed "s/^/$as_me: WARNING: /" >&2 |
6918 |
|
;; |
6919 |
|
esac |
6920 |
|
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
6921 |
|
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
6922 |
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
6923 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
6924 |
|
else |
6925 |
|
eval "$as_ac_Header=\$ac_header_preproc" |
6926 |
fi |
fi |
6927 |
rm -f conftest* |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
6928 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
6929 |
|
|
6930 |
fi |
fi |
6931 |
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
6932 |
echo "$ac_t""yes" 1>&6 |
cat >>confdefs.h <<_ACEOF |
6933 |
ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
6934 |
cat >> confdefs.h <<EOF |
_ACEOF |
6935 |
#define $ac_tr_hdr 1 |
|
|
EOF |
|
|
|
|
|
else |
|
|
echo "$ac_t""no" 1>&6 |
|
6936 |
fi |
fi |
6937 |
|
|
6938 |
done |
done |
6939 |
|
|
6940 |
for ac_func in getcwd munmap putenv setenv setlocale strchr strcasecmp \ |
|
6941 |
|
|
6942 |
|
|
6943 |
|
|
6944 |
|
|
6945 |
|
|
6946 |
|
|
6947 |
|
|
6948 |
|
|
6949 |
|
|
6950 |
|
for ac_func in getcwd munmap putenv setenv setlocale strchr strcasecmp \ |
6951 |
__argz_count __argz_stringify __argz_next |
__argz_count __argz_stringify __argz_next |
6952 |
do |
do |
6953 |
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
6954 |
echo "configure:3644: checking for $ac_func" >&5 |
echo "$as_me:$LINENO: checking for $ac_func" >&5 |
6955 |
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
6956 |
echo $ac_n "(cached) $ac_c" 1>&6 |
if eval "test \"\${$as_ac_var+set}\" = set"; then |
6957 |
else |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
6958 |
cat > conftest.$ac_ext <<EOF |
else |
6959 |
#line 3649 "configure" |
cat >conftest.$ac_ext <<_ACEOF |
6960 |
#include "confdefs.h" |
/* confdefs.h. */ |
6961 |
|
_ACEOF |
6962 |
|
cat confdefs.h >>conftest.$ac_ext |
6963 |
|
cat >>conftest.$ac_ext <<_ACEOF |
6964 |
|
/* end confdefs.h. */ |
6965 |
|
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
6966 |
|
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
6967 |
|
#define $ac_func innocuous_$ac_func |
6968 |
|
|
6969 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
6970 |
which can conflict with char $ac_func(); below. */ |
which can conflict with char $ac_func (); below. |
6971 |
#include <assert.h> |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
6972 |
/* Override any gcc2 internal prototype to avoid an error. */ |
<limits.h> exists even on freestanding compilers. */ |
6973 |
/* We use char because int might match the return type of a gcc2 |
|
6974 |
builtin and then its argument prototype would still apply. */ |
#ifdef __STDC__ |
6975 |
char $ac_func(); |
# include <limits.h> |
6976 |
|
#else |
6977 |
|
# include <assert.h> |
6978 |
|
#endif |
6979 |
|
|
6980 |
int main() { |
#undef $ac_func |
6981 |
|
|
6982 |
|
/* Override any gcc2 internal prototype to avoid an error. */ |
6983 |
|
#ifdef __cplusplus |
6984 |
|
extern "C" |
6985 |
|
{ |
6986 |
|
#endif |
6987 |
|
/* We use char because int might match the return type of a gcc2 |
6988 |
|
builtin and then its argument prototype would still apply. */ |
6989 |
|
char $ac_func (); |
6990 |
/* The GNU C library defines this for functions which it implements |
/* The GNU C library defines this for functions which it implements |
6991 |
to always fail with ENOSYS. Some functions are actually named |
to always fail with ENOSYS. Some functions are actually named |
6992 |
something starting with __ and the normal name is an alias. */ |
something starting with __ and the normal name is an alias. */ |
6993 |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
6994 |
choke me |
choke me |
6995 |
#else |
#else |
6996 |
$ac_func(); |
char (*f) () = $ac_func; |
6997 |
|
#endif |
6998 |
|
#ifdef __cplusplus |
6999 |
|
} |
7000 |
#endif |
#endif |
7001 |
|
|
7002 |
; return 0; } |
int |
7003 |
EOF |
main () |
7004 |
if { (eval echo configure:3672: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
{ |
7005 |
rm -rf conftest* |
return f != $ac_func; |
7006 |
eval "ac_cv_func_$ac_func=yes" |
; |
7007 |
else |
return 0; |
7008 |
echo "configure: failed program was:" >&5 |
} |
7009 |
cat conftest.$ac_ext >&5 |
_ACEOF |
7010 |
rm -rf conftest* |
rm -f conftest.$ac_objext conftest$ac_exeext |
7011 |
eval "ac_cv_func_$ac_func=no" |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
7012 |
fi |
(eval $ac_link) 2>conftest.er1 |
7013 |
rm -f conftest* |
ac_status=$? |
7014 |
fi |
grep -v '^ *+' conftest.er1 >conftest.err |
7015 |
|
rm -f conftest.er1 |
7016 |
|
cat conftest.err >&5 |
7017 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7018 |
|
(exit $ac_status); } && |
7019 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
7020 |
|
|| test ! -s conftest.err' |
7021 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7022 |
|
(eval $ac_try) 2>&5 |
7023 |
|
ac_status=$? |
7024 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7025 |
|
(exit $ac_status); }; } && |
7026 |
|
{ ac_try='test -s conftest$ac_exeext' |
7027 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7028 |
|
(eval $ac_try) 2>&5 |
7029 |
|
ac_status=$? |
7030 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7031 |
|
(exit $ac_status); }; }; then |
7032 |
|
eval "$as_ac_var=yes" |
7033 |
|
else |
7034 |
|
echo "$as_me: failed program was:" >&5 |
7035 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
7036 |
|
|
7037 |
|
eval "$as_ac_var=no" |
7038 |
|
fi |
7039 |
|
rm -f conftest.err conftest.$ac_objext \ |
7040 |
|
conftest$ac_exeext conftest.$ac_ext |
7041 |
|
fi |
7042 |
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
7043 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
7044 |
|
if test `eval echo '${'$as_ac_var'}'` = yes; then |
7045 |
|
cat >>confdefs.h <<_ACEOF |
7046 |
|
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
7047 |
|
_ACEOF |
7048 |
|
|
|
if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then |
|
|
echo "$ac_t""yes" 1>&6 |
|
|
ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` |
|
|
cat >> confdefs.h <<EOF |
|
|
#define $ac_tr_func 1 |
|
|
EOF |
|
|
|
|
|
else |
|
|
echo "$ac_t""no" 1>&6 |
|
7049 |
fi |
fi |
7050 |
done |
done |
7051 |
|
|
7052 |
|
|
7053 |
if test "${ac_cv_func_stpcpy+set}" != "set"; then |
if test "${ac_cv_func_stpcpy+set}" != "set"; then |
7054 |
for ac_func in stpcpy |
|
7055 |
|
for ac_func in stpcpy |
7056 |
do |
do |
7057 |
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
7058 |
echo "configure:3701: checking for $ac_func" >&5 |
echo "$as_me:$LINENO: checking for $ac_func" >&5 |
7059 |
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
7060 |
echo $ac_n "(cached) $ac_c" 1>&6 |
if eval "test \"\${$as_ac_var+set}\" = set"; then |
7061 |
else |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
7062 |
cat > conftest.$ac_ext <<EOF |
else |
7063 |
#line 3706 "configure" |
cat >conftest.$ac_ext <<_ACEOF |
7064 |
#include "confdefs.h" |
/* confdefs.h. */ |
7065 |
|
_ACEOF |
7066 |
|
cat confdefs.h >>conftest.$ac_ext |
7067 |
|
cat >>conftest.$ac_ext <<_ACEOF |
7068 |
|
/* end confdefs.h. */ |
7069 |
|
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
7070 |
|
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
7071 |
|
#define $ac_func innocuous_$ac_func |
7072 |
|
|
7073 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
7074 |
which can conflict with char $ac_func(); below. */ |
which can conflict with char $ac_func (); below. |
7075 |
#include <assert.h> |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
7076 |
/* Override any gcc2 internal prototype to avoid an error. */ |
<limits.h> exists even on freestanding compilers. */ |
7077 |
/* We use char because int might match the return type of a gcc2 |
|
7078 |
builtin and then its argument prototype would still apply. */ |
#ifdef __STDC__ |
7079 |
char $ac_func(); |
# include <limits.h> |
7080 |
|
#else |
7081 |
|
# include <assert.h> |
7082 |
|
#endif |
7083 |
|
|
7084 |
int main() { |
#undef $ac_func |
7085 |
|
|
7086 |
|
/* Override any gcc2 internal prototype to avoid an error. */ |
7087 |
|
#ifdef __cplusplus |
7088 |
|
extern "C" |
7089 |
|
{ |
7090 |
|
#endif |
7091 |
|
/* We use char because int might match the return type of a gcc2 |
7092 |
|
builtin and then its argument prototype would still apply. */ |
7093 |
|
char $ac_func (); |
7094 |
/* The GNU C library defines this for functions which it implements |
/* The GNU C library defines this for functions which it implements |
7095 |
to always fail with ENOSYS. Some functions are actually named |
to always fail with ENOSYS. Some functions are actually named |
7096 |
something starting with __ and the normal name is an alias. */ |
something starting with __ and the normal name is an alias. */ |
7097 |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
7098 |
choke me |
choke me |
7099 |
#else |
#else |
7100 |
$ac_func(); |
char (*f) () = $ac_func; |
7101 |
|
#endif |
7102 |
|
#ifdef __cplusplus |
7103 |
|
} |
7104 |
#endif |
#endif |
7105 |
|
|
7106 |
; return 0; } |
int |
7107 |
EOF |
main () |
7108 |
if { (eval echo configure:3729: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
{ |
7109 |
rm -rf conftest* |
return f != $ac_func; |
7110 |
eval "ac_cv_func_$ac_func=yes" |
; |
7111 |
else |
return 0; |
7112 |
echo "configure: failed program was:" >&5 |
} |
7113 |
cat conftest.$ac_ext >&5 |
_ACEOF |
7114 |
rm -rf conftest* |
rm -f conftest.$ac_objext conftest$ac_exeext |
7115 |
eval "ac_cv_func_$ac_func=no" |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
7116 |
fi |
(eval $ac_link) 2>conftest.er1 |
7117 |
rm -f conftest* |
ac_status=$? |
7118 |
fi |
grep -v '^ *+' conftest.er1 >conftest.err |
7119 |
|
rm -f conftest.er1 |
7120 |
|
cat conftest.err >&5 |
7121 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7122 |
|
(exit $ac_status); } && |
7123 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
7124 |
|
|| test ! -s conftest.err' |
7125 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7126 |
|
(eval $ac_try) 2>&5 |
7127 |
|
ac_status=$? |
7128 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7129 |
|
(exit $ac_status); }; } && |
7130 |
|
{ ac_try='test -s conftest$ac_exeext' |
7131 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7132 |
|
(eval $ac_try) 2>&5 |
7133 |
|
ac_status=$? |
7134 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7135 |
|
(exit $ac_status); }; }; then |
7136 |
|
eval "$as_ac_var=yes" |
7137 |
|
else |
7138 |
|
echo "$as_me: failed program was:" >&5 |
7139 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
7140 |
|
|
7141 |
|
eval "$as_ac_var=no" |
7142 |
|
fi |
7143 |
|
rm -f conftest.err conftest.$ac_objext \ |
7144 |
|
conftest$ac_exeext conftest.$ac_ext |
7145 |
|
fi |
7146 |
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
7147 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
7148 |
|
if test `eval echo '${'$as_ac_var'}'` = yes; then |
7149 |
|
cat >>confdefs.h <<_ACEOF |
7150 |
|
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
7151 |
|
_ACEOF |
7152 |
|
|
|
if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then |
|
|
echo "$ac_t""yes" 1>&6 |
|
|
ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` |
|
|
cat >> confdefs.h <<EOF |
|
|
#define $ac_tr_func 1 |
|
|
EOF |
|
|
|
|
|
else |
|
|
echo "$ac_t""no" 1>&6 |
|
7153 |
fi |
fi |
7154 |
done |
done |
7155 |
|
|
7156 |
fi |
fi |
7157 |
if test "${ac_cv_func_stpcpy}" = "yes"; then |
if test "${ac_cv_func_stpcpy}" = "yes"; then |
7158 |
cat >> confdefs.h <<\EOF |
|
7159 |
|
cat >>confdefs.h <<\_ACEOF |
7160 |
#define HAVE_STPCPY 1 |
#define HAVE_STPCPY 1 |
7161 |
EOF |
_ACEOF |
7162 |
|
|
7163 |
fi |
fi |
7164 |
|
|
7165 |
if test $ac_cv_header_locale_h = yes; then |
if test $ac_cv_header_locale_h = yes; then |
7166 |
echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5 |
7167 |
echo "configure:3763: checking for LC_MESSAGES" >&5 |
echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6 |
7168 |
if eval "test \"`echo '$''{'am_cv_val_LC_MESSAGES'+set}'`\" = set"; then |
if test "${am_cv_val_LC_MESSAGES+set}" = set; then |
7169 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
7170 |
else |
else |
7171 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
7172 |
#line 3768 "configure" |
/* confdefs.h. */ |
7173 |
#include "confdefs.h" |
_ACEOF |
7174 |
|
cat confdefs.h >>conftest.$ac_ext |
7175 |
|
cat >>conftest.$ac_ext <<_ACEOF |
7176 |
|
/* end confdefs.h. */ |
7177 |
#include <locale.h> |
#include <locale.h> |
7178 |
int main() { |
int |
7179 |
|
main () |
7180 |
|
{ |
7181 |
return LC_MESSAGES |
return LC_MESSAGES |
7182 |
; return 0; } |
; |
7183 |
EOF |
return 0; |
7184 |
if { (eval echo configure:3775: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
} |
7185 |
rm -rf conftest* |
_ACEOF |
7186 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
7187 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
7188 |
|
(eval $ac_link) 2>conftest.er1 |
7189 |
|
ac_status=$? |
7190 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
7191 |
|
rm -f conftest.er1 |
7192 |
|
cat conftest.err >&5 |
7193 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7194 |
|
(exit $ac_status); } && |
7195 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
7196 |
|
|| test ! -s conftest.err' |
7197 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7198 |
|
(eval $ac_try) 2>&5 |
7199 |
|
ac_status=$? |
7200 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7201 |
|
(exit $ac_status); }; } && |
7202 |
|
{ ac_try='test -s conftest$ac_exeext' |
7203 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7204 |
|
(eval $ac_try) 2>&5 |
7205 |
|
ac_status=$? |
7206 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7207 |
|
(exit $ac_status); }; }; then |
7208 |
am_cv_val_LC_MESSAGES=yes |
am_cv_val_LC_MESSAGES=yes |
7209 |
else |
else |
7210 |
echo "configure: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
7211 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
7212 |
rm -rf conftest* |
|
7213 |
am_cv_val_LC_MESSAGES=no |
am_cv_val_LC_MESSAGES=no |
7214 |
fi |
fi |
7215 |
rm -f conftest* |
rm -f conftest.err conftest.$ac_objext \ |
7216 |
|
conftest$ac_exeext conftest.$ac_ext |
7217 |
fi |
fi |
7218 |
|
echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5 |
7219 |
echo "$ac_t""$am_cv_val_LC_MESSAGES" 1>&6 |
echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6 |
7220 |
if test $am_cv_val_LC_MESSAGES = yes; then |
if test $am_cv_val_LC_MESSAGES = yes; then |
7221 |
cat >> confdefs.h <<\EOF |
|
7222 |
|
cat >>confdefs.h <<\_ACEOF |
7223 |
#define HAVE_LC_MESSAGES 1 |
#define HAVE_LC_MESSAGES 1 |
7224 |
EOF |
_ACEOF |
7225 |
|
|
7226 |
fi |
fi |
7227 |
fi |
fi |
7228 |
echo $ac_n "checking whether NLS is requested""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking whether NLS is requested" >&5 |
7229 |
echo "configure:3796: checking whether NLS is requested" >&5 |
echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6 |
7230 |
# Check whether --enable-nls or --disable-nls was given. |
# Check whether --enable-nls or --disable-nls was given. |
7231 |
if test "${enable_nls+set}" = set; then |
if test "${enable_nls+set}" = set; then |
7232 |
enableval="$enable_nls" |
enableval="$enable_nls" |
7233 |
USE_NLS=$enableval |
USE_NLS=$enableval |
7234 |
else |
else |
7235 |
USE_NLS=yes |
USE_NLS=yes |
7236 |
fi |
fi; |
7237 |
|
echo "$as_me:$LINENO: result: $USE_NLS" >&5 |
7238 |
|
echo "${ECHO_T}$USE_NLS" >&6 |
7239 |
|
|
|
echo "$ac_t""$USE_NLS" 1>&6 |
|
|
|
|
7240 |
|
|
7241 |
USE_INCLUDED_LIBINTL=no |
USE_INCLUDED_LIBINTL=no |
7242 |
|
|
7243 |
if test "$USE_NLS" = "yes"; then |
if test "$USE_NLS" = "yes"; then |
7244 |
cat >> confdefs.h <<\EOF |
echo "$as_me:$LINENO: checking whether included gettext is requested" >&5 |
7245 |
#define ENABLE_NLS 1 |
echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&6 |
|
EOF |
|
7246 |
|
|
7247 |
echo $ac_n "checking whether included gettext is requested""... $ac_c" 1>&6 |
# Check whether --with-included-gettext or --without-included-gettext was given. |
|
echo "configure:3816: checking whether included gettext is requested" >&5 |
|
|
# Check whether --with-included-gettext or --without-included-gettext was given. |
|
7248 |
if test "${with_included_gettext+set}" = set; then |
if test "${with_included_gettext+set}" = set; then |
7249 |
withval="$with_included_gettext" |
withval="$with_included_gettext" |
7250 |
nls_cv_force_use_gnu_gettext=$withval |
nls_cv_force_use_gnu_gettext=$withval |
7251 |
else |
else |
7252 |
nls_cv_force_use_gnu_gettext=no |
nls_cv_force_use_gnu_gettext=no |
7253 |
fi |
fi; |
7254 |
|
echo "$as_me:$LINENO: result: $nls_cv_force_use_gnu_gettext" >&5 |
7255 |
echo "$ac_t""$nls_cv_force_use_gnu_gettext" 1>&6 |
echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6 |
7256 |
|
|
7257 |
nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext" |
nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext" |
7258 |
if test "$nls_cv_force_use_gnu_gettext" != "yes"; then |
if test "$nls_cv_force_use_gnu_gettext" != "yes"; then |
7259 |
nls_cv_header_intl= |
nls_cv_header_intl= |
7260 |
nls_cv_header_libgt= |
nls_cv_header_libgt= |
7261 |
CATOBJEXT=NONE |
CATOBJEXT= |
7262 |
|
|
7263 |
ac_safe=`echo "libintl.h" | sed 'y%./+-%__p_%'` |
if test "${ac_cv_header_libintl_h+set}" = set; then |
7264 |
echo $ac_n "checking for libintl.h""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for libintl.h" >&5 |
7265 |
echo "configure:3835: checking for libintl.h" >&5 |
echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6 |
7266 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if test "${ac_cv_header_libintl_h+set}" = set; then |
7267 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
7268 |
else |
fi |
7269 |
cat > conftest.$ac_ext <<EOF |
echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5 |
7270 |
#line 3840 "configure" |
echo "${ECHO_T}$ac_cv_header_libintl_h" >&6 |
7271 |
#include "confdefs.h" |
else |
7272 |
|
# Is the header compilable? |
7273 |
|
echo "$as_me:$LINENO: checking libintl.h usability" >&5 |
7274 |
|
echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6 |
7275 |
|
cat >conftest.$ac_ext <<_ACEOF |
7276 |
|
/* confdefs.h. */ |
7277 |
|
_ACEOF |
7278 |
|
cat confdefs.h >>conftest.$ac_ext |
7279 |
|
cat >>conftest.$ac_ext <<_ACEOF |
7280 |
|
/* end confdefs.h. */ |
7281 |
|
$ac_includes_default |
7282 |
#include <libintl.h> |
#include <libintl.h> |
7283 |
EOF |
_ACEOF |
7284 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
rm -f conftest.$ac_objext |
7285 |
{ (eval echo configure:3845: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
7286 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
(eval $ac_compile) 2>conftest.er1 |
7287 |
if test -z "$ac_err"; then |
ac_status=$? |
7288 |
rm -rf conftest* |
grep -v '^ *+' conftest.er1 >conftest.err |
7289 |
eval "ac_cv_header_$ac_safe=yes" |
rm -f conftest.er1 |
7290 |
|
cat conftest.err >&5 |
7291 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7292 |
|
(exit $ac_status); } && |
7293 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
7294 |
|
|| test ! -s conftest.err' |
7295 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7296 |
|
(eval $ac_try) 2>&5 |
7297 |
|
ac_status=$? |
7298 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7299 |
|
(exit $ac_status); }; } && |
7300 |
|
{ ac_try='test -s conftest.$ac_objext' |
7301 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7302 |
|
(eval $ac_try) 2>&5 |
7303 |
|
ac_status=$? |
7304 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7305 |
|
(exit $ac_status); }; }; then |
7306 |
|
ac_header_compiler=yes |
7307 |
|
else |
7308 |
|
echo "$as_me: failed program was:" >&5 |
7309 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
7310 |
|
|
7311 |
|
ac_header_compiler=no |
7312 |
|
fi |
7313 |
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
7314 |
|
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
7315 |
|
echo "${ECHO_T}$ac_header_compiler" >&6 |
7316 |
|
|
7317 |
|
# Is the header present? |
7318 |
|
echo "$as_me:$LINENO: checking libintl.h presence" >&5 |
7319 |
|
echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6 |
7320 |
|
cat >conftest.$ac_ext <<_ACEOF |
7321 |
|
/* confdefs.h. */ |
7322 |
|
_ACEOF |
7323 |
|
cat confdefs.h >>conftest.$ac_ext |
7324 |
|
cat >>conftest.$ac_ext <<_ACEOF |
7325 |
|
/* end confdefs.h. */ |
7326 |
|
#include <libintl.h> |
7327 |
|
_ACEOF |
7328 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
7329 |
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
7330 |
|
ac_status=$? |
7331 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
7332 |
|
rm -f conftest.er1 |
7333 |
|
cat conftest.err >&5 |
7334 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7335 |
|
(exit $ac_status); } >/dev/null; then |
7336 |
|
if test -s conftest.err; then |
7337 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
7338 |
|
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
7339 |
|
else |
7340 |
|
ac_cpp_err= |
7341 |
|
fi |
7342 |
else |
else |
7343 |
echo "$ac_err" >&5 |
ac_cpp_err=yes |
|
echo "configure: failed program was:" >&5 |
|
|
cat conftest.$ac_ext >&5 |
|
|
rm -rf conftest* |
|
|
eval "ac_cv_header_$ac_safe=no" |
|
|
fi |
|
|
rm -f conftest* |
|
7344 |
fi |
fi |
7345 |
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
if test -z "$ac_cpp_err"; then |
7346 |
echo "$ac_t""yes" 1>&6 |
ac_header_preproc=yes |
|
echo $ac_n "checking for gettext in libc""... $ac_c" 1>&6 |
|
|
echo "configure:3862: checking for gettext in libc" >&5 |
|
|
if eval "test \"`echo '$''{'gt_cv_func_gettext_libc'+set}'`\" = set"; then |
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
7347 |
else |
else |
7348 |
cat > conftest.$ac_ext <<EOF |
echo "$as_me: failed program was:" >&5 |
7349 |
#line 3867 "configure" |
sed 's/^/| /' conftest.$ac_ext >&5 |
7350 |
#include "confdefs.h" |
|
7351 |
|
ac_header_preproc=no |
7352 |
|
fi |
7353 |
|
rm -f conftest.err conftest.$ac_ext |
7354 |
|
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
7355 |
|
echo "${ECHO_T}$ac_header_preproc" >&6 |
7356 |
|
|
7357 |
|
# So? What about this header? |
7358 |
|
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
7359 |
|
yes:no: ) |
7360 |
|
{ echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
7361 |
|
echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
7362 |
|
{ echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5 |
7363 |
|
echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;} |
7364 |
|
ac_header_preproc=yes |
7365 |
|
;; |
7366 |
|
no:yes:* ) |
7367 |
|
{ echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5 |
7368 |
|
echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;} |
7369 |
|
{ echo "$as_me:$LINENO: WARNING: libintl.h: check for missing prerequisite headers?" >&5 |
7370 |
|
echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;} |
7371 |
|
{ echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5 |
7372 |
|
echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;} |
7373 |
|
{ echo "$as_me:$LINENO: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&5 |
7374 |
|
echo "$as_me: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&2;} |
7375 |
|
{ echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5 |
7376 |
|
echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;} |
7377 |
|
{ echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5 |
7378 |
|
echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;} |
7379 |
|
( |
7380 |
|
cat <<\_ASBOX |
7381 |
|
## ------------------------------------------ ## |
7382 |
|
## Report this to the AC_PACKAGE_NAME lists. ## |
7383 |
|
## ------------------------------------------ ## |
7384 |
|
_ASBOX |
7385 |
|
) | |
7386 |
|
sed "s/^/$as_me: WARNING: /" >&2 |
7387 |
|
;; |
7388 |
|
esac |
7389 |
|
echo "$as_me:$LINENO: checking for libintl.h" >&5 |
7390 |
|
echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6 |
7391 |
|
if test "${ac_cv_header_libintl_h+set}" = set; then |
7392 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
7393 |
|
else |
7394 |
|
ac_cv_header_libintl_h=$ac_header_preproc |
7395 |
|
fi |
7396 |
|
echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5 |
7397 |
|
echo "${ECHO_T}$ac_cv_header_libintl_h" >&6 |
7398 |
|
|
7399 |
|
fi |
7400 |
|
if test $ac_cv_header_libintl_h = yes; then |
7401 |
|
echo "$as_me:$LINENO: checking for gettext in libc" >&5 |
7402 |
|
echo $ECHO_N "checking for gettext in libc... $ECHO_C" >&6 |
7403 |
|
if test "${gt_cv_func_gettext_libc+set}" = set; then |
7404 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
7405 |
|
else |
7406 |
|
cat >conftest.$ac_ext <<_ACEOF |
7407 |
|
/* confdefs.h. */ |
7408 |
|
_ACEOF |
7409 |
|
cat confdefs.h >>conftest.$ac_ext |
7410 |
|
cat >>conftest.$ac_ext <<_ACEOF |
7411 |
|
/* end confdefs.h. */ |
7412 |
#include <libintl.h> |
#include <libintl.h> |
7413 |
int main() { |
int |
7414 |
|
main () |
7415 |
|
{ |
7416 |
return (int) gettext ("") |
return (int) gettext ("") |
7417 |
; return 0; } |
; |
7418 |
EOF |
return 0; |
7419 |
if { (eval echo configure:3874: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
} |
7420 |
rm -rf conftest* |
_ACEOF |
7421 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
7422 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
7423 |
|
(eval $ac_link) 2>conftest.er1 |
7424 |
|
ac_status=$? |
7425 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
7426 |
|
rm -f conftest.er1 |
7427 |
|
cat conftest.err >&5 |
7428 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7429 |
|
(exit $ac_status); } && |
7430 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
7431 |
|
|| test ! -s conftest.err' |
7432 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7433 |
|
(eval $ac_try) 2>&5 |
7434 |
|
ac_status=$? |
7435 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7436 |
|
(exit $ac_status); }; } && |
7437 |
|
{ ac_try='test -s conftest$ac_exeext' |
7438 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7439 |
|
(eval $ac_try) 2>&5 |
7440 |
|
ac_status=$? |
7441 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7442 |
|
(exit $ac_status); }; }; then |
7443 |
gt_cv_func_gettext_libc=yes |
gt_cv_func_gettext_libc=yes |
7444 |
else |
else |
7445 |
echo "configure: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
7446 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
7447 |
rm -rf conftest* |
|
7448 |
gt_cv_func_gettext_libc=no |
gt_cv_func_gettext_libc=no |
7449 |
fi |
fi |
7450 |
rm -f conftest* |
rm -f conftest.err conftest.$ac_objext \ |
7451 |
|
conftest$ac_exeext conftest.$ac_ext |
7452 |
fi |
fi |
7453 |
|
echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libc" >&5 |
7454 |
echo "$ac_t""$gt_cv_func_gettext_libc" 1>&6 |
echo "${ECHO_T}$gt_cv_func_gettext_libc" >&6 |
7455 |
|
|
7456 |
if test "$gt_cv_func_gettext_libc" != "yes"; then |
if test "$gt_cv_func_gettext_libc" != "yes"; then |
7457 |
echo $ac_n "checking for bindtextdomain in -lintl""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5 |
7458 |
echo "configure:3890: checking for bindtextdomain in -lintl" >&5 |
echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6 |
7459 |
ac_lib_var=`echo intl'_'bindtextdomain | sed 'y%./+-%__p_%'` |
if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then |
7460 |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
7461 |
else |
else |
7462 |
ac_save_LIBS="$LIBS" |
ac_check_lib_save_LIBS=$LIBS |
7463 |
LIBS="-lintl $LIBS" |
LIBS="-lintl $LIBS" |
7464 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
7465 |
#line 3898 "configure" |
/* confdefs.h. */ |
7466 |
#include "confdefs.h" |
_ACEOF |
7467 |
|
cat confdefs.h >>conftest.$ac_ext |
7468 |
|
cat >>conftest.$ac_ext <<_ACEOF |
7469 |
|
/* end confdefs.h. */ |
7470 |
|
|
7471 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
7472 |
|
#ifdef __cplusplus |
7473 |
|
extern "C" |
7474 |
|
#endif |
7475 |
/* We use char because int might match the return type of a gcc2 |
/* We use char because int might match the return type of a gcc2 |
7476 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
7477 |
char bindtextdomain(); |
char bindtextdomain (); |
7478 |
|
int |
7479 |
int main() { |
main () |
7480 |
bindtextdomain() |
{ |
7481 |
; return 0; } |
bindtextdomain (); |
7482 |
EOF |
; |
7483 |
if { (eval echo configure:3909: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
return 0; |
7484 |
rm -rf conftest* |
} |
7485 |
eval "ac_cv_lib_$ac_lib_var=yes" |
_ACEOF |
7486 |
else |
rm -f conftest.$ac_objext conftest$ac_exeext |
7487 |
echo "configure: failed program was:" >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
7488 |
cat conftest.$ac_ext >&5 |
(eval $ac_link) 2>conftest.er1 |
7489 |
rm -rf conftest* |
ac_status=$? |
7490 |
eval "ac_cv_lib_$ac_lib_var=no" |
grep -v '^ *+' conftest.er1 >conftest.err |
7491 |
fi |
rm -f conftest.er1 |
7492 |
rm -f conftest* |
cat conftest.err >&5 |
7493 |
LIBS="$ac_save_LIBS" |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7494 |
|
(exit $ac_status); } && |
7495 |
fi |
{ ac_try='test -z "$ac_c_werror_flag" |
7496 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
|| test ! -s conftest.err' |
7497 |
echo "$ac_t""yes" 1>&6 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7498 |
echo $ac_n "checking for gettext in libintl""... $ac_c" 1>&6 |
(eval $ac_try) 2>&5 |
7499 |
echo "configure:3925: checking for gettext in libintl" >&5 |
ac_status=$? |
7500 |
if eval "test \"`echo '$''{'gt_cv_func_gettext_libintl'+set}'`\" = set"; then |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7501 |
echo $ac_n "(cached) $ac_c" 1>&6 |
(exit $ac_status); }; } && |
7502 |
else |
{ ac_try='test -s conftest$ac_exeext' |
7503 |
cat > conftest.$ac_ext <<EOF |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7504 |
#line 3930 "configure" |
(eval $ac_try) 2>&5 |
7505 |
#include "confdefs.h" |
ac_status=$? |
7506 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7507 |
|
(exit $ac_status); }; }; then |
7508 |
|
ac_cv_lib_intl_bindtextdomain=yes |
7509 |
|
else |
7510 |
|
echo "$as_me: failed program was:" >&5 |
7511 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
7512 |
|
|
7513 |
|
ac_cv_lib_intl_bindtextdomain=no |
7514 |
|
fi |
7515 |
|
rm -f conftest.err conftest.$ac_objext \ |
7516 |
|
conftest$ac_exeext conftest.$ac_ext |
7517 |
|
LIBS=$ac_check_lib_save_LIBS |
7518 |
|
fi |
7519 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5 |
7520 |
|
echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6 |
7521 |
|
if test $ac_cv_lib_intl_bindtextdomain = yes; then |
7522 |
|
echo "$as_me:$LINENO: checking for gettext in libintl" >&5 |
7523 |
|
echo $ECHO_N "checking for gettext in libintl... $ECHO_C" >&6 |
7524 |
|
if test "${gt_cv_func_gettext_libintl+set}" = set; then |
7525 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
7526 |
|
else |
7527 |
|
cat >conftest.$ac_ext <<_ACEOF |
7528 |
|
/* confdefs.h. */ |
7529 |
|
_ACEOF |
7530 |
|
cat confdefs.h >>conftest.$ac_ext |
7531 |
|
cat >>conftest.$ac_ext <<_ACEOF |
7532 |
|
/* end confdefs.h. */ |
7533 |
|
|
7534 |
int main() { |
int |
7535 |
|
main () |
7536 |
|
{ |
7537 |
return (int) gettext ("") |
return (int) gettext ("") |
7538 |
; return 0; } |
; |
7539 |
EOF |
return 0; |
7540 |
if { (eval echo configure:3937: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
} |
7541 |
rm -rf conftest* |
_ACEOF |
7542 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
7543 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
7544 |
|
(eval $ac_link) 2>conftest.er1 |
7545 |
|
ac_status=$? |
7546 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
7547 |
|
rm -f conftest.er1 |
7548 |
|
cat conftest.err >&5 |
7549 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7550 |
|
(exit $ac_status); } && |
7551 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
7552 |
|
|| test ! -s conftest.err' |
7553 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7554 |
|
(eval $ac_try) 2>&5 |
7555 |
|
ac_status=$? |
7556 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7557 |
|
(exit $ac_status); }; } && |
7558 |
|
{ ac_try='test -s conftest$ac_exeext' |
7559 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7560 |
|
(eval $ac_try) 2>&5 |
7561 |
|
ac_status=$? |
7562 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7563 |
|
(exit $ac_status); }; }; then |
7564 |
gt_cv_func_gettext_libintl=yes |
gt_cv_func_gettext_libintl=yes |
7565 |
else |
else |
7566 |
echo "configure: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
7567 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
7568 |
rm -rf conftest* |
|
7569 |
gt_cv_func_gettext_libintl=no |
gt_cv_func_gettext_libintl=no |
7570 |
fi |
fi |
7571 |
rm -f conftest* |
rm -f conftest.err conftest.$ac_objext \ |
7572 |
|
conftest$ac_exeext conftest.$ac_ext |
7573 |
fi |
fi |
7574 |
|
echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libintl" >&5 |
7575 |
echo "$ac_t""$gt_cv_func_gettext_libintl" 1>&6 |
echo "${ECHO_T}$gt_cv_func_gettext_libintl" >&6 |
|
else |
|
|
echo "$ac_t""no" 1>&6 |
|
7576 |
fi |
fi |
7577 |
|
|
7578 |
fi |
fi |
7579 |
|
|
7580 |
if test "$gt_cv_func_gettext_libc" = "yes" \ |
if test "$gt_cv_func_gettext_libc" = "yes" \ |
7581 |
|| test "$gt_cv_func_gettext_libintl" = "yes"; then |
|| test "$gt_cv_func_gettext_libintl" = "yes"; then |
7582 |
cat >> confdefs.h <<\EOF |
|
7583 |
|
cat >>confdefs.h <<\_ACEOF |
7584 |
#define HAVE_GETTEXT 1 |
#define HAVE_GETTEXT 1 |
7585 |
EOF |
_ACEOF |
7586 |
|
|
7587 |
# Extract the first word of "msgfmt", so it can be a program name with args. |
# Extract the first word of "msgfmt", so it can be a program name with args. |
7588 |
set dummy msgfmt; ac_word=$2 |
set dummy msgfmt; ac_word=$2 |
7589 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
7590 |
echo "configure:3965: checking for $ac_word" >&5 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
7591 |
if eval "test \"`echo '$''{'ac_cv_path_MSGFMT'+set}'`\" = set"; then |
if test "${ac_cv_path_MSGFMT+set}" = set; then |
7592 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
7593 |
else |
else |
7594 |
case "$MSGFMT" in |
case "$MSGFMT" in |
7595 |
/*) |
/*) |
7613 |
fi |
fi |
7614 |
MSGFMT="$ac_cv_path_MSGFMT" |
MSGFMT="$ac_cv_path_MSGFMT" |
7615 |
if test -n "$MSGFMT"; then |
if test -n "$MSGFMT"; then |
7616 |
echo "$ac_t""$MSGFMT" 1>&6 |
echo "$as_me:$LINENO: result: $MSGFMT" >&5 |
7617 |
|
echo "${ECHO_T}$MSGFMT" >&6 |
7618 |
else |
else |
7619 |
echo "$ac_t""no" 1>&6 |
echo "$as_me:$LINENO: result: no" >&5 |
7620 |
|
echo "${ECHO_T}no" >&6 |
7621 |
fi |
fi |
7622 |
if test "$MSGFMT" != "no"; then |
if test "$MSGFMT" != "no"; then |
7623 |
for ac_func in dcgettext |
|
7624 |
|
for ac_func in dcgettext |
7625 |
do |
do |
7626 |
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
7627 |
echo "configure:3999: checking for $ac_func" >&5 |
echo "$as_me:$LINENO: checking for $ac_func" >&5 |
7628 |
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
7629 |
echo $ac_n "(cached) $ac_c" 1>&6 |
if eval "test \"\${$as_ac_var+set}\" = set"; then |
7630 |
else |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
7631 |
cat > conftest.$ac_ext <<EOF |
else |
7632 |
#line 4004 "configure" |
cat >conftest.$ac_ext <<_ACEOF |
7633 |
#include "confdefs.h" |
/* confdefs.h. */ |
7634 |
|
_ACEOF |
7635 |
|
cat confdefs.h >>conftest.$ac_ext |
7636 |
|
cat >>conftest.$ac_ext <<_ACEOF |
7637 |
|
/* end confdefs.h. */ |
7638 |
|
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
7639 |
|
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
7640 |
|
#define $ac_func innocuous_$ac_func |
7641 |
|
|
7642 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
7643 |
which can conflict with char $ac_func(); below. */ |
which can conflict with char $ac_func (); below. |
7644 |
#include <assert.h> |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
7645 |
/* Override any gcc2 internal prototype to avoid an error. */ |
<limits.h> exists even on freestanding compilers. */ |
7646 |
/* We use char because int might match the return type of a gcc2 |
|
7647 |
builtin and then its argument prototype would still apply. */ |
#ifdef __STDC__ |
7648 |
char $ac_func(); |
# include <limits.h> |
7649 |
|
#else |
7650 |
|
# include <assert.h> |
7651 |
|
#endif |
7652 |
|
|
7653 |
int main() { |
#undef $ac_func |
7654 |
|
|
7655 |
|
/* Override any gcc2 internal prototype to avoid an error. */ |
7656 |
|
#ifdef __cplusplus |
7657 |
|
extern "C" |
7658 |
|
{ |
7659 |
|
#endif |
7660 |
|
/* We use char because int might match the return type of a gcc2 |
7661 |
|
builtin and then its argument prototype would still apply. */ |
7662 |
|
char $ac_func (); |
7663 |
/* The GNU C library defines this for functions which it implements |
/* The GNU C library defines this for functions which it implements |
7664 |
to always fail with ENOSYS. Some functions are actually named |
to always fail with ENOSYS. Some functions are actually named |
7665 |
something starting with __ and the normal name is an alias. */ |
something starting with __ and the normal name is an alias. */ |
7666 |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
7667 |
choke me |
choke me |
7668 |
#else |
#else |
7669 |
$ac_func(); |
char (*f) () = $ac_func; |
7670 |
|
#endif |
7671 |
|
#ifdef __cplusplus |
7672 |
|
} |
7673 |
#endif |
#endif |
7674 |
|
|
7675 |
; return 0; } |
int |
7676 |
EOF |
main () |
7677 |
if { (eval echo configure:4027: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
{ |
7678 |
rm -rf conftest* |
return f != $ac_func; |
7679 |
eval "ac_cv_func_$ac_func=yes" |
; |
7680 |
else |
return 0; |
7681 |
echo "configure: failed program was:" >&5 |
} |
7682 |
cat conftest.$ac_ext >&5 |
_ACEOF |
7683 |
rm -rf conftest* |
rm -f conftest.$ac_objext conftest$ac_exeext |
7684 |
eval "ac_cv_func_$ac_func=no" |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
7685 |
fi |
(eval $ac_link) 2>conftest.er1 |
7686 |
rm -f conftest* |
ac_status=$? |
7687 |
fi |
grep -v '^ *+' conftest.er1 >conftest.err |
7688 |
|
rm -f conftest.er1 |
7689 |
|
cat conftest.err >&5 |
7690 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7691 |
|
(exit $ac_status); } && |
7692 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
7693 |
|
|| test ! -s conftest.err' |
7694 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7695 |
|
(eval $ac_try) 2>&5 |
7696 |
|
ac_status=$? |
7697 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7698 |
|
(exit $ac_status); }; } && |
7699 |
|
{ ac_try='test -s conftest$ac_exeext' |
7700 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7701 |
|
(eval $ac_try) 2>&5 |
7702 |
|
ac_status=$? |
7703 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7704 |
|
(exit $ac_status); }; }; then |
7705 |
|
eval "$as_ac_var=yes" |
7706 |
|
else |
7707 |
|
echo "$as_me: failed program was:" >&5 |
7708 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
7709 |
|
|
7710 |
|
eval "$as_ac_var=no" |
7711 |
|
fi |
7712 |
|
rm -f conftest.err conftest.$ac_objext \ |
7713 |
|
conftest$ac_exeext conftest.$ac_ext |
7714 |
|
fi |
7715 |
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
7716 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
7717 |
|
if test `eval echo '${'$as_ac_var'}'` = yes; then |
7718 |
|
cat >>confdefs.h <<_ACEOF |
7719 |
|
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
7720 |
|
_ACEOF |
7721 |
|
|
|
if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then |
|
|
echo "$ac_t""yes" 1>&6 |
|
|
ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` |
|
|
cat >> confdefs.h <<EOF |
|
|
#define $ac_tr_func 1 |
|
|
EOF |
|
|
|
|
|
else |
|
|
echo "$ac_t""no" 1>&6 |
|
7722 |
fi |
fi |
7723 |
done |
done |
7724 |
|
|
7725 |
# Extract the first word of "gmsgfmt", so it can be a program name with args. |
# Extract the first word of "gmsgfmt", so it can be a program name with args. |
7726 |
set dummy gmsgfmt; ac_word=$2 |
set dummy gmsgfmt; ac_word=$2 |
7727 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
7728 |
echo "configure:4054: checking for $ac_word" >&5 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
7729 |
if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then |
if test "${ac_cv_path_GMSGFMT+set}" = set; then |
7730 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
7731 |
else |
else |
7732 |
case "$GMSGFMT" in |
case $GMSGFMT in |
7733 |
/*) |
[\\/]* | ?:[\\/]*) |
7734 |
ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. |
ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. |
7735 |
;; |
;; |
|
?:/*) |
|
|
ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a dos path. |
|
|
;; |
|
7736 |
*) |
*) |
7737 |
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
7738 |
ac_dummy="$PATH" |
for as_dir in $PATH |
7739 |
for ac_dir in $ac_dummy; do |
do |
7740 |
test -z "$ac_dir" && ac_dir=. |
IFS=$as_save_IFS |
7741 |
if test -f $ac_dir/$ac_word; then |
test -z "$as_dir" && as_dir=. |
7742 |
ac_cv_path_GMSGFMT="$ac_dir/$ac_word" |
for ac_exec_ext in '' $ac_executable_extensions; do |
7743 |
break |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
7744 |
fi |
ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" |
7745 |
done |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
7746 |
IFS="$ac_save_ifs" |
break 2 |
7747 |
|
fi |
7748 |
|
done |
7749 |
|
done |
7750 |
|
|
7751 |
test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" |
test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" |
7752 |
;; |
;; |
7753 |
esac |
esac |
7754 |
fi |
fi |
7755 |
GMSGFMT="$ac_cv_path_GMSGFMT" |
GMSGFMT=$ac_cv_path_GMSGFMT |
7756 |
|
|
7757 |
if test -n "$GMSGFMT"; then |
if test -n "$GMSGFMT"; then |
7758 |
echo "$ac_t""$GMSGFMT" 1>&6 |
echo "$as_me:$LINENO: result: $GMSGFMT" >&5 |
7759 |
|
echo "${ECHO_T}$GMSGFMT" >&6 |
7760 |
else |
else |
7761 |
echo "$ac_t""no" 1>&6 |
echo "$as_me:$LINENO: result: no" >&5 |
7762 |
|
echo "${ECHO_T}no" >&6 |
7763 |
fi |
fi |
7764 |
|
|
7765 |
# Extract the first word of "xgettext", so it can be a program name with args. |
# Extract the first word of "xgettext", so it can be a program name with args. |
7766 |
set dummy xgettext; ac_word=$2 |
set dummy xgettext; ac_word=$2 |
7767 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
7768 |
echo "configure:4090: checking for $ac_word" >&5 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
7769 |
if eval "test \"`echo '$''{'ac_cv_path_XGETTEXT'+set}'`\" = set"; then |
if test "${ac_cv_path_XGETTEXT+set}" = set; then |
7770 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
7771 |
else |
else |
7772 |
case "$XGETTEXT" in |
case "$XGETTEXT" in |
7773 |
/*) |
/*) |
7791 |
fi |
fi |
7792 |
XGETTEXT="$ac_cv_path_XGETTEXT" |
XGETTEXT="$ac_cv_path_XGETTEXT" |
7793 |
if test -n "$XGETTEXT"; then |
if test -n "$XGETTEXT"; then |
7794 |
echo "$ac_t""$XGETTEXT" 1>&6 |
echo "$as_me:$LINENO: result: $XGETTEXT" >&5 |
7795 |
|
echo "${ECHO_T}$XGETTEXT" >&6 |
7796 |
else |
else |
7797 |
echo "$ac_t""no" 1>&6 |
echo "$as_me:$LINENO: result: no" >&5 |
7798 |
|
echo "${ECHO_T}no" >&6 |
7799 |
fi |
fi |
7800 |
|
|
7801 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
7802 |
#line 4122 "configure" |
/* confdefs.h. */ |
7803 |
#include "confdefs.h" |
_ACEOF |
7804 |
|
cat confdefs.h >>conftest.$ac_ext |
7805 |
|
cat >>conftest.$ac_ext <<_ACEOF |
7806 |
|
/* end confdefs.h. */ |
7807 |
|
|
7808 |
int main() { |
int |
7809 |
|
main () |
7810 |
|
{ |
7811 |
extern int _nl_msg_cat_cntr; |
extern int _nl_msg_cat_cntr; |
7812 |
return _nl_msg_cat_cntr |
return _nl_msg_cat_cntr |
7813 |
; return 0; } |
; |
7814 |
EOF |
return 0; |
7815 |
if { (eval echo configure:4130: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
} |
7816 |
rm -rf conftest* |
_ACEOF |
7817 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
7818 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
7819 |
|
(eval $ac_link) 2>conftest.er1 |
7820 |
|
ac_status=$? |
7821 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
7822 |
|
rm -f conftest.er1 |
7823 |
|
cat conftest.err >&5 |
7824 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7825 |
|
(exit $ac_status); } && |
7826 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
7827 |
|
|| test ! -s conftest.err' |
7828 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7829 |
|
(eval $ac_try) 2>&5 |
7830 |
|
ac_status=$? |
7831 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7832 |
|
(exit $ac_status); }; } && |
7833 |
|
{ ac_try='test -s conftest$ac_exeext' |
7834 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7835 |
|
(eval $ac_try) 2>&5 |
7836 |
|
ac_status=$? |
7837 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7838 |
|
(exit $ac_status); }; }; then |
7839 |
CATOBJEXT=.gmo |
CATOBJEXT=.gmo |
7840 |
DATADIRNAME=share |
DATADIRNAME=share |
7841 |
else |
else |
7842 |
echo "configure: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
7843 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
7844 |
rm -rf conftest* |
|
7845 |
CATOBJEXT=.mo |
CATOBJEXT=.mo |
7846 |
DATADIRNAME=lib |
DATADIRNAME=lib |
7847 |
fi |
fi |
7848 |
rm -f conftest* |
rm -f conftest.err conftest.$ac_objext \ |
7849 |
|
conftest$ac_exeext conftest.$ac_ext |
7850 |
INSTOBJEXT=.mo |
INSTOBJEXT=.mo |
7851 |
fi |
fi |
7852 |
fi |
fi |
7853 |
|
|
|
else |
|
|
echo "$ac_t""no" 1>&6 |
|
7854 |
fi |
fi |
7855 |
|
|
7856 |
|
|
7857 |
|
|
7858 |
if test "$CATOBJEXT" = "NONE"; then |
|
7859 |
nls_cv_use_gnu_gettext=yes |
if test x"$CATOBJEXT" = x && test -d $srcdir/../intl; then |
7860 |
|
# Neither gettext nor catgets in included in the C library. |
7861 |
|
# Fall back on GNU gettext library (assuming it is present). |
7862 |
|
nls_cv_use_gnu_gettext=yes |
7863 |
fi |
fi |
7864 |
fi |
fi |
7865 |
|
|
7867 |
INTLOBJS="\$(GETTOBJS)" |
INTLOBJS="\$(GETTOBJS)" |
7868 |
# Extract the first word of "msgfmt", so it can be a program name with args. |
# Extract the first word of "msgfmt", so it can be a program name with args. |
7869 |
set dummy msgfmt; ac_word=$2 |
set dummy msgfmt; ac_word=$2 |
7870 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
7871 |
echo "configure:4162: checking for $ac_word" >&5 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
7872 |
if eval "test \"`echo '$''{'ac_cv_path_MSGFMT'+set}'`\" = set"; then |
if test "${ac_cv_path_MSGFMT+set}" = set; then |
7873 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
7874 |
else |
else |
7875 |
case "$MSGFMT" in |
case "$MSGFMT" in |
7876 |
/*) |
/*) |
7894 |
fi |
fi |
7895 |
MSGFMT="$ac_cv_path_MSGFMT" |
MSGFMT="$ac_cv_path_MSGFMT" |
7896 |
if test -n "$MSGFMT"; then |
if test -n "$MSGFMT"; then |
7897 |
echo "$ac_t""$MSGFMT" 1>&6 |
echo "$as_me:$LINENO: result: $MSGFMT" >&5 |
7898 |
|
echo "${ECHO_T}$MSGFMT" >&6 |
7899 |
else |
else |
7900 |
echo "$ac_t""no" 1>&6 |
echo "$as_me:$LINENO: result: no" >&5 |
7901 |
|
echo "${ECHO_T}no" >&6 |
7902 |
fi |
fi |
7903 |
|
|
7904 |
# Extract the first word of "gmsgfmt", so it can be a program name with args. |
# Extract the first word of "gmsgfmt", so it can be a program name with args. |
7905 |
set dummy gmsgfmt; ac_word=$2 |
set dummy gmsgfmt; ac_word=$2 |
7906 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
7907 |
echo "configure:4196: checking for $ac_word" >&5 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
7908 |
if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then |
if test "${ac_cv_path_GMSGFMT+set}" = set; then |
7909 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
7910 |
else |
else |
7911 |
case "$GMSGFMT" in |
case $GMSGFMT in |
7912 |
/*) |
[\\/]* | ?:[\\/]*) |
7913 |
ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. |
ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. |
7914 |
;; |
;; |
|
?:/*) |
|
|
ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a dos path. |
|
|
;; |
|
7915 |
*) |
*) |
7916 |
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
7917 |
ac_dummy="$PATH" |
for as_dir in $PATH |
7918 |
for ac_dir in $ac_dummy; do |
do |
7919 |
test -z "$ac_dir" && ac_dir=. |
IFS=$as_save_IFS |
7920 |
if test -f $ac_dir/$ac_word; then |
test -z "$as_dir" && as_dir=. |
7921 |
ac_cv_path_GMSGFMT="$ac_dir/$ac_word" |
for ac_exec_ext in '' $ac_executable_extensions; do |
7922 |
break |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
7923 |
fi |
ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" |
7924 |
done |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
7925 |
IFS="$ac_save_ifs" |
break 2 |
7926 |
|
fi |
7927 |
|
done |
7928 |
|
done |
7929 |
|
|
7930 |
test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" |
test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" |
7931 |
;; |
;; |
7932 |
esac |
esac |
7933 |
fi |
fi |
7934 |
GMSGFMT="$ac_cv_path_GMSGFMT" |
GMSGFMT=$ac_cv_path_GMSGFMT |
7935 |
|
|
7936 |
if test -n "$GMSGFMT"; then |
if test -n "$GMSGFMT"; then |
7937 |
echo "$ac_t""$GMSGFMT" 1>&6 |
echo "$as_me:$LINENO: result: $GMSGFMT" >&5 |
7938 |
|
echo "${ECHO_T}$GMSGFMT" >&6 |
7939 |
else |
else |
7940 |
echo "$ac_t""no" 1>&6 |
echo "$as_me:$LINENO: result: no" >&5 |
7941 |
|
echo "${ECHO_T}no" >&6 |
7942 |
fi |
fi |
7943 |
|
|
7944 |
# Extract the first word of "xgettext", so it can be a program name with args. |
# Extract the first word of "xgettext", so it can be a program name with args. |
7945 |
set dummy xgettext; ac_word=$2 |
set dummy xgettext; ac_word=$2 |
7946 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
7947 |
echo "configure:4232: checking for $ac_word" >&5 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
7948 |
if eval "test \"`echo '$''{'ac_cv_path_XGETTEXT'+set}'`\" = set"; then |
if test "${ac_cv_path_XGETTEXT+set}" = set; then |
7949 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
7950 |
else |
else |
7951 |
case "$XGETTEXT" in |
case "$XGETTEXT" in |
7952 |
/*) |
/*) |
7970 |
fi |
fi |
7971 |
XGETTEXT="$ac_cv_path_XGETTEXT" |
XGETTEXT="$ac_cv_path_XGETTEXT" |
7972 |
if test -n "$XGETTEXT"; then |
if test -n "$XGETTEXT"; then |
7973 |
echo "$ac_t""$XGETTEXT" 1>&6 |
echo "$as_me:$LINENO: result: $XGETTEXT" >&5 |
7974 |
|
echo "${ECHO_T}$XGETTEXT" >&6 |
7975 |
else |
else |
7976 |
echo "$ac_t""no" 1>&6 |
echo "$as_me:$LINENO: result: no" >&5 |
7977 |
|
echo "${ECHO_T}no" >&6 |
7978 |
fi |
fi |
7979 |
|
|
7980 |
|
|
7981 |
USE_INCLUDED_LIBINTL=yes |
USE_INCLUDED_LIBINTL=yes |
7982 |
CATOBJEXT=.gmo |
CATOBJEXT=.gmo |
7983 |
INSTOBJEXT=.mo |
INSTOBJEXT=.mo |
7993 |
if $XGETTEXT --omit-header /dev/null 2> /dev/null; then |
if $XGETTEXT --omit-header /dev/null 2> /dev/null; then |
7994 |
: ; |
: ; |
7995 |
else |
else |
7996 |
echo "$ac_t""found xgettext programs is not GNU xgettext; ignore it" 1>&6 |
echo "$as_me:$LINENO: result: found xgettext programs is not GNU xgettext; ignore it" >&5 |
7997 |
|
echo "${ECHO_T}found xgettext programs is not GNU xgettext; ignore it" >&6 |
7998 |
XGETTEXT=":" |
XGETTEXT=":" |
7999 |
fi |
fi |
8000 |
fi |
fi |
8019 |
POFILES="$POFILES $lang.po" |
POFILES="$POFILES $lang.po" |
8020 |
done |
done |
8021 |
|
|
8022 |
|
|
8023 |
|
|
8024 |
|
|
8025 |
|
|
8026 |
|
|
8027 |
|
|
8028 |
|
|
8029 |
|
|
8030 |
|
|
8031 |
|
|
8032 |
|
|
8033 |
|
if test "x$CATOBJEXT" != "x"; then |
8034 |
|
|
8035 |
|
cat >>confdefs.h <<\_ACEOF |
8036 |
|
#define ENABLE_NLS 1 |
8037 |
|
_ACEOF |
8038 |
|
|
8039 |
|
fi |
8040 |
|
|
8041 |
|
|
8042 |
if test "x$CATOBJEXT" != "x"; then |
if test "x$CATOBJEXT" != "x"; then |
8043 |
if test "x$ALL_LINGUAS" = "x"; then |
if test "x$ALL_LINGUAS" = "x"; then |
8044 |
LINGUAS= |
LINGUAS= |
8045 |
else |
else |
8046 |
echo $ac_n "checking for catalogs to be installed""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for catalogs to be installed" >&5 |
8047 |
echo "configure:4322: checking for catalogs to be installed" >&5 |
echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6 |
8048 |
NEW_LINGUAS= |
NEW_LINGUAS= |
8049 |
for lang in ${LINGUAS=$ALL_LINGUAS}; do |
for lang in ${LINGUAS=$ALL_LINGUAS}; do |
8050 |
case "$ALL_LINGUAS" in |
case "$ALL_LINGUAS" in |
8052 |
esac |
esac |
8053 |
done |
done |
8054 |
LINGUAS=$NEW_LINGUAS |
LINGUAS=$NEW_LINGUAS |
8055 |
echo "$ac_t""$LINGUAS" 1>&6 |
echo "$as_me:$LINENO: result: $LINGUAS" >&5 |
8056 |
|
echo "${ECHO_T}$LINGUAS" >&6 |
8057 |
fi |
fi |
8058 |
|
|
8059 |
if test -n "$LINGUAS"; then |
if test -n "$LINGUAS"; then |
8067 |
INCLUDE_LOCALE_H="\ |
INCLUDE_LOCALE_H="\ |
8068 |
/* The system does not provide the header <locale.h>. Take care yourself. */" |
/* The system does not provide the header <locale.h>. Take care yourself. */" |
8069 |
fi |
fi |
8070 |
|
|
8071 |
|
|
8072 |
if test -f $srcdir/po2tbl.sed.in; then |
if test -f $srcdir/po2tbl.sed.in; then |
8073 |
if test "$CATOBJEXT" = ".cat"; then |
if test "$CATOBJEXT" = ".cat"; then |
8074 |
ac_safe=`echo "linux/version.h" | sed 'y%./+-%__p_%'` |
if test "${ac_cv_header_linux_version_h+set}" = set; then |
8075 |
echo $ac_n "checking for linux/version.h""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for linux/version.h" >&5 |
8076 |
echo "configure:4350: checking for linux/version.h" >&5 |
echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6 |
8077 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if test "${ac_cv_header_linux_version_h+set}" = set; then |
8078 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
8079 |
else |
fi |
8080 |
cat > conftest.$ac_ext <<EOF |
echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5 |
8081 |
#line 4355 "configure" |
echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6 |
8082 |
#include "confdefs.h" |
else |
8083 |
|
# Is the header compilable? |
8084 |
|
echo "$as_me:$LINENO: checking linux/version.h usability" >&5 |
8085 |
|
echo $ECHO_N "checking linux/version.h usability... $ECHO_C" >&6 |
8086 |
|
cat >conftest.$ac_ext <<_ACEOF |
8087 |
|
/* confdefs.h. */ |
8088 |
|
_ACEOF |
8089 |
|
cat confdefs.h >>conftest.$ac_ext |
8090 |
|
cat >>conftest.$ac_ext <<_ACEOF |
8091 |
|
/* end confdefs.h. */ |
8092 |
|
$ac_includes_default |
8093 |
#include <linux/version.h> |
#include <linux/version.h> |
8094 |
EOF |
_ACEOF |
8095 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
rm -f conftest.$ac_objext |
8096 |
{ (eval echo configure:4360: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
8097 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
(eval $ac_compile) 2>conftest.er1 |
8098 |
if test -z "$ac_err"; then |
ac_status=$? |
8099 |
rm -rf conftest* |
grep -v '^ *+' conftest.er1 >conftest.err |
8100 |
eval "ac_cv_header_$ac_safe=yes" |
rm -f conftest.er1 |
8101 |
|
cat conftest.err >&5 |
8102 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8103 |
|
(exit $ac_status); } && |
8104 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
8105 |
|
|| test ! -s conftest.err' |
8106 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8107 |
|
(eval $ac_try) 2>&5 |
8108 |
|
ac_status=$? |
8109 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8110 |
|
(exit $ac_status); }; } && |
8111 |
|
{ ac_try='test -s conftest.$ac_objext' |
8112 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8113 |
|
(eval $ac_try) 2>&5 |
8114 |
|
ac_status=$? |
8115 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8116 |
|
(exit $ac_status); }; }; then |
8117 |
|
ac_header_compiler=yes |
8118 |
|
else |
8119 |
|
echo "$as_me: failed program was:" >&5 |
8120 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
8121 |
|
|
8122 |
|
ac_header_compiler=no |
8123 |
|
fi |
8124 |
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
8125 |
|
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
8126 |
|
echo "${ECHO_T}$ac_header_compiler" >&6 |
8127 |
|
|
8128 |
|
# Is the header present? |
8129 |
|
echo "$as_me:$LINENO: checking linux/version.h presence" >&5 |
8130 |
|
echo $ECHO_N "checking linux/version.h presence... $ECHO_C" >&6 |
8131 |
|
cat >conftest.$ac_ext <<_ACEOF |
8132 |
|
/* confdefs.h. */ |
8133 |
|
_ACEOF |
8134 |
|
cat confdefs.h >>conftest.$ac_ext |
8135 |
|
cat >>conftest.$ac_ext <<_ACEOF |
8136 |
|
/* end confdefs.h. */ |
8137 |
|
#include <linux/version.h> |
8138 |
|
_ACEOF |
8139 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
8140 |
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
8141 |
|
ac_status=$? |
8142 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
8143 |
|
rm -f conftest.er1 |
8144 |
|
cat conftest.err >&5 |
8145 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8146 |
|
(exit $ac_status); } >/dev/null; then |
8147 |
|
if test -s conftest.err; then |
8148 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
8149 |
|
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
8150 |
|
else |
8151 |
|
ac_cpp_err= |
8152 |
|
fi |
8153 |
else |
else |
8154 |
echo "$ac_err" >&5 |
ac_cpp_err=yes |
|
echo "configure: failed program was:" >&5 |
|
|
cat conftest.$ac_ext >&5 |
|
|
rm -rf conftest* |
|
|
eval "ac_cv_header_$ac_safe=no" |
|
8155 |
fi |
fi |
8156 |
rm -f conftest* |
if test -z "$ac_cpp_err"; then |
8157 |
|
ac_header_preproc=yes |
8158 |
|
else |
8159 |
|
echo "$as_me: failed program was:" >&5 |
8160 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
8161 |
|
|
8162 |
|
ac_header_preproc=no |
8163 |
|
fi |
8164 |
|
rm -f conftest.err conftest.$ac_ext |
8165 |
|
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
8166 |
|
echo "${ECHO_T}$ac_header_preproc" >&6 |
8167 |
|
|
8168 |
|
# So? What about this header? |
8169 |
|
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
8170 |
|
yes:no: ) |
8171 |
|
{ echo "$as_me:$LINENO: WARNING: linux/version.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
8172 |
|
echo "$as_me: WARNING: linux/version.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
8173 |
|
{ echo "$as_me:$LINENO: WARNING: linux/version.h: proceeding with the compiler's result" >&5 |
8174 |
|
echo "$as_me: WARNING: linux/version.h: proceeding with the compiler's result" >&2;} |
8175 |
|
ac_header_preproc=yes |
8176 |
|
;; |
8177 |
|
no:yes:* ) |
8178 |
|
{ echo "$as_me:$LINENO: WARNING: linux/version.h: present but cannot be compiled" >&5 |
8179 |
|
echo "$as_me: WARNING: linux/version.h: present but cannot be compiled" >&2;} |
8180 |
|
{ echo "$as_me:$LINENO: WARNING: linux/version.h: check for missing prerequisite headers?" >&5 |
8181 |
|
echo "$as_me: WARNING: linux/version.h: check for missing prerequisite headers?" >&2;} |
8182 |
|
{ echo "$as_me:$LINENO: WARNING: linux/version.h: see the Autoconf documentation" >&5 |
8183 |
|
echo "$as_me: WARNING: linux/version.h: see the Autoconf documentation" >&2;} |
8184 |
|
{ echo "$as_me:$LINENO: WARNING: linux/version.h: section \"Present But Cannot Be Compiled\"" >&5 |
8185 |
|
echo "$as_me: WARNING: linux/version.h: section \"Present But Cannot Be Compiled\"" >&2;} |
8186 |
|
{ echo "$as_me:$LINENO: WARNING: linux/version.h: proceeding with the preprocessor's result" >&5 |
8187 |
|
echo "$as_me: WARNING: linux/version.h: proceeding with the preprocessor's result" >&2;} |
8188 |
|
{ echo "$as_me:$LINENO: WARNING: linux/version.h: in the future, the compiler will take precedence" >&5 |
8189 |
|
echo "$as_me: WARNING: linux/version.h: in the future, the compiler will take precedence" >&2;} |
8190 |
|
( |
8191 |
|
cat <<\_ASBOX |
8192 |
|
## ------------------------------------------ ## |
8193 |
|
## Report this to the AC_PACKAGE_NAME lists. ## |
8194 |
|
## ------------------------------------------ ## |
8195 |
|
_ASBOX |
8196 |
|
) | |
8197 |
|
sed "s/^/$as_me: WARNING: /" >&2 |
8198 |
|
;; |
8199 |
|
esac |
8200 |
|
echo "$as_me:$LINENO: checking for linux/version.h" >&5 |
8201 |
|
echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6 |
8202 |
|
if test "${ac_cv_header_linux_version_h+set}" = set; then |
8203 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
8204 |
|
else |
8205 |
|
ac_cv_header_linux_version_h=$ac_header_preproc |
8206 |
fi |
fi |
8207 |
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5 |
8208 |
echo "$ac_t""yes" 1>&6 |
echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6 |
8209 |
|
|
8210 |
|
fi |
8211 |
|
if test $ac_cv_header_linux_version_h = yes; then |
8212 |
msgformat=linux |
msgformat=linux |
8213 |
else |
else |
8214 |
echo "$ac_t""no" 1>&6 |
msgformat=xopen |
|
msgformat=xopen |
|
8215 |
fi |
fi |
8216 |
|
|
8217 |
|
|
8218 |
|
|
8219 |
sed -e '/^#/d' $srcdir/$msgformat-msg.sed > po2msg.sed |
sed -e '/^#/d' $srcdir/$msgformat-msg.sed > po2msg.sed |
8220 |
fi |
fi |
8221 |
sed -e '/^#.*[^\\]$/d' -e '/^#$/d' \ |
sed -e '/^#.*[^\\]$/d' -e '/^#$/d' \ |
8229 |
GT_NO= |
GT_NO= |
8230 |
GT_YES="#YES#" |
GT_YES="#YES#" |
8231 |
fi |
fi |
8232 |
|
|
8233 |
|
|
8234 |
|
|
8235 |
MKINSTALLDIRS="\$(srcdir)/../../mkinstalldirs" |
MKINSTALLDIRS="\$(srcdir)/../../mkinstalldirs" |
8236 |
|
|
8237 |
|
|
8238 |
l= |
l= |
8239 |
|
|
8240 |
|
|
8241 |
if test -f $srcdir/po/POTFILES.in; then |
if test -f $srcdir/po/POTFILES.in; then |
8242 |
test -d po || mkdir po |
test -d po || mkdir po |
8253 |
sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \ |
sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \ |
8254 |
< $srcdir/po/POTFILES.in > po/POTFILES |
< $srcdir/po/POTFILES.in > po/POTFILES |
8255 |
fi |
fi |
8256 |
|
|
8257 |
|
|
8258 |
# Permit host specific settings. |
# Permit host specific settings. |
8259 |
. ${srcdir}/configure.host |
. ${srcdir}/configure.host |
8266 |
# SunOS /usr/etc/install |
# SunOS /usr/etc/install |
8267 |
# IRIX /sbin/install |
# IRIX /sbin/install |
8268 |
# AIX /bin/install |
# AIX /bin/install |
8269 |
|
# AmigaOS /C/install, which installs bootblocks on floppy discs |
8270 |
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
8271 |
# AFS /usr/afsws/bin/install, which mishandles nonexistent args |
# AFS /usr/afsws/bin/install, which mishandles nonexistent args |
8272 |
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
8273 |
|
# OS/2's system install, which has a completely different semantic |
8274 |
# ./install, which can be erroneously created by make from ./install.sh. |
# ./install, which can be erroneously created by make from ./install.sh. |
8275 |
echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
8276 |
echo "configure:4438: checking for a BSD compatible install" >&5 |
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 |
8277 |
if test -z "$INSTALL"; then |
if test -z "$INSTALL"; then |
8278 |
if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then |
if test "${ac_cv_path_install+set}" = set; then |
8279 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
8280 |
else |
else |
8281 |
IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
8282 |
for ac_dir in $PATH; do |
for as_dir in $PATH |
8283 |
# Account for people who put trailing slashes in PATH elements. |
do |
8284 |
case "$ac_dir/" in |
IFS=$as_save_IFS |
8285 |
/|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;; |
test -z "$as_dir" && as_dir=. |
8286 |
*) |
# Account for people who put trailing slashes in PATH elements. |
8287 |
# OSF1 and SCO ODT 3.0 have their own names for install. |
case $as_dir/ in |
8288 |
# Don't use installbsd from OSF since it installs stuff as root |
./ | .// | /cC/* | \ |
8289 |
# by default. |
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
8290 |
for ac_prog in ginstall scoinst install; do |
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ |
8291 |
if test -f $ac_dir/$ac_prog; then |
/usr/ucb/* ) ;; |
8292 |
|
*) |
8293 |
|
# OSF1 and SCO ODT 3.0 have their own names for install. |
8294 |
|
# Don't use installbsd from OSF since it installs stuff as root |
8295 |
|
# by default. |
8296 |
|
for ac_prog in ginstall scoinst install; do |
8297 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
8298 |
|
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
8299 |
if test $ac_prog = install && |
if test $ac_prog = install && |
8300 |
grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then |
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
8301 |
# AIX install. It has an incompatible calling convention. |
# AIX install. It has an incompatible calling convention. |
8302 |
: |
: |
8303 |
|
elif test $ac_prog = install && |
8304 |
|
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
8305 |
|
# program-specific install script used by HP pwplus--don't use. |
8306 |
|
: |
8307 |
else |
else |
8308 |
ac_cv_path_install="$ac_dir/$ac_prog -c" |
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
8309 |
break 2 |
break 3 |
8310 |
fi |
fi |
8311 |
fi |
fi |
8312 |
done |
done |
8313 |
;; |
done |
8314 |
esac |
;; |
8315 |
done |
esac |
8316 |
IFS="$ac_save_IFS" |
done |
8317 |
|
|
8318 |
|
|
8319 |
fi |
fi |
8320 |
if test "${ac_cv_path_install+set}" = set; then |
if test "${ac_cv_path_install+set}" = set; then |
8321 |
INSTALL="$ac_cv_path_install" |
INSTALL=$ac_cv_path_install |
8322 |
else |
else |
8323 |
# As a last resort, use the slow shell script. We don't cache a |
# As a last resort, use the slow shell script. We don't cache a |
8324 |
# path for INSTALL within a source directory, because that will |
# path for INSTALL within a source directory, because that will |
8325 |
# break other packages using the cache if that directory is |
# break other packages using the cache if that directory is |
8326 |
# removed, or if the path is relative. |
# removed, or if the path is relative. |
8327 |
INSTALL="$ac_install_sh" |
INSTALL=$ac_install_sh |
8328 |
fi |
fi |
8329 |
fi |
fi |
8330 |
echo "$ac_t""$INSTALL" 1>&6 |
echo "$as_me:$LINENO: result: $INSTALL" >&5 |
8331 |
|
echo "${ECHO_T}$INSTALL" >&6 |
8332 |
|
|
8333 |
# Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
# Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
8334 |
# It thinks the first close brace ends the variable substitution. |
# It thinks the first close brace ends the variable substitution. |
8335 |
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
8336 |
|
|
8337 |
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}' |
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
8338 |
|
|
8339 |
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
8340 |
|
|
8341 |
|
|
8342 |
BFD_HOST_64BIT_LONG=0 |
BFD_HOST_64BIT_LONG=0 |
8343 |
|
BFD_HOST_LONG_LONG=0 |
8344 |
BFD_HOST_64_BIT_DEFINED=0 |
BFD_HOST_64_BIT_DEFINED=0 |
8345 |
BFD_HOST_64_BIT= |
BFD_HOST_64_BIT= |
8346 |
BFD_HOST_U_64_BIT= |
BFD_HOST_U_64_BIT= |
8347 |
if test "x${HOST_64BIT_TYPE}" = "xlong"; then |
|
8348 |
|
echo "$as_me:$LINENO: checking for long long" >&5 |
8349 |
|
echo $ECHO_N "checking for long long... $ECHO_C" >&6 |
8350 |
|
if test "${bfd_cv_has_long_long+set}" = set; then |
8351 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
8352 |
|
else |
8353 |
|
cat >conftest.$ac_ext <<_ACEOF |
8354 |
|
/* confdefs.h. */ |
8355 |
|
_ACEOF |
8356 |
|
cat confdefs.h >>conftest.$ac_ext |
8357 |
|
cat >>conftest.$ac_ext <<_ACEOF |
8358 |
|
/* end confdefs.h. */ |
8359 |
|
|
8360 |
|
int |
8361 |
|
main () |
8362 |
|
{ |
8363 |
|
unsigned long long ll = 18446744073709551615ULL; |
8364 |
|
; |
8365 |
|
return 0; |
8366 |
|
} |
8367 |
|
_ACEOF |
8368 |
|
rm -f conftest.$ac_objext |
8369 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
8370 |
|
(eval $ac_compile) 2>conftest.er1 |
8371 |
|
ac_status=$? |
8372 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
8373 |
|
rm -f conftest.er1 |
8374 |
|
cat conftest.err >&5 |
8375 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8376 |
|
(exit $ac_status); } && |
8377 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
8378 |
|
|| test ! -s conftest.err' |
8379 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8380 |
|
(eval $ac_try) 2>&5 |
8381 |
|
ac_status=$? |
8382 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8383 |
|
(exit $ac_status); }; } && |
8384 |
|
{ ac_try='test -s conftest.$ac_objext' |
8385 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8386 |
|
(eval $ac_try) 2>&5 |
8387 |
|
ac_status=$? |
8388 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8389 |
|
(exit $ac_status); }; }; then |
8390 |
|
bfd_cv_has_long_long=yes |
8391 |
|
else |
8392 |
|
echo "$as_me: failed program was:" >&5 |
8393 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
8394 |
|
|
8395 |
|
bfd_cv_has_long_long=no |
8396 |
|
fi |
8397 |
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
8398 |
|
fi |
8399 |
|
|
8400 |
|
echo "$as_me:$LINENO: result: $bfd_cv_has_long_long" >&5 |
8401 |
|
echo "${ECHO_T}$bfd_cv_has_long_long" >&6 |
8402 |
|
if test $bfd_cv_has_long_long = yes; then |
8403 |
|
BFD_HOST_LONG_LONG=1 |
8404 |
|
echo "$as_me:$LINENO: checking size of long long" >&5 |
8405 |
|
echo $ECHO_N "checking size of long long... $ECHO_C" >&6 |
8406 |
|
if test "${ac_cv_sizeof_long_long+set}" = set; then |
8407 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
8408 |
|
else |
8409 |
|
for ac_size in 4 8 1 2 16 12 ; do # List sizes in rough order of prevalence. |
8410 |
|
cat >conftest.$ac_ext <<_ACEOF |
8411 |
|
/* confdefs.h. */ |
8412 |
|
_ACEOF |
8413 |
|
cat confdefs.h >>conftest.$ac_ext |
8414 |
|
cat >>conftest.$ac_ext <<_ACEOF |
8415 |
|
/* end confdefs.h. */ |
8416 |
|
#include "confdefs.h" |
8417 |
|
#include <sys/types.h> |
8418 |
|
|
8419 |
|
|
8420 |
|
int |
8421 |
|
main () |
8422 |
|
{ |
8423 |
|
switch (0) case 0: case (sizeof (long long) == $ac_size):; |
8424 |
|
; |
8425 |
|
return 0; |
8426 |
|
} |
8427 |
|
_ACEOF |
8428 |
|
rm -f conftest.$ac_objext |
8429 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
8430 |
|
(eval $ac_compile) 2>conftest.er1 |
8431 |
|
ac_status=$? |
8432 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
8433 |
|
rm -f conftest.er1 |
8434 |
|
cat conftest.err >&5 |
8435 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8436 |
|
(exit $ac_status); } && |
8437 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
8438 |
|
|| test ! -s conftest.err' |
8439 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8440 |
|
(eval $ac_try) 2>&5 |
8441 |
|
ac_status=$? |
8442 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8443 |
|
(exit $ac_status); }; } && |
8444 |
|
{ ac_try='test -s conftest.$ac_objext' |
8445 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8446 |
|
(eval $ac_try) 2>&5 |
8447 |
|
ac_status=$? |
8448 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8449 |
|
(exit $ac_status); }; }; then |
8450 |
|
ac_cv_sizeof_long_long=$ac_size |
8451 |
|
else |
8452 |
|
echo "$as_me: failed program was:" >&5 |
8453 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
8454 |
|
|
8455 |
|
fi |
8456 |
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
8457 |
|
if test x$ac_cv_sizeof_long_long != x ; then break; fi |
8458 |
|
done |
8459 |
|
|
8460 |
|
fi |
8461 |
|
|
8462 |
|
if test x$ac_cv_sizeof_long_long = x ; then |
8463 |
|
{ { echo "$as_me:$LINENO: error: cannot determine a size for long long" >&5 |
8464 |
|
echo "$as_me: error: cannot determine a size for long long" >&2;} |
8465 |
|
{ (exit 1); exit 1; }; } |
8466 |
|
fi |
8467 |
|
echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5 |
8468 |
|
echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6 |
8469 |
|
|
8470 |
|
cat >>confdefs.h <<_ACEOF |
8471 |
|
#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long |
8472 |
|
_ACEOF |
8473 |
|
|
8474 |
|
|
8475 |
|
fi |
8476 |
|
|
8477 |
|
echo "$as_me:$LINENO: checking size of long" >&5 |
8478 |
|
echo $ECHO_N "checking size of long... $ECHO_C" >&6 |
8479 |
|
if test "${ac_cv_sizeof_long+set}" = set; then |
8480 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
8481 |
|
else |
8482 |
|
for ac_size in 4 8 1 2 16 12 ; do # List sizes in rough order of prevalence. |
8483 |
|
cat >conftest.$ac_ext <<_ACEOF |
8484 |
|
/* confdefs.h. */ |
8485 |
|
_ACEOF |
8486 |
|
cat confdefs.h >>conftest.$ac_ext |
8487 |
|
cat >>conftest.$ac_ext <<_ACEOF |
8488 |
|
/* end confdefs.h. */ |
8489 |
|
#include "confdefs.h" |
8490 |
|
#include <sys/types.h> |
8491 |
|
|
8492 |
|
|
8493 |
|
int |
8494 |
|
main () |
8495 |
|
{ |
8496 |
|
switch (0) case 0: case (sizeof (long) == $ac_size):; |
8497 |
|
; |
8498 |
|
return 0; |
8499 |
|
} |
8500 |
|
_ACEOF |
8501 |
|
rm -f conftest.$ac_objext |
8502 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
8503 |
|
(eval $ac_compile) 2>conftest.er1 |
8504 |
|
ac_status=$? |
8505 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
8506 |
|
rm -f conftest.er1 |
8507 |
|
cat conftest.err >&5 |
8508 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8509 |
|
(exit $ac_status); } && |
8510 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
8511 |
|
|| test ! -s conftest.err' |
8512 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8513 |
|
(eval $ac_try) 2>&5 |
8514 |
|
ac_status=$? |
8515 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8516 |
|
(exit $ac_status); }; } && |
8517 |
|
{ ac_try='test -s conftest.$ac_objext' |
8518 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8519 |
|
(eval $ac_try) 2>&5 |
8520 |
|
ac_status=$? |
8521 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8522 |
|
(exit $ac_status); }; }; then |
8523 |
|
ac_cv_sizeof_long=$ac_size |
8524 |
|
else |
8525 |
|
echo "$as_me: failed program was:" >&5 |
8526 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
8527 |
|
|
8528 |
|
fi |
8529 |
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
8530 |
|
if test x$ac_cv_sizeof_long != x ; then break; fi |
8531 |
|
done |
8532 |
|
|
8533 |
|
fi |
8534 |
|
|
8535 |
|
if test x$ac_cv_sizeof_long = x ; then |
8536 |
|
{ { echo "$as_me:$LINENO: error: cannot determine a size for long" >&5 |
8537 |
|
echo "$as_me: error: cannot determine a size for long" >&2;} |
8538 |
|
{ (exit 1); exit 1; }; } |
8539 |
|
fi |
8540 |
|
echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5 |
8541 |
|
echo "${ECHO_T}$ac_cv_sizeof_long" >&6 |
8542 |
|
|
8543 |
|
cat >>confdefs.h <<_ACEOF |
8544 |
|
#define SIZEOF_LONG $ac_cv_sizeof_long |
8545 |
|
_ACEOF |
8546 |
|
|
8547 |
|
|
8548 |
|
if test "x${ac_cv_sizeof_long}" = "x8"; then |
8549 |
|
host64=true |
8550 |
BFD_HOST_64BIT_LONG=1 |
BFD_HOST_64BIT_LONG=1 |
8551 |
elif test "x${HOST_64BIT_TYPE}" != "x"; then |
test -n "${HOST_64BIT_TYPE}" || HOST_64BIT_TYPE="long" |
8552 |
|
test -n "${HOST_U_64BIT_TYPE}" || HOST_U_64BIT_TYPE="unsigned long" |
8553 |
|
elif test "x${ac_cv_sizeof_long_long}" = "x8"; then |
8554 |
|
test -n "${HOST_64BIT_TYPE}" || HOST_64BIT_TYPE="long long" |
8555 |
|
test -n "${HOST_U_64BIT_TYPE}" || HOST_U_64BIT_TYPE="unsigned long long" |
8556 |
|
fi |
8557 |
|
|
8558 |
|
if test -n "${HOST_64BIT_TYPE}" -a -n "${HOST_U_64BIT_TYPE}"; then |
8559 |
BFD_HOST_64_BIT_DEFINED=1 |
BFD_HOST_64_BIT_DEFINED=1 |
8560 |
BFD_HOST_64_BIT=${HOST_64BIT_TYPE} |
BFD_HOST_64_BIT="${HOST_64BIT_TYPE}" |
8561 |
BFD_HOST_U_64_BIT=${HOST_U_64BIT_TYPE} |
BFD_HOST_U_64_BIT="${HOST_U_64BIT_TYPE}" |
8562 |
fi |
fi |
8563 |
|
|
8564 |
|
|
8565 |
|
|
8566 |
|
|
8567 |
|
|
8568 |
|
|
8569 |
|
|
8570 |
# Put a plausible default for CC_FOR_BUILD in Makefile. |
# Put a plausible default for CC_FOR_BUILD in Makefile. |
8571 |
if test -z "$CC_FOR_BUILD"; then |
if test -z "$CC_FOR_BUILD"; then |
8572 |
if test "x$cross_compiling" = "xno"; then |
if test "x$cross_compiling" = "xno"; then |
8580 |
if test "x$cross_compiling" = "xno"; then |
if test "x$cross_compiling" = "xno"; then |
8581 |
EXEEXT_FOR_BUILD='$(EXEEXT)' |
EXEEXT_FOR_BUILD='$(EXEEXT)' |
8582 |
else |
else |
8583 |
echo $ac_n "checking for build system executable suffix""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for build system executable suffix" >&5 |
8584 |
echo "configure:4521: checking for build system executable suffix" >&5 |
echo $ECHO_N "checking for build system executable suffix... $ECHO_C" >&6 |
8585 |
if eval "test \"`echo '$''{'bfd_cv_build_exeext'+set}'`\" = set"; then |
if test "${bfd_cv_build_exeext+set}" = set; then |
8586 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
8587 |
else |
else |
8588 |
rm -f conftest* |
rm -f conftest* |
8589 |
echo 'int main () { return 0; }' > conftest.c |
echo 'int main () { return 0; }' > conftest.c |
8598 |
rm -f conftest* |
rm -f conftest* |
8599 |
test x"${bfd_cv_build_exeext}" = x && bfd_cv_build_exeext=no |
test x"${bfd_cv_build_exeext}" = x && bfd_cv_build_exeext=no |
8600 |
fi |
fi |
8601 |
|
echo "$as_me:$LINENO: result: $bfd_cv_build_exeext" >&5 |
8602 |
echo "$ac_t""$bfd_cv_build_exeext" 1>&6 |
echo "${ECHO_T}$bfd_cv_build_exeext" >&6 |
8603 |
EXEEXT_FOR_BUILD="" |
EXEEXT_FOR_BUILD="" |
8604 |
test x"${bfd_cv_build_exeext}" != xno && EXEEXT_FOR_BUILD=${bfd_cv_build_exeext} |
test x"${bfd_cv_build_exeext}" != xno && EXEEXT_FOR_BUILD=${bfd_cv_build_exeext} |
8605 |
fi |
fi |
8606 |
|
|
8607 |
|
|
8608 |
for ac_hdr in stddef.h string.h strings.h stdlib.h time.h unistd.h |
|
8609 |
|
|
8610 |
|
|
8611 |
|
|
8612 |
|
|
8613 |
|
|
8614 |
|
for ac_header in stddef.h string.h strings.h stdlib.h time.h unistd.h |
8615 |
do |
do |
8616 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
8617 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
8618 |
echo "configure:4549: checking for $ac_hdr" >&5 |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
8619 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
8620 |
echo $ac_n "(cached) $ac_c" 1>&6 |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
8621 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
8622 |
|
fi |
8623 |
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
8624 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
8625 |
|
else |
8626 |
|
# Is the header compilable? |
8627 |
|
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
8628 |
|
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
8629 |
|
cat >conftest.$ac_ext <<_ACEOF |
8630 |
|
/* confdefs.h. */ |
8631 |
|
_ACEOF |
8632 |
|
cat confdefs.h >>conftest.$ac_ext |
8633 |
|
cat >>conftest.$ac_ext <<_ACEOF |
8634 |
|
/* end confdefs.h. */ |
8635 |
|
$ac_includes_default |
8636 |
|
#include <$ac_header> |
8637 |
|
_ACEOF |
8638 |
|
rm -f conftest.$ac_objext |
8639 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
8640 |
|
(eval $ac_compile) 2>conftest.er1 |
8641 |
|
ac_status=$? |
8642 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
8643 |
|
rm -f conftest.er1 |
8644 |
|
cat conftest.err >&5 |
8645 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8646 |
|
(exit $ac_status); } && |
8647 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
8648 |
|
|| test ! -s conftest.err' |
8649 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8650 |
|
(eval $ac_try) 2>&5 |
8651 |
|
ac_status=$? |
8652 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8653 |
|
(exit $ac_status); }; } && |
8654 |
|
{ ac_try='test -s conftest.$ac_objext' |
8655 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8656 |
|
(eval $ac_try) 2>&5 |
8657 |
|
ac_status=$? |
8658 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8659 |
|
(exit $ac_status); }; }; then |
8660 |
|
ac_header_compiler=yes |
8661 |
|
else |
8662 |
|
echo "$as_me: failed program was:" >&5 |
8663 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
8664 |
|
|
8665 |
|
ac_header_compiler=no |
8666 |
|
fi |
8667 |
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
8668 |
|
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
8669 |
|
echo "${ECHO_T}$ac_header_compiler" >&6 |
8670 |
|
|
8671 |
|
# Is the header present? |
8672 |
|
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
8673 |
|
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
8674 |
|
cat >conftest.$ac_ext <<_ACEOF |
8675 |
|
/* confdefs.h. */ |
8676 |
|
_ACEOF |
8677 |
|
cat confdefs.h >>conftest.$ac_ext |
8678 |
|
cat >>conftest.$ac_ext <<_ACEOF |
8679 |
|
/* end confdefs.h. */ |
8680 |
|
#include <$ac_header> |
8681 |
|
_ACEOF |
8682 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
8683 |
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
8684 |
|
ac_status=$? |
8685 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
8686 |
|
rm -f conftest.er1 |
8687 |
|
cat conftest.err >&5 |
8688 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8689 |
|
(exit $ac_status); } >/dev/null; then |
8690 |
|
if test -s conftest.err; then |
8691 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
8692 |
|
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
8693 |
|
else |
8694 |
|
ac_cpp_err= |
8695 |
|
fi |
8696 |
else |
else |
8697 |
cat > conftest.$ac_ext <<EOF |
ac_cpp_err=yes |
8698 |
#line 4554 "configure" |
fi |
8699 |
#include "confdefs.h" |
if test -z "$ac_cpp_err"; then |
8700 |
#include <$ac_hdr> |
ac_header_preproc=yes |
|
EOF |
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
|
|
{ (eval echo configure:4559: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|
|
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
|
|
if test -z "$ac_err"; then |
|
|
rm -rf conftest* |
|
|
eval "ac_cv_header_$ac_safe=yes" |
|
8701 |
else |
else |
8702 |
echo "$ac_err" >&5 |
echo "$as_me: failed program was:" >&5 |
8703 |
echo "configure: failed program was:" >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
8704 |
cat conftest.$ac_ext >&5 |
|
8705 |
rm -rf conftest* |
ac_header_preproc=no |
8706 |
eval "ac_cv_header_$ac_safe=no" |
fi |
8707 |
|
rm -f conftest.err conftest.$ac_ext |
8708 |
|
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
8709 |
|
echo "${ECHO_T}$ac_header_preproc" >&6 |
8710 |
|
|
8711 |
|
# So? What about this header? |
8712 |
|
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
8713 |
|
yes:no: ) |
8714 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
8715 |
|
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
8716 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
8717 |
|
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
8718 |
|
ac_header_preproc=yes |
8719 |
|
;; |
8720 |
|
no:yes:* ) |
8721 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
8722 |
|
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
8723 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
8724 |
|
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
8725 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
8726 |
|
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
8727 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
8728 |
|
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
8729 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
8730 |
|
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
8731 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
8732 |
|
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
8733 |
|
( |
8734 |
|
cat <<\_ASBOX |
8735 |
|
## ------------------------------------------ ## |
8736 |
|
## Report this to the AC_PACKAGE_NAME lists. ## |
8737 |
|
## ------------------------------------------ ## |
8738 |
|
_ASBOX |
8739 |
|
) | |
8740 |
|
sed "s/^/$as_me: WARNING: /" >&2 |
8741 |
|
;; |
8742 |
|
esac |
8743 |
|
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
8744 |
|
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
8745 |
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
8746 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
8747 |
|
else |
8748 |
|
eval "$as_ac_Header=\$ac_header_preproc" |
8749 |
fi |
fi |
8750 |
rm -f conftest* |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
8751 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
8752 |
|
|
8753 |
fi |
fi |
8754 |
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
8755 |
echo "$ac_t""yes" 1>&6 |
cat >>confdefs.h <<_ACEOF |
8756 |
ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
8757 |
cat >> confdefs.h <<EOF |
_ACEOF |
8758 |
#define $ac_tr_hdr 1 |
|
|
EOF |
|
|
|
|
|
else |
|
|
echo "$ac_t""no" 1>&6 |
|
8759 |
fi |
fi |
8760 |
|
|
8761 |
done |
done |
8762 |
|
|
8763 |
for ac_hdr in fcntl.h sys/file.h sys/time.h |
|
8764 |
|
|
8765 |
|
|
8766 |
|
for ac_header in fcntl.h sys/file.h sys/time.h |
8767 |
do |
do |
8768 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
8769 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
8770 |
echo "configure:4589: checking for $ac_hdr" >&5 |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
8771 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
8772 |
echo $ac_n "(cached) $ac_c" 1>&6 |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
8773 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
8774 |
|
fi |
8775 |
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
8776 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
8777 |
|
else |
8778 |
|
# Is the header compilable? |
8779 |
|
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
8780 |
|
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
8781 |
|
cat >conftest.$ac_ext <<_ACEOF |
8782 |
|
/* confdefs.h. */ |
8783 |
|
_ACEOF |
8784 |
|
cat confdefs.h >>conftest.$ac_ext |
8785 |
|
cat >>conftest.$ac_ext <<_ACEOF |
8786 |
|
/* end confdefs.h. */ |
8787 |
|
$ac_includes_default |
8788 |
|
#include <$ac_header> |
8789 |
|
_ACEOF |
8790 |
|
rm -f conftest.$ac_objext |
8791 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
8792 |
|
(eval $ac_compile) 2>conftest.er1 |
8793 |
|
ac_status=$? |
8794 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
8795 |
|
rm -f conftest.er1 |
8796 |
|
cat conftest.err >&5 |
8797 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8798 |
|
(exit $ac_status); } && |
8799 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
8800 |
|
|| test ! -s conftest.err' |
8801 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8802 |
|
(eval $ac_try) 2>&5 |
8803 |
|
ac_status=$? |
8804 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8805 |
|
(exit $ac_status); }; } && |
8806 |
|
{ ac_try='test -s conftest.$ac_objext' |
8807 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8808 |
|
(eval $ac_try) 2>&5 |
8809 |
|
ac_status=$? |
8810 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8811 |
|
(exit $ac_status); }; }; then |
8812 |
|
ac_header_compiler=yes |
8813 |
|
else |
8814 |
|
echo "$as_me: failed program was:" >&5 |
8815 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
8816 |
|
|
8817 |
|
ac_header_compiler=no |
8818 |
|
fi |
8819 |
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
8820 |
|
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
8821 |
|
echo "${ECHO_T}$ac_header_compiler" >&6 |
8822 |
|
|
8823 |
|
# Is the header present? |
8824 |
|
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
8825 |
|
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
8826 |
|
cat >conftest.$ac_ext <<_ACEOF |
8827 |
|
/* confdefs.h. */ |
8828 |
|
_ACEOF |
8829 |
|
cat confdefs.h >>conftest.$ac_ext |
8830 |
|
cat >>conftest.$ac_ext <<_ACEOF |
8831 |
|
/* end confdefs.h. */ |
8832 |
|
#include <$ac_header> |
8833 |
|
_ACEOF |
8834 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
8835 |
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
8836 |
|
ac_status=$? |
8837 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
8838 |
|
rm -f conftest.er1 |
8839 |
|
cat conftest.err >&5 |
8840 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8841 |
|
(exit $ac_status); } >/dev/null; then |
8842 |
|
if test -s conftest.err; then |
8843 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
8844 |
|
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
8845 |
|
else |
8846 |
|
ac_cpp_err= |
8847 |
|
fi |
8848 |
else |
else |
8849 |
cat > conftest.$ac_ext <<EOF |
ac_cpp_err=yes |
8850 |
#line 4594 "configure" |
fi |
8851 |
#include "confdefs.h" |
if test -z "$ac_cpp_err"; then |
8852 |
#include <$ac_hdr> |
ac_header_preproc=yes |
|
EOF |
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
|
|
{ (eval echo configure:4599: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|
|
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
|
|
if test -z "$ac_err"; then |
|
|
rm -rf conftest* |
|
|
eval "ac_cv_header_$ac_safe=yes" |
|
8853 |
else |
else |
8854 |
echo "$ac_err" >&5 |
echo "$as_me: failed program was:" >&5 |
8855 |
echo "configure: failed program was:" >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
8856 |
cat conftest.$ac_ext >&5 |
|
8857 |
rm -rf conftest* |
ac_header_preproc=no |
8858 |
eval "ac_cv_header_$ac_safe=no" |
fi |
8859 |
|
rm -f conftest.err conftest.$ac_ext |
8860 |
|
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
8861 |
|
echo "${ECHO_T}$ac_header_preproc" >&6 |
8862 |
|
|
8863 |
|
# So? What about this header? |
8864 |
|
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
8865 |
|
yes:no: ) |
8866 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
8867 |
|
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
8868 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
8869 |
|
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
8870 |
|
ac_header_preproc=yes |
8871 |
|
;; |
8872 |
|
no:yes:* ) |
8873 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
8874 |
|
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
8875 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
8876 |
|
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
8877 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
8878 |
|
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
8879 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
8880 |
|
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
8881 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
8882 |
|
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
8883 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
8884 |
|
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
8885 |
|
( |
8886 |
|
cat <<\_ASBOX |
8887 |
|
## ------------------------------------------ ## |
8888 |
|
## Report this to the AC_PACKAGE_NAME lists. ## |
8889 |
|
## ------------------------------------------ ## |
8890 |
|
_ASBOX |
8891 |
|
) | |
8892 |
|
sed "s/^/$as_me: WARNING: /" >&2 |
8893 |
|
;; |
8894 |
|
esac |
8895 |
|
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
8896 |
|
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
8897 |
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
8898 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
8899 |
|
else |
8900 |
|
eval "$as_ac_Header=\$ac_header_preproc" |
8901 |
fi |
fi |
8902 |
rm -f conftest* |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
8903 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
8904 |
|
|
8905 |
fi |
fi |
8906 |
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
8907 |
echo "$ac_t""yes" 1>&6 |
cat >>confdefs.h <<_ACEOF |
8908 |
ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
8909 |
cat >> confdefs.h <<EOF |
_ACEOF |
8910 |
#define $ac_tr_hdr 1 |
|
|
EOF |
|
|
|
|
|
else |
|
|
echo "$ac_t""no" 1>&6 |
|
8911 |
fi |
fi |
8912 |
|
|
8913 |
done |
done |
8914 |
|
|
8915 |
echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5 |
8916 |
echo "configure:4626: checking whether time.h and sys/time.h may both be included" >&5 |
echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6 |
8917 |
if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then |
if test "${ac_cv_header_time+set}" = set; then |
8918 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
8919 |
else |
else |
8920 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
8921 |
#line 4631 "configure" |
/* confdefs.h. */ |
8922 |
#include "confdefs.h" |
_ACEOF |
8923 |
|
cat confdefs.h >>conftest.$ac_ext |
8924 |
|
cat >>conftest.$ac_ext <<_ACEOF |
8925 |
|
/* end confdefs.h. */ |
8926 |
#include <sys/types.h> |
#include <sys/types.h> |
8927 |
#include <sys/time.h> |
#include <sys/time.h> |
8928 |
#include <time.h> |
#include <time.h> |
8929 |
int main() { |
|
8930 |
struct tm *tp; |
int |
8931 |
; return 0; } |
main () |
8932 |
EOF |
{ |
8933 |
if { (eval echo configure:4640: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if ((struct tm *) 0) |
8934 |
rm -rf conftest* |
return 0; |
8935 |
|
; |
8936 |
|
return 0; |
8937 |
|
} |
8938 |
|
_ACEOF |
8939 |
|
rm -f conftest.$ac_objext |
8940 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
8941 |
|
(eval $ac_compile) 2>conftest.er1 |
8942 |
|
ac_status=$? |
8943 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
8944 |
|
rm -f conftest.er1 |
8945 |
|
cat conftest.err >&5 |
8946 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8947 |
|
(exit $ac_status); } && |
8948 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
8949 |
|
|| test ! -s conftest.err' |
8950 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8951 |
|
(eval $ac_try) 2>&5 |
8952 |
|
ac_status=$? |
8953 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8954 |
|
(exit $ac_status); }; } && |
8955 |
|
{ ac_try='test -s conftest.$ac_objext' |
8956 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8957 |
|
(eval $ac_try) 2>&5 |
8958 |
|
ac_status=$? |
8959 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8960 |
|
(exit $ac_status); }; }; then |
8961 |
ac_cv_header_time=yes |
ac_cv_header_time=yes |
8962 |
else |
else |
8963 |
echo "configure: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
8964 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
8965 |
rm -rf conftest* |
|
8966 |
ac_cv_header_time=no |
ac_cv_header_time=no |
8967 |
fi |
fi |
8968 |
rm -f conftest* |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
8969 |
fi |
fi |
8970 |
|
echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 |
8971 |
echo "$ac_t""$ac_cv_header_time" 1>&6 |
echo "${ECHO_T}$ac_cv_header_time" >&6 |
8972 |
if test $ac_cv_header_time = yes; then |
if test $ac_cv_header_time = yes; then |
8973 |
cat >> confdefs.h <<\EOF |
|
8974 |
|
cat >>confdefs.h <<\_ACEOF |
8975 |
#define TIME_WITH_SYS_TIME 1 |
#define TIME_WITH_SYS_TIME 1 |
8976 |
EOF |
_ACEOF |
8977 |
|
|
8978 |
fi |
fi |
8979 |
|
|
8980 |
|
|
8981 |
|
|
8982 |
|
|
8983 |
|
|
8984 |
|
|
8985 |
ac_header_dirent=no |
ac_header_dirent=no |
8986 |
for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h |
for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do |
8987 |
do |
as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` |
8988 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5 |
8989 |
echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6 |
echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6 |
8990 |
echo "configure:4665: checking for $ac_hdr that defines DIR" >&5 |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
8991 |
if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
8992 |
echo $ac_n "(cached) $ac_c" 1>&6 |
else |
8993 |
else |
cat >conftest.$ac_ext <<_ACEOF |
8994 |
cat > conftest.$ac_ext <<EOF |
/* confdefs.h. */ |
8995 |
#line 4670 "configure" |
_ACEOF |
8996 |
#include "confdefs.h" |
cat confdefs.h >>conftest.$ac_ext |
8997 |
|
cat >>conftest.$ac_ext <<_ACEOF |
8998 |
|
/* end confdefs.h. */ |
8999 |
#include <sys/types.h> |
#include <sys/types.h> |
9000 |
#include <$ac_hdr> |
#include <$ac_hdr> |
9001 |
int main() { |
|
9002 |
DIR *dirp = 0; |
int |
9003 |
; return 0; } |
main () |
9004 |
EOF |
{ |
9005 |
if { (eval echo configure:4678: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if ((DIR *) 0) |
9006 |
rm -rf conftest* |
return 0; |
9007 |
eval "ac_cv_header_dirent_$ac_safe=yes" |
; |
9008 |
else |
return 0; |
9009 |
echo "configure: failed program was:" >&5 |
} |
9010 |
cat conftest.$ac_ext >&5 |
_ACEOF |
9011 |
rm -rf conftest* |
rm -f conftest.$ac_objext |
9012 |
eval "ac_cv_header_dirent_$ac_safe=no" |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
9013 |
fi |
(eval $ac_compile) 2>conftest.er1 |
9014 |
rm -f conftest* |
ac_status=$? |
9015 |
fi |
grep -v '^ *+' conftest.er1 >conftest.err |
9016 |
if eval "test \"`echo '$ac_cv_header_dirent_'$ac_safe`\" = yes"; then |
rm -f conftest.er1 |
9017 |
echo "$ac_t""yes" 1>&6 |
cat conftest.err >&5 |
9018 |
ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9019 |
cat >> confdefs.h <<EOF |
(exit $ac_status); } && |
9020 |
#define $ac_tr_hdr 1 |
{ ac_try='test -z "$ac_c_werror_flag" |
9021 |
EOF |
|| test ! -s conftest.err' |
9022 |
ac_header_dirent=$ac_hdr; break |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9023 |
else |
(eval $ac_try) 2>&5 |
9024 |
echo "$ac_t""no" 1>&6 |
ac_status=$? |
9025 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9026 |
|
(exit $ac_status); }; } && |
9027 |
|
{ ac_try='test -s conftest.$ac_objext' |
9028 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9029 |
|
(eval $ac_try) 2>&5 |
9030 |
|
ac_status=$? |
9031 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9032 |
|
(exit $ac_status); }; }; then |
9033 |
|
eval "$as_ac_Header=yes" |
9034 |
|
else |
9035 |
|
echo "$as_me: failed program was:" >&5 |
9036 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
9037 |
|
|
9038 |
|
eval "$as_ac_Header=no" |
9039 |
|
fi |
9040 |
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
9041 |
|
fi |
9042 |
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
9043 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
9044 |
|
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
9045 |
|
cat >>confdefs.h <<_ACEOF |
9046 |
|
#define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1 |
9047 |
|
_ACEOF |
9048 |
|
|
9049 |
|
ac_header_dirent=$ac_hdr; break |
9050 |
fi |
fi |
9051 |
|
|
9052 |
done |
done |
9053 |
# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. |
# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. |
9054 |
if test $ac_header_dirent = dirent.h; then |
if test $ac_header_dirent = dirent.h; then |
9055 |
echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for library containing opendir" >&5 |
9056 |
echo "configure:4703: checking for opendir in -ldir" >&5 |
echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6 |
9057 |
ac_lib_var=`echo dir'_'opendir | sed 'y%./+-%__p_%'` |
if test "${ac_cv_search_opendir+set}" = set; then |
9058 |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
9059 |
echo $ac_n "(cached) $ac_c" 1>&6 |
else |
9060 |
else |
ac_func_search_save_LIBS=$LIBS |
9061 |
ac_save_LIBS="$LIBS" |
ac_cv_search_opendir=no |
9062 |
LIBS="-ldir $LIBS" |
cat >conftest.$ac_ext <<_ACEOF |
9063 |
cat > conftest.$ac_ext <<EOF |
/* confdefs.h. */ |
9064 |
#line 4711 "configure" |
_ACEOF |
9065 |
#include "confdefs.h" |
cat confdefs.h >>conftest.$ac_ext |
9066 |
|
cat >>conftest.$ac_ext <<_ACEOF |
9067 |
|
/* end confdefs.h. */ |
9068 |
|
|
9069 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
9070 |
|
#ifdef __cplusplus |
9071 |
|
extern "C" |
9072 |
|
#endif |
9073 |
/* We use char because int might match the return type of a gcc2 |
/* We use char because int might match the return type of a gcc2 |
9074 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
9075 |
char opendir(); |
char opendir (); |
9076 |
|
int |
9077 |
|
main () |
9078 |
|
{ |
9079 |
|
opendir (); |
9080 |
|
; |
9081 |
|
return 0; |
9082 |
|
} |
9083 |
|
_ACEOF |
9084 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
9085 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
9086 |
|
(eval $ac_link) 2>conftest.er1 |
9087 |
|
ac_status=$? |
9088 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
9089 |
|
rm -f conftest.er1 |
9090 |
|
cat conftest.err >&5 |
9091 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9092 |
|
(exit $ac_status); } && |
9093 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
9094 |
|
|| test ! -s conftest.err' |
9095 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9096 |
|
(eval $ac_try) 2>&5 |
9097 |
|
ac_status=$? |
9098 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9099 |
|
(exit $ac_status); }; } && |
9100 |
|
{ ac_try='test -s conftest$ac_exeext' |
9101 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9102 |
|
(eval $ac_try) 2>&5 |
9103 |
|
ac_status=$? |
9104 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9105 |
|
(exit $ac_status); }; }; then |
9106 |
|
ac_cv_search_opendir="none required" |
9107 |
|
else |
9108 |
|
echo "$as_me: failed program was:" >&5 |
9109 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
9110 |
|
|
9111 |
|
fi |
9112 |
|
rm -f conftest.err conftest.$ac_objext \ |
9113 |
|
conftest$ac_exeext conftest.$ac_ext |
9114 |
|
if test "$ac_cv_search_opendir" = no; then |
9115 |
|
for ac_lib in dir; do |
9116 |
|
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
9117 |
|
cat >conftest.$ac_ext <<_ACEOF |
9118 |
|
/* confdefs.h. */ |
9119 |
|
_ACEOF |
9120 |
|
cat confdefs.h >>conftest.$ac_ext |
9121 |
|
cat >>conftest.$ac_ext <<_ACEOF |
9122 |
|
/* end confdefs.h. */ |
9123 |
|
|
9124 |
int main() { |
/* Override any gcc2 internal prototype to avoid an error. */ |
9125 |
opendir() |
#ifdef __cplusplus |
9126 |
; return 0; } |
extern "C" |
9127 |
EOF |
#endif |
9128 |
if { (eval echo configure:4722: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
/* We use char because int might match the return type of a gcc2 |
9129 |
rm -rf conftest* |
builtin and then its argument prototype would still apply. */ |
9130 |
eval "ac_cv_lib_$ac_lib_var=yes" |
char opendir (); |
9131 |
|
int |
9132 |
|
main () |
9133 |
|
{ |
9134 |
|
opendir (); |
9135 |
|
; |
9136 |
|
return 0; |
9137 |
|
} |
9138 |
|
_ACEOF |
9139 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
9140 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
9141 |
|
(eval $ac_link) 2>conftest.er1 |
9142 |
|
ac_status=$? |
9143 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
9144 |
|
rm -f conftest.er1 |
9145 |
|
cat conftest.err >&5 |
9146 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9147 |
|
(exit $ac_status); } && |
9148 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
9149 |
|
|| test ! -s conftest.err' |
9150 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9151 |
|
(eval $ac_try) 2>&5 |
9152 |
|
ac_status=$? |
9153 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9154 |
|
(exit $ac_status); }; } && |
9155 |
|
{ ac_try='test -s conftest$ac_exeext' |
9156 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9157 |
|
(eval $ac_try) 2>&5 |
9158 |
|
ac_status=$? |
9159 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9160 |
|
(exit $ac_status); }; }; then |
9161 |
|
ac_cv_search_opendir="-l$ac_lib" |
9162 |
|
break |
9163 |
else |
else |
9164 |
echo "configure: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
9165 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
rm -rf conftest* |
|
|
eval "ac_cv_lib_$ac_lib_var=no" |
|
|
fi |
|
|
rm -f conftest* |
|
|
LIBS="$ac_save_LIBS" |
|
9166 |
|
|
9167 |
fi |
fi |
9168 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
rm -f conftest.err conftest.$ac_objext \ |
9169 |
echo "$ac_t""yes" 1>&6 |
conftest$ac_exeext conftest.$ac_ext |
9170 |
LIBS="$LIBS -ldir" |
done |
9171 |
else |
fi |
9172 |
echo "$ac_t""no" 1>&6 |
LIBS=$ac_func_search_save_LIBS |
9173 |
|
fi |
9174 |
|
echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 |
9175 |
|
echo "${ECHO_T}$ac_cv_search_opendir" >&6 |
9176 |
|
if test "$ac_cv_search_opendir" != no; then |
9177 |
|
test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS" |
9178 |
|
|
9179 |
fi |
fi |
9180 |
|
|
9181 |
else |
else |
9182 |
echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for library containing opendir" >&5 |
9183 |
echo "configure:4744: checking for opendir in -lx" >&5 |
echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6 |
9184 |
ac_lib_var=`echo x'_'opendir | sed 'y%./+-%__p_%'` |
if test "${ac_cv_search_opendir+set}" = set; then |
9185 |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
9186 |
else |
else |
9187 |
ac_save_LIBS="$LIBS" |
ac_func_search_save_LIBS=$LIBS |
9188 |
LIBS="-lx $LIBS" |
ac_cv_search_opendir=no |
9189 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
9190 |
#line 4752 "configure" |
/* confdefs.h. */ |
9191 |
#include "confdefs.h" |
_ACEOF |
9192 |
|
cat confdefs.h >>conftest.$ac_ext |
9193 |
|
cat >>conftest.$ac_ext <<_ACEOF |
9194 |
|
/* end confdefs.h. */ |
9195 |
|
|
9196 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
9197 |
|
#ifdef __cplusplus |
9198 |
|
extern "C" |
9199 |
|
#endif |
9200 |
/* We use char because int might match the return type of a gcc2 |
/* We use char because int might match the return type of a gcc2 |
9201 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
9202 |
char opendir(); |
char opendir (); |
9203 |
|
int |
9204 |
|
main () |
9205 |
|
{ |
9206 |
|
opendir (); |
9207 |
|
; |
9208 |
|
return 0; |
9209 |
|
} |
9210 |
|
_ACEOF |
9211 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
9212 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
9213 |
|
(eval $ac_link) 2>conftest.er1 |
9214 |
|
ac_status=$? |
9215 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
9216 |
|
rm -f conftest.er1 |
9217 |
|
cat conftest.err >&5 |
9218 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9219 |
|
(exit $ac_status); } && |
9220 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
9221 |
|
|| test ! -s conftest.err' |
9222 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9223 |
|
(eval $ac_try) 2>&5 |
9224 |
|
ac_status=$? |
9225 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9226 |
|
(exit $ac_status); }; } && |
9227 |
|
{ ac_try='test -s conftest$ac_exeext' |
9228 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9229 |
|
(eval $ac_try) 2>&5 |
9230 |
|
ac_status=$? |
9231 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9232 |
|
(exit $ac_status); }; }; then |
9233 |
|
ac_cv_search_opendir="none required" |
9234 |
|
else |
9235 |
|
echo "$as_me: failed program was:" >&5 |
9236 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
9237 |
|
|
9238 |
|
fi |
9239 |
|
rm -f conftest.err conftest.$ac_objext \ |
9240 |
|
conftest$ac_exeext conftest.$ac_ext |
9241 |
|
if test "$ac_cv_search_opendir" = no; then |
9242 |
|
for ac_lib in x; do |
9243 |
|
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
9244 |
|
cat >conftest.$ac_ext <<_ACEOF |
9245 |
|
/* confdefs.h. */ |
9246 |
|
_ACEOF |
9247 |
|
cat confdefs.h >>conftest.$ac_ext |
9248 |
|
cat >>conftest.$ac_ext <<_ACEOF |
9249 |
|
/* end confdefs.h. */ |
9250 |
|
|
9251 |
int main() { |
/* Override any gcc2 internal prototype to avoid an error. */ |
9252 |
opendir() |
#ifdef __cplusplus |
9253 |
; return 0; } |
extern "C" |
9254 |
EOF |
#endif |
9255 |
if { (eval echo configure:4763: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
/* We use char because int might match the return type of a gcc2 |
9256 |
rm -rf conftest* |
builtin and then its argument prototype would still apply. */ |
9257 |
eval "ac_cv_lib_$ac_lib_var=yes" |
char opendir (); |
9258 |
|
int |
9259 |
|
main () |
9260 |
|
{ |
9261 |
|
opendir (); |
9262 |
|
; |
9263 |
|
return 0; |
9264 |
|
} |
9265 |
|
_ACEOF |
9266 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
9267 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
9268 |
|
(eval $ac_link) 2>conftest.er1 |
9269 |
|
ac_status=$? |
9270 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
9271 |
|
rm -f conftest.er1 |
9272 |
|
cat conftest.err >&5 |
9273 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9274 |
|
(exit $ac_status); } && |
9275 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
9276 |
|
|| test ! -s conftest.err' |
9277 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9278 |
|
(eval $ac_try) 2>&5 |
9279 |
|
ac_status=$? |
9280 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9281 |
|
(exit $ac_status); }; } && |
9282 |
|
{ ac_try='test -s conftest$ac_exeext' |
9283 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9284 |
|
(eval $ac_try) 2>&5 |
9285 |
|
ac_status=$? |
9286 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9287 |
|
(exit $ac_status); }; }; then |
9288 |
|
ac_cv_search_opendir="-l$ac_lib" |
9289 |
|
break |
9290 |
else |
else |
9291 |
echo "configure: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
9292 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
rm -rf conftest* |
|
|
eval "ac_cv_lib_$ac_lib_var=no" |
|
|
fi |
|
|
rm -f conftest* |
|
|
LIBS="$ac_save_LIBS" |
|
9293 |
|
|
9294 |
fi |
fi |
9295 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
rm -f conftest.err conftest.$ac_objext \ |
9296 |
echo "$ac_t""yes" 1>&6 |
conftest$ac_exeext conftest.$ac_ext |
9297 |
LIBS="$LIBS -lx" |
done |
9298 |
else |
fi |
9299 |
echo "$ac_t""no" 1>&6 |
LIBS=$ac_func_search_save_LIBS |
9300 |
fi |
fi |
9301 |
|
echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 |
9302 |
|
echo "${ECHO_T}$ac_cv_search_opendir" >&6 |
9303 |
|
if test "$ac_cv_search_opendir" != no; then |
9304 |
|
test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS" |
9305 |
|
|
9306 |
fi |
fi |
9307 |
|
|
9308 |
|
fi |
9309 |
|
|
9310 |
|
|
9311 |
|
|
9312 |
|
|
9313 |
|
|
9314 |
|
|
9315 |
|
|
9316 |
|
|
9317 |
for ac_func in fcntl getpagesize setitimer sysconf fdopen getuid getgid |
for ac_func in fcntl getpagesize setitimer sysconf fdopen getuid getgid |
9318 |
do |
do |
9319 |
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
9320 |
echo "configure:4788: checking for $ac_func" >&5 |
echo "$as_me:$LINENO: checking for $ac_func" >&5 |
9321 |
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
9322 |
echo $ac_n "(cached) $ac_c" 1>&6 |
if eval "test \"\${$as_ac_var+set}\" = set"; then |
9323 |
else |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
9324 |
cat > conftest.$ac_ext <<EOF |
else |
9325 |
#line 4793 "configure" |
cat >conftest.$ac_ext <<_ACEOF |
9326 |
#include "confdefs.h" |
/* confdefs.h. */ |
9327 |
|
_ACEOF |
9328 |
|
cat confdefs.h >>conftest.$ac_ext |
9329 |
|
cat >>conftest.$ac_ext <<_ACEOF |
9330 |
|
/* end confdefs.h. */ |
9331 |
|
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
9332 |
|
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
9333 |
|
#define $ac_func innocuous_$ac_func |
9334 |
|
|
9335 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
9336 |
which can conflict with char $ac_func(); below. */ |
which can conflict with char $ac_func (); below. |
9337 |
#include <assert.h> |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
9338 |
|
<limits.h> exists even on freestanding compilers. */ |
9339 |
|
|
9340 |
|
#ifdef __STDC__ |
9341 |
|
# include <limits.h> |
9342 |
|
#else |
9343 |
|
# include <assert.h> |
9344 |
|
#endif |
9345 |
|
|
9346 |
|
#undef $ac_func |
9347 |
|
|
9348 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
9349 |
|
#ifdef __cplusplus |
9350 |
|
extern "C" |
9351 |
|
{ |
9352 |
|
#endif |
9353 |
/* We use char because int might match the return type of a gcc2 |
/* We use char because int might match the return type of a gcc2 |
9354 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
9355 |
char $ac_func(); |
char $ac_func (); |
9356 |
|
/* The GNU C library defines this for functions which it implements |
9357 |
|
to always fail with ENOSYS. Some functions are actually named |
9358 |
|
something starting with __ and the normal name is an alias. */ |
9359 |
|
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
9360 |
|
choke me |
9361 |
|
#else |
9362 |
|
char (*f) () = $ac_func; |
9363 |
|
#endif |
9364 |
|
#ifdef __cplusplus |
9365 |
|
} |
9366 |
|
#endif |
9367 |
|
|
9368 |
|
int |
9369 |
|
main () |
9370 |
|
{ |
9371 |
|
return f != $ac_func; |
9372 |
|
; |
9373 |
|
return 0; |
9374 |
|
} |
9375 |
|
_ACEOF |
9376 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
9377 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
9378 |
|
(eval $ac_link) 2>conftest.er1 |
9379 |
|
ac_status=$? |
9380 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
9381 |
|
rm -f conftest.er1 |
9382 |
|
cat conftest.err >&5 |
9383 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9384 |
|
(exit $ac_status); } && |
9385 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
9386 |
|
|| test ! -s conftest.err' |
9387 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9388 |
|
(eval $ac_try) 2>&5 |
9389 |
|
ac_status=$? |
9390 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9391 |
|
(exit $ac_status); }; } && |
9392 |
|
{ ac_try='test -s conftest$ac_exeext' |
9393 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9394 |
|
(eval $ac_try) 2>&5 |
9395 |
|
ac_status=$? |
9396 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9397 |
|
(exit $ac_status); }; }; then |
9398 |
|
eval "$as_ac_var=yes" |
9399 |
|
else |
9400 |
|
echo "$as_me: failed program was:" >&5 |
9401 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
9402 |
|
|
9403 |
|
eval "$as_ac_var=no" |
9404 |
|
fi |
9405 |
|
rm -f conftest.err conftest.$ac_objext \ |
9406 |
|
conftest$ac_exeext conftest.$ac_ext |
9407 |
|
fi |
9408 |
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
9409 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
9410 |
|
if test `eval echo '${'$as_ac_var'}'` = yes; then |
9411 |
|
cat >>confdefs.h <<_ACEOF |
9412 |
|
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
9413 |
|
_ACEOF |
9414 |
|
|
9415 |
|
fi |
9416 |
|
done |
9417 |
|
|
|
int main() { |
|
9418 |
|
|
9419 |
|
for ac_func in strtoull |
9420 |
|
do |
9421 |
|
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
9422 |
|
echo "$as_me:$LINENO: checking for $ac_func" >&5 |
9423 |
|
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
9424 |
|
if eval "test \"\${$as_ac_var+set}\" = set"; then |
9425 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
9426 |
|
else |
9427 |
|
cat >conftest.$ac_ext <<_ACEOF |
9428 |
|
/* confdefs.h. */ |
9429 |
|
_ACEOF |
9430 |
|
cat confdefs.h >>conftest.$ac_ext |
9431 |
|
cat >>conftest.$ac_ext <<_ACEOF |
9432 |
|
/* end confdefs.h. */ |
9433 |
|
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
9434 |
|
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
9435 |
|
#define $ac_func innocuous_$ac_func |
9436 |
|
|
9437 |
|
/* System header to define __stub macros and hopefully few prototypes, |
9438 |
|
which can conflict with char $ac_func (); below. |
9439 |
|
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
9440 |
|
<limits.h> exists even on freestanding compilers. */ |
9441 |
|
|
9442 |
|
#ifdef __STDC__ |
9443 |
|
# include <limits.h> |
9444 |
|
#else |
9445 |
|
# include <assert.h> |
9446 |
|
#endif |
9447 |
|
|
9448 |
|
#undef $ac_func |
9449 |
|
|
9450 |
|
/* Override any gcc2 internal prototype to avoid an error. */ |
9451 |
|
#ifdef __cplusplus |
9452 |
|
extern "C" |
9453 |
|
{ |
9454 |
|
#endif |
9455 |
|
/* We use char because int might match the return type of a gcc2 |
9456 |
|
builtin and then its argument prototype would still apply. */ |
9457 |
|
char $ac_func (); |
9458 |
/* The GNU C library defines this for functions which it implements |
/* The GNU C library defines this for functions which it implements |
9459 |
to always fail with ENOSYS. Some functions are actually named |
to always fail with ENOSYS. Some functions are actually named |
9460 |
something starting with __ and the normal name is an alias. */ |
something starting with __ and the normal name is an alias. */ |
9461 |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
9462 |
choke me |
choke me |
9463 |
#else |
#else |
9464 |
$ac_func(); |
char (*f) () = $ac_func; |
9465 |
|
#endif |
9466 |
|
#ifdef __cplusplus |
9467 |
|
} |
9468 |
#endif |
#endif |
9469 |
|
|
9470 |
; return 0; } |
int |
9471 |
EOF |
main () |
9472 |
if { (eval echo configure:4816: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
{ |
9473 |
rm -rf conftest* |
return f != $ac_func; |
9474 |
eval "ac_cv_func_$ac_func=yes" |
; |
9475 |
else |
return 0; |
9476 |
echo "configure: failed program was:" >&5 |
} |
9477 |
cat conftest.$ac_ext >&5 |
_ACEOF |
9478 |
rm -rf conftest* |
rm -f conftest.$ac_objext conftest$ac_exeext |
9479 |
eval "ac_cv_func_$ac_func=no" |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
9480 |
fi |
(eval $ac_link) 2>conftest.er1 |
9481 |
rm -f conftest* |
ac_status=$? |
9482 |
fi |
grep -v '^ *+' conftest.er1 >conftest.err |
9483 |
|
rm -f conftest.er1 |
9484 |
|
cat conftest.err >&5 |
9485 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9486 |
|
(exit $ac_status); } && |
9487 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
9488 |
|
|| test ! -s conftest.err' |
9489 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9490 |
|
(eval $ac_try) 2>&5 |
9491 |
|
ac_status=$? |
9492 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9493 |
|
(exit $ac_status); }; } && |
9494 |
|
{ ac_try='test -s conftest$ac_exeext' |
9495 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9496 |
|
(eval $ac_try) 2>&5 |
9497 |
|
ac_status=$? |
9498 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9499 |
|
(exit $ac_status); }; }; then |
9500 |
|
eval "$as_ac_var=yes" |
9501 |
|
else |
9502 |
|
echo "$as_me: failed program was:" >&5 |
9503 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
9504 |
|
|
9505 |
|
eval "$as_ac_var=no" |
9506 |
|
fi |
9507 |
|
rm -f conftest.err conftest.$ac_objext \ |
9508 |
|
conftest$ac_exeext conftest.$ac_ext |
9509 |
|
fi |
9510 |
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
9511 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
9512 |
|
if test `eval echo '${'$as_ac_var'}'` = yes; then |
9513 |
|
cat >>confdefs.h <<_ACEOF |
9514 |
|
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
9515 |
|
_ACEOF |
9516 |
|
|
|
if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then |
|
|
echo "$ac_t""yes" 1>&6 |
|
|
ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` |
|
|
cat >> confdefs.h <<EOF |
|
|
#define $ac_tr_func 1 |
|
|
EOF |
|
|
|
|
|
else |
|
|
echo "$ac_t""no" 1>&6 |
|
9517 |
fi |
fi |
9518 |
done |
done |
9519 |
|
|
9521 |
|
|
9522 |
case "${host}" in |
case "${host}" in |
9523 |
*-*-msdos* | *-*-go32* | *-*-mingw32* | *-*-cygwin* | *-*-windows*) |
*-*-msdos* | *-*-go32* | *-*-mingw32* | *-*-cygwin* | *-*-windows*) |
9524 |
cat >> confdefs.h <<\EOF |
|
9525 |
|
cat >>confdefs.h <<\_ACEOF |
9526 |
#define USE_BINARY_FOPEN 1 |
#define USE_BINARY_FOPEN 1 |
9527 |
EOF |
_ACEOF |
9528 |
;; |
;; |
9529 |
esac |
esac |
9530 |
|
|
9531 |
echo $ac_n "checking whether strstr must be declared""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking whether strstr must be declared" >&5 |
9532 |
echo "configure:4851: checking whether strstr must be declared" >&5 |
echo $ECHO_N "checking whether strstr must be declared... $ECHO_C" >&6 |
9533 |
if eval "test \"`echo '$''{'bfd_cv_decl_needed_strstr'+set}'`\" = set"; then |
if test "${bfd_cv_decl_needed_strstr+set}" = set; then |
9534 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
9535 |
else |
else |
9536 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
9537 |
#line 4856 "configure" |
/* confdefs.h. */ |
9538 |
#include "confdefs.h" |
_ACEOF |
9539 |
|
cat confdefs.h >>conftest.$ac_ext |
9540 |
|
cat >>conftest.$ac_ext <<_ACEOF |
9541 |
|
/* end confdefs.h. */ |
9542 |
|
|
9543 |
#include <stdio.h> |
#include <stdio.h> |
9544 |
#ifdef HAVE_STRING_H |
#ifdef HAVE_STRING_H |
9554 |
#ifdef HAVE_UNISTD_H |
#ifdef HAVE_UNISTD_H |
9555 |
#include <unistd.h> |
#include <unistd.h> |
9556 |
#endif |
#endif |
9557 |
int main() { |
int |
9558 |
|
main () |
9559 |
|
{ |
9560 |
char *(*pfn) = (char *(*)) strstr |
char *(*pfn) = (char *(*)) strstr |
9561 |
; return 0; } |
; |
9562 |
EOF |
return 0; |
9563 |
if { (eval echo configure:4877: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
} |
9564 |
rm -rf conftest* |
_ACEOF |
9565 |
|
rm -f conftest.$ac_objext |
9566 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
9567 |
|
(eval $ac_compile) 2>conftest.er1 |
9568 |
|
ac_status=$? |
9569 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
9570 |
|
rm -f conftest.er1 |
9571 |
|
cat conftest.err >&5 |
9572 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9573 |
|
(exit $ac_status); } && |
9574 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
9575 |
|
|| test ! -s conftest.err' |
9576 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9577 |
|
(eval $ac_try) 2>&5 |
9578 |
|
ac_status=$? |
9579 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9580 |
|
(exit $ac_status); }; } && |
9581 |
|
{ ac_try='test -s conftest.$ac_objext' |
9582 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9583 |
|
(eval $ac_try) 2>&5 |
9584 |
|
ac_status=$? |
9585 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9586 |
|
(exit $ac_status); }; }; then |
9587 |
bfd_cv_decl_needed_strstr=no |
bfd_cv_decl_needed_strstr=no |
9588 |
else |
else |
9589 |
echo "configure: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
9590 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
9591 |
rm -rf conftest* |
|
9592 |
bfd_cv_decl_needed_strstr=yes |
bfd_cv_decl_needed_strstr=yes |
9593 |
fi |
fi |
9594 |
rm -f conftest* |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
9595 |
fi |
fi |
9596 |
|
|
9597 |
echo "$ac_t""$bfd_cv_decl_needed_strstr" 1>&6 |
echo "$as_me:$LINENO: result: $bfd_cv_decl_needed_strstr" >&5 |
9598 |
|
echo "${ECHO_T}$bfd_cv_decl_needed_strstr" >&6 |
9599 |
if test $bfd_cv_decl_needed_strstr = yes; then |
if test $bfd_cv_decl_needed_strstr = yes; then |
9600 |
cat >> confdefs.h <<\EOF |
|
9601 |
|
cat >>confdefs.h <<\_ACEOF |
9602 |
#define NEED_DECLARATION_STRSTR 1 |
#define NEED_DECLARATION_STRSTR 1 |
9603 |
EOF |
_ACEOF |
9604 |
|
|
9605 |
fi |
fi |
9606 |
|
|
9607 |
echo $ac_n "checking whether malloc must be declared""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking whether malloc must be declared" >&5 |
9608 |
echo "configure:4898: checking whether malloc must be declared" >&5 |
echo $ECHO_N "checking whether malloc must be declared... $ECHO_C" >&6 |
9609 |
if eval "test \"`echo '$''{'bfd_cv_decl_needed_malloc'+set}'`\" = set"; then |
if test "${bfd_cv_decl_needed_malloc+set}" = set; then |
9610 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
9611 |
else |
else |
9612 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
9613 |
#line 4903 "configure" |
/* confdefs.h. */ |
9614 |
#include "confdefs.h" |
_ACEOF |
9615 |
|
cat confdefs.h >>conftest.$ac_ext |
9616 |
|
cat >>conftest.$ac_ext <<_ACEOF |
9617 |
|
/* end confdefs.h. */ |
9618 |
|
|
9619 |
#include <stdio.h> |
#include <stdio.h> |
9620 |
#ifdef HAVE_STRING_H |
#ifdef HAVE_STRING_H |
9630 |
#ifdef HAVE_UNISTD_H |
#ifdef HAVE_UNISTD_H |
9631 |
#include <unistd.h> |
#include <unistd.h> |
9632 |
#endif |
#endif |
9633 |
int main() { |
int |
9634 |
|
main () |
9635 |
|
{ |
9636 |
char *(*pfn) = (char *(*)) malloc |
char *(*pfn) = (char *(*)) malloc |
9637 |
; return 0; } |
; |
9638 |
EOF |
return 0; |
9639 |
if { (eval echo configure:4924: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
} |
9640 |
rm -rf conftest* |
_ACEOF |
9641 |
|
rm -f conftest.$ac_objext |
9642 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
9643 |
|
(eval $ac_compile) 2>conftest.er1 |
9644 |
|
ac_status=$? |
9645 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
9646 |
|
rm -f conftest.er1 |
9647 |
|
cat conftest.err >&5 |
9648 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9649 |
|
(exit $ac_status); } && |
9650 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
9651 |
|
|| test ! -s conftest.err' |
9652 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9653 |
|
(eval $ac_try) 2>&5 |
9654 |
|
ac_status=$? |
9655 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9656 |
|
(exit $ac_status); }; } && |
9657 |
|
{ ac_try='test -s conftest.$ac_objext' |
9658 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9659 |
|
(eval $ac_try) 2>&5 |
9660 |
|
ac_status=$? |
9661 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9662 |
|
(exit $ac_status); }; }; then |
9663 |
bfd_cv_decl_needed_malloc=no |
bfd_cv_decl_needed_malloc=no |
9664 |
else |
else |
9665 |
echo "configure: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
9666 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
9667 |
rm -rf conftest* |
|
9668 |
bfd_cv_decl_needed_malloc=yes |
bfd_cv_decl_needed_malloc=yes |
9669 |
fi |
fi |
9670 |
rm -f conftest* |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
9671 |
fi |
fi |
9672 |
|
|
9673 |
echo "$ac_t""$bfd_cv_decl_needed_malloc" 1>&6 |
echo "$as_me:$LINENO: result: $bfd_cv_decl_needed_malloc" >&5 |
9674 |
|
echo "${ECHO_T}$bfd_cv_decl_needed_malloc" >&6 |
9675 |
if test $bfd_cv_decl_needed_malloc = yes; then |
if test $bfd_cv_decl_needed_malloc = yes; then |
9676 |
cat >> confdefs.h <<\EOF |
|
9677 |
|
cat >>confdefs.h <<\_ACEOF |
9678 |
#define NEED_DECLARATION_MALLOC 1 |
#define NEED_DECLARATION_MALLOC 1 |
9679 |
EOF |
_ACEOF |
9680 |
|
|
9681 |
fi |
fi |
9682 |
|
|
9683 |
echo $ac_n "checking whether realloc must be declared""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking whether realloc must be declared" >&5 |
9684 |
echo "configure:4945: checking whether realloc must be declared" >&5 |
echo $ECHO_N "checking whether realloc must be declared... $ECHO_C" >&6 |
9685 |
if eval "test \"`echo '$''{'bfd_cv_decl_needed_realloc'+set}'`\" = set"; then |
if test "${bfd_cv_decl_needed_realloc+set}" = set; then |
9686 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
9687 |
else |
else |
9688 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
9689 |
#line 4950 "configure" |
/* confdefs.h. */ |
9690 |
#include "confdefs.h" |
_ACEOF |
9691 |
|
cat confdefs.h >>conftest.$ac_ext |
9692 |
|
cat >>conftest.$ac_ext <<_ACEOF |
9693 |
|
/* end confdefs.h. */ |
9694 |
|
|
9695 |
#include <stdio.h> |
#include <stdio.h> |
9696 |
#ifdef HAVE_STRING_H |
#ifdef HAVE_STRING_H |
9706 |
#ifdef HAVE_UNISTD_H |
#ifdef HAVE_UNISTD_H |
9707 |
#include <unistd.h> |
#include <unistd.h> |
9708 |
#endif |
#endif |
9709 |
int main() { |
int |
9710 |
|
main () |
9711 |
|
{ |
9712 |
char *(*pfn) = (char *(*)) realloc |
char *(*pfn) = (char *(*)) realloc |
9713 |
; return 0; } |
; |
9714 |
EOF |
return 0; |
9715 |
if { (eval echo configure:4971: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
} |
9716 |
rm -rf conftest* |
_ACEOF |
9717 |
|
rm -f conftest.$ac_objext |
9718 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
9719 |
|
(eval $ac_compile) 2>conftest.er1 |
9720 |
|
ac_status=$? |
9721 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
9722 |
|
rm -f conftest.er1 |
9723 |
|
cat conftest.err >&5 |
9724 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9725 |
|
(exit $ac_status); } && |
9726 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
9727 |
|
|| test ! -s conftest.err' |
9728 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9729 |
|
(eval $ac_try) 2>&5 |
9730 |
|
ac_status=$? |
9731 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9732 |
|
(exit $ac_status); }; } && |
9733 |
|
{ ac_try='test -s conftest.$ac_objext' |
9734 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9735 |
|
(eval $ac_try) 2>&5 |
9736 |
|
ac_status=$? |
9737 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9738 |
|
(exit $ac_status); }; }; then |
9739 |
bfd_cv_decl_needed_realloc=no |
bfd_cv_decl_needed_realloc=no |
9740 |
else |
else |
9741 |
echo "configure: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
9742 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
9743 |
rm -rf conftest* |
|
9744 |
bfd_cv_decl_needed_realloc=yes |
bfd_cv_decl_needed_realloc=yes |
9745 |
fi |
fi |
9746 |
rm -f conftest* |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
9747 |
fi |
fi |
9748 |
|
|
9749 |
echo "$ac_t""$bfd_cv_decl_needed_realloc" 1>&6 |
echo "$as_me:$LINENO: result: $bfd_cv_decl_needed_realloc" >&5 |
9750 |
|
echo "${ECHO_T}$bfd_cv_decl_needed_realloc" >&6 |
9751 |
if test $bfd_cv_decl_needed_realloc = yes; then |
if test $bfd_cv_decl_needed_realloc = yes; then |
9752 |
cat >> confdefs.h <<\EOF |
|
9753 |
|
cat >>confdefs.h <<\_ACEOF |
9754 |
#define NEED_DECLARATION_REALLOC 1 |
#define NEED_DECLARATION_REALLOC 1 |
9755 |
EOF |
_ACEOF |
9756 |
|
|
9757 |
fi |
fi |
9758 |
|
|
9759 |
echo $ac_n "checking whether free must be declared""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking whether free must be declared" >&5 |
9760 |
echo "configure:4992: checking whether free must be declared" >&5 |
echo $ECHO_N "checking whether free must be declared... $ECHO_C" >&6 |
9761 |
if eval "test \"`echo '$''{'bfd_cv_decl_needed_free'+set}'`\" = set"; then |
if test "${bfd_cv_decl_needed_free+set}" = set; then |
9762 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
9763 |
else |
else |
9764 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
9765 |
#line 4997 "configure" |
/* confdefs.h. */ |
9766 |
#include "confdefs.h" |
_ACEOF |
9767 |
|
cat confdefs.h >>conftest.$ac_ext |
9768 |
|
cat >>conftest.$ac_ext <<_ACEOF |
9769 |
|
/* end confdefs.h. */ |
9770 |
|
|
9771 |
#include <stdio.h> |
#include <stdio.h> |
9772 |
#ifdef HAVE_STRING_H |
#ifdef HAVE_STRING_H |
9782 |
#ifdef HAVE_UNISTD_H |
#ifdef HAVE_UNISTD_H |
9783 |
#include <unistd.h> |
#include <unistd.h> |
9784 |
#endif |
#endif |
9785 |
int main() { |
int |
9786 |
|
main () |
9787 |
|
{ |
9788 |
char *(*pfn) = (char *(*)) free |
char *(*pfn) = (char *(*)) free |
9789 |
; return 0; } |
; |
9790 |
EOF |
return 0; |
9791 |
if { (eval echo configure:5018: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
} |
9792 |
rm -rf conftest* |
_ACEOF |
9793 |
|
rm -f conftest.$ac_objext |
9794 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
9795 |
|
(eval $ac_compile) 2>conftest.er1 |
9796 |
|
ac_status=$? |
9797 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
9798 |
|
rm -f conftest.er1 |
9799 |
|
cat conftest.err >&5 |
9800 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9801 |
|
(exit $ac_status); } && |
9802 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
9803 |
|
|| test ! -s conftest.err' |
9804 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9805 |
|
(eval $ac_try) 2>&5 |
9806 |
|
ac_status=$? |
9807 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9808 |
|
(exit $ac_status); }; } && |
9809 |
|
{ ac_try='test -s conftest.$ac_objext' |
9810 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9811 |
|
(eval $ac_try) 2>&5 |
9812 |
|
ac_status=$? |
9813 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9814 |
|
(exit $ac_status); }; }; then |
9815 |
bfd_cv_decl_needed_free=no |
bfd_cv_decl_needed_free=no |
9816 |
else |
else |
9817 |
echo "configure: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
9818 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
9819 |
rm -rf conftest* |
|
9820 |
bfd_cv_decl_needed_free=yes |
bfd_cv_decl_needed_free=yes |
9821 |
fi |
fi |
9822 |
rm -f conftest* |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
9823 |
fi |
fi |
9824 |
|
|
9825 |
echo "$ac_t""$bfd_cv_decl_needed_free" 1>&6 |
echo "$as_me:$LINENO: result: $bfd_cv_decl_needed_free" >&5 |
9826 |
|
echo "${ECHO_T}$bfd_cv_decl_needed_free" >&6 |
9827 |
if test $bfd_cv_decl_needed_free = yes; then |
if test $bfd_cv_decl_needed_free = yes; then |
9828 |
cat >> confdefs.h <<\EOF |
|
9829 |
|
cat >>confdefs.h <<\_ACEOF |
9830 |
#define NEED_DECLARATION_FREE 1 |
#define NEED_DECLARATION_FREE 1 |
9831 |
EOF |
_ACEOF |
9832 |
|
|
9833 |
fi |
fi |
9834 |
|
|
9835 |
echo $ac_n "checking whether getenv must be declared""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking whether getenv must be declared" >&5 |
9836 |
echo "configure:5039: checking whether getenv must be declared" >&5 |
echo $ECHO_N "checking whether getenv must be declared... $ECHO_C" >&6 |
9837 |
if eval "test \"`echo '$''{'bfd_cv_decl_needed_getenv'+set}'`\" = set"; then |
if test "${bfd_cv_decl_needed_getenv+set}" = set; then |
9838 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
9839 |
else |
else |
9840 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
9841 |
#line 5044 "configure" |
/* confdefs.h. */ |
9842 |
#include "confdefs.h" |
_ACEOF |
9843 |
|
cat confdefs.h >>conftest.$ac_ext |
9844 |
|
cat >>conftest.$ac_ext <<_ACEOF |
9845 |
|
/* end confdefs.h. */ |
9846 |
|
|
9847 |
#include <stdio.h> |
#include <stdio.h> |
9848 |
#ifdef HAVE_STRING_H |
#ifdef HAVE_STRING_H |
9858 |
#ifdef HAVE_UNISTD_H |
#ifdef HAVE_UNISTD_H |
9859 |
#include <unistd.h> |
#include <unistd.h> |
9860 |
#endif |
#endif |
9861 |
int main() { |
int |
9862 |
|
main () |
9863 |
|
{ |
9864 |
char *(*pfn) = (char *(*)) getenv |
char *(*pfn) = (char *(*)) getenv |
9865 |
; return 0; } |
; |
9866 |
EOF |
return 0; |
9867 |
if { (eval echo configure:5065: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
} |
9868 |
rm -rf conftest* |
_ACEOF |
9869 |
|
rm -f conftest.$ac_objext |
9870 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
9871 |
|
(eval $ac_compile) 2>conftest.er1 |
9872 |
|
ac_status=$? |
9873 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
9874 |
|
rm -f conftest.er1 |
9875 |
|
cat conftest.err >&5 |
9876 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9877 |
|
(exit $ac_status); } && |
9878 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
9879 |
|
|| test ! -s conftest.err' |
9880 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9881 |
|
(eval $ac_try) 2>&5 |
9882 |
|
ac_status=$? |
9883 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9884 |
|
(exit $ac_status); }; } && |
9885 |
|
{ ac_try='test -s conftest.$ac_objext' |
9886 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9887 |
|
(eval $ac_try) 2>&5 |
9888 |
|
ac_status=$? |
9889 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9890 |
|
(exit $ac_status); }; }; then |
9891 |
bfd_cv_decl_needed_getenv=no |
bfd_cv_decl_needed_getenv=no |
9892 |
else |
else |
9893 |
echo "configure: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
9894 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
9895 |
rm -rf conftest* |
|
9896 |
bfd_cv_decl_needed_getenv=yes |
bfd_cv_decl_needed_getenv=yes |
9897 |
fi |
fi |
9898 |
rm -f conftest* |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
9899 |
fi |
fi |
9900 |
|
|
9901 |
echo "$ac_t""$bfd_cv_decl_needed_getenv" 1>&6 |
echo "$as_me:$LINENO: result: $bfd_cv_decl_needed_getenv" >&5 |
9902 |
|
echo "${ECHO_T}$bfd_cv_decl_needed_getenv" >&6 |
9903 |
if test $bfd_cv_decl_needed_getenv = yes; then |
if test $bfd_cv_decl_needed_getenv = yes; then |
9904 |
cat >> confdefs.h <<\EOF |
|
9905 |
|
cat >>confdefs.h <<\_ACEOF |
9906 |
#define NEED_DECLARATION_GETENV 1 |
#define NEED_DECLARATION_GETENV 1 |
9907 |
EOF |
_ACEOF |
9908 |
|
|
9909 |
fi |
fi |
9910 |
|
|
9915 |
TRAD_HEADER= |
TRAD_HEADER= |
9916 |
if test "${target}" = "${host}"; then |
if test "${target}" = "${host}"; then |
9917 |
case "${host}" in |
case "${host}" in |
9918 |
alpha*-*-freebsd*) |
alpha*-*-freebsd* | alpha*-*-kfreebsd*-gnu) |
9919 |
COREFILE='' |
COREFILE='' |
9920 |
;; |
;; |
9921 |
alpha*-*-linux-gnu*) |
alpha*-*-linux-gnu*) |
9926 |
COREFILE=netbsd-core.lo |
COREFILE=netbsd-core.lo |
9927 |
;; |
;; |
9928 |
alpha*-*-*) COREFILE=osf-core.lo ;; |
alpha*-*-*) COREFILE=osf-core.lo ;; |
9929 |
arm-*-freebsd*) COREFILE='' ;; |
arm-*-freebsd* | arm-*-kfreebsd*-gnu) |
9930 |
|
COREFILE='' ;; |
9931 |
arm-*-netbsd*) COREFILE=netbsd-core.lo ;; |
arm-*-netbsd*) COREFILE=netbsd-core.lo ;; |
9932 |
arm-*-riscix) COREFILE=trad-core.lo ;; |
arm-*-riscix) COREFILE=trad-core.lo ;; |
9933 |
hppa*-*-hpux*) COREFILE=hpux-core.lo ;; |
hppa*-*-hpux*) COREFILE=hpux-core.lo ;; |
9935 |
hppa*-*-mpeix*) COREFILE=hpux-core.lo ;; |
hppa*-*-mpeix*) COREFILE=hpux-core.lo ;; |
9936 |
hppa*-*-bsd*) COREFILE="hpux-core.lo hppabsd-core.lo" |
hppa*-*-bsd*) COREFILE="hpux-core.lo hppabsd-core.lo" |
9937 |
COREFLAG="-DHPUX_CORE -DHPPABSD_CORE" ;; |
COREFLAG="-DHPUX_CORE -DHPPABSD_CORE" ;; |
9938 |
|
hppa*-*-netbsd* | hppa*-*-openbsd*) |
9939 |
|
COREFILE=netbsd-core.lo |
9940 |
|
;; |
9941 |
|
|
9942 |
i370-*-*) |
i370-*-*) |
9943 |
COREFILE=trad-core.lo |
COREFILE=trad-core.lo |
9944 |
TRAD_HEADER='"hosts/i370linux.h"' |
TRAD_HEADER='"hosts/i370linux.h"' |
9945 |
;; |
;; |
9946 |
|
|
9947 |
i[3456]86-sequent-bsd*) |
i[3-7]86-sequent-bsd*) |
9948 |
COREFILE=trad-core.lo |
COREFILE=trad-core.lo |
9949 |
TRAD_HEADER='"hosts/symmetry.h"' |
TRAD_HEADER='"hosts/symmetry.h"' |
9950 |
;; |
;; |
9951 |
i[3456]86-sequent-sysv4*) ;; |
i[3-7]86-sequent-sysv4*) ;; |
9952 |
i[3456]86-sequent-sysv*) |
i[3-7]86-sequent-sysv*) |
9953 |
COREFILE=trad-core.lo |
COREFILE=trad-core.lo |
9954 |
TRAD_HEADER='"hosts/symmetry.h"' |
TRAD_HEADER='"hosts/symmetry.h"' |
9955 |
;; |
;; |
9956 |
i[3456]86-*-bsdi) |
i[3-7]86-*-bsdi) |
9957 |
COREFILE= |
COREFILE= |
9958 |
;; |
;; |
9959 |
i[3456]86-*-bsd* | i[34567]86-*-freebsd[123] | i[34567]86-*-freebsd[123]\.* | i[34567]86-*-freebsd4\.[01234]* | i[34567]86-*-freebsd*aout*) |
i[3-7]86-*-bsd* | i[3-7]86-*-freebsd[123] | i[3-7]86-*-freebsd[123]\.* | i[3-7]86-*-freebsd4\.[01234] | i[3-7]86-*-freebsd4\.[01234]\.* | i[3-7]86-*-freebsd*aout*) |
9960 |
COREFILE=trad-core.lo |
COREFILE=trad-core.lo |
9961 |
TRAD_HEADER='"hosts/i386bsd.h"' |
TRAD_HEADER='"hosts/i386bsd.h"' |
9962 |
;; |
;; |
9963 |
i[3456]86-*-freebsd*) |
i[3-7]86-*-freebsd* | i[3-7]86-*-kfreebsd*-gnu) |
9964 |
COREFILE='' |
COREFILE='' |
9965 |
TRAD_HEADER='"hosts/i386bsd.h"' |
TRAD_HEADER='"hosts/i386bsd.h"' |
9966 |
;; |
;; |
9967 |
i[3456]86-*-netbsd* | i[3456]86-*-openbsd*) |
i[3-7]86-*-netbsd* | i[3-7]86-*-knetbsd*-gnu | i[3-7]86-*-openbsd*) |
9968 |
COREFILE=netbsd-core.lo |
COREFILE=netbsd-core.lo |
9969 |
;; |
;; |
9970 |
i[3456]86-esix-sysv3*) |
i[3-7]86-esix-sysv3*) |
9971 |
COREFILE=trad-core.lo |
COREFILE=trad-core.lo |
9972 |
TRAD_HEADER='"hosts/esix.h"' |
TRAD_HEADER='"hosts/esix.h"' |
9973 |
;; |
;; |
9974 |
i[3456]86-*-sco3.2v5*) |
i[3-7]86-*-sco3.2v5*) |
9975 |
COREFILE=sco5-core.lo |
COREFILE=sco5-core.lo |
9976 |
;; |
;; |
9977 |
i[3456]86-*-sco* | i[3456]86-*-isc*) |
i[3-7]86-*-sco* | i[3-7]86-*-isc*) |
9978 |
COREFILE=trad-core.lo |
COREFILE=trad-core.lo |
9979 |
TRAD_HEADER='"hosts/i386sco.h"' |
TRAD_HEADER='"hosts/i386sco.h"' |
9980 |
;; |
;; |
9981 |
i[3456]86-*-mach3*) |
i[3-7]86-*-mach3*) |
9982 |
COREFILE=trad-core.lo |
COREFILE=trad-core.lo |
9983 |
TRAD_HEADER='"hosts/i386mach3.h"' |
TRAD_HEADER='"hosts/i386mach3.h"' |
9984 |
;; |
;; |
9985 |
i[3456]86-*-linux-gnu*) |
i[3-7]86-*-linux-gnu*) |
9986 |
COREFILE=trad-core.lo |
COREFILE=trad-core.lo |
9987 |
TRAD_HEADER='"hosts/i386linux.h"' |
TRAD_HEADER='"hosts/i386linux.h"' |
9988 |
;; |
;; |
9989 |
i[3456]86-*-isc*) COREFILE=trad-core.lo ;; |
i[3-7]86-*-isc*) COREFILE=trad-core.lo ;; |
9990 |
i[3456]86-*-aix*) COREFILE=aix386-core.lo ;; |
i[3-7]86-*-aix*) COREFILE=aix386-core.lo ;; |
9991 |
i860-*-mach3* | i860-*-osf1*) |
i860-*-mach3* | i860-*-osf1*) |
9992 |
COREFILE=trad-core.lo |
COREFILE=trad-core.lo |
9993 |
TRAD_HEADER='"hosts/i860mach3.h"' |
TRAD_HEADER='"hosts/i860mach3.h"' |
9994 |
;; |
;; |
|
mips-dec-bsd*) |
|
|
COREFILE=trad-core.lo |
|
|
TRAD_HEADER='"hosts/mipsbsd.h"' |
|
|
;; |
|
|
mips-dec-mach3*) |
|
|
COREFILE=trad-core.lo |
|
|
TRAD_HEADER='"hosts/mipsmach3.h"' |
|
|
;; |
|
9995 |
mips-*-netbsd* | mips*-*-openbsd*) |
mips-*-netbsd* | mips*-*-openbsd*) |
9996 |
COREFILE=netbsd-core.lo |
COREFILE=netbsd-core.lo |
9997 |
;; |
;; |
10002 |
mips-sgi-irix4*) COREFILE=irix-core.lo ;; |
mips-sgi-irix4*) COREFILE=irix-core.lo ;; |
10003 |
mips-sgi-irix5*) COREFILE=irix-core.lo ;; |
mips-sgi-irix5*) COREFILE=irix-core.lo ;; |
10004 |
mips-sgi-irix6*) COREFILE=irix-core.lo ;; |
mips-sgi-irix6*) COREFILE=irix-core.lo ;; |
|
mips-*-mach3*) |
|
|
COREFILE=trad-core.lo |
|
|
TRAD_HEADER='"hosts/mipsmach3.h"' |
|
|
;; |
|
10005 |
mips-*-sysv4*) ;; |
mips-*-sysv4*) ;; |
10006 |
mips-*-sysv* | mips-*-riscos*) |
mips-*-sysv* | mips-*-riscos*) |
10007 |
COREFILE=trad-core.lo |
COREFILE=trad-core.lo |
10048 |
COREFILE=trad-core.lo |
COREFILE=trad-core.lo |
10049 |
TRAD_HEADER='"hosts/m88kmach3.h"' |
TRAD_HEADER='"hosts/m88kmach3.h"' |
10050 |
;; |
;; |
10051 |
|
m88*-*-openbsd*) |
10052 |
|
COREFILE=netbsd-core.lo |
10053 |
|
;; |
10054 |
ns32k-pc532-mach) |
ns32k-pc532-mach) |
10055 |
COREFILE=trad-core.lo |
COREFILE=trad-core.lo |
10056 |
TRAD_HEADER='"hosts/pc532mach.h"' |
TRAD_HEADER='"hosts/pc532mach.h"' |
10070 |
COREFLAG="$COREFLAG -DAIX_CORE_DUMPX_CORE" |
COREFLAG="$COREFLAG -DAIX_CORE_DUMPX_CORE" |
10071 |
# Not all versions of AIX with -DAIX_CORE_DUMPX_CORE |
# Not all versions of AIX with -DAIX_CORE_DUMPX_CORE |
10072 |
# have c_impl as a member of struct core_dumpx |
# have c_impl as a member of struct core_dumpx |
10073 |
echo $ac_n "checking for c_impl in struct core_dumpx""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for c_impl in struct core_dumpx" >&5 |
10074 |
echo "configure:5252: checking for c_impl in struct core_dumpx" >&5 |
echo $ECHO_N "checking for c_impl in struct core_dumpx... $ECHO_C" >&6 |
10075 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
10076 |
#line 5254 "configure" |
/* confdefs.h. */ |
10077 |
#include "confdefs.h" |
_ACEOF |
10078 |
|
cat confdefs.h >>conftest.$ac_ext |
10079 |
|
cat >>conftest.$ac_ext <<_ACEOF |
10080 |
|
/* end confdefs.h. */ |
10081 |
#include <core.h> |
#include <core.h> |
10082 |
int main() { |
int |
10083 |
|
main () |
10084 |
|
{ |
10085 |
struct core_dumpx c; c.c_impl = 0; |
struct core_dumpx c; c.c_impl = 0; |
10086 |
; return 0; } |
; |
10087 |
EOF |
return 0; |
10088 |
if { (eval echo configure:5261: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
} |
10089 |
rm -rf conftest* |
_ACEOF |
10090 |
cat >> confdefs.h <<\EOF |
rm -f conftest.$ac_objext |
10091 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
10092 |
|
(eval $ac_compile) 2>conftest.er1 |
10093 |
|
ac_status=$? |
10094 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
10095 |
|
rm -f conftest.er1 |
10096 |
|
cat conftest.err >&5 |
10097 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10098 |
|
(exit $ac_status); } && |
10099 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
10100 |
|
|| test ! -s conftest.err' |
10101 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10102 |
|
(eval $ac_try) 2>&5 |
10103 |
|
ac_status=$? |
10104 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10105 |
|
(exit $ac_status); }; } && |
10106 |
|
{ ac_try='test -s conftest.$ac_objext' |
10107 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10108 |
|
(eval $ac_try) 2>&5 |
10109 |
|
ac_status=$? |
10110 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10111 |
|
(exit $ac_status); }; }; then |
10112 |
|
|
10113 |
|
cat >>confdefs.h <<\_ACEOF |
10114 |
#define HAVE_ST_C_IMPL 1 |
#define HAVE_ST_C_IMPL 1 |
10115 |
EOF |
_ACEOF |
10116 |
|
|
10117 |
echo "$ac_t""yes" 1>&6 |
echo "$as_me:$LINENO: result: yes" >&5 |
10118 |
|
echo "${ECHO_T}yes" >&6 |
10119 |
else |
else |
10120 |
echo "configure: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
10121 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
10122 |
rm -rf conftest* |
|
10123 |
echo "$ac_t""no" 1>&6 |
echo "$as_me:$LINENO: result: no" >&5 |
10124 |
|
echo "${ECHO_T}no" >&6 |
10125 |
fi |
fi |
10126 |
rm -f conftest* |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
10127 |
;; |
;; |
10128 |
rs6000-*-aix4*) COREFILE=rs6000-core.lo ;; |
rs6000-*-aix4*) COREFILE=rs6000-core.lo ;; |
10129 |
rs6000-*-*) COREFILE=rs6000-core.lo ;; |
rs6000-*-*) COREFILE=rs6000-core.lo ;; |
10130 |
powerpc-*-aix4*) COREFILE=rs6000-core.lo ;; |
powerpc-*-aix4*) COREFILE=rs6000-core.lo ;; |
10131 |
powerpc-*-aix*) COREFILE=rs6000-core.lo ;; |
powerpc-*-aix*) COREFILE=rs6000-core.lo ;; |
10132 |
powerpc-*-beos*) ;; |
powerpc-*-beos*) ;; |
10133 |
powerpc-*-freebsd*) COREFILE='' ;; |
powerpc-*-freebsd* | powerpc-*-kfreebsd*-gnu) |
10134 |
|
COREFILE='' ;; |
10135 |
powerpc-*-netbsd*) COREFILE=netbsd-core.lo ;; |
powerpc-*-netbsd*) COREFILE=netbsd-core.lo ;; |
10136 |
powerpc-*-*bsd*) COREFILE=netbsd-core.lo ;; |
powerpc-*-*bsd*) COREFILE=netbsd-core.lo ;; |
10137 |
s390*-*-*) COREFILE=trad-core.lo ;; |
s390*-*-*) COREFILE=trad-core.lo ;; |
10143 |
COREFILE=trad-core.lo |
COREFILE=trad-core.lo |
10144 |
TRAD_HEADER='"hosts/tahoe.h"' |
TRAD_HEADER='"hosts/tahoe.h"' |
10145 |
;; |
;; |
10146 |
vax-*-netbsd*) COREFILE=netbsd-core.lo ;; |
vax-*-netbsd* | vax-*-openbsd*) |
10147 |
|
COREFILE=netbsd-core.lo |
10148 |
|
;; |
10149 |
vax-*-ultrix2*) |
vax-*-ultrix2*) |
10150 |
COREFILE=trad-core.lo |
COREFILE=trad-core.lo |
10151 |
TRAD_HEADER='"hosts/vaxult2.h"' |
TRAD_HEADER='"hosts/vaxult2.h"' |
10154 |
COREFILE=trad-core.lo |
COREFILE=trad-core.lo |
10155 |
TRAD_HEADER='"hosts/vaxult2.h"' |
TRAD_HEADER='"hosts/vaxult2.h"' |
10156 |
;; |
;; |
10157 |
|
vax-*-linux-gnu*) |
10158 |
|
COREFILE=trad-core.lo |
10159 |
|
TRAD_HEADER='"hosts/vaxlinux.h"' |
10160 |
|
;; |
10161 |
vax-*-*) |
vax-*-*) |
10162 |
COREFILE=trad-core.lo |
COREFILE=trad-core.lo |
10163 |
TRAD_HEADER='"hosts/vaxbsd.h"' |
TRAD_HEADER='"hosts/vaxbsd.h"' |
10164 |
;; |
;; |
10165 |
x86_64-*-netbsd*) COREFILE=netbsd-core.lo ;; |
x86_64-*-netbsd* | x86_64-*-openbsd*) |
10166 |
|
COREFILE=netbsd-core.lo |
10167 |
|
;; |
10168 |
esac |
esac |
10169 |
|
|
10170 |
case "$COREFILE" in |
case "$COREFILE" in |
10183 |
|
|
10184 |
# ELF corefile support has several flavors, but all of |
# ELF corefile support has several flavors, but all of |
10185 |
# them use something called <sys/procfs.h> |
# them use something called <sys/procfs.h> |
10186 |
for ac_hdr in sys/procfs.h |
|
10187 |
|
for ac_header in sys/procfs.h |
10188 |
do |
do |
10189 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
10190 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
10191 |
echo "configure:5329: checking for $ac_hdr" >&5 |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
10192 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
10193 |
echo $ac_n "(cached) $ac_c" 1>&6 |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
10194 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
10195 |
|
fi |
10196 |
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
10197 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
10198 |
|
else |
10199 |
|
# Is the header compilable? |
10200 |
|
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
10201 |
|
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
10202 |
|
cat >conftest.$ac_ext <<_ACEOF |
10203 |
|
/* confdefs.h. */ |
10204 |
|
_ACEOF |
10205 |
|
cat confdefs.h >>conftest.$ac_ext |
10206 |
|
cat >>conftest.$ac_ext <<_ACEOF |
10207 |
|
/* end confdefs.h. */ |
10208 |
|
$ac_includes_default |
10209 |
|
#include <$ac_header> |
10210 |
|
_ACEOF |
10211 |
|
rm -f conftest.$ac_objext |
10212 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
10213 |
|
(eval $ac_compile) 2>conftest.er1 |
10214 |
|
ac_status=$? |
10215 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
10216 |
|
rm -f conftest.er1 |
10217 |
|
cat conftest.err >&5 |
10218 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10219 |
|
(exit $ac_status); } && |
10220 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
10221 |
|
|| test ! -s conftest.err' |
10222 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10223 |
|
(eval $ac_try) 2>&5 |
10224 |
|
ac_status=$? |
10225 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10226 |
|
(exit $ac_status); }; } && |
10227 |
|
{ ac_try='test -s conftest.$ac_objext' |
10228 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10229 |
|
(eval $ac_try) 2>&5 |
10230 |
|
ac_status=$? |
10231 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10232 |
|
(exit $ac_status); }; }; then |
10233 |
|
ac_header_compiler=yes |
10234 |
|
else |
10235 |
|
echo "$as_me: failed program was:" >&5 |
10236 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
10237 |
|
|
10238 |
|
ac_header_compiler=no |
10239 |
|
fi |
10240 |
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
10241 |
|
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
10242 |
|
echo "${ECHO_T}$ac_header_compiler" >&6 |
10243 |
|
|
10244 |
|
# Is the header present? |
10245 |
|
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
10246 |
|
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
10247 |
|
cat >conftest.$ac_ext <<_ACEOF |
10248 |
|
/* confdefs.h. */ |
10249 |
|
_ACEOF |
10250 |
|
cat confdefs.h >>conftest.$ac_ext |
10251 |
|
cat >>conftest.$ac_ext <<_ACEOF |
10252 |
|
/* end confdefs.h. */ |
10253 |
|
#include <$ac_header> |
10254 |
|
_ACEOF |
10255 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
10256 |
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
10257 |
|
ac_status=$? |
10258 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
10259 |
|
rm -f conftest.er1 |
10260 |
|
cat conftest.err >&5 |
10261 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10262 |
|
(exit $ac_status); } >/dev/null; then |
10263 |
|
if test -s conftest.err; then |
10264 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
10265 |
|
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
10266 |
|
else |
10267 |
|
ac_cpp_err= |
10268 |
|
fi |
10269 |
else |
else |
10270 |
cat > conftest.$ac_ext <<EOF |
ac_cpp_err=yes |
10271 |
#line 5334 "configure" |
fi |
10272 |
#include "confdefs.h" |
if test -z "$ac_cpp_err"; then |
10273 |
#include <$ac_hdr> |
ac_header_preproc=yes |
|
EOF |
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
|
|
{ (eval echo configure:5339: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|
|
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
|
|
if test -z "$ac_err"; then |
|
|
rm -rf conftest* |
|
|
eval "ac_cv_header_$ac_safe=yes" |
|
10274 |
else |
else |
10275 |
echo "$ac_err" >&5 |
echo "$as_me: failed program was:" >&5 |
10276 |
echo "configure: failed program was:" >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
10277 |
cat conftest.$ac_ext >&5 |
|
10278 |
rm -rf conftest* |
ac_header_preproc=no |
10279 |
eval "ac_cv_header_$ac_safe=no" |
fi |
10280 |
|
rm -f conftest.err conftest.$ac_ext |
10281 |
|
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
10282 |
|
echo "${ECHO_T}$ac_header_preproc" >&6 |
10283 |
|
|
10284 |
|
# So? What about this header? |
10285 |
|
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
10286 |
|
yes:no: ) |
10287 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
10288 |
|
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
10289 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
10290 |
|
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
10291 |
|
ac_header_preproc=yes |
10292 |
|
;; |
10293 |
|
no:yes:* ) |
10294 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
10295 |
|
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
10296 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
10297 |
|
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
10298 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
10299 |
|
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
10300 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
10301 |
|
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
10302 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
10303 |
|
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
10304 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
10305 |
|
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
10306 |
|
( |
10307 |
|
cat <<\_ASBOX |
10308 |
|
## ------------------------------------------ ## |
10309 |
|
## Report this to the AC_PACKAGE_NAME lists. ## |
10310 |
|
## ------------------------------------------ ## |
10311 |
|
_ASBOX |
10312 |
|
) | |
10313 |
|
sed "s/^/$as_me: WARNING: /" >&2 |
10314 |
|
;; |
10315 |
|
esac |
10316 |
|
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
10317 |
|
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
10318 |
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
10319 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
10320 |
|
else |
10321 |
|
eval "$as_ac_Header=\$ac_header_preproc" |
10322 |
fi |
fi |
10323 |
rm -f conftest* |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
10324 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
10325 |
|
|
10326 |
fi |
fi |
10327 |
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
10328 |
echo "$ac_t""yes" 1>&6 |
cat >>confdefs.h <<_ACEOF |
10329 |
ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
10330 |
cat >> confdefs.h <<EOF |
_ACEOF |
10331 |
#define $ac_tr_hdr 1 |
|
|
EOF |
|
|
|
|
|
else |
|
|
echo "$ac_t""no" 1>&6 |
|
10332 |
fi |
fi |
10333 |
|
|
10334 |
done |
done |
10335 |
|
|
10336 |
if test "$ac_cv_header_sys_procfs_h" = yes; then |
if test "$ac_cv_header_sys_procfs_h" = yes; then |
10337 |
echo $ac_n "checking for prstatus_t in sys/procfs.h""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for prstatus_t in sys/procfs.h" >&5 |
10338 |
echo "configure:5367: checking for prstatus_t in sys/procfs.h" >&5 |
echo $ECHO_N "checking for prstatus_t in sys/procfs.h... $ECHO_C" >&6 |
10339 |
if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_prstatus_t'+set}'`\" = set"; then |
if test "${bfd_cv_have_sys_procfs_type_prstatus_t+set}" = set; then |
10340 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
10341 |
else |
else |
10342 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
10343 |
#line 5372 "configure" |
/* confdefs.h. */ |
10344 |
#include "confdefs.h" |
_ACEOF |
10345 |
|
cat confdefs.h >>conftest.$ac_ext |
10346 |
|
cat >>conftest.$ac_ext <<_ACEOF |
10347 |
|
/* end confdefs.h. */ |
10348 |
|
|
10349 |
#define _SYSCALL32 |
#define _SYSCALL32 |
10350 |
#include <sys/procfs.h> |
#include <sys/procfs.h> |
10351 |
int main() { |
int |
10352 |
|
main () |
10353 |
|
{ |
10354 |
prstatus_t avar |
prstatus_t avar |
10355 |
; return 0; } |
; |
10356 |
EOF |
return 0; |
10357 |
if { (eval echo configure:5381: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
} |
10358 |
rm -rf conftest* |
_ACEOF |
10359 |
|
rm -f conftest.$ac_objext |
10360 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
10361 |
|
(eval $ac_compile) 2>conftest.er1 |
10362 |
|
ac_status=$? |
10363 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
10364 |
|
rm -f conftest.er1 |
10365 |
|
cat conftest.err >&5 |
10366 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10367 |
|
(exit $ac_status); } && |
10368 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
10369 |
|
|| test ! -s conftest.err' |
10370 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10371 |
|
(eval $ac_try) 2>&5 |
10372 |
|
ac_status=$? |
10373 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10374 |
|
(exit $ac_status); }; } && |
10375 |
|
{ ac_try='test -s conftest.$ac_objext' |
10376 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10377 |
|
(eval $ac_try) 2>&5 |
10378 |
|
ac_status=$? |
10379 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10380 |
|
(exit $ac_status); }; }; then |
10381 |
bfd_cv_have_sys_procfs_type_prstatus_t=yes |
bfd_cv_have_sys_procfs_type_prstatus_t=yes |
10382 |
else |
else |
10383 |
echo "configure: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
10384 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
10385 |
rm -rf conftest* |
|
10386 |
bfd_cv_have_sys_procfs_type_prstatus_t=no |
bfd_cv_have_sys_procfs_type_prstatus_t=no |
10387 |
|
|
10388 |
fi |
fi |
10389 |
rm -f conftest* |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
10390 |
fi |
fi |
10391 |
|
|
10392 |
if test $bfd_cv_have_sys_procfs_type_prstatus_t = yes; then |
if test $bfd_cv_have_sys_procfs_type_prstatus_t = yes; then |
10393 |
cat >> confdefs.h <<\EOF |
|
10394 |
|
cat >>confdefs.h <<\_ACEOF |
10395 |
#define HAVE_PRSTATUS_T 1 |
#define HAVE_PRSTATUS_T 1 |
10396 |
EOF |
_ACEOF |
10397 |
|
|
10398 |
fi |
fi |
10399 |
echo "$ac_t""$bfd_cv_have_sys_procfs_type_prstatus_t" 1>&6 |
echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prstatus_t" >&5 |
10400 |
|
echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prstatus_t" >&6 |
10401 |
|
|
10402 |
echo $ac_n "checking for prstatus32_t in sys/procfs.h""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for prstatus32_t in sys/procfs.h" >&5 |
10403 |
echo "configure:5403: checking for prstatus32_t in sys/procfs.h" >&5 |
echo $ECHO_N "checking for prstatus32_t in sys/procfs.h... $ECHO_C" >&6 |
10404 |
if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_prstatus32_t'+set}'`\" = set"; then |
if test "${bfd_cv_have_sys_procfs_type_prstatus32_t+set}" = set; then |
10405 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
10406 |
else |
else |
10407 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
10408 |
#line 5408 "configure" |
/* confdefs.h. */ |
10409 |
#include "confdefs.h" |
_ACEOF |
10410 |
|
cat confdefs.h >>conftest.$ac_ext |
10411 |
|
cat >>conftest.$ac_ext <<_ACEOF |
10412 |
|
/* end confdefs.h. */ |
10413 |
|
|
10414 |
#define _SYSCALL32 |
#define _SYSCALL32 |
10415 |
#include <sys/procfs.h> |
#include <sys/procfs.h> |
10416 |
int main() { |
int |
10417 |
|
main () |
10418 |
|
{ |
10419 |
prstatus32_t avar |
prstatus32_t avar |
10420 |
; return 0; } |
; |
10421 |
EOF |
return 0; |
10422 |
if { (eval echo configure:5417: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
} |
10423 |
rm -rf conftest* |
_ACEOF |
10424 |
|
rm -f conftest.$ac_objext |
10425 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
10426 |
|
(eval $ac_compile) 2>conftest.er1 |
10427 |
|
ac_status=$? |
10428 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
10429 |
|
rm -f conftest.er1 |
10430 |
|
cat conftest.err >&5 |
10431 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10432 |
|
(exit $ac_status); } && |
10433 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
10434 |
|
|| test ! -s conftest.err' |
10435 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10436 |
|
(eval $ac_try) 2>&5 |
10437 |
|
ac_status=$? |
10438 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10439 |
|
(exit $ac_status); }; } && |
10440 |
|
{ ac_try='test -s conftest.$ac_objext' |
10441 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10442 |
|
(eval $ac_try) 2>&5 |
10443 |
|
ac_status=$? |
10444 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10445 |
|
(exit $ac_status); }; }; then |
10446 |
bfd_cv_have_sys_procfs_type_prstatus32_t=yes |
bfd_cv_have_sys_procfs_type_prstatus32_t=yes |
10447 |
else |
else |
10448 |
echo "configure: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
10449 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
10450 |
rm -rf conftest* |
|
10451 |
bfd_cv_have_sys_procfs_type_prstatus32_t=no |
bfd_cv_have_sys_procfs_type_prstatus32_t=no |
10452 |
|
|
10453 |
fi |
fi |
10454 |
rm -f conftest* |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
10455 |
fi |
fi |
10456 |
|
|
10457 |
if test $bfd_cv_have_sys_procfs_type_prstatus32_t = yes; then |
if test $bfd_cv_have_sys_procfs_type_prstatus32_t = yes; then |
10458 |
cat >> confdefs.h <<\EOF |
|
10459 |
|
cat >>confdefs.h <<\_ACEOF |
10460 |
#define HAVE_PRSTATUS32_T 1 |
#define HAVE_PRSTATUS32_T 1 |
10461 |
EOF |
_ACEOF |
10462 |
|
|
10463 |
fi |
fi |
10464 |
echo "$ac_t""$bfd_cv_have_sys_procfs_type_prstatus32_t" 1>&6 |
echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prstatus32_t" >&5 |
10465 |
|
echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prstatus32_t" >&6 |
10466 |
|
|
10467 |
echo $ac_n "checking for prstatus_t.pr_who in sys/procfs.h""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for prstatus_t.pr_who in sys/procfs.h" >&5 |
10468 |
echo "configure:5439: checking for prstatus_t.pr_who in sys/procfs.h" >&5 |
echo $ECHO_N "checking for prstatus_t.pr_who in sys/procfs.h... $ECHO_C" >&6 |
10469 |
if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who'+set}'`\" = set"; then |
if test "${bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who+set}" = set; then |
10470 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
10471 |
else |
else |
10472 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
10473 |
#line 5444 "configure" |
/* confdefs.h. */ |
10474 |
#include "confdefs.h" |
_ACEOF |
10475 |
|
cat confdefs.h >>conftest.$ac_ext |
10476 |
|
cat >>conftest.$ac_ext <<_ACEOF |
10477 |
|
/* end confdefs.h. */ |
10478 |
|
|
10479 |
#define _SYSCALL32 |
#define _SYSCALL32 |
10480 |
#include <sys/procfs.h> |
#include <sys/procfs.h> |
10481 |
int main() { |
int |
10482 |
|
main () |
10483 |
|
{ |
10484 |
prstatus_t avar; void* aref = (void*) &avar.pr_who |
prstatus_t avar; void* aref = (void*) &avar.pr_who |
10485 |
; return 0; } |
; |
10486 |
EOF |
return 0; |
10487 |
if { (eval echo configure:5453: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
} |
10488 |
rm -rf conftest* |
_ACEOF |
10489 |
|
rm -f conftest.$ac_objext |
10490 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
10491 |
|
(eval $ac_compile) 2>conftest.er1 |
10492 |
|
ac_status=$? |
10493 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
10494 |
|
rm -f conftest.er1 |
10495 |
|
cat conftest.err >&5 |
10496 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10497 |
|
(exit $ac_status); } && |
10498 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
10499 |
|
|| test ! -s conftest.err' |
10500 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10501 |
|
(eval $ac_try) 2>&5 |
10502 |
|
ac_status=$? |
10503 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10504 |
|
(exit $ac_status); }; } && |
10505 |
|
{ ac_try='test -s conftest.$ac_objext' |
10506 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10507 |
|
(eval $ac_try) 2>&5 |
10508 |
|
ac_status=$? |
10509 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10510 |
|
(exit $ac_status); }; }; then |
10511 |
bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who=yes |
bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who=yes |
10512 |
else |
else |
10513 |
echo "configure: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
10514 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
10515 |
rm -rf conftest* |
|
10516 |
bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who=no |
bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who=no |
10517 |
|
|
10518 |
fi |
fi |
10519 |
rm -f conftest* |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
10520 |
fi |
fi |
10521 |
|
|
10522 |
if test $bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who = yes; then |
if test $bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who = yes; then |
10523 |
cat >> confdefs.h <<\EOF |
|
10524 |
|
cat >>confdefs.h <<\_ACEOF |
10525 |
#define HAVE_PRSTATUS_T_PR_WHO 1 |
#define HAVE_PRSTATUS_T_PR_WHO 1 |
10526 |
EOF |
_ACEOF |
10527 |
|
|
10528 |
fi |
fi |
10529 |
echo "$ac_t""$bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who" 1>&6 |
echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who" >&5 |
10530 |
|
echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who" >&6 |
10531 |
|
|
10532 |
echo $ac_n "checking for prstatus32_t.pr_who in sys/procfs.h""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for prstatus32_t.pr_who in sys/procfs.h" >&5 |
10533 |
echo "configure:5475: checking for prstatus32_t.pr_who in sys/procfs.h" >&5 |
echo $ECHO_N "checking for prstatus32_t.pr_who in sys/procfs.h... $ECHO_C" >&6 |
10534 |
if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who'+set}'`\" = set"; then |
if test "${bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who+set}" = set; then |
10535 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
10536 |
else |
else |
10537 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
10538 |
#line 5480 "configure" |
/* confdefs.h. */ |
10539 |
#include "confdefs.h" |
_ACEOF |
10540 |
|
cat confdefs.h >>conftest.$ac_ext |
10541 |
|
cat >>conftest.$ac_ext <<_ACEOF |
10542 |
|
/* end confdefs.h. */ |
10543 |
|
|
10544 |
#define _SYSCALL32 |
#define _SYSCALL32 |
10545 |
#include <sys/procfs.h> |
#include <sys/procfs.h> |
10546 |
int main() { |
int |
10547 |
|
main () |
10548 |
|
{ |
10549 |
prstatus32_t avar; void* aref = (void*) &avar.pr_who |
prstatus32_t avar; void* aref = (void*) &avar.pr_who |
10550 |
; return 0; } |
; |
10551 |
EOF |
return 0; |
10552 |
if { (eval echo configure:5489: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
} |
10553 |
rm -rf conftest* |
_ACEOF |
10554 |
|
rm -f conftest.$ac_objext |
10555 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
10556 |
|
(eval $ac_compile) 2>conftest.er1 |
10557 |
|
ac_status=$? |
10558 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
10559 |
|
rm -f conftest.er1 |
10560 |
|
cat conftest.err >&5 |
10561 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10562 |
|
(exit $ac_status); } && |
10563 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
10564 |
|
|| test ! -s conftest.err' |
10565 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10566 |
|
(eval $ac_try) 2>&5 |
10567 |
|
ac_status=$? |
10568 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10569 |
|
(exit $ac_status); }; } && |
10570 |
|
{ ac_try='test -s conftest.$ac_objext' |
10571 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10572 |
|
(eval $ac_try) 2>&5 |
10573 |
|
ac_status=$? |
10574 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10575 |
|
(exit $ac_status); }; }; then |
10576 |
bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who=yes |
bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who=yes |
10577 |
else |
else |
10578 |
echo "configure: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
10579 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
10580 |
rm -rf conftest* |
|
10581 |
bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who=no |
bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who=no |
10582 |
|
|
10583 |
fi |
fi |
10584 |
rm -f conftest* |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
10585 |
fi |
fi |
10586 |
|
|
10587 |
if test $bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who = yes; then |
if test $bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who = yes; then |
10588 |
cat >> confdefs.h <<\EOF |
|
10589 |
|
cat >>confdefs.h <<\_ACEOF |
10590 |
#define HAVE_PRSTATUS32_T_PR_WHO 1 |
#define HAVE_PRSTATUS32_T_PR_WHO 1 |
10591 |
EOF |
_ACEOF |
10592 |
|
|
10593 |
fi |
fi |
10594 |
echo "$ac_t""$bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who" 1>&6 |
echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who" >&5 |
10595 |
|
echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who" >&6 |
10596 |
|
|
10597 |
echo $ac_n "checking for pstatus_t in sys/procfs.h""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for pstatus_t in sys/procfs.h" >&5 |
10598 |
echo "configure:5511: checking for pstatus_t in sys/procfs.h" >&5 |
echo $ECHO_N "checking for pstatus_t in sys/procfs.h... $ECHO_C" >&6 |
10599 |
if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_pstatus_t'+set}'`\" = set"; then |
if test "${bfd_cv_have_sys_procfs_type_pstatus_t+set}" = set; then |
10600 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
10601 |
else |
else |
10602 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
10603 |
#line 5516 "configure" |
/* confdefs.h. */ |
10604 |
#include "confdefs.h" |
_ACEOF |
10605 |
|
cat confdefs.h >>conftest.$ac_ext |
10606 |
|
cat >>conftest.$ac_ext <<_ACEOF |
10607 |
|
/* end confdefs.h. */ |
10608 |
|
|
10609 |
#define _SYSCALL32 |
#define _SYSCALL32 |
10610 |
#include <sys/procfs.h> |
#include <sys/procfs.h> |
10611 |
int main() { |
int |
10612 |
|
main () |
10613 |
|
{ |
10614 |
pstatus_t avar |
pstatus_t avar |
10615 |
; return 0; } |
; |
10616 |
EOF |
return 0; |
10617 |
if { (eval echo configure:5525: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
} |
10618 |
rm -rf conftest* |
_ACEOF |
10619 |
|
rm -f conftest.$ac_objext |
10620 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
10621 |
|
(eval $ac_compile) 2>conftest.er1 |
10622 |
|
ac_status=$? |
10623 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
10624 |
|
rm -f conftest.er1 |
10625 |
|
cat conftest.err >&5 |
10626 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10627 |
|
(exit $ac_status); } && |
10628 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
10629 |
|
|| test ! -s conftest.err' |
10630 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10631 |
|
(eval $ac_try) 2>&5 |
10632 |
|
ac_status=$? |
10633 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10634 |
|
(exit $ac_status); }; } && |
10635 |
|
{ ac_try='test -s conftest.$ac_objext' |
10636 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10637 |
|
(eval $ac_try) 2>&5 |
10638 |
|
ac_status=$? |
10639 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10640 |
|
(exit $ac_status); }; }; then |
10641 |
bfd_cv_have_sys_procfs_type_pstatus_t=yes |
bfd_cv_have_sys_procfs_type_pstatus_t=yes |
10642 |
else |
else |
10643 |
echo "configure: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
10644 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
10645 |
rm -rf conftest* |
|
10646 |
bfd_cv_have_sys_procfs_type_pstatus_t=no |
bfd_cv_have_sys_procfs_type_pstatus_t=no |
10647 |
|
|
10648 |
fi |
fi |
10649 |
rm -f conftest* |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
10650 |
fi |
fi |
10651 |
|
|
10652 |
if test $bfd_cv_have_sys_procfs_type_pstatus_t = yes; then |
if test $bfd_cv_have_sys_procfs_type_pstatus_t = yes; then |
10653 |
cat >> confdefs.h <<\EOF |
|
10654 |
|
cat >>confdefs.h <<\_ACEOF |
10655 |
#define HAVE_PSTATUS_T 1 |
#define HAVE_PSTATUS_T 1 |
10656 |
EOF |
_ACEOF |
10657 |
|
|
10658 |
fi |
fi |
10659 |
echo "$ac_t""$bfd_cv_have_sys_procfs_type_pstatus_t" 1>&6 |
echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pstatus_t" >&5 |
10660 |
|
echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pstatus_t" >&6 |
10661 |
|
|
10662 |
echo $ac_n "checking for pxstatus_t in sys/procfs.h""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for pxstatus_t in sys/procfs.h" >&5 |
10663 |
echo "configure:5547: checking for pxstatus_t in sys/procfs.h" >&5 |
echo $ECHO_N "checking for pxstatus_t in sys/procfs.h... $ECHO_C" >&6 |
10664 |
if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_pxstatus_t'+set}'`\" = set"; then |
if test "${bfd_cv_have_sys_procfs_type_pxstatus_t+set}" = set; then |
10665 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
10666 |
else |
else |
10667 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
10668 |
#line 5552 "configure" |
/* confdefs.h. */ |
10669 |
#include "confdefs.h" |
_ACEOF |
10670 |
|
cat confdefs.h >>conftest.$ac_ext |
10671 |
|
cat >>conftest.$ac_ext <<_ACEOF |
10672 |
|
/* end confdefs.h. */ |
10673 |
|
|
10674 |
#define _SYSCALL32 |
#define _SYSCALL32 |
10675 |
#include <sys/procfs.h> |
#include <sys/procfs.h> |
10676 |
int main() { |
int |
10677 |
|
main () |
10678 |
|
{ |
10679 |
pxstatus_t avar |
pxstatus_t avar |
10680 |
; return 0; } |
; |
10681 |
EOF |
return 0; |
10682 |
if { (eval echo configure:5561: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
} |
10683 |
rm -rf conftest* |
_ACEOF |
10684 |
|
rm -f conftest.$ac_objext |
10685 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
10686 |
|
(eval $ac_compile) 2>conftest.er1 |
10687 |
|
ac_status=$? |
10688 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
10689 |
|
rm -f conftest.er1 |
10690 |
|
cat conftest.err >&5 |
10691 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10692 |
|
(exit $ac_status); } && |
10693 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
10694 |
|
|| test ! -s conftest.err' |
10695 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10696 |
|
(eval $ac_try) 2>&5 |
10697 |
|
ac_status=$? |
10698 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10699 |
|
(exit $ac_status); }; } && |
10700 |
|
{ ac_try='test -s conftest.$ac_objext' |
10701 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10702 |
|
(eval $ac_try) 2>&5 |
10703 |
|
ac_status=$? |
10704 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10705 |
|
(exit $ac_status); }; }; then |
10706 |
bfd_cv_have_sys_procfs_type_pxstatus_t=yes |
bfd_cv_have_sys_procfs_type_pxstatus_t=yes |
10707 |
else |
else |
10708 |
echo "configure: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
10709 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
10710 |
rm -rf conftest* |
|
10711 |
bfd_cv_have_sys_procfs_type_pxstatus_t=no |
bfd_cv_have_sys_procfs_type_pxstatus_t=no |
10712 |
|
|
10713 |
fi |
fi |
10714 |
rm -f conftest* |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
10715 |
fi |
fi |
10716 |
|
|
10717 |
if test $bfd_cv_have_sys_procfs_type_pxstatus_t = yes; then |
if test $bfd_cv_have_sys_procfs_type_pxstatus_t = yes; then |
10718 |
cat >> confdefs.h <<\EOF |
|
10719 |
|
cat >>confdefs.h <<\_ACEOF |
10720 |
#define HAVE_PXSTATUS_T 1 |
#define HAVE_PXSTATUS_T 1 |
10721 |
EOF |
_ACEOF |
10722 |
|
|
10723 |
fi |
fi |
10724 |
echo "$ac_t""$bfd_cv_have_sys_procfs_type_pxstatus_t" 1>&6 |
echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pxstatus_t" >&5 |
10725 |
|
echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pxstatus_t" >&6 |
10726 |
|
|
10727 |
echo $ac_n "checking for pstatus32_t in sys/procfs.h""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for pstatus32_t in sys/procfs.h" >&5 |
10728 |
echo "configure:5583: checking for pstatus32_t in sys/procfs.h" >&5 |
echo $ECHO_N "checking for pstatus32_t in sys/procfs.h... $ECHO_C" >&6 |
10729 |
if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_pstatus32_t'+set}'`\" = set"; then |
if test "${bfd_cv_have_sys_procfs_type_pstatus32_t+set}" = set; then |
10730 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
10731 |
else |
else |
10732 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
10733 |
#line 5588 "configure" |
/* confdefs.h. */ |
10734 |
#include "confdefs.h" |
_ACEOF |
10735 |
|
cat confdefs.h >>conftest.$ac_ext |
10736 |
|
cat >>conftest.$ac_ext <<_ACEOF |
10737 |
|
/* end confdefs.h. */ |
10738 |
|
|
10739 |
#define _SYSCALL32 |
#define _SYSCALL32 |
10740 |
#include <sys/procfs.h> |
#include <sys/procfs.h> |
10741 |
int main() { |
int |
10742 |
|
main () |
10743 |
|
{ |
10744 |
pstatus32_t avar |
pstatus32_t avar |
10745 |
; return 0; } |
; |
10746 |
EOF |
return 0; |
10747 |
if { (eval echo configure:5597: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
} |
10748 |
rm -rf conftest* |
_ACEOF |
10749 |
|
rm -f conftest.$ac_objext |
10750 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
10751 |
|
(eval $ac_compile) 2>conftest.er1 |
10752 |
|
ac_status=$? |
10753 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
10754 |
|
rm -f conftest.er1 |
10755 |
|
cat conftest.err >&5 |
10756 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10757 |
|
(exit $ac_status); } && |
10758 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
10759 |
|
|| test ! -s conftest.err' |
10760 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10761 |
|
(eval $ac_try) 2>&5 |
10762 |
|
ac_status=$? |
10763 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10764 |
|
(exit $ac_status); }; } && |
10765 |
|
{ ac_try='test -s conftest.$ac_objext' |
10766 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10767 |
|
(eval $ac_try) 2>&5 |
10768 |
|
ac_status=$? |
10769 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10770 |
|
(exit $ac_status); }; }; then |
10771 |
bfd_cv_have_sys_procfs_type_pstatus32_t=yes |
bfd_cv_have_sys_procfs_type_pstatus32_t=yes |
10772 |
else |
else |
10773 |
echo "configure: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
10774 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
10775 |
rm -rf conftest* |
|
10776 |
bfd_cv_have_sys_procfs_type_pstatus32_t=no |
bfd_cv_have_sys_procfs_type_pstatus32_t=no |
10777 |
|
|
10778 |
fi |
fi |
10779 |
rm -f conftest* |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
10780 |
fi |
fi |
10781 |
|
|
10782 |
if test $bfd_cv_have_sys_procfs_type_pstatus32_t = yes; then |
if test $bfd_cv_have_sys_procfs_type_pstatus32_t = yes; then |
10783 |
cat >> confdefs.h <<\EOF |
|
10784 |
|
cat >>confdefs.h <<\_ACEOF |
10785 |
#define HAVE_PSTATUS32_T 1 |
#define HAVE_PSTATUS32_T 1 |
10786 |
EOF |
_ACEOF |
10787 |
|
|
10788 |
fi |
fi |
10789 |
echo "$ac_t""$bfd_cv_have_sys_procfs_type_pstatus32_t" 1>&6 |
echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pstatus32_t" >&5 |
10790 |
|
echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pstatus32_t" >&6 |
10791 |
|
|
10792 |
echo $ac_n "checking for prpsinfo_t in sys/procfs.h""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for prpsinfo_t in sys/procfs.h" >&5 |
10793 |
echo "configure:5619: checking for prpsinfo_t in sys/procfs.h" >&5 |
echo $ECHO_N "checking for prpsinfo_t in sys/procfs.h... $ECHO_C" >&6 |
10794 |
if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_prpsinfo_t'+set}'`\" = set"; then |
if test "${bfd_cv_have_sys_procfs_type_prpsinfo_t+set}" = set; then |
10795 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
10796 |
else |
else |
10797 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
10798 |
#line 5624 "configure" |
/* confdefs.h. */ |
10799 |
#include "confdefs.h" |
_ACEOF |
10800 |
|
cat confdefs.h >>conftest.$ac_ext |
10801 |
|
cat >>conftest.$ac_ext <<_ACEOF |
10802 |
|
/* end confdefs.h. */ |
10803 |
|
|
10804 |
#define _SYSCALL32 |
#define _SYSCALL32 |
10805 |
#include <sys/procfs.h> |
#include <sys/procfs.h> |
10806 |
int main() { |
int |
10807 |
|
main () |
10808 |
|
{ |
10809 |
prpsinfo_t avar |
prpsinfo_t avar |
10810 |
; return 0; } |
; |
10811 |
EOF |
return 0; |
10812 |
if { (eval echo configure:5633: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
} |
10813 |
rm -rf conftest* |
_ACEOF |
10814 |
|
rm -f conftest.$ac_objext |
10815 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
10816 |
|
(eval $ac_compile) 2>conftest.er1 |
10817 |
|
ac_status=$? |
10818 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
10819 |
|
rm -f conftest.er1 |
10820 |
|
cat conftest.err >&5 |
10821 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10822 |
|
(exit $ac_status); } && |
10823 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
10824 |
|
|| test ! -s conftest.err' |
10825 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10826 |
|
(eval $ac_try) 2>&5 |
10827 |
|
ac_status=$? |
10828 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10829 |
|
(exit $ac_status); }; } && |
10830 |
|
{ ac_try='test -s conftest.$ac_objext' |
10831 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10832 |
|
(eval $ac_try) 2>&5 |
10833 |
|
ac_status=$? |
10834 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10835 |
|
(exit $ac_status); }; }; then |
10836 |
bfd_cv_have_sys_procfs_type_prpsinfo_t=yes |
bfd_cv_have_sys_procfs_type_prpsinfo_t=yes |
10837 |
else |
else |
10838 |
echo "configure: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
10839 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
10840 |
rm -rf conftest* |
|
10841 |
bfd_cv_have_sys_procfs_type_prpsinfo_t=no |
bfd_cv_have_sys_procfs_type_prpsinfo_t=no |
10842 |
|
|
10843 |
fi |
fi |
10844 |
rm -f conftest* |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
10845 |
fi |
fi |
10846 |
|
|
10847 |
if test $bfd_cv_have_sys_procfs_type_prpsinfo_t = yes; then |
if test $bfd_cv_have_sys_procfs_type_prpsinfo_t = yes; then |
10848 |
cat >> confdefs.h <<\EOF |
|
10849 |
|
cat >>confdefs.h <<\_ACEOF |
10850 |
#define HAVE_PRPSINFO_T 1 |
#define HAVE_PRPSINFO_T 1 |
10851 |
EOF |
_ACEOF |
10852 |
|
|
10853 |
fi |
fi |
10854 |
echo "$ac_t""$bfd_cv_have_sys_procfs_type_prpsinfo_t" 1>&6 |
echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prpsinfo_t" >&5 |
10855 |
|
echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prpsinfo_t" >&6 |
10856 |
|
|
10857 |
echo $ac_n "checking for prpsinfo32_t in sys/procfs.h""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for prpsinfo32_t in sys/procfs.h" >&5 |
10858 |
echo "configure:5655: checking for prpsinfo32_t in sys/procfs.h" >&5 |
echo $ECHO_N "checking for prpsinfo32_t in sys/procfs.h... $ECHO_C" >&6 |
10859 |
if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_prpsinfo32_t'+set}'`\" = set"; then |
if test "${bfd_cv_have_sys_procfs_type_prpsinfo32_t+set}" = set; then |
10860 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
10861 |
else |
else |
10862 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
10863 |
#line 5660 "configure" |
/* confdefs.h. */ |
10864 |
#include "confdefs.h" |
_ACEOF |
10865 |
|
cat confdefs.h >>conftest.$ac_ext |
10866 |
|
cat >>conftest.$ac_ext <<_ACEOF |
10867 |
|
/* end confdefs.h. */ |
10868 |
|
|
10869 |
#define _SYSCALL32 |
#define _SYSCALL32 |
10870 |
#include <sys/procfs.h> |
#include <sys/procfs.h> |
10871 |
int main() { |
int |
10872 |
|
main () |
10873 |
|
{ |
10874 |
prpsinfo32_t avar |
prpsinfo32_t avar |
10875 |
; return 0; } |
; |
10876 |
EOF |
return 0; |
10877 |
if { (eval echo configure:5669: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
} |
10878 |
rm -rf conftest* |
_ACEOF |
10879 |
|
rm -f conftest.$ac_objext |
10880 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
10881 |
|
(eval $ac_compile) 2>conftest.er1 |
10882 |
|
ac_status=$? |
10883 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
10884 |
|
rm -f conftest.er1 |
10885 |
|
cat conftest.err >&5 |
10886 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10887 |
|
(exit $ac_status); } && |
10888 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
10889 |
|
|| test ! -s conftest.err' |
10890 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10891 |
|
(eval $ac_try) 2>&5 |
10892 |
|
ac_status=$? |
10893 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10894 |
|
(exit $ac_status); }; } && |
10895 |
|
{ ac_try='test -s conftest.$ac_objext' |
10896 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10897 |
|
(eval $ac_try) 2>&5 |
10898 |
|
ac_status=$? |
10899 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10900 |
|
(exit $ac_status); }; }; then |
10901 |
bfd_cv_have_sys_procfs_type_prpsinfo32_t=yes |
bfd_cv_have_sys_procfs_type_prpsinfo32_t=yes |
10902 |
else |
else |
10903 |
echo "configure: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
10904 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
10905 |
rm -rf conftest* |
|
10906 |
bfd_cv_have_sys_procfs_type_prpsinfo32_t=no |
bfd_cv_have_sys_procfs_type_prpsinfo32_t=no |
10907 |
|
|
10908 |
fi |
fi |
10909 |
rm -f conftest* |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
10910 |
fi |
fi |
10911 |
|
|
10912 |
if test $bfd_cv_have_sys_procfs_type_prpsinfo32_t = yes; then |
if test $bfd_cv_have_sys_procfs_type_prpsinfo32_t = yes; then |
10913 |
cat >> confdefs.h <<\EOF |
|
10914 |
|
cat >>confdefs.h <<\_ACEOF |
10915 |
#define HAVE_PRPSINFO32_T 1 |
#define HAVE_PRPSINFO32_T 1 |
10916 |
EOF |
_ACEOF |
10917 |
|
|
10918 |
fi |
fi |
10919 |
echo "$ac_t""$bfd_cv_have_sys_procfs_type_prpsinfo32_t" 1>&6 |
echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prpsinfo32_t" >&5 |
10920 |
|
echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prpsinfo32_t" >&6 |
10921 |
|
|
10922 |
echo $ac_n "checking for psinfo_t in sys/procfs.h""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for psinfo_t in sys/procfs.h" >&5 |
10923 |
echo "configure:5691: checking for psinfo_t in sys/procfs.h" >&5 |
echo $ECHO_N "checking for psinfo_t in sys/procfs.h... $ECHO_C" >&6 |
10924 |
if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_psinfo_t'+set}'`\" = set"; then |
if test "${bfd_cv_have_sys_procfs_type_psinfo_t+set}" = set; then |
10925 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
10926 |
else |
else |
10927 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
10928 |
#line 5696 "configure" |
/* confdefs.h. */ |
10929 |
#include "confdefs.h" |
_ACEOF |
10930 |
|
cat confdefs.h >>conftest.$ac_ext |
10931 |
|
cat >>conftest.$ac_ext <<_ACEOF |
10932 |
|
/* end confdefs.h. */ |
10933 |
|
|
10934 |
#define _SYSCALL32 |
#define _SYSCALL32 |
10935 |
#include <sys/procfs.h> |
#include <sys/procfs.h> |
10936 |
int main() { |
int |
10937 |
|
main () |
10938 |
|
{ |
10939 |
psinfo_t avar |
psinfo_t avar |
10940 |
; return 0; } |
; |
10941 |
EOF |
return 0; |
10942 |
if { (eval echo configure:5705: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
} |
10943 |
rm -rf conftest* |
_ACEOF |
10944 |
|
rm -f conftest.$ac_objext |
10945 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
10946 |
|
(eval $ac_compile) 2>conftest.er1 |
10947 |
|
ac_status=$? |
10948 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
10949 |
|
rm -f conftest.er1 |
10950 |
|
cat conftest.err >&5 |
10951 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10952 |
|
(exit $ac_status); } && |
10953 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
10954 |
|
|| test ! -s conftest.err' |
10955 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10956 |
|
(eval $ac_try) 2>&5 |
10957 |
|
ac_status=$? |
10958 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10959 |
|
(exit $ac_status); }; } && |
10960 |
|
{ ac_try='test -s conftest.$ac_objext' |
10961 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10962 |
|
(eval $ac_try) 2>&5 |
10963 |
|
ac_status=$? |
10964 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10965 |
|
(exit $ac_status); }; }; then |
10966 |
bfd_cv_have_sys_procfs_type_psinfo_t=yes |
bfd_cv_have_sys_procfs_type_psinfo_t=yes |
10967 |
else |
else |
10968 |
echo "configure: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
10969 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
10970 |
rm -rf conftest* |
|
10971 |
bfd_cv_have_sys_procfs_type_psinfo_t=no |
bfd_cv_have_sys_procfs_type_psinfo_t=no |
10972 |
|
|
10973 |
fi |
fi |
10974 |
rm -f conftest* |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
10975 |
fi |
fi |
10976 |
|
|
10977 |
if test $bfd_cv_have_sys_procfs_type_psinfo_t = yes; then |
if test $bfd_cv_have_sys_procfs_type_psinfo_t = yes; then |
10978 |
cat >> confdefs.h <<\EOF |
|
10979 |
|
cat >>confdefs.h <<\_ACEOF |
10980 |
#define HAVE_PSINFO_T 1 |
#define HAVE_PSINFO_T 1 |
10981 |
EOF |
_ACEOF |
10982 |
|
|
10983 |
fi |
fi |
10984 |
echo "$ac_t""$bfd_cv_have_sys_procfs_type_psinfo_t" 1>&6 |
echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_psinfo_t" >&5 |
10985 |
|
echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_psinfo_t" >&6 |
10986 |
|
|
10987 |
echo $ac_n "checking for psinfo32_t in sys/procfs.h""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for psinfo32_t in sys/procfs.h" >&5 |
10988 |
echo "configure:5727: checking for psinfo32_t in sys/procfs.h" >&5 |
echo $ECHO_N "checking for psinfo32_t in sys/procfs.h... $ECHO_C" >&6 |
10989 |
if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_psinfo32_t'+set}'`\" = set"; then |
if test "${bfd_cv_have_sys_procfs_type_psinfo32_t+set}" = set; then |
10990 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
10991 |
else |
else |
10992 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
10993 |
#line 5732 "configure" |
/* confdefs.h. */ |
10994 |
#include "confdefs.h" |
_ACEOF |
10995 |
|
cat confdefs.h >>conftest.$ac_ext |
10996 |
|
cat >>conftest.$ac_ext <<_ACEOF |
10997 |
|
/* end confdefs.h. */ |
10998 |
|
|
10999 |
#define _SYSCALL32 |
#define _SYSCALL32 |
11000 |
#include <sys/procfs.h> |
#include <sys/procfs.h> |
11001 |
int main() { |
int |
11002 |
|
main () |
11003 |
|
{ |
11004 |
psinfo32_t avar |
psinfo32_t avar |
11005 |
; return 0; } |
; |
11006 |
EOF |
return 0; |
11007 |
if { (eval echo configure:5741: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
} |
11008 |
rm -rf conftest* |
_ACEOF |
11009 |
|
rm -f conftest.$ac_objext |
11010 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
11011 |
|
(eval $ac_compile) 2>conftest.er1 |
11012 |
|
ac_status=$? |
11013 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
11014 |
|
rm -f conftest.er1 |
11015 |
|
cat conftest.err >&5 |
11016 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11017 |
|
(exit $ac_status); } && |
11018 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
11019 |
|
|| test ! -s conftest.err' |
11020 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11021 |
|
(eval $ac_try) 2>&5 |
11022 |
|
ac_status=$? |
11023 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11024 |
|
(exit $ac_status); }; } && |
11025 |
|
{ ac_try='test -s conftest.$ac_objext' |
11026 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11027 |
|
(eval $ac_try) 2>&5 |
11028 |
|
ac_status=$? |
11029 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11030 |
|
(exit $ac_status); }; }; then |
11031 |
bfd_cv_have_sys_procfs_type_psinfo32_t=yes |
bfd_cv_have_sys_procfs_type_psinfo32_t=yes |
11032 |
else |
else |
11033 |
echo "configure: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
11034 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
11035 |
rm -rf conftest* |
|
11036 |
bfd_cv_have_sys_procfs_type_psinfo32_t=no |
bfd_cv_have_sys_procfs_type_psinfo32_t=no |
11037 |
|
|
11038 |
fi |
fi |
11039 |
rm -f conftest* |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
11040 |
fi |
fi |
11041 |
|
|
11042 |
if test $bfd_cv_have_sys_procfs_type_psinfo32_t = yes; then |
if test $bfd_cv_have_sys_procfs_type_psinfo32_t = yes; then |
11043 |
cat >> confdefs.h <<\EOF |
|
11044 |
|
cat >>confdefs.h <<\_ACEOF |
11045 |
#define HAVE_PSINFO32_T 1 |
#define HAVE_PSINFO32_T 1 |
11046 |
EOF |
_ACEOF |
11047 |
|
|
11048 |
fi |
fi |
11049 |
echo "$ac_t""$bfd_cv_have_sys_procfs_type_psinfo32_t" 1>&6 |
echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_psinfo32_t" >&5 |
11050 |
|
echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_psinfo32_t" >&6 |
11051 |
|
|
11052 |
echo $ac_n "checking for lwpstatus_t in sys/procfs.h""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for lwpstatus_t in sys/procfs.h" >&5 |
11053 |
echo "configure:5763: checking for lwpstatus_t in sys/procfs.h" >&5 |
echo $ECHO_N "checking for lwpstatus_t in sys/procfs.h... $ECHO_C" >&6 |
11054 |
if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_lwpstatus_t'+set}'`\" = set"; then |
if test "${bfd_cv_have_sys_procfs_type_lwpstatus_t+set}" = set; then |
11055 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
11056 |
else |
else |
11057 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
11058 |
#line 5768 "configure" |
/* confdefs.h. */ |
11059 |
#include "confdefs.h" |
_ACEOF |
11060 |
|
cat confdefs.h >>conftest.$ac_ext |
11061 |
|
cat >>conftest.$ac_ext <<_ACEOF |
11062 |
|
/* end confdefs.h. */ |
11063 |
|
|
11064 |
#define _SYSCALL32 |
#define _SYSCALL32 |
11065 |
#include <sys/procfs.h> |
#include <sys/procfs.h> |
11066 |
int main() { |
int |
11067 |
|
main () |
11068 |
|
{ |
11069 |
lwpstatus_t avar |
lwpstatus_t avar |
11070 |
; return 0; } |
; |
11071 |
EOF |
return 0; |
11072 |
if { (eval echo configure:5777: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
} |
11073 |
rm -rf conftest* |
_ACEOF |
11074 |
|
rm -f conftest.$ac_objext |
11075 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
11076 |
|
(eval $ac_compile) 2>conftest.er1 |
11077 |
|
ac_status=$? |
11078 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
11079 |
|
rm -f conftest.er1 |
11080 |
|
cat conftest.err >&5 |
11081 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11082 |
|
(exit $ac_status); } && |
11083 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
11084 |
|
|| test ! -s conftest.err' |
11085 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11086 |
|
(eval $ac_try) 2>&5 |
11087 |
|
ac_status=$? |
11088 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11089 |
|
(exit $ac_status); }; } && |
11090 |
|
{ ac_try='test -s conftest.$ac_objext' |
11091 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11092 |
|
(eval $ac_try) 2>&5 |
11093 |
|
ac_status=$? |
11094 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11095 |
|
(exit $ac_status); }; }; then |
11096 |
bfd_cv_have_sys_procfs_type_lwpstatus_t=yes |
bfd_cv_have_sys_procfs_type_lwpstatus_t=yes |
11097 |
else |
else |
11098 |
echo "configure: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
11099 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
11100 |
rm -rf conftest* |
|
11101 |
bfd_cv_have_sys_procfs_type_lwpstatus_t=no |
bfd_cv_have_sys_procfs_type_lwpstatus_t=no |
11102 |
|
|
11103 |
fi |
fi |
11104 |
rm -f conftest* |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
11105 |
fi |
fi |
11106 |
|
|
11107 |
if test $bfd_cv_have_sys_procfs_type_lwpstatus_t = yes; then |
if test $bfd_cv_have_sys_procfs_type_lwpstatus_t = yes; then |
11108 |
cat >> confdefs.h <<\EOF |
|
11109 |
|
cat >>confdefs.h <<\_ACEOF |
11110 |
#define HAVE_LWPSTATUS_T 1 |
#define HAVE_LWPSTATUS_T 1 |
11111 |
EOF |
_ACEOF |
11112 |
|
|
11113 |
fi |
fi |
11114 |
echo "$ac_t""$bfd_cv_have_sys_procfs_type_lwpstatus_t" 1>&6 |
echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_lwpstatus_t" >&5 |
11115 |
|
echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_lwpstatus_t" >&6 |
11116 |
|
|
11117 |
echo $ac_n "checking for lwpxstatus_t in sys/procfs.h""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for lwpxstatus_t in sys/procfs.h" >&5 |
11118 |
echo "configure:5799: checking for lwpxstatus_t in sys/procfs.h" >&5 |
echo $ECHO_N "checking for lwpxstatus_t in sys/procfs.h... $ECHO_C" >&6 |
11119 |
if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_lwpxstatus_t'+set}'`\" = set"; then |
if test "${bfd_cv_have_sys_procfs_type_lwpxstatus_t+set}" = set; then |
11120 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
11121 |
else |
else |
11122 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
11123 |
#line 5804 "configure" |
/* confdefs.h. */ |
11124 |
#include "confdefs.h" |
_ACEOF |
11125 |
|
cat confdefs.h >>conftest.$ac_ext |
11126 |
|
cat >>conftest.$ac_ext <<_ACEOF |
11127 |
|
/* end confdefs.h. */ |
11128 |
|
|
11129 |
#define _SYSCALL32 |
#define _SYSCALL32 |
11130 |
#include <sys/procfs.h> |
#include <sys/procfs.h> |
11131 |
int main() { |
int |
11132 |
|
main () |
11133 |
|
{ |
11134 |
lwpxstatus_t avar |
lwpxstatus_t avar |
11135 |
; return 0; } |
; |
11136 |
EOF |
return 0; |
11137 |
if { (eval echo configure:5813: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
} |
11138 |
rm -rf conftest* |
_ACEOF |
11139 |
|
rm -f conftest.$ac_objext |
11140 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
11141 |
|
(eval $ac_compile) 2>conftest.er1 |
11142 |
|
ac_status=$? |
11143 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
11144 |
|
rm -f conftest.er1 |
11145 |
|
cat conftest.err >&5 |
11146 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11147 |
|
(exit $ac_status); } && |
11148 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
11149 |
|
|| test ! -s conftest.err' |
11150 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11151 |
|
(eval $ac_try) 2>&5 |
11152 |
|
ac_status=$? |
11153 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11154 |
|
(exit $ac_status); }; } && |
11155 |
|
{ ac_try='test -s conftest.$ac_objext' |
11156 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11157 |
|
(eval $ac_try) 2>&5 |
11158 |
|
ac_status=$? |
11159 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11160 |
|
(exit $ac_status); }; }; then |
11161 |
bfd_cv_have_sys_procfs_type_lwpxstatus_t=yes |
bfd_cv_have_sys_procfs_type_lwpxstatus_t=yes |
11162 |
else |
else |
11163 |
echo "configure: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
11164 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
11165 |
rm -rf conftest* |
|
11166 |
bfd_cv_have_sys_procfs_type_lwpxstatus_t=no |
bfd_cv_have_sys_procfs_type_lwpxstatus_t=no |
11167 |
|
|
11168 |
fi |
fi |
11169 |
rm -f conftest* |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
11170 |
fi |
fi |
11171 |
|
|
11172 |
if test $bfd_cv_have_sys_procfs_type_lwpxstatus_t = yes; then |
if test $bfd_cv_have_sys_procfs_type_lwpxstatus_t = yes; then |
11173 |
cat >> confdefs.h <<\EOF |
|
11174 |
|
cat >>confdefs.h <<\_ACEOF |
11175 |
#define HAVE_LWPXSTATUS_T 1 |
#define HAVE_LWPXSTATUS_T 1 |
11176 |
EOF |
_ACEOF |
11177 |
|
|
11178 |
fi |
fi |
11179 |
echo "$ac_t""$bfd_cv_have_sys_procfs_type_lwpxstatus_t" 1>&6 |
echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_lwpxstatus_t" >&5 |
11180 |
|
echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_lwpxstatus_t" >&6 |
11181 |
|
|
11182 |
echo $ac_n "checking for lwpstatus_t.pr_context in sys/procfs.h""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for lwpstatus_t.pr_context in sys/procfs.h" >&5 |
11183 |
echo "configure:5835: checking for lwpstatus_t.pr_context in sys/procfs.h" >&5 |
echo $ECHO_N "checking for lwpstatus_t.pr_context in sys/procfs.h... $ECHO_C" >&6 |
11184 |
if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context'+set}'`\" = set"; then |
if test "${bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context+set}" = set; then |
11185 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
11186 |
else |
else |
11187 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
11188 |
#line 5840 "configure" |
/* confdefs.h. */ |
11189 |
#include "confdefs.h" |
_ACEOF |
11190 |
|
cat confdefs.h >>conftest.$ac_ext |
11191 |
|
cat >>conftest.$ac_ext <<_ACEOF |
11192 |
|
/* end confdefs.h. */ |
11193 |
|
|
11194 |
#define _SYSCALL32 |
#define _SYSCALL32 |
11195 |
#include <sys/procfs.h> |
#include <sys/procfs.h> |
11196 |
int main() { |
int |
11197 |
|
main () |
11198 |
|
{ |
11199 |
lwpstatus_t avar; void* aref = (void*) &avar.pr_context |
lwpstatus_t avar; void* aref = (void*) &avar.pr_context |
11200 |
; return 0; } |
; |
11201 |
EOF |
return 0; |
11202 |
if { (eval echo configure:5849: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
} |
11203 |
rm -rf conftest* |
_ACEOF |
11204 |
|
rm -f conftest.$ac_objext |
11205 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
11206 |
|
(eval $ac_compile) 2>conftest.er1 |
11207 |
|
ac_status=$? |
11208 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
11209 |
|
rm -f conftest.er1 |
11210 |
|
cat conftest.err >&5 |
11211 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11212 |
|
(exit $ac_status); } && |
11213 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
11214 |
|
|| test ! -s conftest.err' |
11215 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11216 |
|
(eval $ac_try) 2>&5 |
11217 |
|
ac_status=$? |
11218 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11219 |
|
(exit $ac_status); }; } && |
11220 |
|
{ ac_try='test -s conftest.$ac_objext' |
11221 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11222 |
|
(eval $ac_try) 2>&5 |
11223 |
|
ac_status=$? |
11224 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11225 |
|
(exit $ac_status); }; }; then |
11226 |
bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context=yes |
bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context=yes |
11227 |
else |
else |
11228 |
echo "configure: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
11229 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
11230 |
rm -rf conftest* |
|
11231 |
bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context=no |
bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context=no |
11232 |
|
|
11233 |
fi |
fi |
11234 |
rm -f conftest* |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
11235 |
fi |
fi |
11236 |
|
|
11237 |
if test $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context = yes; then |
if test $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context = yes; then |
11238 |
cat >> confdefs.h <<\EOF |
|
11239 |
|
cat >>confdefs.h <<\_ACEOF |
11240 |
#define HAVE_LWPSTATUS_T_PR_CONTEXT 1 |
#define HAVE_LWPSTATUS_T_PR_CONTEXT 1 |
11241 |
EOF |
_ACEOF |
11242 |
|
|
11243 |
fi |
fi |
11244 |
echo "$ac_t""$bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context" 1>&6 |
echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context" >&5 |
11245 |
|
echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context" >&6 |
11246 |
|
|
11247 |
echo $ac_n "checking for lwpstatus_t.pr_reg in sys/procfs.h""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for lwpstatus_t.pr_reg in sys/procfs.h" >&5 |
11248 |
echo "configure:5871: checking for lwpstatus_t.pr_reg in sys/procfs.h" >&5 |
echo $ECHO_N "checking for lwpstatus_t.pr_reg in sys/procfs.h... $ECHO_C" >&6 |
11249 |
if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg'+set}'`\" = set"; then |
if test "${bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg+set}" = set; then |
11250 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
11251 |
else |
else |
11252 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
11253 |
#line 5876 "configure" |
/* confdefs.h. */ |
11254 |
#include "confdefs.h" |
_ACEOF |
11255 |
|
cat confdefs.h >>conftest.$ac_ext |
11256 |
|
cat >>conftest.$ac_ext <<_ACEOF |
11257 |
|
/* end confdefs.h. */ |
11258 |
|
|
11259 |
#define _SYSCALL32 |
#define _SYSCALL32 |
11260 |
#include <sys/procfs.h> |
#include <sys/procfs.h> |
11261 |
int main() { |
int |
11262 |
|
main () |
11263 |
|
{ |
11264 |
lwpstatus_t avar; void* aref = (void*) &avar.pr_reg |
lwpstatus_t avar; void* aref = (void*) &avar.pr_reg |
11265 |
; return 0; } |
; |
11266 |
EOF |
return 0; |
11267 |
if { (eval echo configure:5885: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
} |
11268 |
rm -rf conftest* |
_ACEOF |
11269 |
|
rm -f conftest.$ac_objext |
11270 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
11271 |
|
(eval $ac_compile) 2>conftest.er1 |
11272 |
|
ac_status=$? |
11273 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
11274 |
|
rm -f conftest.er1 |
11275 |
|
cat conftest.err >&5 |
11276 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11277 |
|
(exit $ac_status); } && |
11278 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
11279 |
|
|| test ! -s conftest.err' |
11280 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11281 |
|
(eval $ac_try) 2>&5 |
11282 |
|
ac_status=$? |
11283 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11284 |
|
(exit $ac_status); }; } && |
11285 |
|
{ ac_try='test -s conftest.$ac_objext' |
11286 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11287 |
|
(eval $ac_try) 2>&5 |
11288 |
|
ac_status=$? |
11289 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11290 |
|
(exit $ac_status); }; }; then |
11291 |
bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg=yes |
bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg=yes |
11292 |
else |
else |
11293 |
echo "configure: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
11294 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
11295 |
rm -rf conftest* |
|
11296 |
bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg=no |
bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg=no |
11297 |
|
|
11298 |
fi |
fi |
11299 |
rm -f conftest* |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
11300 |
fi |
fi |
11301 |
|
|
11302 |
if test $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg = yes; then |
if test $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg = yes; then |
11303 |
cat >> confdefs.h <<\EOF |
|
11304 |
|
cat >>confdefs.h <<\_ACEOF |
11305 |
#define HAVE_LWPSTATUS_T_PR_REG 1 |
#define HAVE_LWPSTATUS_T_PR_REG 1 |
11306 |
EOF |
_ACEOF |
11307 |
|
|
11308 |
fi |
fi |
11309 |
echo "$ac_t""$bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg" 1>&6 |
echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg" >&5 |
11310 |
|
echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg" >&6 |
11311 |
|
|
11312 |
echo $ac_n "checking for win32_pstatus_t in sys/procfs.h""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for win32_pstatus_t in sys/procfs.h" >&5 |
11313 |
echo "configure:5907: checking for win32_pstatus_t in sys/procfs.h" >&5 |
echo $ECHO_N "checking for win32_pstatus_t in sys/procfs.h... $ECHO_C" >&6 |
11314 |
if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_win32_pstatus_t'+set}'`\" = set"; then |
if test "${bfd_cv_have_sys_procfs_type_win32_pstatus_t+set}" = set; then |
11315 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
11316 |
else |
else |
11317 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
11318 |
#line 5912 "configure" |
/* confdefs.h. */ |
11319 |
#include "confdefs.h" |
_ACEOF |
11320 |
|
cat confdefs.h >>conftest.$ac_ext |
11321 |
|
cat >>conftest.$ac_ext <<_ACEOF |
11322 |
|
/* end confdefs.h. */ |
11323 |
|
|
11324 |
#define _SYSCALL32 |
#define _SYSCALL32 |
11325 |
#include <sys/procfs.h> |
#include <sys/procfs.h> |
11326 |
int main() { |
int |
11327 |
|
main () |
11328 |
|
{ |
11329 |
win32_pstatus_t avar |
win32_pstatus_t avar |
11330 |
; return 0; } |
; |
11331 |
EOF |
return 0; |
11332 |
if { (eval echo configure:5921: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
} |
11333 |
rm -rf conftest* |
_ACEOF |
11334 |
|
rm -f conftest.$ac_objext |
11335 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
11336 |
|
(eval $ac_compile) 2>conftest.er1 |
11337 |
|
ac_status=$? |
11338 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
11339 |
|
rm -f conftest.er1 |
11340 |
|
cat conftest.err >&5 |
11341 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11342 |
|
(exit $ac_status); } && |
11343 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
11344 |
|
|| test ! -s conftest.err' |
11345 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11346 |
|
(eval $ac_try) 2>&5 |
11347 |
|
ac_status=$? |
11348 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11349 |
|
(exit $ac_status); }; } && |
11350 |
|
{ ac_try='test -s conftest.$ac_objext' |
11351 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11352 |
|
(eval $ac_try) 2>&5 |
11353 |
|
ac_status=$? |
11354 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11355 |
|
(exit $ac_status); }; }; then |
11356 |
bfd_cv_have_sys_procfs_type_win32_pstatus_t=yes |
bfd_cv_have_sys_procfs_type_win32_pstatus_t=yes |
11357 |
else |
else |
11358 |
echo "configure: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
11359 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
11360 |
rm -rf conftest* |
|
11361 |
bfd_cv_have_sys_procfs_type_win32_pstatus_t=no |
bfd_cv_have_sys_procfs_type_win32_pstatus_t=no |
11362 |
|
|
11363 |
fi |
fi |
11364 |
rm -f conftest* |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
11365 |
fi |
fi |
11366 |
|
|
11367 |
if test $bfd_cv_have_sys_procfs_type_win32_pstatus_t = yes; then |
if test $bfd_cv_have_sys_procfs_type_win32_pstatus_t = yes; then |
11368 |
cat >> confdefs.h <<\EOF |
|
11369 |
|
cat >>confdefs.h <<\_ACEOF |
11370 |
#define HAVE_WIN32_PSTATUS_T 1 |
#define HAVE_WIN32_PSTATUS_T 1 |
11371 |
EOF |
_ACEOF |
11372 |
|
|
11373 |
fi |
fi |
11374 |
echo "$ac_t""$bfd_cv_have_sys_procfs_type_win32_pstatus_t" 1>&6 |
echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_win32_pstatus_t" >&5 |
11375 |
|
echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_win32_pstatus_t" >&6 |
11376 |
|
|
11377 |
fi |
fi |
11378 |
fi |
fi |
11379 |
|
|
11380 |
|
|
11381 |
if test -n "$TRAD_HEADER"; then |
if test -n "$TRAD_HEADER"; then |
11382 |
cat >> confdefs.h <<EOF |
|
11383 |
|
cat >>confdefs.h <<_ACEOF |
11384 |
#define TRAD_HEADER $TRAD_HEADER |
#define TRAD_HEADER $TRAD_HEADER |
11385 |
EOF |
_ACEOF |
11386 |
|
|
11387 |
fi |
fi |
11388 |
|
|
11407 |
fi |
fi |
11408 |
;; |
;; |
11409 |
*) |
*) |
11410 |
x=`sed -n -e 's/^[ ]*PICFLAG[ ]*=[ ]*//p' < ../libiberty/Makefile | tail -1` |
x=`sed -n -e 's/^[ ]*PICFLAG[ ]*=[ ]*//p' < ../libiberty/Makefile | sed -n '$p'` |
11411 |
if test -n "$x"; then |
if test -n "$x"; then |
11412 |
WIN32LIBADD="-L../libiberty/pic -liberty" |
WIN32LIBADD="-L../libiberty/pic -liberty" |
11413 |
fi |
fi |
11437 |
all_targets=false |
all_targets=false |
11438 |
defvec= |
defvec= |
11439 |
selvecs= |
selvecs= |
11440 |
|
assocvecs= |
11441 |
selarchs= |
selarchs= |
11442 |
TDEFINES= |
TDEFINES= |
11443 |
for targ in $target $canon_targets |
for targ in $target $canon_targets |
11444 |
do |
do |
11445 |
if test "x$targ" = "xall"; then |
if test "x$targ" = "xall"; then |
11446 |
all_targets=true |
all_targets=true |
11447 |
|
assocvecs="$assocvecs $targ_defvec $targ_selvecs" |
11448 |
else |
else |
11449 |
. $srcdir/config.bfd |
. $srcdir/config.bfd |
11450 |
if test "x$targ" = "x$target"; then |
if test "x$targ" = "x$target"; then |
11475 |
selvecs="$f" |
selvecs="$f" |
11476 |
|
|
11477 |
|
|
11478 |
|
# uniq the associated vectors in all the configured targets. |
11479 |
|
f="" |
11480 |
|
for i in $assocvecs ; do |
11481 |
|
case " $f " in |
11482 |
|
*" $i "*) ;; |
11483 |
|
*) f="$f $i" ;; |
11484 |
|
esac |
11485 |
|
done |
11486 |
|
assocvecs="$f" |
11487 |
|
|
11488 |
|
|
11489 |
# uniq the architectures in all the configured targets. |
# uniq the architectures in all the configured targets. |
11490 |
f="" |
f="" |
11491 |
for i in $selarchs ; do |
for i in $selarchs ; do |
11514 |
aout0_big_vec) tb="$tb aout0.lo aout32.lo" ;; |
aout0_big_vec) tb="$tb aout0.lo aout32.lo" ;; |
11515 |
aout_arm_big_vec) tb="$tb aout-arm.lo aout32.lo" ;; |
aout_arm_big_vec) tb="$tb aout-arm.lo aout32.lo" ;; |
11516 |
aout_arm_little_vec) tb="$tb aout-arm.lo aout32.lo" ;; |
aout_arm_little_vec) tb="$tb aout-arm.lo aout32.lo" ;; |
|
aout_mips_big_vec) tb="$tb mipsbsd.lo aout32.lo" ;; |
|
|
aout_mips_little_vec) tb="$tb mipsbsd.lo aout32.lo" ;; |
|
11517 |
apollocoff_vec) tb="$tb coff-apollo.lo" ;; |
apollocoff_vec) tb="$tb coff-apollo.lo" ;; |
11518 |
arm_epoc_pe_big_vec) tb="$tb epoc-pe-arm.lo peigen.lo cofflink.lo " ;; |
arm_epoc_pe_big_vec) tb="$tb epoc-pe-arm.lo peigen.lo cofflink.lo " ;; |
11519 |
arm_epoc_pe_little_vec) tb="$tb epoc-pe-arm.lo peigen.lo cofflink.lo " ;; |
arm_epoc_pe_little_vec) tb="$tb epoc-pe-arm.lo peigen.lo cofflink.lo " ;; |
11530 |
b_out_vec_little_host) tb="$tb bout.lo aout32.lo" ;; |
b_out_vec_little_host) tb="$tb bout.lo aout32.lo" ;; |
11531 |
bfd_efi_app_ia32_vec) tb="$tb efi-app-ia32.lo peigen.lo cofflink.lo" ;; |
bfd_efi_app_ia32_vec) tb="$tb efi-app-ia32.lo peigen.lo cofflink.lo" ;; |
11532 |
bfd_efi_app_ia64_vec) tb="$tb efi-app-ia64.lo pepigen.lo cofflink.lo"; target_size=64 ;; |
bfd_efi_app_ia64_vec) tb="$tb efi-app-ia64.lo pepigen.lo cofflink.lo"; target_size=64 ;; |
11533 |
|
bfd_elf32_am33lin_vec) tb="$tb elf32-am33lin.lo elf32.lo $elf" ;; |
11534 |
bfd_elf32_avr_vec) tb="$tb elf32-avr.lo elf32.lo $elf" ;; |
bfd_elf32_avr_vec) tb="$tb elf32-avr.lo elf32.lo $elf" ;; |
11535 |
bfd_elf32_big_generic_vec) tb="$tb elf32-gen.lo elf32.lo $elf" ;; |
bfd_elf32_big_generic_vec) tb="$tb elf32-gen.lo elf32.lo $elf" ;; |
11536 |
bfd_elf32_bigarc_vec) tb="$tb elf32-arc.lo elf32.lo $elf" ;; |
bfd_elf32_bigarc_vec) tb="$tb elf32-arc.lo elf32.lo $elf" ;; |
11537 |
bfd_elf32_bigarm_oabi_vec) tb="$tb elfarm-oabi.lo elf32.lo $elf" ;; |
bfd_elf32_bigarm_vec) tb="$tb elf32-arm.lo elf32.lo $elf" ;; |
11538 |
bfd_elf32_bigarm_vec) tb="$tb elfarm-nabi.lo elf32.lo $elf" ;; |
bfd_elf32_bigarm_symbian_vec) |
11539 |
|
tb="$tb elf32-arm.lo elf32.lo $elf" ;; |
11540 |
|
bfd_elf32_bigarm_vxworks_vec) |
11541 |
|
tb="$tb elf32-arm.lo elf32.lo $elf" ;; |
11542 |
bfd_elf32_bigmips_vec) tb="$tb elf32-mips.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo" ;; |
bfd_elf32_bigmips_vec) tb="$tb elf32-mips.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo" ;; |
11543 |
|
bfd_elf32_cr16c_vec) tb="$tb elf32-cr16c.lo elf32.lo $elf" ;; |
11544 |
bfd_elf32_cris_vec) tb="$tb elf32-cris.lo elf32.lo $elf" ;; |
bfd_elf32_cris_vec) tb="$tb elf32-cris.lo elf32.lo $elf" ;; |
11545 |
|
bfd_elf32_crx_vec) tb="$tb elf32-crx.lo elf32.lo $elf" ;; |
11546 |
bfd_elf32_d10v_vec) tb="$tb elf32-d10v.lo elf32.lo $elf" ;; |
bfd_elf32_d10v_vec) tb="$tb elf32-d10v.lo elf32.lo $elf" ;; |
11547 |
bfd_elf32_d30v_vec) tb="$tb elf32-d30v.lo elf32.lo $elf" ;; |
bfd_elf32_d30v_vec) tb="$tb elf32-d30v.lo elf32.lo $elf" ;; |
11548 |
bfd_elf32_dlx_big_vec) tb="$tb elf32-dlx.lo elf32.lo $elf" ;; |
bfd_elf32_dlx_big_vec) tb="$tb elf32-dlx.lo elf32.lo $elf" ;; |
11549 |
bfd_elf32_fr30_vec) tb="$tb elf32-fr30.lo elf32.lo $elf" ;; |
bfd_elf32_fr30_vec) tb="$tb elf32-fr30.lo elf32.lo $elf" ;; |
11550 |
bfd_elf32_frv_vec) tb="$tb elf32-frv.lo elf32.lo $elf" ;; |
bfd_elf32_frv_vec) tb="$tb elf32-frv.lo elf32.lo $elf" ;; |
11551 |
|
bfd_elf32_frvfdpic_vec) tb="$tb elf32-frv.lo elf32.lo $elf" ;; |
11552 |
bfd_elf32_h8300_vec) tb="$tb elf32-h8300.lo elf32.lo $elf" ;; |
bfd_elf32_h8300_vec) tb="$tb elf32-h8300.lo elf32.lo $elf" ;; |
11553 |
bfd_elf32_hppa_linux_vec) tb="$tb elf32-hppa.lo elf32.lo $elf" ;; |
bfd_elf32_hppa_linux_vec) tb="$tb elf32-hppa.lo elf32.lo $elf" ;; |
11554 |
|
bfd_elf32_hppa_nbsd_vec) tb="$tb elf32-hppa.lo elf32.lo $elf" ;; |
11555 |
bfd_elf32_hppa_vec) tb="$tb elf32-hppa.lo elf32.lo $elf" ;; |
bfd_elf32_hppa_vec) tb="$tb elf32-hppa.lo elf32.lo $elf" ;; |
11556 |
bfd_elf32_i370_vec) tb="$tb elf32-i370.lo elf32.lo $elf" ;; |
bfd_elf32_i370_vec) tb="$tb elf32-i370.lo elf32.lo $elf" ;; |
11557 |
|
bfd_elf32_i386_freebsd_vec) tb="$tb elf32-i386.lo elf32.lo $elf" ;; |
11558 |
bfd_elf32_i386_vec) tb="$tb elf32-i386.lo elf32.lo $elf" ;; |
bfd_elf32_i386_vec) tb="$tb elf32-i386.lo elf32.lo $elf" ;; |
|
bfd_elf32_i386qnx_vec) tb="$tb elf32-i386qnx.lo elf32.lo $elf" ;; |
|
11559 |
bfd_elf32_i860_little_vec) tb="$tb elf32-i860.lo elf32.lo $elf" ;; |
bfd_elf32_i860_little_vec) tb="$tb elf32-i860.lo elf32.lo $elf" ;; |
11560 |
bfd_elf32_i860_vec) tb="$tb elf32-i860.lo elf32.lo $elf" ;; |
bfd_elf32_i860_vec) tb="$tb elf32-i860.lo elf32.lo $elf" ;; |
11561 |
bfd_elf32_i960_vec) tb="$tb elf32-i960.lo elf32.lo $elf" ;; |
bfd_elf32_i960_vec) tb="$tb elf32-i960.lo elf32.lo $elf" ;; |
11562 |
bfd_elf32_ia64_big_vec) tb="$tb elf32-ia64.lo elf32.lo $elf" ;; |
bfd_elf32_ia64_big_vec) tb="$tb elf32-ia64.lo elf32.lo $elf" ;; |
11563 |
bfd_elf32_ia64_hpux_big_vec) tb="$tb elf32-ia64.lo elf32.lo $elf";; |
bfd_elf32_ia64_hpux_big_vec) tb="$tb elf32-ia64.lo elf32.lo $elf";; |
11564 |
bfd_elf32_ip2k_vec) tb="$tb elf32-ip2k.lo elf32.lo $elf" ;; |
bfd_elf32_ip2k_vec) tb="$tb elf32-ip2k.lo elf32.lo $elf" ;; |
11565 |
|
bfd_elf32_iq2000_vec) tb="$tb elf32-iq2000.lo elf32.lo $elf" ;; |
11566 |
bfd_elf32_little_generic_vec) tb="$tb elf32-gen.lo elf32.lo $elf" ;; |
bfd_elf32_little_generic_vec) tb="$tb elf32-gen.lo elf32.lo $elf" ;; |
11567 |
bfd_elf32_littlearc_vec) tb="$tb elf32-arc.lo elf32.lo $elf" ;; |
bfd_elf32_littlearc_vec) tb="$tb elf32-arc.lo elf32.lo $elf" ;; |
11568 |
bfd_elf32_littlearm_oabi_vec) tb="$tb elfarm-oabi.lo elf32.lo $elf" ;; |
bfd_elf32_littlearm_symbian_vec) |
11569 |
bfd_elf32_littlearm_vec) tb="$tb elfarm-nabi.lo elf32.lo $elf" ;; |
tb="$tb elf32-arm.lo elf32.lo $elf" ;; |
11570 |
|
bfd_elf32_littlearm_vxworks_vec) |
11571 |
|
tb="$tb elf32-arm.lo elf32.lo $elf" ;; |
11572 |
|
bfd_elf32_littlearm_vec) tb="$tb elf32-arm.lo elf32.lo $elf" ;; |
11573 |
bfd_elf32_littlemips_vec) tb="$tb elf32-mips.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo" ;; |
bfd_elf32_littlemips_vec) tb="$tb elf32-mips.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo" ;; |
11574 |
bfd_elf32_m32r_vec) tb="$tb elf32-m32r.lo elf32.lo $elf" ;; |
bfd_elf32_m32r_vec) tb="$tb elf32-m32r.lo elf32.lo $elf" ;; |
11575 |
bfd_elf32_m68hc11_vec) tb="$tb elf32-m68hc11.lo elf32.lo $elf" ;; |
bfd_elf32_m32rle_vec) tb="$tb elf32-m32r.lo elf32.lo $elf" ;; |
11576 |
bfd_elf32_m68hc12_vec) tb="$tb elf32-m68hc12.lo elf32.lo $elf" ;; |
bfd_elf32_m32rlin_vec) tb="$tb elf32-m32r.lo elf32.lo $elf" ;; |
11577 |
|
bfd_elf32_m32rlelin_vec) tb="$tb elf32-m32r.lo elf32.lo $elf" ;; |
11578 |
|
bfd_elf32_m68hc11_vec) tb="$tb elf32-m68hc11.lo elf32-m68hc1x.lo elf32.lo $elf" ;; |
11579 |
|
bfd_elf32_m68hc12_vec) tb="$tb elf32-m68hc12.lo elf32-m68hc1x.lo elf32.lo $elf" ;; |
11580 |
bfd_elf32_m68k_vec) tb="$tb elf32-m68k.lo elf32.lo $elf" ;; |
bfd_elf32_m68k_vec) tb="$tb elf32-m68k.lo elf32.lo $elf" ;; |
11581 |
bfd_elf32_m88k_vec) tb="$tb elf32-m88k.lo elf32.lo $elf" ;; |
bfd_elf32_m88k_vec) tb="$tb elf32-m88k.lo elf32.lo $elf" ;; |
11582 |
bfd_elf32_mcore_big_vec) tb="$tb elf32-mcore.lo elf32.lo $elf" ;; |
bfd_elf32_mcore_big_vec) tb="$tb elf32-mcore.lo elf32.lo $elf" ;; |
11583 |
bfd_elf32_mcore_little_vec) tb="$tb elf32-mcore.lo elf32.lo $elf" ;; |
bfd_elf32_mcore_little_vec) tb="$tb elf32-mcore.lo elf32.lo $elf" ;; |
11584 |
bfd_elf32_mn10200_vec) tb="$tb elf-m10200.lo elf32.lo $elf" ;; |
bfd_elf32_mn10200_vec) tb="$tb elf-m10200.lo elf32.lo $elf" ;; |
11585 |
bfd_elf32_mn10300_vec) tb="$tb elf-m10300.lo elf32.lo $elf" ;; |
bfd_elf32_mn10300_vec) tb="$tb elf-m10300.lo elf32.lo $elf" ;; |
11586 |
|
bfd_elf32_msp430_vec) tb="$tb elf32-msp430.lo elf32.lo $elf" ;; |
11587 |
|
bfd_elf32_nbigmips_vec) tb="$tb elfn32-mips.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;; |
11588 |
|
bfd_elf32_nlittlemips_vec) tb="$tb elfn32-mips.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;; |
11589 |
|
bfd_elf32_ntradbigmips_vec) tb="$tb elfn32-mips.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;; |
11590 |
|
bfd_elf32_ntradlittlemips_vec) tb="$tb elfn32-mips.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;; |
11591 |
bfd_elf32_openrisc_vec) tb="$tb elf32-openrisc.lo elf32.lo $elf" ;; |
bfd_elf32_openrisc_vec) tb="$tb elf32-openrisc.lo elf32.lo $elf" ;; |
11592 |
bfd_elf32_or32_big_vec) tb="$tb elf32-or32.lo elf32.lo $elf" ;; |
bfd_elf32_or32_big_vec) tb="$tb elf32-or32.lo elf32.lo $elf" ;; |
11593 |
bfd_elf32_pj_vec) tb="$tb elf32-pj.lo elf32.lo $elf";; |
bfd_elf32_pj_vec) tb="$tb elf32-pj.lo elf32.lo $elf";; |
11600 |
# which needs it but does not list it. Should be fixed in right place. |
# which needs it but does not list it. Should be fixed in right place. |
11601 |
bfd_elf32_sh64_vec) tb="$tb elf32-sh64.lo elf32-sh64-com.lo elf32.lo $elf cofflink.lo" target_size=64 ;; |
bfd_elf32_sh64_vec) tb="$tb elf32-sh64.lo elf32-sh64-com.lo elf32.lo $elf cofflink.lo" target_size=64 ;; |
11602 |
bfd_elf32_sh64l_vec) tb="$tb elf32-sh64.lo elf32-sh64-com.lo elf32.lo $elf cofflink.lo" target_size=64 ;; |
bfd_elf32_sh64l_vec) tb="$tb elf32-sh64.lo elf32-sh64-com.lo elf32.lo $elf cofflink.lo" target_size=64 ;; |
11603 |
bfd_elf32_sh64lnbsd_vec) tb="$tb elf32-sh64-nbsd.lo elf32-sh64-com.lo elf32.lo $elf cofflink.lo" ;; |
bfd_elf32_sh64lin_vec) tb="$tb elf32-sh64.lo elf32-sh64-com.lo elf32.lo $elf cofflink.lo" target_size=64 ;; |
11604 |
bfd_elf32_sh64nbsd_vec) tb="$tb elf32-sh64-nbsd.lo elf32-sh64-com.lo elf32.lo $elf cofflink.lo" ;; |
bfd_elf32_sh64blin_vec) tb="$tb elf32-sh64.lo elf32-sh64-com.lo elf32.lo $elf cofflink.lo" target_size=64 ;; |
11605 |
|
bfd_elf32_sh64lnbsd_vec) tb="$tb elf32-sh64.lo elf32-sh64-com.lo elf32.lo $elf cofflink.lo" ;; |
11606 |
|
bfd_elf32_sh64nbsd_vec) tb="$tb elf32-sh64.lo elf32-sh64-com.lo elf32.lo $elf cofflink.lo" ;; |
11607 |
bfd_elf32_sh_vec) tb="$tb elf32-sh.lo elf32.lo $elf coff-sh.lo" ;; |
bfd_elf32_sh_vec) tb="$tb elf32-sh.lo elf32.lo $elf coff-sh.lo" ;; |
11608 |
bfd_elf32_shblin_vec) tb="$tb elf32-sh-lin.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;; |
bfd_elf32_shblin_vec) tb="$tb elf32-sh.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;; |
11609 |
bfd_elf32_shl_vec) tb="$tb elf32-sh.lo elf32.lo $elf coff-sh.lo" ;; |
bfd_elf32_shl_vec) tb="$tb elf32-sh.lo elf32.lo $elf coff-sh.lo" ;; |
11610 |
bfd_elf32_shlin_vec) tb="$tb elf32-sh-lin.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;; |
bfd_elf32_shl_symbian_vec) tb="$tb elf32-sh-symbian.lo elf32-sh64-com.lo elf32.lo $elf coff-sh.lo" ;; |
11611 |
bfd_elf32_shlnbsd_vec) tb="$tb elf32-sh-nbsd.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;; |
bfd_elf32_shlin_vec) tb="$tb elf32-sh.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;; |
11612 |
bfd_elf32_shnbsd_vec) tb="$tb elf32-sh-nbsd.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;; |
bfd_elf32_shlnbsd_vec) tb="$tb elf32-sh.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;; |
11613 |
|
bfd_elf32_shnbsd_vec) tb="$tb elf32-sh.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;; |
11614 |
bfd_elf32_sparc_vec) tb="$tb elf32-sparc.lo elf32.lo $elf" ;; |
bfd_elf32_sparc_vec) tb="$tb elf32-sparc.lo elf32.lo $elf" ;; |
11615 |
bfd_elf32_tradbigmips_vec) tb="$tb elf32-mips.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo" ;; |
bfd_elf32_tradbigmips_vec) tb="$tb elf32-mips.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo" ;; |
11616 |
bfd_elf32_tradlittlemips_vec) tb="$tb elf32-mips.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo" ;; |
bfd_elf32_tradlittlemips_vec) tb="$tb elf32-mips.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo" ;; |
11618 |
bfd_elf32_v850_vec) tb="$tb elf32-v850.lo elf32.lo $elf" ;; |
bfd_elf32_v850_vec) tb="$tb elf32-v850.lo elf32.lo $elf" ;; |
11619 |
bfd_elf32_vax_vec) tb="$tb elf32-vax.lo elf32.lo $elf" ;; |
bfd_elf32_vax_vec) tb="$tb elf32-vax.lo elf32.lo $elf" ;; |
11620 |
bfd_elf32_xstormy16_vec) tb="$tb elf32-xstormy16.lo elf32.lo $elf" ;; |
bfd_elf32_xstormy16_vec) tb="$tb elf32-xstormy16.lo elf32.lo $elf" ;; |
11621 |
|
bfd_elf32_xtensa_le_vec) tb="$tb xtensa-isa.lo xtensa-modules.lo elf32-xtensa.lo elf32.lo $elf" ;; |
11622 |
|
bfd_elf32_xtensa_be_vec) tb="$tb xtensa-isa.lo xtensa-modules.lo elf32-xtensa.lo elf32.lo $elf" ;; |
11623 |
|
bfd_elf64_alpha_freebsd_vec) tb="$tb elf64-alpha.lo elf64.lo $elf"; target_size=64 ;; |
11624 |
bfd_elf64_alpha_vec) tb="$tb elf64-alpha.lo elf64.lo $elf"; target_size=64 ;; |
bfd_elf64_alpha_vec) tb="$tb elf64-alpha.lo elf64.lo $elf"; target_size=64 ;; |
11625 |
bfd_elf64_big_generic_vec) tb="$tb elf64-gen.lo elf64.lo $elf"; target_size=64 ;; |
bfd_elf64_big_generic_vec) tb="$tb elf64-gen.lo elf64.lo $elf"; target_size=64 ;; |
11626 |
bfd_elf64_bigmips_vec) tb="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;; |
bfd_elf64_bigmips_vec) tb="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;; |
11627 |
bfd_elf64_hppa_linux_vec) tb="$tb elf64-hppa.lo elf64.lo $elf"; target_size=64 ;; |
bfd_elf64_hppa_linux_vec) tb="$tb elf64-hppa.lo elf64.lo $elf"; target_size=64 ;; |
11628 |
bfd_elf64_hppa_vec) tb="$tb elf64-hppa.lo elf64.lo $elf"; target_size=64 ;; |
bfd_elf64_hppa_vec) tb="$tb elf64-hppa.lo elf64.lo $elf"; target_size=64 ;; |
|
bfd_elf64_ia64_aix_big_vec) tb="$tb elf64-ia64.lo elf64.lo $elf"; target_size=64 ;; |
|
|
bfd_elf64_ia64_aix_little_vec) tb="$tb elf64-ia64.lo elf64.lo $elf"; target_size=64 ;; |
|
11629 |
bfd_elf64_ia64_big_vec) tb="$tb elf64-ia64.lo elf64.lo $elf"; target_size=64 ;; |
bfd_elf64_ia64_big_vec) tb="$tb elf64-ia64.lo elf64.lo $elf"; target_size=64 ;; |
11630 |
bfd_elf64_ia64_hpux_big_vec) tb="$tb elf64-ia64.lo elf64.lo $elf"; target_size=64 ;; |
bfd_elf64_ia64_hpux_big_vec) tb="$tb elf64-ia64.lo elf64.lo $elf"; target_size=64 ;; |
11631 |
bfd_elf64_ia64_little_vec) tb="$tb elf64-ia64.lo elf64.lo $elf"; target_size=64 ;; |
bfd_elf64_ia64_little_vec) tb="$tb elf64-ia64.lo elf64.lo $elf"; target_size=64 ;; |
11637 |
bfd_elf64_s390_vec) tb="$tb elf64-s390.lo elf64.lo $elf"; target_size=64 ;; |
bfd_elf64_s390_vec) tb="$tb elf64-s390.lo elf64.lo $elf"; target_size=64 ;; |
11638 |
bfd_elf64_sh64_vec) tb="$tb elf64-sh64.lo elf64.lo $elf" target_size=64 ;; |
bfd_elf64_sh64_vec) tb="$tb elf64-sh64.lo elf64.lo $elf" target_size=64 ;; |
11639 |
bfd_elf64_sh64l_vec) tb="$tb elf64-sh64.lo elf64.lo $elf" target_size=64 ;; |
bfd_elf64_sh64l_vec) tb="$tb elf64-sh64.lo elf64.lo $elf" target_size=64 ;; |
11640 |
bfd_elf64_sh64lnbsd_vec) tb="$tb elf64-sh64-nbsd.lo elf64.lo $elf" target_size=64 ;; |
bfd_elf64_sh64lin_vec) tb="$tb elf64-sh64.lo elf64.lo $elf" target_size=64 ;; |
11641 |
bfd_elf64_sh64nbsd_vec) tb="$tb elf64-sh64-nbsd.lo elf64.lo $elf" target_size=64 ;; |
bfd_elf64_sh64blin_vec) tb="$tb elf64-sh64.lo elf64.lo $elf" target_size=64 ;; |
11642 |
|
bfd_elf64_sh64lnbsd_vec) tb="$tb elf64-sh64.lo elf64.lo $elf" target_size=64 ;; |
11643 |
|
bfd_elf64_sh64nbsd_vec) tb="$tb elf64-sh64.lo elf64.lo $elf" target_size=64 ;; |
11644 |
bfd_elf64_sparc_vec) tb="$tb elf64-sparc.lo elf64.lo $elf"; target_size=64 ;; |
bfd_elf64_sparc_vec) tb="$tb elf64-sparc.lo elf64.lo $elf"; target_size=64 ;; |
11645 |
bfd_elf64_tradbigmips_vec) tb="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;; |
bfd_elf64_tradbigmips_vec) tb="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;; |
11646 |
bfd_elf64_tradlittlemips_vec) tb="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;; |
bfd_elf64_tradlittlemips_vec) tb="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;; |
11692 |
m68ksysvcoff_vec) tb="$tb coff-svm68k.lo cofflink.lo" ;; |
m68ksysvcoff_vec) tb="$tb coff-svm68k.lo cofflink.lo" ;; |
11693 |
m88kbcs_vec) tb="$tb coff-m88k.lo" ;; |
m88kbcs_vec) tb="$tb coff-m88k.lo" ;; |
11694 |
m88kmach3_vec) tb="$tb m88kmach3.lo aout32.lo" ;; |
m88kmach3_vec) tb="$tb m88kmach3.lo aout32.lo" ;; |
11695 |
|
m88kopenbsd_vec) tb="$tb m88kopenbsd.lo aout32.lo" ;; |
11696 |
|
maxqcoff_vec) tb="$tb coff-maxq.lo" ;; |
11697 |
mach_o_be_vec) tb="$tb mach-o.lo" ;; |
mach_o_be_vec) tb="$tb mach-o.lo" ;; |
11698 |
mach_o_le_vec) tb="$tb mach-o.lo" ;; |
mach_o_le_vec) tb="$tb mach-o.lo" ;; |
11699 |
mach_o_fat_vec) tb="$tb mach-o.lo" ;; |
mach_o_fat_vec) tb="$tb mach-o.lo" ;; |
11711 |
or32coff_big_vec) tb="$tb coff-or32.lo cofflink.lo" ;; |
or32coff_big_vec) tb="$tb coff-or32.lo cofflink.lo" ;; |
11712 |
pc532machaout_vec) tb="$tb pc532-mach.lo aout-ns32k.lo" ;; |
pc532machaout_vec) tb="$tb pc532-mach.lo aout-ns32k.lo" ;; |
11713 |
pc532netbsd_vec) tb="$tb ns32knetbsd.lo aout-ns32k.lo" ;; |
pc532netbsd_vec) tb="$tb ns32knetbsd.lo aout-ns32k.lo" ;; |
11714 |
|
pef_vec) tb="$tb pef.lo" ;; |
11715 |
|
pef_xlib_vec) tb="$tb pef.lo" ;; |
11716 |
pdp11_aout_vec) tb="$tb pdp11.lo" ;; |
pdp11_aout_vec) tb="$tb pdp11.lo" ;; |
11717 |
pmac_xcoff_vec) tb="$tb coff-rs6000.lo xcofflink.lo" ;; |
pmac_xcoff_vec) tb="$tb coff-rs6000.lo xcofflink.lo" ;; |
11718 |
ppcboot_vec) tb="$tb ppcboot.lo" ;; |
ppcboot_vec) tb="$tb ppcboot.lo" ;; |
11733 |
sparclynx_coff_vec) tb="$tb cf-sparclynx.lo lynx-core.lo" ;; |
sparclynx_coff_vec) tb="$tb cf-sparclynx.lo lynx-core.lo" ;; |
11734 |
sparcnetbsd_vec) tb="$tb sparcnetbsd.lo aout32.lo" ;; |
sparcnetbsd_vec) tb="$tb sparcnetbsd.lo aout32.lo" ;; |
11735 |
sunos_big_vec) tb="$tb sunos.lo aout32.lo" ;; |
sunos_big_vec) tb="$tb sunos.lo aout32.lo" ;; |
11736 |
|
sym_vec) tb="$tb xsym.lo" ;; |
11737 |
tic30_aout_vec) tb="$tb aout-tic30.lo" ;; |
tic30_aout_vec) tb="$tb aout-tic30.lo" ;; |
11738 |
tic30_coff_vec) tb="$tb coff-tic30.lo" ;; |
tic30_coff_vec) tb="$tb coff-tic30.lo" ;; |
11739 |
|
tic4x_coff0_vec) tb="$tb coff-tic4x.lo" ;; |
11740 |
|
tic4x_coff0_beh_vec) tb="$tb coff-tic4x.lo" ;; |
11741 |
|
tic4x_coff1_vec) tb="$tb coff-tic4x.lo" ;; |
11742 |
|
tic4x_coff1_beh_vec) tb="$tb coff-tic4x.lo" ;; |
11743 |
|
tic4x_coff2_vec) tb="$tb coff-tic4x.lo" ;; |
11744 |
|
tic4x_coff2_beh_vec) tb="$tb coff-tic4x.lo" ;; |
11745 |
tic54x_coff0_beh_vec) tb="$tb coff-tic54x.lo" ;; |
tic54x_coff0_beh_vec) tb="$tb coff-tic54x.lo" ;; |
11746 |
tic54x_coff0_vec) tb="$tb coff-tic54x.lo" ;; |
tic54x_coff0_vec) tb="$tb coff-tic54x.lo" ;; |
11747 |
tic54x_coff1_beh_vec) tb="$tb coff-tic54x.lo" ;; |
tic54x_coff1_beh_vec) tb="$tb coff-tic54x.lo" ;; |
11767 |
cisco_core_little_vec) tb="$tb cisco-core.lo" ;; |
cisco_core_little_vec) tb="$tb cisco-core.lo" ;; |
11768 |
|
|
11769 |
"") ;; |
"") ;; |
11770 |
*) { echo "configure: error: *** unknown target vector $vec" 1>&2; exit 1; } ;; |
*) { { echo "$as_me:$LINENO: error: *** unknown target vector $vec" >&5 |
11771 |
|
echo "$as_me: error: *** unknown target vector $vec" >&2;} |
11772 |
|
{ (exit 1); exit 1; }; } ;; |
11773 |
esac |
esac |
11774 |
|
|
11775 |
if test ${target_size} = 64; then |
if test ${target_size} = 64; then |
11813 |
selvecs= |
selvecs= |
11814 |
havevecs= |
havevecs= |
11815 |
selarchs= |
selarchs= |
11816 |
|
test -n "$assocvecs" && |
11817 |
|
assocvecs=`echo $assocvecs | sed -e 's/^/\&/' -e 's/ \(.\)/,\&\1/g'` |
11818 |
else # all_targets is true |
else # all_targets is true |
11819 |
# Only set these if they will be nonempty, for the clever echo. |
# Only set these if they will be nonempty, for the clever echo. |
11820 |
havevecs= |
havevecs= |
11821 |
|
assocvecs= |
11822 |
test -n "$selvecs" && |
test -n "$selvecs" && |
11823 |
havevecs=`echo $selvecs | sed -e 's/^/-DHAVE_/' -e 's/ \(.\)/ -DHAVE_\1/g'` |
havevecs=`echo $selvecs | sed -e 's/^/-DHAVE_/' -e 's/ \(.\)/ -DHAVE_\1/g'` |
11824 |
test -n "$selvecs" && |
test -n "$selvecs" && |
11832 |
wordsize=64 |
wordsize=64 |
11833 |
bfd_libs='$(BFD64_LIBS) $(BFD32_LIBS)' |
bfd_libs='$(BFD64_LIBS) $(BFD32_LIBS)' |
11834 |
all_backends='$(BFD64_BACKENDS) $(BFD32_BACKENDS)' |
all_backends='$(BFD64_BACKENDS) $(BFD32_BACKENDS)' |
11835 |
if test -z "$GCC" && test "$BFD_HOST_64BIT_LONG" = "0" && test "$BFD_HOST_64_BIT_DEFINED" = "0"; then |
if test $BFD_HOST_64_BIT_DEFINED = 0; then |
11836 |
echo "configure: warning: You have requested a 64 bit BFD configuration, but" 1>&2 |
{ echo "$as_me:$LINENO: WARNING: You have requested a 64 bit BFD configuration, but" >&5 |
11837 |
echo "configure: warning: your compiler may not have a 64 bit integral type" 1>&2 |
echo "$as_me: WARNING: You have requested a 64 bit BFD configuration, but" >&2;} |
11838 |
|
{ echo "$as_me:$LINENO: WARNING: your compiler may not have a 64 bit integral type" >&5 |
11839 |
|
echo "$as_me: WARNING: your compiler may not have a 64 bit integral type" >&2;} |
11840 |
fi |
fi |
11841 |
if test -n "$GCC" ; then |
if test -n "$GCC" ; then |
11842 |
bad_64bit_gcc=no; |
bad_64bit_gcc=no; |
11843 |
echo $ac_n "checking for gcc version with buggy 64-bit support""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for gcc version with buggy 64-bit support" >&5 |
11844 |
echo "configure:6353: checking for gcc version with buggy 64-bit support" >&5 |
echo $ECHO_N "checking for gcc version with buggy 64-bit support... $ECHO_C" >&6 |
11845 |
# Add more tests for gcc versions with non-working 64-bit support here. |
# Add more tests for gcc versions with non-working 64-bit support here. |
11846 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
11847 |
#line 6356 "configure" |
/* confdefs.h. */ |
11848 |
#include "confdefs.h" |
_ACEOF |
11849 |
|
cat confdefs.h >>conftest.$ac_ext |
11850 |
|
cat >>conftest.$ac_ext <<_ACEOF |
11851 |
|
/* end confdefs.h. */ |
11852 |
:__GNUC__:__GNUC_MINOR__:__i386__: |
:__GNUC__:__GNUC_MINOR__:__i386__: |
11853 |
EOF |
_ACEOF |
11854 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
11855 |
egrep ": 2 : 91 : 1 :" >/dev/null 2>&1; then |
$EGREP ": 2 : 91 : 1 :" >/dev/null 2>&1; then |
|
rm -rf conftest* |
|
11856 |
bad_64bit_gcc=yes; |
bad_64bit_gcc=yes; |
11857 |
echo "$ac_t""yes: egcs-1.1.2 on ix86 spotted" 1>&6 |
echo "$as_me:$LINENO: result: yes: egcs-1.1.2 on ix86 spotted" >&5 |
11858 |
|
echo "${ECHO_T}yes: egcs-1.1.2 on ix86 spotted" >&6 |
11859 |
else |
else |
11860 |
rm -rf conftest* |
echo "$as_me:$LINENO: result: no" >&5 |
11861 |
echo "$ac_t""no" 1>&6 |
echo "${ECHO_T}no" >&6 |
11862 |
fi |
fi |
11863 |
rm -f conftest* |
rm -f conftest* |
11864 |
|
|
11865 |
if test $bad_64bit_gcc = yes ; then |
if test $bad_64bit_gcc = yes ; then |
11866 |
{ echo "configure: error: A newer version of gcc is needed for the requested 64-bit BFD configuration" 1>&2; exit 1; } |
{ { echo "$as_me:$LINENO: error: A newer version of gcc is needed for the requested 64-bit BFD configuration" >&5 |
11867 |
|
echo "$as_me: error: A newer version of gcc is needed for the requested 64-bit BFD configuration" >&2;} |
11868 |
|
{ (exit 1); exit 1; }; } |
11869 |
fi |
fi |
11870 |
fi |
fi |
11871 |
;; |
;; |
11883 |
|
|
11884 |
|
|
11885 |
|
|
11886 |
|
# Determine the host dependant file_ptr a.k.a. off_t type. In order |
11887 |
|
# prefer: off64_t - if ftello64 and fseeko64, off_t - if ftello and |
11888 |
|
# fseeko, long. This assumes that sizeof off_t is .ge. sizeof long. |
11889 |
|
# Hopefully a reasonable assumption since fseeko et.al. should be |
11890 |
|
# upward compatible. |
11891 |
|
|
11892 |
|
|
11893 |
|
|
11894 |
|
|
11895 |
|
for ac_func in ftello ftello64 fseeko fseeko64 |
11896 |
|
do |
11897 |
|
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
11898 |
|
echo "$as_me:$LINENO: checking for $ac_func" >&5 |
11899 |
|
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
11900 |
|
if eval "test \"\${$as_ac_var+set}\" = set"; then |
11901 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
11902 |
|
else |
11903 |
|
cat >conftest.$ac_ext <<_ACEOF |
11904 |
|
/* confdefs.h. */ |
11905 |
|
_ACEOF |
11906 |
|
cat confdefs.h >>conftest.$ac_ext |
11907 |
|
cat >>conftest.$ac_ext <<_ACEOF |
11908 |
|
/* end confdefs.h. */ |
11909 |
|
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
11910 |
|
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
11911 |
|
#define $ac_func innocuous_$ac_func |
11912 |
|
|
11913 |
|
/* System header to define __stub macros and hopefully few prototypes, |
11914 |
|
which can conflict with char $ac_func (); below. |
11915 |
|
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
11916 |
|
<limits.h> exists even on freestanding compilers. */ |
11917 |
|
|
11918 |
|
#ifdef __STDC__ |
11919 |
|
# include <limits.h> |
11920 |
|
#else |
11921 |
|
# include <assert.h> |
11922 |
|
#endif |
11923 |
|
|
11924 |
|
#undef $ac_func |
11925 |
|
|
11926 |
|
/* Override any gcc2 internal prototype to avoid an error. */ |
11927 |
|
#ifdef __cplusplus |
11928 |
|
extern "C" |
11929 |
|
{ |
11930 |
|
#endif |
11931 |
|
/* We use char because int might match the return type of a gcc2 |
11932 |
|
builtin and then its argument prototype would still apply. */ |
11933 |
|
char $ac_func (); |
11934 |
|
/* The GNU C library defines this for functions which it implements |
11935 |
|
to always fail with ENOSYS. Some functions are actually named |
11936 |
|
something starting with __ and the normal name is an alias. */ |
11937 |
|
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
11938 |
|
choke me |
11939 |
|
#else |
11940 |
|
char (*f) () = $ac_func; |
11941 |
|
#endif |
11942 |
|
#ifdef __cplusplus |
11943 |
|
} |
11944 |
|
#endif |
11945 |
|
|
11946 |
|
int |
11947 |
|
main () |
11948 |
|
{ |
11949 |
|
return f != $ac_func; |
11950 |
|
; |
11951 |
|
return 0; |
11952 |
|
} |
11953 |
|
_ACEOF |
11954 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
11955 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
11956 |
|
(eval $ac_link) 2>conftest.er1 |
11957 |
|
ac_status=$? |
11958 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
11959 |
|
rm -f conftest.er1 |
11960 |
|
cat conftest.err >&5 |
11961 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11962 |
|
(exit $ac_status); } && |
11963 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
11964 |
|
|| test ! -s conftest.err' |
11965 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11966 |
|
(eval $ac_try) 2>&5 |
11967 |
|
ac_status=$? |
11968 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11969 |
|
(exit $ac_status); }; } && |
11970 |
|
{ ac_try='test -s conftest$ac_exeext' |
11971 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11972 |
|
(eval $ac_try) 2>&5 |
11973 |
|
ac_status=$? |
11974 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11975 |
|
(exit $ac_status); }; }; then |
11976 |
|
eval "$as_ac_var=yes" |
11977 |
|
else |
11978 |
|
echo "$as_me: failed program was:" >&5 |
11979 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
11980 |
|
|
11981 |
|
eval "$as_ac_var=no" |
11982 |
|
fi |
11983 |
|
rm -f conftest.err conftest.$ac_objext \ |
11984 |
|
conftest$ac_exeext conftest.$ac_ext |
11985 |
|
fi |
11986 |
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
11987 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
11988 |
|
if test `eval echo '${'$as_ac_var'}'` = yes; then |
11989 |
|
cat >>confdefs.h <<_ACEOF |
11990 |
|
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
11991 |
|
_ACEOF |
11992 |
|
|
11993 |
|
fi |
11994 |
|
done |
11995 |
|
|
11996 |
|
if test x"$ac_cv_func_ftello" = xyes -a x"$ac_cv_func_fseeko" = xyes; then |
11997 |
|
echo "$as_me:$LINENO: checking size of off_t" >&5 |
11998 |
|
echo $ECHO_N "checking size of off_t... $ECHO_C" >&6 |
11999 |
|
if test "${ac_cv_sizeof_off_t+set}" = set; then |
12000 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
12001 |
|
else |
12002 |
|
for ac_size in 4 8 1 2 16 12 ; do # List sizes in rough order of prevalence. |
12003 |
|
cat >conftest.$ac_ext <<_ACEOF |
12004 |
|
/* confdefs.h. */ |
12005 |
|
_ACEOF |
12006 |
|
cat confdefs.h >>conftest.$ac_ext |
12007 |
|
cat >>conftest.$ac_ext <<_ACEOF |
12008 |
|
/* end confdefs.h. */ |
12009 |
|
#include "confdefs.h" |
12010 |
|
#include <sys/types.h> |
12011 |
|
|
12012 |
|
|
12013 |
|
int |
12014 |
|
main () |
12015 |
|
{ |
12016 |
|
switch (0) case 0: case (sizeof (off_t) == $ac_size):; |
12017 |
|
; |
12018 |
|
return 0; |
12019 |
|
} |
12020 |
|
_ACEOF |
12021 |
|
rm -f conftest.$ac_objext |
12022 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
12023 |
|
(eval $ac_compile) 2>conftest.er1 |
12024 |
|
ac_status=$? |
12025 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
12026 |
|
rm -f conftest.er1 |
12027 |
|
cat conftest.err >&5 |
12028 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12029 |
|
(exit $ac_status); } && |
12030 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
12031 |
|
|| test ! -s conftest.err' |
12032 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12033 |
|
(eval $ac_try) 2>&5 |
12034 |
|
ac_status=$? |
12035 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12036 |
|
(exit $ac_status); }; } && |
12037 |
|
{ ac_try='test -s conftest.$ac_objext' |
12038 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12039 |
|
(eval $ac_try) 2>&5 |
12040 |
|
ac_status=$? |
12041 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12042 |
|
(exit $ac_status); }; }; then |
12043 |
|
ac_cv_sizeof_off_t=$ac_size |
12044 |
|
else |
12045 |
|
echo "$as_me: failed program was:" >&5 |
12046 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
12047 |
|
|
12048 |
|
fi |
12049 |
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
12050 |
|
if test x$ac_cv_sizeof_off_t != x ; then break; fi |
12051 |
|
done |
12052 |
|
|
12053 |
|
fi |
12054 |
|
|
12055 |
|
if test x$ac_cv_sizeof_off_t = x ; then |
12056 |
|
{ { echo "$as_me:$LINENO: error: cannot determine a size for off_t" >&5 |
12057 |
|
echo "$as_me: error: cannot determine a size for off_t" >&2;} |
12058 |
|
{ (exit 1); exit 1; }; } |
12059 |
|
fi |
12060 |
|
echo "$as_me:$LINENO: result: $ac_cv_sizeof_off_t" >&5 |
12061 |
|
echo "${ECHO_T}$ac_cv_sizeof_off_t" >&6 |
12062 |
|
|
12063 |
|
cat >>confdefs.h <<_ACEOF |
12064 |
|
#define SIZEOF_OFF_T $ac_cv_sizeof_off_t |
12065 |
|
_ACEOF |
12066 |
|
|
12067 |
|
|
12068 |
|
fi |
12069 |
|
echo "$as_me:$LINENO: checking file_ptr type" >&5 |
12070 |
|
echo $ECHO_N "checking file_ptr type... $ECHO_C" >&6 |
12071 |
|
bfd_file_ptr="long" |
12072 |
|
bfd_ufile_ptr="unsigned long" |
12073 |
|
if test x"$ac_cv_func_ftello64" = xyes -a x"$ac_cv_func_fseeko64" = xyes \ |
12074 |
|
-o x"${ac_cv_sizeof_off_t}" = x8; then |
12075 |
|
bfd_file_ptr=BFD_HOST_64_BIT |
12076 |
|
bfd_ufile_ptr=BFD_HOST_U_64_BIT |
12077 |
|
fi |
12078 |
|
echo "$as_me:$LINENO: result: $bfd_file_ptr" >&5 |
12079 |
|
echo "${ECHO_T}$bfd_file_ptr" >&6 |
12080 |
|
|
12081 |
|
|
12082 |
|
|
12083 |
|
|
12084 |
tdefaults="" |
tdefaults="" |
12085 |
test -n "${defvec}" && tdefaults="${tdefaults} -DDEFAULT_VECTOR=${defvec}" |
test -n "${defvec}" && tdefaults="${tdefaults} -DDEFAULT_VECTOR=${defvec}" |
12086 |
test -n "${selvecs}" && tdefaults="${tdefaults} -DSELECT_VECS='${selvecs}'" |
test -n "${selvecs}" && tdefaults="${tdefaults} -DSELECT_VECS='${selvecs}'" |
12087 |
|
test -n "${assocvecs}" && tdefaults="${tdefaults} -DASSOCIATED_VECS='${assocvecs}'" |
12088 |
test -n "${selarchs}" && tdefaults="${tdefaults} -DSELECT_ARCHITECTURES='${selarchs}'" |
test -n "${selarchs}" && tdefaults="${tdefaults} -DSELECT_ARCHITECTURES='${selarchs}'" |
12089 |
test -n "${havevecs}" && tdefaults="${tdefaults} ${havevecs}" |
test -n "${havevecs}" && tdefaults="${tdefaults} ${havevecs}" |
12090 |
|
|
12091 |
|
|
12092 |
for ac_hdr in unistd.h |
|
12093 |
|
|
12094 |
|
for ac_header in stdlib.h unistd.h |
12095 |
do |
do |
12096 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
12097 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
12098 |
echo "configure:6401: checking for $ac_hdr" >&5 |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
12099 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
12100 |
echo $ac_n "(cached) $ac_c" 1>&6 |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
12101 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
12102 |
|
fi |
12103 |
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
12104 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
12105 |
|
else |
12106 |
|
# Is the header compilable? |
12107 |
|
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
12108 |
|
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
12109 |
|
cat >conftest.$ac_ext <<_ACEOF |
12110 |
|
/* confdefs.h. */ |
12111 |
|
_ACEOF |
12112 |
|
cat confdefs.h >>conftest.$ac_ext |
12113 |
|
cat >>conftest.$ac_ext <<_ACEOF |
12114 |
|
/* end confdefs.h. */ |
12115 |
|
$ac_includes_default |
12116 |
|
#include <$ac_header> |
12117 |
|
_ACEOF |
12118 |
|
rm -f conftest.$ac_objext |
12119 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
12120 |
|
(eval $ac_compile) 2>conftest.er1 |
12121 |
|
ac_status=$? |
12122 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
12123 |
|
rm -f conftest.er1 |
12124 |
|
cat conftest.err >&5 |
12125 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12126 |
|
(exit $ac_status); } && |
12127 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
12128 |
|
|| test ! -s conftest.err' |
12129 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12130 |
|
(eval $ac_try) 2>&5 |
12131 |
|
ac_status=$? |
12132 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12133 |
|
(exit $ac_status); }; } && |
12134 |
|
{ ac_try='test -s conftest.$ac_objext' |
12135 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12136 |
|
(eval $ac_try) 2>&5 |
12137 |
|
ac_status=$? |
12138 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12139 |
|
(exit $ac_status); }; }; then |
12140 |
|
ac_header_compiler=yes |
12141 |
|
else |
12142 |
|
echo "$as_me: failed program was:" >&5 |
12143 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
12144 |
|
|
12145 |
|
ac_header_compiler=no |
12146 |
|
fi |
12147 |
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
12148 |
|
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
12149 |
|
echo "${ECHO_T}$ac_header_compiler" >&6 |
12150 |
|
|
12151 |
|
# Is the header present? |
12152 |
|
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
12153 |
|
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
12154 |
|
cat >conftest.$ac_ext <<_ACEOF |
12155 |
|
/* confdefs.h. */ |
12156 |
|
_ACEOF |
12157 |
|
cat confdefs.h >>conftest.$ac_ext |
12158 |
|
cat >>conftest.$ac_ext <<_ACEOF |
12159 |
|
/* end confdefs.h. */ |
12160 |
|
#include <$ac_header> |
12161 |
|
_ACEOF |
12162 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
12163 |
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
12164 |
|
ac_status=$? |
12165 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
12166 |
|
rm -f conftest.er1 |
12167 |
|
cat conftest.err >&5 |
12168 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12169 |
|
(exit $ac_status); } >/dev/null; then |
12170 |
|
if test -s conftest.err; then |
12171 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
12172 |
|
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
12173 |
|
else |
12174 |
|
ac_cpp_err= |
12175 |
|
fi |
12176 |
else |
else |
12177 |
cat > conftest.$ac_ext <<EOF |
ac_cpp_err=yes |
12178 |
#line 6406 "configure" |
fi |
12179 |
#include "confdefs.h" |
if test -z "$ac_cpp_err"; then |
12180 |
#include <$ac_hdr> |
ac_header_preproc=yes |
|
EOF |
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
|
|
{ (eval echo configure:6411: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|
|
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
|
|
if test -z "$ac_err"; then |
|
|
rm -rf conftest* |
|
|
eval "ac_cv_header_$ac_safe=yes" |
|
12181 |
else |
else |
12182 |
echo "$ac_err" >&5 |
echo "$as_me: failed program was:" >&5 |
12183 |
echo "configure: failed program was:" >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
12184 |
cat conftest.$ac_ext >&5 |
|
12185 |
rm -rf conftest* |
ac_header_preproc=no |
12186 |
eval "ac_cv_header_$ac_safe=no" |
fi |
12187 |
|
rm -f conftest.err conftest.$ac_ext |
12188 |
|
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
12189 |
|
echo "${ECHO_T}$ac_header_preproc" >&6 |
12190 |
|
|
12191 |
|
# So? What about this header? |
12192 |
|
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
12193 |
|
yes:no: ) |
12194 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
12195 |
|
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
12196 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
12197 |
|
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
12198 |
|
ac_header_preproc=yes |
12199 |
|
;; |
12200 |
|
no:yes:* ) |
12201 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
12202 |
|
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
12203 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
12204 |
|
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
12205 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
12206 |
|
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
12207 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
12208 |
|
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
12209 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
12210 |
|
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
12211 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
12212 |
|
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
12213 |
|
( |
12214 |
|
cat <<\_ASBOX |
12215 |
|
## ------------------------------------------ ## |
12216 |
|
## Report this to the AC_PACKAGE_NAME lists. ## |
12217 |
|
## ------------------------------------------ ## |
12218 |
|
_ASBOX |
12219 |
|
) | |
12220 |
|
sed "s/^/$as_me: WARNING: /" >&2 |
12221 |
|
;; |
12222 |
|
esac |
12223 |
|
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
12224 |
|
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
12225 |
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
12226 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
12227 |
|
else |
12228 |
|
eval "$as_ac_Header=\$ac_header_preproc" |
12229 |
fi |
fi |
12230 |
rm -f conftest* |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
12231 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
12232 |
|
|
12233 |
fi |
fi |
12234 |
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
12235 |
echo "$ac_t""yes" 1>&6 |
cat >>confdefs.h <<_ACEOF |
12236 |
ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
12237 |
cat >> confdefs.h <<EOF |
_ACEOF |
12238 |
#define $ac_tr_hdr 1 |
|
|
EOF |
|
|
|
|
|
else |
|
|
echo "$ac_t""no" 1>&6 |
|
12239 |
fi |
fi |
12240 |
|
|
12241 |
done |
done |
12242 |
|
|
12243 |
|
|
12244 |
for ac_func in getpagesize |
for ac_func in getpagesize |
12245 |
do |
do |
12246 |
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
12247 |
echo "configure:6440: checking for $ac_func" >&5 |
echo "$as_me:$LINENO: checking for $ac_func" >&5 |
12248 |
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
12249 |
echo $ac_n "(cached) $ac_c" 1>&6 |
if eval "test \"\${$as_ac_var+set}\" = set"; then |
12250 |
else |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
12251 |
cat > conftest.$ac_ext <<EOF |
else |
12252 |
#line 6445 "configure" |
cat >conftest.$ac_ext <<_ACEOF |
12253 |
#include "confdefs.h" |
/* confdefs.h. */ |
12254 |
|
_ACEOF |
12255 |
|
cat confdefs.h >>conftest.$ac_ext |
12256 |
|
cat >>conftest.$ac_ext <<_ACEOF |
12257 |
|
/* end confdefs.h. */ |
12258 |
|
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
12259 |
|
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
12260 |
|
#define $ac_func innocuous_$ac_func |
12261 |
|
|
12262 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
12263 |
which can conflict with char $ac_func(); below. */ |
which can conflict with char $ac_func (); below. |
12264 |
#include <assert.h> |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
12265 |
/* Override any gcc2 internal prototype to avoid an error. */ |
<limits.h> exists even on freestanding compilers. */ |
12266 |
/* We use char because int might match the return type of a gcc2 |
|
12267 |
builtin and then its argument prototype would still apply. */ |
#ifdef __STDC__ |
12268 |
char $ac_func(); |
# include <limits.h> |
12269 |
|
#else |
12270 |
|
# include <assert.h> |
12271 |
|
#endif |
12272 |
|
|
12273 |
int main() { |
#undef $ac_func |
12274 |
|
|
12275 |
|
/* Override any gcc2 internal prototype to avoid an error. */ |
12276 |
|
#ifdef __cplusplus |
12277 |
|
extern "C" |
12278 |
|
{ |
12279 |
|
#endif |
12280 |
|
/* We use char because int might match the return type of a gcc2 |
12281 |
|
builtin and then its argument prototype would still apply. */ |
12282 |
|
char $ac_func (); |
12283 |
/* The GNU C library defines this for functions which it implements |
/* The GNU C library defines this for functions which it implements |
12284 |
to always fail with ENOSYS. Some functions are actually named |
to always fail with ENOSYS. Some functions are actually named |
12285 |
something starting with __ and the normal name is an alias. */ |
something starting with __ and the normal name is an alias. */ |
12286 |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
12287 |
choke me |
choke me |
12288 |
#else |
#else |
12289 |
$ac_func(); |
char (*f) () = $ac_func; |
12290 |
|
#endif |
12291 |
|
#ifdef __cplusplus |
12292 |
|
} |
12293 |
#endif |
#endif |
12294 |
|
|
12295 |
; return 0; } |
int |
12296 |
EOF |
main () |
12297 |
if { (eval echo configure:6468: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
{ |
12298 |
rm -rf conftest* |
return f != $ac_func; |
12299 |
eval "ac_cv_func_$ac_func=yes" |
; |
12300 |
else |
return 0; |
12301 |
echo "configure: failed program was:" >&5 |
} |
12302 |
cat conftest.$ac_ext >&5 |
_ACEOF |
12303 |
rm -rf conftest* |
rm -f conftest.$ac_objext conftest$ac_exeext |
12304 |
eval "ac_cv_func_$ac_func=no" |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
12305 |
fi |
(eval $ac_link) 2>conftest.er1 |
12306 |
rm -f conftest* |
ac_status=$? |
12307 |
fi |
grep -v '^ *+' conftest.er1 >conftest.err |
12308 |
|
rm -f conftest.er1 |
12309 |
|
cat conftest.err >&5 |
12310 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12311 |
|
(exit $ac_status); } && |
12312 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
12313 |
|
|| test ! -s conftest.err' |
12314 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12315 |
|
(eval $ac_try) 2>&5 |
12316 |
|
ac_status=$? |
12317 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12318 |
|
(exit $ac_status); }; } && |
12319 |
|
{ ac_try='test -s conftest$ac_exeext' |
12320 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12321 |
|
(eval $ac_try) 2>&5 |
12322 |
|
ac_status=$? |
12323 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12324 |
|
(exit $ac_status); }; }; then |
12325 |
|
eval "$as_ac_var=yes" |
12326 |
|
else |
12327 |
|
echo "$as_me: failed program was:" >&5 |
12328 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
12329 |
|
|
12330 |
|
eval "$as_ac_var=no" |
12331 |
|
fi |
12332 |
|
rm -f conftest.err conftest.$ac_objext \ |
12333 |
|
conftest$ac_exeext conftest.$ac_ext |
12334 |
|
fi |
12335 |
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
12336 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
12337 |
|
if test `eval echo '${'$as_ac_var'}'` = yes; then |
12338 |
|
cat >>confdefs.h <<_ACEOF |
12339 |
|
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
12340 |
|
_ACEOF |
12341 |
|
|
|
if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then |
|
|
echo "$ac_t""yes" 1>&6 |
|
|
ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` |
|
|
cat >> confdefs.h <<EOF |
|
|
#define $ac_tr_func 1 |
|
|
EOF |
|
|
|
|
|
else |
|
|
echo "$ac_t""no" 1>&6 |
|
12342 |
fi |
fi |
12343 |
done |
done |
12344 |
|
|
12345 |
echo $ac_n "checking for working mmap""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for working mmap" >&5 |
12346 |
echo "configure:6493: checking for working mmap" >&5 |
echo $ECHO_N "checking for working mmap... $ECHO_C" >&6 |
12347 |
if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then |
if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then |
12348 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
12349 |
else |
else |
12350 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
12351 |
ac_cv_func_mmap_fixed_mapped=no |
ac_cv_func_mmap_fixed_mapped=no |
12352 |
else |
else |
12353 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
12354 |
#line 6501 "configure" |
/* confdefs.h. */ |
12355 |
#include "confdefs.h" |
_ACEOF |
12356 |
|
cat confdefs.h >>conftest.$ac_ext |
12357 |
|
cat >>conftest.$ac_ext <<_ACEOF |
12358 |
|
/* end confdefs.h. */ |
12359 |
|
$ac_includes_default |
12360 |
|
/* malloc might have been renamed as rpl_malloc. */ |
12361 |
|
#undef malloc |
12362 |
|
|
12363 |
/* Thanks to Mike Haertel and Jim Avera for this test. |
/* Thanks to Mike Haertel and Jim Avera for this test. |
12364 |
Here is a matrix of mmap possibilities: |
Here is a matrix of mmap possibilities: |
12372 |
back from the file, nor mmap's back from the file at a different |
back from the file, nor mmap's back from the file at a different |
12373 |
address. (There have been systems where private was not correctly |
address. (There have been systems where private was not correctly |
12374 |
implemented like the infamous i386 svr4.0, and systems where the |
implemented like the infamous i386 svr4.0, and systems where the |
12375 |
VM page cache was not coherent with the filesystem buffer cache |
VM page cache was not coherent with the file system buffer cache |
12376 |
like early versions of FreeBSD and possibly contemporary NetBSD.) |
like early versions of FreeBSD and possibly contemporary NetBSD.) |
12377 |
For shared mappings, we should conversely verify that changes get |
For shared mappings, we should conversely verify that changes get |
12378 |
propogated back to all the places they're supposed to be. |
propagated back to all the places they're supposed to be. |
12379 |
|
|
12380 |
Grep wants private fixed already mapped. |
Grep wants private fixed already mapped. |
12381 |
The main things grep needs to know about mmap are: |
The main things grep needs to know about mmap are: |
12382 |
* does it exist and is it safe to write into the mmap'd area |
* does it exist and is it safe to write into the mmap'd area |
12383 |
* how to use it (BSD variants) */ |
* how to use it (BSD variants) */ |
12384 |
#include <sys/types.h> |
|
12385 |
#include <fcntl.h> |
#include <fcntl.h> |
12386 |
#include <sys/mman.h> |
#include <sys/mman.h> |
12387 |
|
|
12388 |
/* This mess was copied from the GNU getpagesize.h. */ |
#if !STDC_HEADERS && !HAVE_STDLIB_H |
12389 |
#ifndef HAVE_GETPAGESIZE |
char *malloc (); |
12390 |
# ifdef HAVE_UNISTD_H |
#endif |
|
# include <unistd.h> |
|
|
# endif |
|
12391 |
|
|
12392 |
|
/* This mess was copied from the GNU getpagesize.h. */ |
12393 |
|
#if !HAVE_GETPAGESIZE |
12394 |
/* Assume that all systems that can run configure have sys/param.h. */ |
/* Assume that all systems that can run configure have sys/param.h. */ |
12395 |
# ifndef HAVE_SYS_PARAM_H |
# if !HAVE_SYS_PARAM_H |
12396 |
# define HAVE_SYS_PARAM_H 1 |
# define HAVE_SYS_PARAM_H 1 |
12397 |
# endif |
# endif |
12398 |
|
|
12399 |
# ifdef _SC_PAGESIZE |
# ifdef _SC_PAGESIZE |
12400 |
# define getpagesize() sysconf(_SC_PAGESIZE) |
# define getpagesize() sysconf(_SC_PAGESIZE) |
12401 |
# else /* no _SC_PAGESIZE */ |
# else /* no _SC_PAGESIZE */ |
12402 |
# ifdef HAVE_SYS_PARAM_H |
# if HAVE_SYS_PARAM_H |
12403 |
# include <sys/param.h> |
# include <sys/param.h> |
12404 |
# ifdef EXEC_PAGESIZE |
# ifdef EXEC_PAGESIZE |
12405 |
# define getpagesize() EXEC_PAGESIZE |
# define getpagesize() EXEC_PAGESIZE |
12426 |
|
|
12427 |
#endif /* no HAVE_GETPAGESIZE */ |
#endif /* no HAVE_GETPAGESIZE */ |
12428 |
|
|
|
#ifdef __cplusplus |
|
|
extern "C" { void *malloc(unsigned); } |
|
|
#else |
|
|
char *malloc(); |
|
|
#endif |
|
|
|
|
12429 |
int |
int |
12430 |
main() |
main () |
12431 |
{ |
{ |
12432 |
char *data, *data2, *data3; |
char *data, *data2, *data3; |
12433 |
int i, pagesize; |
int i, pagesize; |
12434 |
int fd; |
int fd; |
12435 |
|
|
12436 |
pagesize = getpagesize(); |
pagesize = getpagesize (); |
12437 |
|
|
12438 |
/* |
/* First, make a file with some known garbage in it. */ |
12439 |
* First, make a file with some known garbage in it. |
data = (char *) malloc (pagesize); |
12440 |
*/ |
if (!data) |
12441 |
data = malloc(pagesize); |
exit (1); |
12442 |
if (!data) |
for (i = 0; i < pagesize; ++i) |
12443 |
exit(1); |
*(data + i) = rand (); |
12444 |
for (i = 0; i < pagesize; ++i) |
umask (0); |
12445 |
*(data + i) = rand(); |
fd = creat ("conftest.mmap", 0600); |
12446 |
umask(0); |
if (fd < 0) |
12447 |
fd = creat("conftestmmap", 0600); |
exit (1); |
12448 |
if (fd < 0) |
if (write (fd, data, pagesize) != pagesize) |
12449 |
exit(1); |
exit (1); |
12450 |
if (write(fd, data, pagesize) != pagesize) |
close (fd); |
12451 |
exit(1); |
|
12452 |
close(fd); |
/* Next, try to mmap the file at a fixed address which already has |
12453 |
|
something else allocated at it. If we can, also make sure that |
12454 |
/* |
we see the same garbage. */ |
12455 |
* Next, try to mmap the file at a fixed address which |
fd = open ("conftest.mmap", O_RDWR); |
12456 |
* already has something else allocated at it. If we can, |
if (fd < 0) |
12457 |
* also make sure that we see the same garbage. |
exit (1); |
12458 |
*/ |
data2 = (char *) malloc (2 * pagesize); |
12459 |
fd = open("conftestmmap", O_RDWR); |
if (!data2) |
12460 |
if (fd < 0) |
exit (1); |
12461 |
exit(1); |
data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1); |
12462 |
data2 = malloc(2 * pagesize); |
if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE, |
12463 |
if (!data2) |
MAP_PRIVATE | MAP_FIXED, fd, 0L)) |
12464 |
exit(1); |
exit (1); |
12465 |
data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1); |
for (i = 0; i < pagesize; ++i) |
12466 |
if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE, |
if (*(data + i) != *(data2 + i)) |
12467 |
MAP_PRIVATE | MAP_FIXED, fd, 0L)) |
exit (1); |
12468 |
exit(1); |
|
12469 |
for (i = 0; i < pagesize; ++i) |
/* Finally, make sure that changes to the mapped area do not |
12470 |
if (*(data + i) != *(data2 + i)) |
percolate back to the file as seen by read(). (This is a bug on |
12471 |
exit(1); |
some variants of i386 svr4.0.) */ |
12472 |
|
for (i = 0; i < pagesize; ++i) |
12473 |
/* |
*(data2 + i) = *(data2 + i) + 1; |
12474 |
* Finally, make sure that changes to the mapped area |
data3 = (char *) malloc (pagesize); |
12475 |
* do not percolate back to the file as seen by read(). |
if (!data3) |
12476 |
* (This is a bug on some variants of i386 svr4.0.) |
exit (1); |
12477 |
*/ |
if (read (fd, data3, pagesize) != pagesize) |
12478 |
for (i = 0; i < pagesize; ++i) |
exit (1); |
12479 |
*(data2 + i) = *(data2 + i) + 1; |
for (i = 0; i < pagesize; ++i) |
12480 |
data3 = malloc(pagesize); |
if (*(data + i) != *(data3 + i)) |
12481 |
if (!data3) |
exit (1); |
12482 |
exit(1); |
close (fd); |
12483 |
if (read(fd, data3, pagesize) != pagesize) |
exit (0); |
|
exit(1); |
|
|
for (i = 0; i < pagesize; ++i) |
|
|
if (*(data + i) != *(data3 + i)) |
|
|
exit(1); |
|
|
close(fd); |
|
|
unlink("conftestmmap"); |
|
|
exit(0); |
|
12484 |
} |
} |
12485 |
|
_ACEOF |
12486 |
EOF |
rm -f conftest$ac_exeext |
12487 |
if { (eval echo configure:6641: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
12488 |
then |
(eval $ac_link) 2>&5 |
12489 |
|
ac_status=$? |
12490 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12491 |
|
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
12492 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12493 |
|
(eval $ac_try) 2>&5 |
12494 |
|
ac_status=$? |
12495 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12496 |
|
(exit $ac_status); }; }; then |
12497 |
ac_cv_func_mmap_fixed_mapped=yes |
ac_cv_func_mmap_fixed_mapped=yes |
12498 |
else |
else |
12499 |
echo "configure: failed program was:" >&5 |
echo "$as_me: program exited with status $ac_status" >&5 |
12500 |
cat conftest.$ac_ext >&5 |
echo "$as_me: failed program was:" >&5 |
12501 |
rm -fr conftest* |
sed 's/^/| /' conftest.$ac_ext >&5 |
12502 |
ac_cv_func_mmap_fixed_mapped=no |
|
12503 |
|
( exit $ac_status ) |
12504 |
|
ac_cv_func_mmap_fixed_mapped=no |
12505 |
fi |
fi |
12506 |
rm -fr conftest* |
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
12507 |
fi |
fi |
|
|
|
12508 |
fi |
fi |
12509 |
|
echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5 |
12510 |
echo "$ac_t""$ac_cv_func_mmap_fixed_mapped" 1>&6 |
echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6 |
12511 |
if test $ac_cv_func_mmap_fixed_mapped = yes; then |
if test $ac_cv_func_mmap_fixed_mapped = yes; then |
12512 |
cat >> confdefs.h <<\EOF |
|
12513 |
|
cat >>confdefs.h <<\_ACEOF |
12514 |
#define HAVE_MMAP 1 |
#define HAVE_MMAP 1 |
12515 |
EOF |
_ACEOF |
12516 |
|
|
12517 |
fi |
fi |
12518 |
|
rm -f conftest.mmap |
12519 |
|
|
12520 |
|
|
12521 |
|
|
12522 |
for ac_func in madvise mprotect |
for ac_func in madvise mprotect |
12523 |
do |
do |
12524 |
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
12525 |
echo "configure:6666: checking for $ac_func" >&5 |
echo "$as_me:$LINENO: checking for $ac_func" >&5 |
12526 |
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
12527 |
echo $ac_n "(cached) $ac_c" 1>&6 |
if eval "test \"\${$as_ac_var+set}\" = set"; then |
12528 |
else |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
12529 |
cat > conftest.$ac_ext <<EOF |
else |
12530 |
#line 6671 "configure" |
cat >conftest.$ac_ext <<_ACEOF |
12531 |
#include "confdefs.h" |
/* confdefs.h. */ |
12532 |
|
_ACEOF |
12533 |
|
cat confdefs.h >>conftest.$ac_ext |
12534 |
|
cat >>conftest.$ac_ext <<_ACEOF |
12535 |
|
/* end confdefs.h. */ |
12536 |
|
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
12537 |
|
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
12538 |
|
#define $ac_func innocuous_$ac_func |
12539 |
|
|
12540 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
12541 |
which can conflict with char $ac_func(); below. */ |
which can conflict with char $ac_func (); below. |
12542 |
#include <assert.h> |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
12543 |
/* Override any gcc2 internal prototype to avoid an error. */ |
<limits.h> exists even on freestanding compilers. */ |
12544 |
/* We use char because int might match the return type of a gcc2 |
|
12545 |
builtin and then its argument prototype would still apply. */ |
#ifdef __STDC__ |
12546 |
char $ac_func(); |
# include <limits.h> |
12547 |
|
#else |
12548 |
|
# include <assert.h> |
12549 |
|
#endif |
12550 |
|
|
12551 |
int main() { |
#undef $ac_func |
12552 |
|
|
12553 |
|
/* Override any gcc2 internal prototype to avoid an error. */ |
12554 |
|
#ifdef __cplusplus |
12555 |
|
extern "C" |
12556 |
|
{ |
12557 |
|
#endif |
12558 |
|
/* We use char because int might match the return type of a gcc2 |
12559 |
|
builtin and then its argument prototype would still apply. */ |
12560 |
|
char $ac_func (); |
12561 |
/* The GNU C library defines this for functions which it implements |
/* The GNU C library defines this for functions which it implements |
12562 |
to always fail with ENOSYS. Some functions are actually named |
to always fail with ENOSYS. Some functions are actually named |
12563 |
something starting with __ and the normal name is an alias. */ |
something starting with __ and the normal name is an alias. */ |
12564 |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
12565 |
choke me |
choke me |
12566 |
#else |
#else |
12567 |
$ac_func(); |
char (*f) () = $ac_func; |
12568 |
|
#endif |
12569 |
|
#ifdef __cplusplus |
12570 |
|
} |
12571 |
#endif |
#endif |
12572 |
|
|
12573 |
; return 0; } |
int |
12574 |
EOF |
main () |
12575 |
if { (eval echo configure:6694: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
{ |
12576 |
rm -rf conftest* |
return f != $ac_func; |
12577 |
eval "ac_cv_func_$ac_func=yes" |
; |
12578 |
else |
return 0; |
12579 |
echo "configure: failed program was:" >&5 |
} |
12580 |
cat conftest.$ac_ext >&5 |
_ACEOF |
12581 |
rm -rf conftest* |
rm -f conftest.$ac_objext conftest$ac_exeext |
12582 |
eval "ac_cv_func_$ac_func=no" |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
12583 |
fi |
(eval $ac_link) 2>conftest.er1 |
12584 |
rm -f conftest* |
ac_status=$? |
12585 |
fi |
grep -v '^ *+' conftest.er1 >conftest.err |
12586 |
|
rm -f conftest.er1 |
12587 |
|
cat conftest.err >&5 |
12588 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12589 |
|
(exit $ac_status); } && |
12590 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
12591 |
|
|| test ! -s conftest.err' |
12592 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12593 |
|
(eval $ac_try) 2>&5 |
12594 |
|
ac_status=$? |
12595 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12596 |
|
(exit $ac_status); }; } && |
12597 |
|
{ ac_try='test -s conftest$ac_exeext' |
12598 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12599 |
|
(eval $ac_try) 2>&5 |
12600 |
|
ac_status=$? |
12601 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12602 |
|
(exit $ac_status); }; }; then |
12603 |
|
eval "$as_ac_var=yes" |
12604 |
|
else |
12605 |
|
echo "$as_me: failed program was:" >&5 |
12606 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
12607 |
|
|
12608 |
|
eval "$as_ac_var=no" |
12609 |
|
fi |
12610 |
|
rm -f conftest.err conftest.$ac_objext \ |
12611 |
|
conftest$ac_exeext conftest.$ac_ext |
12612 |
|
fi |
12613 |
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
12614 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
12615 |
|
if test `eval echo '${'$as_ac_var'}'` = yes; then |
12616 |
|
cat >>confdefs.h <<_ACEOF |
12617 |
|
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
12618 |
|
_ACEOF |
12619 |
|
|
|
if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then |
|
|
echo "$ac_t""yes" 1>&6 |
|
|
ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` |
|
|
cat >> confdefs.h <<EOF |
|
|
#define $ac_tr_func 1 |
|
|
EOF |
|
|
|
|
|
else |
|
|
echo "$ac_t""no" 1>&6 |
|
12620 |
fi |
fi |
12621 |
done |
done |
12622 |
|
|
12623 |
case ${want_mmap}+${ac_cv_func_mmap_fixed_mapped} in |
case ${want_mmap}+${ac_cv_func_mmap_fixed_mapped} in |
12624 |
true+yes ) cat >> confdefs.h <<\EOF |
true+yes ) |
12625 |
|
cat >>confdefs.h <<\_ACEOF |
12626 |
#define USE_MMAP 1 |
#define USE_MMAP 1 |
12627 |
EOF |
_ACEOF |
12628 |
;; |
;; |
12629 |
esac |
esac |
12630 |
|
|
12631 |
rm -f doc/config.status |
rm -f doc/config.status |
12632 |
trap '' 1 2 15 |
ac_config_files="$ac_config_files Makefile doc/Makefile bfd-in3.h:bfd-in2.h po/Makefile.in:po/Make-in" |
12633 |
cat > confcache <<\EOF |
|
12634 |
|
ac_config_commands="$ac_config_commands default" |
12635 |
|
|
12636 |
|
cat >confcache <<\_ACEOF |
12637 |
# This file is a shell script that caches the results of configure |
# This file is a shell script that caches the results of configure |
12638 |
# tests run on this system so they can be shared between configure |
# tests run on this system so they can be shared between configure |
12639 |
# scripts and configure runs. It is not useful on other systems. |
# scripts and configure runs, see configure's option --config-cache. |
12640 |
# If it contains results you don't want to keep, you may remove or edit it. |
# It is not useful on other systems. If it contains results you don't |
12641 |
|
# want to keep, you may remove or edit it. |
12642 |
# |
# |
12643 |
# By default, configure uses ./config.cache as the cache file, |
# config.status only pays attention to the cache file if you give it |
12644 |
# creating it if it does not exist already. You can give configure |
# the --recheck option to rerun configure. |
|
# the --cache-file=FILE option to use a different cache file; that is |
|
|
# what configure does when it calls configure scripts in |
|
|
# subdirectories, so they share the cache. |
|
|
# Giving --cache-file=/dev/null disables caching, for debugging configure. |
|
|
# config.status only pays attention to the cache file if you give it the |
|
|
# --recheck option to rerun configure. |
|
12645 |
# |
# |
12646 |
EOF |
# `ac_cv_env_foo' variables (set or unset) will be overridden when |
12647 |
|
# loading this file, other *unset* `ac_cv_foo' will be assigned the |
12648 |
|
# following values. |
12649 |
|
|
12650 |
|
_ACEOF |
12651 |
|
|
12652 |
# The following way of writing the cache mishandles newlines in values, |
# The following way of writing the cache mishandles newlines in values, |
12653 |
# but we know of no workaround that is simple, portable, and efficient. |
# but we know of no workaround that is simple, portable, and efficient. |
12654 |
# So, don't put newlines in cache variables' values. |
# So, don't put newlines in cache variables' values. |
12655 |
# Ultrix sh set writes to stderr and can't be redirected directly, |
# Ultrix sh set writes to stderr and can't be redirected directly, |
12656 |
# and sets the high bit in the cache file unless we assign to the vars. |
# and sets the high bit in the cache file unless we assign to the vars. |
12657 |
(set) 2>&1 | |
{ |
12658 |
case `(ac_space=' '; set | grep ac_space) 2>&1` in |
(set) 2>&1 | |
12659 |
*ac_space=\ *) |
case `(ac_space=' '; set | grep ac_space) 2>&1` in |
12660 |
# `set' does not quote correctly, so add quotes (double-quote substitution |
*ac_space=\ *) |
12661 |
# turns \\\\ into \\, and sed turns \\ into \). |
# `set' does not quote correctly, so add quotes (double-quote |
12662 |
sed -n \ |
# substitution turns \\\\ into \\, and sed turns \\ into \). |
12663 |
-e "s/'/'\\\\''/g" \ |
sed -n \ |
12664 |
-e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p" |
"s/'/'\\\\''/g; |
12665 |
;; |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
12666 |
*) |
;; |
12667 |
# `set' quotes correctly as required by POSIX, so do not add quotes. |
*) |
12668 |
sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p' |
# `set' quotes correctly as required by POSIX, so do not add quotes. |
12669 |
;; |
sed -n \ |
12670 |
esac >> confcache |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
12671 |
if cmp -s $cache_file confcache; then |
;; |
12672 |
: |
esac; |
12673 |
else |
} | |
12674 |
|
sed ' |
12675 |
|
t clear |
12676 |
|
: clear |
12677 |
|
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ |
12678 |
|
t end |
12679 |
|
/^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
12680 |
|
: end' >>confcache |
12681 |
|
if diff $cache_file confcache >/dev/null 2>&1; then :; else |
12682 |
if test -w $cache_file; then |
if test -w $cache_file; then |
12683 |
echo "updating cache $cache_file" |
test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" |
12684 |
cat confcache > $cache_file |
cat confcache >$cache_file |
12685 |
else |
else |
12686 |
echo "not updating unwritable cache $cache_file" |
echo "not updating unwritable cache $cache_file" |
12687 |
fi |
fi |
12688 |
fi |
fi |
12689 |
rm -f confcache |
rm -f confcache |
12690 |
|
|
|
trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 |
|
|
|
|
12691 |
test "x$prefix" = xNONE && prefix=$ac_default_prefix |
test "x$prefix" = xNONE && prefix=$ac_default_prefix |
12692 |
# Let make expand exec_prefix. |
# Let make expand exec_prefix. |
12693 |
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
12694 |
|
|
12695 |
# Any assignment to VPATH causes Sun make to only execute |
# VPATH may cause trouble with some makes, so we remove $(srcdir), |
12696 |
# the first set of double-colon rules, so remove it if not needed. |
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and |
12697 |
# If there is a colon in the path, we need to keep it. |
# trailing colons and then remove the whole line if VPATH becomes empty |
12698 |
|
# (actually we leave an empty line to preserve line numbers). |
12699 |
if test "x$srcdir" = x.; then |
if test "x$srcdir" = x.; then |
12700 |
ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d' |
ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
12701 |
|
s/:*\$(srcdir):*/:/; |
12702 |
|
s/:*\${srcdir}:*/:/; |
12703 |
|
s/:*@srcdir@:*/:/; |
12704 |
|
s/^\([^=]*=[ ]*\):*/\1/; |
12705 |
|
s/:*$//; |
12706 |
|
s/^[^=]*=[ ]*$//; |
12707 |
|
}' |
12708 |
fi |
fi |
12709 |
|
|
|
trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15 |
|
|
|
|
12710 |
DEFS=-DHAVE_CONFIG_H |
DEFS=-DHAVE_CONFIG_H |
12711 |
|
|
12712 |
# Without the "./", some shells look in PATH for config.status. |
ac_libobjs= |
12713 |
: ${CONFIG_STATUS=./config.status} |
ac_ltlibobjs= |
12714 |
|
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
12715 |
|
# 1. Remove the extension, and $U if already installed. |
12716 |
|
ac_i=`echo "$ac_i" | |
12717 |
|
sed 's/\$U\././;s/\.o$//;s/\.obj$//'` |
12718 |
|
# 2. Add them. |
12719 |
|
ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" |
12720 |
|
ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' |
12721 |
|
done |
12722 |
|
LIBOBJS=$ac_libobjs |
12723 |
|
|
12724 |
echo creating $CONFIG_STATUS |
LTLIBOBJS=$ac_ltlibobjs |
12725 |
rm -f $CONFIG_STATUS |
|
12726 |
cat > $CONFIG_STATUS <<EOF |
|
12727 |
#! /bin/sh |
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then |
12728 |
# Generated automatically by configure. |
{ { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. |
12729 |
|
Usually this means the macro was only invoked conditionally." >&5 |
12730 |
|
echo "$as_me: error: conditional \"AMDEP\" was never defined. |
12731 |
|
Usually this means the macro was only invoked conditionally." >&2;} |
12732 |
|
{ (exit 1); exit 1; }; } |
12733 |
|
fi |
12734 |
|
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then |
12735 |
|
{ { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. |
12736 |
|
Usually this means the macro was only invoked conditionally." >&5 |
12737 |
|
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. |
12738 |
|
Usually this means the macro was only invoked conditionally." >&2;} |
12739 |
|
{ (exit 1); exit 1; }; } |
12740 |
|
fi |
12741 |
|
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then |
12742 |
|
{ { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined. |
12743 |
|
Usually this means the macro was only invoked conditionally." >&5 |
12744 |
|
echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined. |
12745 |
|
Usually this means the macro was only invoked conditionally." >&2;} |
12746 |
|
{ (exit 1); exit 1; }; } |
12747 |
|
fi |
12748 |
|
if test -z "${INSTALL_LIBBFD_TRUE}" && test -z "${INSTALL_LIBBFD_FALSE}"; then |
12749 |
|
{ { echo "$as_me:$LINENO: error: conditional \"INSTALL_LIBBFD\" was never defined. |
12750 |
|
Usually this means the macro was only invoked conditionally." >&5 |
12751 |
|
echo "$as_me: error: conditional \"INSTALL_LIBBFD\" was never defined. |
12752 |
|
Usually this means the macro was only invoked conditionally." >&2;} |
12753 |
|
{ (exit 1); exit 1; }; } |
12754 |
|
fi |
12755 |
|
|
12756 |
|
: ${CONFIG_STATUS=./config.status} |
12757 |
|
ac_clean_files_save=$ac_clean_files |
12758 |
|
ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
12759 |
|
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 |
12760 |
|
echo "$as_me: creating $CONFIG_STATUS" >&6;} |
12761 |
|
cat >$CONFIG_STATUS <<_ACEOF |
12762 |
|
#! $SHELL |
12763 |
|
# Generated by $as_me. |
12764 |
# Run this file to recreate the current configuration. |
# Run this file to recreate the current configuration. |
|
# This directory was configured as follows, |
|
|
# on host `(hostname || uname -n) 2>/dev/null | sed 1q`: |
|
|
# |
|
|
# $0 $ac_configure_args |
|
|
# |
|
12765 |
# Compiler output produced by configure, useful for debugging |
# Compiler output produced by configure, useful for debugging |
12766 |
# configure, is in ./config.log if it exists. |
# configure, is in config.log if it exists. |
12767 |
|
|
12768 |
ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]" |
debug=false |
12769 |
for ac_option |
ac_cs_recheck=false |
12770 |
|
ac_cs_silent=false |
12771 |
|
SHELL=\${CONFIG_SHELL-$SHELL} |
12772 |
|
_ACEOF |
12773 |
|
|
12774 |
|
cat >>$CONFIG_STATUS <<\_ACEOF |
12775 |
|
## --------------------- ## |
12776 |
|
## M4sh Initialization. ## |
12777 |
|
## --------------------- ## |
12778 |
|
|
12779 |
|
# Be Bourne compatible |
12780 |
|
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
12781 |
|
emulate sh |
12782 |
|
NULLCMD=: |
12783 |
|
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
12784 |
|
# is contrary to our usage. Disable this feature. |
12785 |
|
alias -g '${1+"$@"}'='"$@"' |
12786 |
|
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
12787 |
|
set -o posix |
12788 |
|
fi |
12789 |
|
DUALCASE=1; export DUALCASE # for MKS sh |
12790 |
|
|
12791 |
|
# Support unset when possible. |
12792 |
|
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
12793 |
|
as_unset=unset |
12794 |
|
else |
12795 |
|
as_unset=false |
12796 |
|
fi |
12797 |
|
|
12798 |
|
|
12799 |
|
# Work around bugs in pre-3.0 UWIN ksh. |
12800 |
|
$as_unset ENV MAIL MAILPATH |
12801 |
|
PS1='$ ' |
12802 |
|
PS2='> ' |
12803 |
|
PS4='+ ' |
12804 |
|
|
12805 |
|
# NLS nuisances. |
12806 |
|
for as_var in \ |
12807 |
|
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ |
12808 |
|
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
12809 |
|
LC_TELEPHONE LC_TIME |
12810 |
|
do |
12811 |
|
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
12812 |
|
eval $as_var=C; export $as_var |
12813 |
|
else |
12814 |
|
$as_unset $as_var |
12815 |
|
fi |
12816 |
|
done |
12817 |
|
|
12818 |
|
# Required to use basename. |
12819 |
|
if expr a : '\(a\)' >/dev/null 2>&1; then |
12820 |
|
as_expr=expr |
12821 |
|
else |
12822 |
|
as_expr=false |
12823 |
|
fi |
12824 |
|
|
12825 |
|
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then |
12826 |
|
as_basename=basename |
12827 |
|
else |
12828 |
|
as_basename=false |
12829 |
|
fi |
12830 |
|
|
12831 |
|
|
12832 |
|
# Name of the executable. |
12833 |
|
as_me=`$as_basename "$0" || |
12834 |
|
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
12835 |
|
X"$0" : 'X\(//\)$' \| \ |
12836 |
|
X"$0" : 'X\(/\)$' \| \ |
12837 |
|
. : '\(.\)' 2>/dev/null || |
12838 |
|
echo X/"$0" | |
12839 |
|
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } |
12840 |
|
/^X\/\(\/\/\)$/{ s//\1/; q; } |
12841 |
|
/^X\/\(\/\).*/{ s//\1/; q; } |
12842 |
|
s/.*/./; q'` |
12843 |
|
|
12844 |
|
|
12845 |
|
# PATH needs CR, and LINENO needs CR and PATH. |
12846 |
|
# Avoid depending upon Character Ranges. |
12847 |
|
as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
12848 |
|
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
12849 |
|
as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
12850 |
|
as_cr_digits='0123456789' |
12851 |
|
as_cr_alnum=$as_cr_Letters$as_cr_digits |
12852 |
|
|
12853 |
|
# The user is always right. |
12854 |
|
if test "${PATH_SEPARATOR+set}" != set; then |
12855 |
|
echo "#! /bin/sh" >conf$$.sh |
12856 |
|
echo "exit 0" >>conf$$.sh |
12857 |
|
chmod +x conf$$.sh |
12858 |
|
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
12859 |
|
PATH_SEPARATOR=';' |
12860 |
|
else |
12861 |
|
PATH_SEPARATOR=: |
12862 |
|
fi |
12863 |
|
rm -f conf$$.sh |
12864 |
|
fi |
12865 |
|
|
12866 |
|
|
12867 |
|
as_lineno_1=$LINENO |
12868 |
|
as_lineno_2=$LINENO |
12869 |
|
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
12870 |
|
test "x$as_lineno_1" != "x$as_lineno_2" && |
12871 |
|
test "x$as_lineno_3" = "x$as_lineno_2" || { |
12872 |
|
# Find who we are. Look in the path if we contain no path at all |
12873 |
|
# relative or not. |
12874 |
|
case $0 in |
12875 |
|
*[\\/]* ) as_myself=$0 ;; |
12876 |
|
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
12877 |
|
for as_dir in $PATH |
12878 |
|
do |
12879 |
|
IFS=$as_save_IFS |
12880 |
|
test -z "$as_dir" && as_dir=. |
12881 |
|
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
12882 |
|
done |
12883 |
|
|
12884 |
|
;; |
12885 |
|
esac |
12886 |
|
# We did not find ourselves, most probably we were run as `sh COMMAND' |
12887 |
|
# in which case we are not to be found in the path. |
12888 |
|
if test "x$as_myself" = x; then |
12889 |
|
as_myself=$0 |
12890 |
|
fi |
12891 |
|
if test ! -f "$as_myself"; then |
12892 |
|
{ { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 |
12893 |
|
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} |
12894 |
|
{ (exit 1); exit 1; }; } |
12895 |
|
fi |
12896 |
|
case $CONFIG_SHELL in |
12897 |
|
'') |
12898 |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
12899 |
|
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
12900 |
do |
do |
12901 |
case "\$ac_option" in |
IFS=$as_save_IFS |
12902 |
|
test -z "$as_dir" && as_dir=. |
12903 |
|
for as_base in sh bash ksh sh5; do |
12904 |
|
case $as_dir in |
12905 |
|
/*) |
12906 |
|
if ("$as_dir/$as_base" -c ' |
12907 |
|
as_lineno_1=$LINENO |
12908 |
|
as_lineno_2=$LINENO |
12909 |
|
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
12910 |
|
test "x$as_lineno_1" != "x$as_lineno_2" && |
12911 |
|
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then |
12912 |
|
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } |
12913 |
|
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } |
12914 |
|
CONFIG_SHELL=$as_dir/$as_base |
12915 |
|
export CONFIG_SHELL |
12916 |
|
exec "$CONFIG_SHELL" "$0" ${1+"$@"} |
12917 |
|
fi;; |
12918 |
|
esac |
12919 |
|
done |
12920 |
|
done |
12921 |
|
;; |
12922 |
|
esac |
12923 |
|
|
12924 |
|
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
12925 |
|
# uniformly replaced by the line number. The first 'sed' inserts a |
12926 |
|
# line-number line before each line; the second 'sed' does the real |
12927 |
|
# work. The second script uses 'N' to pair each line-number line |
12928 |
|
# with the numbered line, and appends trailing '-' during |
12929 |
|
# substitution so that $LINENO is not a special case at line end. |
12930 |
|
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
12931 |
|
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) |
12932 |
|
sed '=' <$as_myself | |
12933 |
|
sed ' |
12934 |
|
N |
12935 |
|
s,$,-, |
12936 |
|
: loop |
12937 |
|
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, |
12938 |
|
t loop |
12939 |
|
s,-$,, |
12940 |
|
s,^['$as_cr_digits']*\n,, |
12941 |
|
' >$as_me.lineno && |
12942 |
|
chmod +x $as_me.lineno || |
12943 |
|
{ { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 |
12944 |
|
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} |
12945 |
|
{ (exit 1); exit 1; }; } |
12946 |
|
|
12947 |
|
# Don't try to exec as it changes $[0], causing all sort of problems |
12948 |
|
# (the dirname of $[0] is not the place where we might find the |
12949 |
|
# original and so on. Autoconf is especially sensible to this). |
12950 |
|
. ./$as_me.lineno |
12951 |
|
# Exit status is that of the last command. |
12952 |
|
exit |
12953 |
|
} |
12954 |
|
|
12955 |
|
|
12956 |
|
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in |
12957 |
|
*c*,-n*) ECHO_N= ECHO_C=' |
12958 |
|
' ECHO_T=' ' ;; |
12959 |
|
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; |
12960 |
|
*) ECHO_N= ECHO_C='\c' ECHO_T= ;; |
12961 |
|
esac |
12962 |
|
|
12963 |
|
if expr a : '\(a\)' >/dev/null 2>&1; then |
12964 |
|
as_expr=expr |
12965 |
|
else |
12966 |
|
as_expr=false |
12967 |
|
fi |
12968 |
|
|
12969 |
|
rm -f conf$$ conf$$.exe conf$$.file |
12970 |
|
echo >conf$$.file |
12971 |
|
if ln -s conf$$.file conf$$ 2>/dev/null; then |
12972 |
|
# We could just check for DJGPP; but this test a) works b) is more generic |
12973 |
|
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). |
12974 |
|
if test -f conf$$.exe; then |
12975 |
|
# Don't use ln at all; we don't have any links |
12976 |
|
as_ln_s='cp -p' |
12977 |
|
else |
12978 |
|
as_ln_s='ln -s' |
12979 |
|
fi |
12980 |
|
elif ln conf$$.file conf$$ 2>/dev/null; then |
12981 |
|
as_ln_s=ln |
12982 |
|
else |
12983 |
|
as_ln_s='cp -p' |
12984 |
|
fi |
12985 |
|
rm -f conf$$ conf$$.exe conf$$.file |
12986 |
|
|
12987 |
|
if mkdir -p . 2>/dev/null; then |
12988 |
|
as_mkdir_p=: |
12989 |
|
else |
12990 |
|
test -d ./-p && rmdir ./-p |
12991 |
|
as_mkdir_p=false |
12992 |
|
fi |
12993 |
|
|
12994 |
|
as_executable_p="test -f" |
12995 |
|
|
12996 |
|
# Sed expression to map a string onto a valid CPP name. |
12997 |
|
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
12998 |
|
|
12999 |
|
# Sed expression to map a string onto a valid variable name. |
13000 |
|
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
13001 |
|
|
13002 |
|
|
13003 |
|
# IFS |
13004 |
|
# We need space, tab and new line, in precisely that order. |
13005 |
|
as_nl=' |
13006 |
|
' |
13007 |
|
IFS=" $as_nl" |
13008 |
|
|
13009 |
|
# CDPATH. |
13010 |
|
$as_unset CDPATH |
13011 |
|
|
13012 |
|
exec 6>&1 |
13013 |
|
|
13014 |
|
# Open the log real soon, to keep \$[0] and so on meaningful, and to |
13015 |
|
# report actual input values of CONFIG_FILES etc. instead of their |
13016 |
|
# values after options handling. Logging --version etc. is OK. |
13017 |
|
exec 5>>config.log |
13018 |
|
{ |
13019 |
|
echo |
13020 |
|
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX |
13021 |
|
## Running $as_me. ## |
13022 |
|
_ASBOX |
13023 |
|
} >&5 |
13024 |
|
cat >&5 <<_CSEOF |
13025 |
|
|
13026 |
|
This file was extended by $as_me, which was |
13027 |
|
generated by GNU Autoconf 2.59. Invocation command line was |
13028 |
|
|
13029 |
|
CONFIG_FILES = $CONFIG_FILES |
13030 |
|
CONFIG_HEADERS = $CONFIG_HEADERS |
13031 |
|
CONFIG_LINKS = $CONFIG_LINKS |
13032 |
|
CONFIG_COMMANDS = $CONFIG_COMMANDS |
13033 |
|
$ $0 $@ |
13034 |
|
|
13035 |
|
_CSEOF |
13036 |
|
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 |
13037 |
|
echo >&5 |
13038 |
|
_ACEOF |
13039 |
|
|
13040 |
|
# Files that config.status was made for. |
13041 |
|
if test -n "$ac_config_files"; then |
13042 |
|
echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS |
13043 |
|
fi |
13044 |
|
|
13045 |
|
if test -n "$ac_config_headers"; then |
13046 |
|
echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS |
13047 |
|
fi |
13048 |
|
|
13049 |
|
if test -n "$ac_config_links"; then |
13050 |
|
echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS |
13051 |
|
fi |
13052 |
|
|
13053 |
|
if test -n "$ac_config_commands"; then |
13054 |
|
echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS |
13055 |
|
fi |
13056 |
|
|
13057 |
|
cat >>$CONFIG_STATUS <<\_ACEOF |
13058 |
|
|
13059 |
|
ac_cs_usage="\ |
13060 |
|
\`$as_me' instantiates files from templates according to the |
13061 |
|
current configuration. |
13062 |
|
|
13063 |
|
Usage: $0 [OPTIONS] [FILE]... |
13064 |
|
|
13065 |
|
-h, --help print this help, then exit |
13066 |
|
-V, --version print version number, then exit |
13067 |
|
-q, --quiet do not print progress messages |
13068 |
|
-d, --debug don't remove temporary files |
13069 |
|
--recheck update $as_me by reconfiguring in the same conditions |
13070 |
|
--file=FILE[:TEMPLATE] |
13071 |
|
instantiate the configuration file FILE |
13072 |
|
--header=FILE[:TEMPLATE] |
13073 |
|
instantiate the configuration header FILE |
13074 |
|
|
13075 |
|
Configuration files: |
13076 |
|
$config_files |
13077 |
|
|
13078 |
|
Configuration headers: |
13079 |
|
$config_headers |
13080 |
|
|
13081 |
|
Configuration commands: |
13082 |
|
$config_commands |
13083 |
|
|
13084 |
|
Report bugs to <bug-autoconf@gnu.org>." |
13085 |
|
_ACEOF |
13086 |
|
|
13087 |
|
cat >>$CONFIG_STATUS <<_ACEOF |
13088 |
|
ac_cs_version="\\ |
13089 |
|
config.status |
13090 |
|
configured by $0, generated by GNU Autoconf 2.59, |
13091 |
|
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" |
13092 |
|
|
13093 |
|
Copyright (C) 2003 Free Software Foundation, Inc. |
13094 |
|
This config.status script is free software; the Free Software Foundation |
13095 |
|
gives unlimited permission to copy, distribute and modify it." |
13096 |
|
srcdir=$srcdir |
13097 |
|
INSTALL="$INSTALL" |
13098 |
|
_ACEOF |
13099 |
|
|
13100 |
|
cat >>$CONFIG_STATUS <<\_ACEOF |
13101 |
|
# If no file are specified by the user, then we need to provide default |
13102 |
|
# value. By we need to know if files were specified by the user. |
13103 |
|
ac_need_defaults=: |
13104 |
|
while test $# != 0 |
13105 |
|
do |
13106 |
|
case $1 in |
13107 |
|
--*=*) |
13108 |
|
ac_option=`expr "x$1" : 'x\([^=]*\)='` |
13109 |
|
ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` |
13110 |
|
ac_shift=: |
13111 |
|
;; |
13112 |
|
-*) |
13113 |
|
ac_option=$1 |
13114 |
|
ac_optarg=$2 |
13115 |
|
ac_shift=shift |
13116 |
|
;; |
13117 |
|
*) # This is not an option, so the user has probably given explicit |
13118 |
|
# arguments. |
13119 |
|
ac_option=$1 |
13120 |
|
ac_need_defaults=false;; |
13121 |
|
esac |
13122 |
|
|
13123 |
|
case $ac_option in |
13124 |
|
# Handling of the options. |
13125 |
|
_ACEOF |
13126 |
|
cat >>$CONFIG_STATUS <<\_ACEOF |
13127 |
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
13128 |
echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion" |
ac_cs_recheck=: ;; |
13129 |
exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;; |
--version | --vers* | -V ) |
13130 |
-version | --version | --versio | --versi | --vers | --ver | --ve | --v) |
echo "$ac_cs_version"; exit 0 ;; |
13131 |
echo "$CONFIG_STATUS generated by autoconf version 2.13" |
--he | --h) |
13132 |
exit 0 ;; |
# Conflict between --help and --header |
13133 |
-help | --help | --hel | --he | --h) |
{ { echo "$as_me:$LINENO: error: ambiguous option: $1 |
13134 |
echo "\$ac_cs_usage"; exit 0 ;; |
Try \`$0 --help' for more information." >&5 |
13135 |
*) echo "\$ac_cs_usage"; exit 1 ;; |
echo "$as_me: error: ambiguous option: $1 |
13136 |
|
Try \`$0 --help' for more information." >&2;} |
13137 |
|
{ (exit 1); exit 1; }; };; |
13138 |
|
--help | --hel | -h ) |
13139 |
|
echo "$ac_cs_usage"; exit 0 ;; |
13140 |
|
--debug | --d* | -d ) |
13141 |
|
debug=: ;; |
13142 |
|
--file | --fil | --fi | --f ) |
13143 |
|
$ac_shift |
13144 |
|
CONFIG_FILES="$CONFIG_FILES $ac_optarg" |
13145 |
|
ac_need_defaults=false;; |
13146 |
|
--header | --heade | --head | --hea ) |
13147 |
|
$ac_shift |
13148 |
|
CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" |
13149 |
|
ac_need_defaults=false;; |
13150 |
|
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
13151 |
|
| -silent | --silent | --silen | --sile | --sil | --si | --s) |
13152 |
|
ac_cs_silent=: ;; |
13153 |
|
|
13154 |
|
# This is an error. |
13155 |
|
-*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 |
13156 |
|
Try \`$0 --help' for more information." >&5 |
13157 |
|
echo "$as_me: error: unrecognized option: $1 |
13158 |
|
Try \`$0 --help' for more information." >&2;} |
13159 |
|
{ (exit 1); exit 1; }; } ;; |
13160 |
|
|
13161 |
|
*) ac_config_targets="$ac_config_targets $1" ;; |
13162 |
|
|
13163 |
esac |
esac |
13164 |
|
shift |
13165 |
done |
done |
13166 |
|
|
13167 |
ac_given_srcdir=$srcdir |
ac_configure_extra_args= |
|
ac_given_INSTALL="$INSTALL" |
|
13168 |
|
|
13169 |
trap 'rm -fr `echo "../binutils.spec Makefile doc/Makefile bfd-in3.h:bfd-in2.h po/Makefile.in:po/Make-in config.h:config.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 |
if $ac_cs_silent; then |
13170 |
EOF |
exec 6>/dev/null |
13171 |
cat >> $CONFIG_STATUS <<EOF |
ac_configure_extra_args="$ac_configure_extra_args --silent" |
13172 |
|
fi |
13173 |
|
|
13174 |
# Protect against being on the right side of a sed subst in config.status. |
_ACEOF |
13175 |
sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g; |
cat >>$CONFIG_STATUS <<_ACEOF |
13176 |
s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF |
if \$ac_cs_recheck; then |
13177 |
$ac_vpsub |
echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 |
13178 |
$extrasub |
exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
13179 |
s%@SHELL@%$SHELL%g |
fi |
|
s%@CFLAGS@%$CFLAGS%g |
|
|
s%@CPPFLAGS@%$CPPFLAGS%g |
|
|
s%@CXXFLAGS@%$CXXFLAGS%g |
|
|
s%@FFLAGS@%$FFLAGS%g |
|
|
s%@DEFS@%$DEFS%g |
|
|
s%@LDFLAGS@%$LDFLAGS%g |
|
|
s%@LIBS@%$LIBS%g |
|
|
s%@exec_prefix@%$exec_prefix%g |
|
|
s%@prefix@%$prefix%g |
|
|
s%@program_transform_name@%$program_transform_name%g |
|
|
s%@bindir@%$bindir%g |
|
|
s%@sbindir@%$sbindir%g |
|
|
s%@libexecdir@%$libexecdir%g |
|
|
s%@datadir@%$datadir%g |
|
|
s%@sysconfdir@%$sysconfdir%g |
|
|
s%@sharedstatedir@%$sharedstatedir%g |
|
|
s%@localstatedir@%$localstatedir%g |
|
|
s%@libdir@%$libdir%g |
|
|
s%@includedir@%$includedir%g |
|
|
s%@oldincludedir@%$oldincludedir%g |
|
|
s%@infodir@%$infodir%g |
|
|
s%@mandir@%$mandir%g |
|
|
s%@host@%$host%g |
|
|
s%@host_alias@%$host_alias%g |
|
|
s%@host_cpu@%$host_cpu%g |
|
|
s%@host_vendor@%$host_vendor%g |
|
|
s%@host_os@%$host_os%g |
|
|
s%@target@%$target%g |
|
|
s%@target_alias@%$target_alias%g |
|
|
s%@target_cpu@%$target_cpu%g |
|
|
s%@target_vendor@%$target_vendor%g |
|
|
s%@target_os@%$target_os%g |
|
|
s%@build@%$build%g |
|
|
s%@build_alias@%$build_alias%g |
|
|
s%@build_cpu@%$build_cpu%g |
|
|
s%@build_vendor@%$build_vendor%g |
|
|
s%@build_os@%$build_os%g |
|
|
s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g |
|
|
s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g |
|
|
s%@INSTALL_DATA@%$INSTALL_DATA%g |
|
|
s%@PACKAGE@%$PACKAGE%g |
|
|
s%@VERSION@%$VERSION%g |
|
|
s%@ACLOCAL@%$ACLOCAL%g |
|
|
s%@AUTOCONF@%$AUTOCONF%g |
|
|
s%@AUTOMAKE@%$AUTOMAKE%g |
|
|
s%@AUTOHEADER@%$AUTOHEADER%g |
|
|
s%@MAKEINFO@%$MAKEINFO%g |
|
|
s%@SET_MAKE@%$SET_MAKE%g |
|
|
s%@bfd_version@%$bfd_version%g |
|
|
s%@bfd_version_date@%$bfd_version_date%g |
|
|
s%@bfd_version_string@%$bfd_version_string%g |
|
|
s%@AR@%$AR%g |
|
|
s%@RANLIB@%$RANLIB%g |
|
|
s%@CC@%$CC%g |
|
|
s%@LN_S@%$LN_S%g |
|
|
s%@OBJEXT@%$OBJEXT%g |
|
|
s%@EXEEXT@%$EXEEXT%g |
|
|
s%@STRIP@%$STRIP%g |
|
|
s%@LIBTOOL@%$LIBTOOL%g |
|
|
s%@WARN_CFLAGS@%$WARN_CFLAGS%g |
|
|
s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%g |
|
|
s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g |
|
|
s%@MAINT@%$MAINT%g |
|
|
s%@INSTALL_LIBBFD_TRUE@%$INSTALL_LIBBFD_TRUE%g |
|
|
s%@INSTALL_LIBBFD_FALSE@%$INSTALL_LIBBFD_FALSE%g |
|
|
s%@bfdlibdir@%$bfdlibdir%g |
|
|
s%@bfdincludedir@%$bfdincludedir%g |
|
|
s%@CPP@%$CPP%g |
|
|
s%@ALLOCA@%$ALLOCA%g |
|
|
s%@USE_NLS@%$USE_NLS%g |
|
|
s%@MSGFMT@%$MSGFMT%g |
|
|
s%@GMSGFMT@%$GMSGFMT%g |
|
|
s%@XGETTEXT@%$XGETTEXT%g |
|
|
s%@USE_INCLUDED_LIBINTL@%$USE_INCLUDED_LIBINTL%g |
|
|
s%@CATALOGS@%$CATALOGS%g |
|
|
s%@CATOBJEXT@%$CATOBJEXT%g |
|
|
s%@DATADIRNAME@%$DATADIRNAME%g |
|
|
s%@GMOFILES@%$GMOFILES%g |
|
|
s%@INSTOBJEXT@%$INSTOBJEXT%g |
|
|
s%@INTLDEPS@%$INTLDEPS%g |
|
|
s%@INTLLIBS@%$INTLLIBS%g |
|
|
s%@INTLOBJS@%$INTLOBJS%g |
|
|
s%@POFILES@%$POFILES%g |
|
|
s%@POSUB@%$POSUB%g |
|
|
s%@INCLUDE_LOCALE_H@%$INCLUDE_LOCALE_H%g |
|
|
s%@GT_NO@%$GT_NO%g |
|
|
s%@GT_YES@%$GT_YES%g |
|
|
s%@MKINSTALLDIRS@%$MKINSTALLDIRS%g |
|
|
s%@l@%$l%g |
|
|
s%@HDEFINES@%$HDEFINES%g |
|
|
s%@BFD_HOST_64BIT_LONG@%$BFD_HOST_64BIT_LONG%g |
|
|
s%@BFD_HOST_64_BIT_DEFINED@%$BFD_HOST_64_BIT_DEFINED%g |
|
|
s%@BFD_HOST_64_BIT@%$BFD_HOST_64_BIT%g |
|
|
s%@BFD_HOST_U_64_BIT@%$BFD_HOST_U_64_BIT%g |
|
|
s%@CC_FOR_BUILD@%$CC_FOR_BUILD%g |
|
|
s%@EXEEXT_FOR_BUILD@%$EXEEXT_FOR_BUILD%g |
|
|
s%@COREFILE@%$COREFILE%g |
|
|
s%@COREFLAG@%$COREFLAG%g |
|
|
s%@WIN32LDFLAGS@%$WIN32LDFLAGS%g |
|
|
s%@WIN32LIBADD@%$WIN32LIBADD%g |
|
|
s%@TDEFINES@%$TDEFINES%g |
|
|
s%@wordsize@%$wordsize%g |
|
|
s%@bfd_libs@%$bfd_libs%g |
|
|
s%@all_backends@%$all_backends%g |
|
|
s%@bfd_backends@%$bfd_backends%g |
|
|
s%@bfd_machines@%$bfd_machines%g |
|
|
s%@bfd_default_target_size@%$bfd_default_target_size%g |
|
|
s%@tdefaults@%$tdefaults%g |
|
13180 |
|
|
13181 |
|
_ACEOF |
13182 |
|
|
13183 |
|
cat >>$CONFIG_STATUS <<_ACEOF |
13184 |
|
# |
13185 |
|
# INIT-COMMANDS section. |
13186 |
|
# |
13187 |
|
|
13188 |
|
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" |
13189 |
|
|
13190 |
|
|
13191 |
|
_ACEOF |
13192 |
|
|
13193 |
|
|
13194 |
|
|
13195 |
|
cat >>$CONFIG_STATUS <<\_ACEOF |
13196 |
|
for ac_config_target in $ac_config_targets |
13197 |
|
do |
13198 |
|
case "$ac_config_target" in |
13199 |
|
# Handling of arguments. |
13200 |
|
"Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
13201 |
|
"doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; |
13202 |
|
"bfd-in3.h" ) CONFIG_FILES="$CONFIG_FILES bfd-in3.h:bfd-in2.h" ;; |
13203 |
|
"po/Makefile.in" ) CONFIG_FILES="$CONFIG_FILES po/Makefile.in:po/Make-in" ;; |
13204 |
|
"depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; |
13205 |
|
"default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; |
13206 |
|
"config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.in" ;; |
13207 |
|
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
13208 |
|
echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
13209 |
|
{ (exit 1); exit 1; }; };; |
13210 |
|
esac |
13211 |
|
done |
13212 |
|
|
13213 |
|
# If the user did not use the arguments to specify the items to instantiate, |
13214 |
|
# then the envvar interface is used. Set only those that are not. |
13215 |
|
# We use the long form for the default assignment because of an extremely |
13216 |
|
# bizarre bug on SunOS 4.1.3. |
13217 |
|
if $ac_need_defaults; then |
13218 |
|
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files |
13219 |
|
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers |
13220 |
|
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands |
13221 |
|
fi |
13222 |
|
|
13223 |
|
# Have a temporary directory for convenience. Make it in the build tree |
13224 |
|
# simply because there is no reason to put it here, and in addition, |
13225 |
|
# creating and moving files from /tmp can sometimes cause problems. |
13226 |
|
# Create a temporary directory, and hook for its removal unless debugging. |
13227 |
|
$debug || |
13228 |
|
{ |
13229 |
|
trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 |
13230 |
|
trap '{ (exit 1); exit 1; }' 1 2 13 15 |
13231 |
|
} |
13232 |
|
|
13233 |
|
# Create a (secure) tmp directory for tmp files. |
13234 |
|
|
13235 |
|
{ |
13236 |
|
tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && |
13237 |
|
test -n "$tmp" && test -d "$tmp" |
13238 |
|
} || |
13239 |
|
{ |
13240 |
|
tmp=./confstat$$-$RANDOM |
13241 |
|
(umask 077 && mkdir $tmp) |
13242 |
|
} || |
13243 |
|
{ |
13244 |
|
echo "$me: cannot create a temporary directory in ." >&2 |
13245 |
|
{ (exit 1); exit 1; } |
13246 |
|
} |
13247 |
|
|
13248 |
|
_ACEOF |
13249 |
|
|
13250 |
|
cat >>$CONFIG_STATUS <<_ACEOF |
13251 |
|
|
13252 |
|
# |
13253 |
|
# CONFIG_FILES section. |
13254 |
|
# |
13255 |
|
|
13256 |
|
# No need to generate the scripts if there are no CONFIG_FILES. |
13257 |
|
# This happens for instance when ./config.status config.h |
13258 |
|
if test -n "\$CONFIG_FILES"; then |
13259 |
|
# Protect against being on the right side of a sed subst in config.status. |
13260 |
|
sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; |
13261 |
|
s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF |
13262 |
|
s,@SHELL@,$SHELL,;t t |
13263 |
|
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t |
13264 |
|
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t |
13265 |
|
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t |
13266 |
|
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t |
13267 |
|
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t |
13268 |
|
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t |
13269 |
|
s,@exec_prefix@,$exec_prefix,;t t |
13270 |
|
s,@prefix@,$prefix,;t t |
13271 |
|
s,@program_transform_name@,$program_transform_name,;t t |
13272 |
|
s,@bindir@,$bindir,;t t |
13273 |
|
s,@sbindir@,$sbindir,;t t |
13274 |
|
s,@libexecdir@,$libexecdir,;t t |
13275 |
|
s,@datadir@,$datadir,;t t |
13276 |
|
s,@sysconfdir@,$sysconfdir,;t t |
13277 |
|
s,@sharedstatedir@,$sharedstatedir,;t t |
13278 |
|
s,@localstatedir@,$localstatedir,;t t |
13279 |
|
s,@libdir@,$libdir,;t t |
13280 |
|
s,@includedir@,$includedir,;t t |
13281 |
|
s,@oldincludedir@,$oldincludedir,;t t |
13282 |
|
s,@infodir@,$infodir,;t t |
13283 |
|
s,@mandir@,$mandir,;t t |
13284 |
|
s,@build_alias@,$build_alias,;t t |
13285 |
|
s,@host_alias@,$host_alias,;t t |
13286 |
|
s,@target_alias@,$target_alias,;t t |
13287 |
|
s,@DEFS@,$DEFS,;t t |
13288 |
|
s,@ECHO_C@,$ECHO_C,;t t |
13289 |
|
s,@ECHO_N@,$ECHO_N,;t t |
13290 |
|
s,@ECHO_T@,$ECHO_T,;t t |
13291 |
|
s,@LIBS@,$LIBS,;t t |
13292 |
|
s,@build@,$build,;t t |
13293 |
|
s,@build_cpu@,$build_cpu,;t t |
13294 |
|
s,@build_vendor@,$build_vendor,;t t |
13295 |
|
s,@build_os@,$build_os,;t t |
13296 |
|
s,@host@,$host,;t t |
13297 |
|
s,@host_cpu@,$host_cpu,;t t |
13298 |
|
s,@host_vendor@,$host_vendor,;t t |
13299 |
|
s,@host_os@,$host_os,;t t |
13300 |
|
s,@target@,$target,;t t |
13301 |
|
s,@target_cpu@,$target_cpu,;t t |
13302 |
|
s,@target_vendor@,$target_vendor,;t t |
13303 |
|
s,@target_os@,$target_os,;t t |
13304 |
|
s,@CC@,$CC,;t t |
13305 |
|
s,@CFLAGS@,$CFLAGS,;t t |
13306 |
|
s,@LDFLAGS@,$LDFLAGS,;t t |
13307 |
|
s,@CPPFLAGS@,$CPPFLAGS,;t t |
13308 |
|
s,@ac_ct_CC@,$ac_ct_CC,;t t |
13309 |
|
s,@EXEEXT@,$EXEEXT,;t t |
13310 |
|
s,@OBJEXT@,$OBJEXT,;t t |
13311 |
|
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t |
13312 |
|
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t |
13313 |
|
s,@INSTALL_DATA@,$INSTALL_DATA,;t t |
13314 |
|
s,@CYGPATH_W@,$CYGPATH_W,;t t |
13315 |
|
s,@PACKAGE@,$PACKAGE,;t t |
13316 |
|
s,@VERSION@,$VERSION,;t t |
13317 |
|
s,@ACLOCAL@,$ACLOCAL,;t t |
13318 |
|
s,@AUTOCONF@,$AUTOCONF,;t t |
13319 |
|
s,@AUTOMAKE@,$AUTOMAKE,;t t |
13320 |
|
s,@AUTOHEADER@,$AUTOHEADER,;t t |
13321 |
|
s,@MAKEINFO@,$MAKEINFO,;t t |
13322 |
|
s,@install_sh@,$install_sh,;t t |
13323 |
|
s,@STRIP@,$STRIP,;t t |
13324 |
|
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t |
13325 |
|
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t |
13326 |
|
s,@mkdir_p@,$mkdir_p,;t t |
13327 |
|
s,@AWK@,$AWK,;t t |
13328 |
|
s,@SET_MAKE@,$SET_MAKE,;t t |
13329 |
|
s,@am__leading_dot@,$am__leading_dot,;t t |
13330 |
|
s,@AMTAR@,$AMTAR,;t t |
13331 |
|
s,@am__tar@,$am__tar,;t t |
13332 |
|
s,@am__untar@,$am__untar,;t t |
13333 |
|
s,@DEPDIR@,$DEPDIR,;t t |
13334 |
|
s,@am__include@,$am__include,;t t |
13335 |
|
s,@am__quote@,$am__quote,;t t |
13336 |
|
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t |
13337 |
|
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t |
13338 |
|
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t |
13339 |
|
s,@CCDEPMODE@,$CCDEPMODE,;t t |
13340 |
|
s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t |
13341 |
|
s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t |
13342 |
|
s,@AR@,$AR,;t t |
13343 |
|
s,@ac_ct_AR@,$ac_ct_AR,;t t |
13344 |
|
s,@RANLIB@,$RANLIB,;t t |
13345 |
|
s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t |
13346 |
|
s,@LN_S@,$LN_S,;t t |
13347 |
|
s,@LIBTOOL@,$LIBTOOL,;t t |
13348 |
|
s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t |
13349 |
|
s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t |
13350 |
|
s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t |
13351 |
|
s,@MAINT@,$MAINT,;t t |
13352 |
|
s,@INSTALL_LIBBFD_TRUE@,$INSTALL_LIBBFD_TRUE,;t t |
13353 |
|
s,@INSTALL_LIBBFD_FALSE@,$INSTALL_LIBBFD_FALSE,;t t |
13354 |
|
s,@host_noncanonical@,$host_noncanonical,;t t |
13355 |
|
s,@target_noncanonical@,$target_noncanonical,;t t |
13356 |
|
s,@bfdlibdir@,$bfdlibdir,;t t |
13357 |
|
s,@bfdincludedir@,$bfdincludedir,;t t |
13358 |
|
s,@CPP@,$CPP,;t t |
13359 |
|
s,@EGREP@,$EGREP,;t t |
13360 |
|
s,@ALLOCA@,$ALLOCA,;t t |
13361 |
|
s,@USE_NLS@,$USE_NLS,;t t |
13362 |
|
s,@MSGFMT@,$MSGFMT,;t t |
13363 |
|
s,@GMSGFMT@,$GMSGFMT,;t t |
13364 |
|
s,@XGETTEXT@,$XGETTEXT,;t t |
13365 |
|
s,@USE_INCLUDED_LIBINTL@,$USE_INCLUDED_LIBINTL,;t t |
13366 |
|
s,@CATALOGS@,$CATALOGS,;t t |
13367 |
|
s,@CATOBJEXT@,$CATOBJEXT,;t t |
13368 |
|
s,@DATADIRNAME@,$DATADIRNAME,;t t |
13369 |
|
s,@GMOFILES@,$GMOFILES,;t t |
13370 |
|
s,@INSTOBJEXT@,$INSTOBJEXT,;t t |
13371 |
|
s,@INTLDEPS@,$INTLDEPS,;t t |
13372 |
|
s,@INTLLIBS@,$INTLLIBS,;t t |
13373 |
|
s,@INTLOBJS@,$INTLOBJS,;t t |
13374 |
|
s,@POFILES@,$POFILES,;t t |
13375 |
|
s,@POSUB@,$POSUB,;t t |
13376 |
|
s,@INCLUDE_LOCALE_H@,$INCLUDE_LOCALE_H,;t t |
13377 |
|
s,@GT_NO@,$GT_NO,;t t |
13378 |
|
s,@GT_YES@,$GT_YES,;t t |
13379 |
|
s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t |
13380 |
|
s,@l@,$l,;t t |
13381 |
|
s,@HDEFINES@,$HDEFINES,;t t |
13382 |
|
s,@BFD_HOST_64BIT_LONG@,$BFD_HOST_64BIT_LONG,;t t |
13383 |
|
s,@BFD_HOST_LONG_LONG@,$BFD_HOST_LONG_LONG,;t t |
13384 |
|
s,@BFD_HOST_64_BIT_DEFINED@,$BFD_HOST_64_BIT_DEFINED,;t t |
13385 |
|
s,@BFD_HOST_64_BIT@,$BFD_HOST_64_BIT,;t t |
13386 |
|
s,@BFD_HOST_U_64_BIT@,$BFD_HOST_U_64_BIT,;t t |
13387 |
|
s,@CC_FOR_BUILD@,$CC_FOR_BUILD,;t t |
13388 |
|
s,@EXEEXT_FOR_BUILD@,$EXEEXT_FOR_BUILD,;t t |
13389 |
|
s,@COREFILE@,$COREFILE,;t t |
13390 |
|
s,@COREFLAG@,$COREFLAG,;t t |
13391 |
|
s,@WIN32LDFLAGS@,$WIN32LDFLAGS,;t t |
13392 |
|
s,@WIN32LIBADD@,$WIN32LIBADD,;t t |
13393 |
|
s,@TDEFINES@,$TDEFINES,;t t |
13394 |
|
s,@wordsize@,$wordsize,;t t |
13395 |
|
s,@bfd_libs@,$bfd_libs,;t t |
13396 |
|
s,@all_backends@,$all_backends,;t t |
13397 |
|
s,@bfd_backends@,$bfd_backends,;t t |
13398 |
|
s,@bfd_machines@,$bfd_machines,;t t |
13399 |
|
s,@bfd_default_target_size@,$bfd_default_target_size,;t t |
13400 |
|
s,@bfd_file_ptr@,$bfd_file_ptr,;t t |
13401 |
|
s,@bfd_ufile_ptr@,$bfd_ufile_ptr,;t t |
13402 |
|
s,@tdefaults@,$tdefaults,;t t |
13403 |
|
s,@LIBOBJS@,$LIBOBJS,;t t |
13404 |
|
s,@LTLIBOBJS@,$LTLIBOBJS,;t t |
13405 |
CEOF |
CEOF |
|
EOF |
|
13406 |
|
|
13407 |
cat >> $CONFIG_STATUS <<\EOF |
_ACEOF |
13408 |
|
|
13409 |
# Split the substitutions into bite-sized pieces for seds with |
cat >>$CONFIG_STATUS <<\_ACEOF |
13410 |
# small command number limits, like on Digital OSF/1 and HP-UX. |
# Split the substitutions into bite-sized pieces for seds with |
13411 |
ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script. |
# small command number limits, like on Digital OSF/1 and HP-UX. |
13412 |
ac_file=1 # Number of current file. |
ac_max_sed_lines=48 |
13413 |
ac_beg=1 # First line for current file. |
ac_sed_frag=1 # Number of current file. |
13414 |
ac_end=$ac_max_sed_cmds # Line after last line for current file. |
ac_beg=1 # First line for current file. |
13415 |
ac_more_lines=: |
ac_end=$ac_max_sed_lines # Line after last line for current file. |
13416 |
ac_sed_cmds="" |
ac_more_lines=: |
13417 |
while $ac_more_lines; do |
ac_sed_cmds= |
13418 |
if test $ac_beg -gt 1; then |
while $ac_more_lines; do |
13419 |
sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file |
if test $ac_beg -gt 1; then |
13420 |
else |
sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag |
13421 |
sed "${ac_end}q" conftest.subs > conftest.s$ac_file |
else |
13422 |
fi |
sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag |
13423 |
if test ! -s conftest.s$ac_file; then |
fi |
13424 |
ac_more_lines=false |
if test ! -s $tmp/subs.frag; then |
13425 |
rm -f conftest.s$ac_file |
ac_more_lines=false |
|
else |
|
|
if test -z "$ac_sed_cmds"; then |
|
|
ac_sed_cmds="sed -f conftest.s$ac_file" |
|
13426 |
else |
else |
13427 |
ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file" |
# The purpose of the label and of the branching condition is to |
13428 |
|
# speed up the sed processing (if there are no `@' at all, there |
13429 |
|
# is no need to browse any of the substitutions). |
13430 |
|
# These are the two extra sed commands mentioned above. |
13431 |
|
(echo ':t |
13432 |
|
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed |
13433 |
|
if test -z "$ac_sed_cmds"; then |
13434 |
|
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" |
13435 |
|
else |
13436 |
|
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" |
13437 |
|
fi |
13438 |
|
ac_sed_frag=`expr $ac_sed_frag + 1` |
13439 |
|
ac_beg=$ac_end |
13440 |
|
ac_end=`expr $ac_end + $ac_max_sed_lines` |
13441 |
fi |
fi |
13442 |
ac_file=`expr $ac_file + 1` |
done |
13443 |
ac_beg=$ac_end |
if test -z "$ac_sed_cmds"; then |
13444 |
ac_end=`expr $ac_end + $ac_max_sed_cmds` |
ac_sed_cmds=cat |
13445 |
fi |
fi |
13446 |
done |
fi # test -n "$CONFIG_FILES" |
|
if test -z "$ac_sed_cmds"; then |
|
|
ac_sed_cmds=cat |
|
|
fi |
|
|
EOF |
|
|
|
|
|
cat >> $CONFIG_STATUS <<EOF |
|
13447 |
|
|
13448 |
CONFIG_FILES=\${CONFIG_FILES-"../binutils.spec Makefile doc/Makefile bfd-in3.h:bfd-in2.h po/Makefile.in:po/Make-in"} |
_ACEOF |
13449 |
EOF |
cat >>$CONFIG_STATUS <<\_ACEOF |
13450 |
cat >> $CONFIG_STATUS <<\EOF |
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue |
|
for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then |
|
13451 |
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
13452 |
case "$ac_file" in |
case $ac_file in |
13453 |
*:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'` |
- | *:- | *:-:* ) # input from stdin |
13454 |
ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; |
cat >$tmp/stdin |
13455 |
*) ac_file_in="${ac_file}.in" ;; |
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
13456 |
|
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
13457 |
|
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
13458 |
|
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
13459 |
|
* ) ac_file_in=$ac_file.in ;; |
13460 |
esac |
esac |
13461 |
|
|
13462 |
# Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories. |
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. |
13463 |
|
ac_dir=`(dirname "$ac_file") 2>/dev/null || |
13464 |
# Remove last slash and all that follows it. Not all systems have dirname. |
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
13465 |
ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'` |
X"$ac_file" : 'X\(//\)[^/]' \| \ |
13466 |
if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then |
X"$ac_file" : 'X\(//\)$' \| \ |
13467 |
# The file is in a subdirectory. |
X"$ac_file" : 'X\(/\)' \| \ |
13468 |
test ! -d "$ac_dir" && mkdir "$ac_dir" |
. : '\(.\)' 2>/dev/null || |
13469 |
ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`" |
echo X"$ac_file" | |
13470 |
# A "../" for each directory in $ac_dir_suffix. |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
13471 |
ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'` |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
13472 |
else |
/^X\(\/\/\)$/{ s//\1/; q; } |
13473 |
ac_dir_suffix= ac_dots= |
/^X\(\/\).*/{ s//\1/; q; } |
13474 |
fi |
s/.*/./; q'` |
13475 |
|
{ if $as_mkdir_p; then |
13476 |
case "$ac_given_srcdir" in |
mkdir -p "$ac_dir" |
13477 |
.) srcdir=. |
else |
13478 |
if test -z "$ac_dots"; then top_srcdir=. |
as_dir="$ac_dir" |
13479 |
else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;; |
as_dirs= |
13480 |
/*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;; |
while test ! -d "$as_dir"; do |
13481 |
|
as_dirs="$as_dir $as_dirs" |
13482 |
|
as_dir=`(dirname "$as_dir") 2>/dev/null || |
13483 |
|
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
13484 |
|
X"$as_dir" : 'X\(//\)[^/]' \| \ |
13485 |
|
X"$as_dir" : 'X\(//\)$' \| \ |
13486 |
|
X"$as_dir" : 'X\(/\)' \| \ |
13487 |
|
. : '\(.\)' 2>/dev/null || |
13488 |
|
echo X"$as_dir" | |
13489 |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
13490 |
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
13491 |
|
/^X\(\/\/\)$/{ s//\1/; q; } |
13492 |
|
/^X\(\/\).*/{ s//\1/; q; } |
13493 |
|
s/.*/./; q'` |
13494 |
|
done |
13495 |
|
test ! -n "$as_dirs" || mkdir $as_dirs |
13496 |
|
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 |
13497 |
|
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} |
13498 |
|
{ (exit 1); exit 1; }; }; } |
13499 |
|
|
13500 |
|
ac_builddir=. |
13501 |
|
|
13502 |
|
if test "$ac_dir" != .; then |
13503 |
|
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
13504 |
|
# A "../" for each directory in $ac_dir_suffix. |
13505 |
|
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` |
13506 |
|
else |
13507 |
|
ac_dir_suffix= ac_top_builddir= |
13508 |
|
fi |
13509 |
|
|
13510 |
|
case $srcdir in |
13511 |
|
.) # No --srcdir option. We are building in place. |
13512 |
|
ac_srcdir=. |
13513 |
|
if test -z "$ac_top_builddir"; then |
13514 |
|
ac_top_srcdir=. |
13515 |
|
else |
13516 |
|
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` |
13517 |
|
fi ;; |
13518 |
|
[\\/]* | ?:[\\/]* ) # Absolute path. |
13519 |
|
ac_srcdir=$srcdir$ac_dir_suffix; |
13520 |
|
ac_top_srcdir=$srcdir ;; |
13521 |
*) # Relative path. |
*) # Relative path. |
13522 |
srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix" |
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
13523 |
top_srcdir="$ac_dots$ac_given_srcdir" ;; |
ac_top_srcdir=$ac_top_builddir$srcdir ;; |
13524 |
esac |
esac |
13525 |
|
|
13526 |
|
# Do not use `cd foo && pwd` to compute absolute paths, because |
13527 |
|
# the directories may not exist. |
13528 |
|
case `pwd` in |
13529 |
|
.) ac_abs_builddir="$ac_dir";; |
13530 |
|
*) |
13531 |
|
case "$ac_dir" in |
13532 |
|
.) ac_abs_builddir=`pwd`;; |
13533 |
|
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; |
13534 |
|
*) ac_abs_builddir=`pwd`/"$ac_dir";; |
13535 |
|
esac;; |
13536 |
|
esac |
13537 |
|
case $ac_abs_builddir in |
13538 |
|
.) ac_abs_top_builddir=${ac_top_builddir}.;; |
13539 |
|
*) |
13540 |
|
case ${ac_top_builddir}. in |
13541 |
|
.) ac_abs_top_builddir=$ac_abs_builddir;; |
13542 |
|
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; |
13543 |
|
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; |
13544 |
|
esac;; |
13545 |
|
esac |
13546 |
|
case $ac_abs_builddir in |
13547 |
|
.) ac_abs_srcdir=$ac_srcdir;; |
13548 |
|
*) |
13549 |
|
case $ac_srcdir in |
13550 |
|
.) ac_abs_srcdir=$ac_abs_builddir;; |
13551 |
|
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; |
13552 |
|
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; |
13553 |
|
esac;; |
13554 |
|
esac |
13555 |
|
case $ac_abs_builddir in |
13556 |
|
.) ac_abs_top_srcdir=$ac_top_srcdir;; |
13557 |
|
*) |
13558 |
|
case $ac_top_srcdir in |
13559 |
|
.) ac_abs_top_srcdir=$ac_abs_builddir;; |
13560 |
|
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; |
13561 |
|
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; |
13562 |
|
esac;; |
13563 |
|
esac |
13564 |
|
|
|
case "$ac_given_INSTALL" in |
|
|
[/$]*) INSTALL="$ac_given_INSTALL" ;; |
|
|
*) INSTALL="$ac_dots$ac_given_INSTALL" ;; |
|
|
esac |
|
13565 |
|
|
13566 |
echo creating "$ac_file" |
case $INSTALL in |
13567 |
rm -f "$ac_file" |
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
13568 |
configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure." |
*) ac_INSTALL=$ac_top_builddir$INSTALL ;; |
|
case "$ac_file" in |
|
|
*Makefile*) ac_comsub="1i\\ |
|
|
# $configure_input" ;; |
|
|
*) ac_comsub= ;; |
|
13569 |
esac |
esac |
13570 |
|
|
13571 |
ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"` |
if test x"$ac_file" != x-; then |
13572 |
sed -e "$ac_comsub |
{ echo "$as_me:$LINENO: creating $ac_file" >&5 |
13573 |
s%@configure_input@%$configure_input%g |
echo "$as_me: creating $ac_file" >&6;} |
13574 |
s%@srcdir@%$srcdir%g |
rm -f "$ac_file" |
13575 |
s%@top_srcdir@%$top_srcdir%g |
fi |
13576 |
s%@INSTALL@%$INSTALL%g |
# Let's still pretend it is `configure' which instantiates (i.e., don't |
13577 |
" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file |
# use $as_me), people would be surprised to read: |
13578 |
fi; done |
# /* config.h. Generated by config.status. */ |
13579 |
rm -f conftest.s* |
if test x"$ac_file" = x-; then |
13580 |
|
configure_input= |
13581 |
|
else |
13582 |
|
configure_input="$ac_file. " |
13583 |
|
fi |
13584 |
|
configure_input=$configure_input"Generated from `echo $ac_file_in | |
13585 |
|
sed 's,.*/,,'` by configure." |
13586 |
|
|
13587 |
|
# First look for the input files in the build tree, otherwise in the |
13588 |
|
# src tree. |
13589 |
|
ac_file_inputs=`IFS=: |
13590 |
|
for f in $ac_file_in; do |
13591 |
|
case $f in |
13592 |
|
-) echo $tmp/stdin ;; |
13593 |
|
[\\/$]*) |
13594 |
|
# Absolute (can't be DOS-style, as IFS=:) |
13595 |
|
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
13596 |
|
echo "$as_me: error: cannot find input file: $f" >&2;} |
13597 |
|
{ (exit 1); exit 1; }; } |
13598 |
|
echo "$f";; |
13599 |
|
*) # Relative |
13600 |
|
if test -f "$f"; then |
13601 |
|
# Build tree |
13602 |
|
echo "$f" |
13603 |
|
elif test -f "$srcdir/$f"; then |
13604 |
|
# Source tree |
13605 |
|
echo "$srcdir/$f" |
13606 |
|
else |
13607 |
|
# /dev/null tree |
13608 |
|
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
13609 |
|
echo "$as_me: error: cannot find input file: $f" >&2;} |
13610 |
|
{ (exit 1); exit 1; }; } |
13611 |
|
fi;; |
13612 |
|
esac |
13613 |
|
done` || { (exit 1); exit 1; } |
13614 |
|
_ACEOF |
13615 |
|
cat >>$CONFIG_STATUS <<_ACEOF |
13616 |
|
sed "$ac_vpsub |
13617 |
|
$extrasub |
13618 |
|
_ACEOF |
13619 |
|
cat >>$CONFIG_STATUS <<\_ACEOF |
13620 |
|
:t |
13621 |
|
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
13622 |
|
s,@configure_input@,$configure_input,;t t |
13623 |
|
s,@srcdir@,$ac_srcdir,;t t |
13624 |
|
s,@abs_srcdir@,$ac_abs_srcdir,;t t |
13625 |
|
s,@top_srcdir@,$ac_top_srcdir,;t t |
13626 |
|
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t |
13627 |
|
s,@builddir@,$ac_builddir,;t t |
13628 |
|
s,@abs_builddir@,$ac_abs_builddir,;t t |
13629 |
|
s,@top_builddir@,$ac_top_builddir,;t t |
13630 |
|
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t |
13631 |
|
s,@INSTALL@,$ac_INSTALL,;t t |
13632 |
|
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out |
13633 |
|
rm -f $tmp/stdin |
13634 |
|
if test x"$ac_file" != x-; then |
13635 |
|
mv $tmp/out $ac_file |
13636 |
|
else |
13637 |
|
cat $tmp/out |
13638 |
|
rm -f $tmp/out |
13639 |
|
fi |
13640 |
|
|
13641 |
|
done |
13642 |
|
_ACEOF |
13643 |
|
cat >>$CONFIG_STATUS <<\_ACEOF |
13644 |
|
|
13645 |
|
# |
13646 |
|
# CONFIG_HEADER section. |
13647 |
|
# |
13648 |
|
|
13649 |
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where |
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where |
13650 |
# NAME is the cpp macro being defined and VALUE is the value it is being given. |
# NAME is the cpp macro being defined and VALUE is the value it is being given. |
13651 |
# |
# |
13652 |
# ac_d sets the value in "#define NAME VALUE" lines. |
# ac_d sets the value in "#define NAME VALUE" lines. |
13653 |
ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)' |
ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' |
13654 |
ac_dB='\([ ][ ]*\)[^ ]*%\1#\2' |
ac_dB='[ ].*$,\1#\2' |
13655 |
ac_dC='\3' |
ac_dC=' ' |
13656 |
ac_dD='%g' |
ac_dD=',;t' |
13657 |
# ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE". |
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". |
13658 |
ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' |
ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' |
13659 |
ac_uB='\([ ]\)%\1#\2define\3' |
ac_uB='$,\1#\2define\3' |
13660 |
ac_uC=' ' |
ac_uC=' ' |
13661 |
ac_uD='\4%g' |
ac_uD=',;t' |
|
# ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE". |
|
|
ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' |
|
|
ac_eB='$%\1#\2define\3' |
|
|
ac_eC=' ' |
|
|
ac_eD='%g' |
|
13662 |
|
|
13663 |
if test "${CONFIG_HEADERS+set}" != set; then |
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue |
|
EOF |
|
|
cat >> $CONFIG_STATUS <<EOF |
|
|
CONFIG_HEADERS="config.h:config.in" |
|
|
EOF |
|
|
cat >> $CONFIG_STATUS <<\EOF |
|
|
fi |
|
|
for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then |
|
13664 |
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
13665 |
case "$ac_file" in |
case $ac_file in |
13666 |
*:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'` |
- | *:- | *:-:* ) # input from stdin |
13667 |
ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; |
cat >$tmp/stdin |
13668 |
*) ac_file_in="${ac_file}.in" ;; |
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
13669 |
|
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
13670 |
|
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
13671 |
|
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
13672 |
|
* ) ac_file_in=$ac_file.in ;; |
13673 |
esac |
esac |
13674 |
|
|
13675 |
echo creating $ac_file |
test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 |
13676 |
|
echo "$as_me: creating $ac_file" >&6;} |
13677 |
|
|
13678 |
rm -f conftest.frag conftest.in conftest.out |
# First look for the input files in the build tree, otherwise in the |
13679 |
ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"` |
# src tree. |
13680 |
cat $ac_file_inputs > conftest.in |
ac_file_inputs=`IFS=: |
13681 |
|
for f in $ac_file_in; do |
13682 |
EOF |
case $f in |
13683 |
|
-) echo $tmp/stdin ;; |
13684 |
# Transform confdefs.h into a sed script conftest.vals that substitutes |
[\\/$]*) |
13685 |
# the proper values into config.h.in to produce config.h. And first: |
# Absolute (can't be DOS-style, as IFS=:) |
13686 |
# Protect against being on the right side of a sed subst in config.status. |
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
13687 |
# Protect against being in an unquoted here document in config.status. |
echo "$as_me: error: cannot find input file: $f" >&2;} |
13688 |
rm -f conftest.vals |
{ (exit 1); exit 1; }; } |
13689 |
cat > conftest.hdr <<\EOF |
# Do quote $f, to prevent DOS paths from being IFS'd. |
13690 |
s/[\\&%]/\\&/g |
echo "$f";; |
13691 |
s%[\\$`]%\\&%g |
*) # Relative |
13692 |
s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp |
if test -f "$f"; then |
13693 |
s%ac_d%ac_u%gp |
# Build tree |
13694 |
s%ac_u%ac_e%gp |
echo "$f" |
13695 |
EOF |
elif test -f "$srcdir/$f"; then |
13696 |
sed -n -f conftest.hdr confdefs.h > conftest.vals |
# Source tree |
13697 |
rm -f conftest.hdr |
echo "$srcdir/$f" |
13698 |
|
else |
13699 |
|
# /dev/null tree |
13700 |
|
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
13701 |
|
echo "$as_me: error: cannot find input file: $f" >&2;} |
13702 |
|
{ (exit 1); exit 1; }; } |
13703 |
|
fi;; |
13704 |
|
esac |
13705 |
|
done` || { (exit 1); exit 1; } |
13706 |
|
# Remove the trailing spaces. |
13707 |
|
sed 's/[ ]*$//' $ac_file_inputs >$tmp/in |
13708 |
|
|
13709 |
|
_ACEOF |
13710 |
|
|
13711 |
|
# Transform confdefs.h into two sed scripts, `conftest.defines' and |
13712 |
|
# `conftest.undefs', that substitutes the proper values into |
13713 |
|
# config.h.in to produce config.h. The first handles `#define' |
13714 |
|
# templates, and the second `#undef' templates. |
13715 |
|
# And first: Protect against being on the right side of a sed subst in |
13716 |
|
# config.status. Protect against being in an unquoted here document |
13717 |
|
# in config.status. |
13718 |
|
rm -f conftest.defines conftest.undefs |
13719 |
|
# Using a here document instead of a string reduces the quoting nightmare. |
13720 |
|
# Putting comments in sed scripts is not portable. |
13721 |
|
# |
13722 |
|
# `end' is used to avoid that the second main sed command (meant for |
13723 |
|
# 0-ary CPP macros) applies to n-ary macro definitions. |
13724 |
|
# See the Autoconf documentation for `clear'. |
13725 |
|
cat >confdef2sed.sed <<\_ACEOF |
13726 |
|
s/[\\&,]/\\&/g |
13727 |
|
s,[\\$`],\\&,g |
13728 |
|
t clear |
13729 |
|
: clear |
13730 |
|
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp |
13731 |
|
t end |
13732 |
|
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp |
13733 |
|
: end |
13734 |
|
_ACEOF |
13735 |
|
# If some macros were called several times there might be several times |
13736 |
|
# the same #defines, which is useless. Nevertheless, we may not want to |
13737 |
|
# sort them, since we want the *last* AC-DEFINE to be honored. |
13738 |
|
uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines |
13739 |
|
sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs |
13740 |
|
rm -f confdef2sed.sed |
13741 |
|
|
13742 |
# This sed command replaces #undef with comments. This is necessary, for |
# This sed command replaces #undef with comments. This is necessary, for |
13743 |
# example, in the case of _POSIX_SOURCE, which is predefined and required |
# example, in the case of _POSIX_SOURCE, which is predefined and required |
13744 |
# on some systems where configure will not decide to define it. |
# on some systems where configure will not decide to define it. |
13745 |
cat >> conftest.vals <<\EOF |
cat >>conftest.undefs <<\_ACEOF |
13746 |
s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */% |
s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, |
13747 |
EOF |
_ACEOF |
13748 |
|
|
13749 |
# Break up conftest.vals because some shells have a limit on |
# Break up conftest.defines because some shells have a limit on the size |
13750 |
# the size of here documents, and old seds have small limits too. |
# of here documents, and old seds have small limits too (100 cmds). |
13751 |
|
echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS |
13752 |
|
echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS |
13753 |
|
echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS |
13754 |
|
echo ' :' >>$CONFIG_STATUS |
13755 |
rm -f conftest.tail |
rm -f conftest.tail |
13756 |
while : |
while grep . conftest.defines >/dev/null |
13757 |
do |
do |
13758 |
ac_lines=`grep -c . conftest.vals` |
# Write a limited-size here document to $tmp/defines.sed. |
13759 |
# grep -c gives empty output for an empty file on some AIX systems. |
echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS |
13760 |
if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi |
# Speed up: don't consider the non `#define' lines. |
13761 |
# Write a limited-size here document to conftest.frag. |
echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS |
13762 |
echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS |
# Work around the forget-to-reset-the-flag bug. |
13763 |
sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS |
echo 't clr' >>$CONFIG_STATUS |
13764 |
|
echo ': clr' >>$CONFIG_STATUS |
13765 |
|
sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS |
13766 |
echo 'CEOF |
echo 'CEOF |
13767 |
sed -f conftest.frag conftest.in > conftest.out |
sed -f $tmp/defines.sed $tmp/in >$tmp/out |
13768 |
rm -f conftest.in |
rm -f $tmp/in |
13769 |
mv conftest.out conftest.in |
mv $tmp/out $tmp/in |
13770 |
' >> $CONFIG_STATUS |
' >>$CONFIG_STATUS |
13771 |
sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail |
sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail |
13772 |
rm -f conftest.vals |
rm -f conftest.defines |
13773 |
mv conftest.tail conftest.vals |
mv conftest.tail conftest.defines |
13774 |
done |
done |
13775 |
rm -f conftest.vals |
rm -f conftest.defines |
13776 |
|
echo ' fi # grep' >>$CONFIG_STATUS |
13777 |
cat >> $CONFIG_STATUS <<\EOF |
echo >>$CONFIG_STATUS |
13778 |
rm -f conftest.frag conftest.h |
|
13779 |
echo "/* $ac_file. Generated automatically by configure. */" > conftest.h |
# Break up conftest.undefs because some shells have a limit on the size |
13780 |
cat conftest.in >> conftest.h |
# of here documents, and old seds have small limits too (100 cmds). |
13781 |
rm -f conftest.in |
echo ' # Handle all the #undef templates' >>$CONFIG_STATUS |
13782 |
if cmp -s $ac_file conftest.h 2>/dev/null; then |
rm -f conftest.tail |
13783 |
echo "$ac_file is unchanged" |
while grep . conftest.undefs >/dev/null |
13784 |
rm -f conftest.h |
do |
13785 |
else |
# Write a limited-size here document to $tmp/undefs.sed. |
13786 |
# Remove last slash and all that follows it. Not all systems have dirname. |
echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS |
13787 |
ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'` |
# Speed up: don't consider the non `#undef' |
13788 |
if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then |
echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS |
13789 |
# The file is in a subdirectory. |
# Work around the forget-to-reset-the-flag bug. |
13790 |
test ! -d "$ac_dir" && mkdir "$ac_dir" |
echo 't clr' >>$CONFIG_STATUS |
13791 |
|
echo ': clr' >>$CONFIG_STATUS |
13792 |
|
sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS |
13793 |
|
echo 'CEOF |
13794 |
|
sed -f $tmp/undefs.sed $tmp/in >$tmp/out |
13795 |
|
rm -f $tmp/in |
13796 |
|
mv $tmp/out $tmp/in |
13797 |
|
' >>$CONFIG_STATUS |
13798 |
|
sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail |
13799 |
|
rm -f conftest.undefs |
13800 |
|
mv conftest.tail conftest.undefs |
13801 |
|
done |
13802 |
|
rm -f conftest.undefs |
13803 |
|
|
13804 |
|
cat >>$CONFIG_STATUS <<\_ACEOF |
13805 |
|
# Let's still pretend it is `configure' which instantiates (i.e., don't |
13806 |
|
# use $as_me), people would be surprised to read: |
13807 |
|
# /* config.h. Generated by config.status. */ |
13808 |
|
if test x"$ac_file" = x-; then |
13809 |
|
echo "/* Generated by configure. */" >$tmp/config.h |
13810 |
|
else |
13811 |
|
echo "/* $ac_file. Generated by configure. */" >$tmp/config.h |
13812 |
|
fi |
13813 |
|
cat $tmp/in >>$tmp/config.h |
13814 |
|
rm -f $tmp/in |
13815 |
|
if test x"$ac_file" != x-; then |
13816 |
|
if diff $ac_file $tmp/config.h >/dev/null 2>&1; then |
13817 |
|
{ echo "$as_me:$LINENO: $ac_file is unchanged" >&5 |
13818 |
|
echo "$as_me: $ac_file is unchanged" >&6;} |
13819 |
|
else |
13820 |
|
ac_dir=`(dirname "$ac_file") 2>/dev/null || |
13821 |
|
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
13822 |
|
X"$ac_file" : 'X\(//\)[^/]' \| \ |
13823 |
|
X"$ac_file" : 'X\(//\)$' \| \ |
13824 |
|
X"$ac_file" : 'X\(/\)' \| \ |
13825 |
|
. : '\(.\)' 2>/dev/null || |
13826 |
|
echo X"$ac_file" | |
13827 |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
13828 |
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
13829 |
|
/^X\(\/\/\)$/{ s//\1/; q; } |
13830 |
|
/^X\(\/\).*/{ s//\1/; q; } |
13831 |
|
s/.*/./; q'` |
13832 |
|
{ if $as_mkdir_p; then |
13833 |
|
mkdir -p "$ac_dir" |
13834 |
|
else |
13835 |
|
as_dir="$ac_dir" |
13836 |
|
as_dirs= |
13837 |
|
while test ! -d "$as_dir"; do |
13838 |
|
as_dirs="$as_dir $as_dirs" |
13839 |
|
as_dir=`(dirname "$as_dir") 2>/dev/null || |
13840 |
|
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
13841 |
|
X"$as_dir" : 'X\(//\)[^/]' \| \ |
13842 |
|
X"$as_dir" : 'X\(//\)$' \| \ |
13843 |
|
X"$as_dir" : 'X\(/\)' \| \ |
13844 |
|
. : '\(.\)' 2>/dev/null || |
13845 |
|
echo X"$as_dir" | |
13846 |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
13847 |
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
13848 |
|
/^X\(\/\/\)$/{ s//\1/; q; } |
13849 |
|
/^X\(\/\).*/{ s//\1/; q; } |
13850 |
|
s/.*/./; q'` |
13851 |
|
done |
13852 |
|
test ! -n "$as_dirs" || mkdir $as_dirs |
13853 |
|
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 |
13854 |
|
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} |
13855 |
|
{ (exit 1); exit 1; }; }; } |
13856 |
|
|
13857 |
|
rm -f $ac_file |
13858 |
|
mv $tmp/config.h $ac_file |
13859 |
fi |
fi |
13860 |
rm -f $ac_file |
else |
13861 |
mv conftest.h $ac_file |
cat $tmp/config.h |
13862 |
|
rm -f $tmp/config.h |
13863 |
fi |
fi |
13864 |
fi; done |
# Compute $ac_file's index in $config_headers. |
13865 |
|
_am_stamp_count=1 |
13866 |
|
for _am_header in $config_headers :; do |
13867 |
|
case $_am_header in |
13868 |
|
$ac_file | $ac_file:* ) |
13869 |
|
break ;; |
13870 |
|
* ) |
13871 |
|
_am_stamp_count=`expr $_am_stamp_count + 1` ;; |
13872 |
|
esac |
13873 |
|
done |
13874 |
|
echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null || |
13875 |
|
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
13876 |
|
X$ac_file : 'X\(//\)[^/]' \| \ |
13877 |
|
X$ac_file : 'X\(//\)$' \| \ |
13878 |
|
X$ac_file : 'X\(/\)' \| \ |
13879 |
|
. : '\(.\)' 2>/dev/null || |
13880 |
|
echo X$ac_file | |
13881 |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
13882 |
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
13883 |
|
/^X\(\/\/\)$/{ s//\1/; q; } |
13884 |
|
/^X\(\/\).*/{ s//\1/; q; } |
13885 |
|
s/.*/./; q'`/stamp-h$_am_stamp_count |
13886 |
|
done |
13887 |
|
_ACEOF |
13888 |
|
cat >>$CONFIG_STATUS <<\_ACEOF |
13889 |
|
|
13890 |
EOF |
# |
13891 |
cat >> $CONFIG_STATUS <<EOF |
# CONFIG_COMMANDS section. |
13892 |
|
# |
13893 |
|
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue |
13894 |
|
ac_dest=`echo "$ac_file" | sed 's,:.*,,'` |
13895 |
|
ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` |
13896 |
|
ac_dir=`(dirname "$ac_dest") 2>/dev/null || |
13897 |
|
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
13898 |
|
X"$ac_dest" : 'X\(//\)[^/]' \| \ |
13899 |
|
X"$ac_dest" : 'X\(//\)$' \| \ |
13900 |
|
X"$ac_dest" : 'X\(/\)' \| \ |
13901 |
|
. : '\(.\)' 2>/dev/null || |
13902 |
|
echo X"$ac_dest" | |
13903 |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
13904 |
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
13905 |
|
/^X\(\/\/\)$/{ s//\1/; q; } |
13906 |
|
/^X\(\/\).*/{ s//\1/; q; } |
13907 |
|
s/.*/./; q'` |
13908 |
|
{ if $as_mkdir_p; then |
13909 |
|
mkdir -p "$ac_dir" |
13910 |
|
else |
13911 |
|
as_dir="$ac_dir" |
13912 |
|
as_dirs= |
13913 |
|
while test ! -d "$as_dir"; do |
13914 |
|
as_dirs="$as_dir $as_dirs" |
13915 |
|
as_dir=`(dirname "$as_dir") 2>/dev/null || |
13916 |
|
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
13917 |
|
X"$as_dir" : 'X\(//\)[^/]' \| \ |
13918 |
|
X"$as_dir" : 'X\(//\)$' \| \ |
13919 |
|
X"$as_dir" : 'X\(/\)' \| \ |
13920 |
|
. : '\(.\)' 2>/dev/null || |
13921 |
|
echo X"$as_dir" | |
13922 |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
13923 |
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
13924 |
|
/^X\(\/\/\)$/{ s//\1/; q; } |
13925 |
|
/^X\(\/\).*/{ s//\1/; q; } |
13926 |
|
s/.*/./; q'` |
13927 |
|
done |
13928 |
|
test ! -n "$as_dirs" || mkdir $as_dirs |
13929 |
|
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 |
13930 |
|
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} |
13931 |
|
{ (exit 1); exit 1; }; }; } |
13932 |
|
|
13933 |
|
ac_builddir=. |
13934 |
|
|
13935 |
|
if test "$ac_dir" != .; then |
13936 |
|
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
13937 |
|
# A "../" for each directory in $ac_dir_suffix. |
13938 |
|
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` |
13939 |
|
else |
13940 |
|
ac_dir_suffix= ac_top_builddir= |
13941 |
|
fi |
13942 |
|
|
13943 |
|
case $srcdir in |
13944 |
|
.) # No --srcdir option. We are building in place. |
13945 |
|
ac_srcdir=. |
13946 |
|
if test -z "$ac_top_builddir"; then |
13947 |
|
ac_top_srcdir=. |
13948 |
|
else |
13949 |
|
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` |
13950 |
|
fi ;; |
13951 |
|
[\\/]* | ?:[\\/]* ) # Absolute path. |
13952 |
|
ac_srcdir=$srcdir$ac_dir_suffix; |
13953 |
|
ac_top_srcdir=$srcdir ;; |
13954 |
|
*) # Relative path. |
13955 |
|
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
13956 |
|
ac_top_srcdir=$ac_top_builddir$srcdir ;; |
13957 |
|
esac |
13958 |
|
|
13959 |
|
# Do not use `cd foo && pwd` to compute absolute paths, because |
13960 |
|
# the directories may not exist. |
13961 |
|
case `pwd` in |
13962 |
|
.) ac_abs_builddir="$ac_dir";; |
13963 |
|
*) |
13964 |
|
case "$ac_dir" in |
13965 |
|
.) ac_abs_builddir=`pwd`;; |
13966 |
|
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; |
13967 |
|
*) ac_abs_builddir=`pwd`/"$ac_dir";; |
13968 |
|
esac;; |
13969 |
|
esac |
13970 |
|
case $ac_abs_builddir in |
13971 |
|
.) ac_abs_top_builddir=${ac_top_builddir}.;; |
13972 |
|
*) |
13973 |
|
case ${ac_top_builddir}. in |
13974 |
|
.) ac_abs_top_builddir=$ac_abs_builddir;; |
13975 |
|
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; |
13976 |
|
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; |
13977 |
|
esac;; |
13978 |
|
esac |
13979 |
|
case $ac_abs_builddir in |
13980 |
|
.) ac_abs_srcdir=$ac_srcdir;; |
13981 |
|
*) |
13982 |
|
case $ac_srcdir in |
13983 |
|
.) ac_abs_srcdir=$ac_abs_builddir;; |
13984 |
|
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; |
13985 |
|
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; |
13986 |
|
esac;; |
13987 |
|
esac |
13988 |
|
case $ac_abs_builddir in |
13989 |
|
.) ac_abs_top_srcdir=$ac_top_srcdir;; |
13990 |
|
*) |
13991 |
|
case $ac_top_srcdir in |
13992 |
|
.) ac_abs_top_srcdir=$ac_abs_builddir;; |
13993 |
|
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; |
13994 |
|
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; |
13995 |
|
esac;; |
13996 |
|
esac |
13997 |
|
|
13998 |
EOF |
|
13999 |
cat >> $CONFIG_STATUS <<\EOF |
{ echo "$as_me:$LINENO: executing $ac_dest commands" >&5 |
14000 |
test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h |
echo "$as_me: executing $ac_dest commands" >&6;} |
14001 |
sed -e '/SRC-POTFILES =/r po/SRC-POTFILES' -e '/BLD-POTFILES =/r po/BLD-POTFILES' po/Makefile.in > po/Makefile |
case $ac_dest in |
14002 |
exit 0 |
depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do |
14003 |
EOF |
# Strip MF so we end up with the name of the file. |
14004 |
|
mf=`echo "$mf" | sed -e 's/:.*$//'` |
14005 |
|
# Check whether this is an Automake generated Makefile or not. |
14006 |
|
# We used to match only the files named `Makefile.in', but |
14007 |
|
# some people rename them; so instead we look at the file content. |
14008 |
|
# Grep'ing the first line is not enough: some people post-process |
14009 |
|
# each Makefile.in and add a new line on top of each file to say so. |
14010 |
|
# So let's grep whole file. |
14011 |
|
if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then |
14012 |
|
dirpart=`(dirname "$mf") 2>/dev/null || |
14013 |
|
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
14014 |
|
X"$mf" : 'X\(//\)[^/]' \| \ |
14015 |
|
X"$mf" : 'X\(//\)$' \| \ |
14016 |
|
X"$mf" : 'X\(/\)' \| \ |
14017 |
|
. : '\(.\)' 2>/dev/null || |
14018 |
|
echo X"$mf" | |
14019 |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
14020 |
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
14021 |
|
/^X\(\/\/\)$/{ s//\1/; q; } |
14022 |
|
/^X\(\/\).*/{ s//\1/; q; } |
14023 |
|
s/.*/./; q'` |
14024 |
|
else |
14025 |
|
continue |
14026 |
|
fi |
14027 |
|
# Extract the definition of DEPDIR, am__include, and am__quote |
14028 |
|
# from the Makefile without running `make'. |
14029 |
|
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` |
14030 |
|
test -z "$DEPDIR" && continue |
14031 |
|
am__include=`sed -n 's/^am__include = //p' < "$mf"` |
14032 |
|
test -z "am__include" && continue |
14033 |
|
am__quote=`sed -n 's/^am__quote = //p' < "$mf"` |
14034 |
|
# When using ansi2knr, U may be empty or an underscore; expand it |
14035 |
|
U=`sed -n 's/^U = //p' < "$mf"` |
14036 |
|
# Find all dependency output files, they are included files with |
14037 |
|
# $(DEPDIR) in their names. We invoke sed twice because it is the |
14038 |
|
# simplest approach to changing $(DEPDIR) to its actual value in the |
14039 |
|
# expansion. |
14040 |
|
for file in `sed -n " |
14041 |
|
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ |
14042 |
|
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do |
14043 |
|
# Make sure the directory exists. |
14044 |
|
test -f "$dirpart/$file" && continue |
14045 |
|
fdir=`(dirname "$file") 2>/dev/null || |
14046 |
|
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
14047 |
|
X"$file" : 'X\(//\)[^/]' \| \ |
14048 |
|
X"$file" : 'X\(//\)$' \| \ |
14049 |
|
X"$file" : 'X\(/\)' \| \ |
14050 |
|
. : '\(.\)' 2>/dev/null || |
14051 |
|
echo X"$file" | |
14052 |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
14053 |
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
14054 |
|
/^X\(\/\/\)$/{ s//\1/; q; } |
14055 |
|
/^X\(\/\).*/{ s//\1/; q; } |
14056 |
|
s/.*/./; q'` |
14057 |
|
{ if $as_mkdir_p; then |
14058 |
|
mkdir -p $dirpart/$fdir |
14059 |
|
else |
14060 |
|
as_dir=$dirpart/$fdir |
14061 |
|
as_dirs= |
14062 |
|
while test ! -d "$as_dir"; do |
14063 |
|
as_dirs="$as_dir $as_dirs" |
14064 |
|
as_dir=`(dirname "$as_dir") 2>/dev/null || |
14065 |
|
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
14066 |
|
X"$as_dir" : 'X\(//\)[^/]' \| \ |
14067 |
|
X"$as_dir" : 'X\(//\)$' \| \ |
14068 |
|
X"$as_dir" : 'X\(/\)' \| \ |
14069 |
|
. : '\(.\)' 2>/dev/null || |
14070 |
|
echo X"$as_dir" | |
14071 |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
14072 |
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
14073 |
|
/^X\(\/\/\)$/{ s//\1/; q; } |
14074 |
|
/^X\(\/\).*/{ s//\1/; q; } |
14075 |
|
s/.*/./; q'` |
14076 |
|
done |
14077 |
|
test ! -n "$as_dirs" || mkdir $as_dirs |
14078 |
|
fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5 |
14079 |
|
echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;} |
14080 |
|
{ (exit 1); exit 1; }; }; } |
14081 |
|
|
14082 |
|
# echo "creating $dirpart/$file" |
14083 |
|
echo '# dummy' > "$dirpart/$file" |
14084 |
|
done |
14085 |
|
done |
14086 |
|
;; |
14087 |
|
default ) sed -e '/SRC-POTFILES =/r po/SRC-POTFILES' -e '/BLD-POTFILES =/r po/BLD-POTFILES' po/Makefile.in > po/Makefile ;; |
14088 |
|
esac |
14089 |
|
done |
14090 |
|
_ACEOF |
14091 |
|
|
14092 |
|
cat >>$CONFIG_STATUS <<\_ACEOF |
14093 |
|
|
14094 |
|
{ (exit 0); exit 0; } |
14095 |
|
_ACEOF |
14096 |
chmod +x $CONFIG_STATUS |
chmod +x $CONFIG_STATUS |
14097 |
rm -fr confdefs* $ac_clean_files |
ac_clean_files=$ac_clean_files_save |
14098 |
test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1 |
|
14099 |
|
|
14100 |
|
# configure is writing to config.log, and then calls config.status. |
14101 |
|
# config.status does its own redirection, appending to config.log. |
14102 |
|
# Unfortunately, on DOS this fails, as config.log is still kept open |
14103 |
|
# by configure, so config.status won't be able to write to it; its |
14104 |
|
# output is simply discarded. So we exec the FD to /dev/null, |
14105 |
|
# effectively closing config.log, so it can be properly (re)opened and |
14106 |
|
# appended to by config.status. When coming back to configure, we |
14107 |
|
# need to make the FD available again. |
14108 |
|
if test "$no_create" != yes; then |
14109 |
|
ac_cs_success=: |
14110 |
|
ac_config_status_args= |
14111 |
|
test "$silent" = yes && |
14112 |
|
ac_config_status_args="$ac_config_status_args --quiet" |
14113 |
|
exec 5>/dev/null |
14114 |
|
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
14115 |
|
exec 5>>config.log |
14116 |
|
# Use ||, not &&, to avoid exiting from the if with $? = 1, which |
14117 |
|
# would make configure fail if this is the last instruction. |
14118 |
|
$ac_cs_success || { (exit 1); exit 1; } |
14119 |
|
fi |
14120 |
|
|
14121 |
|
|