1 |
#! /bin/sh |
#! /bin/sh |
|
|
|
2 |
# Guess values for system-dependent variables and create Makefiles. |
# Guess values for system-dependent variables and create Makefiles. |
3 |
# Generated automatically using autoconf version 2.13 |
# Generated by GNU Autoconf 2.59 for gnats 4.1. |
4 |
# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc. |
# |
5 |
|
# Report bugs to <bug-gnats@gnu.org>. |
6 |
# |
# |
7 |
|
# Copyright (C) 2003 Free Software Foundation, Inc. |
8 |
# This configure script is free software; the Free Software Foundation |
# This configure script is free software; the Free Software Foundation |
9 |
# gives unlimited permission to copy, distribute and modify it. |
# gives unlimited permission to copy, distribute and modify it. |
10 |
|
## --------------------- ## |
11 |
|
## M4sh Initialization. ## |
12 |
|
## --------------------- ## |
13 |
|
|
14 |
|
# Be Bourne compatible |
15 |
|
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
16 |
|
emulate sh |
17 |
|
NULLCMD=: |
18 |
|
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
19 |
|
# is contrary to our usage. Disable this feature. |
20 |
|
alias -g '${1+"$@"}'='"$@"' |
21 |
|
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
22 |
|
set -o posix |
23 |
|
fi |
24 |
|
DUALCASE=1; export DUALCASE # for MKS sh |
25 |
|
|
26 |
|
# Support unset when possible. |
27 |
|
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
28 |
|
as_unset=unset |
29 |
|
else |
30 |
|
as_unset=false |
31 |
|
fi |
32 |
|
|
33 |
|
|
34 |
|
# Work around bugs in pre-3.0 UWIN ksh. |
35 |
|
$as_unset ENV MAIL MAILPATH |
36 |
|
PS1='$ ' |
37 |
|
PS2='> ' |
38 |
|
PS4='+ ' |
39 |
|
|
40 |
|
# NLS nuisances. |
41 |
|
for as_var in \ |
42 |
|
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ |
43 |
|
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
44 |
|
LC_TELEPHONE LC_TIME |
45 |
|
do |
46 |
|
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
47 |
|
eval $as_var=C; export $as_var |
48 |
|
else |
49 |
|
$as_unset $as_var |
50 |
|
fi |
51 |
|
done |
52 |
|
|
53 |
|
# Required to use basename. |
54 |
|
if expr a : '\(a\)' >/dev/null 2>&1; then |
55 |
|
as_expr=expr |
56 |
|
else |
57 |
|
as_expr=false |
58 |
|
fi |
59 |
|
|
60 |
|
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then |
61 |
|
as_basename=basename |
62 |
|
else |
63 |
|
as_basename=false |
64 |
|
fi |
65 |
|
|
66 |
|
|
67 |
|
# Name of the executable. |
68 |
|
as_me=`$as_basename "$0" || |
69 |
|
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
70 |
|
X"$0" : 'X\(//\)$' \| \ |
71 |
|
X"$0" : 'X\(/\)$' \| \ |
72 |
|
. : '\(.\)' 2>/dev/null || |
73 |
|
echo X/"$0" | |
74 |
|
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } |
75 |
|
/^X\/\(\/\/\)$/{ s//\1/; q; } |
76 |
|
/^X\/\(\/\).*/{ s//\1/; q; } |
77 |
|
s/.*/./; q'` |
78 |
|
|
79 |
|
|
80 |
|
# PATH needs CR, and LINENO needs CR and PATH. |
81 |
|
# Avoid depending upon Character Ranges. |
82 |
|
as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
83 |
|
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
84 |
|
as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
85 |
|
as_cr_digits='0123456789' |
86 |
|
as_cr_alnum=$as_cr_Letters$as_cr_digits |
87 |
|
|
88 |
|
# The user is always right. |
89 |
|
if test "${PATH_SEPARATOR+set}" != set; then |
90 |
|
echo "#! /bin/sh" >conf$$.sh |
91 |
|
echo "exit 0" >>conf$$.sh |
92 |
|
chmod +x conf$$.sh |
93 |
|
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
94 |
|
PATH_SEPARATOR=';' |
95 |
|
else |
96 |
|
PATH_SEPARATOR=: |
97 |
|
fi |
98 |
|
rm -f conf$$.sh |
99 |
|
fi |
100 |
|
|
101 |
|
|
102 |
|
as_lineno_1=$LINENO |
103 |
|
as_lineno_2=$LINENO |
104 |
|
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
105 |
|
test "x$as_lineno_1" != "x$as_lineno_2" && |
106 |
|
test "x$as_lineno_3" = "x$as_lineno_2" || { |
107 |
|
# Find who we are. Look in the path if we contain no path at all |
108 |
|
# relative or not. |
109 |
|
case $0 in |
110 |
|
*[\\/]* ) as_myself=$0 ;; |
111 |
|
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
112 |
|
for as_dir in $PATH |
113 |
|
do |
114 |
|
IFS=$as_save_IFS |
115 |
|
test -z "$as_dir" && as_dir=. |
116 |
|
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
117 |
|
done |
118 |
|
|
119 |
|
;; |
120 |
|
esac |
121 |
|
# We did not find ourselves, most probably we were run as `sh COMMAND' |
122 |
|
# in which case we are not to be found in the path. |
123 |
|
if test "x$as_myself" = x; then |
124 |
|
as_myself=$0 |
125 |
|
fi |
126 |
|
if test ! -f "$as_myself"; then |
127 |
|
{ echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 |
128 |
|
{ (exit 1); exit 1; }; } |
129 |
|
fi |
130 |
|
case $CONFIG_SHELL in |
131 |
|
'') |
132 |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
133 |
|
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
134 |
|
do |
135 |
|
IFS=$as_save_IFS |
136 |
|
test -z "$as_dir" && as_dir=. |
137 |
|
for as_base in sh bash ksh sh5; do |
138 |
|
case $as_dir in |
139 |
|
/*) |
140 |
|
if ("$as_dir/$as_base" -c ' |
141 |
|
as_lineno_1=$LINENO |
142 |
|
as_lineno_2=$LINENO |
143 |
|
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
144 |
|
test "x$as_lineno_1" != "x$as_lineno_2" && |
145 |
|
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then |
146 |
|
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } |
147 |
|
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } |
148 |
|
CONFIG_SHELL=$as_dir/$as_base |
149 |
|
export CONFIG_SHELL |
150 |
|
exec "$CONFIG_SHELL" "$0" ${1+"$@"} |
151 |
|
fi;; |
152 |
|
esac |
153 |
|
done |
154 |
|
done |
155 |
|
;; |
156 |
|
esac |
157 |
|
|
158 |
|
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
159 |
|
# uniformly replaced by the line number. The first 'sed' inserts a |
160 |
|
# line-number line before each line; the second 'sed' does the real |
161 |
|
# work. The second script uses 'N' to pair each line-number line |
162 |
|
# with the numbered line, and appends trailing '-' during |
163 |
|
# substitution so that $LINENO is not a special case at line end. |
164 |
|
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
165 |
|
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) |
166 |
|
sed '=' <$as_myself | |
167 |
|
sed ' |
168 |
|
N |
169 |
|
s,$,-, |
170 |
|
: loop |
171 |
|
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, |
172 |
|
t loop |
173 |
|
s,-$,, |
174 |
|
s,^['$as_cr_digits']*\n,, |
175 |
|
' >$as_me.lineno && |
176 |
|
chmod +x $as_me.lineno || |
177 |
|
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 |
178 |
|
{ (exit 1); exit 1; }; } |
179 |
|
|
180 |
|
# Don't try to exec as it changes $[0], causing all sort of problems |
181 |
|
# (the dirname of $[0] is not the place where we might find the |
182 |
|
# original and so on. Autoconf is especially sensible to this). |
183 |
|
. ./$as_me.lineno |
184 |
|
# Exit status is that of the last command. |
185 |
|
exit |
186 |
|
} |
187 |
|
|
188 |
|
|
189 |
|
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in |
190 |
|
*c*,-n*) ECHO_N= ECHO_C=' |
191 |
|
' ECHO_T=' ' ;; |
192 |
|
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; |
193 |
|
*) ECHO_N= ECHO_C='\c' ECHO_T= ;; |
194 |
|
esac |
195 |
|
|
196 |
|
if expr a : '\(a\)' >/dev/null 2>&1; then |
197 |
|
as_expr=expr |
198 |
|
else |
199 |
|
as_expr=false |
200 |
|
fi |
201 |
|
|
202 |
|
rm -f conf$$ conf$$.exe conf$$.file |
203 |
|
echo >conf$$.file |
204 |
|
if ln -s conf$$.file conf$$ 2>/dev/null; then |
205 |
|
# We could just check for DJGPP; but this test a) works b) is more generic |
206 |
|
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). |
207 |
|
if test -f conf$$.exe; then |
208 |
|
# Don't use ln at all; we don't have any links |
209 |
|
as_ln_s='cp -p' |
210 |
|
else |
211 |
|
as_ln_s='ln -s' |
212 |
|
fi |
213 |
|
elif ln conf$$.file conf$$ 2>/dev/null; then |
214 |
|
as_ln_s=ln |
215 |
|
else |
216 |
|
as_ln_s='cp -p' |
217 |
|
fi |
218 |
|
rm -f conf$$ conf$$.exe conf$$.file |
219 |
|
|
220 |
# Defaults: |
if mkdir -p . 2>/dev/null; then |
221 |
ac_help= |
as_mkdir_p=: |
222 |
|
else |
223 |
|
test -d ./-p && rmdir ./-p |
224 |
|
as_mkdir_p=false |
225 |
|
fi |
226 |
|
|
227 |
|
as_executable_p="test -f" |
228 |
|
|
229 |
|
# Sed expression to map a string onto a valid CPP name. |
230 |
|
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
231 |
|
|
232 |
|
# Sed expression to map a string onto a valid variable name. |
233 |
|
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
234 |
|
|
235 |
|
|
236 |
|
# IFS |
237 |
|
# We need space, tab and new line, in precisely that order. |
238 |
|
as_nl=' |
239 |
|
' |
240 |
|
IFS=" $as_nl" |
241 |
|
|
242 |
|
# CDPATH. |
243 |
|
$as_unset CDPATH |
244 |
|
|
245 |
|
|
246 |
|
# Name of the host. |
247 |
|
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, |
248 |
|
# so uname gets run too. |
249 |
|
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
250 |
|
|
251 |
|
exec 6>&1 |
252 |
|
|
253 |
|
# |
254 |
|
# Initializations. |
255 |
|
# |
256 |
ac_default_prefix=/usr/local |
ac_default_prefix=/usr/local |
257 |
# Any additions from configure.in: |
ac_config_libobj_dir=. |
258 |
ac_help="$ac_help |
cross_compiling=no |
259 |
--with-kerberos include code for Kerberos authentication" |
subdirs= |
260 |
ac_help="$ac_help |
MFLAGS= |
261 |
--with-gnats-service=NAME |
MAKEFLAGS= |
262 |
set the network service or port to NAME" |
SHELL=${CONFIG_SHELL-/bin/sh} |
263 |
ac_help="$ac_help |
|
264 |
--with-gnats-user=NAME set the username for GNATS from the passwd file |
# Maximum number of lines to put in a shell here document. |
265 |
to NAME" |
# This variable seems obsolete. It should probably be removed, and |
266 |
ac_help="$ac_help |
# only ac_max_sed_lines should be used. |
267 |
--with-gnatsd-user-access-file=PATH set global GNATSD access file to PATH" |
: ${ac_max_here_lines=38} |
268 |
ac_help="$ac_help |
|
269 |
--with-gnatsd-host-access-file=PATH set global GNATSD access file to PATH" |
# Identity of this package. |
270 |
ac_help="$ac_help |
PACKAGE_NAME='gnats' |
271 |
--with-gnats-dblist-file=PATH specify file containing list of databases" |
PACKAGE_TARNAME='gnats' |
272 |
ac_help="$ac_help |
PACKAGE_VERSION='4.1' |
273 |
--with-gnats-default-db=PATH specify the default database directory to use" |
PACKAGE_STRING='gnats 4.1' |
274 |
ac_help="$ac_help |
PACKAGE_BUGREPORT='bug-gnats@gnu.org' |
275 |
--with-krb4 support Kerberos 4" |
|
276 |
|
# Factoring default headers for most tests. |
277 |
|
ac_includes_default="\ |
278 |
|
#include <stdio.h> |
279 |
|
#if HAVE_SYS_TYPES_H |
280 |
|
# include <sys/types.h> |
281 |
|
#endif |
282 |
|
#if HAVE_SYS_STAT_H |
283 |
|
# include <sys/stat.h> |
284 |
|
#endif |
285 |
|
#if STDC_HEADERS |
286 |
|
# include <stdlib.h> |
287 |
|
# include <stddef.h> |
288 |
|
#else |
289 |
|
# if HAVE_STDLIB_H |
290 |
|
# include <stdlib.h> |
291 |
|
# endif |
292 |
|
#endif |
293 |
|
#if HAVE_STRING_H |
294 |
|
# if !STDC_HEADERS && HAVE_MEMORY_H |
295 |
|
# include <memory.h> |
296 |
|
# endif |
297 |
|
# include <string.h> |
298 |
|
#endif |
299 |
|
#if HAVE_STRINGS_H |
300 |
|
# include <strings.h> |
301 |
|
#endif |
302 |
|
#if HAVE_INTTYPES_H |
303 |
|
# include <inttypes.h> |
304 |
|
#else |
305 |
|
# if HAVE_STDINT_H |
306 |
|
# include <stdint.h> |
307 |
|
# endif |
308 |
|
#endif |
309 |
|
#if HAVE_UNISTD_H |
310 |
|
# include <unistd.h> |
311 |
|
#endif" |
312 |
|
|
313 |
|
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 PROGS MAN CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA RANLIB ac_ct_RANLIB YACC LEX LEXLIB LEX_OUTPUT_ROOT M4 AWK EGREP ALLOCA EMACS lispdir GNATS_ALL GNATS_INSTALL KRB4 HAVE_KERBEROS KRBINCLUDE EXTRA_OBJS GNATS_SERVICE GNATS_USER DEFAULT_RELEASE DEFAULT_ORGANIZATION SUBMITTER DEFAULT_MAIL_AGENT BWEEK_START BWEEK_END BDAY_START BDAY_END GNATSD_USER_ACCESS_FILE GNATSD_HOST_ACCESS_FILE GLOBAL_DB_LIST_FILE GNATS_DEFAULT_DB_DIR GCC_CFLAGS SENDMAIL LIBOBJS LTLIBOBJS' |
314 |
|
ac_subst_files='' |
315 |
|
|
316 |
# Initialize some variables set by options. |
# Initialize some variables set by options. |
317 |
|
ac_init_help= |
318 |
|
ac_init_version=false |
319 |
# The variables have the same names as the options, with |
# The variables have the same names as the options, with |
320 |
# dashes changed to underlines. |
# dashes changed to underlines. |
321 |
build=NONE |
cache_file=/dev/null |
|
cache_file=./config.cache |
|
322 |
exec_prefix=NONE |
exec_prefix=NONE |
|
host=NONE |
|
323 |
no_create= |
no_create= |
|
nonopt=NONE |
|
324 |
no_recursion= |
no_recursion= |
325 |
prefix=NONE |
prefix=NONE |
326 |
program_prefix=NONE |
program_prefix=NONE |
329 |
silent= |
silent= |
330 |
site= |
site= |
331 |
srcdir= |
srcdir= |
|
target=NONE |
|
332 |
verbose= |
verbose= |
333 |
x_includes=NONE |
x_includes=NONE |
334 |
x_libraries=NONE |
x_libraries=NONE |
335 |
|
|
336 |
|
# Installation directory options. |
337 |
|
# These are left unexpanded so users can "make install exec_prefix=/foo" |
338 |
|
# and all the variables that are supposed to be based on exec_prefix |
339 |
|
# by default will actually change. |
340 |
|
# Use braces instead of parens because sh, perl, etc. also accept them. |
341 |
bindir='${exec_prefix}/bin' |
bindir='${exec_prefix}/bin' |
342 |
sbindir='${exec_prefix}/sbin' |
sbindir='${exec_prefix}/sbin' |
343 |
libexecdir='${exec_prefix}/libexec' |
libexecdir='${exec_prefix}/libexec' |
351 |
infodir='${prefix}/info' |
infodir='${prefix}/info' |
352 |
mandir='${prefix}/man' |
mandir='${prefix}/man' |
353 |
|
|
|
# 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 |
|
|
|
|
354 |
ac_prev= |
ac_prev= |
355 |
for ac_option |
for ac_option |
356 |
do |
do |
|
|
|
357 |
# If the previous option needs an argument, assign it. |
# If the previous option needs an argument, assign it. |
358 |
if test -n "$ac_prev"; then |
if test -n "$ac_prev"; then |
359 |
eval "$ac_prev=\$ac_option" |
eval "$ac_prev=\$ac_option" |
361 |
continue |
continue |
362 |
fi |
fi |
363 |
|
|
364 |
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 |
|
365 |
|
|
366 |
# Accept the important Cygnus configure options, so we can diagnose typos. |
# Accept the important Cygnus configure options, so we can diagnose typos. |
367 |
|
|
368 |
case "$ac_option" in |
case $ac_option in |
369 |
|
|
370 |
-bindir | --bindir | --bindi | --bind | --bin | --bi) |
-bindir | --bindir | --bindi | --bind | --bin | --bi) |
371 |
ac_prev=bindir ;; |
ac_prev=bindir ;; |
372 |
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
373 |
bindir="$ac_optarg" ;; |
bindir=$ac_optarg ;; |
374 |
|
|
375 |
-build | --build | --buil | --bui | --bu) |
-build | --build | --buil | --bui | --bu) |
376 |
ac_prev=build ;; |
ac_prev=build_alias ;; |
377 |
-build=* | --build=* | --buil=* | --bui=* | --bu=*) |
-build=* | --build=* | --buil=* | --bui=* | --bu=*) |
378 |
build="$ac_optarg" ;; |
build_alias=$ac_optarg ;; |
379 |
|
|
380 |
-cache-file | --cache-file | --cache-fil | --cache-fi \ |
-cache-file | --cache-file | --cache-fil | --cache-fi \ |
381 |
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
382 |
ac_prev=cache_file ;; |
ac_prev=cache_file ;; |
383 |
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
384 |
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) |
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) |
385 |
cache_file="$ac_optarg" ;; |
cache_file=$ac_optarg ;; |
386 |
|
|
387 |
|
--config-cache | -C) |
388 |
|
cache_file=config.cache ;; |
389 |
|
|
390 |
-datadir | --datadir | --datadi | --datad | --data | --dat | --da) |
-datadir | --datadir | --datadi | --datad | --data | --dat | --da) |
391 |
ac_prev=datadir ;; |
ac_prev=datadir ;; |
392 |
-datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ |
-datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ |
393 |
| --da=*) |
| --da=*) |
394 |
datadir="$ac_optarg" ;; |
datadir=$ac_optarg ;; |
395 |
|
|
396 |
-disable-* | --disable-*) |
-disable-* | --disable-*) |
397 |
ac_feature=`echo $ac_option|sed -e 's/-*disable-//'` |
ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
398 |
# Reject names that are not valid shell variable names. |
# Reject names that are not valid shell variable names. |
399 |
if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then |
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && |
400 |
{ echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } |
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
401 |
fi |
{ (exit 1); exit 1; }; } |
402 |
ac_feature=`echo $ac_feature| sed 's/-/_/g'` |
ac_feature=`echo $ac_feature | sed 's/-/_/g'` |
403 |
eval "enable_${ac_feature}=no" ;; |
eval "enable_$ac_feature=no" ;; |
404 |
|
|
405 |
-enable-* | --enable-*) |
-enable-* | --enable-*) |
406 |
ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'` |
ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
407 |
# Reject names that are not valid shell variable names. |
# Reject names that are not valid shell variable names. |
408 |
if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then |
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && |
409 |
{ echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } |
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
410 |
fi |
{ (exit 1); exit 1; }; } |
411 |
ac_feature=`echo $ac_feature| sed 's/-/_/g'` |
ac_feature=`echo $ac_feature | sed 's/-/_/g'` |
412 |
case "$ac_option" in |
case $ac_option in |
413 |
*=*) ;; |
*=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; |
414 |
*) ac_optarg=yes ;; |
*) ac_optarg=yes ;; |
415 |
esac |
esac |
416 |
eval "enable_${ac_feature}='$ac_optarg'" ;; |
eval "enable_$ac_feature='$ac_optarg'" ;; |
417 |
|
|
418 |
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
419 |
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
422 |
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ |
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ |
423 |
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ |
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ |
424 |
| --exec=* | --exe=* | --ex=*) |
| --exec=* | --exe=* | --ex=*) |
425 |
exec_prefix="$ac_optarg" ;; |
exec_prefix=$ac_optarg ;; |
426 |
|
|
427 |
-gas | --gas | --ga | --g) |
-gas | --gas | --ga | --g) |
428 |
# Obsolete; use --with-gas. |
# Obsolete; use --with-gas. |
429 |
with_gas=yes ;; |
with_gas=yes ;; |
430 |
|
|
431 |
-help | --help | --hel | --he) |
-help | --help | --hel | --he | -h) |
432 |
# Omit some internal or obsolete options to make the list less imposing. |
ac_init_help=long ;; |
433 |
# 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*) |
434 |
cat << EOF |
ac_init_help=recursive ;; |
435 |
Usage: configure [options] [host] |
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*) |
436 |
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 ;; |
|
437 |
|
|
438 |
-host | --host | --hos | --ho) |
-host | --host | --hos | --ho) |
439 |
ac_prev=host ;; |
ac_prev=host_alias ;; |
440 |
-host=* | --host=* | --hos=* | --ho=*) |
-host=* | --host=* | --hos=* | --ho=*) |
441 |
host="$ac_optarg" ;; |
host_alias=$ac_optarg ;; |
442 |
|
|
443 |
-includedir | --includedir | --includedi | --included | --include \ |
-includedir | --includedir | --includedi | --included | --include \ |
444 |
| --includ | --inclu | --incl | --inc) |
| --includ | --inclu | --incl | --inc) |
445 |
ac_prev=includedir ;; |
ac_prev=includedir ;; |
446 |
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ |
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ |
447 |
| --includ=* | --inclu=* | --incl=* | --inc=*) |
| --includ=* | --inclu=* | --incl=* | --inc=*) |
448 |
includedir="$ac_optarg" ;; |
includedir=$ac_optarg ;; |
449 |
|
|
450 |
-infodir | --infodir | --infodi | --infod | --info | --inf) |
-infodir | --infodir | --infodi | --infod | --info | --inf) |
451 |
ac_prev=infodir ;; |
ac_prev=infodir ;; |
452 |
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) |
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) |
453 |
infodir="$ac_optarg" ;; |
infodir=$ac_optarg ;; |
454 |
|
|
455 |
-libdir | --libdir | --libdi | --libd) |
-libdir | --libdir | --libdi | --libd) |
456 |
ac_prev=libdir ;; |
ac_prev=libdir ;; |
457 |
-libdir=* | --libdir=* | --libdi=* | --libd=*) |
-libdir=* | --libdir=* | --libdi=* | --libd=*) |
458 |
libdir="$ac_optarg" ;; |
libdir=$ac_optarg ;; |
459 |
|
|
460 |
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ |
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ |
461 |
| --libexe | --libex | --libe) |
| --libexe | --libex | --libe) |
462 |
ac_prev=libexecdir ;; |
ac_prev=libexecdir ;; |
463 |
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ |
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ |
464 |
| --libexe=* | --libex=* | --libe=*) |
| --libexe=* | --libex=* | --libe=*) |
465 |
libexecdir="$ac_optarg" ;; |
libexecdir=$ac_optarg ;; |
466 |
|
|
467 |
-localstatedir | --localstatedir | --localstatedi | --localstated \ |
-localstatedir | --localstatedir | --localstatedi | --localstated \ |
468 |
| --localstate | --localstat | --localsta | --localst \ |
| --localstate | --localstat | --localsta | --localst \ |
471 |
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
472 |
| --localstate=* | --localstat=* | --localsta=* | --localst=* \ |
| --localstate=* | --localstat=* | --localsta=* | --localst=* \ |
473 |
| --locals=* | --local=* | --loca=* | --loc=* | --lo=*) |
| --locals=* | --local=* | --loca=* | --loc=* | --lo=*) |
474 |
localstatedir="$ac_optarg" ;; |
localstatedir=$ac_optarg ;; |
475 |
|
|
476 |
-mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
-mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
477 |
ac_prev=mandir ;; |
ac_prev=mandir ;; |
478 |
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) |
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) |
479 |
mandir="$ac_optarg" ;; |
mandir=$ac_optarg ;; |
480 |
|
|
481 |
-nfp | --nfp | --nf) |
-nfp | --nfp | --nf) |
482 |
# Obsolete; use --without-fp. |
# Obsolete; use --without-fp. |
483 |
with_fp=no ;; |
with_fp=no ;; |
484 |
|
|
485 |
-no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
-no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
486 |
| --no-cr | --no-c) |
| --no-cr | --no-c | -n) |
487 |
no_create=yes ;; |
no_create=yes ;; |
488 |
|
|
489 |
-no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
-no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
497 |
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ |
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ |
498 |
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ |
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ |
499 |
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) |
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) |
500 |
oldincludedir="$ac_optarg" ;; |
oldincludedir=$ac_optarg ;; |
501 |
|
|
502 |
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
503 |
ac_prev=prefix ;; |
ac_prev=prefix ;; |
504 |
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
505 |
prefix="$ac_optarg" ;; |
prefix=$ac_optarg ;; |
506 |
|
|
507 |
-program-prefix | --program-prefix | --program-prefi | --program-pref \ |
-program-prefix | --program-prefix | --program-prefi | --program-pref \ |
508 |
| --program-pre | --program-pr | --program-p) |
| --program-pre | --program-pr | --program-p) |
509 |
ac_prev=program_prefix ;; |
ac_prev=program_prefix ;; |
510 |
-program-prefix=* | --program-prefix=* | --program-prefi=* \ |
-program-prefix=* | --program-prefix=* | --program-prefi=* \ |
511 |
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) |
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) |
512 |
program_prefix="$ac_optarg" ;; |
program_prefix=$ac_optarg ;; |
513 |
|
|
514 |
-program-suffix | --program-suffix | --program-suffi | --program-suff \ |
-program-suffix | --program-suffix | --program-suffi | --program-suff \ |
515 |
| --program-suf | --program-su | --program-s) |
| --program-suf | --program-su | --program-s) |
516 |
ac_prev=program_suffix ;; |
ac_prev=program_suffix ;; |
517 |
-program-suffix=* | --program-suffix=* | --program-suffi=* \ |
-program-suffix=* | --program-suffix=* | --program-suffi=* \ |
518 |
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) |
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) |
519 |
program_suffix="$ac_optarg" ;; |
program_suffix=$ac_optarg ;; |
520 |
|
|
521 |
-program-transform-name | --program-transform-name \ |
-program-transform-name | --program-transform-name \ |
522 |
| --program-transform-nam | --program-transform-na \ |
| --program-transform-nam | --program-transform-na \ |
533 |
| --program-transfo=* | --program-transf=* \ |
| --program-transfo=* | --program-transf=* \ |
534 |
| --program-trans=* | --program-tran=* \ |
| --program-trans=* | --program-tran=* \ |
535 |
| --progr-tra=* | --program-tr=* | --program-t=*) |
| --progr-tra=* | --program-tr=* | --program-t=*) |
536 |
program_transform_name="$ac_optarg" ;; |
program_transform_name=$ac_optarg ;; |
537 |
|
|
538 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
539 |
| -silent | --silent | --silen | --sile | --sil) |
| -silent | --silent | --silen | --sile | --sil) |
543 |
ac_prev=sbindir ;; |
ac_prev=sbindir ;; |
544 |
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
545 |
| --sbi=* | --sb=*) |
| --sbi=* | --sb=*) |
546 |
sbindir="$ac_optarg" ;; |
sbindir=$ac_optarg ;; |
547 |
|
|
548 |
-sharedstatedir | --sharedstatedir | --sharedstatedi \ |
-sharedstatedir | --sharedstatedir | --sharedstatedi \ |
549 |
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \ |
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \ |
554 |
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ |
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ |
555 |
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ |
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ |
556 |
| --sha=* | --sh=*) |
| --sha=* | --sh=*) |
557 |
sharedstatedir="$ac_optarg" ;; |
sharedstatedir=$ac_optarg ;; |
558 |
|
|
559 |
-site | --site | --sit) |
-site | --site | --sit) |
560 |
ac_prev=site ;; |
ac_prev=site ;; |
561 |
-site=* | --site=* | --sit=*) |
-site=* | --site=* | --sit=*) |
562 |
site="$ac_optarg" ;; |
site=$ac_optarg ;; |
563 |
|
|
564 |
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
565 |
ac_prev=srcdir ;; |
ac_prev=srcdir ;; |
566 |
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
567 |
srcdir="$ac_optarg" ;; |
srcdir=$ac_optarg ;; |
568 |
|
|
569 |
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ |
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ |
570 |
| --syscon | --sysco | --sysc | --sys | --sy) |
| --syscon | --sysco | --sysc | --sys | --sy) |
571 |
ac_prev=sysconfdir ;; |
ac_prev=sysconfdir ;; |
572 |
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ |
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ |
573 |
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) |
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) |
574 |
sysconfdir="$ac_optarg" ;; |
sysconfdir=$ac_optarg ;; |
575 |
|
|
576 |
-target | --target | --targe | --targ | --tar | --ta | --t) |
-target | --target | --targe | --targ | --tar | --ta | --t) |
577 |
ac_prev=target ;; |
ac_prev=target_alias ;; |
578 |
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
579 |
target="$ac_optarg" ;; |
target_alias=$ac_optarg ;; |
580 |
|
|
581 |
-v | -verbose | --verbose | --verbos | --verbo | --verb) |
-v | -verbose | --verbose | --verbos | --verbo | --verb) |
582 |
verbose=yes ;; |
verbose=yes ;; |
583 |
|
|
584 |
-version | --version | --versio | --versi | --vers) |
-version | --version | --versio | --versi | --vers | -V) |
585 |
echo "configure generated by autoconf version 2.13" |
ac_init_version=: ;; |
|
exit 0 ;; |
|
586 |
|
|
587 |
-with-* | --with-*) |
-with-* | --with-*) |
588 |
ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'` |
ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
589 |
# Reject names that are not valid shell variable names. |
# Reject names that are not valid shell variable names. |
590 |
if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then |
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && |
591 |
{ echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } |
{ echo "$as_me: error: invalid package name: $ac_package" >&2 |
592 |
fi |
{ (exit 1); exit 1; }; } |
593 |
ac_package=`echo $ac_package| sed 's/-/_/g'` |
ac_package=`echo $ac_package| sed 's/-/_/g'` |
594 |
case "$ac_option" in |
case $ac_option in |
595 |
*=*) ;; |
*=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; |
596 |
*) ac_optarg=yes ;; |
*) ac_optarg=yes ;; |
597 |
esac |
esac |
598 |
eval "with_${ac_package}='$ac_optarg'" ;; |
eval "with_$ac_package='$ac_optarg'" ;; |
599 |
|
|
600 |
-without-* | --without-*) |
-without-* | --without-*) |
601 |
ac_package=`echo $ac_option|sed -e 's/-*without-//'` |
ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
602 |
# Reject names that are not valid shell variable names. |
# Reject names that are not valid shell variable names. |
603 |
if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then |
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && |
604 |
{ echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } |
{ echo "$as_me: error: invalid package name: $ac_package" >&2 |
605 |
fi |
{ (exit 1); exit 1; }; } |
606 |
ac_package=`echo $ac_package| sed 's/-/_/g'` |
ac_package=`echo $ac_package | sed 's/-/_/g'` |
607 |
eval "with_${ac_package}=no" ;; |
eval "with_$ac_package=no" ;; |
608 |
|
|
609 |
--x) |
--x) |
610 |
# Obsolete; use --with-x. |
# Obsolete; use --with-x. |
615 |
ac_prev=x_includes ;; |
ac_prev=x_includes ;; |
616 |
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ |
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ |
617 |
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) |
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) |
618 |
x_includes="$ac_optarg" ;; |
x_includes=$ac_optarg ;; |
619 |
|
|
620 |
-x-libraries | --x-libraries | --x-librarie | --x-librari \ |
-x-libraries | --x-libraries | --x-librarie | --x-librari \ |
621 |
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) |
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) |
622 |
ac_prev=x_libraries ;; |
ac_prev=x_libraries ;; |
623 |
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
624 |
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
625 |
x_libraries="$ac_optarg" ;; |
x_libraries=$ac_optarg ;; |
626 |
|
|
627 |
-*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; } |
-*) { echo "$as_me: error: unrecognized option: $ac_option |
628 |
|
Try \`$0 --help' for more information." >&2 |
629 |
|
{ (exit 1); exit 1; }; } |
630 |
;; |
;; |
631 |
|
|
632 |
|
*=*) |
633 |
|
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
634 |
|
# Reject names that are not valid shell variable names. |
635 |
|
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && |
636 |
|
{ echo "$as_me: error: invalid variable name: $ac_envvar" >&2 |
637 |
|
{ (exit 1); exit 1; }; } |
638 |
|
ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` |
639 |
|
eval "$ac_envvar='$ac_optarg'" |
640 |
|
export $ac_envvar ;; |
641 |
|
|
642 |
*) |
*) |
643 |
if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then |
# FIXME: should be removed in autoconf 3.0. |
644 |
echo "configure: warning: $ac_option: invalid host type" 1>&2 |
echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
645 |
fi |
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
646 |
if test "x$nonopt" != xNONE; then |
echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
647 |
{ 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" |
|
648 |
;; |
;; |
649 |
|
|
650 |
esac |
esac |
651 |
done |
done |
652 |
|
|
653 |
if test -n "$ac_prev"; then |
if test -n "$ac_prev"; then |
654 |
{ echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; } |
ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
655 |
fi |
{ echo "$as_me: error: missing argument to $ac_option" >&2 |
656 |
|
{ (exit 1); exit 1; }; } |
|
trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 |
|
|
|
|
|
# File descriptor usage: |
|
|
# 0 standard input |
|
|
# 1 file creation |
|
|
# 2 errors and warnings |
|
|
# 3 some systems may open it to /dev/tty |
|
|
# 4 used on the Kubota Titan |
|
|
# 6 checking for... messages and results |
|
|
# 5 compiler messages saved in config.log |
|
|
if test "$silent" = yes; then |
|
|
exec 6>/dev/null |
|
|
else |
|
|
exec 6>&1 |
|
657 |
fi |
fi |
|
exec 5>./config.log |
|
658 |
|
|
659 |
echo "\ |
# Be sure to have absolute paths. |
660 |
This file contains any messages produced by compilers while |
for ac_var in exec_prefix prefix |
661 |
running configure, to aid debugging if configure makes a mistake. |
do |
662 |
" 1>&5 |
eval ac_val=$`echo $ac_var` |
663 |
|
case $ac_val in |
664 |
|
[\\/$]* | ?:[\\/]* | NONE | '' ) ;; |
665 |
|
*) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
666 |
|
{ (exit 1); exit 1; }; };; |
667 |
|
esac |
668 |
|
done |
669 |
|
|
670 |
# Strip out --no-create and --no-recursion so they do not pile up. |
# Be sure to have absolute paths. |
671 |
# Also quote any args containing shell metacharacters. |
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ |
672 |
ac_configure_args= |
localstatedir libdir includedir oldincludedir infodir mandir |
|
for ac_arg |
|
673 |
do |
do |
674 |
case "$ac_arg" in |
eval ac_val=$`echo $ac_var` |
675 |
-no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
case $ac_val in |
676 |
| --no-cr | --no-c) ;; |
[\\/$]* | ?:[\\/]* ) ;; |
677 |
-no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
*) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
678 |
| --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" ;; |
|
679 |
esac |
esac |
680 |
done |
done |
681 |
|
|
682 |
# NLS nuisances. |
# There might be people who depend on the old broken behavior: `$host' |
683 |
# Only set these to C if already set. These must not be set unconditionally |
# used to hold the argument of --host etc. |
684 |
# because not all systems understand e.g. LANG=C (notably SCO). |
# FIXME: To remove some day. |
685 |
# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'! |
build=$build_alias |
686 |
# Non-C LC_CTYPE values break the ctype check. |
host=$host_alias |
687 |
if test "${LANG+set}" = set; then LANG=C; export LANG; fi |
target=$target_alias |
688 |
if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi |
|
689 |
if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi |
# FIXME: To remove some day. |
690 |
if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi |
if test "x$host_alias" != x; then |
691 |
|
if test "x$build_alias" = x; then |
692 |
|
cross_compiling=maybe |
693 |
|
echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. |
694 |
|
If a cross compiler is detected then cross compile mode will be used." >&2 |
695 |
|
elif test "x$build_alias" != "x$host_alias"; then |
696 |
|
cross_compiling=yes |
697 |
|
fi |
698 |
|
fi |
699 |
|
|
700 |
# confdefs.h avoids OS command line length limits that DEFS can exceed. |
ac_tool_prefix= |
701 |
rm -rf conftest* confdefs.h |
test -n "$host_alias" && ac_tool_prefix=$host_alias- |
702 |
# AIX cpp loses on an empty file, so make sure it contains at least a newline. |
|
703 |
echo > confdefs.h |
test "$silent" = yes && exec 6>/dev/null |
704 |
|
|
|
# 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=pr.c |
|
705 |
|
|
706 |
# Find the source files, if location was not specified. |
# Find the source files, if location was not specified. |
707 |
if test -z "$srcdir"; then |
if test -z "$srcdir"; then |
708 |
ac_srcdir_defaulted=yes |
ac_srcdir_defaulted=yes |
709 |
# Try the directory containing this script, then its parent. |
# Try the directory containing this script, then its parent. |
710 |
ac_prog=$0 |
ac_confdir=`(dirname "$0") 2>/dev/null || |
711 |
ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'` |
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
712 |
test "x$ac_confdir" = "x$ac_prog" && ac_confdir=. |
X"$0" : 'X\(//\)[^/]' \| \ |
713 |
|
X"$0" : 'X\(//\)$' \| \ |
714 |
|
X"$0" : 'X\(/\)' \| \ |
715 |
|
. : '\(.\)' 2>/dev/null || |
716 |
|
echo X"$0" | |
717 |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
718 |
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
719 |
|
/^X\(\/\/\)$/{ s//\1/; q; } |
720 |
|
/^X\(\/\).*/{ s//\1/; q; } |
721 |
|
s/.*/./; q'` |
722 |
srcdir=$ac_confdir |
srcdir=$ac_confdir |
723 |
if test ! -r $srcdir/$ac_unique_file; then |
if test ! -r $srcdir/$ac_unique_file; then |
724 |
srcdir=.. |
srcdir=.. |
728 |
fi |
fi |
729 |
if test ! -r $srcdir/$ac_unique_file; then |
if test ! -r $srcdir/$ac_unique_file; then |
730 |
if test "$ac_srcdir_defaulted" = yes; then |
if test "$ac_srcdir_defaulted" = yes; then |
731 |
{ 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 |
732 |
|
{ (exit 1); exit 1; }; } |
733 |
else |
else |
734 |
{ 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 |
735 |
|
{ (exit 1); exit 1; }; } |
736 |
fi |
fi |
737 |
fi |
fi |
738 |
srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'` |
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || |
739 |
|
{ echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 |
740 |
|
{ (exit 1); exit 1; }; } |
741 |
|
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` |
742 |
|
ac_env_build_alias_set=${build_alias+set} |
743 |
|
ac_env_build_alias_value=$build_alias |
744 |
|
ac_cv_env_build_alias_set=${build_alias+set} |
745 |
|
ac_cv_env_build_alias_value=$build_alias |
746 |
|
ac_env_host_alias_set=${host_alias+set} |
747 |
|
ac_env_host_alias_value=$host_alias |
748 |
|
ac_cv_env_host_alias_set=${host_alias+set} |
749 |
|
ac_cv_env_host_alias_value=$host_alias |
750 |
|
ac_env_target_alias_set=${target_alias+set} |
751 |
|
ac_env_target_alias_value=$target_alias |
752 |
|
ac_cv_env_target_alias_set=${target_alias+set} |
753 |
|
ac_cv_env_target_alias_value=$target_alias |
754 |
|
ac_env_CC_set=${CC+set} |
755 |
|
ac_env_CC_value=$CC |
756 |
|
ac_cv_env_CC_set=${CC+set} |
757 |
|
ac_cv_env_CC_value=$CC |
758 |
|
ac_env_CFLAGS_set=${CFLAGS+set} |
759 |
|
ac_env_CFLAGS_value=$CFLAGS |
760 |
|
ac_cv_env_CFLAGS_set=${CFLAGS+set} |
761 |
|
ac_cv_env_CFLAGS_value=$CFLAGS |
762 |
|
ac_env_LDFLAGS_set=${LDFLAGS+set} |
763 |
|
ac_env_LDFLAGS_value=$LDFLAGS |
764 |
|
ac_cv_env_LDFLAGS_set=${LDFLAGS+set} |
765 |
|
ac_cv_env_LDFLAGS_value=$LDFLAGS |
766 |
|
ac_env_CPPFLAGS_set=${CPPFLAGS+set} |
767 |
|
ac_env_CPPFLAGS_value=$CPPFLAGS |
768 |
|
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} |
769 |
|
ac_cv_env_CPPFLAGS_value=$CPPFLAGS |
770 |
|
ac_env_CPP_set=${CPP+set} |
771 |
|
ac_env_CPP_value=$CPP |
772 |
|
ac_cv_env_CPP_set=${CPP+set} |
773 |
|
ac_cv_env_CPP_value=$CPP |
774 |
|
|
775 |
|
# |
776 |
|
# Report the --help message. |
777 |
|
# |
778 |
|
if test "$ac_init_help" = "long"; then |
779 |
|
# Omit some internal or obsolete options to make the list less imposing. |
780 |
|
# This message is too long to be a string in the A/UX 3.1 sh. |
781 |
|
cat <<_ACEOF |
782 |
|
\`configure' configures gnats 4.1 to adapt to many kinds of systems. |
783 |
|
|
784 |
|
Usage: $0 [OPTION]... [VAR=VALUE]... |
785 |
|
|
786 |
|
To assign environment variables (e.g., CC, CFLAGS...), specify them as |
787 |
|
VAR=VALUE. See below for descriptions of some of the useful variables. |
788 |
|
|
789 |
|
Defaults for the options are specified in brackets. |
790 |
|
|
791 |
|
Configuration: |
792 |
|
-h, --help display this help and exit |
793 |
|
--help=short display options specific to this package |
794 |
|
--help=recursive display the short help of all the included packages |
795 |
|
-V, --version display version information and exit |
796 |
|
-q, --quiet, --silent do not print \`checking...' messages |
797 |
|
--cache-file=FILE cache test results in FILE [disabled] |
798 |
|
-C, --config-cache alias for \`--cache-file=config.cache' |
799 |
|
-n, --no-create do not create output files |
800 |
|
--srcdir=DIR find the sources in DIR [configure dir or \`..'] |
801 |
|
|
802 |
|
_ACEOF |
803 |
|
|
804 |
|
cat <<_ACEOF |
805 |
|
Installation directories: |
806 |
|
--prefix=PREFIX install architecture-independent files in PREFIX |
807 |
|
[$ac_default_prefix] |
808 |
|
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
809 |
|
[PREFIX] |
810 |
|
|
811 |
|
By default, \`make install' will install all the files in |
812 |
|
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
813 |
|
an installation prefix other than \`$ac_default_prefix' using \`--prefix', |
814 |
|
for instance \`--prefix=\$HOME'. |
815 |
|
|
816 |
|
For better control, use the options below. |
817 |
|
|
818 |
|
Fine tuning of the installation directories: |
819 |
|
--bindir=DIR user executables [EPREFIX/bin] |
820 |
|
--sbindir=DIR system admin executables [EPREFIX/sbin] |
821 |
|
--libexecdir=DIR program executables [EPREFIX/libexec] |
822 |
|
--datadir=DIR read-only architecture-independent data [PREFIX/share] |
823 |
|
--sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
824 |
|
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
825 |
|
--localstatedir=DIR modifiable single-machine data [PREFIX/var] |
826 |
|
--libdir=DIR object code libraries [EPREFIX/lib] |
827 |
|
--includedir=DIR C header files [PREFIX/include] |
828 |
|
--oldincludedir=DIR C header files for non-gcc [/usr/include] |
829 |
|
--infodir=DIR info documentation [PREFIX/info] |
830 |
|
--mandir=DIR man documentation [PREFIX/man] |
831 |
|
_ACEOF |
832 |
|
|
833 |
|
cat <<\_ACEOF |
834 |
|
_ACEOF |
835 |
|
fi |
836 |
|
|
837 |
|
if test -n "$ac_init_help"; then |
838 |
|
case $ac_init_help in |
839 |
|
short | recursive ) echo "Configuration of gnats 4.1:";; |
840 |
|
esac |
841 |
|
cat <<\_ACEOF |
842 |
|
|
843 |
|
Optional Packages: |
844 |
|
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
845 |
|
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
846 |
|
--with-kerberos include code for Kerberos authentication |
847 |
|
--with-gnats-service=NAME |
848 |
|
set the network service or port to NAME |
849 |
|
--with-gnats-user=NAME set the username for GNATS from the passwd file |
850 |
|
to NAME |
851 |
|
--with-gnatsd-user-access-file=PATH set global GNATSD access file to PATH |
852 |
|
--with-gnatsd-host-access-file=PATH set global GNATSD access file to PATH |
853 |
|
--with-gnats-dblist-file=PATH specify file containing list of databases |
854 |
|
--with-gnats-default-db=PATH specify the default database directory to use |
855 |
|
--with-krb4 support Kerberos 4 |
856 |
|
|
857 |
|
Some influential environment variables: |
858 |
|
CC C compiler command |
859 |
|
CFLAGS C compiler flags |
860 |
|
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
861 |
|
nonstandard directory <lib dir> |
862 |
|
CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have |
863 |
|
headers in a nonstandard directory <include dir> |
864 |
|
CPP C preprocessor |
865 |
|
|
866 |
|
Use these variables to override the choices made by `configure' or to help |
867 |
|
it to find libraries and programs with nonstandard names/locations. |
868 |
|
|
869 |
|
Report bugs to <bug-gnats@gnu.org>. |
870 |
|
_ACEOF |
871 |
|
fi |
872 |
|
|
873 |
|
if test "$ac_init_help" = "recursive"; then |
874 |
|
# If there are subdirs, report their specific --help. |
875 |
|
ac_popdir=`pwd` |
876 |
|
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
877 |
|
test -d $ac_dir || continue |
878 |
|
ac_builddir=. |
879 |
|
|
880 |
|
if test "$ac_dir" != .; then |
881 |
|
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
882 |
|
# A "../" for each directory in $ac_dir_suffix. |
883 |
|
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` |
884 |
|
else |
885 |
|
ac_dir_suffix= ac_top_builddir= |
886 |
|
fi |
887 |
|
|
888 |
|
case $srcdir in |
889 |
|
.) # No --srcdir option. We are building in place. |
890 |
|
ac_srcdir=. |
891 |
|
if test -z "$ac_top_builddir"; then |
892 |
|
ac_top_srcdir=. |
893 |
|
else |
894 |
|
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` |
895 |
|
fi ;; |
896 |
|
[\\/]* | ?:[\\/]* ) # Absolute path. |
897 |
|
ac_srcdir=$srcdir$ac_dir_suffix; |
898 |
|
ac_top_srcdir=$srcdir ;; |
899 |
|
*) # Relative path. |
900 |
|
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
901 |
|
ac_top_srcdir=$ac_top_builddir$srcdir ;; |
902 |
|
esac |
903 |
|
|
904 |
|
# Do not use `cd foo && pwd` to compute absolute paths, because |
905 |
|
# the directories may not exist. |
906 |
|
case `pwd` in |
907 |
|
.) ac_abs_builddir="$ac_dir";; |
908 |
|
*) |
909 |
|
case "$ac_dir" in |
910 |
|
.) ac_abs_builddir=`pwd`;; |
911 |
|
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; |
912 |
|
*) ac_abs_builddir=`pwd`/"$ac_dir";; |
913 |
|
esac;; |
914 |
|
esac |
915 |
|
case $ac_abs_builddir in |
916 |
|
.) ac_abs_top_builddir=${ac_top_builddir}.;; |
917 |
|
*) |
918 |
|
case ${ac_top_builddir}. in |
919 |
|
.) ac_abs_top_builddir=$ac_abs_builddir;; |
920 |
|
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; |
921 |
|
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; |
922 |
|
esac;; |
923 |
|
esac |
924 |
|
case $ac_abs_builddir in |
925 |
|
.) ac_abs_srcdir=$ac_srcdir;; |
926 |
|
*) |
927 |
|
case $ac_srcdir in |
928 |
|
.) ac_abs_srcdir=$ac_abs_builddir;; |
929 |
|
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; |
930 |
|
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; |
931 |
|
esac;; |
932 |
|
esac |
933 |
|
case $ac_abs_builddir in |
934 |
|
.) ac_abs_top_srcdir=$ac_top_srcdir;; |
935 |
|
*) |
936 |
|
case $ac_top_srcdir in |
937 |
|
.) ac_abs_top_srcdir=$ac_abs_builddir;; |
938 |
|
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; |
939 |
|
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; |
940 |
|
esac;; |
941 |
|
esac |
942 |
|
|
943 |
|
cd $ac_dir |
944 |
|
# Check for guested configure; otherwise get Cygnus style configure. |
945 |
|
if test -f $ac_srcdir/configure.gnu; then |
946 |
|
echo |
947 |
|
$SHELL $ac_srcdir/configure.gnu --help=recursive |
948 |
|
elif test -f $ac_srcdir/configure; then |
949 |
|
echo |
950 |
|
$SHELL $ac_srcdir/configure --help=recursive |
951 |
|
elif test -f $ac_srcdir/configure.ac || |
952 |
|
test -f $ac_srcdir/configure.in; then |
953 |
|
echo |
954 |
|
$ac_configure --help |
955 |
|
else |
956 |
|
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
957 |
|
fi |
958 |
|
cd "$ac_popdir" |
959 |
|
done |
960 |
|
fi |
961 |
|
|
962 |
|
test -n "$ac_init_help" && exit 0 |
963 |
|
if $ac_init_version; then |
964 |
|
cat <<\_ACEOF |
965 |
|
gnats configure 4.1 |
966 |
|
generated by GNU Autoconf 2.59 |
967 |
|
|
968 |
|
Copyright (C) 2003 Free Software Foundation, Inc. |
969 |
|
This configure script is free software; the Free Software Foundation |
970 |
|
gives unlimited permission to copy, distribute and modify it. |
971 |
|
_ACEOF |
972 |
|
exit 0 |
973 |
|
fi |
974 |
|
exec 5>config.log |
975 |
|
cat >&5 <<_ACEOF |
976 |
|
This file contains any messages produced by compilers while |
977 |
|
running configure, to aid debugging if configure makes a mistake. |
978 |
|
|
979 |
|
It was created by gnats $as_me 4.1, which was |
980 |
|
generated by GNU Autoconf 2.59. Invocation command line was |
981 |
|
|
982 |
|
$ $0 $@ |
983 |
|
|
984 |
|
_ACEOF |
985 |
|
{ |
986 |
|
cat <<_ASUNAME |
987 |
|
## --------- ## |
988 |
|
## Platform. ## |
989 |
|
## --------- ## |
990 |
|
|
991 |
|
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` |
992 |
|
uname -m = `(uname -m) 2>/dev/null || echo unknown` |
993 |
|
uname -r = `(uname -r) 2>/dev/null || echo unknown` |
994 |
|
uname -s = `(uname -s) 2>/dev/null || echo unknown` |
995 |
|
uname -v = `(uname -v) 2>/dev/null || echo unknown` |
996 |
|
|
997 |
|
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` |
998 |
|
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` |
999 |
|
|
1000 |
|
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` |
1001 |
|
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` |
1002 |
|
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` |
1003 |
|
hostinfo = `(hostinfo) 2>/dev/null || echo unknown` |
1004 |
|
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` |
1005 |
|
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` |
1006 |
|
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` |
1007 |
|
|
1008 |
|
_ASUNAME |
1009 |
|
|
1010 |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1011 |
|
for as_dir in $PATH |
1012 |
|
do |
1013 |
|
IFS=$as_save_IFS |
1014 |
|
test -z "$as_dir" && as_dir=. |
1015 |
|
echo "PATH: $as_dir" |
1016 |
|
done |
1017 |
|
|
1018 |
|
} >&5 |
1019 |
|
|
1020 |
|
cat >&5 <<_ACEOF |
1021 |
|
|
1022 |
|
|
1023 |
|
## ----------- ## |
1024 |
|
## Core tests. ## |
1025 |
|
## ----------- ## |
1026 |
|
|
1027 |
|
_ACEOF |
1028 |
|
|
1029 |
|
|
1030 |
|
# Keep a trace of the command line. |
1031 |
|
# Strip out --no-create and --no-recursion so they do not pile up. |
1032 |
|
# Strip out --silent because we don't want to record it for future runs. |
1033 |
|
# Also quote any args containing shell meta-characters. |
1034 |
|
# Make two passes to allow for proper duplicate-argument suppression. |
1035 |
|
ac_configure_args= |
1036 |
|
ac_configure_args0= |
1037 |
|
ac_configure_args1= |
1038 |
|
ac_sep= |
1039 |
|
ac_must_keep_next=false |
1040 |
|
for ac_pass in 1 2 |
1041 |
|
do |
1042 |
|
for ac_arg |
1043 |
|
do |
1044 |
|
case $ac_arg in |
1045 |
|
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
1046 |
|
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
1047 |
|
| -silent | --silent | --silen | --sile | --sil) |
1048 |
|
continue ;; |
1049 |
|
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) |
1050 |
|
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
1051 |
|
esac |
1052 |
|
case $ac_pass in |
1053 |
|
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; |
1054 |
|
2) |
1055 |
|
ac_configure_args1="$ac_configure_args1 '$ac_arg'" |
1056 |
|
if test $ac_must_keep_next = true; then |
1057 |
|
ac_must_keep_next=false # Got value, back to normal. |
1058 |
|
else |
1059 |
|
case $ac_arg in |
1060 |
|
*=* | --config-cache | -C | -disable-* | --disable-* \ |
1061 |
|
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
1062 |
|
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
1063 |
|
| -with-* | --with-* | -without-* | --without-* | --x) |
1064 |
|
case "$ac_configure_args0 " in |
1065 |
|
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
1066 |
|
esac |
1067 |
|
;; |
1068 |
|
-* ) ac_must_keep_next=true ;; |
1069 |
|
esac |
1070 |
|
fi |
1071 |
|
ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" |
1072 |
|
# Get rid of the leading space. |
1073 |
|
ac_sep=" " |
1074 |
|
;; |
1075 |
|
esac |
1076 |
|
done |
1077 |
|
done |
1078 |
|
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } |
1079 |
|
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } |
1080 |
|
|
1081 |
|
# When interrupted or exit'd, cleanup temporary files, and complete |
1082 |
|
# config.log. We remove comments because anyway the quotes in there |
1083 |
|
# would cause problems or look ugly. |
1084 |
|
# WARNING: Be sure not to use single quotes in there, as some shells, |
1085 |
|
# such as our DU 5.0 friend, will then `close' the trap. |
1086 |
|
trap 'exit_status=$? |
1087 |
|
# Save into config.log some information that might help in debugging. |
1088 |
|
{ |
1089 |
|
echo |
1090 |
|
|
1091 |
|
cat <<\_ASBOX |
1092 |
|
## ---------------- ## |
1093 |
|
## Cache variables. ## |
1094 |
|
## ---------------- ## |
1095 |
|
_ASBOX |
1096 |
|
echo |
1097 |
|
# The following way of writing the cache mishandles newlines in values, |
1098 |
|
{ |
1099 |
|
(set) 2>&1 | |
1100 |
|
case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in |
1101 |
|
*ac_space=\ *) |
1102 |
|
sed -n \ |
1103 |
|
"s/'"'"'/'"'"'\\\\'"'"''"'"'/g; |
1104 |
|
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" |
1105 |
|
;; |
1106 |
|
*) |
1107 |
|
sed -n \ |
1108 |
|
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
1109 |
|
;; |
1110 |
|
esac; |
1111 |
|
} |
1112 |
|
echo |
1113 |
|
|
1114 |
|
cat <<\_ASBOX |
1115 |
|
## ----------------- ## |
1116 |
|
## Output variables. ## |
1117 |
|
## ----------------- ## |
1118 |
|
_ASBOX |
1119 |
|
echo |
1120 |
|
for ac_var in $ac_subst_vars |
1121 |
|
do |
1122 |
|
eval ac_val=$`echo $ac_var` |
1123 |
|
echo "$ac_var='"'"'$ac_val'"'"'" |
1124 |
|
done | sort |
1125 |
|
echo |
1126 |
|
|
1127 |
|
if test -n "$ac_subst_files"; then |
1128 |
|
cat <<\_ASBOX |
1129 |
|
## ------------- ## |
1130 |
|
## Output files. ## |
1131 |
|
## ------------- ## |
1132 |
|
_ASBOX |
1133 |
|
echo |
1134 |
|
for ac_var in $ac_subst_files |
1135 |
|
do |
1136 |
|
eval ac_val=$`echo $ac_var` |
1137 |
|
echo "$ac_var='"'"'$ac_val'"'"'" |
1138 |
|
done | sort |
1139 |
|
echo |
1140 |
|
fi |
1141 |
|
|
1142 |
|
if test -s confdefs.h; then |
1143 |
|
cat <<\_ASBOX |
1144 |
|
## ----------- ## |
1145 |
|
## confdefs.h. ## |
1146 |
|
## ----------- ## |
1147 |
|
_ASBOX |
1148 |
|
echo |
1149 |
|
sed "/^$/d" confdefs.h | sort |
1150 |
|
echo |
1151 |
|
fi |
1152 |
|
test "$ac_signal" != 0 && |
1153 |
|
echo "$as_me: caught signal $ac_signal" |
1154 |
|
echo "$as_me: exit $exit_status" |
1155 |
|
} >&5 |
1156 |
|
rm -f core *.core && |
1157 |
|
rm -rf conftest* confdefs* conf$$* $ac_clean_files && |
1158 |
|
exit $exit_status |
1159 |
|
' 0 |
1160 |
|
for ac_signal in 1 2 13 15; do |
1161 |
|
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal |
1162 |
|
done |
1163 |
|
ac_signal=0 |
1164 |
|
|
1165 |
|
# confdefs.h avoids OS command line length limits that DEFS can exceed. |
1166 |
|
rm -rf conftest* confdefs.h |
1167 |
|
# AIX cpp loses on an empty file, so make sure it contains at least a newline. |
1168 |
|
echo >confdefs.h |
1169 |
|
|
1170 |
|
# Predefined preprocessor variables. |
1171 |
|
|
1172 |
|
cat >>confdefs.h <<_ACEOF |
1173 |
|
#define PACKAGE_NAME "$PACKAGE_NAME" |
1174 |
|
_ACEOF |
1175 |
|
|
1176 |
|
|
1177 |
|
cat >>confdefs.h <<_ACEOF |
1178 |
|
#define PACKAGE_TARNAME "$PACKAGE_TARNAME" |
1179 |
|
_ACEOF |
1180 |
|
|
1181 |
|
|
1182 |
|
cat >>confdefs.h <<_ACEOF |
1183 |
|
#define PACKAGE_VERSION "$PACKAGE_VERSION" |
1184 |
|
_ACEOF |
1185 |
|
|
1186 |
|
|
1187 |
|
cat >>confdefs.h <<_ACEOF |
1188 |
|
#define PACKAGE_STRING "$PACKAGE_STRING" |
1189 |
|
_ACEOF |
1190 |
|
|
1191 |
|
|
1192 |
|
cat >>confdefs.h <<_ACEOF |
1193 |
|
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
1194 |
|
_ACEOF |
1195 |
|
|
1196 |
|
|
1197 |
|
# Let the site file select an alternate cache file if it wants to. |
1198 |
# Prefer explicitly selected file to automatically selected ones. |
# Prefer explicitly selected file to automatically selected ones. |
1199 |
if test -z "$CONFIG_SITE"; then |
if test -z "$CONFIG_SITE"; then |
1200 |
if test "x$prefix" != xNONE; then |
if test "x$prefix" != xNONE; then |
1205 |
fi |
fi |
1206 |
for ac_site_file in $CONFIG_SITE; do |
for ac_site_file in $CONFIG_SITE; do |
1207 |
if test -r "$ac_site_file"; then |
if test -r "$ac_site_file"; then |
1208 |
echo "loading site script $ac_site_file" |
{ echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 |
1209 |
|
echo "$as_me: loading site script $ac_site_file" >&6;} |
1210 |
|
sed 's/^/| /' "$ac_site_file" >&5 |
1211 |
. "$ac_site_file" |
. "$ac_site_file" |
1212 |
fi |
fi |
1213 |
done |
done |
1214 |
|
|
1215 |
if test -r "$cache_file"; then |
if test -r "$cache_file"; then |
1216 |
echo "loading cache $cache_file" |
# Some versions of bash will fail to source /dev/null (special |
1217 |
. $cache_file |
# files actually), so we avoid doing that. |
1218 |
|
if test -f "$cache_file"; then |
1219 |
|
{ echo "$as_me:$LINENO: loading cache $cache_file" >&5 |
1220 |
|
echo "$as_me: loading cache $cache_file" >&6;} |
1221 |
|
case $cache_file in |
1222 |
|
[\\/]* | ?:[\\/]* ) . $cache_file;; |
1223 |
|
*) . ./$cache_file;; |
1224 |
|
esac |
1225 |
|
fi |
1226 |
else |
else |
1227 |
echo "creating cache $cache_file" |
{ echo "$as_me:$LINENO: creating cache $cache_file" >&5 |
1228 |
> $cache_file |
echo "$as_me: creating cache $cache_file" >&6;} |
1229 |
|
>$cache_file |
1230 |
|
fi |
1231 |
|
|
1232 |
|
# Check that the precious variables saved in the cache have kept the same |
1233 |
|
# value. |
1234 |
|
ac_cache_corrupted=false |
1235 |
|
for ac_var in `(set) 2>&1 | |
1236 |
|
sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do |
1237 |
|
eval ac_old_set=\$ac_cv_env_${ac_var}_set |
1238 |
|
eval ac_new_set=\$ac_env_${ac_var}_set |
1239 |
|
eval ac_old_val="\$ac_cv_env_${ac_var}_value" |
1240 |
|
eval ac_new_val="\$ac_env_${ac_var}_value" |
1241 |
|
case $ac_old_set,$ac_new_set in |
1242 |
|
set,) |
1243 |
|
{ echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
1244 |
|
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
1245 |
|
ac_cache_corrupted=: ;; |
1246 |
|
,set) |
1247 |
|
{ echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 |
1248 |
|
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
1249 |
|
ac_cache_corrupted=: ;; |
1250 |
|
,);; |
1251 |
|
*) |
1252 |
|
if test "x$ac_old_val" != "x$ac_new_val"; then |
1253 |
|
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 |
1254 |
|
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
1255 |
|
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5 |
1256 |
|
echo "$as_me: former value: $ac_old_val" >&2;} |
1257 |
|
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5 |
1258 |
|
echo "$as_me: current value: $ac_new_val" >&2;} |
1259 |
|
ac_cache_corrupted=: |
1260 |
|
fi;; |
1261 |
|
esac |
1262 |
|
# Pass precious variables to config.status. |
1263 |
|
if test "$ac_new_set" = set; then |
1264 |
|
case $ac_new_val in |
1265 |
|
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) |
1266 |
|
ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
1267 |
|
*) ac_arg=$ac_var=$ac_new_val ;; |
1268 |
|
esac |
1269 |
|
case " $ac_configure_args " in |
1270 |
|
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
1271 |
|
*) ac_configure_args="$ac_configure_args '$ac_arg'" ;; |
1272 |
|
esac |
1273 |
|
fi |
1274 |
|
done |
1275 |
|
if $ac_cache_corrupted; then |
1276 |
|
{ echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 |
1277 |
|
echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
1278 |
|
{ { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 |
1279 |
|
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} |
1280 |
|
{ (exit 1); exit 1; }; } |
1281 |
fi |
fi |
1282 |
|
|
1283 |
ac_ext=c |
ac_ext=c |
|
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. |
|
1284 |
ac_cpp='$CPP $CPPFLAGS' |
ac_cpp='$CPP $CPPFLAGS' |
1285 |
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
1286 |
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' |
1287 |
cross_compiling=$ac_cv_prog_cc_cross |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
1288 |
|
|
1289 |
ac_exeext= |
|
1290 |
ac_objext=o |
|
1291 |
if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then |
|
1292 |
# Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu. |
|
1293 |
if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then |
|
1294 |
ac_n= ac_c=' |
|
1295 |
' ac_t=' ' |
|
1296 |
else |
|
1297 |
ac_n=-n ac_c= ac_t= |
|
1298 |
fi |
|
1299 |
else |
|
1300 |
ac_n= ac_c='\c' ac_t= |
|
|
fi |
|
1301 |
|
|
1302 |
|
|
1303 |
|
|
1304 |
|
|
1305 |
|
|
1306 |
|
|
1307 |
|
|
1308 |
|
|
1309 |
|
|
1310 |
|
|
1311 |
|
|
1312 |
|
|
1313 |
|
|
1314 |
|
|
1315 |
|
|
1316 |
|
ac_config_headers="$ac_config_headers autoconf.h" |
1317 |
|
|
1318 |
|
|
1319 |
|
|
1320 |
# Check whether --with-kerberos or --without-kerberos was given. |
# Check whether --with-kerberos or --without-kerberos was given. |
1321 |
if test "${with_kerberos+set}" = set; then |
if test "${with_kerberos+set}" = set; then |
1322 |
withval="$with_kerberos" |
withval="$with_kerberos" |
1323 |
: |
|
1324 |
fi |
fi; |
1325 |
|
|
1326 |
# Check whether --with-gnats-service or --without-gnats-service was given. |
# Check whether --with-gnats-service or --without-gnats-service was given. |
1327 |
if test "${with_gnats_service+set}" = set; then |
if test "${with_gnats_service+set}" = set; then |
1328 |
withval="$with_gnats_service" |
withval="$with_gnats_service" |
1329 |
: |
|
1330 |
fi |
fi; |
1331 |
|
|
1332 |
# Check whether --with-gnats-user or --without-gnats-user was given. |
# Check whether --with-gnats-user or --without-gnats-user was given. |
1333 |
if test "${with_gnats_user+set}" = set; then |
if test "${with_gnats_user+set}" = set; then |
1334 |
withval="$with_gnats_user" |
withval="$with_gnats_user" |
1335 |
: |
|
1336 |
fi |
fi; |
1337 |
|
|
1338 |
# Check whether --with-gnatsd-user-access-file or --without-gnatsd-user-access-file was given. |
# Check whether --with-gnatsd-user-access-file or --without-gnatsd-user-access-file was given. |
1339 |
if test "${with_gnatsd_user_access_file+set}" = set; then |
if test "${with_gnatsd_user_access_file+set}" = set; then |
1340 |
withval="$with_gnatsd_user_access_file" |
withval="$with_gnatsd_user_access_file" |
1341 |
: |
|
1342 |
fi |
fi; |
1343 |
|
|
1344 |
# Check whether --with-gnatsd-host-access-file or --without-gnatsd-host-access-file was given. |
# Check whether --with-gnatsd-host-access-file or --without-gnatsd-host-access-file was given. |
1345 |
if test "${with_gnatsd_host_access_file+set}" = set; then |
if test "${with_gnatsd_host_access_file+set}" = set; then |
1346 |
withval="$with_gnatsd_host_access_file" |
withval="$with_gnatsd_host_access_file" |
1347 |
: |
|
1348 |
fi |
fi; |
1349 |
|
|
1350 |
# Check whether --with-gnats-dblist-file or --without-gnats-dblist-file was given. |
# Check whether --with-gnats-dblist-file or --without-gnats-dblist-file was given. |
1351 |
if test "${with_gnats_dblist_file+set}" = set; then |
if test "${with_gnats_dblist_file+set}" = set; then |
1352 |
withval="$with_gnats_dblist_file" |
withval="$with_gnats_dblist_file" |
1353 |
: |
|
1354 |
fi |
fi; |
1355 |
|
|
1356 |
# Check whether --with-gnats-default-db or --without-gnats-default-db was given. |
# Check whether --with-gnats-default-db or --without-gnats-default-db was given. |
1357 |
if test "${with_gnats_default_db+set}" = set; then |
if test "${with_gnats_default_db+set}" = set; then |
1358 |
withval="$with_gnats_default_db" |
withval="$with_gnats_default_db" |
|
: |
|
|
fi |
|
1359 |
|
|
1360 |
|
fi; |
1361 |
|
|
1362 |
|
ac_ext=c |
1363 |
|
ac_cpp='$CPP $CPPFLAGS' |
1364 |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
1365 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
1366 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
1367 |
|
if test -n "$ac_tool_prefix"; then |
1368 |
|
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
1369 |
|
set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
1370 |
|
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1371 |
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1372 |
|
if test "${ac_cv_prog_CC+set}" = set; then |
1373 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1374 |
|
else |
1375 |
|
if test -n "$CC"; then |
1376 |
|
ac_cv_prog_CC="$CC" # Let the user override the test. |
1377 |
|
else |
1378 |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1379 |
|
for as_dir in $PATH |
1380 |
|
do |
1381 |
|
IFS=$as_save_IFS |
1382 |
|
test -z "$as_dir" && as_dir=. |
1383 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
1384 |
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1385 |
|
ac_cv_prog_CC="${ac_tool_prefix}gcc" |
1386 |
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1387 |
|
break 2 |
1388 |
|
fi |
1389 |
|
done |
1390 |
|
done |
1391 |
|
|
1392 |
|
fi |
1393 |
|
fi |
1394 |
|
CC=$ac_cv_prog_CC |
1395 |
|
if test -n "$CC"; then |
1396 |
|
echo "$as_me:$LINENO: result: $CC" >&5 |
1397 |
|
echo "${ECHO_T}$CC" >&6 |
1398 |
|
else |
1399 |
|
echo "$as_me:$LINENO: result: no" >&5 |
1400 |
|
echo "${ECHO_T}no" >&6 |
1401 |
|
fi |
1402 |
|
|
1403 |
# Extract the first word of "gcc", so it can be a program name with args. |
fi |
1404 |
|
if test -z "$ac_cv_prog_CC"; then |
1405 |
|
ac_ct_CC=$CC |
1406 |
|
# Extract the first word of "gcc", so it can be a program name with args. |
1407 |
set dummy gcc; ac_word=$2 |
set dummy gcc; ac_word=$2 |
1408 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1409 |
echo "configure:591: checking for $ac_word" >&5 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1410 |
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
1411 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1412 |
|
else |
1413 |
|
if test -n "$ac_ct_CC"; then |
1414 |
|
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
1415 |
|
else |
1416 |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1417 |
|
for as_dir in $PATH |
1418 |
|
do |
1419 |
|
IFS=$as_save_IFS |
1420 |
|
test -z "$as_dir" && as_dir=. |
1421 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
1422 |
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1423 |
|
ac_cv_prog_ac_ct_CC="gcc" |
1424 |
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1425 |
|
break 2 |
1426 |
|
fi |
1427 |
|
done |
1428 |
|
done |
1429 |
|
|
1430 |
|
fi |
1431 |
|
fi |
1432 |
|
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
1433 |
|
if test -n "$ac_ct_CC"; then |
1434 |
|
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
1435 |
|
echo "${ECHO_T}$ac_ct_CC" >&6 |
1436 |
|
else |
1437 |
|
echo "$as_me:$LINENO: result: no" >&5 |
1438 |
|
echo "${ECHO_T}no" >&6 |
1439 |
|
fi |
1440 |
|
|
1441 |
|
CC=$ac_ct_CC |
1442 |
|
else |
1443 |
|
CC="$ac_cv_prog_CC" |
1444 |
|
fi |
1445 |
|
|
1446 |
|
if test -z "$CC"; then |
1447 |
|
if test -n "$ac_tool_prefix"; then |
1448 |
|
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
1449 |
|
set dummy ${ac_tool_prefix}cc; ac_word=$2 |
1450 |
|
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1451 |
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1452 |
|
if test "${ac_cv_prog_CC+set}" = set; then |
1453 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1454 |
else |
else |
1455 |
if test -n "$CC"; then |
if test -n "$CC"; then |
1456 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
ac_cv_prog_CC="$CC" # Let the user override the test. |
1457 |
else |
else |
1458 |
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1459 |
ac_dummy="$PATH" |
for as_dir in $PATH |
1460 |
for ac_dir in $ac_dummy; do |
do |
1461 |
test -z "$ac_dir" && ac_dir=. |
IFS=$as_save_IFS |
1462 |
if test -f $ac_dir/$ac_word; then |
test -z "$as_dir" && as_dir=. |
1463 |
ac_cv_prog_CC="gcc" |
for ac_exec_ext in '' $ac_executable_extensions; do |
1464 |
break |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1465 |
fi |
ac_cv_prog_CC="${ac_tool_prefix}cc" |
1466 |
done |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1467 |
IFS="$ac_save_ifs" |
break 2 |
1468 |
|
fi |
1469 |
|
done |
1470 |
|
done |
1471 |
|
|
1472 |
fi |
fi |
1473 |
fi |
fi |
1474 |
CC="$ac_cv_prog_CC" |
CC=$ac_cv_prog_CC |
1475 |
if test -n "$CC"; then |
if test -n "$CC"; then |
1476 |
echo "$ac_t""$CC" 1>&6 |
echo "$as_me:$LINENO: result: $CC" >&5 |
1477 |
|
echo "${ECHO_T}$CC" >&6 |
1478 |
else |
else |
1479 |
echo "$ac_t""no" 1>&6 |
echo "$as_me:$LINENO: result: no" >&5 |
1480 |
|
echo "${ECHO_T}no" >&6 |
1481 |
fi |
fi |
1482 |
|
|
1483 |
|
fi |
1484 |
|
if test -z "$ac_cv_prog_CC"; then |
1485 |
|
ac_ct_CC=$CC |
1486 |
|
# Extract the first word of "cc", so it can be a program name with args. |
1487 |
|
set dummy cc; ac_word=$2 |
1488 |
|
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1489 |
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1490 |
|
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
1491 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1492 |
|
else |
1493 |
|
if test -n "$ac_ct_CC"; then |
1494 |
|
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
1495 |
|
else |
1496 |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1497 |
|
for as_dir in $PATH |
1498 |
|
do |
1499 |
|
IFS=$as_save_IFS |
1500 |
|
test -z "$as_dir" && as_dir=. |
1501 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
1502 |
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1503 |
|
ac_cv_prog_ac_ct_CC="cc" |
1504 |
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1505 |
|
break 2 |
1506 |
|
fi |
1507 |
|
done |
1508 |
|
done |
1509 |
|
|
1510 |
|
fi |
1511 |
|
fi |
1512 |
|
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
1513 |
|
if test -n "$ac_ct_CC"; then |
1514 |
|
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
1515 |
|
echo "${ECHO_T}$ac_ct_CC" >&6 |
1516 |
|
else |
1517 |
|
echo "$as_me:$LINENO: result: no" >&5 |
1518 |
|
echo "${ECHO_T}no" >&6 |
1519 |
|
fi |
1520 |
|
|
1521 |
|
CC=$ac_ct_CC |
1522 |
|
else |
1523 |
|
CC="$ac_cv_prog_CC" |
1524 |
|
fi |
1525 |
|
|
1526 |
|
fi |
1527 |
if test -z "$CC"; then |
if test -z "$CC"; then |
1528 |
# 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. |
1529 |
set dummy cc; ac_word=$2 |
set dummy cc; ac_word=$2 |
1530 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1531 |
echo "configure:621: checking for $ac_word" >&5 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1532 |
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
if test "${ac_cv_prog_CC+set}" = set; then |
1533 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1534 |
else |
else |
1535 |
if test -n "$CC"; then |
if test -n "$CC"; then |
1536 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
ac_cv_prog_CC="$CC" # Let the user override the test. |
1537 |
else |
else |
|
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
|
1538 |
ac_prog_rejected=no |
ac_prog_rejected=no |
1539 |
ac_dummy="$PATH" |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1540 |
for ac_dir in $ac_dummy; do |
for as_dir in $PATH |
1541 |
test -z "$ac_dir" && ac_dir=. |
do |
1542 |
if test -f $ac_dir/$ac_word; then |
IFS=$as_save_IFS |
1543 |
if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then |
test -z "$as_dir" && as_dir=. |
1544 |
ac_prog_rejected=yes |
for ac_exec_ext in '' $ac_executable_extensions; do |
1545 |
continue |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1546 |
fi |
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
1547 |
ac_cv_prog_CC="cc" |
ac_prog_rejected=yes |
1548 |
break |
continue |
1549 |
fi |
fi |
1550 |
done |
ac_cv_prog_CC="cc" |
1551 |
IFS="$ac_save_ifs" |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1552 |
|
break 2 |
1553 |
|
fi |
1554 |
|
done |
1555 |
|
done |
1556 |
|
|
1557 |
if test $ac_prog_rejected = yes; then |
if test $ac_prog_rejected = yes; then |
1558 |
# 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. |
1559 |
set dummy $ac_cv_prog_CC |
set dummy $ac_cv_prog_CC |
1560 |
shift |
shift |
1561 |
if test $# -gt 0; then |
if test $# != 0; then |
1562 |
# We chose a different compiler from the bogus one. |
# We chose a different compiler from the bogus one. |
1563 |
# However, it has the same basename, so the bogon will be chosen |
# However, it has the same basename, so the bogon will be chosen |
1564 |
# 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. |
1565 |
shift |
shift |
1566 |
set dummy "$ac_dir/$ac_word" "$@" |
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
|
shift |
|
|
ac_cv_prog_CC="$@" |
|
1567 |
fi |
fi |
1568 |
fi |
fi |
1569 |
fi |
fi |
1570 |
fi |
fi |
1571 |
CC="$ac_cv_prog_CC" |
CC=$ac_cv_prog_CC |
1572 |
if test -n "$CC"; then |
if test -n "$CC"; then |
1573 |
echo "$ac_t""$CC" 1>&6 |
echo "$as_me:$LINENO: result: $CC" >&5 |
1574 |
|
echo "${ECHO_T}$CC" >&6 |
1575 |
else |
else |
1576 |
echo "$ac_t""no" 1>&6 |
echo "$as_me:$LINENO: result: no" >&5 |
1577 |
|
echo "${ECHO_T}no" >&6 |
1578 |
fi |
fi |
1579 |
|
|
1580 |
if test -z "$CC"; then |
fi |
1581 |
case "`uname -s`" in |
if test -z "$CC"; then |
1582 |
*win32* | *WIN32*) |
if test -n "$ac_tool_prefix"; then |
1583 |
# Extract the first word of "cl", so it can be a program name with args. |
for ac_prog in cl |
1584 |
set dummy cl; ac_word=$2 |
do |
1585 |
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. |
1586 |
echo "configure:672: checking for $ac_word" >&5 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
1587 |
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1588 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1589 |
|
if test "${ac_cv_prog_CC+set}" = set; then |
1590 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1591 |
else |
else |
1592 |
if test -n "$CC"; then |
if test -n "$CC"; then |
1593 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
ac_cv_prog_CC="$CC" # Let the user override the test. |
1594 |
else |
else |
1595 |
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1596 |
ac_dummy="$PATH" |
for as_dir in $PATH |
1597 |
for ac_dir in $ac_dummy; do |
do |
1598 |
test -z "$ac_dir" && ac_dir=. |
IFS=$as_save_IFS |
1599 |
if test -f $ac_dir/$ac_word; then |
test -z "$as_dir" && as_dir=. |
1600 |
ac_cv_prog_CC="cl" |
for ac_exec_ext in '' $ac_executable_extensions; do |
1601 |
break |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1602 |
fi |
ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
1603 |
done |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1604 |
IFS="$ac_save_ifs" |
break 2 |
1605 |
|
fi |
1606 |
|
done |
1607 |
|
done |
1608 |
|
|
1609 |
fi |
fi |
1610 |
fi |
fi |
1611 |
CC="$ac_cv_prog_CC" |
CC=$ac_cv_prog_CC |
1612 |
if test -n "$CC"; then |
if test -n "$CC"; then |
1613 |
echo "$ac_t""$CC" 1>&6 |
echo "$as_me:$LINENO: result: $CC" >&5 |
1614 |
|
echo "${ECHO_T}$CC" >&6 |
1615 |
else |
else |
1616 |
echo "$ac_t""no" 1>&6 |
echo "$as_me:$LINENO: result: no" >&5 |
1617 |
|
echo "${ECHO_T}no" >&6 |
1618 |
fi |
fi |
1619 |
;; |
|
1620 |
esac |
test -n "$CC" && break |
1621 |
|
done |
1622 |
|
fi |
1623 |
|
if test -z "$CC"; then |
1624 |
|
ac_ct_CC=$CC |
1625 |
|
for ac_prog in cl |
1626 |
|
do |
1627 |
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
1628 |
|
set dummy $ac_prog; ac_word=$2 |
1629 |
|
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1630 |
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1631 |
|
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
1632 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1633 |
|
else |
1634 |
|
if test -n "$ac_ct_CC"; then |
1635 |
|
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
1636 |
|
else |
1637 |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1638 |
|
for as_dir in $PATH |
1639 |
|
do |
1640 |
|
IFS=$as_save_IFS |
1641 |
|
test -z "$as_dir" && as_dir=. |
1642 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
1643 |
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1644 |
|
ac_cv_prog_ac_ct_CC="$ac_prog" |
1645 |
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1646 |
|
break 2 |
1647 |
fi |
fi |
1648 |
test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
done |
1649 |
|
done |
1650 |
|
|
1651 |
|
fi |
1652 |
|
fi |
1653 |
|
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
1654 |
|
if test -n "$ac_ct_CC"; then |
1655 |
|
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
1656 |
|
echo "${ECHO_T}$ac_ct_CC" >&6 |
1657 |
|
else |
1658 |
|
echo "$as_me:$LINENO: result: no" >&5 |
1659 |
|
echo "${ECHO_T}no" >&6 |
1660 |
fi |
fi |
1661 |
|
|
1662 |
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
test -n "$ac_ct_CC" && break |
1663 |
echo "configure:704: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
done |
1664 |
|
|
1665 |
ac_ext=c |
CC=$ac_ct_CC |
1666 |
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. |
fi |
1667 |
ac_cpp='$CPP $CPPFLAGS' |
|
1668 |
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' |
fi |
|
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' |
|
|
cross_compiling=$ac_cv_prog_cc_cross |
|
1669 |
|
|
|
cat > conftest.$ac_ext << EOF |
|
1670 |
|
|
1671 |
#line 715 "configure" |
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH |
1672 |
#include "confdefs.h" |
See \`config.log' for more details." >&5 |
1673 |
|
echo "$as_me: error: no acceptable C compiler found in \$PATH |
1674 |
|
See \`config.log' for more details." >&2;} |
1675 |
|
{ (exit 1); exit 1; }; } |
1676 |
|
|
1677 |
|
# Provide some information about the compiler. |
1678 |
|
echo "$as_me:$LINENO:" \ |
1679 |
|
"checking for C compiler version" >&5 |
1680 |
|
ac_compiler=`set X $ac_compile; echo $2` |
1681 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 |
1682 |
|
(eval $ac_compiler --version </dev/null >&5) 2>&5 |
1683 |
|
ac_status=$? |
1684 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1685 |
|
(exit $ac_status); } |
1686 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 |
1687 |
|
(eval $ac_compiler -v </dev/null >&5) 2>&5 |
1688 |
|
ac_status=$? |
1689 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1690 |
|
(exit $ac_status); } |
1691 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 |
1692 |
|
(eval $ac_compiler -V </dev/null >&5) 2>&5 |
1693 |
|
ac_status=$? |
1694 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1695 |
|
(exit $ac_status); } |
1696 |
|
|
1697 |
|
cat >conftest.$ac_ext <<_ACEOF |
1698 |
|
/* confdefs.h. */ |
1699 |
|
_ACEOF |
1700 |
|
cat confdefs.h >>conftest.$ac_ext |
1701 |
|
cat >>conftest.$ac_ext <<_ACEOF |
1702 |
|
/* end confdefs.h. */ |
1703 |
|
|
1704 |
main(){return(0);} |
int |
1705 |
EOF |
main () |
1706 |
if { (eval echo configure:720: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
{ |
1707 |
ac_cv_prog_cc_works=yes |
|
1708 |
# If we can't run a trivial program, we are probably using a cross compiler. |
; |
1709 |
if (./conftest; exit) 2>/dev/null; then |
return 0; |
1710 |
ac_cv_prog_cc_cross=no |
} |
1711 |
|
_ACEOF |
1712 |
|
ac_clean_files_save=$ac_clean_files |
1713 |
|
ac_clean_files="$ac_clean_files a.out a.exe b.out" |
1714 |
|
# Try to create an executable without -o first, disregard a.out. |
1715 |
|
# It will help us diagnose broken compilers, and finding out an intuition |
1716 |
|
# of exeext. |
1717 |
|
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 |
1718 |
|
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 |
1719 |
|
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
1720 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 |
1721 |
|
(eval $ac_link_default) 2>&5 |
1722 |
|
ac_status=$? |
1723 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1724 |
|
(exit $ac_status); }; then |
1725 |
|
# Find the output, starting from the most likely. This scheme is |
1726 |
|
# not robust to junk in `.', hence go to wildcards (a.*) only as a last |
1727 |
|
# resort. |
1728 |
|
|
1729 |
|
# Be careful to initialize this variable, since it used to be cached. |
1730 |
|
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. |
1731 |
|
ac_cv_exeext= |
1732 |
|
# b.out is created by i960 compilers. |
1733 |
|
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out |
1734 |
|
do |
1735 |
|
test -f "$ac_file" || continue |
1736 |
|
case $ac_file in |
1737 |
|
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) |
1738 |
|
;; |
1739 |
|
conftest.$ac_ext ) |
1740 |
|
# This is the source file. |
1741 |
|
;; |
1742 |
|
[ab].out ) |
1743 |
|
# We found the default executable, but exeext='' is most |
1744 |
|
# certainly right. |
1745 |
|
break;; |
1746 |
|
*.* ) |
1747 |
|
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
1748 |
|
# FIXME: I believe we export ac_cv_exeext for Libtool, |
1749 |
|
# but it would be cool to find out if it's true. Does anybody |
1750 |
|
# maintain Libtool? --akim. |
1751 |
|
export ac_cv_exeext |
1752 |
|
break;; |
1753 |
|
* ) |
1754 |
|
break;; |
1755 |
|
esac |
1756 |
|
done |
1757 |
|
else |
1758 |
|
echo "$as_me: failed program was:" >&5 |
1759 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
1760 |
|
|
1761 |
|
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables |
1762 |
|
See \`config.log' for more details." >&5 |
1763 |
|
echo "$as_me: error: C compiler cannot create executables |
1764 |
|
See \`config.log' for more details." >&2;} |
1765 |
|
{ (exit 77); exit 77; }; } |
1766 |
|
fi |
1767 |
|
|
1768 |
|
ac_exeext=$ac_cv_exeext |
1769 |
|
echo "$as_me:$LINENO: result: $ac_file" >&5 |
1770 |
|
echo "${ECHO_T}$ac_file" >&6 |
1771 |
|
|
1772 |
|
# Check the compiler produces executables we can run. If not, either |
1773 |
|
# the compiler is broken, or we cross compile. |
1774 |
|
echo "$as_me:$LINENO: checking whether the C compiler works" >&5 |
1775 |
|
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 |
1776 |
|
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 |
1777 |
|
# If not cross compiling, check that we can run a simple program. |
1778 |
|
if test "$cross_compiling" != yes; then |
1779 |
|
if { ac_try='./$ac_file' |
1780 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
1781 |
|
(eval $ac_try) 2>&5 |
1782 |
|
ac_status=$? |
1783 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1784 |
|
(exit $ac_status); }; }; then |
1785 |
|
cross_compiling=no |
1786 |
else |
else |
1787 |
ac_cv_prog_cc_cross=yes |
if test "$cross_compiling" = maybe; then |
1788 |
|
cross_compiling=yes |
1789 |
|
else |
1790 |
|
{ { echo "$as_me:$LINENO: error: cannot run C compiled programs. |
1791 |
|
If you meant to cross compile, use \`--host'. |
1792 |
|
See \`config.log' for more details." >&5 |
1793 |
|
echo "$as_me: error: cannot run C compiled programs. |
1794 |
|
If you meant to cross compile, use \`--host'. |
1795 |
|
See \`config.log' for more details." >&2;} |
1796 |
|
{ (exit 1); exit 1; }; } |
1797 |
|
fi |
1798 |
fi |
fi |
|
else |
|
|
echo "configure: failed program was:" >&5 |
|
|
cat conftest.$ac_ext >&5 |
|
|
ac_cv_prog_cc_works=no |
|
1799 |
fi |
fi |
1800 |
rm -fr conftest* |
echo "$as_me:$LINENO: result: yes" >&5 |
1801 |
ac_ext=c |
echo "${ECHO_T}yes" >&6 |
1802 |
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. |
|
1803 |
ac_cpp='$CPP $CPPFLAGS' |
rm -f a.out a.exe conftest$ac_cv_exeext b.out |
1804 |
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' |
ac_clean_files=$ac_clean_files_save |
1805 |
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' |
# Check the compiler produces executables we can run. If not, either |
1806 |
cross_compiling=$ac_cv_prog_cc_cross |
# the compiler is broken, or we cross compile. |
1807 |
|
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 |
1808 |
echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 |
1809 |
if test $ac_cv_prog_cc_works = no; then |
echo "$as_me:$LINENO: result: $cross_compiling" >&5 |
1810 |
{ echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
echo "${ECHO_T}$cross_compiling" >&6 |
1811 |
fi |
|
1812 |
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for suffix of executables" >&5 |
1813 |
echo "configure:746: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 |
1814 |
echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
1815 |
cross_compiling=$ac_cv_prog_cc_cross |
(eval $ac_link) 2>&5 |
1816 |
|
ac_status=$? |
1817 |
echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1818 |
echo "configure:751: checking whether we are using GNU C" >&5 |
(exit $ac_status); }; then |
1819 |
if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then |
# If both `conftest.exe' and `conftest' are `present' (well, observable) |
1820 |
echo $ac_n "(cached) $ac_c" 1>&6 |
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
1821 |
else |
# work properly (i.e., refer to `conftest.exe'), while it won't with |
1822 |
cat > conftest.c <<EOF |
# `rm'. |
1823 |
#ifdef __GNUC__ |
for ac_file in conftest.exe conftest conftest.*; do |
1824 |
yes; |
test -f "$ac_file" || continue |
1825 |
#endif |
case $ac_file in |
1826 |
EOF |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; |
1827 |
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:760: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
1828 |
ac_cv_prog_gcc=yes |
export ac_cv_exeext |
1829 |
|
break;; |
1830 |
|
* ) break;; |
1831 |
|
esac |
1832 |
|
done |
1833 |
else |
else |
1834 |
ac_cv_prog_gcc=no |
{ { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link |
1835 |
fi |
See \`config.log' for more details." >&5 |
1836 |
fi |
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link |
1837 |
|
See \`config.log' for more details." >&2;} |
1838 |
|
{ (exit 1); exit 1; }; } |
1839 |
|
fi |
1840 |
|
|
1841 |
|
rm -f conftest$ac_cv_exeext |
1842 |
|
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 |
1843 |
|
echo "${ECHO_T}$ac_cv_exeext" >&6 |
1844 |
|
|
1845 |
|
rm -f conftest.$ac_ext |
1846 |
|
EXEEXT=$ac_cv_exeext |
1847 |
|
ac_exeext=$EXEEXT |
1848 |
|
echo "$as_me:$LINENO: checking for suffix of object files" >&5 |
1849 |
|
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 |
1850 |
|
if test "${ac_cv_objext+set}" = set; then |
1851 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1852 |
|
else |
1853 |
|
cat >conftest.$ac_ext <<_ACEOF |
1854 |
|
/* confdefs.h. */ |
1855 |
|
_ACEOF |
1856 |
|
cat confdefs.h >>conftest.$ac_ext |
1857 |
|
cat >>conftest.$ac_ext <<_ACEOF |
1858 |
|
/* end confdefs.h. */ |
1859 |
|
|
1860 |
echo "$ac_t""$ac_cv_prog_gcc" 1>&6 |
int |
1861 |
|
main () |
1862 |
|
{ |
1863 |
|
|
1864 |
if test $ac_cv_prog_gcc = yes; then |
; |
1865 |
GCC=yes |
return 0; |
1866 |
|
} |
1867 |
|
_ACEOF |
1868 |
|
rm -f conftest.o conftest.obj |
1869 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
1870 |
|
(eval $ac_compile) 2>&5 |
1871 |
|
ac_status=$? |
1872 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1873 |
|
(exit $ac_status); }; then |
1874 |
|
for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do |
1875 |
|
case $ac_file in |
1876 |
|
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; |
1877 |
|
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
1878 |
|
break;; |
1879 |
|
esac |
1880 |
|
done |
1881 |
else |
else |
1882 |
GCC= |
echo "$as_me: failed program was:" >&5 |
1883 |
fi |
sed 's/^/| /' conftest.$ac_ext >&5 |
1884 |
|
|
1885 |
ac_test_CFLAGS="${CFLAGS+set}" |
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile |
1886 |
ac_save_CFLAGS="$CFLAGS" |
See \`config.log' for more details." >&5 |
1887 |
CFLAGS= |
echo "$as_me: error: cannot compute suffix of object files: cannot compile |
1888 |
echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
See \`config.log' for more details." >&2;} |
1889 |
echo "configure:779: checking whether ${CC-cc} accepts -g" >&5 |
{ (exit 1); exit 1; }; } |
1890 |
if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then |
fi |
1891 |
echo $ac_n "(cached) $ac_c" 1>&6 |
|
1892 |
else |
rm -f conftest.$ac_cv_objext conftest.$ac_ext |
1893 |
echo 'void f(){}' > conftest.c |
fi |
1894 |
if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 |
1895 |
|
echo "${ECHO_T}$ac_cv_objext" >&6 |
1896 |
|
OBJEXT=$ac_cv_objext |
1897 |
|
ac_objext=$OBJEXT |
1898 |
|
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 |
1899 |
|
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 |
1900 |
|
if test "${ac_cv_c_compiler_gnu+set}" = set; then |
1901 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1902 |
|
else |
1903 |
|
cat >conftest.$ac_ext <<_ACEOF |
1904 |
|
/* confdefs.h. */ |
1905 |
|
_ACEOF |
1906 |
|
cat confdefs.h >>conftest.$ac_ext |
1907 |
|
cat >>conftest.$ac_ext <<_ACEOF |
1908 |
|
/* end confdefs.h. */ |
1909 |
|
|
1910 |
|
int |
1911 |
|
main () |
1912 |
|
{ |
1913 |
|
#ifndef __GNUC__ |
1914 |
|
choke me |
1915 |
|
#endif |
1916 |
|
|
1917 |
|
; |
1918 |
|
return 0; |
1919 |
|
} |
1920 |
|
_ACEOF |
1921 |
|
rm -f conftest.$ac_objext |
1922 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
1923 |
|
(eval $ac_compile) 2>conftest.er1 |
1924 |
|
ac_status=$? |
1925 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
1926 |
|
rm -f conftest.er1 |
1927 |
|
cat conftest.err >&5 |
1928 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1929 |
|
(exit $ac_status); } && |
1930 |
|
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
1931 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
1932 |
|
(eval $ac_try) 2>&5 |
1933 |
|
ac_status=$? |
1934 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1935 |
|
(exit $ac_status); }; } && |
1936 |
|
{ ac_try='test -s conftest.$ac_objext' |
1937 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
1938 |
|
(eval $ac_try) 2>&5 |
1939 |
|
ac_status=$? |
1940 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1941 |
|
(exit $ac_status); }; }; then |
1942 |
|
ac_compiler_gnu=yes |
1943 |
|
else |
1944 |
|
echo "$as_me: failed program was:" >&5 |
1945 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
1946 |
|
|
1947 |
|
ac_compiler_gnu=no |
1948 |
|
fi |
1949 |
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
1950 |
|
ac_cv_c_compiler_gnu=$ac_compiler_gnu |
1951 |
|
|
1952 |
|
fi |
1953 |
|
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
1954 |
|
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 |
1955 |
|
GCC=`test $ac_compiler_gnu = yes && echo yes` |
1956 |
|
ac_test_CFLAGS=${CFLAGS+set} |
1957 |
|
ac_save_CFLAGS=$CFLAGS |
1958 |
|
CFLAGS="-g" |
1959 |
|
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 |
1960 |
|
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 |
1961 |
|
if test "${ac_cv_prog_cc_g+set}" = set; then |
1962 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1963 |
|
else |
1964 |
|
cat >conftest.$ac_ext <<_ACEOF |
1965 |
|
/* confdefs.h. */ |
1966 |
|
_ACEOF |
1967 |
|
cat confdefs.h >>conftest.$ac_ext |
1968 |
|
cat >>conftest.$ac_ext <<_ACEOF |
1969 |
|
/* end confdefs.h. */ |
1970 |
|
|
1971 |
|
int |
1972 |
|
main () |
1973 |
|
{ |
1974 |
|
|
1975 |
|
; |
1976 |
|
return 0; |
1977 |
|
} |
1978 |
|
_ACEOF |
1979 |
|
rm -f conftest.$ac_objext |
1980 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
1981 |
|
(eval $ac_compile) 2>conftest.er1 |
1982 |
|
ac_status=$? |
1983 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
1984 |
|
rm -f conftest.er1 |
1985 |
|
cat conftest.err >&5 |
1986 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1987 |
|
(exit $ac_status); } && |
1988 |
|
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
1989 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
1990 |
|
(eval $ac_try) 2>&5 |
1991 |
|
ac_status=$? |
1992 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1993 |
|
(exit $ac_status); }; } && |
1994 |
|
{ ac_try='test -s conftest.$ac_objext' |
1995 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
1996 |
|
(eval $ac_try) 2>&5 |
1997 |
|
ac_status=$? |
1998 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1999 |
|
(exit $ac_status); }; }; then |
2000 |
ac_cv_prog_cc_g=yes |
ac_cv_prog_cc_g=yes |
2001 |
else |
else |
2002 |
ac_cv_prog_cc_g=no |
echo "$as_me: failed program was:" >&5 |
2003 |
fi |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
rm -f conftest* |
|
2004 |
|
|
2005 |
|
ac_cv_prog_cc_g=no |
2006 |
fi |
fi |
2007 |
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2008 |
echo "$ac_t""$ac_cv_prog_cc_g" 1>&6 |
fi |
2009 |
|
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
2010 |
|
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 |
2011 |
if test "$ac_test_CFLAGS" = set; then |
if test "$ac_test_CFLAGS" = set; then |
2012 |
CFLAGS="$ac_save_CFLAGS" |
CFLAGS=$ac_save_CFLAGS |
2013 |
elif test $ac_cv_prog_cc_g = yes; then |
elif test $ac_cv_prog_cc_g = yes; then |
2014 |
if test "$GCC" = yes; then |
if test "$GCC" = yes; then |
2015 |
CFLAGS="-g -O2" |
CFLAGS="-g -O2" |
2023 |
CFLAGS= |
CFLAGS= |
2024 |
fi |
fi |
2025 |
fi |
fi |
2026 |
|
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 |
2027 |
|
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 |
2028 |
|
if test "${ac_cv_prog_cc_stdc+set}" = set; then |
2029 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2030 |
|
else |
2031 |
|
ac_cv_prog_cc_stdc=no |
2032 |
|
ac_save_CC=$CC |
2033 |
|
cat >conftest.$ac_ext <<_ACEOF |
2034 |
|
/* confdefs.h. */ |
2035 |
|
_ACEOF |
2036 |
|
cat confdefs.h >>conftest.$ac_ext |
2037 |
|
cat >>conftest.$ac_ext <<_ACEOF |
2038 |
|
/* end confdefs.h. */ |
2039 |
|
#include <stdarg.h> |
2040 |
|
#include <stdio.h> |
2041 |
|
#include <sys/types.h> |
2042 |
|
#include <sys/stat.h> |
2043 |
|
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
2044 |
|
struct buf { int x; }; |
2045 |
|
FILE * (*rcsopen) (struct buf *, struct stat *, int); |
2046 |
|
static char *e (p, i) |
2047 |
|
char **p; |
2048 |
|
int i; |
2049 |
|
{ |
2050 |
|
return p[i]; |
2051 |
|
} |
2052 |
|
static char *f (char * (*g) (char **, int), char **p, ...) |
2053 |
|
{ |
2054 |
|
char *s; |
2055 |
|
va_list v; |
2056 |
|
va_start (v,p); |
2057 |
|
s = g (p, va_arg (v,int)); |
2058 |
|
va_end (v); |
2059 |
|
return s; |
2060 |
|
} |
2061 |
|
|
2062 |
|
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
2063 |
|
function prototypes and stuff, but not '\xHH' hex character constants. |
2064 |
|
These don't provoke an error unfortunately, instead are silently treated |
2065 |
|
as 'x'. The following induces an error, until -std1 is added to get |
2066 |
|
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
2067 |
|
array size at least. It's necessary to write '\x00'==0 to get something |
2068 |
|
that's true only with -std1. */ |
2069 |
|
int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
2070 |
|
|
2071 |
|
int test (int i, double x); |
2072 |
|
struct s1 {int (*f) (int a);}; |
2073 |
|
struct s2 {int (*f) (double a);}; |
2074 |
|
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
2075 |
|
int argc; |
2076 |
|
char **argv; |
2077 |
|
int |
2078 |
|
main () |
2079 |
|
{ |
2080 |
|
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
2081 |
|
; |
2082 |
|
return 0; |
2083 |
|
} |
2084 |
|
_ACEOF |
2085 |
|
# Don't try gcc -ansi; that turns off useful extensions and |
2086 |
|
# breaks some systems' header files. |
2087 |
|
# AIX -qlanglvl=ansi |
2088 |
|
# Ultrix and OSF/1 -std1 |
2089 |
|
# HP-UX 10.20 and later -Ae |
2090 |
|
# HP-UX older versions -Aa -D_HPUX_SOURCE |
2091 |
|
# SVR4 -Xc -D__EXTENSIONS__ |
2092 |
|
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
2093 |
|
do |
2094 |
|
CC="$ac_save_CC $ac_arg" |
2095 |
|
rm -f conftest.$ac_objext |
2096 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2097 |
|
(eval $ac_compile) 2>conftest.er1 |
2098 |
|
ac_status=$? |
2099 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
2100 |
|
rm -f conftest.er1 |
2101 |
|
cat conftest.err >&5 |
2102 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2103 |
|
(exit $ac_status); } && |
2104 |
|
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
2105 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2106 |
|
(eval $ac_try) 2>&5 |
2107 |
|
ac_status=$? |
2108 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2109 |
|
(exit $ac_status); }; } && |
2110 |
|
{ ac_try='test -s conftest.$ac_objext' |
2111 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2112 |
|
(eval $ac_try) 2>&5 |
2113 |
|
ac_status=$? |
2114 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2115 |
|
(exit $ac_status); }; }; then |
2116 |
|
ac_cv_prog_cc_stdc=$ac_arg |
2117 |
|
break |
2118 |
|
else |
2119 |
|
echo "$as_me: failed program was:" >&5 |
2120 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
2121 |
|
|
2122 |
|
fi |
2123 |
|
rm -f conftest.err conftest.$ac_objext |
2124 |
|
done |
2125 |
|
rm -f conftest.$ac_ext conftest.$ac_objext |
2126 |
|
CC=$ac_save_CC |
2127 |
|
|
2128 |
|
fi |
2129 |
|
|
2130 |
|
case "x$ac_cv_prog_cc_stdc" in |
2131 |
|
x|xno) |
2132 |
|
echo "$as_me:$LINENO: result: none needed" >&5 |
2133 |
|
echo "${ECHO_T}none needed" >&6 ;; |
2134 |
|
*) |
2135 |
|
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 |
2136 |
|
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 |
2137 |
|
CC="$CC $ac_cv_prog_cc_stdc" ;; |
2138 |
|
esac |
2139 |
|
|
2140 |
|
# Some people use a C++ compiler to compile C. Since we use `exit', |
2141 |
|
# in C++ we need to declare it. In case someone uses the same compiler |
2142 |
|
# for both compiling C and C++ we need to have the C++ compiler decide |
2143 |
|
# the declaration of exit, since it's the most demanding environment. |
2144 |
|
cat >conftest.$ac_ext <<_ACEOF |
2145 |
|
#ifndef __cplusplus |
2146 |
|
choke me |
2147 |
|
#endif |
2148 |
|
_ACEOF |
2149 |
|
rm -f conftest.$ac_objext |
2150 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2151 |
|
(eval $ac_compile) 2>conftest.er1 |
2152 |
|
ac_status=$? |
2153 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
2154 |
|
rm -f conftest.er1 |
2155 |
|
cat conftest.err >&5 |
2156 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2157 |
|
(exit $ac_status); } && |
2158 |
|
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
2159 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2160 |
|
(eval $ac_try) 2>&5 |
2161 |
|
ac_status=$? |
2162 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2163 |
|
(exit $ac_status); }; } && |
2164 |
|
{ ac_try='test -s conftest.$ac_objext' |
2165 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2166 |
|
(eval $ac_try) 2>&5 |
2167 |
|
ac_status=$? |
2168 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2169 |
|
(exit $ac_status); }; }; then |
2170 |
|
for ac_declaration in \ |
2171 |
|
'' \ |
2172 |
|
'extern "C" void std::exit (int) throw (); using std::exit;' \ |
2173 |
|
'extern "C" void std::exit (int); using std::exit;' \ |
2174 |
|
'extern "C" void exit (int) throw ();' \ |
2175 |
|
'extern "C" void exit (int);' \ |
2176 |
|
'void exit (int);' |
2177 |
|
do |
2178 |
|
cat >conftest.$ac_ext <<_ACEOF |
2179 |
|
/* confdefs.h. */ |
2180 |
|
_ACEOF |
2181 |
|
cat confdefs.h >>conftest.$ac_ext |
2182 |
|
cat >>conftest.$ac_ext <<_ACEOF |
2183 |
|
/* end confdefs.h. */ |
2184 |
|
$ac_declaration |
2185 |
|
#include <stdlib.h> |
2186 |
|
int |
2187 |
|
main () |
2188 |
|
{ |
2189 |
|
exit (42); |
2190 |
|
; |
2191 |
|
return 0; |
2192 |
|
} |
2193 |
|
_ACEOF |
2194 |
|
rm -f conftest.$ac_objext |
2195 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2196 |
|
(eval $ac_compile) 2>conftest.er1 |
2197 |
|
ac_status=$? |
2198 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
2199 |
|
rm -f conftest.er1 |
2200 |
|
cat conftest.err >&5 |
2201 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2202 |
|
(exit $ac_status); } && |
2203 |
|
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
2204 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2205 |
|
(eval $ac_try) 2>&5 |
2206 |
|
ac_status=$? |
2207 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2208 |
|
(exit $ac_status); }; } && |
2209 |
|
{ ac_try='test -s conftest.$ac_objext' |
2210 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2211 |
|
(eval $ac_try) 2>&5 |
2212 |
|
ac_status=$? |
2213 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2214 |
|
(exit $ac_status); }; }; then |
2215 |
|
: |
2216 |
|
else |
2217 |
|
echo "$as_me: failed program was:" >&5 |
2218 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
2219 |
|
|
2220 |
|
continue |
2221 |
|
fi |
2222 |
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2223 |
|
cat >conftest.$ac_ext <<_ACEOF |
2224 |
|
/* confdefs.h. */ |
2225 |
|
_ACEOF |
2226 |
|
cat confdefs.h >>conftest.$ac_ext |
2227 |
|
cat >>conftest.$ac_ext <<_ACEOF |
2228 |
|
/* end confdefs.h. */ |
2229 |
|
$ac_declaration |
2230 |
|
int |
2231 |
|
main () |
2232 |
|
{ |
2233 |
|
exit (42); |
2234 |
|
; |
2235 |
|
return 0; |
2236 |
|
} |
2237 |
|
_ACEOF |
2238 |
|
rm -f conftest.$ac_objext |
2239 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2240 |
|
(eval $ac_compile) 2>conftest.er1 |
2241 |
|
ac_status=$? |
2242 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
2243 |
|
rm -f conftest.er1 |
2244 |
|
cat conftest.err >&5 |
2245 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2246 |
|
(exit $ac_status); } && |
2247 |
|
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
2248 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2249 |
|
(eval $ac_try) 2>&5 |
2250 |
|
ac_status=$? |
2251 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2252 |
|
(exit $ac_status); }; } && |
2253 |
|
{ ac_try='test -s conftest.$ac_objext' |
2254 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2255 |
|
(eval $ac_try) 2>&5 |
2256 |
|
ac_status=$? |
2257 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2258 |
|
(exit $ac_status); }; }; then |
2259 |
|
break |
2260 |
|
else |
2261 |
|
echo "$as_me: failed program was:" >&5 |
2262 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
2263 |
|
|
2264 |
echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 |
fi |
2265 |
echo "configure:811: checking how to run the C preprocessor" >&5 |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2266 |
|
done |
2267 |
|
rm -f conftest* |
2268 |
|
if test -n "$ac_declaration"; then |
2269 |
|
echo '#ifdef __cplusplus' >>confdefs.h |
2270 |
|
echo $ac_declaration >>confdefs.h |
2271 |
|
echo '#endif' >>confdefs.h |
2272 |
|
fi |
2273 |
|
|
2274 |
|
else |
2275 |
|
echo "$as_me: failed program was:" >&5 |
2276 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
2277 |
|
|
2278 |
|
fi |
2279 |
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2280 |
|
ac_ext=c |
2281 |
|
ac_cpp='$CPP $CPPFLAGS' |
2282 |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
2283 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
2284 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
2285 |
|
|
2286 |
|
ac_ext=c |
2287 |
|
ac_cpp='$CPP $CPPFLAGS' |
2288 |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
2289 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
2290 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
2291 |
|
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 |
2292 |
|
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 |
2293 |
# On Suns, sometimes $CPP names a directory. |
# On Suns, sometimes $CPP names a directory. |
2294 |
if test -n "$CPP" && test -d "$CPP"; then |
if test -n "$CPP" && test -d "$CPP"; then |
2295 |
CPP= |
CPP= |
2296 |
fi |
fi |
2297 |
if test -z "$CPP"; then |
if test -z "$CPP"; then |
2298 |
if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then |
if test "${ac_cv_prog_CPP+set}" = set; then |
2299 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2300 |
else |
else |
2301 |
# This must be in double quotes, not single quotes, because CPP may get |
# Double quotes because CPP needs to be expanded |
2302 |
# substituted into the Makefile and "${CC-cc}" will confuse make. |
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
2303 |
CPP="${CC-cc} -E" |
do |
2304 |
|
ac_preproc_ok=false |
2305 |
|
for ac_c_preproc_warn_flag in '' yes |
2306 |
|
do |
2307 |
|
# Use a header file that comes with gcc, so configuring glibc |
2308 |
|
# with a fresh cross-compiler works. |
2309 |
|
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
2310 |
|
# <limits.h> exists even on freestanding compilers. |
2311 |
# 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, |
2312 |
# not just through cpp. |
# not just through cpp. "Syntax error" is here to catch this case. |
2313 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
2314 |
#line 826 "configure" |
/* confdefs.h. */ |
2315 |
#include "confdefs.h" |
_ACEOF |
2316 |
#include <assert.h> |
cat confdefs.h >>conftest.$ac_ext |
2317 |
Syntax Error |
cat >>conftest.$ac_ext <<_ACEOF |
2318 |
EOF |
/* end confdefs.h. */ |
2319 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
#ifdef __STDC__ |
2320 |
{ (eval echo configure:832: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
# include <limits.h> |
2321 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
#else |
2322 |
if test -z "$ac_err"; then |
# include <assert.h> |
2323 |
: |
#endif |
2324 |
|
Syntax error |
2325 |
|
_ACEOF |
2326 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
2327 |
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
2328 |
|
ac_status=$? |
2329 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
2330 |
|
rm -f conftest.er1 |
2331 |
|
cat conftest.err >&5 |
2332 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2333 |
|
(exit $ac_status); } >/dev/null; then |
2334 |
|
if test -s conftest.err; then |
2335 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
2336 |
|
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
2337 |
|
else |
2338 |
|
ac_cpp_err= |
2339 |
|
fi |
2340 |
else |
else |
2341 |
echo "$ac_err" >&5 |
ac_cpp_err=yes |
2342 |
echo "configure: failed program was:" >&5 |
fi |
2343 |
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 843 "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:849: \"$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 |
|
2344 |
: |
: |
2345 |
else |
else |
2346 |
echo "$ac_err" >&5 |
echo "$as_me: failed program was:" >&5 |
2347 |
echo "configure: failed program was:" >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
2348 |
cat conftest.$ac_ext >&5 |
|
2349 |
rm -rf conftest* |
# Broken: fails on valid input. |
2350 |
CPP="${CC-cc} -nologo -E" |
continue |
2351 |
cat > conftest.$ac_ext <<EOF |
fi |
2352 |
#line 860 "configure" |
rm -f conftest.err conftest.$ac_ext |
2353 |
#include "confdefs.h" |
|
2354 |
#include <assert.h> |
# OK, works on sane cases. Now check whether non-existent headers |
2355 |
Syntax Error |
# can be detected and how. |
2356 |
EOF |
cat >conftest.$ac_ext <<_ACEOF |
2357 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
/* confdefs.h. */ |
2358 |
{ (eval echo configure:866: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
_ACEOF |
2359 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
cat confdefs.h >>conftest.$ac_ext |
2360 |
if test -z "$ac_err"; then |
cat >>conftest.$ac_ext <<_ACEOF |
2361 |
: |
/* end confdefs.h. */ |
2362 |
|
#include <ac_nonexistent.h> |
2363 |
|
_ACEOF |
2364 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
2365 |
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
2366 |
|
ac_status=$? |
2367 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
2368 |
|
rm -f conftest.er1 |
2369 |
|
cat conftest.err >&5 |
2370 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2371 |
|
(exit $ac_status); } >/dev/null; then |
2372 |
|
if test -s conftest.err; then |
2373 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
2374 |
|
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
2375 |
|
else |
2376 |
|
ac_cpp_err= |
2377 |
|
fi |
2378 |
else |
else |
2379 |
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 |
|
2380 |
fi |
fi |
2381 |
rm -f conftest* |
if test -z "$ac_cpp_err"; then |
2382 |
|
# Broken: success on invalid input. |
2383 |
|
continue |
2384 |
|
else |
2385 |
|
echo "$as_me: failed program was:" >&5 |
2386 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
2387 |
|
|
2388 |
|
# Passes both tests. |
2389 |
|
ac_preproc_ok=: |
2390 |
|
break |
2391 |
fi |
fi |
2392 |
rm -f conftest* |
rm -f conftest.err conftest.$ac_ext |
2393 |
|
|
2394 |
|
done |
2395 |
|
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
2396 |
|
rm -f conftest.err conftest.$ac_ext |
2397 |
|
if $ac_preproc_ok; then |
2398 |
|
break |
2399 |
fi |
fi |
2400 |
rm -f conftest* |
|
2401 |
ac_cv_prog_CPP="$CPP" |
done |
2402 |
|
ac_cv_prog_CPP=$CPP |
2403 |
|
|
2404 |
|
fi |
2405 |
|
CPP=$ac_cv_prog_CPP |
2406 |
|
else |
2407 |
|
ac_cv_prog_CPP=$CPP |
2408 |
|
fi |
2409 |
|
echo "$as_me:$LINENO: result: $CPP" >&5 |
2410 |
|
echo "${ECHO_T}$CPP" >&6 |
2411 |
|
ac_preproc_ok=false |
2412 |
|
for ac_c_preproc_warn_flag in '' yes |
2413 |
|
do |
2414 |
|
# Use a header file that comes with gcc, so configuring glibc |
2415 |
|
# with a fresh cross-compiler works. |
2416 |
|
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
2417 |
|
# <limits.h> exists even on freestanding compilers. |
2418 |
|
# On the NeXT, cc -E runs the code through the compiler's parser, |
2419 |
|
# not just through cpp. "Syntax error" is here to catch this case. |
2420 |
|
cat >conftest.$ac_ext <<_ACEOF |
2421 |
|
/* confdefs.h. */ |
2422 |
|
_ACEOF |
2423 |
|
cat confdefs.h >>conftest.$ac_ext |
2424 |
|
cat >>conftest.$ac_ext <<_ACEOF |
2425 |
|
/* end confdefs.h. */ |
2426 |
|
#ifdef __STDC__ |
2427 |
|
# include <limits.h> |
2428 |
|
#else |
2429 |
|
# include <assert.h> |
2430 |
|
#endif |
2431 |
|
Syntax error |
2432 |
|
_ACEOF |
2433 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
2434 |
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
2435 |
|
ac_status=$? |
2436 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
2437 |
|
rm -f conftest.er1 |
2438 |
|
cat conftest.err >&5 |
2439 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2440 |
|
(exit $ac_status); } >/dev/null; then |
2441 |
|
if test -s conftest.err; then |
2442 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
2443 |
|
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
2444 |
|
else |
2445 |
|
ac_cpp_err= |
2446 |
|
fi |
2447 |
|
else |
2448 |
|
ac_cpp_err=yes |
2449 |
|
fi |
2450 |
|
if test -z "$ac_cpp_err"; then |
2451 |
|
: |
2452 |
|
else |
2453 |
|
echo "$as_me: failed program was:" >&5 |
2454 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
2455 |
|
|
2456 |
|
# Broken: fails on valid input. |
2457 |
|
continue |
2458 |
|
fi |
2459 |
|
rm -f conftest.err conftest.$ac_ext |
2460 |
|
|
2461 |
|
# OK, works on sane cases. Now check whether non-existent headers |
2462 |
|
# can be detected and how. |
2463 |
|
cat >conftest.$ac_ext <<_ACEOF |
2464 |
|
/* confdefs.h. */ |
2465 |
|
_ACEOF |
2466 |
|
cat confdefs.h >>conftest.$ac_ext |
2467 |
|
cat >>conftest.$ac_ext <<_ACEOF |
2468 |
|
/* end confdefs.h. */ |
2469 |
|
#include <ac_nonexistent.h> |
2470 |
|
_ACEOF |
2471 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
2472 |
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
2473 |
|
ac_status=$? |
2474 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
2475 |
|
rm -f conftest.er1 |
2476 |
|
cat conftest.err >&5 |
2477 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2478 |
|
(exit $ac_status); } >/dev/null; then |
2479 |
|
if test -s conftest.err; then |
2480 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
2481 |
|
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
2482 |
|
else |
2483 |
|
ac_cpp_err= |
2484 |
|
fi |
2485 |
|
else |
2486 |
|
ac_cpp_err=yes |
2487 |
fi |
fi |
2488 |
CPP="$ac_cv_prog_CPP" |
if test -z "$ac_cpp_err"; then |
2489 |
|
# Broken: success on invalid input. |
2490 |
|
continue |
2491 |
else |
else |
2492 |
ac_cv_prog_CPP="$CPP" |
echo "$as_me: failed program was:" >&5 |
2493 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
2494 |
|
|
2495 |
|
# Passes both tests. |
2496 |
|
ac_preproc_ok=: |
2497 |
|
break |
2498 |
fi |
fi |
2499 |
echo "$ac_t""$CPP" 1>&6 |
rm -f conftest.err conftest.$ac_ext |
2500 |
|
|
2501 |
|
done |
2502 |
|
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
2503 |
|
rm -f conftest.err conftest.$ac_ext |
2504 |
|
if $ac_preproc_ok; then |
2505 |
|
: |
2506 |
|
else |
2507 |
|
{ { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check |
2508 |
|
See \`config.log' for more details." >&5 |
2509 |
|
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check |
2510 |
|
See \`config.log' for more details." >&2;} |
2511 |
|
{ (exit 1); exit 1; }; } |
2512 |
|
fi |
2513 |
|
|
2514 |
|
ac_ext=c |
2515 |
|
ac_cpp='$CPP $CPPFLAGS' |
2516 |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
2517 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
2518 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
2519 |
|
|
2520 |
ac_aux_dir= |
ac_aux_dir= |
2521 |
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do |
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do |
2527 |
ac_aux_dir=$ac_dir |
ac_aux_dir=$ac_dir |
2528 |
ac_install_sh="$ac_aux_dir/install.sh -c" |
ac_install_sh="$ac_aux_dir/install.sh -c" |
2529 |
break |
break |
2530 |
|
elif test -f $ac_dir/shtool; then |
2531 |
|
ac_aux_dir=$ac_dir |
2532 |
|
ac_install_sh="$ac_aux_dir/shtool install -c" |
2533 |
|
break |
2534 |
fi |
fi |
2535 |
done |
done |
2536 |
if test -z "$ac_aux_dir"; then |
if test -z "$ac_aux_dir"; then |
2537 |
{ 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 |
2538 |
fi |
echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} |
2539 |
ac_config_guess=$ac_aux_dir/config.guess |
{ (exit 1); exit 1; }; } |
2540 |
ac_config_sub=$ac_aux_dir/config.sub |
fi |
2541 |
ac_configure=$ac_aux_dir/configure # This should be Cygnus configure. |
ac_config_guess="$SHELL $ac_aux_dir/config.guess" |
2542 |
|
ac_config_sub="$SHELL $ac_aux_dir/config.sub" |
2543 |
|
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. |
2544 |
|
|
2545 |
# Find a good install program. We prefer a C program (faster), |
# Find a good install program. We prefer a C program (faster), |
2546 |
# 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 |
2549 |
# SunOS /usr/etc/install |
# SunOS /usr/etc/install |
2550 |
# IRIX /sbin/install |
# IRIX /sbin/install |
2551 |
# AIX /bin/install |
# AIX /bin/install |
2552 |
|
# AmigaOS /C/install, which installs bootblocks on floppy discs |
2553 |
# 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 |
2554 |
# AFS /usr/afsws/bin/install, which mishandles nonexistent args |
# AFS /usr/afsws/bin/install, which mishandles nonexistent args |
2555 |
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
2556 |
|
# OS/2's system install, which has a completely different semantic |
2557 |
# ./install, which can be erroneously created by make from ./install.sh. |
# ./install, which can be erroneously created by make from ./install.sh. |
2558 |
echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
2559 |
echo "configure:921: checking for a BSD compatible install" >&5 |
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 |
2560 |
if test -z "$INSTALL"; then |
if test -z "$INSTALL"; then |
2561 |
if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then |
if test "${ac_cv_path_install+set}" = set; then |
2562 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2563 |
else |
else |
2564 |
IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2565 |
for ac_dir in $PATH; do |
for as_dir in $PATH |
2566 |
# Account for people who put trailing slashes in PATH elements. |
do |
2567 |
case "$ac_dir/" in |
IFS=$as_save_IFS |
2568 |
/|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;; |
test -z "$as_dir" && as_dir=. |
2569 |
*) |
# Account for people who put trailing slashes in PATH elements. |
2570 |
# OSF1 and SCO ODT 3.0 have their own names for install. |
case $as_dir/ in |
2571 |
# Don't use installbsd from OSF since it installs stuff as root |
./ | .// | /cC/* | \ |
2572 |
# by default. |
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
2573 |
for ac_prog in ginstall scoinst install; do |
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ |
2574 |
if test -f $ac_dir/$ac_prog; then |
/usr/ucb/* ) ;; |
2575 |
|
*) |
2576 |
|
# OSF1 and SCO ODT 3.0 have their own names for install. |
2577 |
|
# Don't use installbsd from OSF since it installs stuff as root |
2578 |
|
# by default. |
2579 |
|
for ac_prog in ginstall scoinst install; do |
2580 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
2581 |
|
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
2582 |
if test $ac_prog = install && |
if test $ac_prog = install && |
2583 |
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 |
2584 |
# AIX install. It has an incompatible calling convention. |
# AIX install. It has an incompatible calling convention. |
2585 |
: |
: |
2586 |
|
elif test $ac_prog = install && |
2587 |
|
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
2588 |
|
# program-specific install script used by HP pwplus--don't use. |
2589 |
|
: |
2590 |
else |
else |
2591 |
ac_cv_path_install="$ac_dir/$ac_prog -c" |
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
2592 |
break 2 |
break 3 |
2593 |
fi |
fi |
2594 |
fi |
fi |
2595 |
done |
done |
2596 |
;; |
done |
2597 |
esac |
;; |
2598 |
done |
esac |
2599 |
IFS="$ac_save_IFS" |
done |
2600 |
|
|
2601 |
|
|
2602 |
fi |
fi |
2603 |
if test "${ac_cv_path_install+set}" = set; then |
if test "${ac_cv_path_install+set}" = set; then |
2604 |
INSTALL="$ac_cv_path_install" |
INSTALL=$ac_cv_path_install |
2605 |
else |
else |
2606 |
# 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 |
2607 |
# path for INSTALL within a source directory, because that will |
# path for INSTALL within a source directory, because that will |
2608 |
# break other packages using the cache if that directory is |
# break other packages using the cache if that directory is |
2609 |
# removed, or if the path is relative. |
# removed, or if the path is relative. |
2610 |
INSTALL="$ac_install_sh" |
INSTALL=$ac_install_sh |
2611 |
fi |
fi |
2612 |
fi |
fi |
2613 |
echo "$ac_t""$INSTALL" 1>&6 |
echo "$as_me:$LINENO: result: $INSTALL" >&5 |
2614 |
|
echo "${ECHO_T}$INSTALL" >&6 |
2615 |
|
|
2616 |
# Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
# Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
2617 |
# It thinks the first close brace ends the variable substitution. |
# It thinks the first close brace ends the variable substitution. |
2618 |
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
2619 |
|
|
2620 |
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}' |
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
2621 |
|
|
2622 |
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
2623 |
|
|
2624 |
# Extract the first word of "ranlib", so it can be a program name with args. |
if test -n "$ac_tool_prefix"; then |
2625 |
set dummy ranlib; ac_word=$2 |
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. |
2626 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
set dummy ${ac_tool_prefix}ranlib; ac_word=$2 |
2627 |
echo "configure:976: checking for $ac_word" >&5 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2628 |
if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
2629 |
echo $ac_n "(cached) $ac_c" 1>&6 |
if test "${ac_cv_prog_RANLIB+set}" = set; then |
2630 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2631 |
else |
else |
2632 |
if test -n "$RANLIB"; then |
if test -n "$RANLIB"; then |
2633 |
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
2634 |
else |
else |
2635 |
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2636 |
ac_dummy="$PATH" |
for as_dir in $PATH |
2637 |
for ac_dir in $ac_dummy; do |
do |
2638 |
test -z "$ac_dir" && ac_dir=. |
IFS=$as_save_IFS |
2639 |
if test -f $ac_dir/$ac_word; then |
test -z "$as_dir" && as_dir=. |
2640 |
ac_cv_prog_RANLIB="ranlib" |
for ac_exec_ext in '' $ac_executable_extensions; do |
2641 |
break |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2642 |
fi |
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
2643 |
done |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2644 |
IFS="$ac_save_ifs" |
break 2 |
2645 |
test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":" |
fi |
2646 |
|
done |
2647 |
|
done |
2648 |
|
|
2649 |
fi |
fi |
2650 |
fi |
fi |
2651 |
RANLIB="$ac_cv_prog_RANLIB" |
RANLIB=$ac_cv_prog_RANLIB |
2652 |
if test -n "$RANLIB"; then |
if test -n "$RANLIB"; then |
2653 |
echo "$ac_t""$RANLIB" 1>&6 |
echo "$as_me:$LINENO: result: $RANLIB" >&5 |
2654 |
|
echo "${ECHO_T}$RANLIB" >&6 |
2655 |
else |
else |
2656 |
echo "$ac_t""no" 1>&6 |
echo "$as_me:$LINENO: result: no" >&5 |
2657 |
|
echo "${ECHO_T}no" >&6 |
2658 |
|
fi |
2659 |
|
|
2660 |
|
fi |
2661 |
|
if test -z "$ac_cv_prog_RANLIB"; then |
2662 |
|
ac_ct_RANLIB=$RANLIB |
2663 |
|
# Extract the first word of "ranlib", so it can be a program name with args. |
2664 |
|
set dummy ranlib; ac_word=$2 |
2665 |
|
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2666 |
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
2667 |
|
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then |
2668 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2669 |
|
else |
2670 |
|
if test -n "$ac_ct_RANLIB"; then |
2671 |
|
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. |
2672 |
|
else |
2673 |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2674 |
|
for as_dir in $PATH |
2675 |
|
do |
2676 |
|
IFS=$as_save_IFS |
2677 |
|
test -z "$as_dir" && as_dir=. |
2678 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
2679 |
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2680 |
|
ac_cv_prog_ac_ct_RANLIB="ranlib" |
2681 |
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2682 |
|
break 2 |
2683 |
|
fi |
2684 |
|
done |
2685 |
|
done |
2686 |
|
|
2687 |
|
test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" |
2688 |
|
fi |
2689 |
|
fi |
2690 |
|
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB |
2691 |
|
if test -n "$ac_ct_RANLIB"; then |
2692 |
|
echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 |
2693 |
|
echo "${ECHO_T}$ac_ct_RANLIB" >&6 |
2694 |
|
else |
2695 |
|
echo "$as_me:$LINENO: result: no" >&5 |
2696 |
|
echo "${ECHO_T}no" >&6 |
2697 |
|
fi |
2698 |
|
|
2699 |
|
RANLIB=$ac_ct_RANLIB |
2700 |
|
else |
2701 |
|
RANLIB="$ac_cv_prog_RANLIB" |
2702 |
fi |
fi |
2703 |
|
|
2704 |
for ac_prog in 'bison -y' byacc |
for ac_prog in 'bison -y' byacc |
2705 |
do |
do |
2706 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
2707 |
set dummy $ac_prog; ac_word=$2 |
set dummy $ac_prog; ac_word=$2 |
2708 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2709 |
echo "configure:1008: checking for $ac_word" >&5 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
2710 |
if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then |
if test "${ac_cv_prog_YACC+set}" = set; then |
2711 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2712 |
else |
else |
2713 |
if test -n "$YACC"; then |
if test -n "$YACC"; then |
2714 |
ac_cv_prog_YACC="$YACC" # Let the user override the test. |
ac_cv_prog_YACC="$YACC" # Let the user override the test. |
2715 |
else |
else |
2716 |
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2717 |
ac_dummy="$PATH" |
for as_dir in $PATH |
2718 |
for ac_dir in $ac_dummy; do |
do |
2719 |
test -z "$ac_dir" && ac_dir=. |
IFS=$as_save_IFS |
2720 |
if test -f $ac_dir/$ac_word; then |
test -z "$as_dir" && as_dir=. |
2721 |
ac_cv_prog_YACC="$ac_prog" |
for ac_exec_ext in '' $ac_executable_extensions; do |
2722 |
break |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2723 |
fi |
ac_cv_prog_YACC="$ac_prog" |
2724 |
done |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2725 |
IFS="$ac_save_ifs" |
break 2 |
2726 |
|
fi |
2727 |
|
done |
2728 |
|
done |
2729 |
|
|
2730 |
fi |
fi |
2731 |
fi |
fi |
2732 |
YACC="$ac_cv_prog_YACC" |
YACC=$ac_cv_prog_YACC |
2733 |
if test -n "$YACC"; then |
if test -n "$YACC"; then |
2734 |
echo "$ac_t""$YACC" 1>&6 |
echo "$as_me:$LINENO: result: $YACC" >&5 |
2735 |
|
echo "${ECHO_T}$YACC" >&6 |
2736 |
else |
else |
2737 |
echo "$ac_t""no" 1>&6 |
echo "$as_me:$LINENO: result: no" >&5 |
2738 |
|
echo "${ECHO_T}no" >&6 |
2739 |
fi |
fi |
2740 |
|
|
2741 |
test -n "$YACC" && break |
test -n "$YACC" && break |
2742 |
done |
done |
2743 |
test -n "$YACC" || YACC="yacc" |
test -n "$YACC" || YACC="yacc" |
2744 |
|
|
2745 |
# Extract the first word of "flex", so it can be a program name with args. |
|
2746 |
set dummy flex; ac_word=$2 |
for ac_prog in flex lex |
2747 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
do |
2748 |
echo "configure:1041: checking for $ac_word" >&5 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
2749 |
if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then |
set dummy $ac_prog; ac_word=$2 |
2750 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2751 |
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
2752 |
|
if test "${ac_cv_prog_LEX+set}" = set; then |
2753 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2754 |
else |
else |
2755 |
if test -n "$LEX"; then |
if test -n "$LEX"; then |
2756 |
ac_cv_prog_LEX="$LEX" # Let the user override the test. |
ac_cv_prog_LEX="$LEX" # Let the user override the test. |
2757 |
else |
else |
2758 |
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2759 |
ac_dummy="$PATH" |
for as_dir in $PATH |
2760 |
for ac_dir in $ac_dummy; do |
do |
2761 |
test -z "$ac_dir" && ac_dir=. |
IFS=$as_save_IFS |
2762 |
if test -f $ac_dir/$ac_word; then |
test -z "$as_dir" && as_dir=. |
2763 |
ac_cv_prog_LEX="flex" |
for ac_exec_ext in '' $ac_executable_extensions; do |
2764 |
break |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2765 |
fi |
ac_cv_prog_LEX="$ac_prog" |
2766 |
done |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2767 |
IFS="$ac_save_ifs" |
break 2 |
2768 |
test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX="lex" |
fi |
2769 |
|
done |
2770 |
|
done |
2771 |
|
|
2772 |
fi |
fi |
2773 |
fi |
fi |
2774 |
LEX="$ac_cv_prog_LEX" |
LEX=$ac_cv_prog_LEX |
2775 |
if test -n "$LEX"; then |
if test -n "$LEX"; then |
2776 |
echo "$ac_t""$LEX" 1>&6 |
echo "$as_me:$LINENO: result: $LEX" >&5 |
2777 |
|
echo "${ECHO_T}$LEX" >&6 |
2778 |
else |
else |
2779 |
echo "$ac_t""no" 1>&6 |
echo "$as_me:$LINENO: result: no" >&5 |
2780 |
|
echo "${ECHO_T}no" >&6 |
2781 |
fi |
fi |
2782 |
|
|
2783 |
|
test -n "$LEX" && break |
2784 |
|
done |
2785 |
|
test -n "$LEX" || LEX=":" |
2786 |
|
|
2787 |
if test -z "$LEXLIB" |
if test -z "$LEXLIB" |
2788 |
then |
then |
2789 |
case "$LEX" in |
echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5 |
2790 |
flex*) ac_lib=fl ;; |
echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6 |
2791 |
*) ac_lib=l ;; |
if test "${ac_cv_lib_fl_yywrap+set}" = set; then |
2792 |
esac |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2793 |
echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6 |
else |
2794 |
echo "configure:1075: checking for yywrap in -l$ac_lib" >&5 |
ac_check_lib_save_LIBS=$LIBS |
2795 |
ac_lib_var=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'` |
LIBS="-lfl $LIBS" |
2796 |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
cat >conftest.$ac_ext <<_ACEOF |
2797 |
echo $ac_n "(cached) $ac_c" 1>&6 |
/* confdefs.h. */ |
2798 |
else |
_ACEOF |
2799 |
ac_save_LIBS="$LIBS" |
cat confdefs.h >>conftest.$ac_ext |
2800 |
LIBS="-l$ac_lib $LIBS" |
cat >>conftest.$ac_ext <<_ACEOF |
2801 |
cat > conftest.$ac_ext <<EOF |
/* end confdefs.h. */ |
2802 |
#line 1083 "configure" |
|
|
#include "confdefs.h" |
|
2803 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
2804 |
|
#ifdef __cplusplus |
2805 |
|
extern "C" |
2806 |
|
#endif |
2807 |
/* 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 |
2808 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
2809 |
char yywrap(); |
char yywrap (); |
2810 |
|
int |
2811 |
|
main () |
2812 |
|
{ |
2813 |
|
yywrap (); |
2814 |
|
; |
2815 |
|
return 0; |
2816 |
|
} |
2817 |
|
_ACEOF |
2818 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
2819 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
2820 |
|
(eval $ac_link) 2>conftest.er1 |
2821 |
|
ac_status=$? |
2822 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
2823 |
|
rm -f conftest.er1 |
2824 |
|
cat conftest.err >&5 |
2825 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2826 |
|
(exit $ac_status); } && |
2827 |
|
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
2828 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2829 |
|
(eval $ac_try) 2>&5 |
2830 |
|
ac_status=$? |
2831 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2832 |
|
(exit $ac_status); }; } && |
2833 |
|
{ ac_try='test -s conftest$ac_exeext' |
2834 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2835 |
|
(eval $ac_try) 2>&5 |
2836 |
|
ac_status=$? |
2837 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2838 |
|
(exit $ac_status); }; }; then |
2839 |
|
ac_cv_lib_fl_yywrap=yes |
2840 |
|
else |
2841 |
|
echo "$as_me: failed program was:" >&5 |
2842 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
2843 |
|
|
2844 |
|
ac_cv_lib_fl_yywrap=no |
2845 |
|
fi |
2846 |
|
rm -f conftest.err conftest.$ac_objext \ |
2847 |
|
conftest$ac_exeext conftest.$ac_ext |
2848 |
|
LIBS=$ac_check_lib_save_LIBS |
2849 |
|
fi |
2850 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5 |
2851 |
|
echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6 |
2852 |
|
if test $ac_cv_lib_fl_yywrap = yes; then |
2853 |
|
LEXLIB="-lfl" |
2854 |
|
else |
2855 |
|
echo "$as_me:$LINENO: checking for yywrap in -ll" >&5 |
2856 |
|
echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6 |
2857 |
|
if test "${ac_cv_lib_l_yywrap+set}" = set; then |
2858 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2859 |
|
else |
2860 |
|
ac_check_lib_save_LIBS=$LIBS |
2861 |
|
LIBS="-ll $LIBS" |
2862 |
|
cat >conftest.$ac_ext <<_ACEOF |
2863 |
|
/* confdefs.h. */ |
2864 |
|
_ACEOF |
2865 |
|
cat confdefs.h >>conftest.$ac_ext |
2866 |
|
cat >>conftest.$ac_ext <<_ACEOF |
2867 |
|
/* end confdefs.h. */ |
2868 |
|
|
2869 |
int main() { |
/* Override any gcc2 internal prototype to avoid an error. */ |
2870 |
yywrap() |
#ifdef __cplusplus |
2871 |
; return 0; } |
extern "C" |
2872 |
EOF |
#endif |
2873 |
if { (eval echo configure:1094: \"$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 |
2874 |
rm -rf conftest* |
builtin and then its argument prototype would still apply. */ |
2875 |
eval "ac_cv_lib_$ac_lib_var=yes" |
char yywrap (); |
2876 |
else |
int |
2877 |
echo "configure: failed program was:" >&5 |
main () |
2878 |
cat conftest.$ac_ext >&5 |
{ |
2879 |
rm -rf conftest* |
yywrap (); |
2880 |
eval "ac_cv_lib_$ac_lib_var=no" |
; |
2881 |
|
return 0; |
2882 |
|
} |
2883 |
|
_ACEOF |
2884 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
2885 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
2886 |
|
(eval $ac_link) 2>conftest.er1 |
2887 |
|
ac_status=$? |
2888 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
2889 |
|
rm -f conftest.er1 |
2890 |
|
cat conftest.err >&5 |
2891 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2892 |
|
(exit $ac_status); } && |
2893 |
|
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
2894 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2895 |
|
(eval $ac_try) 2>&5 |
2896 |
|
ac_status=$? |
2897 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2898 |
|
(exit $ac_status); }; } && |
2899 |
|
{ ac_try='test -s conftest$ac_exeext' |
2900 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2901 |
|
(eval $ac_try) 2>&5 |
2902 |
|
ac_status=$? |
2903 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2904 |
|
(exit $ac_status); }; }; then |
2905 |
|
ac_cv_lib_l_yywrap=yes |
2906 |
|
else |
2907 |
|
echo "$as_me: failed program was:" >&5 |
2908 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
2909 |
|
|
2910 |
|
ac_cv_lib_l_yywrap=no |
2911 |
|
fi |
2912 |
|
rm -f conftest.err conftest.$ac_objext \ |
2913 |
|
conftest$ac_exeext conftest.$ac_ext |
2914 |
|
LIBS=$ac_check_lib_save_LIBS |
2915 |
|
fi |
2916 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5 |
2917 |
|
echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6 |
2918 |
|
if test $ac_cv_lib_l_yywrap = yes; then |
2919 |
|
LEXLIB="-ll" |
2920 |
fi |
fi |
|
rm -f conftest* |
|
|
LIBS="$ac_save_LIBS" |
|
2921 |
|
|
2922 |
fi |
fi |
2923 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
|
|
echo "$ac_t""yes" 1>&6 |
|
|
LEXLIB="-l$ac_lib" |
|
|
else |
|
|
echo "$ac_t""no" 1>&6 |
|
2924 |
fi |
fi |
2925 |
|
|
2926 |
|
if test "x$LEX" != "x:"; then |
2927 |
|
echo "$as_me:$LINENO: checking lex output file root" >&5 |
2928 |
|
echo $ECHO_N "checking lex output file root... $ECHO_C" >&6 |
2929 |
|
if test "${ac_cv_prog_lex_root+set}" = set; then |
2930 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2931 |
|
else |
2932 |
|
# The minimal lex program is just a single line: %%. But some broken lexes |
2933 |
|
# (Solaris, I think it was) want two %% lines, so accommodate them. |
2934 |
|
cat >conftest.l <<_ACEOF |
2935 |
|
%% |
2936 |
|
%% |
2937 |
|
_ACEOF |
2938 |
|
{ (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5 |
2939 |
|
(eval $LEX conftest.l) 2>&5 |
2940 |
|
ac_status=$? |
2941 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2942 |
|
(exit $ac_status); } |
2943 |
|
if test -f lex.yy.c; then |
2944 |
|
ac_cv_prog_lex_root=lex.yy |
2945 |
|
elif test -f lexyy.c; then |
2946 |
|
ac_cv_prog_lex_root=lexyy |
2947 |
|
else |
2948 |
|
{ { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5 |
2949 |
|
echo "$as_me: error: cannot find output from $LEX; giving up" >&2;} |
2950 |
|
{ (exit 1); exit 1; }; } |
2951 |
|
fi |
2952 |
|
fi |
2953 |
|
echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5 |
2954 |
|
echo "${ECHO_T}$ac_cv_prog_lex_root" >&6 |
2955 |
|
rm -f conftest.l |
2956 |
|
LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root |
2957 |
|
|
2958 |
|
echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5 |
2959 |
|
echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6 |
2960 |
|
if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then |
2961 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2962 |
|
else |
2963 |
|
# POSIX says lex can declare yytext either as a pointer or an array; the |
2964 |
|
# default is implementation-dependent. Figure out which it is, since |
2965 |
|
# not all implementations provide the %pointer and %array declarations. |
2966 |
|
ac_cv_prog_lex_yytext_pointer=no |
2967 |
|
echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c |
2968 |
|
ac_save_LIBS=$LIBS |
2969 |
|
LIBS="$LIBS $LEXLIB" |
2970 |
|
cat >conftest.$ac_ext <<_ACEOF |
2971 |
|
`cat $LEX_OUTPUT_ROOT.c` |
2972 |
|
_ACEOF |
2973 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
2974 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
2975 |
|
(eval $ac_link) 2>conftest.er1 |
2976 |
|
ac_status=$? |
2977 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
2978 |
|
rm -f conftest.er1 |
2979 |
|
cat conftest.err >&5 |
2980 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2981 |
|
(exit $ac_status); } && |
2982 |
|
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
2983 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2984 |
|
(eval $ac_try) 2>&5 |
2985 |
|
ac_status=$? |
2986 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2987 |
|
(exit $ac_status); }; } && |
2988 |
|
{ ac_try='test -s conftest$ac_exeext' |
2989 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2990 |
|
(eval $ac_try) 2>&5 |
2991 |
|
ac_status=$? |
2992 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2993 |
|
(exit $ac_status); }; }; then |
2994 |
|
ac_cv_prog_lex_yytext_pointer=yes |
2995 |
|
else |
2996 |
|
echo "$as_me: failed program was:" >&5 |
2997 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
2998 |
|
|
2999 |
|
fi |
3000 |
|
rm -f conftest.err conftest.$ac_objext \ |
3001 |
|
conftest$ac_exeext conftest.$ac_ext |
3002 |
|
LIBS=$ac_save_LIBS |
3003 |
|
rm -f "${LEX_OUTPUT_ROOT}.c" |
3004 |
|
|
3005 |
|
fi |
3006 |
|
echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5 |
3007 |
|
echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6 |
3008 |
|
if test $ac_cv_prog_lex_yytext_pointer = yes; then |
3009 |
|
|
3010 |
|
cat >>confdefs.h <<\_ACEOF |
3011 |
|
#define YYTEXT_POINTER 1 |
3012 |
|
_ACEOF |
3013 |
|
|
3014 |
fi |
fi |
3015 |
|
|
3016 |
|
fi |
3017 |
for ac_prog in gm4 gnum4 m4 |
for ac_prog in gm4 gnum4 m4 |
3018 |
do |
do |
3019 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
3020 |
set dummy $ac_prog; ac_word=$2 |
set dummy $ac_prog; ac_word=$2 |
3021 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3022 |
echo "configure:1121: checking for $ac_word" >&5 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
3023 |
if eval "test \"`echo '$''{'ac_cv_path_M4'+set}'`\" = set"; then |
if test "${ac_cv_path_M4+set}" = set; then |
3024 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3025 |
else |
else |
3026 |
case "$M4" in |
case $M4 in |
3027 |
/*) |
[\\/]* | ?:[\\/]*) |
3028 |
ac_cv_path_M4="$M4" # Let the user override the test with a path. |
ac_cv_path_M4="$M4" # Let the user override the test with a path. |
3029 |
;; |
;; |
|
?:/*) |
|
|
ac_cv_path_M4="$M4" # Let the user override the test with a dos path. |
|
|
;; |
|
3030 |
*) |
*) |
3031 |
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3032 |
ac_dummy="$PATH" |
for as_dir in $PATH |
3033 |
for ac_dir in $ac_dummy; do |
do |
3034 |
test -z "$ac_dir" && ac_dir=. |
IFS=$as_save_IFS |
3035 |
if test -f $ac_dir/$ac_word; then |
test -z "$as_dir" && as_dir=. |
3036 |
ac_cv_path_M4="$ac_dir/$ac_word" |
for ac_exec_ext in '' $ac_executable_extensions; do |
3037 |
break |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3038 |
fi |
ac_cv_path_M4="$as_dir/$ac_word$ac_exec_ext" |
3039 |
done |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3040 |
IFS="$ac_save_ifs" |
break 2 |
3041 |
|
fi |
3042 |
|
done |
3043 |
|
done |
3044 |
|
|
3045 |
;; |
;; |
3046 |
esac |
esac |
3047 |
fi |
fi |
3048 |
M4="$ac_cv_path_M4" |
M4=$ac_cv_path_M4 |
3049 |
|
|
3050 |
if test -n "$M4"; then |
if test -n "$M4"; then |
3051 |
echo "$ac_t""$M4" 1>&6 |
echo "$as_me:$LINENO: result: $M4" >&5 |
3052 |
|
echo "${ECHO_T}$M4" >&6 |
3053 |
else |
else |
3054 |
echo "$ac_t""no" 1>&6 |
echo "$as_me:$LINENO: result: no" >&5 |
3055 |
|
echo "${ECHO_T}no" >&6 |
3056 |
fi |
fi |
3057 |
|
|
3058 |
test -n "$M4" && break |
test -n "$M4" && break |
3059 |
done |
done |
3060 |
test -n "$M4" || M4="m4" |
test -n "$M4" || M4="m4" |
3061 |
|
|
3062 |
for ac_prog in mawk gawk nawk awk |
for ac_prog in gawk mawk nawk awk |
3063 |
do |
do |
3064 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
3065 |
set dummy $ac_prog; ac_word=$2 |
set dummy $ac_prog; ac_word=$2 |
3066 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3067 |
echo "configure:1162: checking for $ac_word" >&5 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
3068 |
if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then |
if test "${ac_cv_prog_AWK+set}" = set; then |
3069 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3070 |
else |
else |
3071 |
if test -n "$AWK"; then |
if test -n "$AWK"; then |
3072 |
ac_cv_prog_AWK="$AWK" # Let the user override the test. |
ac_cv_prog_AWK="$AWK" # Let the user override the test. |
3073 |
else |
else |
3074 |
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3075 |
ac_dummy="$PATH" |
for as_dir in $PATH |
3076 |
for ac_dir in $ac_dummy; do |
do |
3077 |
test -z "$ac_dir" && ac_dir=. |
IFS=$as_save_IFS |
3078 |
if test -f $ac_dir/$ac_word; then |
test -z "$as_dir" && as_dir=. |
3079 |
ac_cv_prog_AWK="$ac_prog" |
for ac_exec_ext in '' $ac_executable_extensions; do |
3080 |
break |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3081 |
fi |
ac_cv_prog_AWK="$ac_prog" |
3082 |
done |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3083 |
IFS="$ac_save_ifs" |
break 2 |
3084 |
|
fi |
3085 |
|
done |
3086 |
|
done |
3087 |
|
|
3088 |
fi |
fi |
3089 |
fi |
fi |
3090 |
AWK="$ac_cv_prog_AWK" |
AWK=$ac_cv_prog_AWK |
3091 |
if test -n "$AWK"; then |
if test -n "$AWK"; then |
3092 |
echo "$ac_t""$AWK" 1>&6 |
echo "$as_me:$LINENO: result: $AWK" >&5 |
3093 |
|
echo "${ECHO_T}$AWK" >&6 |
3094 |
else |
else |
3095 |
echo "$ac_t""no" 1>&6 |
echo "$as_me:$LINENO: result: no" >&5 |
3096 |
|
echo "${ECHO_T}no" >&6 |
3097 |
fi |
fi |
3098 |
|
|
3099 |
test -n "$AWK" && break |
test -n "$AWK" && break |
3100 |
done |
done |
3101 |
|
|
3102 |
#AC_DIFF_OPT |
#AC_DIFF_OPT |
3103 |
echo $ac_n "checking for AIX""... $ac_c" 1>&6 |
|
3104 |
echo "configure:1193: checking for AIX" >&5 |
echo "$as_me:$LINENO: checking for egrep" >&5 |
3105 |
cat > conftest.$ac_ext <<EOF |
echo $ECHO_N "checking for egrep... $ECHO_C" >&6 |
3106 |
#line 1195 "configure" |
if test "${ac_cv_prog_egrep+set}" = set; then |
3107 |
#include "confdefs.h" |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3108 |
|
else |
3109 |
|
if echo a | (grep -E '(a|b)') >/dev/null 2>&1 |
3110 |
|
then ac_cv_prog_egrep='grep -E' |
3111 |
|
else ac_cv_prog_egrep='egrep' |
3112 |
|
fi |
3113 |
|
fi |
3114 |
|
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 |
3115 |
|
echo "${ECHO_T}$ac_cv_prog_egrep" >&6 |
3116 |
|
EGREP=$ac_cv_prog_egrep |
3117 |
|
|
3118 |
|
|
3119 |
|
|
3120 |
|
echo "$as_me:$LINENO: checking for AIX" >&5 |
3121 |
|
echo $ECHO_N "checking for AIX... $ECHO_C" >&6 |
3122 |
|
cat >conftest.$ac_ext <<_ACEOF |
3123 |
|
/* confdefs.h. */ |
3124 |
|
_ACEOF |
3125 |
|
cat confdefs.h >>conftest.$ac_ext |
3126 |
|
cat >>conftest.$ac_ext <<_ACEOF |
3127 |
|
/* end confdefs.h. */ |
3128 |
#ifdef _AIX |
#ifdef _AIX |
3129 |
yes |
yes |
3130 |
#endif |
#endif |
3131 |
|
|
3132 |
EOF |
_ACEOF |
3133 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3134 |
egrep "yes" >/dev/null 2>&1; then |
$EGREP "yes" >/dev/null 2>&1; then |
3135 |
rm -rf conftest* |
echo "$as_me:$LINENO: result: yes" >&5 |
3136 |
echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF |
echo "${ECHO_T}yes" >&6 |
3137 |
|
cat >>confdefs.h <<\_ACEOF |
3138 |
#define _ALL_SOURCE 1 |
#define _ALL_SOURCE 1 |
3139 |
EOF |
_ACEOF |
3140 |
|
|
3141 |
else |
else |
3142 |
rm -rf conftest* |
echo "$as_me:$LINENO: result: no" >&5 |
3143 |
echo "$ac_t""no" 1>&6 |
echo "${ECHO_T}no" >&6 |
3144 |
fi |
fi |
3145 |
rm -f conftest* |
rm -f conftest* |
3146 |
|
|
3147 |
|
|
3148 |
ac_safe=`echo "minix/config.h" | sed 'y%./+-%__p_%'` |
echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
3149 |
echo $ac_n "checking for minix/config.h""... $ac_c" 1>&6 |
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 |
3150 |
echo "configure:1218: checking for minix/config.h" >&5 |
if test "${ac_cv_header_stdc+set}" = set; then |
3151 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3152 |
echo $ac_n "(cached) $ac_c" 1>&6 |
else |
3153 |
else |
cat >conftest.$ac_ext <<_ACEOF |
3154 |
cat > conftest.$ac_ext <<EOF |
/* confdefs.h. */ |
3155 |
#line 1223 "configure" |
_ACEOF |
3156 |
#include "confdefs.h" |
cat confdefs.h >>conftest.$ac_ext |
3157 |
#include <minix/config.h> |
cat >>conftest.$ac_ext <<_ACEOF |
3158 |
EOF |
/* end confdefs.h. */ |
3159 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
#include <stdlib.h> |
3160 |
{ (eval echo configure:1228: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
#include <stdarg.h> |
3161 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
#include <string.h> |
3162 |
if test -z "$ac_err"; then |
#include <float.h> |
3163 |
rm -rf conftest* |
|
3164 |
eval "ac_cv_header_$ac_safe=yes" |
int |
3165 |
else |
main () |
3166 |
echo "$ac_err" >&5 |
{ |
3167 |
echo "configure: failed program was:" >&5 |
|
3168 |
cat conftest.$ac_ext >&5 |
; |
3169 |
rm -rf conftest* |
return 0; |
3170 |
eval "ac_cv_header_$ac_safe=no" |
} |
3171 |
|
_ACEOF |
3172 |
|
rm -f conftest.$ac_objext |
3173 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3174 |
|
(eval $ac_compile) 2>conftest.er1 |
3175 |
|
ac_status=$? |
3176 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
3177 |
|
rm -f conftest.er1 |
3178 |
|
cat conftest.err >&5 |
3179 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3180 |
|
(exit $ac_status); } && |
3181 |
|
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
3182 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3183 |
|
(eval $ac_try) 2>&5 |
3184 |
|
ac_status=$? |
3185 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3186 |
|
(exit $ac_status); }; } && |
3187 |
|
{ ac_try='test -s conftest.$ac_objext' |
3188 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3189 |
|
(eval $ac_try) 2>&5 |
3190 |
|
ac_status=$? |
3191 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3192 |
|
(exit $ac_status); }; }; then |
3193 |
|
ac_cv_header_stdc=yes |
3194 |
|
else |
3195 |
|
echo "$as_me: failed program was:" >&5 |
3196 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
3197 |
|
|
3198 |
|
ac_cv_header_stdc=no |
3199 |
|
fi |
3200 |
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
3201 |
|
|
3202 |
|
if test $ac_cv_header_stdc = yes; then |
3203 |
|
# SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
3204 |
|
cat >conftest.$ac_ext <<_ACEOF |
3205 |
|
/* confdefs.h. */ |
3206 |
|
_ACEOF |
3207 |
|
cat confdefs.h >>conftest.$ac_ext |
3208 |
|
cat >>conftest.$ac_ext <<_ACEOF |
3209 |
|
/* end confdefs.h. */ |
3210 |
|
#include <string.h> |
3211 |
|
|
3212 |
|
_ACEOF |
3213 |
|
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3214 |
|
$EGREP "memchr" >/dev/null 2>&1; then |
3215 |
|
: |
3216 |
|
else |
3217 |
|
ac_cv_header_stdc=no |
3218 |
fi |
fi |
3219 |
rm -f conftest* |
rm -f conftest* |
3220 |
|
|
3221 |
|
fi |
3222 |
|
|
3223 |
|
if test $ac_cv_header_stdc = yes; then |
3224 |
|
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
3225 |
|
cat >conftest.$ac_ext <<_ACEOF |
3226 |
|
/* confdefs.h. */ |
3227 |
|
_ACEOF |
3228 |
|
cat confdefs.h >>conftest.$ac_ext |
3229 |
|
cat >>conftest.$ac_ext <<_ACEOF |
3230 |
|
/* end confdefs.h. */ |
3231 |
|
#include <stdlib.h> |
3232 |
|
|
3233 |
|
_ACEOF |
3234 |
|
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3235 |
|
$EGREP "free" >/dev/null 2>&1; then |
3236 |
|
: |
3237 |
|
else |
3238 |
|
ac_cv_header_stdc=no |
3239 |
|
fi |
3240 |
|
rm -f conftest* |
3241 |
|
|
3242 |
|
fi |
3243 |
|
|
3244 |
|
if test $ac_cv_header_stdc = yes; then |
3245 |
|
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
3246 |
|
if test "$cross_compiling" = yes; then |
3247 |
|
: |
3248 |
|
else |
3249 |
|
cat >conftest.$ac_ext <<_ACEOF |
3250 |
|
/* confdefs.h. */ |
3251 |
|
_ACEOF |
3252 |
|
cat confdefs.h >>conftest.$ac_ext |
3253 |
|
cat >>conftest.$ac_ext <<_ACEOF |
3254 |
|
/* end confdefs.h. */ |
3255 |
|
#include <ctype.h> |
3256 |
|
#if ((' ' & 0x0FF) == 0x020) |
3257 |
|
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
3258 |
|
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
3259 |
|
#else |
3260 |
|
# define ISLOWER(c) \ |
3261 |
|
(('a' <= (c) && (c) <= 'i') \ |
3262 |
|
|| ('j' <= (c) && (c) <= 'r') \ |
3263 |
|
|| ('s' <= (c) && (c) <= 'z')) |
3264 |
|
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
3265 |
|
#endif |
3266 |
|
|
3267 |
|
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
3268 |
|
int |
3269 |
|
main () |
3270 |
|
{ |
3271 |
|
int i; |
3272 |
|
for (i = 0; i < 256; i++) |
3273 |
|
if (XOR (islower (i), ISLOWER (i)) |
3274 |
|
|| toupper (i) != TOUPPER (i)) |
3275 |
|
exit(2); |
3276 |
|
exit (0); |
3277 |
|
} |
3278 |
|
_ACEOF |
3279 |
|
rm -f conftest$ac_exeext |
3280 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
3281 |
|
(eval $ac_link) 2>&5 |
3282 |
|
ac_status=$? |
3283 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3284 |
|
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
3285 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3286 |
|
(eval $ac_try) 2>&5 |
3287 |
|
ac_status=$? |
3288 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3289 |
|
(exit $ac_status); }; }; then |
3290 |
|
: |
3291 |
|
else |
3292 |
|
echo "$as_me: program exited with status $ac_status" >&5 |
3293 |
|
echo "$as_me: failed program was:" >&5 |
3294 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
3295 |
|
|
3296 |
|
( exit $ac_status ) |
3297 |
|
ac_cv_header_stdc=no |
3298 |
|
fi |
3299 |
|
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
3300 |
|
fi |
3301 |
|
fi |
3302 |
fi |
fi |
3303 |
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 |
3304 |
echo "$ac_t""yes" 1>&6 |
echo "${ECHO_T}$ac_cv_header_stdc" >&6 |
3305 |
|
if test $ac_cv_header_stdc = yes; then |
3306 |
|
|
3307 |
|
cat >>confdefs.h <<\_ACEOF |
3308 |
|
#define STDC_HEADERS 1 |
3309 |
|
_ACEOF |
3310 |
|
|
3311 |
|
fi |
3312 |
|
|
3313 |
|
# On IRIX 5.3, sys/types and inttypes.h are conflicting. |
3314 |
|
|
3315 |
|
|
3316 |
|
|
3317 |
|
|
3318 |
|
|
3319 |
|
|
3320 |
|
|
3321 |
|
|
3322 |
|
|
3323 |
|
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
3324 |
|
inttypes.h stdint.h unistd.h |
3325 |
|
do |
3326 |
|
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
3327 |
|
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
3328 |
|
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
3329 |
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
3330 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3331 |
|
else |
3332 |
|
cat >conftest.$ac_ext <<_ACEOF |
3333 |
|
/* confdefs.h. */ |
3334 |
|
_ACEOF |
3335 |
|
cat confdefs.h >>conftest.$ac_ext |
3336 |
|
cat >>conftest.$ac_ext <<_ACEOF |
3337 |
|
/* end confdefs.h. */ |
3338 |
|
$ac_includes_default |
3339 |
|
|
3340 |
|
#include <$ac_header> |
3341 |
|
_ACEOF |
3342 |
|
rm -f conftest.$ac_objext |
3343 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3344 |
|
(eval $ac_compile) 2>conftest.er1 |
3345 |
|
ac_status=$? |
3346 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
3347 |
|
rm -f conftest.er1 |
3348 |
|
cat conftest.err >&5 |
3349 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3350 |
|
(exit $ac_status); } && |
3351 |
|
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
3352 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3353 |
|
(eval $ac_try) 2>&5 |
3354 |
|
ac_status=$? |
3355 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3356 |
|
(exit $ac_status); }; } && |
3357 |
|
{ ac_try='test -s conftest.$ac_objext' |
3358 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3359 |
|
(eval $ac_try) 2>&5 |
3360 |
|
ac_status=$? |
3361 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3362 |
|
(exit $ac_status); }; }; then |
3363 |
|
eval "$as_ac_Header=yes" |
3364 |
|
else |
3365 |
|
echo "$as_me: failed program was:" >&5 |
3366 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
3367 |
|
|
3368 |
|
eval "$as_ac_Header=no" |
3369 |
|
fi |
3370 |
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
3371 |
|
fi |
3372 |
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
3373 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
3374 |
|
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
3375 |
|
cat >>confdefs.h <<_ACEOF |
3376 |
|
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
3377 |
|
_ACEOF |
3378 |
|
|
3379 |
|
fi |
3380 |
|
|
3381 |
|
done |
3382 |
|
|
3383 |
|
|
3384 |
|
if test "${ac_cv_header_minix_config_h+set}" = set; then |
3385 |
|
echo "$as_me:$LINENO: checking for minix/config.h" >&5 |
3386 |
|
echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6 |
3387 |
|
if test "${ac_cv_header_minix_config_h+set}" = set; then |
3388 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3389 |
|
fi |
3390 |
|
echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 |
3391 |
|
echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6 |
3392 |
|
else |
3393 |
|
# Is the header compilable? |
3394 |
|
echo "$as_me:$LINENO: checking minix/config.h usability" >&5 |
3395 |
|
echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6 |
3396 |
|
cat >conftest.$ac_ext <<_ACEOF |
3397 |
|
/* confdefs.h. */ |
3398 |
|
_ACEOF |
3399 |
|
cat confdefs.h >>conftest.$ac_ext |
3400 |
|
cat >>conftest.$ac_ext <<_ACEOF |
3401 |
|
/* end confdefs.h. */ |
3402 |
|
$ac_includes_default |
3403 |
|
#include <minix/config.h> |
3404 |
|
_ACEOF |
3405 |
|
rm -f conftest.$ac_objext |
3406 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3407 |
|
(eval $ac_compile) 2>conftest.er1 |
3408 |
|
ac_status=$? |
3409 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
3410 |
|
rm -f conftest.er1 |
3411 |
|
cat conftest.err >&5 |
3412 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3413 |
|
(exit $ac_status); } && |
3414 |
|
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
3415 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3416 |
|
(eval $ac_try) 2>&5 |
3417 |
|
ac_status=$? |
3418 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3419 |
|
(exit $ac_status); }; } && |
3420 |
|
{ ac_try='test -s conftest.$ac_objext' |
3421 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3422 |
|
(eval $ac_try) 2>&5 |
3423 |
|
ac_status=$? |
3424 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3425 |
|
(exit $ac_status); }; }; then |
3426 |
|
ac_header_compiler=yes |
3427 |
|
else |
3428 |
|
echo "$as_me: failed program was:" >&5 |
3429 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
3430 |
|
|
3431 |
|
ac_header_compiler=no |
3432 |
|
fi |
3433 |
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
3434 |
|
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
3435 |
|
echo "${ECHO_T}$ac_header_compiler" >&6 |
3436 |
|
|
3437 |
|
# Is the header present? |
3438 |
|
echo "$as_me:$LINENO: checking minix/config.h presence" >&5 |
3439 |
|
echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6 |
3440 |
|
cat >conftest.$ac_ext <<_ACEOF |
3441 |
|
/* confdefs.h. */ |
3442 |
|
_ACEOF |
3443 |
|
cat confdefs.h >>conftest.$ac_ext |
3444 |
|
cat >>conftest.$ac_ext <<_ACEOF |
3445 |
|
/* end confdefs.h. */ |
3446 |
|
#include <minix/config.h> |
3447 |
|
_ACEOF |
3448 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
3449 |
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
3450 |
|
ac_status=$? |
3451 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
3452 |
|
rm -f conftest.er1 |
3453 |
|
cat conftest.err >&5 |
3454 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3455 |
|
(exit $ac_status); } >/dev/null; then |
3456 |
|
if test -s conftest.err; then |
3457 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
3458 |
|
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
3459 |
|
else |
3460 |
|
ac_cpp_err= |
3461 |
|
fi |
3462 |
|
else |
3463 |
|
ac_cpp_err=yes |
3464 |
|
fi |
3465 |
|
if test -z "$ac_cpp_err"; then |
3466 |
|
ac_header_preproc=yes |
3467 |
|
else |
3468 |
|
echo "$as_me: failed program was:" >&5 |
3469 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
3470 |
|
|
3471 |
|
ac_header_preproc=no |
3472 |
|
fi |
3473 |
|
rm -f conftest.err conftest.$ac_ext |
3474 |
|
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
3475 |
|
echo "${ECHO_T}$ac_header_preproc" >&6 |
3476 |
|
|
3477 |
|
# So? What about this header? |
3478 |
|
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
3479 |
|
yes:no: ) |
3480 |
|
{ echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
3481 |
|
echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
3482 |
|
{ echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5 |
3483 |
|
echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;} |
3484 |
|
ac_header_preproc=yes |
3485 |
|
;; |
3486 |
|
no:yes:* ) |
3487 |
|
{ echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5 |
3488 |
|
echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;} |
3489 |
|
{ echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5 |
3490 |
|
echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;} |
3491 |
|
{ echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5 |
3492 |
|
echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;} |
3493 |
|
{ echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5 |
3494 |
|
echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;} |
3495 |
|
{ echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5 |
3496 |
|
echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;} |
3497 |
|
{ echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5 |
3498 |
|
echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;} |
3499 |
|
( |
3500 |
|
cat <<\_ASBOX |
3501 |
|
## -------------------------------- ## |
3502 |
|
## Report this to bug-gnats@gnu.org ## |
3503 |
|
## -------------------------------- ## |
3504 |
|
_ASBOX |
3505 |
|
) | |
3506 |
|
sed "s/^/$as_me: WARNING: /" >&2 |
3507 |
|
;; |
3508 |
|
esac |
3509 |
|
echo "$as_me:$LINENO: checking for minix/config.h" >&5 |
3510 |
|
echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6 |
3511 |
|
if test "${ac_cv_header_minix_config_h+set}" = set; then |
3512 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3513 |
|
else |
3514 |
|
ac_cv_header_minix_config_h=$ac_header_preproc |
3515 |
|
fi |
3516 |
|
echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 |
3517 |
|
echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6 |
3518 |
|
|
3519 |
|
fi |
3520 |
|
if test $ac_cv_header_minix_config_h = yes; then |
3521 |
MINIX=yes |
MINIX=yes |
3522 |
else |
else |
3523 |
echo "$ac_t""no" 1>&6 |
MINIX= |
|
MINIX= |
|
3524 |
fi |
fi |
3525 |
|
|
3526 |
|
|
3527 |
if test "$MINIX" = yes; then |
if test "$MINIX" = yes; then |
3528 |
cat >> confdefs.h <<\EOF |
|
3529 |
|
cat >>confdefs.h <<\_ACEOF |
3530 |
#define _POSIX_SOURCE 1 |
#define _POSIX_SOURCE 1 |
3531 |
EOF |
_ACEOF |
3532 |
|
|
3533 |
|
|
3534 |
cat >> confdefs.h <<\EOF |
cat >>confdefs.h <<\_ACEOF |
3535 |
#define _POSIX_1_SOURCE 2 |
#define _POSIX_1_SOURCE 2 |
3536 |
EOF |
_ACEOF |
3537 |
|
|
3538 |
cat >> confdefs.h <<\EOF |
|
3539 |
|
cat >>confdefs.h <<\_ACEOF |
3540 |
#define _MINIX 1 |
#define _MINIX 1 |
3541 |
EOF |
_ACEOF |
3542 |
|
|
3543 |
fi |
fi |
3544 |
|
|
3545 |
|
|
3546 |
echo $ac_n "checking for strerror in -lcposix""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for strerror in -lcposix" >&5 |
3547 |
echo "configure:1267: checking for strerror in -lcposix" >&5 |
echo $ECHO_N "checking for strerror in -lcposix... $ECHO_C" >&6 |
3548 |
ac_lib_var=`echo cposix'_'strerror | sed 'y%./+-%__p_%'` |
if test "${ac_cv_lib_cposix_strerror+set}" = set; then |
3549 |
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 |
|
3550 |
else |
else |
3551 |
ac_save_LIBS="$LIBS" |
ac_check_lib_save_LIBS=$LIBS |
3552 |
LIBS="-lcposix $LIBS" |
LIBS="-lcposix $LIBS" |
3553 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
3554 |
#line 1275 "configure" |
/* confdefs.h. */ |
3555 |
#include "confdefs.h" |
_ACEOF |
3556 |
|
cat confdefs.h >>conftest.$ac_ext |
3557 |
|
cat >>conftest.$ac_ext <<_ACEOF |
3558 |
|
/* end confdefs.h. */ |
3559 |
|
|
3560 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
3561 |
|
#ifdef __cplusplus |
3562 |
|
extern "C" |
3563 |
|
#endif |
3564 |
/* 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 |
3565 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
3566 |
char strerror(); |
char strerror (); |
3567 |
|
int |
3568 |
int main() { |
main () |
3569 |
strerror() |
{ |
3570 |
; return 0; } |
strerror (); |
3571 |
EOF |
; |
3572 |
if { (eval echo configure:1286: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
return 0; |
3573 |
rm -rf conftest* |
} |
3574 |
eval "ac_cv_lib_$ac_lib_var=yes" |
_ACEOF |
3575 |
else |
rm -f conftest.$ac_objext conftest$ac_exeext |
3576 |
echo "configure: failed program was:" >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
3577 |
cat conftest.$ac_ext >&5 |
(eval $ac_link) 2>conftest.er1 |
3578 |
rm -rf conftest* |
ac_status=$? |
3579 |
eval "ac_cv_lib_$ac_lib_var=no" |
grep -v '^ *+' conftest.er1 >conftest.err |
3580 |
fi |
rm -f conftest.er1 |
3581 |
rm -f conftest* |
cat conftest.err >&5 |
3582 |
LIBS="$ac_save_LIBS" |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3583 |
|
(exit $ac_status); } && |
3584 |
fi |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
3585 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3586 |
echo "$ac_t""yes" 1>&6 |
(eval $ac_try) 2>&5 |
3587 |
|
ac_status=$? |
3588 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3589 |
|
(exit $ac_status); }; } && |
3590 |
|
{ ac_try='test -s conftest$ac_exeext' |
3591 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3592 |
|
(eval $ac_try) 2>&5 |
3593 |
|
ac_status=$? |
3594 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3595 |
|
(exit $ac_status); }; }; then |
3596 |
|
ac_cv_lib_cposix_strerror=yes |
3597 |
|
else |
3598 |
|
echo "$as_me: failed program was:" >&5 |
3599 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
3600 |
|
|
3601 |
|
ac_cv_lib_cposix_strerror=no |
3602 |
|
fi |
3603 |
|
rm -f conftest.err conftest.$ac_objext \ |
3604 |
|
conftest$ac_exeext conftest.$ac_ext |
3605 |
|
LIBS=$ac_check_lib_save_LIBS |
3606 |
|
fi |
3607 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_cposix_strerror" >&5 |
3608 |
|
echo "${ECHO_T}$ac_cv_lib_cposix_strerror" >&6 |
3609 |
|
if test $ac_cv_lib_cposix_strerror = yes; then |
3610 |
LIBS="$LIBS -lcposix" |
LIBS="$LIBS -lcposix" |
|
else |
|
|
echo "$ac_t""no" 1>&6 |
|
3611 |
fi |
fi |
3612 |
|
|
3613 |
|
|
3614 |
|
|
3615 |
# 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 |
3616 |
# for constant arguments. Useless! |
# for constant arguments. Useless! |
3617 |
echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for working alloca.h" >&5 |
3618 |
echo "configure:1311: checking for working alloca.h" >&5 |
echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6 |
3619 |
if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then |
if test "${ac_cv_working_alloca_h+set}" = set; then |
3620 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3621 |
else |
else |
3622 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
3623 |
#line 1316 "configure" |
/* confdefs.h. */ |
3624 |
#include "confdefs.h" |
_ACEOF |
3625 |
|
cat confdefs.h >>conftest.$ac_ext |
3626 |
|
cat >>conftest.$ac_ext <<_ACEOF |
3627 |
|
/* end confdefs.h. */ |
3628 |
#include <alloca.h> |
#include <alloca.h> |
3629 |
int main() { |
int |
3630 |
char *p = alloca(2 * sizeof(int)); |
main () |
3631 |
; return 0; } |
{ |
3632 |
EOF |
char *p = (char *) alloca (2 * sizeof (int)); |
3633 |
if { (eval echo configure:1323: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
; |
3634 |
rm -rf conftest* |
return 0; |
3635 |
ac_cv_header_alloca_h=yes |
} |
3636 |
else |
_ACEOF |
3637 |
echo "configure: failed program was:" >&5 |
rm -f conftest.$ac_objext conftest$ac_exeext |
3638 |
cat conftest.$ac_ext >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
3639 |
rm -rf conftest* |
(eval $ac_link) 2>conftest.er1 |
3640 |
ac_cv_header_alloca_h=no |
ac_status=$? |
3641 |
fi |
grep -v '^ *+' conftest.er1 >conftest.err |
3642 |
rm -f conftest* |
rm -f conftest.er1 |
3643 |
fi |
cat conftest.err >&5 |
3644 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3645 |
|
(exit $ac_status); } && |
3646 |
|
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
3647 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3648 |
|
(eval $ac_try) 2>&5 |
3649 |
|
ac_status=$? |
3650 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3651 |
|
(exit $ac_status); }; } && |
3652 |
|
{ ac_try='test -s conftest$ac_exeext' |
3653 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3654 |
|
(eval $ac_try) 2>&5 |
3655 |
|
ac_status=$? |
3656 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3657 |
|
(exit $ac_status); }; }; then |
3658 |
|
ac_cv_working_alloca_h=yes |
3659 |
|
else |
3660 |
|
echo "$as_me: failed program was:" >&5 |
3661 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
3662 |
|
|
3663 |
|
ac_cv_working_alloca_h=no |
3664 |
|
fi |
3665 |
|
rm -f conftest.err conftest.$ac_objext \ |
3666 |
|
conftest$ac_exeext conftest.$ac_ext |
3667 |
|
fi |
3668 |
|
echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5 |
3669 |
|
echo "${ECHO_T}$ac_cv_working_alloca_h" >&6 |
3670 |
|
if test $ac_cv_working_alloca_h = yes; then |
3671 |
|
|
3672 |
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 |
|
3673 |
#define HAVE_ALLOCA_H 1 |
#define HAVE_ALLOCA_H 1 |
3674 |
EOF |
_ACEOF |
3675 |
|
|
3676 |
fi |
fi |
3677 |
|
|
3678 |
echo $ac_n "checking for alloca""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for alloca" >&5 |
3679 |
echo "configure:1344: checking for alloca" >&5 |
echo $ECHO_N "checking for alloca... $ECHO_C" >&6 |
3680 |
if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then |
if test "${ac_cv_func_alloca_works+set}" = set; then |
3681 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3682 |
else |
else |
3683 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
3684 |
#line 1349 "configure" |
/* confdefs.h. */ |
3685 |
#include "confdefs.h" |
_ACEOF |
3686 |
|
cat confdefs.h >>conftest.$ac_ext |
3687 |
|
cat >>conftest.$ac_ext <<_ACEOF |
3688 |
|
/* end confdefs.h. */ |
3689 |
#ifdef __GNUC__ |
#ifdef __GNUC__ |
3690 |
# define alloca __builtin_alloca |
# define alloca __builtin_alloca |
3691 |
#else |
#else |
3707 |
# endif |
# endif |
3708 |
#endif |
#endif |
3709 |
|
|
3710 |
int main() { |
int |
3711 |
char *p = (char *) alloca(1); |
main () |
3712 |
; return 0; } |
{ |
3713 |
EOF |
char *p = (char *) alloca (1); |
3714 |
if { (eval echo configure:1377: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
; |
3715 |
rm -rf conftest* |
return 0; |
3716 |
|
} |
3717 |
|
_ACEOF |
3718 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
3719 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
3720 |
|
(eval $ac_link) 2>conftest.er1 |
3721 |
|
ac_status=$? |
3722 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
3723 |
|
rm -f conftest.er1 |
3724 |
|
cat conftest.err >&5 |
3725 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3726 |
|
(exit $ac_status); } && |
3727 |
|
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
3728 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3729 |
|
(eval $ac_try) 2>&5 |
3730 |
|
ac_status=$? |
3731 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3732 |
|
(exit $ac_status); }; } && |
3733 |
|
{ ac_try='test -s conftest$ac_exeext' |
3734 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3735 |
|
(eval $ac_try) 2>&5 |
3736 |
|
ac_status=$? |
3737 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3738 |
|
(exit $ac_status); }; }; then |
3739 |
ac_cv_func_alloca_works=yes |
ac_cv_func_alloca_works=yes |
3740 |
else |
else |
3741 |
echo "configure: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
3742 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
3743 |
rm -rf conftest* |
|
3744 |
ac_cv_func_alloca_works=no |
ac_cv_func_alloca_works=no |
3745 |
fi |
fi |
3746 |
rm -f conftest* |
rm -f conftest.err conftest.$ac_objext \ |
3747 |
|
conftest$ac_exeext conftest.$ac_ext |
3748 |
fi |
fi |
3749 |
|
echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5 |
3750 |
|
echo "${ECHO_T}$ac_cv_func_alloca_works" >&6 |
3751 |
|
|
|
echo "$ac_t""$ac_cv_func_alloca_works" 1>&6 |
|
3752 |
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 |
|
3753 |
|
|
3754 |
fi |
cat >>confdefs.h <<\_ACEOF |
3755 |
|
#define HAVE_ALLOCA 1 |
3756 |
|
_ACEOF |
3757 |
|
|
3758 |
if test $ac_cv_func_alloca_works = no; then |
else |
3759 |
# The SVR3 libPW and SVR4 libucb both contain incompatible functions |
# The SVR3 libPW and SVR4 libucb both contain incompatible functions |
3760 |
# that cause trouble. Some versions do not even contain alloca or |
# that cause trouble. Some versions do not even contain alloca or |
3761 |
# contain a buggy version. If you still want to use their alloca, |
# contain a buggy version. If you still want to use their alloca, |
3762 |
# 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. |
3763 |
ALLOCA=alloca.${ac_objext} |
|
3764 |
cat >> confdefs.h <<\EOF |
ALLOCA=alloca.$ac_objext |
3765 |
|
|
3766 |
|
cat >>confdefs.h <<\_ACEOF |
3767 |
#define C_ALLOCA 1 |
#define C_ALLOCA 1 |
3768 |
EOF |
_ACEOF |
3769 |
|
|
3770 |
|
|
3771 |
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 |
3772 |
echo "configure:1409: checking whether alloca needs Cray hooks" >&5 |
echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6 |
3773 |
if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then |
if test "${ac_cv_os_cray+set}" = set; then |
3774 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3775 |
else |
else |
3776 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
3777 |
#line 1414 "configure" |
/* confdefs.h. */ |
3778 |
#include "confdefs.h" |
_ACEOF |
3779 |
|
cat confdefs.h >>conftest.$ac_ext |
3780 |
|
cat >>conftest.$ac_ext <<_ACEOF |
3781 |
|
/* end confdefs.h. */ |
3782 |
#if defined(CRAY) && ! defined(CRAY2) |
#if defined(CRAY) && ! defined(CRAY2) |
3783 |
webecray |
webecray |
3784 |
#else |
#else |
3785 |
wenotbecray |
wenotbecray |
3786 |
#endif |
#endif |
3787 |
|
|
3788 |
EOF |
_ACEOF |
3789 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3790 |
egrep "webecray" >/dev/null 2>&1; then |
$EGREP "webecray" >/dev/null 2>&1; then |
|
rm -rf conftest* |
|
3791 |
ac_cv_os_cray=yes |
ac_cv_os_cray=yes |
3792 |
else |
else |
|
rm -rf conftest* |
|
3793 |
ac_cv_os_cray=no |
ac_cv_os_cray=no |
3794 |
fi |
fi |
3795 |
rm -f conftest* |
rm -f conftest* |
3796 |
|
|
3797 |
fi |
fi |
3798 |
|
echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5 |
3799 |
echo "$ac_t""$ac_cv_os_cray" 1>&6 |
echo "${ECHO_T}$ac_cv_os_cray" >&6 |
3800 |
if test $ac_cv_os_cray = yes; then |
if test $ac_cv_os_cray = yes; then |
3801 |
for ac_func in _getb67 GETB67 getb67; do |
for ac_func in _getb67 GETB67 getb67; do |
3802 |
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
3803 |
echo "configure:1439: checking for $ac_func" >&5 |
echo "$as_me:$LINENO: checking for $ac_func" >&5 |
3804 |
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
3805 |
echo $ac_n "(cached) $ac_c" 1>&6 |
if eval "test \"\${$as_ac_var+set}\" = set"; then |
3806 |
else |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3807 |
cat > conftest.$ac_ext <<EOF |
else |
3808 |
#line 1444 "configure" |
cat >conftest.$ac_ext <<_ACEOF |
3809 |
#include "confdefs.h" |
/* confdefs.h. */ |
3810 |
|
_ACEOF |
3811 |
|
cat confdefs.h >>conftest.$ac_ext |
3812 |
|
cat >>conftest.$ac_ext <<_ACEOF |
3813 |
|
/* end confdefs.h. */ |
3814 |
|
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
3815 |
|
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
3816 |
|
#define $ac_func innocuous_$ac_func |
3817 |
|
|
3818 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
3819 |
which can conflict with char $ac_func(); below. */ |
which can conflict with char $ac_func (); below. |
3820 |
#include <assert.h> |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
3821 |
/* Override any gcc2 internal prototype to avoid an error. */ |
<limits.h> exists even on freestanding compilers. */ |
3822 |
/* We use char because int might match the return type of a gcc2 |
|
3823 |
builtin and then its argument prototype would still apply. */ |
#ifdef __STDC__ |
3824 |
char $ac_func(); |
# include <limits.h> |
3825 |
|
#else |
3826 |
|
# include <assert.h> |
3827 |
|
#endif |
3828 |
|
|
3829 |
int main() { |
#undef $ac_func |
3830 |
|
|
3831 |
|
/* Override any gcc2 internal prototype to avoid an error. */ |
3832 |
|
#ifdef __cplusplus |
3833 |
|
extern "C" |
3834 |
|
{ |
3835 |
|
#endif |
3836 |
|
/* We use char because int might match the return type of a gcc2 |
3837 |
|
builtin and then its argument prototype would still apply. */ |
3838 |
|
char $ac_func (); |
3839 |
/* The GNU C library defines this for functions which it implements |
/* The GNU C library defines this for functions which it implements |
3840 |
to always fail with ENOSYS. Some functions are actually named |
to always fail with ENOSYS. Some functions are actually named |
3841 |
something starting with __ and the normal name is an alias. */ |
something starting with __ and the normal name is an alias. */ |
3842 |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
3843 |
choke me |
choke me |
3844 |
#else |
#else |
3845 |
$ac_func(); |
char (*f) () = $ac_func; |
3846 |
|
#endif |
3847 |
|
#ifdef __cplusplus |
3848 |
|
} |
3849 |
#endif |
#endif |
3850 |
|
|
3851 |
; return 0; } |
int |
3852 |
EOF |
main () |
3853 |
if { (eval echo configure:1467: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
{ |
3854 |
rm -rf conftest* |
return f != $ac_func; |
3855 |
eval "ac_cv_func_$ac_func=yes" |
; |
3856 |
else |
return 0; |
3857 |
echo "configure: failed program was:" >&5 |
} |
3858 |
cat conftest.$ac_ext >&5 |
_ACEOF |
3859 |
rm -rf conftest* |
rm -f conftest.$ac_objext conftest$ac_exeext |
3860 |
eval "ac_cv_func_$ac_func=no" |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
3861 |
fi |
(eval $ac_link) 2>conftest.er1 |
3862 |
rm -f conftest* |
ac_status=$? |
3863 |
fi |
grep -v '^ *+' conftest.er1 >conftest.err |
3864 |
|
rm -f conftest.er1 |
3865 |
|
cat conftest.err >&5 |
3866 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3867 |
|
(exit $ac_status); } && |
3868 |
|
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
3869 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3870 |
|
(eval $ac_try) 2>&5 |
3871 |
|
ac_status=$? |
3872 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3873 |
|
(exit $ac_status); }; } && |
3874 |
|
{ ac_try='test -s conftest$ac_exeext' |
3875 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3876 |
|
(eval $ac_try) 2>&5 |
3877 |
|
ac_status=$? |
3878 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3879 |
|
(exit $ac_status); }; }; then |
3880 |
|
eval "$as_ac_var=yes" |
3881 |
|
else |
3882 |
|
echo "$as_me: failed program was:" >&5 |
3883 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
3884 |
|
|
3885 |
|
eval "$as_ac_var=no" |
3886 |
|
fi |
3887 |
|
rm -f conftest.err conftest.$ac_objext \ |
3888 |
|
conftest$ac_exeext conftest.$ac_ext |
3889 |
|
fi |
3890 |
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
3891 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
3892 |
|
if test `eval echo '${'$as_ac_var'}'` = yes; then |
3893 |
|
|
3894 |
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 |
|
3895 |
#define CRAY_STACKSEG_END $ac_func |
#define CRAY_STACKSEG_END $ac_func |
3896 |
EOF |
_ACEOF |
3897 |
|
|
3898 |
break |
break |
|
else |
|
|
echo "$ac_t""no" 1>&6 |
|
3899 |
fi |
fi |
3900 |
|
|
3901 |
done |
done |
3902 |
fi |
fi |
3903 |
|
|
3904 |
echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking stack direction for C alloca" >&5 |
3905 |
echo "configure:1494: checking stack direction for C alloca" >&5 |
echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6 |
3906 |
if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then |
if test "${ac_cv_c_stack_direction+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 "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
3910 |
ac_cv_c_stack_direction=0 |
ac_cv_c_stack_direction=0 |
3911 |
else |
else |
3912 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
3913 |
#line 1502 "configure" |
/* confdefs.h. */ |
3914 |
#include "confdefs.h" |
_ACEOF |
3915 |
|
cat confdefs.h >>conftest.$ac_ext |
3916 |
|
cat >>conftest.$ac_ext <<_ACEOF |
3917 |
|
/* end confdefs.h. */ |
3918 |
|
int |
3919 |
find_stack_direction () |
find_stack_direction () |
3920 |
{ |
{ |
3921 |
static char *addr = 0; |
static char *addr = 0; |
3928 |
else |
else |
3929 |
return (&dummy > addr) ? 1 : -1; |
return (&dummy > addr) ? 1 : -1; |
3930 |
} |
} |
3931 |
|
|
3932 |
|
int |
3933 |
main () |
main () |
3934 |
{ |
{ |
3935 |
exit (find_stack_direction() < 0); |
exit (find_stack_direction () < 0); |
3936 |
} |
} |
3937 |
EOF |
_ACEOF |
3938 |
if { (eval echo configure:1521: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
rm -f conftest$ac_exeext |
3939 |
then |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
3940 |
|
(eval $ac_link) 2>&5 |
3941 |
|
ac_status=$? |
3942 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3943 |
|
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
3944 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3945 |
|
(eval $ac_try) 2>&5 |
3946 |
|
ac_status=$? |
3947 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3948 |
|
(exit $ac_status); }; }; then |
3949 |
ac_cv_c_stack_direction=1 |
ac_cv_c_stack_direction=1 |
3950 |
else |
else |
3951 |
echo "configure: failed program was:" >&5 |
echo "$as_me: program exited with status $ac_status" >&5 |
3952 |
cat conftest.$ac_ext >&5 |
echo "$as_me: failed program was:" >&5 |
3953 |
rm -fr conftest* |
sed 's/^/| /' conftest.$ac_ext >&5 |
3954 |
ac_cv_c_stack_direction=-1 |
|
3955 |
|
( exit $ac_status ) |
3956 |
|
ac_cv_c_stack_direction=-1 |
3957 |
fi |
fi |
3958 |
rm -fr conftest* |
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
3959 |
fi |
fi |
|
|
|
3960 |
fi |
fi |
3961 |
|
echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5 |
3962 |
|
echo "${ECHO_T}$ac_cv_c_stack_direction" >&6 |
3963 |
|
|
3964 |
echo "$ac_t""$ac_cv_c_stack_direction" 1>&6 |
cat >>confdefs.h <<_ACEOF |
|
cat >> confdefs.h <<EOF |
|
3965 |
#define STACK_DIRECTION $ac_cv_c_stack_direction |
#define STACK_DIRECTION $ac_cv_c_stack_direction |
3966 |
EOF |
_ACEOF |
3967 |
|
|
3968 |
|
|
3969 |
fi |
fi |
3970 |
|
|
3971 |
# Some Solaris C compilers have const problems without a special ANSI option |
# Some Solaris C compilers have const problems without a special ANSI option |
3972 |
echo $ac_n "checking for really working const""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for really working const" >&5 |
3973 |
echo "configure:1544: checking for really working const" >&5 |
echo $ECHO_N "checking for really working const... $ECHO_C" >&6 |
3974 |
if eval "test \"`echo '$''{'gnats_really_working_const'+set}'`\" = set"; then |
if test "${gnats_really_working_const+set}" = set; then |
3975 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3976 |
else |
else |
|
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
#line 1550 "configure" |
|
|
#include "confdefs.h" |
|
3977 |
|
|
3978 |
int main() { |
cat >conftest.$ac_ext <<_ACEOF |
3979 |
|
/* confdefs.h. */ |
3980 |
|
_ACEOF |
3981 |
|
cat confdefs.h >>conftest.$ac_ext |
3982 |
|
cat >>conftest.$ac_ext <<_ACEOF |
3983 |
|
/* end confdefs.h. */ |
3984 |
|
|
3985 |
|
int |
3986 |
|
main () |
3987 |
|
{ |
3988 |
const char *foo(const char *x) { return x; } |
const char *foo(const char *x) { return x; } |
3989 |
int bar(const char *x) { return x == foo(x); } |
int bar(const char *x) { return x == foo(x); } |
3990 |
; return 0; } |
; |
3991 |
EOF |
return 0; |
3992 |
if { (eval echo configure:1558: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
} |
3993 |
rm -rf conftest* |
_ACEOF |
3994 |
|
rm -f conftest.$ac_objext |
3995 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3996 |
|
(eval $ac_compile) 2>conftest.er1 |
3997 |
|
ac_status=$? |
3998 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
3999 |
|
rm -f conftest.er1 |
4000 |
|
cat conftest.err >&5 |
4001 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4002 |
|
(exit $ac_status); } && |
4003 |
|
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
4004 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4005 |
|
(eval $ac_try) 2>&5 |
4006 |
|
ac_status=$? |
4007 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4008 |
|
(exit $ac_status); }; } && |
4009 |
|
{ ac_try='test -s conftest.$ac_objext' |
4010 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4011 |
|
(eval $ac_try) 2>&5 |
4012 |
|
ac_status=$? |
4013 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4014 |
|
(exit $ac_status); }; }; then |
4015 |
gnats_really_working_const=yes |
gnats_really_working_const=yes |
4016 |
else |
else |
4017 |
echo "configure: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
4018 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
4019 |
rm -rf conftest* |
|
4020 |
gnats_really_working_const=no |
gnats_really_working_const=no |
4021 |
fi |
fi |
4022 |
rm -f conftest* |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
4023 |
if test "$gnats_really_working_const" = no; then |
if test "$gnats_really_working_const" = no; then |
4024 |
CFLAGS="$CFLAGS -Dconst= " |
CFLAGS="$CFLAGS -Dconst= " |
4025 |
fi |
fi |
4026 |
fi |
fi |
4027 |
|
echo "$as_me:$LINENO: result: $gnats_really_working_const" >&5 |
4028 |
echo "$ac_t""$gnats_really_working_const" 1>&6 |
echo "${ECHO_T}$gnats_really_working_const" >&6 |
4029 |
# Needed on SCO for something or other. |
# Needed on SCO for something or other. |
4030 |
echo $ac_n "checking for main in -lintl""... $ac_c" 1>&6 |
|
4031 |
echo "configure:1576: checking for main in -lintl" >&5 |
echo "$as_me:$LINENO: checking for main in -lintl" >&5 |
4032 |
ac_lib_var=`echo intl'_'main | sed 'y%./+-%__p_%'` |
echo $ECHO_N "checking for main in -lintl... $ECHO_C" >&6 |
4033 |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
if test "${ac_cv_lib_intl_main+set}" = set; then |
4034 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4035 |
else |
else |
4036 |
ac_save_LIBS="$LIBS" |
ac_check_lib_save_LIBS=$LIBS |
4037 |
LIBS="-lintl $LIBS" |
LIBS="-lintl $LIBS" |
4038 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
4039 |
#line 1584 "configure" |
/* confdefs.h. */ |
4040 |
#include "confdefs.h" |
_ACEOF |
4041 |
|
cat confdefs.h >>conftest.$ac_ext |
4042 |
int main() { |
cat >>conftest.$ac_ext <<_ACEOF |
4043 |
main() |
/* end confdefs.h. */ |
|
; return 0; } |
|
|
EOF |
|
|
if { (eval echo configure:1591: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|
|
rm -rf conftest* |
|
|
eval "ac_cv_lib_$ac_lib_var=yes" |
|
|
else |
|
|
echo "configure: failed program was:" >&5 |
|
|
cat conftest.$ac_ext >&5 |
|
|
rm -rf conftest* |
|
|
eval "ac_cv_lib_$ac_lib_var=no" |
|
|
fi |
|
|
rm -f conftest* |
|
|
LIBS="$ac_save_LIBS" |
|
4044 |
|
|
4045 |
fi |
|
4046 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
int |
4047 |
echo "$ac_t""yes" 1>&6 |
main () |
4048 |
ac_tr_lib=HAVE_LIB`echo intl | sed -e 's/[^a-zA-Z0-9_]/_/g' \ |
{ |
4049 |
-e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` |
main (); |
4050 |
cat >> confdefs.h <<EOF |
; |
4051 |
#define $ac_tr_lib 1 |
return 0; |
4052 |
EOF |
} |
4053 |
|
_ACEOF |
4054 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
4055 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
4056 |
|
(eval $ac_link) 2>conftest.er1 |
4057 |
|
ac_status=$? |
4058 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
4059 |
|
rm -f conftest.er1 |
4060 |
|
cat conftest.err >&5 |
4061 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4062 |
|
(exit $ac_status); } && |
4063 |
|
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
4064 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4065 |
|
(eval $ac_try) 2>&5 |
4066 |
|
ac_status=$? |
4067 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4068 |
|
(exit $ac_status); }; } && |
4069 |
|
{ ac_try='test -s conftest$ac_exeext' |
4070 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4071 |
|
(eval $ac_try) 2>&5 |
4072 |
|
ac_status=$? |
4073 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4074 |
|
(exit $ac_status); }; }; then |
4075 |
|
ac_cv_lib_intl_main=yes |
4076 |
|
else |
4077 |
|
echo "$as_me: failed program was:" >&5 |
4078 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
4079 |
|
|
4080 |
|
ac_cv_lib_intl_main=no |
4081 |
|
fi |
4082 |
|
rm -f conftest.err conftest.$ac_objext \ |
4083 |
|
conftest$ac_exeext conftest.$ac_ext |
4084 |
|
LIBS=$ac_check_lib_save_LIBS |
4085 |
|
fi |
4086 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_intl_main" >&5 |
4087 |
|
echo "${ECHO_T}$ac_cv_lib_intl_main" >&6 |
4088 |
|
if test $ac_cv_lib_intl_main = yes; then |
4089 |
|
cat >>confdefs.h <<_ACEOF |
4090 |
|
#define HAVE_LIBINTL 1 |
4091 |
|
_ACEOF |
4092 |
|
|
4093 |
LIBS="-lintl $LIBS" |
LIBS="-lintl $LIBS" |
4094 |
|
|
|
else |
|
|
echo "$ac_t""no" 1>&6 |
|
4095 |
fi |
fi |
4096 |
|
|
4097 |
# If we can't find connect, try looking in -lsocket and -lnsl. The |
# If we can't find connect, try looking in -lsocket and -lnsl. The |
4099 |
# libsocket.so which has a bad implementation of gethostbyname (it |
# libsocket.so which has a bad implementation of gethostbyname (it |
4100 |
# only looks in /etc/hosts), so we only look for -lsocket if we need |
# only looks in /etc/hosts), so we only look for -lsocket if we need |
4101 |
# it. |
# it. |
4102 |
echo $ac_n "checking for connect""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for connect" >&5 |
4103 |
echo "configure:1624: checking for connect" >&5 |
echo $ECHO_N "checking for connect... $ECHO_C" >&6 |
4104 |
if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then |
if test "${ac_cv_func_connect+set}" = set; then |
4105 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4106 |
else |
else |
4107 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
4108 |
#line 1629 "configure" |
/* confdefs.h. */ |
4109 |
#include "confdefs.h" |
_ACEOF |
4110 |
|
cat confdefs.h >>conftest.$ac_ext |
4111 |
|
cat >>conftest.$ac_ext <<_ACEOF |
4112 |
|
/* end confdefs.h. */ |
4113 |
|
/* Define connect to an innocuous variant, in case <limits.h> declares connect. |
4114 |
|
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
4115 |
|
#define connect innocuous_connect |
4116 |
|
|
4117 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
4118 |
which can conflict with char connect(); below. */ |
which can conflict with char connect (); below. |
4119 |
#include <assert.h> |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
4120 |
/* 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 connect(); |
|
4121 |
|
|
4122 |
int main() { |
#ifdef __STDC__ |
4123 |
|
# include <limits.h> |
4124 |
|
#else |
4125 |
|
# include <assert.h> |
4126 |
|
#endif |
4127 |
|
|
4128 |
|
#undef connect |
4129 |
|
|
4130 |
|
/* Override any gcc2 internal prototype to avoid an error. */ |
4131 |
|
#ifdef __cplusplus |
4132 |
|
extern "C" |
4133 |
|
{ |
4134 |
|
#endif |
4135 |
|
/* We use char because int might match the return type of a gcc2 |
4136 |
|
builtin and then its argument prototype would still apply. */ |
4137 |
|
char connect (); |
4138 |
/* The GNU C library defines this for functions which it implements |
/* The GNU C library defines this for functions which it implements |
4139 |
to always fail with ENOSYS. Some functions are actually named |
to always fail with ENOSYS. Some functions are actually named |
4140 |
something starting with __ and the normal name is an alias. */ |
something starting with __ and the normal name is an alias. */ |
4141 |
#if defined (__stub_connect) || defined (__stub___connect) |
#if defined (__stub_connect) || defined (__stub___connect) |
4142 |
choke me |
choke me |
4143 |
#else |
#else |
4144 |
connect(); |
char (*f) () = connect; |
4145 |
|
#endif |
4146 |
|
#ifdef __cplusplus |
4147 |
|
} |
4148 |
#endif |
#endif |
4149 |
|
|
4150 |
; return 0; } |
int |
4151 |
EOF |
main () |
4152 |
if { (eval echo configure:1652: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
{ |
4153 |
rm -rf conftest* |
return f != connect; |
4154 |
eval "ac_cv_func_connect=yes" |
; |
4155 |
else |
return 0; |
4156 |
echo "configure: failed program was:" >&5 |
} |
4157 |
cat conftest.$ac_ext >&5 |
_ACEOF |
4158 |
rm -rf conftest* |
rm -f conftest.$ac_objext conftest$ac_exeext |
4159 |
eval "ac_cv_func_connect=no" |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
4160 |
fi |
(eval $ac_link) 2>conftest.er1 |
4161 |
rm -f conftest* |
ac_status=$? |
4162 |
fi |
grep -v '^ *+' conftest.er1 >conftest.err |
4163 |
|
rm -f conftest.er1 |
4164 |
if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then |
cat conftest.err >&5 |
4165 |
echo "$ac_t""yes" 1>&6 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4166 |
|
(exit $ac_status); } && |
4167 |
|
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
4168 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4169 |
|
(eval $ac_try) 2>&5 |
4170 |
|
ac_status=$? |
4171 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4172 |
|
(exit $ac_status); }; } && |
4173 |
|
{ ac_try='test -s conftest$ac_exeext' |
4174 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4175 |
|
(eval $ac_try) 2>&5 |
4176 |
|
ac_status=$? |
4177 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4178 |
|
(exit $ac_status); }; }; then |
4179 |
|
ac_cv_func_connect=yes |
4180 |
|
else |
4181 |
|
echo "$as_me: failed program was:" >&5 |
4182 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
4183 |
|
|
4184 |
|
ac_cv_func_connect=no |
4185 |
|
fi |
4186 |
|
rm -f conftest.err conftest.$ac_objext \ |
4187 |
|
conftest$ac_exeext conftest.$ac_ext |
4188 |
|
fi |
4189 |
|
echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5 |
4190 |
|
echo "${ECHO_T}$ac_cv_func_connect" >&6 |
4191 |
|
if test $ac_cv_func_connect = yes; then |
4192 |
: |
: |
4193 |
else |
else |
|
echo "$ac_t""no" 1>&6 |
|
4194 |
|
|
4195 |
# Needed on SCO for syslog. |
# Needed on SCO for syslog. |
4196 |
echo $ac_n "checking for main in -lsocket""... $ac_c" 1>&6 |
|
4197 |
echo "configure:1672: checking for main in -lsocket" >&5 |
echo "$as_me:$LINENO: checking for main in -lsocket" >&5 |
4198 |
ac_lib_var=`echo socket'_'main | sed 'y%./+-%__p_%'` |
echo $ECHO_N "checking for main in -lsocket... $ECHO_C" >&6 |
4199 |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
if test "${ac_cv_lib_socket_main+set}" = set; then |
4200 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4201 |
else |
else |
4202 |
ac_save_LIBS="$LIBS" |
ac_check_lib_save_LIBS=$LIBS |
4203 |
LIBS="-lsocket $LIBS" |
LIBS="-lsocket $LIBS" |
4204 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
4205 |
#line 1680 "configure" |
/* confdefs.h. */ |
4206 |
#include "confdefs.h" |
_ACEOF |
4207 |
|
cat confdefs.h >>conftest.$ac_ext |
4208 |
int main() { |
cat >>conftest.$ac_ext <<_ACEOF |
4209 |
main() |
/* end confdefs.h. */ |
|
; return 0; } |
|
|
EOF |
|
|
if { (eval echo configure:1687: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|
|
rm -rf conftest* |
|
|
eval "ac_cv_lib_$ac_lib_var=yes" |
|
|
else |
|
|
echo "configure: failed program was:" >&5 |
|
|
cat conftest.$ac_ext >&5 |
|
|
rm -rf conftest* |
|
|
eval "ac_cv_lib_$ac_lib_var=no" |
|
|
fi |
|
|
rm -f conftest* |
|
|
LIBS="$ac_save_LIBS" |
|
4210 |
|
|
4211 |
fi |
|
4212 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
int |
4213 |
echo "$ac_t""yes" 1>&6 |
main () |
4214 |
ac_tr_lib=HAVE_LIB`echo socket | sed -e 's/[^a-zA-Z0-9_]/_/g' \ |
{ |
4215 |
-e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` |
main (); |
4216 |
cat >> confdefs.h <<EOF |
; |
4217 |
#define $ac_tr_lib 1 |
return 0; |
4218 |
EOF |
} |
4219 |
|
_ACEOF |
4220 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
4221 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
4222 |
|
(eval $ac_link) 2>conftest.er1 |
4223 |
|
ac_status=$? |
4224 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
4225 |
|
rm -f conftest.er1 |
4226 |
|
cat conftest.err >&5 |
4227 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4228 |
|
(exit $ac_status); } && |
4229 |
|
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
4230 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4231 |
|
(eval $ac_try) 2>&5 |
4232 |
|
ac_status=$? |
4233 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4234 |
|
(exit $ac_status); }; } && |
4235 |
|
{ ac_try='test -s conftest$ac_exeext' |
4236 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4237 |
|
(eval $ac_try) 2>&5 |
4238 |
|
ac_status=$? |
4239 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4240 |
|
(exit $ac_status); }; }; then |
4241 |
|
ac_cv_lib_socket_main=yes |
4242 |
|
else |
4243 |
|
echo "$as_me: failed program was:" >&5 |
4244 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
4245 |
|
|
4246 |
|
ac_cv_lib_socket_main=no |
4247 |
|
fi |
4248 |
|
rm -f conftest.err conftest.$ac_objext \ |
4249 |
|
conftest$ac_exeext conftest.$ac_ext |
4250 |
|
LIBS=$ac_check_lib_save_LIBS |
4251 |
|
fi |
4252 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_socket_main" >&5 |
4253 |
|
echo "${ECHO_T}$ac_cv_lib_socket_main" >&6 |
4254 |
|
if test $ac_cv_lib_socket_main = yes; then |
4255 |
|
cat >>confdefs.h <<_ACEOF |
4256 |
|
#define HAVE_LIBSOCKET 1 |
4257 |
|
_ACEOF |
4258 |
|
|
4259 |
LIBS="-lsocket $LIBS" |
LIBS="-lsocket $LIBS" |
4260 |
|
|
|
else |
|
|
echo "$ac_t""no" 1>&6 |
|
4261 |
fi |
fi |
4262 |
|
|
4263 |
# Needed under Solaris in addition to -lsocket for the network. |
# Needed under Solaris in addition to -lsocket for the network. |
4264 |
echo $ac_n "checking for main in -lnsl""... $ac_c" 1>&6 |
|
4265 |
echo "configure:1716: checking for main in -lnsl" >&5 |
echo "$as_me:$LINENO: checking for main in -lnsl" >&5 |
4266 |
ac_lib_var=`echo nsl'_'main | sed 'y%./+-%__p_%'` |
echo $ECHO_N "checking for main in -lnsl... $ECHO_C" >&6 |
4267 |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
if test "${ac_cv_lib_nsl_main+set}" = set; then |
4268 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4269 |
else |
else |
4270 |
ac_save_LIBS="$LIBS" |
ac_check_lib_save_LIBS=$LIBS |
4271 |
LIBS="-lnsl $LIBS" |
LIBS="-lnsl $LIBS" |
4272 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
4273 |
#line 1724 "configure" |
/* confdefs.h. */ |
4274 |
#include "confdefs.h" |
_ACEOF |
4275 |
|
cat confdefs.h >>conftest.$ac_ext |
4276 |
int main() { |
cat >>conftest.$ac_ext <<_ACEOF |
4277 |
main() |
/* end confdefs.h. */ |
|
; return 0; } |
|
|
EOF |
|
|
if { (eval echo configure:1731: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|
|
rm -rf conftest* |
|
|
eval "ac_cv_lib_$ac_lib_var=yes" |
|
|
else |
|
|
echo "configure: failed program was:" >&5 |
|
|
cat conftest.$ac_ext >&5 |
|
|
rm -rf conftest* |
|
|
eval "ac_cv_lib_$ac_lib_var=no" |
|
|
fi |
|
|
rm -f conftest* |
|
|
LIBS="$ac_save_LIBS" |
|
4278 |
|
|
4279 |
fi |
|
4280 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
int |
4281 |
echo "$ac_t""yes" 1>&6 |
main () |
4282 |
ac_tr_lib=HAVE_LIB`echo nsl | sed -e 's/[^a-zA-Z0-9_]/_/g' \ |
{ |
4283 |
-e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` |
main (); |
4284 |
cat >> confdefs.h <<EOF |
; |
4285 |
#define $ac_tr_lib 1 |
return 0; |
4286 |
EOF |
} |
4287 |
|
_ACEOF |
4288 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
4289 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
4290 |
|
(eval $ac_link) 2>conftest.er1 |
4291 |
|
ac_status=$? |
4292 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
4293 |
|
rm -f conftest.er1 |
4294 |
|
cat conftest.err >&5 |
4295 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4296 |
|
(exit $ac_status); } && |
4297 |
|
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
4298 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4299 |
|
(eval $ac_try) 2>&5 |
4300 |
|
ac_status=$? |
4301 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4302 |
|
(exit $ac_status); }; } && |
4303 |
|
{ ac_try='test -s conftest$ac_exeext' |
4304 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4305 |
|
(eval $ac_try) 2>&5 |
4306 |
|
ac_status=$? |
4307 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4308 |
|
(exit $ac_status); }; }; then |
4309 |
|
ac_cv_lib_nsl_main=yes |
4310 |
|
else |
4311 |
|
echo "$as_me: failed program was:" >&5 |
4312 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
4313 |
|
|
4314 |
|
ac_cv_lib_nsl_main=no |
4315 |
|
fi |
4316 |
|
rm -f conftest.err conftest.$ac_objext \ |
4317 |
|
conftest$ac_exeext conftest.$ac_ext |
4318 |
|
LIBS=$ac_check_lib_save_LIBS |
4319 |
|
fi |
4320 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_main" >&5 |
4321 |
|
echo "${ECHO_T}$ac_cv_lib_nsl_main" >&6 |
4322 |
|
if test $ac_cv_lib_nsl_main = yes; then |
4323 |
|
cat >>confdefs.h <<_ACEOF |
4324 |
|
#define HAVE_LIBNSL 1 |
4325 |
|
_ACEOF |
4326 |
|
|
4327 |
LIBS="-lnsl $LIBS" |
LIBS="-lnsl $LIBS" |
4328 |
|
|
|
else |
|
|
echo "$ac_t""no" 1>&6 |
|
4329 |
fi |
fi |
4330 |
|
|
4331 |
|
|
4332 |
fi |
fi |
4333 |
|
|
4334 |
# Needed on ISC for syslog. |
# Needed on ISC for syslog. |
4335 |
echo $ac_n "checking for main in -linet""... $ac_c" 1>&6 |
|
4336 |
echo "configure:1763: checking for main in -linet" >&5 |
echo "$as_me:$LINENO: checking for main in -linet" >&5 |
4337 |
ac_lib_var=`echo inet'_'main | sed 'y%./+-%__p_%'` |
echo $ECHO_N "checking for main in -linet... $ECHO_C" >&6 |
4338 |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
if test "${ac_cv_lib_inet_main+set}" = set; then |
4339 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4340 |
else |
else |
4341 |
ac_save_LIBS="$LIBS" |
ac_check_lib_save_LIBS=$LIBS |
4342 |
LIBS="-linet $LIBS" |
LIBS="-linet $LIBS" |
4343 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
4344 |
#line 1771 "configure" |
/* confdefs.h. */ |
4345 |
#include "confdefs.h" |
_ACEOF |
4346 |
|
cat confdefs.h >>conftest.$ac_ext |
4347 |
int main() { |
cat >>conftest.$ac_ext <<_ACEOF |
4348 |
main() |
/* end confdefs.h. */ |
|
; return 0; } |
|
|
EOF |
|
|
if { (eval echo configure:1778: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|
|
rm -rf conftest* |
|
|
eval "ac_cv_lib_$ac_lib_var=yes" |
|
|
else |
|
|
echo "configure: failed program was:" >&5 |
|
|
cat conftest.$ac_ext >&5 |
|
|
rm -rf conftest* |
|
|
eval "ac_cv_lib_$ac_lib_var=no" |
|
|
fi |
|
|
rm -f conftest* |
|
|
LIBS="$ac_save_LIBS" |
|
4349 |
|
|
4350 |
fi |
|
4351 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
int |
4352 |
echo "$ac_t""yes" 1>&6 |
main () |
4353 |
ac_tr_lib=HAVE_LIB`echo inet | sed -e 's/[^a-zA-Z0-9_]/_/g' \ |
{ |
4354 |
-e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` |
main (); |
4355 |
cat >> confdefs.h <<EOF |
; |
4356 |
#define $ac_tr_lib 1 |
return 0; |
4357 |
EOF |
} |
4358 |
|
_ACEOF |
4359 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
4360 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
4361 |
|
(eval $ac_link) 2>conftest.er1 |
4362 |
|
ac_status=$? |
4363 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
4364 |
|
rm -f conftest.er1 |
4365 |
|
cat conftest.err >&5 |
4366 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4367 |
|
(exit $ac_status); } && |
4368 |
|
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
4369 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4370 |
|
(eval $ac_try) 2>&5 |
4371 |
|
ac_status=$? |
4372 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4373 |
|
(exit $ac_status); }; } && |
4374 |
|
{ ac_try='test -s conftest$ac_exeext' |
4375 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4376 |
|
(eval $ac_try) 2>&5 |
4377 |
|
ac_status=$? |
4378 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4379 |
|
(exit $ac_status); }; }; then |
4380 |
|
ac_cv_lib_inet_main=yes |
4381 |
|
else |
4382 |
|
echo "$as_me: failed program was:" >&5 |
4383 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
4384 |
|
|
4385 |
|
ac_cv_lib_inet_main=no |
4386 |
|
fi |
4387 |
|
rm -f conftest.err conftest.$ac_objext \ |
4388 |
|
conftest$ac_exeext conftest.$ac_ext |
4389 |
|
LIBS=$ac_check_lib_save_LIBS |
4390 |
|
fi |
4391 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_inet_main" >&5 |
4392 |
|
echo "${ECHO_T}$ac_cv_lib_inet_main" >&6 |
4393 |
|
if test $ac_cv_lib_inet_main = yes; then |
4394 |
|
cat >>confdefs.h <<_ACEOF |
4395 |
|
#define HAVE_LIBINET 1 |
4396 |
|
_ACEOF |
4397 |
|
|
4398 |
LIBS="-linet $LIBS" |
LIBS="-linet $LIBS" |
4399 |
|
|
|
else |
|
|
echo "$ac_t""no" 1>&6 |
|
4400 |
fi |
fi |
4401 |
|
|
4402 |
# Needed under IRIX for a usable malloc. |
# Needed under IRIX for a usable malloc. |
4403 |
echo $ac_n "checking for main in -lmalloc""... $ac_c" 1>&6 |
|
4404 |
echo "configure:1807: checking for main in -lmalloc" >&5 |
echo "$as_me:$LINENO: checking for main in -lmalloc" >&5 |
4405 |
ac_lib_var=`echo malloc'_'main | sed 'y%./+-%__p_%'` |
echo $ECHO_N "checking for main in -lmalloc... $ECHO_C" >&6 |
4406 |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
if test "${ac_cv_lib_malloc_main+set}" = set; then |
4407 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4408 |
else |
else |
4409 |
ac_save_LIBS="$LIBS" |
ac_check_lib_save_LIBS=$LIBS |
4410 |
LIBS="-lmalloc $LIBS" |
LIBS="-lmalloc $LIBS" |
4411 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
4412 |
#line 1815 "configure" |
/* confdefs.h. */ |
4413 |
#include "confdefs.h" |
_ACEOF |
4414 |
|
cat confdefs.h >>conftest.$ac_ext |
4415 |
int main() { |
cat >>conftest.$ac_ext <<_ACEOF |
4416 |
main() |
/* end confdefs.h. */ |
|
; return 0; } |
|
|
EOF |
|
|
if { (eval echo configure:1822: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|
|
rm -rf conftest* |
|
|
eval "ac_cv_lib_$ac_lib_var=yes" |
|
|
else |
|
|
echo "configure: failed program was:" >&5 |
|
|
cat conftest.$ac_ext >&5 |
|
|
rm -rf conftest* |
|
|
eval "ac_cv_lib_$ac_lib_var=no" |
|
|
fi |
|
|
rm -f conftest* |
|
|
LIBS="$ac_save_LIBS" |
|
4417 |
|
|
4418 |
fi |
|
4419 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
int |
4420 |
echo "$ac_t""yes" 1>&6 |
main () |
4421 |
ac_tr_lib=HAVE_LIB`echo malloc | sed -e 's/[^a-zA-Z0-9_]/_/g' \ |
{ |
4422 |
-e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` |
main (); |
4423 |
cat >> confdefs.h <<EOF |
; |
4424 |
#define $ac_tr_lib 1 |
return 0; |
4425 |
EOF |
} |
4426 |
|
_ACEOF |
4427 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
4428 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
4429 |
|
(eval $ac_link) 2>conftest.er1 |
4430 |
|
ac_status=$? |
4431 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
4432 |
|
rm -f conftest.er1 |
4433 |
|
cat conftest.err >&5 |
4434 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4435 |
|
(exit $ac_status); } && |
4436 |
|
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
4437 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4438 |
|
(eval $ac_try) 2>&5 |
4439 |
|
ac_status=$? |
4440 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4441 |
|
(exit $ac_status); }; } && |
4442 |
|
{ ac_try='test -s conftest$ac_exeext' |
4443 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4444 |
|
(eval $ac_try) 2>&5 |
4445 |
|
ac_status=$? |
4446 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4447 |
|
(exit $ac_status); }; }; then |
4448 |
|
ac_cv_lib_malloc_main=yes |
4449 |
|
else |
4450 |
|
echo "$as_me: failed program was:" >&5 |
4451 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
4452 |
|
|
4453 |
|
ac_cv_lib_malloc_main=no |
4454 |
|
fi |
4455 |
|
rm -f conftest.err conftest.$ac_objext \ |
4456 |
|
conftest$ac_exeext conftest.$ac_ext |
4457 |
|
LIBS=$ac_check_lib_save_LIBS |
4458 |
|
fi |
4459 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_malloc_main" >&5 |
4460 |
|
echo "${ECHO_T}$ac_cv_lib_malloc_main" >&6 |
4461 |
|
if test $ac_cv_lib_malloc_main = yes; then |
4462 |
|
cat >>confdefs.h <<_ACEOF |
4463 |
|
#define HAVE_LIBMALLOC 1 |
4464 |
|
_ACEOF |
4465 |
|
|
4466 |
LIBS="-lmalloc $LIBS" |
LIBS="-lmalloc $LIBS" |
4467 |
|
|
|
else |
|
|
echo "$ac_t""no" 1>&6 |
|
4468 |
fi |
fi |
4469 |
|
|
4470 |
# Needed under Unixware 2.0 for syslog. |
# Needed under Unixware 2.0 for syslog. |
4471 |
echo $ac_n "checking for main in -lgen""... $ac_c" 1>&6 |
|
4472 |
echo "configure:1851: checking for main in -lgen" >&5 |
echo "$as_me:$LINENO: checking for main in -lgen" >&5 |
4473 |
ac_lib_var=`echo gen'_'main | sed 'y%./+-%__p_%'` |
echo $ECHO_N "checking for main in -lgen... $ECHO_C" >&6 |
4474 |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
if test "${ac_cv_lib_gen_main+set}" = set; then |
4475 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4476 |
else |
else |
4477 |
ac_save_LIBS="$LIBS" |
ac_check_lib_save_LIBS=$LIBS |
4478 |
LIBS="-lgen $LIBS" |
LIBS="-lgen $LIBS" |
4479 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
4480 |
#line 1859 "configure" |
/* confdefs.h. */ |
4481 |
#include "confdefs.h" |
_ACEOF |
4482 |
|
cat confdefs.h >>conftest.$ac_ext |
4483 |
int main() { |
cat >>conftest.$ac_ext <<_ACEOF |
4484 |
main() |
/* end confdefs.h. */ |
|
; return 0; } |
|
|
EOF |
|
|
if { (eval echo configure:1866: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|
|
rm -rf conftest* |
|
|
eval "ac_cv_lib_$ac_lib_var=yes" |
|
|
else |
|
|
echo "configure: failed program was:" >&5 |
|
|
cat conftest.$ac_ext >&5 |
|
|
rm -rf conftest* |
|
|
eval "ac_cv_lib_$ac_lib_var=no" |
|
|
fi |
|
|
rm -f conftest* |
|
|
LIBS="$ac_save_LIBS" |
|
4485 |
|
|
4486 |
fi |
|
4487 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
int |
4488 |
echo "$ac_t""yes" 1>&6 |
main () |
4489 |
ac_tr_lib=HAVE_LIB`echo gen | sed -e 's/[^a-zA-Z0-9_]/_/g' \ |
{ |
4490 |
-e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` |
main (); |
4491 |
cat >> confdefs.h <<EOF |
; |
4492 |
#define $ac_tr_lib 1 |
return 0; |
4493 |
EOF |
} |
4494 |
|
_ACEOF |
4495 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
4496 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
4497 |
|
(eval $ac_link) 2>conftest.er1 |
4498 |
|
ac_status=$? |
4499 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
4500 |
|
rm -f conftest.er1 |
4501 |
|
cat conftest.err >&5 |
4502 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4503 |
|
(exit $ac_status); } && |
4504 |
|
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
4505 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4506 |
|
(eval $ac_try) 2>&5 |
4507 |
|
ac_status=$? |
4508 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4509 |
|
(exit $ac_status); }; } && |
4510 |
|
{ ac_try='test -s conftest$ac_exeext' |
4511 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4512 |
|
(eval $ac_try) 2>&5 |
4513 |
|
ac_status=$? |
4514 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4515 |
|
(exit $ac_status); }; }; then |
4516 |
|
ac_cv_lib_gen_main=yes |
4517 |
|
else |
4518 |
|
echo "$as_me: failed program was:" >&5 |
4519 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
4520 |
|
|
4521 |
|
ac_cv_lib_gen_main=no |
4522 |
|
fi |
4523 |
|
rm -f conftest.err conftest.$ac_objext \ |
4524 |
|
conftest$ac_exeext conftest.$ac_ext |
4525 |
|
LIBS=$ac_check_lib_save_LIBS |
4526 |
|
fi |
4527 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_gen_main" >&5 |
4528 |
|
echo "${ECHO_T}$ac_cv_lib_gen_main" >&6 |
4529 |
|
if test $ac_cv_lib_gen_main = yes; then |
4530 |
|
cat >>confdefs.h <<_ACEOF |
4531 |
|
#define HAVE_LIBGEN 1 |
4532 |
|
_ACEOF |
4533 |
|
|
4534 |
LIBS="-lgen $LIBS" |
LIBS="-lgen $LIBS" |
4535 |
|
|
|
else |
|
|
echo "$ac_t""no" 1>&6 |
|
4536 |
fi |
fi |
4537 |
|
|
4538 |
# Needed generally for encrypted passwords. |
# Needed generally for encrypted passwords. |
4539 |
echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 |
|
4540 |
echo "configure:1895: checking for crypt in -lcrypt" >&5 |
echo "$as_me:$LINENO: checking for crypt in -lcrypt" >&5 |
4541 |
ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` |
echo $ECHO_N "checking for crypt in -lcrypt... $ECHO_C" >&6 |
4542 |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
if test "${ac_cv_lib_crypt_crypt+set}" = set; then |
4543 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4544 |
else |
else |
4545 |
ac_save_LIBS="$LIBS" |
ac_check_lib_save_LIBS=$LIBS |
4546 |
LIBS="-lcrypt $LIBS" |
LIBS="-lcrypt $LIBS" |
4547 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
4548 |
#line 1903 "configure" |
/* confdefs.h. */ |
4549 |
#include "confdefs.h" |
_ACEOF |
4550 |
|
cat confdefs.h >>conftest.$ac_ext |
4551 |
|
cat >>conftest.$ac_ext <<_ACEOF |
4552 |
|
/* end confdefs.h. */ |
4553 |
|
|
4554 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
4555 |
|
#ifdef __cplusplus |
4556 |
|
extern "C" |
4557 |
|
#endif |
4558 |
/* 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 |
4559 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
4560 |
char crypt(); |
char crypt (); |
4561 |
|
int |
4562 |
int main() { |
main () |
4563 |
crypt() |
{ |
4564 |
; return 0; } |
crypt (); |
4565 |
EOF |
; |
4566 |
if { (eval echo configure:1914: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
return 0; |
4567 |
rm -rf conftest* |
} |
4568 |
eval "ac_cv_lib_$ac_lib_var=yes" |
_ACEOF |
4569 |
else |
rm -f conftest.$ac_objext conftest$ac_exeext |
4570 |
echo "configure: failed program was:" >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
4571 |
cat conftest.$ac_ext >&5 |
(eval $ac_link) 2>conftest.er1 |
4572 |
rm -rf conftest* |
ac_status=$? |
4573 |
eval "ac_cv_lib_$ac_lib_var=no" |
grep -v '^ *+' conftest.er1 >conftest.err |
4574 |
fi |
rm -f conftest.er1 |
4575 |
rm -f conftest* |
cat conftest.err >&5 |
4576 |
LIBS="$ac_save_LIBS" |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4577 |
|
(exit $ac_status); } && |
4578 |
fi |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
4579 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4580 |
echo "$ac_t""yes" 1>&6 |
(eval $ac_try) 2>&5 |
4581 |
ac_tr_lib=HAVE_LIB`echo crypt | sed -e 's/[^a-zA-Z0-9_]/_/g' \ |
ac_status=$? |
4582 |
-e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4583 |
cat >> confdefs.h <<EOF |
(exit $ac_status); }; } && |
4584 |
#define $ac_tr_lib 1 |
{ ac_try='test -s conftest$ac_exeext' |
4585 |
EOF |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4586 |
|
(eval $ac_try) 2>&5 |
4587 |
|
ac_status=$? |
4588 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4589 |
|
(exit $ac_status); }; }; then |
4590 |
|
ac_cv_lib_crypt_crypt=yes |
4591 |
|
else |
4592 |
|
echo "$as_me: failed program was:" >&5 |
4593 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
4594 |
|
|
4595 |
|
ac_cv_lib_crypt_crypt=no |
4596 |
|
fi |
4597 |
|
rm -f conftest.err conftest.$ac_objext \ |
4598 |
|
conftest$ac_exeext conftest.$ac_ext |
4599 |
|
LIBS=$ac_check_lib_save_LIBS |
4600 |
|
fi |
4601 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_crypt" >&5 |
4602 |
|
echo "${ECHO_T}$ac_cv_lib_crypt_crypt" >&6 |
4603 |
|
if test $ac_cv_lib_crypt_crypt = yes; then |
4604 |
|
cat >>confdefs.h <<_ACEOF |
4605 |
|
#define HAVE_LIBCRYPT 1 |
4606 |
|
_ACEOF |
4607 |
|
|
4608 |
LIBS="-lcrypt $LIBS" |
LIBS="-lcrypt $LIBS" |
4609 |
|
|
|
else |
|
|
echo "$ac_t""no" 1>&6 |
|
4610 |
fi |
fi |
4611 |
|
|
4612 |
|
|
4613 |
echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
4614 |
echo "configure:1943: checking for ANSI C header files" >&5 |
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 |
4615 |
if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then |
if test "${ac_cv_header_stdc+set}" = set; then |
4616 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4617 |
else |
else |
4618 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
4619 |
#line 1948 "configure" |
/* confdefs.h. */ |
4620 |
#include "confdefs.h" |
_ACEOF |
4621 |
|
cat confdefs.h >>conftest.$ac_ext |
4622 |
|
cat >>conftest.$ac_ext <<_ACEOF |
4623 |
|
/* end confdefs.h. */ |
4624 |
#include <stdlib.h> |
#include <stdlib.h> |
4625 |
#include <stdarg.h> |
#include <stdarg.h> |
4626 |
#include <string.h> |
#include <string.h> |
4627 |
#include <float.h> |
#include <float.h> |
4628 |
EOF |
|
4629 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
int |
4630 |
{ (eval echo configure:1956: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
main () |
4631 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
{ |
4632 |
if test -z "$ac_err"; then |
|
4633 |
rm -rf conftest* |
; |
4634 |
|
return 0; |
4635 |
|
} |
4636 |
|
_ACEOF |
4637 |
|
rm -f conftest.$ac_objext |
4638 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4639 |
|
(eval $ac_compile) 2>conftest.er1 |
4640 |
|
ac_status=$? |
4641 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
4642 |
|
rm -f conftest.er1 |
4643 |
|
cat conftest.err >&5 |
4644 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4645 |
|
(exit $ac_status); } && |
4646 |
|
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
4647 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4648 |
|
(eval $ac_try) 2>&5 |
4649 |
|
ac_status=$? |
4650 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4651 |
|
(exit $ac_status); }; } && |
4652 |
|
{ ac_try='test -s conftest.$ac_objext' |
4653 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4654 |
|
(eval $ac_try) 2>&5 |
4655 |
|
ac_status=$? |
4656 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4657 |
|
(exit $ac_status); }; }; then |
4658 |
ac_cv_header_stdc=yes |
ac_cv_header_stdc=yes |
4659 |
else |
else |
4660 |
echo "$ac_err" >&5 |
echo "$as_me: failed program was:" >&5 |
4661 |
echo "configure: failed program was:" >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
4662 |
cat conftest.$ac_ext >&5 |
|
4663 |
rm -rf conftest* |
ac_cv_header_stdc=no |
|
ac_cv_header_stdc=no |
|
4664 |
fi |
fi |
4665 |
rm -f conftest* |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
4666 |
|
|
4667 |
if test $ac_cv_header_stdc = yes; then |
if test $ac_cv_header_stdc = yes; then |
4668 |
# SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
# SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
4669 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
4670 |
#line 1973 "configure" |
/* confdefs.h. */ |
4671 |
#include "confdefs.h" |
_ACEOF |
4672 |
|
cat confdefs.h >>conftest.$ac_ext |
4673 |
|
cat >>conftest.$ac_ext <<_ACEOF |
4674 |
|
/* end confdefs.h. */ |
4675 |
#include <string.h> |
#include <string.h> |
4676 |
EOF |
|
4677 |
|
_ACEOF |
4678 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
4679 |
egrep "memchr" >/dev/null 2>&1; then |
$EGREP "memchr" >/dev/null 2>&1; then |
4680 |
: |
: |
4681 |
else |
else |
|
rm -rf conftest* |
|
4682 |
ac_cv_header_stdc=no |
ac_cv_header_stdc=no |
4683 |
fi |
fi |
4684 |
rm -f conftest* |
rm -f conftest* |
4687 |
|
|
4688 |
if test $ac_cv_header_stdc = yes; then |
if test $ac_cv_header_stdc = yes; then |
4689 |
# 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. |
4690 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
4691 |
#line 1991 "configure" |
/* confdefs.h. */ |
4692 |
#include "confdefs.h" |
_ACEOF |
4693 |
|
cat confdefs.h >>conftest.$ac_ext |
4694 |
|
cat >>conftest.$ac_ext <<_ACEOF |
4695 |
|
/* end confdefs.h. */ |
4696 |
#include <stdlib.h> |
#include <stdlib.h> |
4697 |
EOF |
|
4698 |
|
_ACEOF |
4699 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
4700 |
egrep "free" >/dev/null 2>&1; then |
$EGREP "free" >/dev/null 2>&1; then |
4701 |
: |
: |
4702 |
else |
else |
|
rm -rf conftest* |
|
4703 |
ac_cv_header_stdc=no |
ac_cv_header_stdc=no |
4704 |
fi |
fi |
4705 |
rm -f conftest* |
rm -f conftest* |
4708 |
|
|
4709 |
if test $ac_cv_header_stdc = yes; then |
if test $ac_cv_header_stdc = yes; then |
4710 |
# /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. |
4711 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
4712 |
: |
: |
4713 |
else |
else |
4714 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
4715 |
#line 2012 "configure" |
/* confdefs.h. */ |
4716 |
#include "confdefs.h" |
_ACEOF |
4717 |
|
cat confdefs.h >>conftest.$ac_ext |
4718 |
|
cat >>conftest.$ac_ext <<_ACEOF |
4719 |
|
/* end confdefs.h. */ |
4720 |
#include <ctype.h> |
#include <ctype.h> |
4721 |
#define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
#if ((' ' & 0x0FF) == 0x020) |
4722 |
#define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
4723 |
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
4724 |
int main () { int i; for (i = 0; i < 256; i++) |
#else |
4725 |
if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); |
# define ISLOWER(c) \ |
4726 |
exit (0); } |
(('a' <= (c) && (c) <= 'i') \ |
4727 |
|
|| ('j' <= (c) && (c) <= 'r') \ |
4728 |
|
|| ('s' <= (c) && (c) <= 'z')) |
4729 |
|
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
4730 |
|
#endif |
4731 |
|
|
4732 |
EOF |
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
4733 |
if { (eval echo configure:2023: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
int |
4734 |
then |
main () |
4735 |
|
{ |
4736 |
|
int i; |
4737 |
|
for (i = 0; i < 256; i++) |
4738 |
|
if (XOR (islower (i), ISLOWER (i)) |
4739 |
|
|| toupper (i) != TOUPPER (i)) |
4740 |
|
exit(2); |
4741 |
|
exit (0); |
4742 |
|
} |
4743 |
|
_ACEOF |
4744 |
|
rm -f conftest$ac_exeext |
4745 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
4746 |
|
(eval $ac_link) 2>&5 |
4747 |
|
ac_status=$? |
4748 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4749 |
|
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
4750 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4751 |
|
(eval $ac_try) 2>&5 |
4752 |
|
ac_status=$? |
4753 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4754 |
|
(exit $ac_status); }; }; then |
4755 |
: |
: |
4756 |
else |
else |
4757 |
echo "configure: failed program was:" >&5 |
echo "$as_me: program exited with status $ac_status" >&5 |
4758 |
cat conftest.$ac_ext >&5 |
echo "$as_me: failed program was:" >&5 |
4759 |
rm -fr conftest* |
sed 's/^/| /' conftest.$ac_ext >&5 |
4760 |
ac_cv_header_stdc=no |
|
4761 |
|
( exit $ac_status ) |
4762 |
|
ac_cv_header_stdc=no |
4763 |
fi |
fi |
4764 |
rm -fr conftest* |
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
4765 |
fi |
fi |
|
|
|
4766 |
fi |
fi |
4767 |
fi |
fi |
4768 |
|
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 |
4769 |
echo "$ac_t""$ac_cv_header_stdc" 1>&6 |
echo "${ECHO_T}$ac_cv_header_stdc" >&6 |
4770 |
if test $ac_cv_header_stdc = yes; then |
if test $ac_cv_header_stdc = yes; then |
4771 |
cat >> confdefs.h <<\EOF |
|
4772 |
|
cat >>confdefs.h <<\_ACEOF |
4773 |
#define STDC_HEADERS 1 |
#define STDC_HEADERS 1 |
4774 |
EOF |
_ACEOF |
4775 |
|
|
4776 |
fi |
fi |
4777 |
|
|
4778 |
for ac_hdr in crypt.h fcntl.h libgen.h limits.h memory.h netdb.h string.h syslog.h unistd.h machine/endian.h sys/select.h |
|
4779 |
|
|
4780 |
|
|
4781 |
|
|
4782 |
|
|
4783 |
|
|
4784 |
|
|
4785 |
|
|
4786 |
|
|
4787 |
|
|
4788 |
|
|
4789 |
|
for ac_header in crypt.h fcntl.h libgen.h limits.h memory.h netdb.h string.h syslog.h unistd.h machine/endian.h sys/select.h |
4790 |
do |
do |
4791 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
4792 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
4793 |
echo "configure:2050: checking for $ac_hdr" >&5 |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
4794 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
4795 |
echo $ac_n "(cached) $ac_c" 1>&6 |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
4796 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4797 |
|
fi |
4798 |
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
4799 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
4800 |
|
else |
4801 |
|
# Is the header compilable? |
4802 |
|
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
4803 |
|
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
4804 |
|
cat >conftest.$ac_ext <<_ACEOF |
4805 |
|
/* confdefs.h. */ |
4806 |
|
_ACEOF |
4807 |
|
cat confdefs.h >>conftest.$ac_ext |
4808 |
|
cat >>conftest.$ac_ext <<_ACEOF |
4809 |
|
/* end confdefs.h. */ |
4810 |
|
$ac_includes_default |
4811 |
|
#include <$ac_header> |
4812 |
|
_ACEOF |
4813 |
|
rm -f conftest.$ac_objext |
4814 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4815 |
|
(eval $ac_compile) 2>conftest.er1 |
4816 |
|
ac_status=$? |
4817 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
4818 |
|
rm -f conftest.er1 |
4819 |
|
cat conftest.err >&5 |
4820 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4821 |
|
(exit $ac_status); } && |
4822 |
|
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
4823 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4824 |
|
(eval $ac_try) 2>&5 |
4825 |
|
ac_status=$? |
4826 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4827 |
|
(exit $ac_status); }; } && |
4828 |
|
{ ac_try='test -s conftest.$ac_objext' |
4829 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4830 |
|
(eval $ac_try) 2>&5 |
4831 |
|
ac_status=$? |
4832 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4833 |
|
(exit $ac_status); }; }; then |
4834 |
|
ac_header_compiler=yes |
4835 |
|
else |
4836 |
|
echo "$as_me: failed program was:" >&5 |
4837 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
4838 |
|
|
4839 |
|
ac_header_compiler=no |
4840 |
|
fi |
4841 |
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
4842 |
|
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
4843 |
|
echo "${ECHO_T}$ac_header_compiler" >&6 |
4844 |
|
|
4845 |
|
# Is the header present? |
4846 |
|
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
4847 |
|
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
4848 |
|
cat >conftest.$ac_ext <<_ACEOF |
4849 |
|
/* confdefs.h. */ |
4850 |
|
_ACEOF |
4851 |
|
cat confdefs.h >>conftest.$ac_ext |
4852 |
|
cat >>conftest.$ac_ext <<_ACEOF |
4853 |
|
/* end confdefs.h. */ |
4854 |
|
#include <$ac_header> |
4855 |
|
_ACEOF |
4856 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
4857 |
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
4858 |
|
ac_status=$? |
4859 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
4860 |
|
rm -f conftest.er1 |
4861 |
|
cat conftest.err >&5 |
4862 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4863 |
|
(exit $ac_status); } >/dev/null; then |
4864 |
|
if test -s conftest.err; then |
4865 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
4866 |
|
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
4867 |
|
else |
4868 |
|
ac_cpp_err= |
4869 |
|
fi |
4870 |
else |
else |
4871 |
cat > conftest.$ac_ext <<EOF |
ac_cpp_err=yes |
|
#line 2055 "configure" |
|
|
#include "confdefs.h" |
|
|
#include <$ac_hdr> |
|
|
EOF |
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
|
|
{ (eval echo configure:2060: \"$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" |
|
|
else |
|
|
echo "$ac_err" >&5 |
|
|
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* |
|
4872 |
fi |
fi |
4873 |
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
if test -z "$ac_cpp_err"; then |
4874 |
echo "$ac_t""yes" 1>&6 |
ac_header_preproc=yes |
4875 |
ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` |
else |
4876 |
cat >> confdefs.h <<EOF |
echo "$as_me: failed program was:" >&5 |
4877 |
#define $ac_tr_hdr 1 |
sed 's/^/| /' conftest.$ac_ext >&5 |
4878 |
EOF |
|
4879 |
|
ac_header_preproc=no |
4880 |
|
fi |
4881 |
|
rm -f conftest.err conftest.$ac_ext |
4882 |
|
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
4883 |
|
echo "${ECHO_T}$ac_header_preproc" >&6 |
4884 |
|
|
4885 |
|
# So? What about this header? |
4886 |
|
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
4887 |
|
yes:no: ) |
4888 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
4889 |
|
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
4890 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
4891 |
|
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
4892 |
|
ac_header_preproc=yes |
4893 |
|
;; |
4894 |
|
no:yes:* ) |
4895 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
4896 |
|
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
4897 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
4898 |
|
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
4899 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
4900 |
|
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
4901 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
4902 |
|
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
4903 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
4904 |
|
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
4905 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
4906 |
|
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
4907 |
|
( |
4908 |
|
cat <<\_ASBOX |
4909 |
|
## -------------------------------- ## |
4910 |
|
## Report this to bug-gnats@gnu.org ## |
4911 |
|
## -------------------------------- ## |
4912 |
|
_ASBOX |
4913 |
|
) | |
4914 |
|
sed "s/^/$as_me: WARNING: /" >&2 |
4915 |
|
;; |
4916 |
|
esac |
4917 |
|
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
4918 |
|
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
4919 |
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
4920 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4921 |
else |
else |
4922 |
echo "$ac_t""no" 1>&6 |
eval "$as_ac_Header=\$ac_header_preproc" |
4923 |
|
fi |
4924 |
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
4925 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
4926 |
|
|
4927 |
|
fi |
4928 |
|
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
4929 |
|
cat >>confdefs.h <<_ACEOF |
4930 |
|
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
4931 |
|
_ACEOF |
4932 |
|
|
4933 |
fi |
fi |
4934 |
|
|
4935 |
done |
done |
4936 |
|
|
4937 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
4938 |
#line 2087 "configure" |
/* confdefs.h. */ |
4939 |
#include "confdefs.h" |
_ACEOF |
4940 |
|
cat confdefs.h >>conftest.$ac_ext |
4941 |
|
cat >>conftest.$ac_ext <<_ACEOF |
4942 |
|
/* end confdefs.h. */ |
4943 |
#include <stdlib.h> |
#include <stdlib.h> |
4944 |
EOF |
|
4945 |
|
_ACEOF |
4946 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
4947 |
egrep "\<unsetenv\>" >/dev/null 2>&1; then |
$EGREP "\<unsetenv\>" >/dev/null 2>&1; then |
4948 |
rm -rf conftest* |
|
4949 |
cat >> confdefs.h <<\EOF |
cat >>confdefs.h <<\_ACEOF |
4950 |
#define HAVE_DECL_UNSETENV 1 |
#define HAVE_DECL_UNSETENV 1 |
4951 |
EOF |
_ACEOF |
4952 |
|
|
4953 |
else |
else |
4954 |
rm -rf conftest* |
|
4955 |
cat >> confdefs.h <<\EOF |
cat >>confdefs.h <<\_ACEOF |
4956 |
#define HAVE_DECL_UNSETENV 0 |
#define HAVE_DECL_UNSETENV 0 |
4957 |
EOF |
_ACEOF |
4958 |
|
|
4959 |
fi |
fi |
4960 |
rm -f conftest* |
rm -f conftest* |
4961 |
|
|
4962 |
|
|
4963 |
|
|
4964 |
|
|
4965 |
|
|
4966 |
|
|
4967 |
for ac_func in ftime mkdir mktemp mkstemp unsetenv |
for ac_func in ftime mkdir mktemp mkstemp unsetenv |
4968 |
do |
do |
4969 |
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
4970 |
echo "configure:2110: checking for $ac_func" >&5 |
echo "$as_me:$LINENO: checking for $ac_func" >&5 |
4971 |
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
4972 |
echo $ac_n "(cached) $ac_c" 1>&6 |
if eval "test \"\${$as_ac_var+set}\" = set"; then |
4973 |
else |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4974 |
cat > conftest.$ac_ext <<EOF |
else |
4975 |
#line 2115 "configure" |
cat >conftest.$ac_ext <<_ACEOF |
4976 |
#include "confdefs.h" |
/* confdefs.h. */ |
4977 |
|
_ACEOF |
4978 |
|
cat confdefs.h >>conftest.$ac_ext |
4979 |
|
cat >>conftest.$ac_ext <<_ACEOF |
4980 |
|
/* end confdefs.h. */ |
4981 |
|
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
4982 |
|
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
4983 |
|
#define $ac_func innocuous_$ac_func |
4984 |
|
|
4985 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
4986 |
which can conflict with char $ac_func(); below. */ |
which can conflict with char $ac_func (); below. |
4987 |
#include <assert.h> |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
4988 |
/* 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(); |
|
4989 |
|
|
4990 |
int main() { |
#ifdef __STDC__ |
4991 |
|
# include <limits.h> |
4992 |
|
#else |
4993 |
|
# include <assert.h> |
4994 |
|
#endif |
4995 |
|
|
4996 |
|
#undef $ac_func |
4997 |
|
|
4998 |
|
/* Override any gcc2 internal prototype to avoid an error. */ |
4999 |
|
#ifdef __cplusplus |
5000 |
|
extern "C" |
5001 |
|
{ |
5002 |
|
#endif |
5003 |
|
/* We use char because int might match the return type of a gcc2 |
5004 |
|
builtin and then its argument prototype would still apply. */ |
5005 |
|
char $ac_func (); |
5006 |
/* The GNU C library defines this for functions which it implements |
/* The GNU C library defines this for functions which it implements |
5007 |
to always fail with ENOSYS. Some functions are actually named |
to always fail with ENOSYS. Some functions are actually named |
5008 |
something starting with __ and the normal name is an alias. */ |
something starting with __ and the normal name is an alias. */ |
5009 |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
5010 |
choke me |
choke me |
5011 |
#else |
#else |
5012 |
$ac_func(); |
char (*f) () = $ac_func; |
5013 |
|
#endif |
5014 |
|
#ifdef __cplusplus |
5015 |
|
} |
5016 |
#endif |
#endif |
5017 |
|
|
5018 |
; return 0; } |
int |
5019 |
EOF |
main () |
5020 |
if { (eval echo configure:2138: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
{ |
5021 |
rm -rf conftest* |
return f != $ac_func; |
5022 |
eval "ac_cv_func_$ac_func=yes" |
; |
5023 |
else |
return 0; |
5024 |
echo "configure: failed program was:" >&5 |
} |
5025 |
cat conftest.$ac_ext >&5 |
_ACEOF |
5026 |
rm -rf conftest* |
rm -f conftest.$ac_objext conftest$ac_exeext |
5027 |
eval "ac_cv_func_$ac_func=no" |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
5028 |
fi |
(eval $ac_link) 2>conftest.er1 |
5029 |
rm -f conftest* |
ac_status=$? |
5030 |
fi |
grep -v '^ *+' conftest.er1 >conftest.err |
5031 |
|
rm -f conftest.er1 |
5032 |
|
cat conftest.err >&5 |
5033 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5034 |
|
(exit $ac_status); } && |
5035 |
|
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
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); }; } && |
5041 |
|
{ ac_try='test -s conftest$ac_exeext' |
5042 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5043 |
|
(eval $ac_try) 2>&5 |
5044 |
|
ac_status=$? |
5045 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5046 |
|
(exit $ac_status); }; }; then |
5047 |
|
eval "$as_ac_var=yes" |
5048 |
|
else |
5049 |
|
echo "$as_me: failed program was:" >&5 |
5050 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
5051 |
|
|
5052 |
|
eval "$as_ac_var=no" |
5053 |
|
fi |
5054 |
|
rm -f conftest.err conftest.$ac_objext \ |
5055 |
|
conftest$ac_exeext conftest.$ac_ext |
5056 |
|
fi |
5057 |
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
5058 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
5059 |
|
if test `eval echo '${'$as_ac_var'}'` = yes; then |
5060 |
|
cat >>confdefs.h <<_ACEOF |
5061 |
|
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
5062 |
|
_ACEOF |
5063 |
|
|
|
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 |
|
5064 |
fi |
fi |
5065 |
done |
done |
5066 |
|
|
5067 |
|
|
5068 |
|
|
5069 |
|
|
5070 |
|
|
5071 |
|
|
5072 |
ac_header_dirent=no |
ac_header_dirent=no |
5073 |
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 |
5074 |
do |
as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` |
5075 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5 |
5076 |
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 |
5077 |
echo "configure:2167: checking for $ac_hdr that defines DIR" >&5 |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
5078 |
if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5079 |
echo $ac_n "(cached) $ac_c" 1>&6 |
else |
5080 |
else |
cat >conftest.$ac_ext <<_ACEOF |
5081 |
cat > conftest.$ac_ext <<EOF |
/* confdefs.h. */ |
5082 |
#line 2172 "configure" |
_ACEOF |
5083 |
#include "confdefs.h" |
cat confdefs.h >>conftest.$ac_ext |
5084 |
|
cat >>conftest.$ac_ext <<_ACEOF |
5085 |
|
/* end confdefs.h. */ |
5086 |
#include <sys/types.h> |
#include <sys/types.h> |
5087 |
#include <$ac_hdr> |
#include <$ac_hdr> |
5088 |
int main() { |
|
5089 |
DIR *dirp = 0; |
int |
5090 |
; return 0; } |
main () |
5091 |
EOF |
{ |
5092 |
if { (eval echo configure:2180: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if ((DIR *) 0) |
5093 |
rm -rf conftest* |
return 0; |
5094 |
eval "ac_cv_header_dirent_$ac_safe=yes" |
; |
5095 |
else |
return 0; |
5096 |
echo "configure: failed program was:" >&5 |
} |
5097 |
cat conftest.$ac_ext >&5 |
_ACEOF |
5098 |
rm -rf conftest* |
rm -f conftest.$ac_objext |
5099 |
eval "ac_cv_header_dirent_$ac_safe=no" |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5100 |
fi |
(eval $ac_compile) 2>conftest.er1 |
5101 |
rm -f conftest* |
ac_status=$? |
5102 |
fi |
grep -v '^ *+' conftest.er1 >conftest.err |
5103 |
if eval "test \"`echo '$ac_cv_header_dirent_'$ac_safe`\" = yes"; then |
rm -f conftest.er1 |
5104 |
echo "$ac_t""yes" 1>&6 |
cat conftest.err >&5 |
5105 |
ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5106 |
cat >> confdefs.h <<EOF |
(exit $ac_status); } && |
5107 |
#define $ac_tr_hdr 1 |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
5108 |
EOF |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5109 |
ac_header_dirent=$ac_hdr; break |
(eval $ac_try) 2>&5 |
5110 |
else |
ac_status=$? |
5111 |
echo "$ac_t""no" 1>&6 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5112 |
|
(exit $ac_status); }; } && |
5113 |
|
{ ac_try='test -s conftest.$ac_objext' |
5114 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5115 |
|
(eval $ac_try) 2>&5 |
5116 |
|
ac_status=$? |
5117 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5118 |
|
(exit $ac_status); }; }; then |
5119 |
|
eval "$as_ac_Header=yes" |
5120 |
|
else |
5121 |
|
echo "$as_me: failed program was:" >&5 |
5122 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
5123 |
|
|
5124 |
|
eval "$as_ac_Header=no" |
5125 |
|
fi |
5126 |
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
5127 |
|
fi |
5128 |
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
5129 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
5130 |
|
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
5131 |
|
cat >>confdefs.h <<_ACEOF |
5132 |
|
#define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1 |
5133 |
|
_ACEOF |
5134 |
|
|
5135 |
|
ac_header_dirent=$ac_hdr; break |
5136 |
fi |
fi |
5137 |
|
|
5138 |
done |
done |
5139 |
# 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. |
5140 |
if test $ac_header_dirent = dirent.h; then |
if test $ac_header_dirent = dirent.h; then |
5141 |
echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for library containing opendir" >&5 |
5142 |
echo "configure:2205: checking for opendir in -ldir" >&5 |
echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6 |
5143 |
ac_lib_var=`echo dir'_'opendir | sed 'y%./+-%__p_%'` |
if test "${ac_cv_search_opendir+set}" = set; then |
5144 |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5145 |
echo $ac_n "(cached) $ac_c" 1>&6 |
else |
5146 |
else |
ac_func_search_save_LIBS=$LIBS |
5147 |
ac_save_LIBS="$LIBS" |
ac_cv_search_opendir=no |
5148 |
LIBS="-ldir $LIBS" |
cat >conftest.$ac_ext <<_ACEOF |
5149 |
cat > conftest.$ac_ext <<EOF |
/* confdefs.h. */ |
5150 |
#line 2213 "configure" |
_ACEOF |
5151 |
#include "confdefs.h" |
cat confdefs.h >>conftest.$ac_ext |
5152 |
|
cat >>conftest.$ac_ext <<_ACEOF |
5153 |
|
/* end confdefs.h. */ |
5154 |
|
|
5155 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
5156 |
|
#ifdef __cplusplus |
5157 |
|
extern "C" |
5158 |
|
#endif |
5159 |
/* 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 |
5160 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
5161 |
char opendir(); |
char opendir (); |
5162 |
|
int |
5163 |
|
main () |
5164 |
|
{ |
5165 |
|
opendir (); |
5166 |
|
; |
5167 |
|
return 0; |
5168 |
|
} |
5169 |
|
_ACEOF |
5170 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
5171 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
5172 |
|
(eval $ac_link) 2>conftest.er1 |
5173 |
|
ac_status=$? |
5174 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
5175 |
|
rm -f conftest.er1 |
5176 |
|
cat conftest.err >&5 |
5177 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5178 |
|
(exit $ac_status); } && |
5179 |
|
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
5180 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5181 |
|
(eval $ac_try) 2>&5 |
5182 |
|
ac_status=$? |
5183 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5184 |
|
(exit $ac_status); }; } && |
5185 |
|
{ ac_try='test -s conftest$ac_exeext' |
5186 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5187 |
|
(eval $ac_try) 2>&5 |
5188 |
|
ac_status=$? |
5189 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5190 |
|
(exit $ac_status); }; }; then |
5191 |
|
ac_cv_search_opendir="none required" |
5192 |
|
else |
5193 |
|
echo "$as_me: failed program was:" >&5 |
5194 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
5195 |
|
|
5196 |
|
fi |
5197 |
|
rm -f conftest.err conftest.$ac_objext \ |
5198 |
|
conftest$ac_exeext conftest.$ac_ext |
5199 |
|
if test "$ac_cv_search_opendir" = no; then |
5200 |
|
for ac_lib in dir; do |
5201 |
|
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
5202 |
|
cat >conftest.$ac_ext <<_ACEOF |
5203 |
|
/* confdefs.h. */ |
5204 |
|
_ACEOF |
5205 |
|
cat confdefs.h >>conftest.$ac_ext |
5206 |
|
cat >>conftest.$ac_ext <<_ACEOF |
5207 |
|
/* end confdefs.h. */ |
5208 |
|
|
5209 |
int main() { |
/* Override any gcc2 internal prototype to avoid an error. */ |
5210 |
opendir() |
#ifdef __cplusplus |
5211 |
; return 0; } |
extern "C" |
5212 |
EOF |
#endif |
5213 |
if { (eval echo configure:2224: \"$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 |
5214 |
rm -rf conftest* |
builtin and then its argument prototype would still apply. */ |
5215 |
eval "ac_cv_lib_$ac_lib_var=yes" |
char opendir (); |
5216 |
else |
int |
5217 |
echo "configure: failed program was:" >&5 |
main () |
5218 |
cat conftest.$ac_ext >&5 |
{ |
5219 |
rm -rf conftest* |
opendir (); |
5220 |
eval "ac_cv_lib_$ac_lib_var=no" |
; |
5221 |
fi |
return 0; |
5222 |
rm -f conftest* |
} |
5223 |
LIBS="$ac_save_LIBS" |
_ACEOF |
5224 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
5225 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
5226 |
|
(eval $ac_link) 2>conftest.er1 |
5227 |
|
ac_status=$? |
5228 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
5229 |
|
rm -f conftest.er1 |
5230 |
|
cat conftest.err >&5 |
5231 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5232 |
|
(exit $ac_status); } && |
5233 |
|
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
5234 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5235 |
|
(eval $ac_try) 2>&5 |
5236 |
|
ac_status=$? |
5237 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5238 |
|
(exit $ac_status); }; } && |
5239 |
|
{ ac_try='test -s conftest$ac_exeext' |
5240 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5241 |
|
(eval $ac_try) 2>&5 |
5242 |
|
ac_status=$? |
5243 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5244 |
|
(exit $ac_status); }; }; then |
5245 |
|
ac_cv_search_opendir="-l$ac_lib" |
5246 |
|
break |
5247 |
|
else |
5248 |
|
echo "$as_me: failed program was:" >&5 |
5249 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
5250 |
|
|
5251 |
fi |
fi |
5252 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
rm -f conftest.err conftest.$ac_objext \ |
5253 |
echo "$ac_t""yes" 1>&6 |
conftest$ac_exeext conftest.$ac_ext |
5254 |
LIBS="$LIBS -ldir" |
done |
5255 |
else |
fi |
5256 |
echo "$ac_t""no" 1>&6 |
LIBS=$ac_func_search_save_LIBS |
5257 |
|
fi |
5258 |
|
echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 |
5259 |
|
echo "${ECHO_T}$ac_cv_search_opendir" >&6 |
5260 |
|
if test "$ac_cv_search_opendir" != no; then |
5261 |
|
test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS" |
5262 |
|
|
5263 |
fi |
fi |
5264 |
|
|
5265 |
else |
else |
5266 |
echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for library containing opendir" >&5 |
5267 |
echo "configure:2246: checking for opendir in -lx" >&5 |
echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6 |
5268 |
ac_lib_var=`echo x'_'opendir | sed 'y%./+-%__p_%'` |
if test "${ac_cv_search_opendir+set}" = set; then |
5269 |
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 |
|
5270 |
else |
else |
5271 |
ac_save_LIBS="$LIBS" |
ac_func_search_save_LIBS=$LIBS |
5272 |
LIBS="-lx $LIBS" |
ac_cv_search_opendir=no |
5273 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
5274 |
#line 2254 "configure" |
/* confdefs.h. */ |
5275 |
#include "confdefs.h" |
_ACEOF |
5276 |
|
cat confdefs.h >>conftest.$ac_ext |
5277 |
|
cat >>conftest.$ac_ext <<_ACEOF |
5278 |
|
/* end confdefs.h. */ |
5279 |
|
|
5280 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
5281 |
|
#ifdef __cplusplus |
5282 |
|
extern "C" |
5283 |
|
#endif |
5284 |
/* 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 |
5285 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
5286 |
char opendir(); |
char opendir (); |
5287 |
|
int |
5288 |
|
main () |
5289 |
|
{ |
5290 |
|
opendir (); |
5291 |
|
; |
5292 |
|
return 0; |
5293 |
|
} |
5294 |
|
_ACEOF |
5295 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
5296 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
5297 |
|
(eval $ac_link) 2>conftest.er1 |
5298 |
|
ac_status=$? |
5299 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
5300 |
|
rm -f conftest.er1 |
5301 |
|
cat conftest.err >&5 |
5302 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5303 |
|
(exit $ac_status); } && |
5304 |
|
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
5305 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5306 |
|
(eval $ac_try) 2>&5 |
5307 |
|
ac_status=$? |
5308 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5309 |
|
(exit $ac_status); }; } && |
5310 |
|
{ ac_try='test -s conftest$ac_exeext' |
5311 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5312 |
|
(eval $ac_try) 2>&5 |
5313 |
|
ac_status=$? |
5314 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5315 |
|
(exit $ac_status); }; }; then |
5316 |
|
ac_cv_search_opendir="none required" |
5317 |
|
else |
5318 |
|
echo "$as_me: failed program was:" >&5 |
5319 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
5320 |
|
|
5321 |
|
fi |
5322 |
|
rm -f conftest.err conftest.$ac_objext \ |
5323 |
|
conftest$ac_exeext conftest.$ac_ext |
5324 |
|
if test "$ac_cv_search_opendir" = no; then |
5325 |
|
for ac_lib in x; do |
5326 |
|
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
5327 |
|
cat >conftest.$ac_ext <<_ACEOF |
5328 |
|
/* confdefs.h. */ |
5329 |
|
_ACEOF |
5330 |
|
cat confdefs.h >>conftest.$ac_ext |
5331 |
|
cat >>conftest.$ac_ext <<_ACEOF |
5332 |
|
/* end confdefs.h. */ |
5333 |
|
|
5334 |
int main() { |
/* Override any gcc2 internal prototype to avoid an error. */ |
5335 |
opendir() |
#ifdef __cplusplus |
5336 |
; return 0; } |
extern "C" |
5337 |
EOF |
#endif |
5338 |
if { (eval echo configure:2265: \"$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 |
5339 |
rm -rf conftest* |
builtin and then its argument prototype would still apply. */ |
5340 |
eval "ac_cv_lib_$ac_lib_var=yes" |
char opendir (); |
5341 |
else |
int |
5342 |
echo "configure: failed program was:" >&5 |
main () |
5343 |
cat conftest.$ac_ext >&5 |
{ |
5344 |
rm -rf conftest* |
opendir (); |
5345 |
eval "ac_cv_lib_$ac_lib_var=no" |
; |
5346 |
fi |
return 0; |
5347 |
rm -f conftest* |
} |
5348 |
LIBS="$ac_save_LIBS" |
_ACEOF |
5349 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
5350 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
5351 |
|
(eval $ac_link) 2>conftest.er1 |
5352 |
|
ac_status=$? |
5353 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
5354 |
|
rm -f conftest.er1 |
5355 |
|
cat conftest.err >&5 |
5356 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5357 |
|
(exit $ac_status); } && |
5358 |
|
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
5359 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5360 |
|
(eval $ac_try) 2>&5 |
5361 |
|
ac_status=$? |
5362 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5363 |
|
(exit $ac_status); }; } && |
5364 |
|
{ ac_try='test -s conftest$ac_exeext' |
5365 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5366 |
|
(eval $ac_try) 2>&5 |
5367 |
|
ac_status=$? |
5368 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5369 |
|
(exit $ac_status); }; }; then |
5370 |
|
ac_cv_search_opendir="-l$ac_lib" |
5371 |
|
break |
5372 |
|
else |
5373 |
|
echo "$as_me: failed program was:" >&5 |
5374 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
5375 |
|
|
5376 |
fi |
fi |
5377 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
rm -f conftest.err conftest.$ac_objext \ |
5378 |
echo "$ac_t""yes" 1>&6 |
conftest$ac_exeext conftest.$ac_ext |
5379 |
LIBS="$LIBS -lx" |
done |
5380 |
else |
fi |
5381 |
echo "$ac_t""no" 1>&6 |
LIBS=$ac_func_search_save_LIBS |
5382 |
fi |
fi |
5383 |
|
echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 |
5384 |
|
echo "${ECHO_T}$ac_cv_search_opendir" >&6 |
5385 |
|
if test "$ac_cv_search_opendir" != no; then |
5386 |
|
test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS" |
5387 |
|
|
5388 |
fi |
fi |
5389 |
|
|
5390 |
echo $ac_n "checking for size_t""... $ac_c" 1>&6 |
fi |
5391 |
echo "configure:2288: checking for size_t" >&5 |
|
5392 |
if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then |
echo "$as_me:$LINENO: checking for size_t" >&5 |
5393 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "checking for size_t... $ECHO_C" >&6 |
5394 |
|
if test "${ac_cv_type_size_t+set}" = set; then |
5395 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5396 |
else |
else |
5397 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
5398 |
#line 2293 "configure" |
/* confdefs.h. */ |
5399 |
#include "confdefs.h" |
_ACEOF |
5400 |
#include <sys/types.h> |
cat confdefs.h >>conftest.$ac_ext |
5401 |
#if STDC_HEADERS |
cat >>conftest.$ac_ext <<_ACEOF |
5402 |
#include <stdlib.h> |
/* end confdefs.h. */ |
5403 |
#include <stddef.h> |
$ac_includes_default |
5404 |
#endif |
int |
5405 |
EOF |
main () |
5406 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
{ |
5407 |
egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then |
if ((size_t *) 0) |
5408 |
rm -rf conftest* |
return 0; |
5409 |
|
if (sizeof (size_t)) |
5410 |
|
return 0; |
5411 |
|
; |
5412 |
|
return 0; |
5413 |
|
} |
5414 |
|
_ACEOF |
5415 |
|
rm -f conftest.$ac_objext |
5416 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5417 |
|
(eval $ac_compile) 2>conftest.er1 |
5418 |
|
ac_status=$? |
5419 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
5420 |
|
rm -f conftest.er1 |
5421 |
|
cat conftest.err >&5 |
5422 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5423 |
|
(exit $ac_status); } && |
5424 |
|
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
5425 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5426 |
|
(eval $ac_try) 2>&5 |
5427 |
|
ac_status=$? |
5428 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5429 |
|
(exit $ac_status); }; } && |
5430 |
|
{ ac_try='test -s conftest.$ac_objext' |
5431 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5432 |
|
(eval $ac_try) 2>&5 |
5433 |
|
ac_status=$? |
5434 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5435 |
|
(exit $ac_status); }; }; then |
5436 |
ac_cv_type_size_t=yes |
ac_cv_type_size_t=yes |
5437 |
else |
else |
5438 |
rm -rf conftest* |
echo "$as_me: failed program was:" >&5 |
5439 |
ac_cv_type_size_t=no |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
fi |
|
|
rm -f conftest* |
|
5440 |
|
|
5441 |
|
ac_cv_type_size_t=no |
5442 |
|
fi |
5443 |
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
5444 |
fi |
fi |
5445 |
echo "$ac_t""$ac_cv_type_size_t" 1>&6 |
echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 |
5446 |
if test $ac_cv_type_size_t = no; then |
echo "${ECHO_T}$ac_cv_type_size_t" >&6 |
5447 |
cat >> confdefs.h <<\EOF |
if test $ac_cv_type_size_t = yes; then |
5448 |
|
: |
5449 |
|
else |
5450 |
|
|
5451 |
|
cat >>confdefs.h <<_ACEOF |
5452 |
#define size_t unsigned |
#define size_t unsigned |
5453 |
EOF |
_ACEOF |
5454 |
|
|
5455 |
fi |
fi |
5456 |
|
|
5460 |
test "$EMACS" = t && EMACS= |
test "$EMACS" = t && EMACS= |
5461 |
for ac_prog in emacs xemacs |
for ac_prog in emacs xemacs |
5462 |
do |
do |
5463 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
5464 |
set dummy $ac_prog; ac_word=$2 |
set dummy $ac_prog; ac_word=$2 |
5465 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5466 |
echo "configure:2329: checking for $ac_word" >&5 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
5467 |
if eval "test \"`echo '$''{'ac_cv_path_EMACS'+set}'`\" = set"; then |
if test "${ac_cv_path_EMACS+set}" = set; then |
5468 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5469 |
else |
else |
5470 |
case "$EMACS" in |
case $EMACS in |
5471 |
/*) |
[\\/]* | ?:[\\/]*) |
5472 |
ac_cv_path_EMACS="$EMACS" # Let the user override the test with a path. |
ac_cv_path_EMACS="$EMACS" # Let the user override the test with a path. |
5473 |
;; |
;; |
|
?:/*) |
|
|
ac_cv_path_EMACS="$EMACS" # Let the user override the test with a dos path. |
|
|
;; |
|
5474 |
*) |
*) |
5475 |
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
5476 |
ac_dummy="$PATH" |
for as_dir in $PATH |
5477 |
for ac_dir in $ac_dummy; do |
do |
5478 |
test -z "$ac_dir" && ac_dir=. |
IFS=$as_save_IFS |
5479 |
if test -f $ac_dir/$ac_word; then |
test -z "$as_dir" && as_dir=. |
5480 |
ac_cv_path_EMACS="$ac_dir/$ac_word" |
for ac_exec_ext in '' $ac_executable_extensions; do |
5481 |
break |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
5482 |
fi |
ac_cv_path_EMACS="$as_dir/$ac_word$ac_exec_ext" |
5483 |
done |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5484 |
IFS="$ac_save_ifs" |
break 2 |
5485 |
|
fi |
5486 |
|
done |
5487 |
|
done |
5488 |
|
|
5489 |
;; |
;; |
5490 |
esac |
esac |
5491 |
fi |
fi |
5492 |
EMACS="$ac_cv_path_EMACS" |
EMACS=$ac_cv_path_EMACS |
5493 |
|
|
5494 |
if test -n "$EMACS"; then |
if test -n "$EMACS"; then |
5495 |
echo "$ac_t""$EMACS" 1>&6 |
echo "$as_me:$LINENO: result: $EMACS" >&5 |
5496 |
|
echo "${ECHO_T}$EMACS" >&6 |
5497 |
else |
else |
5498 |
echo "$ac_t""no" 1>&6 |
echo "$as_me:$LINENO: result: no" >&5 |
5499 |
|
echo "${ECHO_T}no" >&6 |
5500 |
fi |
fi |
5501 |
|
|
5502 |
test -n "$EMACS" && break |
test -n "$EMACS" && break |
5503 |
done |
done |
5504 |
test -n "$EMACS" || EMACS="no" |
test -n "$EMACS" || EMACS="no" |
5505 |
|
|
5506 |
if test $EMACS != "no"; then |
if test $EMACS != "no"; then |
5507 |
echo $ac_n "checking where .elc files should go""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking where .elc files should go" >&5 |
5508 |
echo "configure:2367: checking where .elc files should go" >&5 |
echo $ECHO_N "checking where .elc files should go... $ECHO_C" >&6 |
5509 |
lispdir="\$(datadir)/emacs/site-lisp" |
lispdir="\$(datadir)/emacs/site-lisp" |
5510 |
emacs_flavor=`echo "$EMACS" | sed -e 's,^.*/,,'` |
emacs_flavor=`echo "$EMACS" | sed -e 's,^.*/,,'` |
5511 |
if test "x$prefix" = "xNONE"; then |
if test "x$prefix" = "xNONE"; then |
5525 |
fi |
fi |
5526 |
fi |
fi |
5527 |
fi |
fi |
5528 |
echo "$ac_t""$lispdir" 1>&6 |
echo "$as_me:$LINENO: result: $lispdir" >&5 |
5529 |
|
echo "${ECHO_T}$lispdir" >&6 |
5530 |
fi |
fi |
5531 |
|
|
5532 |
|
|
5533 |
# Linux thang. |
# Linux thang. |
5534 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
5535 |
#line 2393 "configure" |
/* confdefs.h. */ |
5536 |
#include "confdefs.h" |
_ACEOF |
5537 |
|
cat confdefs.h >>conftest.$ac_ext |
5538 |
|
cat >>conftest.$ac_ext <<_ACEOF |
5539 |
|
/* end confdefs.h. */ |
5540 |
#include <sys/socket.h> |
#include <sys/socket.h> |
5541 |
EOF |
_ACEOF |
5542 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
5543 |
{ (eval echo configure:2398: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
5544 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_status=$? |
5545 |
if test -z "$ac_err"; then |
grep -v '^ *+' conftest.er1 >conftest.err |
5546 |
rm -rf conftest* |
rm -f conftest.er1 |
5547 |
cat > conftest.$ac_ext <<EOF |
cat conftest.err >&5 |
5548 |
#line 2403 "configure" |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5549 |
#include "confdefs.h" |
(exit $ac_status); } >/dev/null; then |
5550 |
|
if test -s conftest.err; then |
5551 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
5552 |
|
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
5553 |
|
else |
5554 |
|
ac_cpp_err= |
5555 |
|
fi |
5556 |
|
else |
5557 |
|
ac_cpp_err=yes |
5558 |
|
fi |
5559 |
|
if test -z "$ac_cpp_err"; then |
5560 |
|
cat >conftest.$ac_ext <<_ACEOF |
5561 |
|
/* confdefs.h. */ |
5562 |
|
_ACEOF |
5563 |
|
cat confdefs.h >>conftest.$ac_ext |
5564 |
|
cat >>conftest.$ac_ext <<_ACEOF |
5565 |
|
/* end confdefs.h. */ |
5566 |
#include <sys/socket.h> |
#include <sys/socket.h> |
5567 |
EOF |
_ACEOF |
5568 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
5569 |
egrep "socklen_t" >/dev/null 2>&1; then |
$EGREP "socklen_t" >/dev/null 2>&1; then |
5570 |
rm -rf conftest* |
cat >>confdefs.h <<\_ACEOF |
|
cat >> confdefs.h <<\EOF |
|
5571 |
#define HAVE_SOCKLEN_T 1 |
#define HAVE_SOCKLEN_T 1 |
5572 |
EOF |
_ACEOF |
5573 |
|
|
5574 |
fi |
fi |
5575 |
rm -f conftest* |
rm -f conftest* |
5576 |
|
|
5577 |
else |
else |
5578 |
echo "$ac_err" >&5 |
echo "$as_me: failed program was:" >&5 |
5579 |
echo "configure: failed program was:" >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
5580 |
cat conftest.$ac_ext >&5 |
|
5581 |
|
|
5582 |
fi |
fi |
5583 |
rm -f conftest* |
rm -f conftest.err conftest.$ac_ext |
5584 |
|
|
5585 |
# ***** How much do we want? ***** |
# ***** How much do we want? ***** |
5586 |
|
|
5589 |
GNATS_INSTALL=install-gnats |
GNATS_INSTALL=install-gnats |
5590 |
|
|
5591 |
# See if we want Kerberos. |
# See if we want Kerberos. |
5592 |
echo $ac_n "checking for --with-kerberos""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for --with-kerberos" >&5 |
5593 |
echo "configure:2432: checking for --with-kerberos" >&5 |
echo $ECHO_N "checking for --with-kerberos... $ECHO_C" >&6 |
5594 |
if test -n "$with_kerberos" ; then |
if test -n "$with_kerberos" ; then |
5595 |
echo "$ac_t""yes" 1>&6 |
echo "$as_me:$LINENO: result: yes" >&5 |
5596 |
|
echo "${ECHO_T}yes" >&6 |
5597 |
with_krb=true |
with_krb=true |
5598 |
else |
else |
5599 |
echo "$ac_t""no" 1>&6 |
echo "$as_me:$LINENO: result: no" >&5 |
5600 |
|
echo "${ECHO_T}no" >&6 |
5601 |
fi |
fi |
5602 |
|
|
5603 |
if test -n "$with_krb"; then |
if test -n "$with_krb"; then |
5604 |
echo $ac_n "checking Kerberos path""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking Kerberos path" >&5 |
5605 |
echo "configure:2442: checking Kerberos path" >&5 |
echo $ECHO_N "checking Kerberos path... $ECHO_C" >&6 |
5606 |
|
|
5607 |
# Check whether --with-krb4 or --without-krb4 was given. |
# Check whether --with-krb4 or --without-krb4 was given. |
5608 |
if test "${with_krb4+set}" = set; then |
if test "${with_krb4+set}" = set; then |
5609 |
withval="$with_krb4" |
withval="$with_krb4" |
5616 |
KRB4=/usr/kerberos |
KRB4=/usr/kerberos |
5617 |
fi |
fi |
5618 |
|
|
5619 |
fi |
fi; echo "$as_me:$LINENO: result: $KRB4" >&5 |
5620 |
echo "$ac_t""$KRB4" 1>&6 |
echo "${ECHO_T}$KRB4" >&6 |
5621 |
|
|
5622 |
|
|
5623 |
krb_h= |
krb_h= |
5624 |
KRBINCLUDE= |
KRBINCLUDE= |
5625 |
# XXX this should use a different approach at some point |
# XXX this should use a different approach at some point |
5626 |
echo $ac_n "checking for krb.h""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for krb.h" >&5 |
5627 |
echo "configure:2463: checking for krb.h" >&5 |
echo $ECHO_N "checking for krb.h... $ECHO_C" >&6 |
5628 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
5629 |
#line 2465 "configure" |
/* confdefs.h. */ |
5630 |
#include "confdefs.h" |
_ACEOF |
5631 |
|
cat confdefs.h >>conftest.$ac_ext |
5632 |
|
cat >>conftest.$ac_ext <<_ACEOF |
5633 |
|
/* end confdefs.h. */ |
5634 |
#include <des.h> |
#include <des.h> |
5635 |
#include <krb.h> |
#include <krb.h> |
5636 |
int main() { |
int |
5637 |
|
main () |
5638 |
|
{ |
5639 |
int i; |
int i; |
5640 |
; return 0; } |
; |
5641 |
EOF |
return 0; |
5642 |
if { (eval echo configure:2473: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
} |
5643 |
rm -rf conftest* |
_ACEOF |
5644 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
5645 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
5646 |
|
(eval $ac_link) 2>conftest.er1 |
5647 |
|
ac_status=$? |
5648 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
5649 |
|
rm -f conftest.er1 |
5650 |
|
cat conftest.err >&5 |
5651 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5652 |
|
(exit $ac_status); } && |
5653 |
|
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
5654 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5655 |
|
(eval $ac_try) 2>&5 |
5656 |
|
ac_status=$? |
5657 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5658 |
|
(exit $ac_status); }; } && |
5659 |
|
{ ac_try='test -s conftest$ac_exeext' |
5660 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5661 |
|
(eval $ac_try) 2>&5 |
5662 |
|
ac_status=$? |
5663 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5664 |
|
(exit $ac_status); }; }; then |
5665 |
krb_h=yes krb_incdir= |
krb_h=yes krb_incdir= |
5666 |
echo "$ac_t""yes" 1>&6 |
echo "$as_me:$LINENO: result: yes" >&5 |
5667 |
|
echo "${ECHO_T}yes" >&6 |
5668 |
else |
else |
5669 |
echo "configure: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
5670 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
5671 |
rm -rf conftest* |
|
5672 |
echo "$ac_t""no" 1>&6 |
echo "$as_me:$LINENO: result: no" >&5 |
5673 |
|
echo "${ECHO_T}no" >&6 |
5674 |
if test -r "$KRB4/include/kerberosIV/krb.h" ; then |
if test -r "$KRB4/include/kerberosIV/krb.h" ; then |
5675 |
krbincdir=$KRB4/include/kerberosIV |
krbincdir=$KRB4/include/kerberosIV |
5676 |
else |
else |
5679 |
if test "$cross_compiling" = "no" && test -r $krbincdir/krb.h; then |
if test "$cross_compiling" = "no" && test -r $krbincdir/krb.h; then |
5680 |
hold_cflags=$CFLAGS |
hold_cflags=$CFLAGS |
5681 |
CFLAGS="$CFLAGS -I$krbincdir" |
CFLAGS="$CFLAGS -I$krbincdir" |
5682 |
echo $ac_n "checking for krb.h in $krbincdir""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for krb.h in $krbincdir" >&5 |
5683 |
echo "configure:2491: checking for krb.h in $krbincdir" >&5 |
echo $ECHO_N "checking for krb.h in $krbincdir... $ECHO_C" >&6 |
5684 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
5685 |
#line 2493 "configure" |
/* confdefs.h. */ |
5686 |
#include "confdefs.h" |
_ACEOF |
5687 |
|
cat confdefs.h >>conftest.$ac_ext |
5688 |
|
cat >>conftest.$ac_ext <<_ACEOF |
5689 |
|
/* end confdefs.h. */ |
5690 |
#include <des.h> |
#include <des.h> |
5691 |
#include <krb.h> |
#include <krb.h> |
5692 |
int main() { |
int |
5693 |
|
main () |
5694 |
|
{ |
5695 |
int i; |
int i; |
5696 |
; return 0; } |
; |
5697 |
EOF |
return 0; |
5698 |
if { (eval echo configure:2501: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
} |
5699 |
rm -rf conftest* |
_ACEOF |
5700 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
5701 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
5702 |
|
(eval $ac_link) 2>conftest.er1 |
5703 |
|
ac_status=$? |
5704 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
5705 |
|
rm -f conftest.er1 |
5706 |
|
cat conftest.err >&5 |
5707 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5708 |
|
(exit $ac_status); } && |
5709 |
|
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
5710 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5711 |
|
(eval $ac_try) 2>&5 |
5712 |
|
ac_status=$? |
5713 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5714 |
|
(exit $ac_status); }; } && |
5715 |
|
{ ac_try='test -s conftest$ac_exeext' |
5716 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5717 |
|
(eval $ac_try) 2>&5 |
5718 |
|
ac_status=$? |
5719 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5720 |
|
(exit $ac_status); }; }; then |
5721 |
krb_h=yes krb_incdir=$krbincdir |
krb_h=yes krb_incdir=$krbincdir |
5722 |
echo "$ac_t""yes" 1>&6 |
echo "$as_me:$LINENO: result: yes" >&5 |
5723 |
|
echo "${ECHO_T}yes" >&6 |
5724 |
else |
else |
5725 |
echo "configure: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
5726 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
5727 |
rm -rf conftest* |
|
5728 |
echo "$ac_t""no" 1>&6 |
echo "$as_me:$LINENO: result: no" >&5 |
5729 |
|
echo "${ECHO_T}no" >&6 |
5730 |
fi |
fi |
5731 |
rm -f conftest* |
rm -f conftest.err conftest.$ac_objext \ |
5732 |
|
conftest$ac_exeext conftest.$ac_ext |
5733 |
CFLAGS=$hold_cflags |
CFLAGS=$hold_cflags |
5734 |
if test -n "$krb_incdir"; then |
if test -n "$krb_incdir"; then |
5735 |
KRBINCLUDE="-I$krb_incdir" |
KRBINCLUDE="-I$krb_incdir" |
5736 |
fi |
fi |
5737 |
fi |
fi |
5738 |
fi |
fi |
5739 |
rm -f conftest* |
rm -f conftest.err conftest.$ac_objext \ |
5740 |
|
conftest$ac_exeext conftest.$ac_ext |
5741 |
if test -n "$krb_h"; then |
if test -n "$krb_h"; then |
5742 |
krb_lib= |
krb_lib= |
5743 |
if test "$cross_compiling" = "no" && test -r $KRB4/lib/libkrb.a; then |
if test "$cross_compiling" = "no" && test -r $KRB4/lib/libkrb.a; then |
5744 |
# Fake some sensible log messages. |
# Fake some sensible log messages. |
5745 |
echo $ac_n "checking for -lkrb in $KRB4/lib""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for -lkrb in $KRB4/lib" >&5 |
5746 |
echo "configure:2524: checking for -lkrb in $KRB4/lib" >&5 |
echo $ECHO_N "checking for -lkrb in $KRB4/lib... $ECHO_C" >&6 |
5747 |
echo "$ac_t""yes" 1>&6 |
echo "$as_me:$LINENO: result: yes" >&5 |
5748 |
|
echo "${ECHO_T}yes" >&6 |
5749 |
krb_lib=-lkrb krb_libdir=$KRB4/lib |
krb_lib=-lkrb krb_libdir=$KRB4/lib |
5750 |
else |
else |
5751 |
echo $ac_n "checking for main in -lkrb""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for main in -lkrb" >&5 |
5752 |
echo "configure:2529: checking for main in -lkrb" >&5 |
echo $ECHO_N "checking for main in -lkrb... $ECHO_C" >&6 |
5753 |
ac_lib_var=`echo krb'_'main | sed 'y%./+-%__p_%'` |
if test "${ac_cv_lib_krb_main+set}" = set; then |
5754 |
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 |
|
5755 |
else |
else |
5756 |
ac_save_LIBS="$LIBS" |
ac_check_lib_save_LIBS=$LIBS |
5757 |
LIBS="-lkrb $LIBS" |
LIBS="-lkrb $LIBS" |
5758 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
5759 |
#line 2537 "configure" |
/* confdefs.h. */ |
5760 |
#include "confdefs.h" |
_ACEOF |
5761 |
|
cat confdefs.h >>conftest.$ac_ext |
5762 |
int main() { |
cat >>conftest.$ac_ext <<_ACEOF |
5763 |
main() |
/* end confdefs.h. */ |
|
; return 0; } |
|
|
EOF |
|
|
if { (eval echo configure:2544: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|
|
rm -rf conftest* |
|
|
eval "ac_cv_lib_$ac_lib_var=yes" |
|
|
else |
|
|
echo "configure: failed program was:" >&5 |
|
|
cat conftest.$ac_ext >&5 |
|
|
rm -rf conftest* |
|
|
eval "ac_cv_lib_$ac_lib_var=no" |
|
|
fi |
|
|
rm -f conftest* |
|
|
LIBS="$ac_save_LIBS" |
|
5764 |
|
|
5765 |
fi |
|
5766 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
int |
5767 |
echo "$ac_t""yes" 1>&6 |
main () |
5768 |
|
{ |
5769 |
|
main (); |
5770 |
|
; |
5771 |
|
return 0; |
5772 |
|
} |
5773 |
|
_ACEOF |
5774 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
5775 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
5776 |
|
(eval $ac_link) 2>conftest.er1 |
5777 |
|
ac_status=$? |
5778 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
5779 |
|
rm -f conftest.er1 |
5780 |
|
cat conftest.err >&5 |
5781 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5782 |
|
(exit $ac_status); } && |
5783 |
|
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
5784 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5785 |
|
(eval $ac_try) 2>&5 |
5786 |
|
ac_status=$? |
5787 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5788 |
|
(exit $ac_status); }; } && |
5789 |
|
{ ac_try='test -s conftest$ac_exeext' |
5790 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5791 |
|
(eval $ac_try) 2>&5 |
5792 |
|
ac_status=$? |
5793 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5794 |
|
(exit $ac_status); }; }; then |
5795 |
|
ac_cv_lib_krb_main=yes |
5796 |
|
else |
5797 |
|
echo "$as_me: failed program was:" >&5 |
5798 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
5799 |
|
|
5800 |
|
ac_cv_lib_krb_main=no |
5801 |
|
fi |
5802 |
|
rm -f conftest.err conftest.$ac_objext \ |
5803 |
|
conftest$ac_exeext conftest.$ac_ext |
5804 |
|
LIBS=$ac_check_lib_save_LIBS |
5805 |
|
fi |
5806 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_krb_main" >&5 |
5807 |
|
echo "${ECHO_T}$ac_cv_lib_krb_main" >&6 |
5808 |
|
if test $ac_cv_lib_krb_main = yes; then |
5809 |
krb_lib=-lkrb |
krb_lib=-lkrb |
5810 |
else |
else |
5811 |
echo "$ac_t""no" 1>&6 |
echo "$as_me:$LINENO: checking for main in -lkrb4" >&5 |
5812 |
echo $ac_n "checking for main in -lkrb4""... $ac_c" 1>&6 |
echo $ECHO_N "checking for main in -lkrb4... $ECHO_C" >&6 |
5813 |
echo "configure:2563: checking for main in -lkrb4" >&5 |
if test "${ac_cv_lib_krb4_main+set}" = set; then |
5814 |
ac_lib_var=`echo krb4'_'main | sed 'y%./+-%__p_%'` |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
5815 |
else |
else |
5816 |
ac_save_LIBS="$LIBS" |
ac_check_lib_save_LIBS=$LIBS |
5817 |
LIBS="-lkrb4 $LIBS" |
LIBS="-lkrb4 $LIBS" |
5818 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
5819 |
#line 2571 "configure" |
/* confdefs.h. */ |
5820 |
#include "confdefs.h" |
_ACEOF |
5821 |
|
cat confdefs.h >>conftest.$ac_ext |
5822 |
int main() { |
cat >>conftest.$ac_ext <<_ACEOF |
5823 |
main() |
/* end confdefs.h. */ |
|
; return 0; } |
|
|
EOF |
|
|
if { (eval echo configure:2578: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|
|
rm -rf conftest* |
|
|
eval "ac_cv_lib_$ac_lib_var=yes" |
|
|
else |
|
|
echo "configure: failed program was:" >&5 |
|
|
cat conftest.$ac_ext >&5 |
|
|
rm -rf conftest* |
|
|
eval "ac_cv_lib_$ac_lib_var=no" |
|
|
fi |
|
|
rm -f conftest* |
|
|
LIBS="$ac_save_LIBS" |
|
5824 |
|
|
5825 |
fi |
|
5826 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
int |
5827 |
echo "$ac_t""yes" 1>&6 |
main () |
5828 |
|
{ |
5829 |
|
main (); |
5830 |
|
; |
5831 |
|
return 0; |
5832 |
|
} |
5833 |
|
_ACEOF |
5834 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
5835 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
5836 |
|
(eval $ac_link) 2>conftest.er1 |
5837 |
|
ac_status=$? |
5838 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
5839 |
|
rm -f conftest.er1 |
5840 |
|
cat conftest.err >&5 |
5841 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5842 |
|
(exit $ac_status); } && |
5843 |
|
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
5844 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5845 |
|
(eval $ac_try) 2>&5 |
5846 |
|
ac_status=$? |
5847 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5848 |
|
(exit $ac_status); }; } && |
5849 |
|
{ ac_try='test -s conftest$ac_exeext' |
5850 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5851 |
|
(eval $ac_try) 2>&5 |
5852 |
|
ac_status=$? |
5853 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5854 |
|
(exit $ac_status); }; }; then |
5855 |
|
ac_cv_lib_krb4_main=yes |
5856 |
|
else |
5857 |
|
echo "$as_me: failed program was:" >&5 |
5858 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
5859 |
|
|
5860 |
|
ac_cv_lib_krb4_main=no |
5861 |
|
fi |
5862 |
|
rm -f conftest.err conftest.$ac_objext \ |
5863 |
|
conftest$ac_exeext conftest.$ac_ext |
5864 |
|
LIBS=$ac_check_lib_save_LIBS |
5865 |
|
fi |
5866 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_krb4_main" >&5 |
5867 |
|
echo "${ECHO_T}$ac_cv_lib_krb4_main" >&6 |
5868 |
|
if test $ac_cv_lib_krb4_main = yes; then |
5869 |
krb_lib=-lkrb4 |
krb_lib=-lkrb4 |
|
else |
|
|
echo "$ac_t""no" 1>&6 |
|
5870 |
fi |
fi |
5871 |
|
|
5872 |
fi |
fi |
5873 |
|
|
5874 |
fi |
fi |
5875 |
if test x"$krb_lib" != x""; then |
if test x"$krb_lib" != x""; then |
5876 |
cat >> confdefs.h <<\EOF |
cat >>confdefs.h <<\_ACEOF |
5877 |
#define HAVE_KERBEROS 1 |
#define HAVE_KERBEROS 1 |
5878 |
EOF |
_ACEOF |
5879 |
|
|
5880 |
test -n "${krb_libdir}" && LIBS="${LIBS} -L${krb_libdir}" |
test -n "${krb_libdir}" && LIBS="${LIBS} -L${krb_libdir}" |
5881 |
LIBS="${LIBS} $krb_lib" |
LIBS="${LIBS} $krb_lib" |
5882 |
echo $ac_n "checking for main in -ldes""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for main in -ldes" >&5 |
5883 |
echo "configure:2609: checking for main in -ldes" >&5 |
echo $ECHO_N "checking for main in -ldes... $ECHO_C" >&6 |
5884 |
ac_lib_var=`echo des'_'main | sed 'y%./+-%__p_%'` |
if test "${ac_cv_lib_des_main+set}" = set; then |
5885 |
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 |
|
5886 |
else |
else |
5887 |
ac_save_LIBS="$LIBS" |
ac_check_lib_save_LIBS=$LIBS |
5888 |
LIBS="-ldes $LIBS" |
LIBS="-ldes $LIBS" |
5889 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
5890 |
#line 2617 "configure" |
/* confdefs.h. */ |
5891 |
#include "confdefs.h" |
_ACEOF |
5892 |
|
cat confdefs.h >>conftest.$ac_ext |
5893 |
int main() { |
cat >>conftest.$ac_ext <<_ACEOF |
5894 |
main() |
/* end confdefs.h. */ |
|
; return 0; } |
|
|
EOF |
|
|
if { (eval echo configure:2624: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|
|
rm -rf conftest* |
|
|
eval "ac_cv_lib_$ac_lib_var=yes" |
|
|
else |
|
|
echo "configure: failed program was:" >&5 |
|
|
cat conftest.$ac_ext >&5 |
|
|
rm -rf conftest* |
|
|
eval "ac_cv_lib_$ac_lib_var=no" |
|
|
fi |
|
|
rm -f conftest* |
|
|
LIBS="$ac_save_LIBS" |
|
5895 |
|
|
5896 |
fi |
|
5897 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
int |
5898 |
echo "$ac_t""yes" 1>&6 |
main () |
5899 |
|
{ |
5900 |
|
main (); |
5901 |
|
; |
5902 |
|
return 0; |
5903 |
|
} |
5904 |
|
_ACEOF |
5905 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
5906 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
5907 |
|
(eval $ac_link) 2>conftest.er1 |
5908 |
|
ac_status=$? |
5909 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
5910 |
|
rm -f conftest.er1 |
5911 |
|
cat conftest.err >&5 |
5912 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5913 |
|
(exit $ac_status); } && |
5914 |
|
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
5915 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5916 |
|
(eval $ac_try) 2>&5 |
5917 |
|
ac_status=$? |
5918 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5919 |
|
(exit $ac_status); }; } && |
5920 |
|
{ ac_try='test -s conftest$ac_exeext' |
5921 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5922 |
|
(eval $ac_try) 2>&5 |
5923 |
|
ac_status=$? |
5924 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5925 |
|
(exit $ac_status); }; }; then |
5926 |
|
ac_cv_lib_des_main=yes |
5927 |
|
else |
5928 |
|
echo "$as_me: failed program was:" >&5 |
5929 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
5930 |
|
|
5931 |
|
ac_cv_lib_des_main=no |
5932 |
|
fi |
5933 |
|
rm -f conftest.err conftest.$ac_objext \ |
5934 |
|
conftest$ac_exeext conftest.$ac_ext |
5935 |
|
LIBS=$ac_check_lib_save_LIBS |
5936 |
|
fi |
5937 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_des_main" >&5 |
5938 |
|
echo "${ECHO_T}$ac_cv_lib_des_main" >&6 |
5939 |
|
if test $ac_cv_lib_des_main = yes; then |
5940 |
LIBS="${LIBS} -ldes" |
LIBS="${LIBS} -ldes" |
|
else |
|
|
echo "$ac_t""no" 1>&6 |
|
5941 |
fi |
fi |
5942 |
|
|
5943 |
echo $ac_n "checking for main in -ldes425""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for main in -ldes425" >&5 |
5944 |
echo "configure:2645: checking for main in -ldes425" >&5 |
echo $ECHO_N "checking for main in -ldes425... $ECHO_C" >&6 |
5945 |
ac_lib_var=`echo des425'_'main | sed 'y%./+-%__p_%'` |
if test "${ac_cv_lib_des425_main+set}" = set; then |
5946 |
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 |
|
5947 |
else |
else |
5948 |
ac_save_LIBS="$LIBS" |
ac_check_lib_save_LIBS=$LIBS |
5949 |
LIBS="-ldes425 $LIBS" |
LIBS="-ldes425 $LIBS" |
5950 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
5951 |
#line 2653 "configure" |
/* confdefs.h. */ |
5952 |
#include "confdefs.h" |
_ACEOF |
5953 |
|
cat confdefs.h >>conftest.$ac_ext |
5954 |
int main() { |
cat >>conftest.$ac_ext <<_ACEOF |
5955 |
main() |
/* end confdefs.h. */ |
|
; return 0; } |
|
|
EOF |
|
|
if { (eval echo configure:2660: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|
|
rm -rf conftest* |
|
|
eval "ac_cv_lib_$ac_lib_var=yes" |
|
|
else |
|
|
echo "configure: failed program was:" >&5 |
|
|
cat conftest.$ac_ext >&5 |
|
|
rm -rf conftest* |
|
|
eval "ac_cv_lib_$ac_lib_var=no" |
|
|
fi |
|
|
rm -f conftest* |
|
|
LIBS="$ac_save_LIBS" |
|
5956 |
|
|
5957 |
fi |
|
5958 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
int |
5959 |
echo "$ac_t""yes" 1>&6 |
main () |
5960 |
|
{ |
5961 |
|
main (); |
5962 |
|
; |
5963 |
|
return 0; |
5964 |
|
} |
5965 |
|
_ACEOF |
5966 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
5967 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
5968 |
|
(eval $ac_link) 2>conftest.er1 |
5969 |
|
ac_status=$? |
5970 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
5971 |
|
rm -f conftest.er1 |
5972 |
|
cat conftest.err >&5 |
5973 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5974 |
|
(exit $ac_status); } && |
5975 |
|
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
5976 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5977 |
|
(eval $ac_try) 2>&5 |
5978 |
|
ac_status=$? |
5979 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5980 |
|
(exit $ac_status); }; } && |
5981 |
|
{ ac_try='test -s conftest$ac_exeext' |
5982 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5983 |
|
(eval $ac_try) 2>&5 |
5984 |
|
ac_status=$? |
5985 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5986 |
|
(exit $ac_status); }; }; then |
5987 |
|
ac_cv_lib_des425_main=yes |
5988 |
|
else |
5989 |
|
echo "$as_me: failed program was:" >&5 |
5990 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
5991 |
|
|
5992 |
|
ac_cv_lib_des425_main=no |
5993 |
|
fi |
5994 |
|
rm -f conftest.err conftest.$ac_objext \ |
5995 |
|
conftest$ac_exeext conftest.$ac_ext |
5996 |
|
LIBS=$ac_check_lib_save_LIBS |
5997 |
|
fi |
5998 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_des425_main" >&5 |
5999 |
|
echo "${ECHO_T}$ac_cv_lib_des425_main" >&6 |
6000 |
|
if test $ac_cv_lib_des425_main = yes; then |
6001 |
LIBS="${LIBS} -ldes425" |
LIBS="${LIBS} -ldes425" |
|
else |
|
|
echo "$ac_t""no" 1>&6 |
|
6002 |
fi |
fi |
6003 |
|
|
6004 |
echo $ac_n "checking for main in -lkrb5""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for main in -lkrb5" >&5 |
6005 |
echo "configure:2681: checking for main in -lkrb5" >&5 |
echo $ECHO_N "checking for main in -lkrb5... $ECHO_C" >&6 |
6006 |
ac_lib_var=`echo krb5'_'main | sed 'y%./+-%__p_%'` |
if test "${ac_cv_lib_krb5_main+set}" = set; then |
6007 |
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 |
|
6008 |
else |
else |
6009 |
ac_save_LIBS="$LIBS" |
ac_check_lib_save_LIBS=$LIBS |
6010 |
LIBS="-lkrb5 $LIBS" |
LIBS="-lkrb5 $LIBS" |
6011 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
6012 |
#line 2689 "configure" |
/* confdefs.h. */ |
6013 |
#include "confdefs.h" |
_ACEOF |
6014 |
|
cat confdefs.h >>conftest.$ac_ext |
6015 |
int main() { |
cat >>conftest.$ac_ext <<_ACEOF |
6016 |
main() |
/* end confdefs.h. */ |
|
; return 0; } |
|
|
EOF |
|
|
if { (eval echo configure:2696: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|
|
rm -rf conftest* |
|
|
eval "ac_cv_lib_$ac_lib_var=yes" |
|
|
else |
|
|
echo "configure: failed program was:" >&5 |
|
|
cat conftest.$ac_ext >&5 |
|
|
rm -rf conftest* |
|
|
eval "ac_cv_lib_$ac_lib_var=no" |
|
|
fi |
|
|
rm -f conftest* |
|
|
LIBS="$ac_save_LIBS" |
|
6017 |
|
|
6018 |
fi |
|
6019 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
int |
6020 |
echo "$ac_t""yes" 1>&6 |
main () |
6021 |
|
{ |
6022 |
|
main (); |
6023 |
|
; |
6024 |
|
return 0; |
6025 |
|
} |
6026 |
|
_ACEOF |
6027 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
6028 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
6029 |
|
(eval $ac_link) 2>conftest.er1 |
6030 |
|
ac_status=$? |
6031 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
6032 |
|
rm -f conftest.er1 |
6033 |
|
cat conftest.err >&5 |
6034 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6035 |
|
(exit $ac_status); } && |
6036 |
|
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
6037 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6038 |
|
(eval $ac_try) 2>&5 |
6039 |
|
ac_status=$? |
6040 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6041 |
|
(exit $ac_status); }; } && |
6042 |
|
{ ac_try='test -s conftest$ac_exeext' |
6043 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6044 |
|
(eval $ac_try) 2>&5 |
6045 |
|
ac_status=$? |
6046 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6047 |
|
(exit $ac_status); }; }; then |
6048 |
|
ac_cv_lib_krb5_main=yes |
6049 |
|
else |
6050 |
|
echo "$as_me: failed program was:" >&5 |
6051 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
6052 |
|
|
6053 |
|
ac_cv_lib_krb5_main=no |
6054 |
|
fi |
6055 |
|
rm -f conftest.err conftest.$ac_objext \ |
6056 |
|
conftest$ac_exeext conftest.$ac_ext |
6057 |
|
LIBS=$ac_check_lib_save_LIBS |
6058 |
|
fi |
6059 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_krb5_main" >&5 |
6060 |
|
echo "${ECHO_T}$ac_cv_lib_krb5_main" >&6 |
6061 |
|
if test $ac_cv_lib_krb5_main = yes; then |
6062 |
LIBS="${LIBS} -lkrb5" |
LIBS="${LIBS} -lkrb5" |
|
else |
|
|
echo "$ac_t""no" 1>&6 |
|
6063 |
fi |
fi |
6064 |
|
|
6065 |
echo $ac_n "checking for main in -lcrypto""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for main in -lcrypto" >&5 |
6066 |
echo "configure:2717: checking for main in -lcrypto" >&5 |
echo $ECHO_N "checking for main in -lcrypto... $ECHO_C" >&6 |
6067 |
ac_lib_var=`echo crypto'_'main | sed 'y%./+-%__p_%'` |
if test "${ac_cv_lib_crypto_main+set}" = set; then |
6068 |
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 |
|
6069 |
else |
else |
6070 |
ac_save_LIBS="$LIBS" |
ac_check_lib_save_LIBS=$LIBS |
6071 |
LIBS="-lcrypto $LIBS" |
LIBS="-lcrypto $LIBS" |
6072 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
6073 |
#line 2725 "configure" |
/* confdefs.h. */ |
6074 |
#include "confdefs.h" |
_ACEOF |
6075 |
|
cat confdefs.h >>conftest.$ac_ext |
6076 |
int main() { |
cat >>conftest.$ac_ext <<_ACEOF |
6077 |
main() |
/* end confdefs.h. */ |
|
; return 0; } |
|
|
EOF |
|
|
if { (eval echo configure:2732: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|
|
rm -rf conftest* |
|
|
eval "ac_cv_lib_$ac_lib_var=yes" |
|
|
else |
|
|
echo "configure: failed program was:" >&5 |
|
|
cat conftest.$ac_ext >&5 |
|
|
rm -rf conftest* |
|
|
eval "ac_cv_lib_$ac_lib_var=no" |
|
|
fi |
|
|
rm -f conftest* |
|
|
LIBS="$ac_save_LIBS" |
|
6078 |
|
|
6079 |
fi |
|
6080 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
int |
6081 |
echo "$ac_t""yes" 1>&6 |
main () |
6082 |
|
{ |
6083 |
|
main (); |
6084 |
|
; |
6085 |
|
return 0; |
6086 |
|
} |
6087 |
|
_ACEOF |
6088 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
6089 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
6090 |
|
(eval $ac_link) 2>conftest.er1 |
6091 |
|
ac_status=$? |
6092 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
6093 |
|
rm -f conftest.er1 |
6094 |
|
cat conftest.err >&5 |
6095 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6096 |
|
(exit $ac_status); } && |
6097 |
|
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
6098 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6099 |
|
(eval $ac_try) 2>&5 |
6100 |
|
ac_status=$? |
6101 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6102 |
|
(exit $ac_status); }; } && |
6103 |
|
{ ac_try='test -s conftest$ac_exeext' |
6104 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6105 |
|
(eval $ac_try) 2>&5 |
6106 |
|
ac_status=$? |
6107 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6108 |
|
(exit $ac_status); }; }; then |
6109 |
|
ac_cv_lib_crypto_main=yes |
6110 |
|
else |
6111 |
|
echo "$as_me: failed program was:" >&5 |
6112 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
6113 |
|
|
6114 |
|
ac_cv_lib_crypto_main=no |
6115 |
|
fi |
6116 |
|
rm -f conftest.err conftest.$ac_objext \ |
6117 |
|
conftest$ac_exeext conftest.$ac_ext |
6118 |
|
LIBS=$ac_check_lib_save_LIBS |
6119 |
|
fi |
6120 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_main" >&5 |
6121 |
|
echo "${ECHO_T}$ac_cv_lib_crypto_main" >&6 |
6122 |
|
if test $ac_cv_lib_crypto_main = yes; then |
6123 |
LIBS="${LIBS} -lcrypto" |
LIBS="${LIBS} -lcrypto" |
|
else |
|
|
echo "$ac_t""no" 1>&6 |
|
6124 |
fi |
fi |
6125 |
|
|
6126 |
echo $ac_n "checking for main in -lcom_err""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for main in -lcom_err" >&5 |
6127 |
echo "configure:2753: checking for main in -lcom_err" >&5 |
echo $ECHO_N "checking for main in -lcom_err... $ECHO_C" >&6 |
6128 |
ac_lib_var=`echo com_err'_'main | sed 'y%./+-%__p_%'` |
if test "${ac_cv_lib_com_err_main+set}" = set; then |
6129 |
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 |
|
6130 |
else |
else |
6131 |
ac_save_LIBS="$LIBS" |
ac_check_lib_save_LIBS=$LIBS |
6132 |
LIBS="-lcom_err $LIBS" |
LIBS="-lcom_err $LIBS" |
6133 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
6134 |
#line 2761 "configure" |
/* confdefs.h. */ |
6135 |
#include "confdefs.h" |
_ACEOF |
6136 |
|
cat confdefs.h >>conftest.$ac_ext |
6137 |
int main() { |
cat >>conftest.$ac_ext <<_ACEOF |
6138 |
main() |
/* end confdefs.h. */ |
|
; return 0; } |
|
|
EOF |
|
|
if { (eval echo configure:2768: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|
|
rm -rf conftest* |
|
|
eval "ac_cv_lib_$ac_lib_var=yes" |
|
|
else |
|
|
echo "configure: failed program was:" >&5 |
|
|
cat conftest.$ac_ext >&5 |
|
|
rm -rf conftest* |
|
|
eval "ac_cv_lib_$ac_lib_var=no" |
|
|
fi |
|
|
rm -f conftest* |
|
|
LIBS="$ac_save_LIBS" |
|
6139 |
|
|
6140 |
fi |
|
6141 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
int |
6142 |
echo "$ac_t""yes" 1>&6 |
main () |
6143 |
|
{ |
6144 |
|
main (); |
6145 |
|
; |
6146 |
|
return 0; |
6147 |
|
} |
6148 |
|
_ACEOF |
6149 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
6150 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
6151 |
|
(eval $ac_link) 2>conftest.er1 |
6152 |
|
ac_status=$? |
6153 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
6154 |
|
rm -f conftest.er1 |
6155 |
|
cat conftest.err >&5 |
6156 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6157 |
|
(exit $ac_status); } && |
6158 |
|
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
6159 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6160 |
|
(eval $ac_try) 2>&5 |
6161 |
|
ac_status=$? |
6162 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6163 |
|
(exit $ac_status); }; } && |
6164 |
|
{ ac_try='test -s conftest$ac_exeext' |
6165 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6166 |
|
(eval $ac_try) 2>&5 |
6167 |
|
ac_status=$? |
6168 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6169 |
|
(exit $ac_status); }; }; then |
6170 |
|
ac_cv_lib_com_err_main=yes |
6171 |
|
else |
6172 |
|
echo "$as_me: failed program was:" >&5 |
6173 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
6174 |
|
|
6175 |
|
ac_cv_lib_com_err_main=no |
6176 |
|
fi |
6177 |
|
rm -f conftest.err conftest.$ac_objext \ |
6178 |
|
conftest$ac_exeext conftest.$ac_ext |
6179 |
|
LIBS=$ac_check_lib_save_LIBS |
6180 |
|
fi |
6181 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_com_err_main" >&5 |
6182 |
|
echo "${ECHO_T}$ac_cv_lib_com_err_main" >&6 |
6183 |
|
if test $ac_cv_lib_com_err_main = yes; then |
6184 |
LIBS="${LIBS} -lcom_err" |
LIBS="${LIBS} -lcom_err" |
|
else |
|
|
echo "$ac_t""no" 1>&6 |
|
6185 |
fi |
fi |
6186 |
|
|
6187 |
echo $ac_n "checking for krb_mk_auth""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for krb_mk_auth" >&5 |
6188 |
echo "configure:2789: checking for krb_mk_auth" >&5 |
echo $ECHO_N "checking for krb_mk_auth... $ECHO_C" >&6 |
6189 |
if eval "test \"`echo '$''{'ac_cv_func_krb_mk_auth'+set}'`\" = set"; then |
if test "${ac_cv_func_krb_mk_auth+set}" = set; then |
6190 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
6191 |
else |
else |
6192 |
cat > conftest.$ac_ext <<EOF |
cat >conftest.$ac_ext <<_ACEOF |
6193 |
#line 2794 "configure" |
/* confdefs.h. */ |
6194 |
#include "confdefs.h" |
_ACEOF |
6195 |
|
cat confdefs.h >>conftest.$ac_ext |
6196 |
|
cat >>conftest.$ac_ext <<_ACEOF |
6197 |
|
/* end confdefs.h. */ |
6198 |
|
/* Define krb_mk_auth to an innocuous variant, in case <limits.h> declares krb_mk_auth. |
6199 |
|
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
6200 |
|
#define krb_mk_auth innocuous_krb_mk_auth |
6201 |
|
|
6202 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
6203 |
which can conflict with char krb_mk_auth(); below. */ |
which can conflict with char krb_mk_auth (); below. |
6204 |
#include <assert.h> |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
6205 |
/* Override any gcc2 internal prototype to avoid an error. */ |
<limits.h> exists even on freestanding compilers. */ |
6206 |
/* We use char because int might match the return type of a gcc2 |
|
6207 |
builtin and then its argument prototype would still apply. */ |
#ifdef __STDC__ |
6208 |
char krb_mk_auth(); |
# include <limits.h> |
6209 |
|
#else |
6210 |
|
# include <assert.h> |
6211 |
|
#endif |
6212 |
|
|
6213 |
int main() { |
#undef krb_mk_auth |
6214 |
|
|
6215 |
|
/* Override any gcc2 internal prototype to avoid an error. */ |
6216 |
|
#ifdef __cplusplus |
6217 |
|
extern "C" |
6218 |
|
{ |
6219 |
|
#endif |
6220 |
|
/* We use char because int might match the return type of a gcc2 |
6221 |
|
builtin and then its argument prototype would still apply. */ |
6222 |
|
char krb_mk_auth (); |
6223 |
/* The GNU C library defines this for functions which it implements |
/* The GNU C library defines this for functions which it implements |
6224 |
to always fail with ENOSYS. Some functions are actually named |
to always fail with ENOSYS. Some functions are actually named |
6225 |
something starting with __ and the normal name is an alias. */ |
something starting with __ and the normal name is an alias. */ |
6226 |
#if defined (__stub_krb_mk_auth) || defined (__stub___krb_mk_auth) |
#if defined (__stub_krb_mk_auth) || defined (__stub___krb_mk_auth) |
6227 |
choke me |
choke me |
6228 |
#else |
#else |
6229 |
krb_mk_auth(); |
char (*f) () = krb_mk_auth; |
6230 |
|
#endif |
6231 |
|
#ifdef __cplusplus |
6232 |
|
} |
6233 |
#endif |
#endif |
6234 |
|
|
6235 |
; return 0; } |
int |
6236 |
EOF |
main () |
6237 |
if { (eval echo configure:2817: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
{ |
6238 |
rm -rf conftest* |
return f != krb_mk_auth; |
6239 |
eval "ac_cv_func_krb_mk_auth=yes" |
; |
6240 |
else |
return 0; |
6241 |
echo "configure: failed program was:" >&5 |
} |
6242 |
cat conftest.$ac_ext >&5 |
_ACEOF |
6243 |
rm -rf conftest* |
rm -f conftest.$ac_objext conftest$ac_exeext |
6244 |
eval "ac_cv_func_krb_mk_auth=no" |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
6245 |
fi |
(eval $ac_link) 2>conftest.er1 |
6246 |
rm -f conftest* |
ac_status=$? |
6247 |
fi |
grep -v '^ *+' conftest.er1 >conftest.err |
6248 |
|
rm -f conftest.er1 |
6249 |
if eval "test \"`echo '$ac_cv_func_'krb_mk_auth`\" = yes"; then |
cat conftest.err >&5 |
6250 |
echo "$ac_t""yes" 1>&6 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6251 |
|
(exit $ac_status); } && |
6252 |
|
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
6253 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6254 |
|
(eval $ac_try) 2>&5 |
6255 |
|
ac_status=$? |
6256 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6257 |
|
(exit $ac_status); }; } && |
6258 |
|
{ ac_try='test -s conftest$ac_exeext' |
6259 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6260 |
|
(eval $ac_try) 2>&5 |
6261 |
|
ac_status=$? |
6262 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6263 |
|
(exit $ac_status); }; }; then |
6264 |
|
ac_cv_func_krb_mk_auth=yes |
6265 |
|
else |
6266 |
|
echo "$as_me: failed program was:" >&5 |
6267 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
6268 |
|
|
6269 |
|
ac_cv_func_krb_mk_auth=no |
6270 |
|
fi |
6271 |
|
rm -f conftest.err conftest.$ac_objext \ |
6272 |
|
conftest$ac_exeext conftest.$ac_ext |
6273 |
|
fi |
6274 |
|
echo "$as_me:$LINENO: result: $ac_cv_func_krb_mk_auth" >&5 |
6275 |
|
echo "${ECHO_T}$ac_cv_func_krb_mk_auth" >&6 |
6276 |
|
if test $ac_cv_func_krb_mk_auth = yes; then |
6277 |
: |
: |
6278 |
else |
else |
6279 |
echo "$ac_t""no" 1>&6 |
# BSD Kerberos doesn't have these functions. |
|
# BSD Kerberos doesn't have these functions. |
|
6280 |
EXTRA_OBJS="mk_auth.o $EXTRA_OBJS" |
EXTRA_OBJS="mk_auth.o $EXTRA_OBJS" |
6281 |
|
|
6282 |
fi |
fi |
6283 |
|
|
6284 |
fi |
fi |
6285 |
fi |
fi |
6286 |
|
|
6287 |
for ac_func in krb_get_err_text |
for ac_func in krb_get_err_text |
6288 |
do |
do |
6289 |
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
6290 |
echo "configure:2844: checking for $ac_func" >&5 |
echo "$as_me:$LINENO: checking for $ac_func" >&5 |
6291 |
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
6292 |
echo $ac_n "(cached) $ac_c" 1>&6 |
if eval "test \"\${$as_ac_var+set}\" = set"; then |
6293 |
else |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
6294 |
cat > conftest.$ac_ext <<EOF |
else |
6295 |
#line 2849 "configure" |
cat >conftest.$ac_ext <<_ACEOF |
6296 |
#include "confdefs.h" |
/* confdefs.h. */ |
6297 |
|
_ACEOF |
6298 |
|
cat confdefs.h >>conftest.$ac_ext |
6299 |
|
cat >>conftest.$ac_ext <<_ACEOF |
6300 |
|
/* end confdefs.h. */ |
6301 |
|
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
6302 |
|
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
6303 |
|
#define $ac_func innocuous_$ac_func |
6304 |
|
|
6305 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
6306 |
which can conflict with char $ac_func(); below. */ |
which can conflict with char $ac_func (); below. |
6307 |
#include <assert.h> |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
6308 |
/* Override any gcc2 internal prototype to avoid an error. */ |
<limits.h> exists even on freestanding compilers. */ |
6309 |
/* We use char because int might match the return type of a gcc2 |
|
6310 |
builtin and then its argument prototype would still apply. */ |
#ifdef __STDC__ |
6311 |
char $ac_func(); |
# include <limits.h> |
6312 |
|
#else |
6313 |
|
# include <assert.h> |
6314 |
|
#endif |
6315 |
|
|
6316 |
int main() { |
#undef $ac_func |
6317 |
|
|
6318 |
|
/* Override any gcc2 internal prototype to avoid an error. */ |
6319 |
|
#ifdef __cplusplus |
6320 |
|
extern "C" |
6321 |
|
{ |
6322 |
|
#endif |
6323 |
|
/* We use char because int might match the return type of a gcc2 |
6324 |
|
builtin and then its argument prototype would still apply. */ |
6325 |
|
char $ac_func (); |
6326 |
/* The GNU C library defines this for functions which it implements |
/* The GNU C library defines this for functions which it implements |
6327 |
to always fail with ENOSYS. Some functions are actually named |
to always fail with ENOSYS. Some functions are actually named |
6328 |
something starting with __ and the normal name is an alias. */ |
something starting with __ and the normal name is an alias. */ |
6329 |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
6330 |
choke me |
choke me |
6331 |
#else |
#else |
6332 |
$ac_func(); |
char (*f) () = $ac_func; |
6333 |
|
#endif |
6334 |
|
#ifdef __cplusplus |
6335 |
|
} |
6336 |
#endif |
#endif |
6337 |
|
|
6338 |
; return 0; } |
int |
6339 |
EOF |
main () |
6340 |
if { (eval echo configure:2872: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
{ |
6341 |
rm -rf conftest* |
return f != $ac_func; |
6342 |
eval "ac_cv_func_$ac_func=yes" |
; |
6343 |
else |
return 0; |
6344 |
echo "configure: failed program was:" >&5 |
} |
6345 |
cat conftest.$ac_ext >&5 |
_ACEOF |
6346 |
rm -rf conftest* |
rm -f conftest.$ac_objext conftest$ac_exeext |
6347 |
eval "ac_cv_func_$ac_func=no" |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
6348 |
fi |
(eval $ac_link) 2>conftest.er1 |
6349 |
rm -f conftest* |
ac_status=$? |
6350 |
fi |
grep -v '^ *+' conftest.er1 >conftest.err |
6351 |
|
rm -f conftest.er1 |
6352 |
|
cat conftest.err >&5 |
6353 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6354 |
|
(exit $ac_status); } && |
6355 |
|
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
6356 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6357 |
|
(eval $ac_try) 2>&5 |
6358 |
|
ac_status=$? |
6359 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6360 |
|
(exit $ac_status); }; } && |
6361 |
|
{ ac_try='test -s conftest$ac_exeext' |
6362 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6363 |
|
(eval $ac_try) 2>&5 |
6364 |
|
ac_status=$? |
6365 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6366 |
|
(exit $ac_status); }; }; then |
6367 |
|
eval "$as_ac_var=yes" |
6368 |
|
else |
6369 |
|
echo "$as_me: failed program was:" >&5 |
6370 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
6371 |
|
|
6372 |
|
eval "$as_ac_var=no" |
6373 |
|
fi |
6374 |
|
rm -f conftest.err conftest.$ac_objext \ |
6375 |
|
conftest$ac_exeext conftest.$ac_ext |
6376 |
|
fi |
6377 |
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
6378 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
6379 |
|
if test `eval echo '${'$as_ac_var'}'` = yes; then |
6380 |
|
cat >>confdefs.h <<_ACEOF |
6381 |
|
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
6382 |
|
_ACEOF |
6383 |
|
|
|
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 |
|
6384 |
fi |
fi |
6385 |
done |
done |
6386 |
|
|
6400 |
|
|
6401 |
|
|
6402 |
# And GNATS_SERVICE |
# And GNATS_SERVICE |
6403 |
echo $ac_n "checking for --with-gnats-service""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for --with-gnats-service" >&5 |
6404 |
echo "configure:2913: checking for --with-gnats-service" >&5 |
echo $ECHO_N "checking for --with-gnats-service... $ECHO_C" >&6 |
6405 |
if test -n "$with_gnats_service"; then |
if test -n "$with_gnats_service"; then |
6406 |
echo "$ac_t""$with_gnats_service" 1>&6 |
echo "$as_me:$LINENO: result: $with_gnats_service" >&5 |
6407 |
|
echo "${ECHO_T}$with_gnats_service" >&6 |
6408 |
GNATS_SERVICE=$with_gnats_service |
GNATS_SERVICE=$with_gnats_service |
6409 |
fi |
fi |
6410 |
if test -z "${GNATS_SERVICE}"; then |
if test -z "${GNATS_SERVICE}"; then |
6411 |
echo "$ac_t""default to support" 1>&6 |
echo "$as_me:$LINENO: result: default to support" >&5 |
6412 |
|
echo "${ECHO_T}default to support" >&6 |
6413 |
GNATS_SERVICE=support |
GNATS_SERVICE=support |
6414 |
fi |
fi |
6415 |
|
|
6416 |
# And GNATS_USER |
# And GNATS_USER |
6417 |
echo $ac_n "checking for --with-gnats-user""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for --with-gnats-user" >&5 |
6418 |
echo "configure:2925: checking for --with-gnats-user" >&5 |
echo $ECHO_N "checking for --with-gnats-user... $ECHO_C" >&6 |
6419 |
if test -n "$with_gnats_user"; then |
if test -n "$with_gnats_user"; then |
6420 |
echo "$ac_t""$with_gnats_user" 1>&6 |
echo "$as_me:$LINENO: result: $with_gnats_user" >&5 |
6421 |
|
echo "${ECHO_T}$with_gnats_user" >&6 |
6422 |
GNATS_USER=$with_gnats_user |
GNATS_USER=$with_gnats_user |
6423 |
fi |
fi |
6424 |
if test -z "${GNATS_USER}"; then |
if test -z "${GNATS_USER}"; then |
6425 |
echo "$ac_t""default to gnats" 1>&6 |
echo "$as_me:$LINENO: result: default to gnats" >&5 |
6426 |
|
echo "${ECHO_T}default to gnats" >&6 |
6427 |
GNATS_USER=gnats |
GNATS_USER=gnats |
6428 |
fi |
fi |
6429 |
|
|
6430 |
echo $ac_n "checking for --with-gnatsd-user-access-file""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for --with-gnatsd-user-access-file" >&5 |
6431 |
echo "configure:2936: checking for --with-gnatsd-user-access-file" >&5 |
echo $ECHO_N "checking for --with-gnatsd-user-access-file... $ECHO_C" >&6 |
6432 |
if test -n "${with_gnatsd_user_access_file}"; then |
if test -n "${with_gnatsd_user_access_file}"; then |
6433 |
echo "$ac_t""$with_gnatsd_user_access_file" 1>&6 |
echo "$as_me:$LINENO: result: $with_gnatsd_user_access_file" >&5 |
6434 |
|
echo "${ECHO_T}$with_gnatsd_user_access_file" >&6 |
6435 |
GNATSD_USER_ACCESS_FILE=$with_gnatsd_user_access_file |
GNATSD_USER_ACCESS_FILE=$with_gnatsd_user_access_file |
6436 |
fi |
fi |
6437 |
|
|
6438 |
if test -z "${GNATSD_USER_ACCESS_FILE}"; then |
if test -z "${GNATSD_USER_ACCESS_FILE}"; then |
6439 |
echo "$ac_t""default to ${sysconfdir}/gnats/gnatsd.user_access" 1>&6 |
echo "$as_me:$LINENO: result: default to ${sysconfdir}/gnats/gnatsd.user_access" >&5 |
6440 |
|
echo "${ECHO_T}default to ${sysconfdir}/gnats/gnatsd.user_access" >&6 |
6441 |
GNATSD_USER_ACCESS_FILE=${sysconfdir}/gnats/gnatsd.user_access |
GNATSD_USER_ACCESS_FILE=${sysconfdir}/gnats/gnatsd.user_access |
6442 |
fi |
fi |
6443 |
|
|
6444 |
echo $ac_n "checking for --with-gnatsd-host-access-file""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for --with-gnatsd-host-access-file" >&5 |
6445 |
echo "configure:2948: checking for --with-gnatsd-host-access-file" >&5 |
echo $ECHO_N "checking for --with-gnatsd-host-access-file... $ECHO_C" >&6 |
6446 |
if test -n "${with_gnatsd_host_access_file}"; then |
if test -n "${with_gnatsd_host_access_file}"; then |
6447 |
echo "$ac_t""$with_gnatsd_host_access_file" 1>&6 |
echo "$as_me:$LINENO: result: $with_gnatsd_host_access_file" >&5 |
6448 |
|
echo "${ECHO_T}$with_gnatsd_host_access_file" >&6 |
6449 |
GNATSD_HOST_ACCESS_FILE=$with_gnatsd_host_access_file |
GNATSD_HOST_ACCESS_FILE=$with_gnatsd_host_access_file |
6450 |
fi |
fi |
6451 |
|
|
6452 |
if test -z "${GNATSD_HOST_ACCESS_FILE}"; then |
if test -z "${GNATSD_HOST_ACCESS_FILE}"; then |
6453 |
echo "$ac_t""default to ${sysconfdir}/gnats/gnatsd.host_access" 1>&6 |
echo "$as_me:$LINENO: result: default to ${sysconfdir}/gnats/gnatsd.host_access" >&5 |
6454 |
|
echo "${ECHO_T}default to ${sysconfdir}/gnats/gnatsd.host_access" >&6 |
6455 |
GNATSD_HOST_ACCESS_FILE=${sysconfdir}/gnats/gnatsd.host_access |
GNATSD_HOST_ACCESS_FILE=${sysconfdir}/gnats/gnatsd.host_access |
6456 |
fi |
fi |
6457 |
|
|
6458 |
echo $ac_n "checking for --with-gnats-dblist-file""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for --with-gnats-dblist-file" >&5 |
6459 |
echo "configure:2960: checking for --with-gnats-dblist-file" >&5 |
echo $ECHO_N "checking for --with-gnats-dblist-file... $ECHO_C" >&6 |
6460 |
if test -n "${with_gnats_dblist_file}"; then |
if test -n "${with_gnats_dblist_file}"; then |
6461 |
echo "$ac_t""$with_gnats_dblist_file" 1>&6 |
echo "$as_me:$LINENO: result: $with_gnats_dblist_file" >&5 |
6462 |
|
echo "${ECHO_T}$with_gnats_dblist_file" >&6 |
6463 |
GLOBAL_DB_LIST_FILE=$with_gnats_dblist_file |
GLOBAL_DB_LIST_FILE=$with_gnats_dblist_file |
6464 |
fi |
fi |
6465 |
|
|
6466 |
if test -z "${GLOBAL_DB_LIST_FILE}"; then |
if test -z "${GLOBAL_DB_LIST_FILE}"; then |
6467 |
echo "$ac_t""default to ${sysconfdir}/gnats/databases" 1>&6 |
echo "$as_me:$LINENO: result: default to ${sysconfdir}/gnats/databases" >&5 |
6468 |
|
echo "${ECHO_T}default to ${sysconfdir}/gnats/databases" >&6 |
6469 |
GLOBAL_DB_LIST_FILE=${sysconfdir}/gnats/databases |
GLOBAL_DB_LIST_FILE=${sysconfdir}/gnats/databases |
6470 |
fi |
fi |
6471 |
|
|
6472 |
echo $ac_n "checking for --with-gnats-default-db""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for --with-gnats-default-db" >&5 |
6473 |
echo "configure:2972: checking for --with-gnats-default-db" >&5 |
echo $ECHO_N "checking for --with-gnats-default-db... $ECHO_C" >&6 |
6474 |
if test -n "${with_gnats_default_db}"; then |
if test -n "${with_gnats_default_db}"; then |
6475 |
echo "$ac_t""$with_gnats_default_db" 1>&6 |
echo "$as_me:$LINENO: result: $with_gnats_default_db" >&5 |
6476 |
|
echo "${ECHO_T}$with_gnats_default_db" >&6 |
6477 |
GNATS_DEFAULT_DB_DIR="$with_gnats_default_db" |
GNATS_DEFAULT_DB_DIR="$with_gnats_default_db" |
6478 |
fi |
fi |
6479 |
|
|
6480 |
if test -z "${GNATS_DEFAULT_DB_DIR}"; then |
if test -z "${GNATS_DEFAULT_DB_DIR}"; then |
6481 |
echo "$ac_t""default to ${sharedstatedir}/gnatsdb" 1>&6 |
echo "$as_me:$LINENO: result: default to ${sharedstatedir}/gnatsdb" >&5 |
6482 |
|
echo "${ECHO_T}default to ${sharedstatedir}/gnatsdb" >&6 |
6483 |
GNATS_DEFAULT_DB_DIR=${sharedstatedir}/gnatsdb |
GNATS_DEFAULT_DB_DIR=${sharedstatedir}/gnatsdb |
6484 |
fi |
fi |
6485 |
|
|
6498 |
|
|
6499 |
# Extract the first word of "sendmail", so it can be a program name with args. |
# Extract the first word of "sendmail", so it can be a program name with args. |
6500 |
set dummy sendmail; ac_word=$2 |
set dummy sendmail; ac_word=$2 |
6501 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
6502 |
echo "configure:2999: checking for $ac_word" >&5 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
6503 |
if eval "test \"`echo '$''{'ac_cv_path_SENDMAIL'+set}'`\" = set"; then |
if test "${ac_cv_path_SENDMAIL+set}" = set; then |
6504 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
6505 |
else |
else |
6506 |
case "$SENDMAIL" in |
case $SENDMAIL in |
6507 |
/*) |
[\\/]* | ?:[\\/]*) |
6508 |
ac_cv_path_SENDMAIL="$SENDMAIL" # Let the user override the test with a path. |
ac_cv_path_SENDMAIL="$SENDMAIL" # Let the user override the test with a path. |
6509 |
;; |
;; |
|
?:/*) |
|
|
ac_cv_path_SENDMAIL="$SENDMAIL" # Let the user override the test with a dos path. |
|
|
;; |
|
6510 |
*) |
*) |
6511 |
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
6512 |
ac_dummy="$PATH:/usr/lib:/usr/sbin:/usr/ucblib" |
as_dummy="$PATH:/usr/lib:/usr/sbin:/usr/ucblib" |
6513 |
for ac_dir in $ac_dummy; do |
for as_dir in $as_dummy |
6514 |
test -z "$ac_dir" && ac_dir=. |
do |
6515 |
if test -f $ac_dir/$ac_word; then |
IFS=$as_save_IFS |
6516 |
ac_cv_path_SENDMAIL="$ac_dir/$ac_word" |
test -z "$as_dir" && as_dir=. |
6517 |
break |
for ac_exec_ext in '' $ac_executable_extensions; do |
6518 |
fi |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
6519 |
done |
ac_cv_path_SENDMAIL="$as_dir/$ac_word$ac_exec_ext" |
6520 |
IFS="$ac_save_ifs" |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6521 |
|
break 2 |
6522 |
|
fi |
6523 |
|
done |
6524 |
|
done |
6525 |
|
|
6526 |
;; |
;; |
6527 |
esac |
esac |
6528 |
fi |
fi |
6529 |
SENDMAIL="$ac_cv_path_SENDMAIL" |
SENDMAIL=$ac_cv_path_SENDMAIL |
6530 |
|
|
6531 |
if test -n "$SENDMAIL"; then |
if test -n "$SENDMAIL"; then |
6532 |
echo "$ac_t""$SENDMAIL" 1>&6 |
echo "$as_me:$LINENO: result: $SENDMAIL" >&5 |
6533 |
|
echo "${ECHO_T}$SENDMAIL" >&6 |
6534 |
else |
else |
6535 |
echo "$ac_t""no" 1>&6 |
echo "$as_me:$LINENO: result: no" >&5 |
6536 |
|
echo "${ECHO_T}no" >&6 |
6537 |
fi |
fi |
6538 |
|
|
6539 |
if test -n "$SENDMAIL" ; then |
if test -n "$SENDMAIL" ; then |
6560 |
|
|
6561 |
# ***** End of configuration section ***** |
# ***** End of configuration section ***** |
6562 |
|
|
6563 |
trap '' 1 2 15 |
ac_config_files="$ac_config_files Makefile" |
6564 |
cat > confcache <<\EOF |
|
6565 |
|
cat >confcache <<\_ACEOF |
6566 |
# This file is a shell script that caches the results of configure |
# This file is a shell script that caches the results of configure |
6567 |
# tests run on this system so they can be shared between configure |
# tests run on this system so they can be shared between configure |
6568 |
# scripts and configure runs. It is not useful on other systems. |
# scripts and configure runs, see configure's option --config-cache. |
6569 |
# 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 |
6570 |
|
# want to keep, you may remove or edit it. |
6571 |
# |
# |
6572 |
# By default, configure uses ./config.cache as the cache file, |
# config.status only pays attention to the cache file if you give it |
6573 |
# 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. |
|
6574 |
# |
# |
6575 |
EOF |
# `ac_cv_env_foo' variables (set or unset) will be overridden when |
6576 |
|
# loading this file, other *unset* `ac_cv_foo' will be assigned the |
6577 |
|
# following values. |
6578 |
|
|
6579 |
|
_ACEOF |
6580 |
|
|
6581 |
# The following way of writing the cache mishandles newlines in values, |
# The following way of writing the cache mishandles newlines in values, |
6582 |
# but we know of no workaround that is simple, portable, and efficient. |
# but we know of no workaround that is simple, portable, and efficient. |
6583 |
# So, don't put newlines in cache variables' values. |
# So, don't put newlines in cache variables' values. |
6584 |
# Ultrix sh set writes to stderr and can't be redirected directly, |
# Ultrix sh set writes to stderr and can't be redirected directly, |
6585 |
# 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. |
6586 |
(set) 2>&1 | |
{ |
6587 |
case `(ac_space=' '; set | grep ac_space) 2>&1` in |
(set) 2>&1 | |
6588 |
*ac_space=\ *) |
case `(ac_space=' '; set | grep ac_space) 2>&1` in |
6589 |
# `set' does not quote correctly, so add quotes (double-quote substitution |
*ac_space=\ *) |
6590 |
# turns \\\\ into \\, and sed turns \\ into \). |
# `set' does not quote correctly, so add quotes (double-quote |
6591 |
sed -n \ |
# substitution turns \\\\ into \\, and sed turns \\ into \). |
6592 |
-e "s/'/'\\\\''/g" \ |
sed -n \ |
6593 |
-e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p" |
"s/'/'\\\\''/g; |
6594 |
;; |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
6595 |
*) |
;; |
6596 |
# `set' quotes correctly as required by POSIX, so do not add quotes. |
*) |
6597 |
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. |
6598 |
;; |
sed -n \ |
6599 |
esac >> confcache |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
6600 |
if cmp -s $cache_file confcache; then |
;; |
6601 |
: |
esac; |
6602 |
else |
} | |
6603 |
|
sed ' |
6604 |
|
t clear |
6605 |
|
: clear |
6606 |
|
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ |
6607 |
|
t end |
6608 |
|
/^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
6609 |
|
: end' >>confcache |
6610 |
|
if diff $cache_file confcache >/dev/null 2>&1; then :; else |
6611 |
if test -w $cache_file; then |
if test -w $cache_file; then |
6612 |
echo "updating cache $cache_file" |
test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" |
6613 |
cat confcache > $cache_file |
cat confcache >$cache_file |
6614 |
else |
else |
6615 |
echo "not updating unwritable cache $cache_file" |
echo "not updating unwritable cache $cache_file" |
6616 |
fi |
fi |
6617 |
fi |
fi |
6618 |
rm -f confcache |
rm -f confcache |
6619 |
|
|
|
trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 |
|
|
|
|
6620 |
test "x$prefix" = xNONE && prefix=$ac_default_prefix |
test "x$prefix" = xNONE && prefix=$ac_default_prefix |
6621 |
# Let make expand exec_prefix. |
# Let make expand exec_prefix. |
6622 |
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
6623 |
|
|
6624 |
# Any assignment to VPATH causes Sun make to only execute |
# VPATH may cause trouble with some makes, so we remove $(srcdir), |
6625 |
# the first set of double-colon rules, so remove it if not needed. |
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and |
6626 |
# 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 |
6627 |
|
# (actually we leave an empty line to preserve line numbers). |
6628 |
if test "x$srcdir" = x.; then |
if test "x$srcdir" = x.; then |
6629 |
ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d' |
ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
6630 |
|
s/:*\$(srcdir):*/:/; |
6631 |
|
s/:*\${srcdir}:*/:/; |
6632 |
|
s/:*@srcdir@:*/:/; |
6633 |
|
s/^\([^=]*=[ ]*\):*/\1/; |
6634 |
|
s/:*$//; |
6635 |
|
s/^[^=]*=[ ]*$//; |
6636 |
|
}' |
6637 |
fi |
fi |
6638 |
|
|
|
trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15 |
|
|
|
|
6639 |
DEFS=-DHAVE_CONFIG_H |
DEFS=-DHAVE_CONFIG_H |
6640 |
|
|
6641 |
# Without the "./", some shells look in PATH for config.status. |
ac_libobjs= |
6642 |
: ${CONFIG_STATUS=./config.status} |
ac_ltlibobjs= |
6643 |
|
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
6644 |
|
# 1. Remove the extension, and $U if already installed. |
6645 |
|
ac_i=`echo "$ac_i" | |
6646 |
|
sed 's/\$U\././;s/\.o$//;s/\.obj$//'` |
6647 |
|
# 2. Add them. |
6648 |
|
ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" |
6649 |
|
ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' |
6650 |
|
done |
6651 |
|
LIBOBJS=$ac_libobjs |
6652 |
|
|
6653 |
echo creating $CONFIG_STATUS |
LTLIBOBJS=$ac_ltlibobjs |
6654 |
rm -f $CONFIG_STATUS |
|
6655 |
cat > $CONFIG_STATUS <<EOF |
|
6656 |
#! /bin/sh |
|
6657 |
# Generated automatically by configure. |
: ${CONFIG_STATUS=./config.status} |
6658 |
|
ac_clean_files_save=$ac_clean_files |
6659 |
|
ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
6660 |
|
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 |
6661 |
|
echo "$as_me: creating $CONFIG_STATUS" >&6;} |
6662 |
|
cat >$CONFIG_STATUS <<_ACEOF |
6663 |
|
#! $SHELL |
6664 |
|
# Generated by $as_me. |
6665 |
# 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 |
|
|
# |
|
6666 |
# Compiler output produced by configure, useful for debugging |
# Compiler output produced by configure, useful for debugging |
6667 |
# configure, is in ./config.log if it exists. |
# configure, is in config.log if it exists. |
6668 |
|
|
6669 |
ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]" |
debug=false |
6670 |
for ac_option |
ac_cs_recheck=false |
6671 |
|
ac_cs_silent=false |
6672 |
|
SHELL=\${CONFIG_SHELL-$SHELL} |
6673 |
|
_ACEOF |
6674 |
|
|
6675 |
|
cat >>$CONFIG_STATUS <<\_ACEOF |
6676 |
|
## --------------------- ## |
6677 |
|
## M4sh Initialization. ## |
6678 |
|
## --------------------- ## |
6679 |
|
|
6680 |
|
# Be Bourne compatible |
6681 |
|
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
6682 |
|
emulate sh |
6683 |
|
NULLCMD=: |
6684 |
|
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
6685 |
|
# is contrary to our usage. Disable this feature. |
6686 |
|
alias -g '${1+"$@"}'='"$@"' |
6687 |
|
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
6688 |
|
set -o posix |
6689 |
|
fi |
6690 |
|
DUALCASE=1; export DUALCASE # for MKS sh |
6691 |
|
|
6692 |
|
# Support unset when possible. |
6693 |
|
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
6694 |
|
as_unset=unset |
6695 |
|
else |
6696 |
|
as_unset=false |
6697 |
|
fi |
6698 |
|
|
6699 |
|
|
6700 |
|
# Work around bugs in pre-3.0 UWIN ksh. |
6701 |
|
$as_unset ENV MAIL MAILPATH |
6702 |
|
PS1='$ ' |
6703 |
|
PS2='> ' |
6704 |
|
PS4='+ ' |
6705 |
|
|
6706 |
|
# NLS nuisances. |
6707 |
|
for as_var in \ |
6708 |
|
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ |
6709 |
|
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
6710 |
|
LC_TELEPHONE LC_TIME |
6711 |
do |
do |
6712 |
case "\$ac_option" in |
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
6713 |
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
eval $as_var=C; export $as_var |
6714 |
echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion" |
else |
6715 |
exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;; |
$as_unset $as_var |
6716 |
-version | --version | --versio | --versi | --vers | --ver | --ve | --v) |
fi |
6717 |
echo "$CONFIG_STATUS generated by autoconf version 2.13" |
done |
6718 |
exit 0 ;; |
|
6719 |
-help | --help | --hel | --he | --h) |
# Required to use basename. |
6720 |
echo "\$ac_cs_usage"; exit 0 ;; |
if expr a : '\(a\)' >/dev/null 2>&1; then |
6721 |
*) echo "\$ac_cs_usage"; exit 1 ;; |
as_expr=expr |
6722 |
|
else |
6723 |
|
as_expr=false |
6724 |
|
fi |
6725 |
|
|
6726 |
|
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then |
6727 |
|
as_basename=basename |
6728 |
|
else |
6729 |
|
as_basename=false |
6730 |
|
fi |
6731 |
|
|
6732 |
|
|
6733 |
|
# Name of the executable. |
6734 |
|
as_me=`$as_basename "$0" || |
6735 |
|
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
6736 |
|
X"$0" : 'X\(//\)$' \| \ |
6737 |
|
X"$0" : 'X\(/\)$' \| \ |
6738 |
|
. : '\(.\)' 2>/dev/null || |
6739 |
|
echo X/"$0" | |
6740 |
|
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } |
6741 |
|
/^X\/\(\/\/\)$/{ s//\1/; q; } |
6742 |
|
/^X\/\(\/\).*/{ s//\1/; q; } |
6743 |
|
s/.*/./; q'` |
6744 |
|
|
6745 |
|
|
6746 |
|
# PATH needs CR, and LINENO needs CR and PATH. |
6747 |
|
# Avoid depending upon Character Ranges. |
6748 |
|
as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
6749 |
|
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
6750 |
|
as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
6751 |
|
as_cr_digits='0123456789' |
6752 |
|
as_cr_alnum=$as_cr_Letters$as_cr_digits |
6753 |
|
|
6754 |
|
# The user is always right. |
6755 |
|
if test "${PATH_SEPARATOR+set}" != set; then |
6756 |
|
echo "#! /bin/sh" >conf$$.sh |
6757 |
|
echo "exit 0" >>conf$$.sh |
6758 |
|
chmod +x conf$$.sh |
6759 |
|
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
6760 |
|
PATH_SEPARATOR=';' |
6761 |
|
else |
6762 |
|
PATH_SEPARATOR=: |
6763 |
|
fi |
6764 |
|
rm -f conf$$.sh |
6765 |
|
fi |
6766 |
|
|
6767 |
|
|
6768 |
|
as_lineno_1=$LINENO |
6769 |
|
as_lineno_2=$LINENO |
6770 |
|
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
6771 |
|
test "x$as_lineno_1" != "x$as_lineno_2" && |
6772 |
|
test "x$as_lineno_3" = "x$as_lineno_2" || { |
6773 |
|
# Find who we are. Look in the path if we contain no path at all |
6774 |
|
# relative or not. |
6775 |
|
case $0 in |
6776 |
|
*[\\/]* ) as_myself=$0 ;; |
6777 |
|
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
6778 |
|
for as_dir in $PATH |
6779 |
|
do |
6780 |
|
IFS=$as_save_IFS |
6781 |
|
test -z "$as_dir" && as_dir=. |
6782 |
|
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
6783 |
|
done |
6784 |
|
|
6785 |
|
;; |
6786 |
esac |
esac |
6787 |
|
# We did not find ourselves, most probably we were run as `sh COMMAND' |
6788 |
|
# in which case we are not to be found in the path. |
6789 |
|
if test "x$as_myself" = x; then |
6790 |
|
as_myself=$0 |
6791 |
|
fi |
6792 |
|
if test ! -f "$as_myself"; then |
6793 |
|
{ { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 |
6794 |
|
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} |
6795 |
|
{ (exit 1); exit 1; }; } |
6796 |
|
fi |
6797 |
|
case $CONFIG_SHELL in |
6798 |
|
'') |
6799 |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
6800 |
|
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
6801 |
|
do |
6802 |
|
IFS=$as_save_IFS |
6803 |
|
test -z "$as_dir" && as_dir=. |
6804 |
|
for as_base in sh bash ksh sh5; do |
6805 |
|
case $as_dir in |
6806 |
|
/*) |
6807 |
|
if ("$as_dir/$as_base" -c ' |
6808 |
|
as_lineno_1=$LINENO |
6809 |
|
as_lineno_2=$LINENO |
6810 |
|
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
6811 |
|
test "x$as_lineno_1" != "x$as_lineno_2" && |
6812 |
|
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then |
6813 |
|
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } |
6814 |
|
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } |
6815 |
|
CONFIG_SHELL=$as_dir/$as_base |
6816 |
|
export CONFIG_SHELL |
6817 |
|
exec "$CONFIG_SHELL" "$0" ${1+"$@"} |
6818 |
|
fi;; |
6819 |
|
esac |
6820 |
|
done |
6821 |
done |
done |
6822 |
|
;; |
6823 |
|
esac |
6824 |
|
|
6825 |
ac_given_srcdir=$srcdir |
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
6826 |
ac_given_INSTALL="$INSTALL" |
# uniformly replaced by the line number. The first 'sed' inserts a |
6827 |
|
# line-number line before each line; the second 'sed' does the real |
6828 |
|
# work. The second script uses 'N' to pair each line-number line |
6829 |
|
# with the numbered line, and appends trailing '-' during |
6830 |
|
# substitution so that $LINENO is not a special case at line end. |
6831 |
|
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
6832 |
|
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) |
6833 |
|
sed '=' <$as_myself | |
6834 |
|
sed ' |
6835 |
|
N |
6836 |
|
s,$,-, |
6837 |
|
: loop |
6838 |
|
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, |
6839 |
|
t loop |
6840 |
|
s,-$,, |
6841 |
|
s,^['$as_cr_digits']*\n,, |
6842 |
|
' >$as_me.lineno && |
6843 |
|
chmod +x $as_me.lineno || |
6844 |
|
{ { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 |
6845 |
|
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} |
6846 |
|
{ (exit 1); exit 1; }; } |
6847 |
|
|
6848 |
|
# Don't try to exec as it changes $[0], causing all sort of problems |
6849 |
|
# (the dirname of $[0] is not the place where we might find the |
6850 |
|
# original and so on. Autoconf is especially sensible to this). |
6851 |
|
. ./$as_me.lineno |
6852 |
|
# Exit status is that of the last command. |
6853 |
|
exit |
6854 |
|
} |
6855 |
|
|
|
trap 'rm -fr `echo "Makefile autoconf.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 |
|
|
EOF |
|
|
cat >> $CONFIG_STATUS <<EOF |
|
|
|
|
|
# Protect against being on the right side of a sed subst in config.status. |
|
|
sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g; |
|
|
s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF |
|
|
$ac_vpsub |
|
|
$extrasub |
|
|
s%@SHELL@%$SHELL%g |
|
|
s%@CFLAGS@%$CFLAGS%g |
|
|
s%@CPPFLAGS@%$CPPFLAGS%g |
|
|
s%@CXXFLAGS@%$CXXFLAGS%g |
|
|
s%@FFLAGS@%$FFLAGS%g |
|
|
s%@DEFS@%$DEFS%g |
|
|
s%@LDFLAGS@%$LDFLAGS%g |
|
|
s%@LIBS@%$LIBS%g |
|
|
s%@exec_prefix@%$exec_prefix%g |
|
|
s%@prefix@%$prefix%g |
|
|
s%@program_transform_name@%$program_transform_name%g |
|
|
s%@bindir@%$bindir%g |
|
|
s%@sbindir@%$sbindir%g |
|
|
s%@libexecdir@%$libexecdir%g |
|
|
s%@datadir@%$datadir%g |
|
|
s%@sysconfdir@%$sysconfdir%g |
|
|
s%@sharedstatedir@%$sharedstatedir%g |
|
|
s%@localstatedir@%$localstatedir%g |
|
|
s%@libdir@%$libdir%g |
|
|
s%@includedir@%$includedir%g |
|
|
s%@oldincludedir@%$oldincludedir%g |
|
|
s%@infodir@%$infodir%g |
|
|
s%@mandir@%$mandir%g |
|
|
s%@PROGS@%$PROGS%g |
|
|
s%@MAN@%$MAN%g |
|
|
s%@CC@%$CC%g |
|
|
s%@CPP@%$CPP%g |
|
|
s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g |
|
|
s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g |
|
|
s%@INSTALL_DATA@%$INSTALL_DATA%g |
|
|
s%@RANLIB@%$RANLIB%g |
|
|
s%@YACC@%$YACC%g |
|
|
s%@LEX@%$LEX%g |
|
|
s%@LEXLIB@%$LEXLIB%g |
|
|
s%@M4@%$M4%g |
|
|
s%@AWK@%$AWK%g |
|
|
s%@ALLOCA@%$ALLOCA%g |
|
|
s%@EMACS@%$EMACS%g |
|
|
s%@lispdir@%$lispdir%g |
|
|
s%@GNATS_ALL@%$GNATS_ALL%g |
|
|
s%@GNATS_INSTALL@%$GNATS_INSTALL%g |
|
|
s%@KRB4@%$KRB4%g |
|
|
s%@HAVE_KERBEROS@%$HAVE_KERBEROS%g |
|
|
s%@KRBINCLUDE@%$KRBINCLUDE%g |
|
|
s%@EXTRA_OBJS@%$EXTRA_OBJS%g |
|
|
s%@GNATS_SERVICE@%$GNATS_SERVICE%g |
|
|
s%@GNATS_USER@%$GNATS_USER%g |
|
|
s%@DEFAULT_RELEASE@%$DEFAULT_RELEASE%g |
|
|
s%@DEFAULT_ORGANIZATION@%$DEFAULT_ORGANIZATION%g |
|
|
s%@SUBMITTER@%$SUBMITTER%g |
|
|
s%@DEFAULT_MAIL_AGENT@%$DEFAULT_MAIL_AGENT%g |
|
|
s%@BWEEK_START@%$BWEEK_START%g |
|
|
s%@BWEEK_END@%$BWEEK_END%g |
|
|
s%@BDAY_START@%$BDAY_START%g |
|
|
s%@BDAY_END@%$BDAY_END%g |
|
|
s%@GNATSD_USER_ACCESS_FILE@%$GNATSD_USER_ACCESS_FILE%g |
|
|
s%@GNATSD_HOST_ACCESS_FILE@%$GNATSD_HOST_ACCESS_FILE%g |
|
|
s%@GLOBAL_DB_LIST_FILE@%$GLOBAL_DB_LIST_FILE%g |
|
|
s%@GNATS_DEFAULT_DB_DIR@%$GNATS_DEFAULT_DB_DIR%g |
|
|
s%@GCC_CFLAGS@%$GCC_CFLAGS%g |
|
|
s%@SENDMAIL@%$SENDMAIL%g |
|
6856 |
|
|
6857 |
CEOF |
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in |
6858 |
EOF |
*c*,-n*) ECHO_N= ECHO_C=' |
6859 |
|
' ECHO_T=' ' ;; |
6860 |
|
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; |
6861 |
|
*) ECHO_N= ECHO_C='\c' ECHO_T= ;; |
6862 |
|
esac |
6863 |
|
|
6864 |
cat >> $CONFIG_STATUS <<\EOF |
if expr a : '\(a\)' >/dev/null 2>&1; then |
6865 |
|
as_expr=expr |
6866 |
|
else |
6867 |
|
as_expr=false |
6868 |
|
fi |
6869 |
|
|
6870 |
# Split the substitutions into bite-sized pieces for seds with |
rm -f conf$$ conf$$.exe conf$$.file |
6871 |
# small command number limits, like on Digital OSF/1 and HP-UX. |
echo >conf$$.file |
6872 |
ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script. |
if ln -s conf$$.file conf$$ 2>/dev/null; then |
6873 |
ac_file=1 # Number of current file. |
# We could just check for DJGPP; but this test a) works b) is more generic |
6874 |
ac_beg=1 # First line for current file. |
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). |
6875 |
ac_end=$ac_max_sed_cmds # Line after last line for current file. |
if test -f conf$$.exe; then |
6876 |
ac_more_lines=: |
# Don't use ln at all; we don't have any links |
6877 |
ac_sed_cmds="" |
as_ln_s='cp -p' |
|
while $ac_more_lines; do |
|
|
if test $ac_beg -gt 1; then |
|
|
sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file |
|
|
else |
|
|
sed "${ac_end}q" conftest.subs > conftest.s$ac_file |
|
|
fi |
|
|
if test ! -s conftest.s$ac_file; then |
|
|
ac_more_lines=false |
|
|
rm -f conftest.s$ac_file |
|
6878 |
else |
else |
6879 |
if test -z "$ac_sed_cmds"; then |
as_ln_s='ln -s' |
|
ac_sed_cmds="sed -f conftest.s$ac_file" |
|
|
else |
|
|
ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file" |
|
|
fi |
|
|
ac_file=`expr $ac_file + 1` |
|
|
ac_beg=$ac_end |
|
|
ac_end=`expr $ac_end + $ac_max_sed_cmds` |
|
6880 |
fi |
fi |
6881 |
done |
elif ln conf$$.file conf$$ 2>/dev/null; then |
6882 |
if test -z "$ac_sed_cmds"; then |
as_ln_s=ln |
6883 |
ac_sed_cmds=cat |
else |
6884 |
|
as_ln_s='cp -p' |
6885 |
|
fi |
6886 |
|
rm -f conf$$ conf$$.exe conf$$.file |
6887 |
|
|
6888 |
|
if mkdir -p . 2>/dev/null; then |
6889 |
|
as_mkdir_p=: |
6890 |
|
else |
6891 |
|
test -d ./-p && rmdir ./-p |
6892 |
|
as_mkdir_p=false |
6893 |
fi |
fi |
|
EOF |
|
6894 |
|
|
6895 |
cat >> $CONFIG_STATUS <<EOF |
as_executable_p="test -f" |
6896 |
|
|
6897 |
CONFIG_FILES=\${CONFIG_FILES-"Makefile"} |
# Sed expression to map a string onto a valid CPP name. |
6898 |
EOF |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
6899 |
cat >> $CONFIG_STATUS <<\EOF |
|
6900 |
for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then |
# Sed expression to map a string onto a valid variable name. |
6901 |
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
6902 |
case "$ac_file" in |
|
6903 |
*:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'` |
|
6904 |
ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; |
# IFS |
6905 |
*) ac_file_in="${ac_file}.in" ;; |
# We need space, tab and new line, in precisely that order. |
6906 |
|
as_nl=' |
6907 |
|
' |
6908 |
|
IFS=" $as_nl" |
6909 |
|
|
6910 |
|
# CDPATH. |
6911 |
|
$as_unset CDPATH |
6912 |
|
|
6913 |
|
exec 6>&1 |
6914 |
|
|
6915 |
|
# Open the log real soon, to keep \$[0] and so on meaningful, and to |
6916 |
|
# report actual input values of CONFIG_FILES etc. instead of their |
6917 |
|
# values after options handling. Logging --version etc. is OK. |
6918 |
|
exec 5>>config.log |
6919 |
|
{ |
6920 |
|
echo |
6921 |
|
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX |
6922 |
|
## Running $as_me. ## |
6923 |
|
_ASBOX |
6924 |
|
} >&5 |
6925 |
|
cat >&5 <<_CSEOF |
6926 |
|
|
6927 |
|
This file was extended by gnats $as_me 4.1, which was |
6928 |
|
generated by GNU Autoconf 2.59. Invocation command line was |
6929 |
|
|
6930 |
|
CONFIG_FILES = $CONFIG_FILES |
6931 |
|
CONFIG_HEADERS = $CONFIG_HEADERS |
6932 |
|
CONFIG_LINKS = $CONFIG_LINKS |
6933 |
|
CONFIG_COMMANDS = $CONFIG_COMMANDS |
6934 |
|
$ $0 $@ |
6935 |
|
|
6936 |
|
_CSEOF |
6937 |
|
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 |
6938 |
|
echo >&5 |
6939 |
|
_ACEOF |
6940 |
|
|
6941 |
|
# Files that config.status was made for. |
6942 |
|
if test -n "$ac_config_files"; then |
6943 |
|
echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS |
6944 |
|
fi |
6945 |
|
|
6946 |
|
if test -n "$ac_config_headers"; then |
6947 |
|
echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS |
6948 |
|
fi |
6949 |
|
|
6950 |
|
if test -n "$ac_config_links"; then |
6951 |
|
echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS |
6952 |
|
fi |
6953 |
|
|
6954 |
|
if test -n "$ac_config_commands"; then |
6955 |
|
echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS |
6956 |
|
fi |
6957 |
|
|
6958 |
|
cat >>$CONFIG_STATUS <<\_ACEOF |
6959 |
|
|
6960 |
|
ac_cs_usage="\ |
6961 |
|
\`$as_me' instantiates files from templates according to the |
6962 |
|
current configuration. |
6963 |
|
|
6964 |
|
Usage: $0 [OPTIONS] [FILE]... |
6965 |
|
|
6966 |
|
-h, --help print this help, then exit |
6967 |
|
-V, --version print version number, then exit |
6968 |
|
-q, --quiet do not print progress messages |
6969 |
|
-d, --debug don't remove temporary files |
6970 |
|
--recheck update $as_me by reconfiguring in the same conditions |
6971 |
|
--file=FILE[:TEMPLATE] |
6972 |
|
instantiate the configuration file FILE |
6973 |
|
--header=FILE[:TEMPLATE] |
6974 |
|
instantiate the configuration header FILE |
6975 |
|
|
6976 |
|
Configuration files: |
6977 |
|
$config_files |
6978 |
|
|
6979 |
|
Configuration headers: |
6980 |
|
$config_headers |
6981 |
|
|
6982 |
|
Report bugs to <bug-autoconf@gnu.org>." |
6983 |
|
_ACEOF |
6984 |
|
|
6985 |
|
cat >>$CONFIG_STATUS <<_ACEOF |
6986 |
|
ac_cs_version="\\ |
6987 |
|
gnats config.status 4.1 |
6988 |
|
configured by $0, generated by GNU Autoconf 2.59, |
6989 |
|
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" |
6990 |
|
|
6991 |
|
Copyright (C) 2003 Free Software Foundation, Inc. |
6992 |
|
This config.status script is free software; the Free Software Foundation |
6993 |
|
gives unlimited permission to copy, distribute and modify it." |
6994 |
|
srcdir=$srcdir |
6995 |
|
INSTALL="$INSTALL" |
6996 |
|
_ACEOF |
6997 |
|
|
6998 |
|
cat >>$CONFIG_STATUS <<\_ACEOF |
6999 |
|
# If no file are specified by the user, then we need to provide default |
7000 |
|
# value. By we need to know if files were specified by the user. |
7001 |
|
ac_need_defaults=: |
7002 |
|
while test $# != 0 |
7003 |
|
do |
7004 |
|
case $1 in |
7005 |
|
--*=*) |
7006 |
|
ac_option=`expr "x$1" : 'x\([^=]*\)='` |
7007 |
|
ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` |
7008 |
|
ac_shift=: |
7009 |
|
;; |
7010 |
|
-*) |
7011 |
|
ac_option=$1 |
7012 |
|
ac_optarg=$2 |
7013 |
|
ac_shift=shift |
7014 |
|
;; |
7015 |
|
*) # This is not an option, so the user has probably given explicit |
7016 |
|
# arguments. |
7017 |
|
ac_option=$1 |
7018 |
|
ac_need_defaults=false;; |
7019 |
esac |
esac |
7020 |
|
|
7021 |
# Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories. |
case $ac_option in |
7022 |
|
# Handling of the options. |
7023 |
|
_ACEOF |
7024 |
|
cat >>$CONFIG_STATUS <<\_ACEOF |
7025 |
|
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
7026 |
|
ac_cs_recheck=: ;; |
7027 |
|
--version | --vers* | -V ) |
7028 |
|
echo "$ac_cs_version"; exit 0 ;; |
7029 |
|
--he | --h) |
7030 |
|
# Conflict between --help and --header |
7031 |
|
{ { echo "$as_me:$LINENO: error: ambiguous option: $1 |
7032 |
|
Try \`$0 --help' for more information." >&5 |
7033 |
|
echo "$as_me: error: ambiguous option: $1 |
7034 |
|
Try \`$0 --help' for more information." >&2;} |
7035 |
|
{ (exit 1); exit 1; }; };; |
7036 |
|
--help | --hel | -h ) |
7037 |
|
echo "$ac_cs_usage"; exit 0 ;; |
7038 |
|
--debug | --d* | -d ) |
7039 |
|
debug=: ;; |
7040 |
|
--file | --fil | --fi | --f ) |
7041 |
|
$ac_shift |
7042 |
|
CONFIG_FILES="$CONFIG_FILES $ac_optarg" |
7043 |
|
ac_need_defaults=false;; |
7044 |
|
--header | --heade | --head | --hea ) |
7045 |
|
$ac_shift |
7046 |
|
CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" |
7047 |
|
ac_need_defaults=false;; |
7048 |
|
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
7049 |
|
| -silent | --silent | --silen | --sile | --sil | --si | --s) |
7050 |
|
ac_cs_silent=: ;; |
7051 |
|
|
7052 |
# Remove last slash and all that follows it. Not all systems have dirname. |
# This is an error. |
7053 |
ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'` |
-*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 |
7054 |
if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then |
Try \`$0 --help' for more information." >&5 |
7055 |
# The file is in a subdirectory. |
echo "$as_me: error: unrecognized option: $1 |
7056 |
test ! -d "$ac_dir" && mkdir "$ac_dir" |
Try \`$0 --help' for more information." >&2;} |
7057 |
ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`" |
{ (exit 1); exit 1; }; } ;; |
7058 |
# A "../" for each directory in $ac_dir_suffix. |
|
7059 |
ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'` |
*) ac_config_targets="$ac_config_targets $1" ;; |
7060 |
else |
|
7061 |
ac_dir_suffix= ac_dots= |
esac |
7062 |
fi |
shift |
7063 |
|
done |
7064 |
case "$ac_given_srcdir" in |
|
7065 |
.) srcdir=. |
ac_configure_extra_args= |
7066 |
if test -z "$ac_dots"; then top_srcdir=. |
|
7067 |
else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;; |
if $ac_cs_silent; then |
7068 |
/*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;; |
exec 6>/dev/null |
7069 |
*) # Relative path. |
ac_configure_extra_args="$ac_configure_extra_args --silent" |
7070 |
srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix" |
fi |
7071 |
top_srcdir="$ac_dots$ac_given_srcdir" ;; |
|
7072 |
|
_ACEOF |
7073 |
|
cat >>$CONFIG_STATUS <<_ACEOF |
7074 |
|
if \$ac_cs_recheck; then |
7075 |
|
echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 |
7076 |
|
exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
7077 |
|
fi |
7078 |
|
|
7079 |
|
_ACEOF |
7080 |
|
|
7081 |
|
|
7082 |
|
|
7083 |
|
|
7084 |
|
|
7085 |
|
cat >>$CONFIG_STATUS <<\_ACEOF |
7086 |
|
for ac_config_target in $ac_config_targets |
7087 |
|
do |
7088 |
|
case "$ac_config_target" in |
7089 |
|
# Handling of arguments. |
7090 |
|
"Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
7091 |
|
"autoconf.h" ) CONFIG_HEADERS="$CONFIG_HEADERS autoconf.h" ;; |
7092 |
|
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
7093 |
|
echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
7094 |
|
{ (exit 1); exit 1; }; };; |
7095 |
esac |
esac |
7096 |
|
done |
7097 |
|
|
7098 |
|
# If the user did not use the arguments to specify the items to instantiate, |
7099 |
|
# then the envvar interface is used. Set only those that are not. |
7100 |
|
# We use the long form for the default assignment because of an extremely |
7101 |
|
# bizarre bug on SunOS 4.1.3. |
7102 |
|
if $ac_need_defaults; then |
7103 |
|
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files |
7104 |
|
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers |
7105 |
|
fi |
7106 |
|
|
7107 |
|
# Have a temporary directory for convenience. Make it in the build tree |
7108 |
|
# simply because there is no reason to put it here, and in addition, |
7109 |
|
# creating and moving files from /tmp can sometimes cause problems. |
7110 |
|
# Create a temporary directory, and hook for its removal unless debugging. |
7111 |
|
$debug || |
7112 |
|
{ |
7113 |
|
trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 |
7114 |
|
trap '{ (exit 1); exit 1; }' 1 2 13 15 |
7115 |
|
} |
7116 |
|
|
7117 |
|
# Create a (secure) tmp directory for tmp files. |
7118 |
|
|
7119 |
|
{ |
7120 |
|
tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && |
7121 |
|
test -n "$tmp" && test -d "$tmp" |
7122 |
|
} || |
7123 |
|
{ |
7124 |
|
tmp=./confstat$$-$RANDOM |
7125 |
|
(umask 077 && mkdir $tmp) |
7126 |
|
} || |
7127 |
|
{ |
7128 |
|
echo "$me: cannot create a temporary directory in ." >&2 |
7129 |
|
{ (exit 1); exit 1; } |
7130 |
|
} |
7131 |
|
|
7132 |
|
_ACEOF |
7133 |
|
|
7134 |
case "$ac_given_INSTALL" in |
cat >>$CONFIG_STATUS <<_ACEOF |
7135 |
[/$]*) INSTALL="$ac_given_INSTALL" ;; |
|
7136 |
*) INSTALL="$ac_dots$ac_given_INSTALL" ;; |
# |
7137 |
|
# CONFIG_FILES section. |
7138 |
|
# |
7139 |
|
|
7140 |
|
# No need to generate the scripts if there are no CONFIG_FILES. |
7141 |
|
# This happens for instance when ./config.status config.h |
7142 |
|
if test -n "\$CONFIG_FILES"; then |
7143 |
|
# Protect against being on the right side of a sed subst in config.status. |
7144 |
|
sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; |
7145 |
|
s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF |
7146 |
|
s,@SHELL@,$SHELL,;t t |
7147 |
|
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t |
7148 |
|
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t |
7149 |
|
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t |
7150 |
|
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t |
7151 |
|
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t |
7152 |
|
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t |
7153 |
|
s,@exec_prefix@,$exec_prefix,;t t |
7154 |
|
s,@prefix@,$prefix,;t t |
7155 |
|
s,@program_transform_name@,$program_transform_name,;t t |
7156 |
|
s,@bindir@,$bindir,;t t |
7157 |
|
s,@sbindir@,$sbindir,;t t |
7158 |
|
s,@libexecdir@,$libexecdir,;t t |
7159 |
|
s,@datadir@,$datadir,;t t |
7160 |
|
s,@sysconfdir@,$sysconfdir,;t t |
7161 |
|
s,@sharedstatedir@,$sharedstatedir,;t t |
7162 |
|
s,@localstatedir@,$localstatedir,;t t |
7163 |
|
s,@libdir@,$libdir,;t t |
7164 |
|
s,@includedir@,$includedir,;t t |
7165 |
|
s,@oldincludedir@,$oldincludedir,;t t |
7166 |
|
s,@infodir@,$infodir,;t t |
7167 |
|
s,@mandir@,$mandir,;t t |
7168 |
|
s,@build_alias@,$build_alias,;t t |
7169 |
|
s,@host_alias@,$host_alias,;t t |
7170 |
|
s,@target_alias@,$target_alias,;t t |
7171 |
|
s,@DEFS@,$DEFS,;t t |
7172 |
|
s,@ECHO_C@,$ECHO_C,;t t |
7173 |
|
s,@ECHO_N@,$ECHO_N,;t t |
7174 |
|
s,@ECHO_T@,$ECHO_T,;t t |
7175 |
|
s,@LIBS@,$LIBS,;t t |
7176 |
|
s,@PROGS@,$PROGS,;t t |
7177 |
|
s,@MAN@,$MAN,;t t |
7178 |
|
s,@CC@,$CC,;t t |
7179 |
|
s,@CFLAGS@,$CFLAGS,;t t |
7180 |
|
s,@LDFLAGS@,$LDFLAGS,;t t |
7181 |
|
s,@CPPFLAGS@,$CPPFLAGS,;t t |
7182 |
|
s,@ac_ct_CC@,$ac_ct_CC,;t t |
7183 |
|
s,@EXEEXT@,$EXEEXT,;t t |
7184 |
|
s,@OBJEXT@,$OBJEXT,;t t |
7185 |
|
s,@CPP@,$CPP,;t t |
7186 |
|
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t |
7187 |
|
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t |
7188 |
|
s,@INSTALL_DATA@,$INSTALL_DATA,;t t |
7189 |
|
s,@RANLIB@,$RANLIB,;t t |
7190 |
|
s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t |
7191 |
|
s,@YACC@,$YACC,;t t |
7192 |
|
s,@LEX@,$LEX,;t t |
7193 |
|
s,@LEXLIB@,$LEXLIB,;t t |
7194 |
|
s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t |
7195 |
|
s,@M4@,$M4,;t t |
7196 |
|
s,@AWK@,$AWK,;t t |
7197 |
|
s,@EGREP@,$EGREP,;t t |
7198 |
|
s,@ALLOCA@,$ALLOCA,;t t |
7199 |
|
s,@EMACS@,$EMACS,;t t |
7200 |
|
s,@lispdir@,$lispdir,;t t |
7201 |
|
s,@GNATS_ALL@,$GNATS_ALL,;t t |
7202 |
|
s,@GNATS_INSTALL@,$GNATS_INSTALL,;t t |
7203 |
|
s,@KRB4@,$KRB4,;t t |
7204 |
|
s,@HAVE_KERBEROS@,$HAVE_KERBEROS,;t t |
7205 |
|
s,@KRBINCLUDE@,$KRBINCLUDE,;t t |
7206 |
|
s,@EXTRA_OBJS@,$EXTRA_OBJS,;t t |
7207 |
|
s,@GNATS_SERVICE@,$GNATS_SERVICE,;t t |
7208 |
|
s,@GNATS_USER@,$GNATS_USER,;t t |
7209 |
|
s,@DEFAULT_RELEASE@,$DEFAULT_RELEASE,;t t |
7210 |
|
s,@DEFAULT_ORGANIZATION@,$DEFAULT_ORGANIZATION,;t t |
7211 |
|
s,@SUBMITTER@,$SUBMITTER,;t t |
7212 |
|
s,@DEFAULT_MAIL_AGENT@,$DEFAULT_MAIL_AGENT,;t t |
7213 |
|
s,@BWEEK_START@,$BWEEK_START,;t t |
7214 |
|
s,@BWEEK_END@,$BWEEK_END,;t t |
7215 |
|
s,@BDAY_START@,$BDAY_START,;t t |
7216 |
|
s,@BDAY_END@,$BDAY_END,;t t |
7217 |
|
s,@GNATSD_USER_ACCESS_FILE@,$GNATSD_USER_ACCESS_FILE,;t t |
7218 |
|
s,@GNATSD_HOST_ACCESS_FILE@,$GNATSD_HOST_ACCESS_FILE,;t t |
7219 |
|
s,@GLOBAL_DB_LIST_FILE@,$GLOBAL_DB_LIST_FILE,;t t |
7220 |
|
s,@GNATS_DEFAULT_DB_DIR@,$GNATS_DEFAULT_DB_DIR,;t t |
7221 |
|
s,@GCC_CFLAGS@,$GCC_CFLAGS,;t t |
7222 |
|
s,@SENDMAIL@,$SENDMAIL,;t t |
7223 |
|
s,@LIBOBJS@,$LIBOBJS,;t t |
7224 |
|
s,@LTLIBOBJS@,$LTLIBOBJS,;t t |
7225 |
|
CEOF |
7226 |
|
|
7227 |
|
_ACEOF |
7228 |
|
|
7229 |
|
cat >>$CONFIG_STATUS <<\_ACEOF |
7230 |
|
# Split the substitutions into bite-sized pieces for seds with |
7231 |
|
# small command number limits, like on Digital OSF/1 and HP-UX. |
7232 |
|
ac_max_sed_lines=48 |
7233 |
|
ac_sed_frag=1 # Number of current file. |
7234 |
|
ac_beg=1 # First line for current file. |
7235 |
|
ac_end=$ac_max_sed_lines # Line after last line for current file. |
7236 |
|
ac_more_lines=: |
7237 |
|
ac_sed_cmds= |
7238 |
|
while $ac_more_lines; do |
7239 |
|
if test $ac_beg -gt 1; then |
7240 |
|
sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag |
7241 |
|
else |
7242 |
|
sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag |
7243 |
|
fi |
7244 |
|
if test ! -s $tmp/subs.frag; then |
7245 |
|
ac_more_lines=false |
7246 |
|
else |
7247 |
|
# The purpose of the label and of the branching condition is to |
7248 |
|
# speed up the sed processing (if there are no `@' at all, there |
7249 |
|
# is no need to browse any of the substitutions). |
7250 |
|
# These are the two extra sed commands mentioned above. |
7251 |
|
(echo ':t |
7252 |
|
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed |
7253 |
|
if test -z "$ac_sed_cmds"; then |
7254 |
|
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" |
7255 |
|
else |
7256 |
|
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" |
7257 |
|
fi |
7258 |
|
ac_sed_frag=`expr $ac_sed_frag + 1` |
7259 |
|
ac_beg=$ac_end |
7260 |
|
ac_end=`expr $ac_end + $ac_max_sed_lines` |
7261 |
|
fi |
7262 |
|
done |
7263 |
|
if test -z "$ac_sed_cmds"; then |
7264 |
|
ac_sed_cmds=cat |
7265 |
|
fi |
7266 |
|
fi # test -n "$CONFIG_FILES" |
7267 |
|
|
7268 |
|
_ACEOF |
7269 |
|
cat >>$CONFIG_STATUS <<\_ACEOF |
7270 |
|
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue |
7271 |
|
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
7272 |
|
case $ac_file in |
7273 |
|
- | *:- | *:-:* ) # input from stdin |
7274 |
|
cat >$tmp/stdin |
7275 |
|
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
7276 |
|
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
7277 |
|
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
7278 |
|
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
7279 |
|
* ) ac_file_in=$ac_file.in ;; |
7280 |
esac |
esac |
7281 |
|
|
7282 |
echo creating "$ac_file" |
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. |
7283 |
rm -f "$ac_file" |
ac_dir=`(dirname "$ac_file") 2>/dev/null || |
7284 |
configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure." |
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
7285 |
case "$ac_file" in |
X"$ac_file" : 'X\(//\)[^/]' \| \ |
7286 |
*Makefile*) ac_comsub="1i\\ |
X"$ac_file" : 'X\(//\)$' \| \ |
7287 |
# $configure_input" ;; |
X"$ac_file" : 'X\(/\)' \| \ |
7288 |
*) ac_comsub= ;; |
. : '\(.\)' 2>/dev/null || |
7289 |
|
echo X"$ac_file" | |
7290 |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
7291 |
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
7292 |
|
/^X\(\/\/\)$/{ s//\1/; q; } |
7293 |
|
/^X\(\/\).*/{ s//\1/; q; } |
7294 |
|
s/.*/./; q'` |
7295 |
|
{ if $as_mkdir_p; then |
7296 |
|
mkdir -p "$ac_dir" |
7297 |
|
else |
7298 |
|
as_dir="$ac_dir" |
7299 |
|
as_dirs= |
7300 |
|
while test ! -d "$as_dir"; do |
7301 |
|
as_dirs="$as_dir $as_dirs" |
7302 |
|
as_dir=`(dirname "$as_dir") 2>/dev/null || |
7303 |
|
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
7304 |
|
X"$as_dir" : 'X\(//\)[^/]' \| \ |
7305 |
|
X"$as_dir" : 'X\(//\)$' \| \ |
7306 |
|
X"$as_dir" : 'X\(/\)' \| \ |
7307 |
|
. : '\(.\)' 2>/dev/null || |
7308 |
|
echo X"$as_dir" | |
7309 |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
7310 |
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
7311 |
|
/^X\(\/\/\)$/{ s//\1/; q; } |
7312 |
|
/^X\(\/\).*/{ s//\1/; q; } |
7313 |
|
s/.*/./; q'` |
7314 |
|
done |
7315 |
|
test ! -n "$as_dirs" || mkdir $as_dirs |
7316 |
|
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 |
7317 |
|
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} |
7318 |
|
{ (exit 1); exit 1; }; }; } |
7319 |
|
|
7320 |
|
ac_builddir=. |
7321 |
|
|
7322 |
|
if test "$ac_dir" != .; then |
7323 |
|
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
7324 |
|
# A "../" for each directory in $ac_dir_suffix. |
7325 |
|
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` |
7326 |
|
else |
7327 |
|
ac_dir_suffix= ac_top_builddir= |
7328 |
|
fi |
7329 |
|
|
7330 |
|
case $srcdir in |
7331 |
|
.) # No --srcdir option. We are building in place. |
7332 |
|
ac_srcdir=. |
7333 |
|
if test -z "$ac_top_builddir"; then |
7334 |
|
ac_top_srcdir=. |
7335 |
|
else |
7336 |
|
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` |
7337 |
|
fi ;; |
7338 |
|
[\\/]* | ?:[\\/]* ) # Absolute path. |
7339 |
|
ac_srcdir=$srcdir$ac_dir_suffix; |
7340 |
|
ac_top_srcdir=$srcdir ;; |
7341 |
|
*) # Relative path. |
7342 |
|
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
7343 |
|
ac_top_srcdir=$ac_top_builddir$srcdir ;; |
7344 |
|
esac |
7345 |
|
|
7346 |
|
# Do not use `cd foo && pwd` to compute absolute paths, because |
7347 |
|
# the directories may not exist. |
7348 |
|
case `pwd` in |
7349 |
|
.) ac_abs_builddir="$ac_dir";; |
7350 |
|
*) |
7351 |
|
case "$ac_dir" in |
7352 |
|
.) ac_abs_builddir=`pwd`;; |
7353 |
|
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; |
7354 |
|
*) ac_abs_builddir=`pwd`/"$ac_dir";; |
7355 |
|
esac;; |
7356 |
|
esac |
7357 |
|
case $ac_abs_builddir in |
7358 |
|
.) ac_abs_top_builddir=${ac_top_builddir}.;; |
7359 |
|
*) |
7360 |
|
case ${ac_top_builddir}. in |
7361 |
|
.) ac_abs_top_builddir=$ac_abs_builddir;; |
7362 |
|
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; |
7363 |
|
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; |
7364 |
|
esac;; |
7365 |
|
esac |
7366 |
|
case $ac_abs_builddir in |
7367 |
|
.) ac_abs_srcdir=$ac_srcdir;; |
7368 |
|
*) |
7369 |
|
case $ac_srcdir in |
7370 |
|
.) ac_abs_srcdir=$ac_abs_builddir;; |
7371 |
|
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; |
7372 |
|
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; |
7373 |
|
esac;; |
7374 |
|
esac |
7375 |
|
case $ac_abs_builddir in |
7376 |
|
.) ac_abs_top_srcdir=$ac_top_srcdir;; |
7377 |
|
*) |
7378 |
|
case $ac_top_srcdir in |
7379 |
|
.) ac_abs_top_srcdir=$ac_abs_builddir;; |
7380 |
|
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; |
7381 |
|
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; |
7382 |
|
esac;; |
7383 |
|
esac |
7384 |
|
|
7385 |
|
|
7386 |
|
case $INSTALL in |
7387 |
|
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
7388 |
|
*) ac_INSTALL=$ac_top_builddir$INSTALL ;; |
7389 |
esac |
esac |
7390 |
|
|
7391 |
ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"` |
# Let's still pretend it is `configure' which instantiates (i.e., don't |
7392 |
sed -e "$ac_comsub |
# use $as_me), people would be surprised to read: |
7393 |
s%@configure_input@%$configure_input%g |
# /* config.h. Generated by config.status. */ |
7394 |
s%@srcdir@%$srcdir%g |
if test x"$ac_file" = x-; then |
7395 |
s%@top_srcdir@%$top_srcdir%g |
configure_input= |
7396 |
s%@INSTALL@%$INSTALL%g |
else |
7397 |
" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file |
configure_input="$ac_file. " |
7398 |
fi; done |
fi |
7399 |
rm -f conftest.s* |
configure_input=$configure_input"Generated from `echo $ac_file_in | |
7400 |
|
sed 's,.*/,,'` by configure." |
7401 |
|
|
7402 |
|
# First look for the input files in the build tree, otherwise in the |
7403 |
|
# src tree. |
7404 |
|
ac_file_inputs=`IFS=: |
7405 |
|
for f in $ac_file_in; do |
7406 |
|
case $f in |
7407 |
|
-) echo $tmp/stdin ;; |
7408 |
|
[\\/$]*) |
7409 |
|
# Absolute (can't be DOS-style, as IFS=:) |
7410 |
|
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
7411 |
|
echo "$as_me: error: cannot find input file: $f" >&2;} |
7412 |
|
{ (exit 1); exit 1; }; } |
7413 |
|
echo "$f";; |
7414 |
|
*) # Relative |
7415 |
|
if test -f "$f"; then |
7416 |
|
# Build tree |
7417 |
|
echo "$f" |
7418 |
|
elif test -f "$srcdir/$f"; then |
7419 |
|
# Source tree |
7420 |
|
echo "$srcdir/$f" |
7421 |
|
else |
7422 |
|
# /dev/null tree |
7423 |
|
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
7424 |
|
echo "$as_me: error: cannot find input file: $f" >&2;} |
7425 |
|
{ (exit 1); exit 1; }; } |
7426 |
|
fi;; |
7427 |
|
esac |
7428 |
|
done` || { (exit 1); exit 1; } |
7429 |
|
|
7430 |
|
if test x"$ac_file" != x-; then |
7431 |
|
{ echo "$as_me:$LINENO: creating $ac_file" >&5 |
7432 |
|
echo "$as_me: creating $ac_file" >&6;} |
7433 |
|
rm -f "$ac_file" |
7434 |
|
fi |
7435 |
|
_ACEOF |
7436 |
|
cat >>$CONFIG_STATUS <<_ACEOF |
7437 |
|
sed "$ac_vpsub |
7438 |
|
$extrasub |
7439 |
|
_ACEOF |
7440 |
|
cat >>$CONFIG_STATUS <<\_ACEOF |
7441 |
|
:t |
7442 |
|
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
7443 |
|
s,@configure_input@,$configure_input,;t t |
7444 |
|
s,@srcdir@,$ac_srcdir,;t t |
7445 |
|
s,@abs_srcdir@,$ac_abs_srcdir,;t t |
7446 |
|
s,@top_srcdir@,$ac_top_srcdir,;t t |
7447 |
|
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t |
7448 |
|
s,@builddir@,$ac_builddir,;t t |
7449 |
|
s,@abs_builddir@,$ac_abs_builddir,;t t |
7450 |
|
s,@top_builddir@,$ac_top_builddir,;t t |
7451 |
|
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t |
7452 |
|
s,@INSTALL@,$ac_INSTALL,;t t |
7453 |
|
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out |
7454 |
|
rm -f $tmp/stdin |
7455 |
|
if test x"$ac_file" != x-; then |
7456 |
|
mv $tmp/out $ac_file |
7457 |
|
else |
7458 |
|
cat $tmp/out |
7459 |
|
rm -f $tmp/out |
7460 |
|
fi |
7461 |
|
|
7462 |
|
done |
7463 |
|
_ACEOF |
7464 |
|
cat >>$CONFIG_STATUS <<\_ACEOF |
7465 |
|
|
7466 |
|
# |
7467 |
|
# CONFIG_HEADER section. |
7468 |
|
# |
7469 |
|
|
7470 |
# 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 |
7471 |
# 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. |
7472 |
# |
# |
7473 |
# ac_d sets the value in "#define NAME VALUE" lines. |
# ac_d sets the value in "#define NAME VALUE" lines. |
7474 |
ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)' |
ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' |
7475 |
ac_dB='\([ ][ ]*\)[^ ]*%\1#\2' |
ac_dB='[ ].*$,\1#\2' |
7476 |
ac_dC='\3' |
ac_dC=' ' |
7477 |
ac_dD='%g' |
ac_dD=',;t' |
7478 |
# ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE". |
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". |
7479 |
ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' |
ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' |
7480 |
ac_uB='\([ ]\)%\1#\2define\3' |
ac_uB='$,\1#\2define\3' |
7481 |
ac_uC=' ' |
ac_uC=' ' |
7482 |
ac_uD='\4%g' |
ac_uD=',;t' |
7483 |
# ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE". |
|
7484 |
ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' |
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue |
|
ac_eB='$%\1#\2define\3' |
|
|
ac_eC=' ' |
|
|
ac_eD='%g' |
|
|
|
|
|
if test "${CONFIG_HEADERS+set}" != set; then |
|
|
EOF |
|
|
cat >> $CONFIG_STATUS <<EOF |
|
|
CONFIG_HEADERS="autoconf.h" |
|
|
EOF |
|
|
cat >> $CONFIG_STATUS <<\EOF |
|
|
fi |
|
|
for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then |
|
7485 |
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
7486 |
case "$ac_file" in |
case $ac_file in |
7487 |
*:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'` |
- | *:- | *:-:* ) # input from stdin |
7488 |
ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; |
cat >$tmp/stdin |
7489 |
*) ac_file_in="${ac_file}.in" ;; |
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
7490 |
|
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
7491 |
|
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
7492 |
|
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
7493 |
|
* ) ac_file_in=$ac_file.in ;; |
7494 |
esac |
esac |
7495 |
|
|
7496 |
echo creating $ac_file |
test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 |
7497 |
|
echo "$as_me: creating $ac_file" >&6;} |
7498 |
|
|
7499 |
rm -f conftest.frag conftest.in conftest.out |
# First look for the input files in the build tree, otherwise in the |
7500 |
ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"` |
# src tree. |
7501 |
cat $ac_file_inputs > conftest.in |
ac_file_inputs=`IFS=: |
7502 |
|
for f in $ac_file_in; do |
7503 |
EOF |
case $f in |
7504 |
|
-) echo $tmp/stdin ;; |
7505 |
# Transform confdefs.h into a sed script conftest.vals that substitutes |
[\\/$]*) |
7506 |
# the proper values into config.h.in to produce config.h. And first: |
# Absolute (can't be DOS-style, as IFS=:) |
7507 |
# 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 |
7508 |
# Protect against being in an unquoted here document in config.status. |
echo "$as_me: error: cannot find input file: $f" >&2;} |
7509 |
rm -f conftest.vals |
{ (exit 1); exit 1; }; } |
7510 |
cat > conftest.hdr <<\EOF |
# Do quote $f, to prevent DOS paths from being IFS'd. |
7511 |
s/[\\&%]/\\&/g |
echo "$f";; |
7512 |
s%[\\$`]%\\&%g |
*) # Relative |
7513 |
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 |
7514 |
s%ac_d%ac_u%gp |
# Build tree |
7515 |
s%ac_u%ac_e%gp |
echo "$f" |
7516 |
EOF |
elif test -f "$srcdir/$f"; then |
7517 |
sed -n -f conftest.hdr confdefs.h > conftest.vals |
# Source tree |
7518 |
rm -f conftest.hdr |
echo "$srcdir/$f" |
7519 |
|
else |
7520 |
|
# /dev/null tree |
7521 |
|
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
7522 |
|
echo "$as_me: error: cannot find input file: $f" >&2;} |
7523 |
|
{ (exit 1); exit 1; }; } |
7524 |
|
fi;; |
7525 |
|
esac |
7526 |
|
done` || { (exit 1); exit 1; } |
7527 |
|
# Remove the trailing spaces. |
7528 |
|
sed 's/[ ]*$//' $ac_file_inputs >$tmp/in |
7529 |
|
|
7530 |
|
_ACEOF |
7531 |
|
|
7532 |
|
# Transform confdefs.h into two sed scripts, `conftest.defines' and |
7533 |
|
# `conftest.undefs', that substitutes the proper values into |
7534 |
|
# config.h.in to produce config.h. The first handles `#define' |
7535 |
|
# templates, and the second `#undef' templates. |
7536 |
|
# And first: Protect against being on the right side of a sed subst in |
7537 |
|
# config.status. Protect against being in an unquoted here document |
7538 |
|
# in config.status. |
7539 |
|
rm -f conftest.defines conftest.undefs |
7540 |
|
# Using a here document instead of a string reduces the quoting nightmare. |
7541 |
|
# Putting comments in sed scripts is not portable. |
7542 |
|
# |
7543 |
|
# `end' is used to avoid that the second main sed command (meant for |
7544 |
|
# 0-ary CPP macros) applies to n-ary macro definitions. |
7545 |
|
# See the Autoconf documentation for `clear'. |
7546 |
|
cat >confdef2sed.sed <<\_ACEOF |
7547 |
|
s/[\\&,]/\\&/g |
7548 |
|
s,[\\$`],\\&,g |
7549 |
|
t clear |
7550 |
|
: clear |
7551 |
|
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp |
7552 |
|
t end |
7553 |
|
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp |
7554 |
|
: end |
7555 |
|
_ACEOF |
7556 |
|
# If some macros were called several times there might be several times |
7557 |
|
# the same #defines, which is useless. Nevertheless, we may not want to |
7558 |
|
# sort them, since we want the *last* AC-DEFINE to be honored. |
7559 |
|
uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines |
7560 |
|
sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs |
7561 |
|
rm -f confdef2sed.sed |
7562 |
|
|
7563 |
# This sed command replaces #undef with comments. This is necessary, for |
# This sed command replaces #undef with comments. This is necessary, for |
7564 |
# example, in the case of _POSIX_SOURCE, which is predefined and required |
# example, in the case of _POSIX_SOURCE, which is predefined and required |
7565 |
# on some systems where configure will not decide to define it. |
# on some systems where configure will not decide to define it. |
7566 |
cat >> conftest.vals <<\EOF |
cat >>conftest.undefs <<\_ACEOF |
7567 |
s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */% |
s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, |
7568 |
EOF |
_ACEOF |
7569 |
|
|
7570 |
# Break up conftest.vals because some shells have a limit on |
# Break up conftest.defines because some shells have a limit on the size |
7571 |
# the size of here documents, and old seds have small limits too. |
# of here documents, and old seds have small limits too (100 cmds). |
7572 |
|
echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS |
7573 |
|
echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS |
7574 |
|
echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS |
7575 |
|
echo ' :' >>$CONFIG_STATUS |
7576 |
rm -f conftest.tail |
rm -f conftest.tail |
7577 |
while : |
while grep . conftest.defines >/dev/null |
7578 |
do |
do |
7579 |
ac_lines=`grep -c . conftest.vals` |
# Write a limited-size here document to $tmp/defines.sed. |
7580 |
# grep -c gives empty output for an empty file on some AIX systems. |
echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS |
7581 |
if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi |
# Speed up: don't consider the non `#define' lines. |
7582 |
# Write a limited-size here document to conftest.frag. |
echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS |
7583 |
echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS |
# Work around the forget-to-reset-the-flag bug. |
7584 |
sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS |
echo 't clr' >>$CONFIG_STATUS |
7585 |
|
echo ': clr' >>$CONFIG_STATUS |
7586 |
|
sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS |
7587 |
echo 'CEOF |
echo 'CEOF |
7588 |
sed -f conftest.frag conftest.in > conftest.out |
sed -f $tmp/defines.sed $tmp/in >$tmp/out |
7589 |
rm -f conftest.in |
rm -f $tmp/in |
7590 |
mv conftest.out conftest.in |
mv $tmp/out $tmp/in |
7591 |
' >> $CONFIG_STATUS |
' >>$CONFIG_STATUS |
7592 |
sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail |
sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail |
7593 |
rm -f conftest.vals |
rm -f conftest.defines |
7594 |
mv conftest.tail conftest.vals |
mv conftest.tail conftest.defines |
7595 |
done |
done |
7596 |
rm -f conftest.vals |
rm -f conftest.defines |
7597 |
|
echo ' fi # grep' >>$CONFIG_STATUS |
7598 |
cat >> $CONFIG_STATUS <<\EOF |
echo >>$CONFIG_STATUS |
7599 |
rm -f conftest.frag conftest.h |
|
7600 |
echo "/* $ac_file. Generated automatically by configure. */" > conftest.h |
# Break up conftest.undefs because some shells have a limit on the size |
7601 |
cat conftest.in >> conftest.h |
# of here documents, and old seds have small limits too (100 cmds). |
7602 |
rm -f conftest.in |
echo ' # Handle all the #undef templates' >>$CONFIG_STATUS |
7603 |
if cmp -s $ac_file conftest.h 2>/dev/null; then |
rm -f conftest.tail |
7604 |
echo "$ac_file is unchanged" |
while grep . conftest.undefs >/dev/null |
7605 |
rm -f conftest.h |
do |
7606 |
else |
# Write a limited-size here document to $tmp/undefs.sed. |
7607 |
# Remove last slash and all that follows it. Not all systems have dirname. |
echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS |
7608 |
ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'` |
# Speed up: don't consider the non `#undef' |
7609 |
if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then |
echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS |
7610 |
# The file is in a subdirectory. |
# Work around the forget-to-reset-the-flag bug. |
7611 |
test ! -d "$ac_dir" && mkdir "$ac_dir" |
echo 't clr' >>$CONFIG_STATUS |
7612 |
fi |
echo ': clr' >>$CONFIG_STATUS |
7613 |
rm -f $ac_file |
sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS |
7614 |
mv conftest.h $ac_file |
echo 'CEOF |
7615 |
|
sed -f $tmp/undefs.sed $tmp/in >$tmp/out |
7616 |
|
rm -f $tmp/in |
7617 |
|
mv $tmp/out $tmp/in |
7618 |
|
' >>$CONFIG_STATUS |
7619 |
|
sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail |
7620 |
|
rm -f conftest.undefs |
7621 |
|
mv conftest.tail conftest.undefs |
7622 |
|
done |
7623 |
|
rm -f conftest.undefs |
7624 |
|
|
7625 |
|
cat >>$CONFIG_STATUS <<\_ACEOF |
7626 |
|
# Let's still pretend it is `configure' which instantiates (i.e., don't |
7627 |
|
# use $as_me), people would be surprised to read: |
7628 |
|
# /* config.h. Generated by config.status. */ |
7629 |
|
if test x"$ac_file" = x-; then |
7630 |
|
echo "/* Generated by configure. */" >$tmp/config.h |
7631 |
|
else |
7632 |
|
echo "/* $ac_file. Generated by configure. */" >$tmp/config.h |
7633 |
fi |
fi |
7634 |
fi; done |
cat $tmp/in >>$tmp/config.h |
7635 |
|
rm -f $tmp/in |
7636 |
|
if test x"$ac_file" != x-; then |
7637 |
|
if diff $ac_file $tmp/config.h >/dev/null 2>&1; then |
7638 |
|
{ echo "$as_me:$LINENO: $ac_file is unchanged" >&5 |
7639 |
|
echo "$as_me: $ac_file is unchanged" >&6;} |
7640 |
|
else |
7641 |
|
ac_dir=`(dirname "$ac_file") 2>/dev/null || |
7642 |
|
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
7643 |
|
X"$ac_file" : 'X\(//\)[^/]' \| \ |
7644 |
|
X"$ac_file" : 'X\(//\)$' \| \ |
7645 |
|
X"$ac_file" : 'X\(/\)' \| \ |
7646 |
|
. : '\(.\)' 2>/dev/null || |
7647 |
|
echo X"$ac_file" | |
7648 |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
7649 |
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
7650 |
|
/^X\(\/\/\)$/{ s//\1/; q; } |
7651 |
|
/^X\(\/\).*/{ s//\1/; q; } |
7652 |
|
s/.*/./; q'` |
7653 |
|
{ if $as_mkdir_p; then |
7654 |
|
mkdir -p "$ac_dir" |
7655 |
|
else |
7656 |
|
as_dir="$ac_dir" |
7657 |
|
as_dirs= |
7658 |
|
while test ! -d "$as_dir"; do |
7659 |
|
as_dirs="$as_dir $as_dirs" |
7660 |
|
as_dir=`(dirname "$as_dir") 2>/dev/null || |
7661 |
|
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
7662 |
|
X"$as_dir" : 'X\(//\)[^/]' \| \ |
7663 |
|
X"$as_dir" : 'X\(//\)$' \| \ |
7664 |
|
X"$as_dir" : 'X\(/\)' \| \ |
7665 |
|
. : '\(.\)' 2>/dev/null || |
7666 |
|
echo X"$as_dir" | |
7667 |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
7668 |
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
7669 |
|
/^X\(\/\/\)$/{ s//\1/; q; } |
7670 |
|
/^X\(\/\).*/{ s//\1/; q; } |
7671 |
|
s/.*/./; q'` |
7672 |
|
done |
7673 |
|
test ! -n "$as_dirs" || mkdir $as_dirs |
7674 |
|
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 |
7675 |
|
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} |
7676 |
|
{ (exit 1); exit 1; }; }; } |
7677 |
|
|
7678 |
EOF |
rm -f $ac_file |
7679 |
cat >> $CONFIG_STATUS <<EOF |
mv $tmp/config.h $ac_file |
7680 |
|
fi |
7681 |
|
else |
7682 |
|
cat $tmp/config.h |
7683 |
|
rm -f $tmp/config.h |
7684 |
|
fi |
7685 |
|
done |
7686 |
|
_ACEOF |
7687 |
|
|
7688 |
EOF |
cat >>$CONFIG_STATUS <<\_ACEOF |
|
cat >> $CONFIG_STATUS <<\EOF |
|
7689 |
|
|
7690 |
exit 0 |
{ (exit 0); exit 0; } |
7691 |
EOF |
_ACEOF |
7692 |
chmod +x $CONFIG_STATUS |
chmod +x $CONFIG_STATUS |
7693 |
rm -fr confdefs* $ac_clean_files |
ac_clean_files=$ac_clean_files_save |
7694 |
test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1 |
|
7695 |
|
|
7696 |
|
# configure is writing to config.log, and then calls config.status. |
7697 |
|
# config.status does its own redirection, appending to config.log. |
7698 |
|
# Unfortunately, on DOS this fails, as config.log is still kept open |
7699 |
|
# by configure, so config.status won't be able to write to it; its |
7700 |
|
# output is simply discarded. So we exec the FD to /dev/null, |
7701 |
|
# effectively closing config.log, so it can be properly (re)opened and |
7702 |
|
# appended to by config.status. When coming back to configure, we |
7703 |
|
# need to make the FD available again. |
7704 |
|
if test "$no_create" != yes; then |
7705 |
|
ac_cs_success=: |
7706 |
|
ac_config_status_args= |
7707 |
|
test "$silent" = yes && |
7708 |
|
ac_config_status_args="$ac_config_status_args --quiet" |
7709 |
|
exec 5>/dev/null |
7710 |
|
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
7711 |
|
exec 5>>config.log |
7712 |
|
# Use ||, not &&, to avoid exiting from the if with $? = 1, which |
7713 |
|
# would make configure fail if this is the last instruction. |
7714 |
|
$ac_cs_success || { (exit 1); exit 1; } |
7715 |
|
fi |
7716 |
|
|