1 |
#! /bin/sh |
2 |
# Guess values for system-dependent variables and create Makefiles. |
3 |
# Generated by GNU Autoconf 2.57 for Undernet IRCD proxy scanner 2.0. |
4 |
# |
5 |
# Report bugs to <mbuna@bugged.org>. |
6 |
# |
7 |
# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 |
8 |
# Free Software Foundation, Inc. |
9 |
# This configure script is free software; the Free Software Foundation |
10 |
# gives unlimited permission to copy, distribute and modify it. |
11 |
## --------------------- ## |
12 |
## M4sh Initialization. ## |
13 |
## --------------------- ## |
14 |
|
15 |
# Be Bourne compatible |
16 |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
17 |
emulate sh |
18 |
NULLCMD=: |
19 |
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
20 |
# is contrary to our usage. Disable this feature. |
21 |
alias -g '${1+"$@"}'='"$@"' |
22 |
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
23 |
set -o posix |
24 |
fi |
25 |
|
26 |
# Support unset when possible. |
27 |
if (FOO=FOO; unset FOO) >/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 -n "`(eval $as_var=C; export $as_var) 2>&1`"); then |
47 |
eval $as_var=C; export $as_var |
48 |
else |
49 |
$as_unset $as_var |
50 |
fi |
51 |
done |
52 |
|
53 |
# Required to use basename. |
54 |
if expr a : '\(a\)' >/dev/null 2>&1; then |
55 |
as_expr=expr |
56 |
else |
57 |
as_expr=false |
58 |
fi |
59 |
|
60 |
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then |
61 |
as_basename=basename |
62 |
else |
63 |
as_basename=false |
64 |
fi |
65 |
|
66 |
|
67 |
# Name of the executable. |
68 |
as_me=`$as_basename "$0" || |
69 |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
70 |
X"$0" : 'X\(//\)$' \| \ |
71 |
X"$0" : 'X\(/\)$' \| \ |
72 |
. : '\(.\)' 2>/dev/null || |
73 |
echo X/"$0" | |
74 |
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } |
75 |
/^X\/\(\/\/\)$/{ s//\1/; q; } |
76 |
/^X\/\(\/\).*/{ s//\1/; q; } |
77 |
s/.*/./; q'` |
78 |
|
79 |
|
80 |
# PATH needs CR, and LINENO needs CR and PATH. |
81 |
# Avoid depending upon Character Ranges. |
82 |
as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
83 |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
84 |
as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
85 |
as_cr_digits='0123456789' |
86 |
as_cr_alnum=$as_cr_Letters$as_cr_digits |
87 |
|
88 |
# The user is always right. |
89 |
if test "${PATH_SEPARATOR+set}" != set; then |
90 |
echo "#! /bin/sh" >conf$$.sh |
91 |
echo "exit 0" >>conf$$.sh |
92 |
chmod +x conf$$.sh |
93 |
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
94 |
PATH_SEPARATOR=';' |
95 |
else |
96 |
PATH_SEPARATOR=: |
97 |
fi |
98 |
rm -f conf$$.sh |
99 |
fi |
100 |
|
101 |
|
102 |
as_lineno_1=$LINENO |
103 |
as_lineno_2=$LINENO |
104 |
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
105 |
test "x$as_lineno_1" != "x$as_lineno_2" && |
106 |
test "x$as_lineno_3" = "x$as_lineno_2" || { |
107 |
# Find who we are. Look in the path if we contain no path at all |
108 |
# relative or not. |
109 |
case $0 in |
110 |
*[\\/]* ) as_myself=$0 ;; |
111 |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
112 |
for as_dir in $PATH |
113 |
do |
114 |
IFS=$as_save_IFS |
115 |
test -z "$as_dir" && as_dir=. |
116 |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
117 |
done |
118 |
|
119 |
;; |
120 |
esac |
121 |
# We did not find ourselves, most probably we were run as `sh COMMAND' |
122 |
# in which case we are not to be found in the path. |
123 |
if test "x$as_myself" = x; then |
124 |
as_myself=$0 |
125 |
fi |
126 |
if test ! -f "$as_myself"; then |
127 |
{ echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 |
128 |
{ (exit 1); exit 1; }; } |
129 |
fi |
130 |
case $CONFIG_SHELL in |
131 |
'') |
132 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
133 |
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
134 |
do |
135 |
IFS=$as_save_IFS |
136 |
test -z "$as_dir" && as_dir=. |
137 |
for as_base in sh bash ksh sh5; do |
138 |
case $as_dir in |
139 |
/*) |
140 |
if ("$as_dir/$as_base" -c ' |
141 |
as_lineno_1=$LINENO |
142 |
as_lineno_2=$LINENO |
143 |
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
144 |
test "x$as_lineno_1" != "x$as_lineno_2" && |
145 |
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then |
146 |
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } |
147 |
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } |
148 |
CONFIG_SHELL=$as_dir/$as_base |
149 |
export CONFIG_SHELL |
150 |
exec "$CONFIG_SHELL" "$0" ${1+"$@"} |
151 |
fi;; |
152 |
esac |
153 |
done |
154 |
done |
155 |
;; |
156 |
esac |
157 |
|
158 |
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
159 |
# uniformly replaced by the line number. The first 'sed' inserts a |
160 |
# line-number line before each line; the second 'sed' does the real |
161 |
# work. The second script uses 'N' to pair each line-number line |
162 |
# with the numbered line, and appends trailing '-' during |
163 |
# substitution so that $LINENO is not a special case at line end. |
164 |
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
165 |
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) |
166 |
sed '=' <$as_myself | |
167 |
sed ' |
168 |
N |
169 |
s,$,-, |
170 |
: loop |
171 |
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, |
172 |
t loop |
173 |
s,-$,, |
174 |
s,^['$as_cr_digits']*\n,, |
175 |
' >$as_me.lineno && |
176 |
chmod +x $as_me.lineno || |
177 |
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 |
178 |
{ (exit 1); exit 1; }; } |
179 |
|
180 |
# Don't try to exec as it changes $[0], causing all sort of problems |
181 |
# (the dirname of $[0] is not the place where we might find the |
182 |
# original and so on. Autoconf is especially sensible to this). |
183 |
. ./$as_me.lineno |
184 |
# Exit status is that of the last command. |
185 |
exit |
186 |
} |
187 |
|
188 |
|
189 |
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in |
190 |
*c*,-n*) ECHO_N= ECHO_C=' |
191 |
' ECHO_T=' ' ;; |
192 |
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; |
193 |
*) ECHO_N= ECHO_C='\c' ECHO_T= ;; |
194 |
esac |
195 |
|
196 |
if expr a : '\(a\)' >/dev/null 2>&1; then |
197 |
as_expr=expr |
198 |
else |
199 |
as_expr=false |
200 |
fi |
201 |
|
202 |
rm -f conf$$ conf$$.exe conf$$.file |
203 |
echo >conf$$.file |
204 |
if ln -s conf$$.file conf$$ 2>/dev/null; then |
205 |
# We could just check for DJGPP; but this test a) works b) is more generic |
206 |
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). |
207 |
if test -f conf$$.exe; then |
208 |
# Don't use ln at all; we don't have any links |
209 |
as_ln_s='cp -p' |
210 |
else |
211 |
as_ln_s='ln -s' |
212 |
fi |
213 |
elif ln conf$$.file conf$$ 2>/dev/null; then |
214 |
as_ln_s=ln |
215 |
else |
216 |
as_ln_s='cp -p' |
217 |
fi |
218 |
rm -f conf$$ conf$$.exe conf$$.file |
219 |
|
220 |
if mkdir -p . 2>/dev/null; then |
221 |
as_mkdir_p=: |
222 |
else |
223 |
as_mkdir_p=false |
224 |
fi |
225 |
|
226 |
as_executable_p="test -f" |
227 |
|
228 |
# Sed expression to map a string onto a valid CPP name. |
229 |
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" |
230 |
|
231 |
# Sed expression to map a string onto a valid variable name. |
232 |
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" |
233 |
|
234 |
|
235 |
# IFS |
236 |
# We need space, tab and new line, in precisely that order. |
237 |
as_nl=' |
238 |
' |
239 |
IFS=" $as_nl" |
240 |
|
241 |
# CDPATH. |
242 |
$as_unset CDPATH |
243 |
|
244 |
|
245 |
# Name of the host. |
246 |
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, |
247 |
# so uname gets run too. |
248 |
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
249 |
|
250 |
exec 6>&1 |
251 |
|
252 |
# |
253 |
# Initializations. |
254 |
# |
255 |
ac_default_prefix=/usr/local |
256 |
ac_config_libobj_dir=. |
257 |
cross_compiling=no |
258 |
subdirs= |
259 |
MFLAGS= |
260 |
MAKEFLAGS= |
261 |
SHELL=${CONFIG_SHELL-/bin/sh} |
262 |
|
263 |
# Maximum number of lines to put in a shell here document. |
264 |
# This variable seems obsolete. It should probably be removed, and |
265 |
# only ac_max_sed_lines should be used. |
266 |
: ${ac_max_here_lines=38} |
267 |
|
268 |
# Identity of this package. |
269 |
PACKAGE_NAME='Undernet IRCD proxy scanner' |
270 |
PACKAGE_TARNAME='pxyservd' |
271 |
PACKAGE_VERSION='2.0' |
272 |
PACKAGE_STRING='Undernet IRCD proxy scanner 2.0' |
273 |
PACKAGE_BUGREPORT='mbuna@bugged.org' |
274 |
|
275 |
ac_unique_file="src/pxyservd.c" |
276 |
ac_subdirs_all="$ac_subdirs_all libbcl" |
277 |
ac_subdirs_all="$ac_subdirs_all dbprim" |
278 |
# Factoring default headers for most tests. |
279 |
ac_includes_default="\ |
280 |
#include <stdio.h> |
281 |
#if HAVE_SYS_TYPES_H |
282 |
# include <sys/types.h> |
283 |
#endif |
284 |
#if HAVE_SYS_STAT_H |
285 |
# include <sys/stat.h> |
286 |
#endif |
287 |
#if STDC_HEADERS |
288 |
# include <stdlib.h> |
289 |
# include <stddef.h> |
290 |
#else |
291 |
# if HAVE_STDLIB_H |
292 |
# include <stdlib.h> |
293 |
# endif |
294 |
#endif |
295 |
#if HAVE_STRING_H |
296 |
# if !STDC_HEADERS && HAVE_MEMORY_H |
297 |
# include <memory.h> |
298 |
# endif |
299 |
# include <string.h> |
300 |
#endif |
301 |
#if HAVE_STRINGS_H |
302 |
# include <strings.h> |
303 |
#endif |
304 |
#if HAVE_INTTYPES_H |
305 |
# include <inttypes.h> |
306 |
#else |
307 |
# if HAVE_STDINT_H |
308 |
# include <stdint.h> |
309 |
# endif |
310 |
#endif |
311 |
#if HAVE_UNISTD_H |
312 |
# include <unistd.h> |
313 |
#endif" |
314 |
|
315 |
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 INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE subdirs MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE DBPRIM_CONFIG FGREP dbprim_ldadd DBPRIM_CFLAGS DBPRIM_LIBS PEAK_CONFIG PEAK_CFLAGS PEAK_LIBS XML2_CONFIG XML2_CFLAGS XML2_LIBS CPP EGREP ALLOCA LIBOBJS LTLIBOBJS' |
316 |
ac_subst_files='' |
317 |
|
318 |
# Initialize some variables set by options. |
319 |
ac_init_help= |
320 |
ac_init_version=false |
321 |
# The variables have the same names as the options, with |
322 |
# dashes changed to underlines. |
323 |
cache_file=/dev/null |
324 |
exec_prefix=NONE |
325 |
no_create= |
326 |
no_recursion= |
327 |
prefix=NONE |
328 |
program_prefix=NONE |
329 |
program_suffix=NONE |
330 |
program_transform_name=s,x,x, |
331 |
silent= |
332 |
site= |
333 |
srcdir= |
334 |
verbose= |
335 |
x_includes=NONE |
336 |
x_libraries=NONE |
337 |
|
338 |
# Installation directory options. |
339 |
# These are left unexpanded so users can "make install exec_prefix=/foo" |
340 |
# and all the variables that are supposed to be based on exec_prefix |
341 |
# by default will actually change. |
342 |
# Use braces instead of parens because sh, perl, etc. also accept them. |
343 |
bindir='${exec_prefix}/bin' |
344 |
sbindir='${exec_prefix}/sbin' |
345 |
libexecdir='${exec_prefix}/libexec' |
346 |
datadir='${prefix}/share' |
347 |
sysconfdir='${prefix}/etc' |
348 |
sharedstatedir='${prefix}/com' |
349 |
localstatedir='${prefix}/var' |
350 |
libdir='${exec_prefix}/lib' |
351 |
includedir='${prefix}/include' |
352 |
oldincludedir='/usr/include' |
353 |
infodir='${prefix}/info' |
354 |
mandir='${prefix}/man' |
355 |
|
356 |
ac_prev= |
357 |
for ac_option |
358 |
do |
359 |
# If the previous option needs an argument, assign it. |
360 |
if test -n "$ac_prev"; then |
361 |
eval "$ac_prev=\$ac_option" |
362 |
ac_prev= |
363 |
continue |
364 |
fi |
365 |
|
366 |
ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` |
367 |
|
368 |
# Accept the important Cygnus configure options, so we can diagnose typos. |
369 |
|
370 |
case $ac_option in |
371 |
|
372 |
-bindir | --bindir | --bindi | --bind | --bin | --bi) |
373 |
ac_prev=bindir ;; |
374 |
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
375 |
bindir=$ac_optarg ;; |
376 |
|
377 |
-build | --build | --buil | --bui | --bu) |
378 |
ac_prev=build_alias ;; |
379 |
-build=* | --build=* | --buil=* | --bui=* | --bu=*) |
380 |
build_alias=$ac_optarg ;; |
381 |
|
382 |
-cache-file | --cache-file | --cache-fil | --cache-fi \ |
383 |
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
384 |
ac_prev=cache_file ;; |
385 |
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
386 |
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) |
387 |
cache_file=$ac_optarg ;; |
388 |
|
389 |
--config-cache | -C) |
390 |
cache_file=config.cache ;; |
391 |
|
392 |
-datadir | --datadir | --datadi | --datad | --data | --dat | --da) |
393 |
ac_prev=datadir ;; |
394 |
-datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ |
395 |
| --da=*) |
396 |
datadir=$ac_optarg ;; |
397 |
|
398 |
-disable-* | --disable-*) |
399 |
ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
400 |
# Reject names that are not valid shell variable names. |
401 |
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && |
402 |
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
403 |
{ (exit 1); exit 1; }; } |
404 |
ac_feature=`echo $ac_feature | sed 's/-/_/g'` |
405 |
eval "enable_$ac_feature=no" ;; |
406 |
|
407 |
-enable-* | --enable-*) |
408 |
ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
409 |
# Reject names that are not valid shell variable names. |
410 |
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && |
411 |
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
412 |
{ (exit 1); exit 1; }; } |
413 |
ac_feature=`echo $ac_feature | sed 's/-/_/g'` |
414 |
case $ac_option in |
415 |
*=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; |
416 |
*) ac_optarg=yes ;; |
417 |
esac |
418 |
eval "enable_$ac_feature='$ac_optarg'" ;; |
419 |
|
420 |
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
421 |
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
422 |
| --exec | --exe | --ex) |
423 |
ac_prev=exec_prefix ;; |
424 |
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ |
425 |
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ |
426 |
| --exec=* | --exe=* | --ex=*) |
427 |
exec_prefix=$ac_optarg ;; |
428 |
|
429 |
-gas | --gas | --ga | --g) |
430 |
# Obsolete; use --with-gas. |
431 |
with_gas=yes ;; |
432 |
|
433 |
-help | --help | --hel | --he | -h) |
434 |
ac_init_help=long ;; |
435 |
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*) |
436 |
ac_init_help=recursive ;; |
437 |
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*) |
438 |
ac_init_help=short ;; |
439 |
|
440 |
-host | --host | --hos | --ho) |
441 |
ac_prev=host_alias ;; |
442 |
-host=* | --host=* | --hos=* | --ho=*) |
443 |
host_alias=$ac_optarg ;; |
444 |
|
445 |
-includedir | --includedir | --includedi | --included | --include \ |
446 |
| --includ | --inclu | --incl | --inc) |
447 |
ac_prev=includedir ;; |
448 |
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ |
449 |
| --includ=* | --inclu=* | --incl=* | --inc=*) |
450 |
includedir=$ac_optarg ;; |
451 |
|
452 |
-infodir | --infodir | --infodi | --infod | --info | --inf) |
453 |
ac_prev=infodir ;; |
454 |
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) |
455 |
infodir=$ac_optarg ;; |
456 |
|
457 |
-libdir | --libdir | --libdi | --libd) |
458 |
ac_prev=libdir ;; |
459 |
-libdir=* | --libdir=* | --libdi=* | --libd=*) |
460 |
libdir=$ac_optarg ;; |
461 |
|
462 |
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ |
463 |
| --libexe | --libex | --libe) |
464 |
ac_prev=libexecdir ;; |
465 |
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ |
466 |
| --libexe=* | --libex=* | --libe=*) |
467 |
libexecdir=$ac_optarg ;; |
468 |
|
469 |
-localstatedir | --localstatedir | --localstatedi | --localstated \ |
470 |
| --localstate | --localstat | --localsta | --localst \ |
471 |
| --locals | --local | --loca | --loc | --lo) |
472 |
ac_prev=localstatedir ;; |
473 |
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
474 |
| --localstate=* | --localstat=* | --localsta=* | --localst=* \ |
475 |
| --locals=* | --local=* | --loca=* | --loc=* | --lo=*) |
476 |
localstatedir=$ac_optarg ;; |
477 |
|
478 |
-mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
479 |
ac_prev=mandir ;; |
480 |
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) |
481 |
mandir=$ac_optarg ;; |
482 |
|
483 |
-nfp | --nfp | --nf) |
484 |
# Obsolete; use --without-fp. |
485 |
with_fp=no ;; |
486 |
|
487 |
-no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
488 |
| --no-cr | --no-c | -n) |
489 |
no_create=yes ;; |
490 |
|
491 |
-no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
492 |
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) |
493 |
no_recursion=yes ;; |
494 |
|
495 |
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ |
496 |
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ |
497 |
| --oldin | --oldi | --old | --ol | --o) |
498 |
ac_prev=oldincludedir ;; |
499 |
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ |
500 |
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ |
501 |
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) |
502 |
oldincludedir=$ac_optarg ;; |
503 |
|
504 |
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
505 |
ac_prev=prefix ;; |
506 |
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
507 |
prefix=$ac_optarg ;; |
508 |
|
509 |
-program-prefix | --program-prefix | --program-prefi | --program-pref \ |
510 |
| --program-pre | --program-pr | --program-p) |
511 |
ac_prev=program_prefix ;; |
512 |
-program-prefix=* | --program-prefix=* | --program-prefi=* \ |
513 |
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) |
514 |
program_prefix=$ac_optarg ;; |
515 |
|
516 |
-program-suffix | --program-suffix | --program-suffi | --program-suff \ |
517 |
| --program-suf | --program-su | --program-s) |
518 |
ac_prev=program_suffix ;; |
519 |
-program-suffix=* | --program-suffix=* | --program-suffi=* \ |
520 |
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) |
521 |
program_suffix=$ac_optarg ;; |
522 |
|
523 |
-program-transform-name | --program-transform-name \ |
524 |
| --program-transform-nam | --program-transform-na \ |
525 |
| --program-transform-n | --program-transform- \ |
526 |
| --program-transform | --program-transfor \ |
527 |
| --program-transfo | --program-transf \ |
528 |
| --program-trans | --program-tran \ |
529 |
| --progr-tra | --program-tr | --program-t) |
530 |
ac_prev=program_transform_name ;; |
531 |
-program-transform-name=* | --program-transform-name=* \ |
532 |
| --program-transform-nam=* | --program-transform-na=* \ |
533 |
| --program-transform-n=* | --program-transform-=* \ |
534 |
| --program-transform=* | --program-transfor=* \ |
535 |
| --program-transfo=* | --program-transf=* \ |
536 |
| --program-trans=* | --program-tran=* \ |
537 |
| --progr-tra=* | --program-tr=* | --program-t=*) |
538 |
program_transform_name=$ac_optarg ;; |
539 |
|
540 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
541 |
| -silent | --silent | --silen | --sile | --sil) |
542 |
silent=yes ;; |
543 |
|
544 |
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
545 |
ac_prev=sbindir ;; |
546 |
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
547 |
| --sbi=* | --sb=*) |
548 |
sbindir=$ac_optarg ;; |
549 |
|
550 |
-sharedstatedir | --sharedstatedir | --sharedstatedi \ |
551 |
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \ |
552 |
| --sharedst | --shareds | --shared | --share | --shar \ |
553 |
| --sha | --sh) |
554 |
ac_prev=sharedstatedir ;; |
555 |
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ |
556 |
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ |
557 |
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ |
558 |
| --sha=* | --sh=*) |
559 |
sharedstatedir=$ac_optarg ;; |
560 |
|
561 |
-site | --site | --sit) |
562 |
ac_prev=site ;; |
563 |
-site=* | --site=* | --sit=*) |
564 |
site=$ac_optarg ;; |
565 |
|
566 |
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
567 |
ac_prev=srcdir ;; |
568 |
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
569 |
srcdir=$ac_optarg ;; |
570 |
|
571 |
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ |
572 |
| --syscon | --sysco | --sysc | --sys | --sy) |
573 |
ac_prev=sysconfdir ;; |
574 |
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ |
575 |
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) |
576 |
sysconfdir=$ac_optarg ;; |
577 |
|
578 |
-target | --target | --targe | --targ | --tar | --ta | --t) |
579 |
ac_prev=target_alias ;; |
580 |
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
581 |
target_alias=$ac_optarg ;; |
582 |
|
583 |
-v | -verbose | --verbose | --verbos | --verbo | --verb) |
584 |
verbose=yes ;; |
585 |
|
586 |
-version | --version | --versio | --versi | --vers | -V) |
587 |
ac_init_version=: ;; |
588 |
|
589 |
-with-* | --with-*) |
590 |
ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
591 |
# Reject names that are not valid shell variable names. |
592 |
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && |
593 |
{ echo "$as_me: error: invalid package name: $ac_package" >&2 |
594 |
{ (exit 1); exit 1; }; } |
595 |
ac_package=`echo $ac_package| sed 's/-/_/g'` |
596 |
case $ac_option in |
597 |
*=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; |
598 |
*) ac_optarg=yes ;; |
599 |
esac |
600 |
eval "with_$ac_package='$ac_optarg'" ;; |
601 |
|
602 |
-without-* | --without-*) |
603 |
ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
604 |
# Reject names that are not valid shell variable names. |
605 |
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && |
606 |
{ echo "$as_me: error: invalid package name: $ac_package" >&2 |
607 |
{ (exit 1); exit 1; }; } |
608 |
ac_package=`echo $ac_package | sed 's/-/_/g'` |
609 |
eval "with_$ac_package=no" ;; |
610 |
|
611 |
--x) |
612 |
# Obsolete; use --with-x. |
613 |
with_x=yes ;; |
614 |
|
615 |
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ |
616 |
| --x-incl | --x-inc | --x-in | --x-i) |
617 |
ac_prev=x_includes ;; |
618 |
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ |
619 |
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) |
620 |
x_includes=$ac_optarg ;; |
621 |
|
622 |
-x-libraries | --x-libraries | --x-librarie | --x-librari \ |
623 |
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) |
624 |
ac_prev=x_libraries ;; |
625 |
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
626 |
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
627 |
x_libraries=$ac_optarg ;; |
628 |
|
629 |
-*) { echo "$as_me: error: unrecognized option: $ac_option |
630 |
Try \`$0 --help' for more information." >&2 |
631 |
{ (exit 1); exit 1; }; } |
632 |
;; |
633 |
|
634 |
*=*) |
635 |
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
636 |
# Reject names that are not valid shell variable names. |
637 |
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && |
638 |
{ echo "$as_me: error: invalid variable name: $ac_envvar" >&2 |
639 |
{ (exit 1); exit 1; }; } |
640 |
ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` |
641 |
eval "$ac_envvar='$ac_optarg'" |
642 |
export $ac_envvar ;; |
643 |
|
644 |
*) |
645 |
# FIXME: should be removed in autoconf 3.0. |
646 |
echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
647 |
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
648 |
echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
649 |
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} |
650 |
;; |
651 |
|
652 |
esac |
653 |
done |
654 |
|
655 |
if test -n "$ac_prev"; then |
656 |
ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
657 |
{ echo "$as_me: error: missing argument to $ac_option" >&2 |
658 |
{ (exit 1); exit 1; }; } |
659 |
fi |
660 |
|
661 |
# Be sure to have absolute paths. |
662 |
for ac_var in exec_prefix prefix |
663 |
do |
664 |
eval ac_val=$`echo $ac_var` |
665 |
case $ac_val in |
666 |
[\\/$]* | ?:[\\/]* | NONE | '' ) ;; |
667 |
*) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
668 |
{ (exit 1); exit 1; }; };; |
669 |
esac |
670 |
done |
671 |
|
672 |
# Be sure to have absolute paths. |
673 |
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ |
674 |
localstatedir libdir includedir oldincludedir infodir mandir |
675 |
do |
676 |
eval ac_val=$`echo $ac_var` |
677 |
case $ac_val in |
678 |
[\\/$]* | ?:[\\/]* ) ;; |
679 |
*) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
680 |
{ (exit 1); exit 1; }; };; |
681 |
esac |
682 |
done |
683 |
|
684 |
# There might be people who depend on the old broken behavior: `$host' |
685 |
# used to hold the argument of --host etc. |
686 |
# FIXME: To remove some day. |
687 |
build=$build_alias |
688 |
host=$host_alias |
689 |
target=$target_alias |
690 |
|
691 |
# FIXME: To remove some day. |
692 |
if test "x$host_alias" != x; then |
693 |
if test "x$build_alias" = x; then |
694 |
cross_compiling=maybe |
695 |
echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. |
696 |
If a cross compiler is detected then cross compile mode will be used." >&2 |
697 |
elif test "x$build_alias" != "x$host_alias"; then |
698 |
cross_compiling=yes |
699 |
fi |
700 |
fi |
701 |
|
702 |
ac_tool_prefix= |
703 |
test -n "$host_alias" && ac_tool_prefix=$host_alias- |
704 |
|
705 |
test "$silent" = yes && exec 6>/dev/null |
706 |
|
707 |
|
708 |
# Find the source files, if location was not specified. |
709 |
if test -z "$srcdir"; then |
710 |
ac_srcdir_defaulted=yes |
711 |
# Try the directory containing this script, then its parent. |
712 |
ac_confdir=`(dirname "$0") 2>/dev/null || |
713 |
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
714 |
X"$0" : 'X\(//\)[^/]' \| \ |
715 |
X"$0" : 'X\(//\)$' \| \ |
716 |
X"$0" : 'X\(/\)' \| \ |
717 |
. : '\(.\)' 2>/dev/null || |
718 |
echo X"$0" | |
719 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
720 |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
721 |
/^X\(\/\/\)$/{ s//\1/; q; } |
722 |
/^X\(\/\).*/{ s//\1/; q; } |
723 |
s/.*/./; q'` |
724 |
srcdir=$ac_confdir |
725 |
if test ! -r $srcdir/$ac_unique_file; then |
726 |
srcdir=.. |
727 |
fi |
728 |
else |
729 |
ac_srcdir_defaulted=no |
730 |
fi |
731 |
if test ! -r $srcdir/$ac_unique_file; then |
732 |
if test "$ac_srcdir_defaulted" = yes; then |
733 |
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 |
734 |
{ (exit 1); exit 1; }; } |
735 |
else |
736 |
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 |
737 |
{ (exit 1); exit 1; }; } |
738 |
fi |
739 |
fi |
740 |
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || |
741 |
{ echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 |
742 |
{ (exit 1); exit 1; }; } |
743 |
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` |
744 |
ac_env_build_alias_set=${build_alias+set} |
745 |
ac_env_build_alias_value=$build_alias |
746 |
ac_cv_env_build_alias_set=${build_alias+set} |
747 |
ac_cv_env_build_alias_value=$build_alias |
748 |
ac_env_host_alias_set=${host_alias+set} |
749 |
ac_env_host_alias_value=$host_alias |
750 |
ac_cv_env_host_alias_set=${host_alias+set} |
751 |
ac_cv_env_host_alias_value=$host_alias |
752 |
ac_env_target_alias_set=${target_alias+set} |
753 |
ac_env_target_alias_value=$target_alias |
754 |
ac_cv_env_target_alias_set=${target_alias+set} |
755 |
ac_cv_env_target_alias_value=$target_alias |
756 |
ac_env_CC_set=${CC+set} |
757 |
ac_env_CC_value=$CC |
758 |
ac_cv_env_CC_set=${CC+set} |
759 |
ac_cv_env_CC_value=$CC |
760 |
ac_env_CFLAGS_set=${CFLAGS+set} |
761 |
ac_env_CFLAGS_value=$CFLAGS |
762 |
ac_cv_env_CFLAGS_set=${CFLAGS+set} |
763 |
ac_cv_env_CFLAGS_value=$CFLAGS |
764 |
ac_env_LDFLAGS_set=${LDFLAGS+set} |
765 |
ac_env_LDFLAGS_value=$LDFLAGS |
766 |
ac_cv_env_LDFLAGS_set=${LDFLAGS+set} |
767 |
ac_cv_env_LDFLAGS_value=$LDFLAGS |
768 |
ac_env_CPPFLAGS_set=${CPPFLAGS+set} |
769 |
ac_env_CPPFLAGS_value=$CPPFLAGS |
770 |
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} |
771 |
ac_cv_env_CPPFLAGS_value=$CPPFLAGS |
772 |
ac_env_CPP_set=${CPP+set} |
773 |
ac_env_CPP_value=$CPP |
774 |
ac_cv_env_CPP_set=${CPP+set} |
775 |
ac_cv_env_CPP_value=$CPP |
776 |
|
777 |
# |
778 |
# Report the --help message. |
779 |
# |
780 |
if test "$ac_init_help" = "long"; then |
781 |
# Omit some internal or obsolete options to make the list less imposing. |
782 |
# This message is too long to be a string in the A/UX 3.1 sh. |
783 |
cat <<_ACEOF |
784 |
\`configure' configures Undernet IRCD proxy scanner 2.0 to adapt to many kinds of systems. |
785 |
|
786 |
Usage: $0 [OPTION]... [VAR=VALUE]... |
787 |
|
788 |
To assign environment variables (e.g., CC, CFLAGS...), specify them as |
789 |
VAR=VALUE. See below for descriptions of some of the useful variables. |
790 |
|
791 |
Defaults for the options are specified in brackets. |
792 |
|
793 |
Configuration: |
794 |
-h, --help display this help and exit |
795 |
--help=short display options specific to this package |
796 |
--help=recursive display the short help of all the included packages |
797 |
-V, --version display version information and exit |
798 |
-q, --quiet, --silent do not print \`checking...' messages |
799 |
--cache-file=FILE cache test results in FILE [disabled] |
800 |
-C, --config-cache alias for \`--cache-file=config.cache' |
801 |
-n, --no-create do not create output files |
802 |
--srcdir=DIR find the sources in DIR [configure dir or \`..'] |
803 |
|
804 |
_ACEOF |
805 |
|
806 |
cat <<_ACEOF |
807 |
Installation directories: |
808 |
--prefix=PREFIX install architecture-independent files in PREFIX |
809 |
[$ac_default_prefix] |
810 |
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
811 |
[PREFIX] |
812 |
|
813 |
By default, \`make install' will install all the files in |
814 |
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
815 |
an installation prefix other than \`$ac_default_prefix' using \`--prefix', |
816 |
for instance \`--prefix=\$HOME'. |
817 |
|
818 |
For better control, use the options below. |
819 |
|
820 |
Fine tuning of the installation directories: |
821 |
--bindir=DIR user executables [EPREFIX/bin] |
822 |
--sbindir=DIR system admin executables [EPREFIX/sbin] |
823 |
--libexecdir=DIR program executables [EPREFIX/libexec] |
824 |
--datadir=DIR read-only architecture-independent data [PREFIX/share] |
825 |
--sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
826 |
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
827 |
--localstatedir=DIR modifiable single-machine data [PREFIX/var] |
828 |
--libdir=DIR object code libraries [EPREFIX/lib] |
829 |
--includedir=DIR C header files [PREFIX/include] |
830 |
--oldincludedir=DIR C header files for non-gcc [/usr/include] |
831 |
--infodir=DIR info documentation [PREFIX/info] |
832 |
--mandir=DIR man documentation [PREFIX/man] |
833 |
_ACEOF |
834 |
|
835 |
cat <<\_ACEOF |
836 |
|
837 |
Program names: |
838 |
--program-prefix=PREFIX prepend PREFIX to installed program names |
839 |
--program-suffix=SUFFIX append SUFFIX to installed program names |
840 |
--program-transform-name=PROGRAM run sed PROGRAM on installed program names |
841 |
_ACEOF |
842 |
fi |
843 |
|
844 |
if test -n "$ac_init_help"; then |
845 |
case $ac_init_help in |
846 |
short | recursive ) echo "Configuration of Undernet IRCD proxy scanner 2.0:";; |
847 |
esac |
848 |
cat <<\_ACEOF |
849 |
|
850 |
Optional Features: |
851 |
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
852 |
--enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
853 |
--enable-maintainer-mode enable make rules and dependencies not useful |
854 |
(and sometimes confusing) to the casual installer |
855 |
--disable-dependency-tracking Speeds up one-time builds |
856 |
--enable-dependency-tracking Do not reject slow dependency extractors |
857 |
--enable-debug turn on debugging mode |
858 |
|
859 |
Optional Packages: |
860 |
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
861 |
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
862 |
--with-dbprim-prefix=PFX Prefix where dbprim is installed (optional) |
863 |
--with-dbprim-exec-prefix=PFX Exec prefix where dbprim is installed (optional) |
864 |
--with-peak-prefix=PFX Prefix where peak is installed (optional) |
865 |
--with-peak-exec-prefix=PFX Exec prefix where peak is installed (optional) |
866 |
--with-xml2-prefix=PFX Prefix where xml2 is installed (optional) |
867 |
--with-xml2-exec-prefix=PFX Exec prefix where xml2 is installed (optional) |
868 |
--with-maxnicklen=NUMBER maximum nick length of network clients [default=15] |
869 |
|
870 |
Some influential environment variables: |
871 |
CC C compiler command |
872 |
CFLAGS C compiler flags |
873 |
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
874 |
nonstandard directory <lib dir> |
875 |
CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have |
876 |
headers in a nonstandard directory <include dir> |
877 |
CPP C preprocessor |
878 |
|
879 |
Use these variables to override the choices made by `configure' or to help |
880 |
it to find libraries and programs with nonstandard names/locations. |
881 |
|
882 |
Report bugs to <mbuna@bugged.org>. |
883 |
_ACEOF |
884 |
fi |
885 |
|
886 |
if test "$ac_init_help" = "recursive"; then |
887 |
# If there are subdirs, report their specific --help. |
888 |
ac_popdir=`pwd` |
889 |
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
890 |
test -d $ac_dir || continue |
891 |
ac_builddir=. |
892 |
|
893 |
if test "$ac_dir" != .; then |
894 |
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
895 |
# A "../" for each directory in $ac_dir_suffix. |
896 |
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` |
897 |
else |
898 |
ac_dir_suffix= ac_top_builddir= |
899 |
fi |
900 |
|
901 |
case $srcdir in |
902 |
.) # No --srcdir option. We are building in place. |
903 |
ac_srcdir=. |
904 |
if test -z "$ac_top_builddir"; then |
905 |
ac_top_srcdir=. |
906 |
else |
907 |
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` |
908 |
fi ;; |
909 |
[\\/]* | ?:[\\/]* ) # Absolute path. |
910 |
ac_srcdir=$srcdir$ac_dir_suffix; |
911 |
ac_top_srcdir=$srcdir ;; |
912 |
*) # Relative path. |
913 |
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
914 |
ac_top_srcdir=$ac_top_builddir$srcdir ;; |
915 |
esac |
916 |
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be |
917 |
# absolute. |
918 |
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` |
919 |
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` |
920 |
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` |
921 |
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` |
922 |
|
923 |
cd $ac_dir |
924 |
# Check for guested configure; otherwise get Cygnus style configure. |
925 |
if test -f $ac_srcdir/configure.gnu; then |
926 |
echo |
927 |
$SHELL $ac_srcdir/configure.gnu --help=recursive |
928 |
elif test -f $ac_srcdir/configure; then |
929 |
echo |
930 |
$SHELL $ac_srcdir/configure --help=recursive |
931 |
elif test -f $ac_srcdir/configure.ac || |
932 |
test -f $ac_srcdir/configure.in; then |
933 |
echo |
934 |
$ac_configure --help |
935 |
else |
936 |
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
937 |
fi |
938 |
cd $ac_popdir |
939 |
done |
940 |
fi |
941 |
|
942 |
test -n "$ac_init_help" && exit 0 |
943 |
if $ac_init_version; then |
944 |
cat <<\_ACEOF |
945 |
Undernet IRCD proxy scanner configure 2.0 |
946 |
generated by GNU Autoconf 2.57 |
947 |
|
948 |
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 |
949 |
Free Software Foundation, Inc. |
950 |
This configure script is free software; the Free Software Foundation |
951 |
gives unlimited permission to copy, distribute and modify it. |
952 |
_ACEOF |
953 |
exit 0 |
954 |
fi |
955 |
exec 5>config.log |
956 |
cat >&5 <<_ACEOF |
957 |
This file contains any messages produced by compilers while |
958 |
running configure, to aid debugging if configure makes a mistake. |
959 |
|
960 |
It was created by Undernet IRCD proxy scanner $as_me 2.0, which was |
961 |
generated by GNU Autoconf 2.57. Invocation command line was |
962 |
|
963 |
$ $0 $@ |
964 |
|
965 |
_ACEOF |
966 |
{ |
967 |
cat <<_ASUNAME |
968 |
## --------- ## |
969 |
## Platform. ## |
970 |
## --------- ## |
971 |
|
972 |
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` |
973 |
uname -m = `(uname -m) 2>/dev/null || echo unknown` |
974 |
uname -r = `(uname -r) 2>/dev/null || echo unknown` |
975 |
uname -s = `(uname -s) 2>/dev/null || echo unknown` |
976 |
uname -v = `(uname -v) 2>/dev/null || echo unknown` |
977 |
|
978 |
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` |
979 |
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` |
980 |
|
981 |
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` |
982 |
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` |
983 |
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` |
984 |
hostinfo = `(hostinfo) 2>/dev/null || echo unknown` |
985 |
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` |
986 |
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` |
987 |
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` |
988 |
|
989 |
_ASUNAME |
990 |
|
991 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
992 |
for as_dir in $PATH |
993 |
do |
994 |
IFS=$as_save_IFS |
995 |
test -z "$as_dir" && as_dir=. |
996 |
echo "PATH: $as_dir" |
997 |
done |
998 |
|
999 |
} >&5 |
1000 |
|
1001 |
cat >&5 <<_ACEOF |
1002 |
|
1003 |
|
1004 |
## ----------- ## |
1005 |
## Core tests. ## |
1006 |
## ----------- ## |
1007 |
|
1008 |
_ACEOF |
1009 |
|
1010 |
|
1011 |
# Keep a trace of the command line. |
1012 |
# Strip out --no-create and --no-recursion so they do not pile up. |
1013 |
# Strip out --silent because we don't want to record it for future runs. |
1014 |
# Also quote any args containing shell meta-characters. |
1015 |
# Make two passes to allow for proper duplicate-argument suppression. |
1016 |
ac_configure_args= |
1017 |
ac_configure_args0= |
1018 |
ac_configure_args1= |
1019 |
ac_sep= |
1020 |
ac_must_keep_next=false |
1021 |
for ac_pass in 1 2 |
1022 |
do |
1023 |
for ac_arg |
1024 |
do |
1025 |
case $ac_arg in |
1026 |
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
1027 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
1028 |
| -silent | --silent | --silen | --sile | --sil) |
1029 |
continue ;; |
1030 |
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) |
1031 |
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
1032 |
esac |
1033 |
case $ac_pass in |
1034 |
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; |
1035 |
2) |
1036 |
ac_configure_args1="$ac_configure_args1 '$ac_arg'" |
1037 |
if test $ac_must_keep_next = true; then |
1038 |
ac_must_keep_next=false # Got value, back to normal. |
1039 |
else |
1040 |
case $ac_arg in |
1041 |
*=* | --config-cache | -C | -disable-* | --disable-* \ |
1042 |
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
1043 |
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
1044 |
| -with-* | --with-* | -without-* | --without-* | --x) |
1045 |
case "$ac_configure_args0 " in |
1046 |
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
1047 |
esac |
1048 |
;; |
1049 |
-* ) ac_must_keep_next=true ;; |
1050 |
esac |
1051 |
fi |
1052 |
ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" |
1053 |
# Get rid of the leading space. |
1054 |
ac_sep=" " |
1055 |
;; |
1056 |
esac |
1057 |
done |
1058 |
done |
1059 |
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } |
1060 |
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } |
1061 |
|
1062 |
# When interrupted or exit'd, cleanup temporary files, and complete |
1063 |
# config.log. We remove comments because anyway the quotes in there |
1064 |
# would cause problems or look ugly. |
1065 |
# WARNING: Be sure not to use single quotes in there, as some shells, |
1066 |
# such as our DU 5.0 friend, will then `close' the trap. |
1067 |
trap 'exit_status=$? |
1068 |
# Save into config.log some information that might help in debugging. |
1069 |
{ |
1070 |
echo |
1071 |
|
1072 |
cat <<\_ASBOX |
1073 |
## ---------------- ## |
1074 |
## Cache variables. ## |
1075 |
## ---------------- ## |
1076 |
_ASBOX |
1077 |
echo |
1078 |
# The following way of writing the cache mishandles newlines in values, |
1079 |
{ |
1080 |
(set) 2>&1 | |
1081 |
case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in |
1082 |
*ac_space=\ *) |
1083 |
sed -n \ |
1084 |
"s/'"'"'/'"'"'\\\\'"'"''"'"'/g; |
1085 |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" |
1086 |
;; |
1087 |
*) |
1088 |
sed -n \ |
1089 |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
1090 |
;; |
1091 |
esac; |
1092 |
} |
1093 |
echo |
1094 |
|
1095 |
cat <<\_ASBOX |
1096 |
## ----------------- ## |
1097 |
## Output variables. ## |
1098 |
## ----------------- ## |
1099 |
_ASBOX |
1100 |
echo |
1101 |
for ac_var in $ac_subst_vars |
1102 |
do |
1103 |
eval ac_val=$`echo $ac_var` |
1104 |
echo "$ac_var='"'"'$ac_val'"'"'" |
1105 |
done | sort |
1106 |
echo |
1107 |
|
1108 |
if test -n "$ac_subst_files"; then |
1109 |
cat <<\_ASBOX |
1110 |
## ------------- ## |
1111 |
## Output files. ## |
1112 |
## ------------- ## |
1113 |
_ASBOX |
1114 |
echo |
1115 |
for ac_var in $ac_subst_files |
1116 |
do |
1117 |
eval ac_val=$`echo $ac_var` |
1118 |
echo "$ac_var='"'"'$ac_val'"'"'" |
1119 |
done | sort |
1120 |
echo |
1121 |
fi |
1122 |
|
1123 |
if test -s confdefs.h; then |
1124 |
cat <<\_ASBOX |
1125 |
## ----------- ## |
1126 |
## confdefs.h. ## |
1127 |
## ----------- ## |
1128 |
_ASBOX |
1129 |
echo |
1130 |
sed "/^$/d" confdefs.h | sort |
1131 |
echo |
1132 |
fi |
1133 |
test "$ac_signal" != 0 && |
1134 |
echo "$as_me: caught signal $ac_signal" |
1135 |
echo "$as_me: exit $exit_status" |
1136 |
} >&5 |
1137 |
rm -f core core.* *.core && |
1138 |
rm -rf conftest* confdefs* conf$$* $ac_clean_files && |
1139 |
exit $exit_status |
1140 |
' 0 |
1141 |
for ac_signal in 1 2 13 15; do |
1142 |
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal |
1143 |
done |
1144 |
ac_signal=0 |
1145 |
|
1146 |
# confdefs.h avoids OS command line length limits that DEFS can exceed. |
1147 |
rm -rf conftest* confdefs.h |
1148 |
# AIX cpp loses on an empty file, so make sure it contains at least a newline. |
1149 |
echo >confdefs.h |
1150 |
|
1151 |
# Predefined preprocessor variables. |
1152 |
|
1153 |
cat >>confdefs.h <<_ACEOF |
1154 |
#define PACKAGE_NAME "$PACKAGE_NAME" |
1155 |
_ACEOF |
1156 |
|
1157 |
|
1158 |
cat >>confdefs.h <<_ACEOF |
1159 |
#define PACKAGE_TARNAME "$PACKAGE_TARNAME" |
1160 |
_ACEOF |
1161 |
|
1162 |
|
1163 |
cat >>confdefs.h <<_ACEOF |
1164 |
#define PACKAGE_VERSION "$PACKAGE_VERSION" |
1165 |
_ACEOF |
1166 |
|
1167 |
|
1168 |
cat >>confdefs.h <<_ACEOF |
1169 |
#define PACKAGE_STRING "$PACKAGE_STRING" |
1170 |
_ACEOF |
1171 |
|
1172 |
|
1173 |
cat >>confdefs.h <<_ACEOF |
1174 |
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
1175 |
_ACEOF |
1176 |
|
1177 |
|
1178 |
# Let the site file select an alternate cache file if it wants to. |
1179 |
# Prefer explicitly selected file to automatically selected ones. |
1180 |
if test -z "$CONFIG_SITE"; then |
1181 |
if test "x$prefix" != xNONE; then |
1182 |
CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" |
1183 |
else |
1184 |
CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" |
1185 |
fi |
1186 |
fi |
1187 |
for ac_site_file in $CONFIG_SITE; do |
1188 |
if test -r "$ac_site_file"; then |
1189 |
{ echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 |
1190 |
echo "$as_me: loading site script $ac_site_file" >&6;} |
1191 |
sed 's/^/| /' "$ac_site_file" >&5 |
1192 |
. "$ac_site_file" |
1193 |
fi |
1194 |
done |
1195 |
|
1196 |
if test -r "$cache_file"; then |
1197 |
# Some versions of bash will fail to source /dev/null (special |
1198 |
# files actually), so we avoid doing that. |
1199 |
if test -f "$cache_file"; then |
1200 |
{ echo "$as_me:$LINENO: loading cache $cache_file" >&5 |
1201 |
echo "$as_me: loading cache $cache_file" >&6;} |
1202 |
case $cache_file in |
1203 |
[\\/]* | ?:[\\/]* ) . $cache_file;; |
1204 |
*) . ./$cache_file;; |
1205 |
esac |
1206 |
fi |
1207 |
else |
1208 |
{ echo "$as_me:$LINENO: creating cache $cache_file" >&5 |
1209 |
echo "$as_me: creating cache $cache_file" >&6;} |
1210 |
>$cache_file |
1211 |
fi |
1212 |
|
1213 |
# Check that the precious variables saved in the cache have kept the same |
1214 |
# value. |
1215 |
ac_cache_corrupted=false |
1216 |
for ac_var in `(set) 2>&1 | |
1217 |
sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do |
1218 |
eval ac_old_set=\$ac_cv_env_${ac_var}_set |
1219 |
eval ac_new_set=\$ac_env_${ac_var}_set |
1220 |
eval ac_old_val="\$ac_cv_env_${ac_var}_value" |
1221 |
eval ac_new_val="\$ac_env_${ac_var}_value" |
1222 |
case $ac_old_set,$ac_new_set in |
1223 |
set,) |
1224 |
{ echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
1225 |
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
1226 |
ac_cache_corrupted=: ;; |
1227 |
,set) |
1228 |
{ echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 |
1229 |
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
1230 |
ac_cache_corrupted=: ;; |
1231 |
,);; |
1232 |
*) |
1233 |
if test "x$ac_old_val" != "x$ac_new_val"; then |
1234 |
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 |
1235 |
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
1236 |
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5 |
1237 |
echo "$as_me: former value: $ac_old_val" >&2;} |
1238 |
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5 |
1239 |
echo "$as_me: current value: $ac_new_val" >&2;} |
1240 |
ac_cache_corrupted=: |
1241 |
fi;; |
1242 |
esac |
1243 |
# Pass precious variables to config.status. |
1244 |
if test "$ac_new_set" = set; then |
1245 |
case $ac_new_val in |
1246 |
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) |
1247 |
ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
1248 |
*) ac_arg=$ac_var=$ac_new_val ;; |
1249 |
esac |
1250 |
case " $ac_configure_args " in |
1251 |
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
1252 |
*) ac_configure_args="$ac_configure_args '$ac_arg'" ;; |
1253 |
esac |
1254 |
fi |
1255 |
done |
1256 |
if $ac_cache_corrupted; then |
1257 |
{ echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 |
1258 |
echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
1259 |
{ { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 |
1260 |
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} |
1261 |
{ (exit 1); exit 1; }; } |
1262 |
fi |
1263 |
|
1264 |
ac_ext=c |
1265 |
ac_cpp='$CPP $CPPFLAGS' |
1266 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
1267 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
1268 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
1269 |
|
1270 |
|
1271 |
|
1272 |
|
1273 |
|
1274 |
|
1275 |
|
1276 |
|
1277 |
|
1278 |
|
1279 |
|
1280 |
|
1281 |
|
1282 |
|
1283 |
|
1284 |
|
1285 |
|
1286 |
|
1287 |
|
1288 |
|
1289 |
|
1290 |
|
1291 |
|
1292 |
|
1293 |
|
1294 |
|
1295 |
|
1296 |
am__api_version="1.6" |
1297 |
ac_aux_dir= |
1298 |
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do |
1299 |
if test -f $ac_dir/install-sh; then |
1300 |
ac_aux_dir=$ac_dir |
1301 |
ac_install_sh="$ac_aux_dir/install-sh -c" |
1302 |
break |
1303 |
elif test -f $ac_dir/install.sh; then |
1304 |
ac_aux_dir=$ac_dir |
1305 |
ac_install_sh="$ac_aux_dir/install.sh -c" |
1306 |
break |
1307 |
elif test -f $ac_dir/shtool; then |
1308 |
ac_aux_dir=$ac_dir |
1309 |
ac_install_sh="$ac_aux_dir/shtool install -c" |
1310 |
break |
1311 |
fi |
1312 |
done |
1313 |
if test -z "$ac_aux_dir"; then |
1314 |
{ { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 |
1315 |
echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} |
1316 |
{ (exit 1); exit 1; }; } |
1317 |
fi |
1318 |
ac_config_guess="$SHELL $ac_aux_dir/config.guess" |
1319 |
ac_config_sub="$SHELL $ac_aux_dir/config.sub" |
1320 |
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. |
1321 |
|
1322 |
# Find a good install program. We prefer a C program (faster), |
1323 |
# so one script is as good as another. But avoid the broken or |
1324 |
# incompatible versions: |
1325 |
# SysV /etc/install, /usr/sbin/install |
1326 |
# SunOS /usr/etc/install |
1327 |
# IRIX /sbin/install |
1328 |
# AIX /bin/install |
1329 |
# AmigaOS /C/install, which installs bootblocks on floppy discs |
1330 |
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
1331 |
# AFS /usr/afsws/bin/install, which mishandles nonexistent args |
1332 |
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
1333 |
# ./install, which can be erroneously created by make from ./install.sh. |
1334 |
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
1335 |
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 |
1336 |
if test -z "$INSTALL"; then |
1337 |
if test "${ac_cv_path_install+set}" = set; then |
1338 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1339 |
else |
1340 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1341 |
for as_dir in $PATH |
1342 |
do |
1343 |
IFS=$as_save_IFS |
1344 |
test -z "$as_dir" && as_dir=. |
1345 |
# Account for people who put trailing slashes in PATH elements. |
1346 |
case $as_dir/ in |
1347 |
./ | .// | /cC/* | \ |
1348 |
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
1349 |
/usr/ucb/* ) ;; |
1350 |
*) |
1351 |
# OSF1 and SCO ODT 3.0 have their own names for install. |
1352 |
# Don't use installbsd from OSF since it installs stuff as root |
1353 |
# by default. |
1354 |
for ac_prog in ginstall scoinst install; do |
1355 |
for ac_exec_ext in '' $ac_executable_extensions; do |
1356 |
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
1357 |
if test $ac_prog = install && |
1358 |
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
1359 |
# AIX install. It has an incompatible calling convention. |
1360 |
: |
1361 |
elif test $ac_prog = install && |
1362 |
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
1363 |
# program-specific install script used by HP pwplus--don't use. |
1364 |
: |
1365 |
else |
1366 |
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
1367 |
break 3 |
1368 |
fi |
1369 |
fi |
1370 |
done |
1371 |
done |
1372 |
;; |
1373 |
esac |
1374 |
done |
1375 |
|
1376 |
|
1377 |
fi |
1378 |
if test "${ac_cv_path_install+set}" = set; then |
1379 |
INSTALL=$ac_cv_path_install |
1380 |
else |
1381 |
# As a last resort, use the slow shell script. We don't cache a |
1382 |
# path for INSTALL within a source directory, because that will |
1383 |
# break other packages using the cache if that directory is |
1384 |
# removed, or if the path is relative. |
1385 |
INSTALL=$ac_install_sh |
1386 |
fi |
1387 |
fi |
1388 |
echo "$as_me:$LINENO: result: $INSTALL" >&5 |
1389 |
echo "${ECHO_T}$INSTALL" >&6 |
1390 |
|
1391 |
# Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
1392 |
# It thinks the first close brace ends the variable substitution. |
1393 |
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
1394 |
|
1395 |
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
1396 |
|
1397 |
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
1398 |
|
1399 |
echo "$as_me:$LINENO: checking whether build environment is sane" >&5 |
1400 |
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6 |
1401 |
# Just in case |
1402 |
sleep 1 |
1403 |
echo timestamp > conftest.file |
1404 |
# Do `set' in a subshell so we don't clobber the current shell's |
1405 |
# arguments. Must try -L first in case configure is actually a |
1406 |
# symlink; some systems play weird games with the mod time of symlinks |
1407 |
# (eg FreeBSD returns the mod time of the symlink's containing |
1408 |
# directory). |
1409 |
if ( |
1410 |
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` |
1411 |
if test "$*" = "X"; then |
1412 |
# -L didn't work. |
1413 |
set X `ls -t $srcdir/configure conftest.file` |
1414 |
fi |
1415 |
rm -f conftest.file |
1416 |
if test "$*" != "X $srcdir/configure conftest.file" \ |
1417 |
&& test "$*" != "X conftest.file $srcdir/configure"; then |
1418 |
|
1419 |
# If neither matched, then we have a broken ls. This can happen |
1420 |
# if, for instance, CONFIG_SHELL is bash and it inherits a |
1421 |
# broken ls alias from the environment. This has actually |
1422 |
# happened. Such a system could not be considered "sane". |
1423 |
{ { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken |
1424 |
alias in your environment" >&5 |
1425 |
echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken |
1426 |
alias in your environment" >&2;} |
1427 |
{ (exit 1); exit 1; }; } |
1428 |
fi |
1429 |
|
1430 |
test "$2" = conftest.file |
1431 |
) |
1432 |
then |
1433 |
# Ok. |
1434 |
: |
1435 |
else |
1436 |
{ { echo "$as_me:$LINENO: error: newly created file is older than distributed files! |
1437 |
Check your system clock" >&5 |
1438 |
echo "$as_me: error: newly created file is older than distributed files! |
1439 |
Check your system clock" >&2;} |
1440 |
{ (exit 1); exit 1; }; } |
1441 |
fi |
1442 |
echo "$as_me:$LINENO: result: yes" >&5 |
1443 |
echo "${ECHO_T}yes" >&6 |
1444 |
test "$program_prefix" != NONE && |
1445 |
program_transform_name="s,^,$program_prefix,;$program_transform_name" |
1446 |
# Use a double $ so make ignores it. |
1447 |
test "$program_suffix" != NONE && |
1448 |
program_transform_name="s,\$,$program_suffix,;$program_transform_name" |
1449 |
# Double any \ or $. echo might interpret backslashes. |
1450 |
# By default was `s,x,x', remove it if useless. |
1451 |
cat <<\_ACEOF >conftest.sed |
1452 |
s/[\\$]/&&/g;s/;s,x,x,$// |
1453 |
_ACEOF |
1454 |
program_transform_name=`echo $program_transform_name | sed -f conftest.sed` |
1455 |
rm conftest.sed |
1456 |
|
1457 |
|
1458 |
# expand $ac_aux_dir to an absolute path |
1459 |
am_aux_dir=`cd $ac_aux_dir && pwd` |
1460 |
|
1461 |
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" |
1462 |
# Use eval to expand $SHELL |
1463 |
if eval "$MISSING --run true"; then |
1464 |
am_missing_run="$MISSING --run " |
1465 |
else |
1466 |
am_missing_run= |
1467 |
{ echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 |
1468 |
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} |
1469 |
fi |
1470 |
|
1471 |
for ac_prog in gawk mawk nawk awk |
1472 |
do |
1473 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
1474 |
set dummy $ac_prog; ac_word=$2 |
1475 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1476 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1477 |
if test "${ac_cv_prog_AWK+set}" = set; then |
1478 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1479 |
else |
1480 |
if test -n "$AWK"; then |
1481 |
ac_cv_prog_AWK="$AWK" # Let the user override the test. |
1482 |
else |
1483 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1484 |
for as_dir in $PATH |
1485 |
do |
1486 |
IFS=$as_save_IFS |
1487 |
test -z "$as_dir" && as_dir=. |
1488 |
for ac_exec_ext in '' $ac_executable_extensions; do |
1489 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1490 |
ac_cv_prog_AWK="$ac_prog" |
1491 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1492 |
break 2 |
1493 |
fi |
1494 |
done |
1495 |
done |
1496 |
|
1497 |
fi |
1498 |
fi |
1499 |
AWK=$ac_cv_prog_AWK |
1500 |
if test -n "$AWK"; then |
1501 |
echo "$as_me:$LINENO: result: $AWK" >&5 |
1502 |
echo "${ECHO_T}$AWK" >&6 |
1503 |
else |
1504 |
echo "$as_me:$LINENO: result: no" >&5 |
1505 |
echo "${ECHO_T}no" >&6 |
1506 |
fi |
1507 |
|
1508 |
test -n "$AWK" && break |
1509 |
done |
1510 |
|
1511 |
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
1512 |
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 |
1513 |
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'` |
1514 |
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then |
1515 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1516 |
else |
1517 |
cat >conftest.make <<\_ACEOF |
1518 |
all: |
1519 |
@echo 'ac_maketemp="$(MAKE)"' |
1520 |
_ACEOF |
1521 |
# GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
1522 |
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` |
1523 |
if test -n "$ac_maketemp"; then |
1524 |
eval ac_cv_prog_make_${ac_make}_set=yes |
1525 |
else |
1526 |
eval ac_cv_prog_make_${ac_make}_set=no |
1527 |
fi |
1528 |
rm -f conftest.make |
1529 |
fi |
1530 |
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then |
1531 |
echo "$as_me:$LINENO: result: yes" >&5 |
1532 |
echo "${ECHO_T}yes" >&6 |
1533 |
SET_MAKE= |
1534 |
else |
1535 |
echo "$as_me:$LINENO: result: no" >&5 |
1536 |
echo "${ECHO_T}no" >&6 |
1537 |
SET_MAKE="MAKE=${MAKE-make}" |
1538 |
fi |
1539 |
|
1540 |
# test to see if srcdir already configured |
1541 |
if test "`cd $srcdir && pwd`" != "`pwd`" && |
1542 |
test -f $srcdir/config.status; then |
1543 |
{ { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 |
1544 |
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} |
1545 |
{ (exit 1); exit 1; }; } |
1546 |
fi |
1547 |
|
1548 |
# Define the identity of the package. |
1549 |
PACKAGE=pxyservd |
1550 |
VERSION=2.0 |
1551 |
|
1552 |
|
1553 |
cat >>confdefs.h <<_ACEOF |
1554 |
#define PACKAGE "$PACKAGE" |
1555 |
_ACEOF |
1556 |
|
1557 |
|
1558 |
cat >>confdefs.h <<_ACEOF |
1559 |
#define VERSION "$VERSION" |
1560 |
_ACEOF |
1561 |
|
1562 |
# Some tools Automake needs. |
1563 |
|
1564 |
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} |
1565 |
|
1566 |
|
1567 |
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} |
1568 |
|
1569 |
|
1570 |
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} |
1571 |
|
1572 |
|
1573 |
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} |
1574 |
|
1575 |
|
1576 |
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} |
1577 |
|
1578 |
|
1579 |
AMTAR=${AMTAR-"${am_missing_run}tar"} |
1580 |
|
1581 |
install_sh=${install_sh-"$am_aux_dir/install-sh"} |
1582 |
|
1583 |
# Installed binaries are usually stripped using `strip' when the user |
1584 |
# run `make install-strip'. However `strip' might not be the right |
1585 |
# tool to use in cross-compilation environments, therefore Automake |
1586 |
# will honor the `STRIP' environment variable to overrule this program. |
1587 |
if test "$cross_compiling" != no; then |
1588 |
if test -n "$ac_tool_prefix"; then |
1589 |
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
1590 |
set dummy ${ac_tool_prefix}strip; ac_word=$2 |
1591 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1592 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1593 |
if test "${ac_cv_prog_STRIP+set}" = set; then |
1594 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1595 |
else |
1596 |
if test -n "$STRIP"; then |
1597 |
ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
1598 |
else |
1599 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1600 |
for as_dir in $PATH |
1601 |
do |
1602 |
IFS=$as_save_IFS |
1603 |
test -z "$as_dir" && as_dir=. |
1604 |
for ac_exec_ext in '' $ac_executable_extensions; do |
1605 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1606 |
ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
1607 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1608 |
break 2 |
1609 |
fi |
1610 |
done |
1611 |
done |
1612 |
|
1613 |
fi |
1614 |
fi |
1615 |
STRIP=$ac_cv_prog_STRIP |
1616 |
if test -n "$STRIP"; then |
1617 |
echo "$as_me:$LINENO: result: $STRIP" >&5 |
1618 |
echo "${ECHO_T}$STRIP" >&6 |
1619 |
else |
1620 |
echo "$as_me:$LINENO: result: no" >&5 |
1621 |
echo "${ECHO_T}no" >&6 |
1622 |
fi |
1623 |
|
1624 |
fi |
1625 |
if test -z "$ac_cv_prog_STRIP"; then |
1626 |
ac_ct_STRIP=$STRIP |
1627 |
# Extract the first word of "strip", so it can be a program name with args. |
1628 |
set dummy strip; 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_STRIP+set}" = set; then |
1632 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1633 |
else |
1634 |
if test -n "$ac_ct_STRIP"; then |
1635 |
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # 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_STRIP="strip" |
1645 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1646 |
break 2 |
1647 |
fi |
1648 |
done |
1649 |
done |
1650 |
|
1651 |
test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":" |
1652 |
fi |
1653 |
fi |
1654 |
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP |
1655 |
if test -n "$ac_ct_STRIP"; then |
1656 |
echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 |
1657 |
echo "${ECHO_T}$ac_ct_STRIP" >&6 |
1658 |
else |
1659 |
echo "$as_me:$LINENO: result: no" >&5 |
1660 |
echo "${ECHO_T}no" >&6 |
1661 |
fi |
1662 |
|
1663 |
STRIP=$ac_ct_STRIP |
1664 |
else |
1665 |
STRIP="$ac_cv_prog_STRIP" |
1666 |
fi |
1667 |
|
1668 |
fi |
1669 |
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" |
1670 |
|
1671 |
# We need awk for the "check" target. The system "awk" is bad on |
1672 |
# some platforms. |
1673 |
|
1674 |
|
1675 |
|
1676 |
|
1677 |
# Add the stamp file to the list of files AC keeps track of, |
1678 |
# along with our hook. |
1679 |
ac_config_headers="$ac_config_headers config.h" |
1680 |
|
1681 |
|
1682 |
|
1683 |
|
1684 |
|
1685 |
subdirs="$subdirs libbcl" |
1686 |
|
1687 |
echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5 |
1688 |
echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6 |
1689 |
# Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. |
1690 |
if test "${enable_maintainer_mode+set}" = set; then |
1691 |
enableval="$enable_maintainer_mode" |
1692 |
USE_MAINTAINER_MODE=$enableval |
1693 |
else |
1694 |
USE_MAINTAINER_MODE=no |
1695 |
fi; |
1696 |
echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5 |
1697 |
echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6 |
1698 |
|
1699 |
|
1700 |
if test $USE_MAINTAINER_MODE = yes; then |
1701 |
MAINTAINER_MODE_TRUE= |
1702 |
MAINTAINER_MODE_FALSE='#' |
1703 |
else |
1704 |
MAINTAINER_MODE_TRUE='#' |
1705 |
MAINTAINER_MODE_FALSE= |
1706 |
fi |
1707 |
|
1708 |
MAINT=$MAINTAINER_MODE_TRUE |
1709 |
|
1710 |
|
1711 |
|
1712 |
ac_ext=c |
1713 |
ac_cpp='$CPP $CPPFLAGS' |
1714 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
1715 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
1716 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
1717 |
if test -n "$ac_tool_prefix"; then |
1718 |
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
1719 |
set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
1720 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1721 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1722 |
if test "${ac_cv_prog_CC+set}" = set; then |
1723 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1724 |
else |
1725 |
if test -n "$CC"; then |
1726 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
1727 |
else |
1728 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1729 |
for as_dir in $PATH |
1730 |
do |
1731 |
IFS=$as_save_IFS |
1732 |
test -z "$as_dir" && as_dir=. |
1733 |
for ac_exec_ext in '' $ac_executable_extensions; do |
1734 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1735 |
ac_cv_prog_CC="${ac_tool_prefix}gcc" |
1736 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1737 |
break 2 |
1738 |
fi |
1739 |
done |
1740 |
done |
1741 |
|
1742 |
fi |
1743 |
fi |
1744 |
CC=$ac_cv_prog_CC |
1745 |
if test -n "$CC"; then |
1746 |
echo "$as_me:$LINENO: result: $CC" >&5 |
1747 |
echo "${ECHO_T}$CC" >&6 |
1748 |
else |
1749 |
echo "$as_me:$LINENO: result: no" >&5 |
1750 |
echo "${ECHO_T}no" >&6 |
1751 |
fi |
1752 |
|
1753 |
fi |
1754 |
if test -z "$ac_cv_prog_CC"; then |
1755 |
ac_ct_CC=$CC |
1756 |
# Extract the first word of "gcc", so it can be a program name with args. |
1757 |
set dummy gcc; ac_word=$2 |
1758 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1759 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1760 |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
1761 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1762 |
else |
1763 |
if test -n "$ac_ct_CC"; then |
1764 |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
1765 |
else |
1766 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1767 |
for as_dir in $PATH |
1768 |
do |
1769 |
IFS=$as_save_IFS |
1770 |
test -z "$as_dir" && as_dir=. |
1771 |
for ac_exec_ext in '' $ac_executable_extensions; do |
1772 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1773 |
ac_cv_prog_ac_ct_CC="gcc" |
1774 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1775 |
break 2 |
1776 |
fi |
1777 |
done |
1778 |
done |
1779 |
|
1780 |
fi |
1781 |
fi |
1782 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
1783 |
if test -n "$ac_ct_CC"; then |
1784 |
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
1785 |
echo "${ECHO_T}$ac_ct_CC" >&6 |
1786 |
else |
1787 |
echo "$as_me:$LINENO: result: no" >&5 |
1788 |
echo "${ECHO_T}no" >&6 |
1789 |
fi |
1790 |
|
1791 |
CC=$ac_ct_CC |
1792 |
else |
1793 |
CC="$ac_cv_prog_CC" |
1794 |
fi |
1795 |
|
1796 |
if test -z "$CC"; then |
1797 |
if test -n "$ac_tool_prefix"; then |
1798 |
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
1799 |
set dummy ${ac_tool_prefix}cc; ac_word=$2 |
1800 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1801 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1802 |
if test "${ac_cv_prog_CC+set}" = set; then |
1803 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1804 |
else |
1805 |
if test -n "$CC"; then |
1806 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
1807 |
else |
1808 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1809 |
for as_dir in $PATH |
1810 |
do |
1811 |
IFS=$as_save_IFS |
1812 |
test -z "$as_dir" && as_dir=. |
1813 |
for ac_exec_ext in '' $ac_executable_extensions; do |
1814 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1815 |
ac_cv_prog_CC="${ac_tool_prefix}cc" |
1816 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1817 |
break 2 |
1818 |
fi |
1819 |
done |
1820 |
done |
1821 |
|
1822 |
fi |
1823 |
fi |
1824 |
CC=$ac_cv_prog_CC |
1825 |
if test -n "$CC"; then |
1826 |
echo "$as_me:$LINENO: result: $CC" >&5 |
1827 |
echo "${ECHO_T}$CC" >&6 |
1828 |
else |
1829 |
echo "$as_me:$LINENO: result: no" >&5 |
1830 |
echo "${ECHO_T}no" >&6 |
1831 |
fi |
1832 |
|
1833 |
fi |
1834 |
if test -z "$ac_cv_prog_CC"; then |
1835 |
ac_ct_CC=$CC |
1836 |
# Extract the first word of "cc", so it can be a program name with args. |
1837 |
set dummy cc; ac_word=$2 |
1838 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1839 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1840 |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
1841 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1842 |
else |
1843 |
if test -n "$ac_ct_CC"; then |
1844 |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
1845 |
else |
1846 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1847 |
for as_dir in $PATH |
1848 |
do |
1849 |
IFS=$as_save_IFS |
1850 |
test -z "$as_dir" && as_dir=. |
1851 |
for ac_exec_ext in '' $ac_executable_extensions; do |
1852 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1853 |
ac_cv_prog_ac_ct_CC="cc" |
1854 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1855 |
break 2 |
1856 |
fi |
1857 |
done |
1858 |
done |
1859 |
|
1860 |
fi |
1861 |
fi |
1862 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
1863 |
if test -n "$ac_ct_CC"; then |
1864 |
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
1865 |
echo "${ECHO_T}$ac_ct_CC" >&6 |
1866 |
else |
1867 |
echo "$as_me:$LINENO: result: no" >&5 |
1868 |
echo "${ECHO_T}no" >&6 |
1869 |
fi |
1870 |
|
1871 |
CC=$ac_ct_CC |
1872 |
else |
1873 |
CC="$ac_cv_prog_CC" |
1874 |
fi |
1875 |
|
1876 |
fi |
1877 |
if test -z "$CC"; then |
1878 |
# Extract the first word of "cc", so it can be a program name with args. |
1879 |
set dummy cc; ac_word=$2 |
1880 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1881 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1882 |
if test "${ac_cv_prog_CC+set}" = set; then |
1883 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1884 |
else |
1885 |
if test -n "$CC"; then |
1886 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
1887 |
else |
1888 |
ac_prog_rejected=no |
1889 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1890 |
for as_dir in $PATH |
1891 |
do |
1892 |
IFS=$as_save_IFS |
1893 |
test -z "$as_dir" && as_dir=. |
1894 |
for ac_exec_ext in '' $ac_executable_extensions; do |
1895 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1896 |
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
1897 |
ac_prog_rejected=yes |
1898 |
continue |
1899 |
fi |
1900 |
ac_cv_prog_CC="cc" |
1901 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1902 |
break 2 |
1903 |
fi |
1904 |
done |
1905 |
done |
1906 |
|
1907 |
if test $ac_prog_rejected = yes; then |
1908 |
# We found a bogon in the path, so make sure we never use it. |
1909 |
set dummy $ac_cv_prog_CC |
1910 |
shift |
1911 |
if test $# != 0; then |
1912 |
# We chose a different compiler from the bogus one. |
1913 |
# However, it has the same basename, so the bogon will be chosen |
1914 |
# first if we set CC to just the basename; use the full file name. |
1915 |
shift |
1916 |
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
1917 |
fi |
1918 |
fi |
1919 |
fi |
1920 |
fi |
1921 |
CC=$ac_cv_prog_CC |
1922 |
if test -n "$CC"; then |
1923 |
echo "$as_me:$LINENO: result: $CC" >&5 |
1924 |
echo "${ECHO_T}$CC" >&6 |
1925 |
else |
1926 |
echo "$as_me:$LINENO: result: no" >&5 |
1927 |
echo "${ECHO_T}no" >&6 |
1928 |
fi |
1929 |
|
1930 |
fi |
1931 |
if test -z "$CC"; then |
1932 |
if test -n "$ac_tool_prefix"; then |
1933 |
for ac_prog in cl |
1934 |
do |
1935 |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
1936 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
1937 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1938 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1939 |
if test "${ac_cv_prog_CC+set}" = set; then |
1940 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1941 |
else |
1942 |
if test -n "$CC"; then |
1943 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
1944 |
else |
1945 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1946 |
for as_dir in $PATH |
1947 |
do |
1948 |
IFS=$as_save_IFS |
1949 |
test -z "$as_dir" && as_dir=. |
1950 |
for ac_exec_ext in '' $ac_executable_extensions; do |
1951 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1952 |
ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
1953 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1954 |
break 2 |
1955 |
fi |
1956 |
done |
1957 |
done |
1958 |
|
1959 |
fi |
1960 |
fi |
1961 |
CC=$ac_cv_prog_CC |
1962 |
if test -n "$CC"; then |
1963 |
echo "$as_me:$LINENO: result: $CC" >&5 |
1964 |
echo "${ECHO_T}$CC" >&6 |
1965 |
else |
1966 |
echo "$as_me:$LINENO: result: no" >&5 |
1967 |
echo "${ECHO_T}no" >&6 |
1968 |
fi |
1969 |
|
1970 |
test -n "$CC" && break |
1971 |
done |
1972 |
fi |
1973 |
if test -z "$CC"; then |
1974 |
ac_ct_CC=$CC |
1975 |
for ac_prog in cl |
1976 |
do |
1977 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
1978 |
set dummy $ac_prog; ac_word=$2 |
1979 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1980 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1981 |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
1982 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1983 |
else |
1984 |
if test -n "$ac_ct_CC"; then |
1985 |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
1986 |
else |
1987 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1988 |
for as_dir in $PATH |
1989 |
do |
1990 |
IFS=$as_save_IFS |
1991 |
test -z "$as_dir" && as_dir=. |
1992 |
for ac_exec_ext in '' $ac_executable_extensions; do |
1993 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1994 |
ac_cv_prog_ac_ct_CC="$ac_prog" |
1995 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1996 |
break 2 |
1997 |
fi |
1998 |
done |
1999 |
done |
2000 |
|
2001 |
fi |
2002 |
fi |
2003 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
2004 |
if test -n "$ac_ct_CC"; then |
2005 |
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
2006 |
echo "${ECHO_T}$ac_ct_CC" >&6 |
2007 |
else |
2008 |
echo "$as_me:$LINENO: result: no" >&5 |
2009 |
echo "${ECHO_T}no" >&6 |
2010 |
fi |
2011 |
|
2012 |
test -n "$ac_ct_CC" && break |
2013 |
done |
2014 |
|
2015 |
CC=$ac_ct_CC |
2016 |
fi |
2017 |
|
2018 |
fi |
2019 |
|
2020 |
|
2021 |
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH |
2022 |
See \`config.log' for more details." >&5 |
2023 |
echo "$as_me: error: no acceptable C compiler found in \$PATH |
2024 |
See \`config.log' for more details." >&2;} |
2025 |
{ (exit 1); exit 1; }; } |
2026 |
|
2027 |
# Provide some information about the compiler. |
2028 |
echo "$as_me:$LINENO:" \ |
2029 |
"checking for C compiler version" >&5 |
2030 |
ac_compiler=`set X $ac_compile; echo $2` |
2031 |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 |
2032 |
(eval $ac_compiler --version </dev/null >&5) 2>&5 |
2033 |
ac_status=$? |
2034 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2035 |
(exit $ac_status); } |
2036 |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 |
2037 |
(eval $ac_compiler -v </dev/null >&5) 2>&5 |
2038 |
ac_status=$? |
2039 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2040 |
(exit $ac_status); } |
2041 |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 |
2042 |
(eval $ac_compiler -V </dev/null >&5) 2>&5 |
2043 |
ac_status=$? |
2044 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2045 |
(exit $ac_status); } |
2046 |
|
2047 |
cat >conftest.$ac_ext <<_ACEOF |
2048 |
#line $LINENO "configure" |
2049 |
/* confdefs.h. */ |
2050 |
_ACEOF |
2051 |
cat confdefs.h >>conftest.$ac_ext |
2052 |
cat >>conftest.$ac_ext <<_ACEOF |
2053 |
/* end confdefs.h. */ |
2054 |
|
2055 |
int |
2056 |
main () |
2057 |
{ |
2058 |
|
2059 |
; |
2060 |
return 0; |
2061 |
} |
2062 |
_ACEOF |
2063 |
ac_clean_files_save=$ac_clean_files |
2064 |
ac_clean_files="$ac_clean_files a.out a.exe b.out" |
2065 |
# Try to create an executable without -o first, disregard a.out. |
2066 |
# It will help us diagnose broken compilers, and finding out an intuition |
2067 |
# of exeext. |
2068 |
echo "$as_me:$LINENO: checking for C compiler default output" >&5 |
2069 |
echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6 |
2070 |
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
2071 |
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 |
2072 |
(eval $ac_link_default) 2>&5 |
2073 |
ac_status=$? |
2074 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2075 |
(exit $ac_status); }; then |
2076 |
# Find the output, starting from the most likely. This scheme is |
2077 |
# not robust to junk in `.', hence go to wildcards (a.*) only as a last |
2078 |
# resort. |
2079 |
|
2080 |
# Be careful to initialize this variable, since it used to be cached. |
2081 |
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. |
2082 |
ac_cv_exeext= |
2083 |
# b.out is created by i960 compilers. |
2084 |
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out |
2085 |
do |
2086 |
test -f "$ac_file" || continue |
2087 |
case $ac_file in |
2088 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) |
2089 |
;; |
2090 |
conftest.$ac_ext ) |
2091 |
# This is the source file. |
2092 |
;; |
2093 |
[ab].out ) |
2094 |
# We found the default executable, but exeext='' is most |
2095 |
# certainly right. |
2096 |
break;; |
2097 |
*.* ) |
2098 |
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
2099 |
# FIXME: I believe we export ac_cv_exeext for Libtool, |
2100 |
# but it would be cool to find out if it's true. Does anybody |
2101 |
# maintain Libtool? --akim. |
2102 |
export ac_cv_exeext |
2103 |
break;; |
2104 |
* ) |
2105 |
break;; |
2106 |
esac |
2107 |
done |
2108 |
else |
2109 |
echo "$as_me: failed program was:" >&5 |
2110 |
sed 's/^/| /' conftest.$ac_ext >&5 |
2111 |
|
2112 |
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables |
2113 |
See \`config.log' for more details." >&5 |
2114 |
echo "$as_me: error: C compiler cannot create executables |
2115 |
See \`config.log' for more details." >&2;} |
2116 |
{ (exit 77); exit 77; }; } |
2117 |
fi |
2118 |
|
2119 |
ac_exeext=$ac_cv_exeext |
2120 |
echo "$as_me:$LINENO: result: $ac_file" >&5 |
2121 |
echo "${ECHO_T}$ac_file" >&6 |
2122 |
|
2123 |
# Check the compiler produces executables we can run. If not, either |
2124 |
# the compiler is broken, or we cross compile. |
2125 |
echo "$as_me:$LINENO: checking whether the C compiler works" >&5 |
2126 |
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 |
2127 |
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 |
2128 |
# If not cross compiling, check that we can run a simple program. |
2129 |
if test "$cross_compiling" != yes; then |
2130 |
if { ac_try='./$ac_file' |
2131 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2132 |
(eval $ac_try) 2>&5 |
2133 |
ac_status=$? |
2134 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2135 |
(exit $ac_status); }; }; then |
2136 |
cross_compiling=no |
2137 |
else |
2138 |
if test "$cross_compiling" = maybe; then |
2139 |
cross_compiling=yes |
2140 |
else |
2141 |
{ { echo "$as_me:$LINENO: error: cannot run C compiled programs. |
2142 |
If you meant to cross compile, use \`--host'. |
2143 |
See \`config.log' for more details." >&5 |
2144 |
echo "$as_me: error: cannot run C compiled programs. |
2145 |
If you meant to cross compile, use \`--host'. |
2146 |
See \`config.log' for more details." >&2;} |
2147 |
{ (exit 1); exit 1; }; } |
2148 |
fi |
2149 |
fi |
2150 |
fi |
2151 |
echo "$as_me:$LINENO: result: yes" >&5 |
2152 |
echo "${ECHO_T}yes" >&6 |
2153 |
|
2154 |
rm -f a.out a.exe conftest$ac_cv_exeext b.out |
2155 |
ac_clean_files=$ac_clean_files_save |
2156 |
# Check the compiler produces executables we can run. If not, either |
2157 |
# the compiler is broken, or we cross compile. |
2158 |
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 |
2159 |
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 |
2160 |
echo "$as_me:$LINENO: result: $cross_compiling" >&5 |
2161 |
echo "${ECHO_T}$cross_compiling" >&6 |
2162 |
|
2163 |
echo "$as_me:$LINENO: checking for suffix of executables" >&5 |
2164 |
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 |
2165 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
2166 |
(eval $ac_link) 2>&5 |
2167 |
ac_status=$? |
2168 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2169 |
(exit $ac_status); }; then |
2170 |
# If both `conftest.exe' and `conftest' are `present' (well, observable) |
2171 |
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
2172 |
# work properly (i.e., refer to `conftest.exe'), while it won't with |
2173 |
# `rm'. |
2174 |
for ac_file in conftest.exe conftest conftest.*; do |
2175 |
test -f "$ac_file" || continue |
2176 |
case $ac_file in |
2177 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; |
2178 |
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
2179 |
export ac_cv_exeext |
2180 |
break;; |
2181 |
* ) break;; |
2182 |
esac |
2183 |
done |
2184 |
else |
2185 |
{ { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link |
2186 |
See \`config.log' for more details." >&5 |
2187 |
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link |
2188 |
See \`config.log' for more details." >&2;} |
2189 |
{ (exit 1); exit 1; }; } |
2190 |
fi |
2191 |
|
2192 |
rm -f conftest$ac_cv_exeext |
2193 |
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 |
2194 |
echo "${ECHO_T}$ac_cv_exeext" >&6 |
2195 |
|
2196 |
rm -f conftest.$ac_ext |
2197 |
EXEEXT=$ac_cv_exeext |
2198 |
ac_exeext=$EXEEXT |
2199 |
echo "$as_me:$LINENO: checking for suffix of object files" >&5 |
2200 |
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 |
2201 |
if test "${ac_cv_objext+set}" = set; then |
2202 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2203 |
else |
2204 |
cat >conftest.$ac_ext <<_ACEOF |
2205 |
#line $LINENO "configure" |
2206 |
/* confdefs.h. */ |
2207 |
_ACEOF |
2208 |
cat confdefs.h >>conftest.$ac_ext |
2209 |
cat >>conftest.$ac_ext <<_ACEOF |
2210 |
/* end confdefs.h. */ |
2211 |
|
2212 |
int |
2213 |
main () |
2214 |
{ |
2215 |
|
2216 |
; |
2217 |
return 0; |
2218 |
} |
2219 |
_ACEOF |
2220 |
rm -f conftest.o conftest.obj |
2221 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2222 |
(eval $ac_compile) 2>&5 |
2223 |
ac_status=$? |
2224 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2225 |
(exit $ac_status); }; then |
2226 |
for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do |
2227 |
case $ac_file in |
2228 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; |
2229 |
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
2230 |
break;; |
2231 |
esac |
2232 |
done |
2233 |
else |
2234 |
echo "$as_me: failed program was:" >&5 |
2235 |
sed 's/^/| /' conftest.$ac_ext >&5 |
2236 |
|
2237 |
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile |
2238 |
See \`config.log' for more details." >&5 |
2239 |
echo "$as_me: error: cannot compute suffix of object files: cannot compile |
2240 |
See \`config.log' for more details." >&2;} |
2241 |
{ (exit 1); exit 1; }; } |
2242 |
fi |
2243 |
|
2244 |
rm -f conftest.$ac_cv_objext conftest.$ac_ext |
2245 |
fi |
2246 |
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 |
2247 |
echo "${ECHO_T}$ac_cv_objext" >&6 |
2248 |
OBJEXT=$ac_cv_objext |
2249 |
ac_objext=$OBJEXT |
2250 |
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 |
2251 |
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 |
2252 |
if test "${ac_cv_c_compiler_gnu+set}" = set; then |
2253 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2254 |
else |
2255 |
cat >conftest.$ac_ext <<_ACEOF |
2256 |
#line $LINENO "configure" |
2257 |
/* confdefs.h. */ |
2258 |
_ACEOF |
2259 |
cat confdefs.h >>conftest.$ac_ext |
2260 |
cat >>conftest.$ac_ext <<_ACEOF |
2261 |
/* end confdefs.h. */ |
2262 |
|
2263 |
int |
2264 |
main () |
2265 |
{ |
2266 |
#ifndef __GNUC__ |
2267 |
choke me |
2268 |
#endif |
2269 |
|
2270 |
; |
2271 |
return 0; |
2272 |
} |
2273 |
_ACEOF |
2274 |
rm -f conftest.$ac_objext |
2275 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2276 |
(eval $ac_compile) 2>&5 |
2277 |
ac_status=$? |
2278 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2279 |
(exit $ac_status); } && |
2280 |
{ ac_try='test -s conftest.$ac_objext' |
2281 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2282 |
(eval $ac_try) 2>&5 |
2283 |
ac_status=$? |
2284 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2285 |
(exit $ac_status); }; }; then |
2286 |
ac_compiler_gnu=yes |
2287 |
else |
2288 |
echo "$as_me: failed program was:" >&5 |
2289 |
sed 's/^/| /' conftest.$ac_ext >&5 |
2290 |
|
2291 |
ac_compiler_gnu=no |
2292 |
fi |
2293 |
rm -f conftest.$ac_objext conftest.$ac_ext |
2294 |
ac_cv_c_compiler_gnu=$ac_compiler_gnu |
2295 |
|
2296 |
fi |
2297 |
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
2298 |
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 |
2299 |
GCC=`test $ac_compiler_gnu = yes && echo yes` |
2300 |
ac_test_CFLAGS=${CFLAGS+set} |
2301 |
ac_save_CFLAGS=$CFLAGS |
2302 |
CFLAGS="-g" |
2303 |
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 |
2304 |
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 |
2305 |
if test "${ac_cv_prog_cc_g+set}" = set; then |
2306 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2307 |
else |
2308 |
cat >conftest.$ac_ext <<_ACEOF |
2309 |
#line $LINENO "configure" |
2310 |
/* confdefs.h. */ |
2311 |
_ACEOF |
2312 |
cat confdefs.h >>conftest.$ac_ext |
2313 |
cat >>conftest.$ac_ext <<_ACEOF |
2314 |
/* end confdefs.h. */ |
2315 |
|
2316 |
int |
2317 |
main () |
2318 |
{ |
2319 |
|
2320 |
; |
2321 |
return 0; |
2322 |
} |
2323 |
_ACEOF |
2324 |
rm -f conftest.$ac_objext |
2325 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2326 |
(eval $ac_compile) 2>&5 |
2327 |
ac_status=$? |
2328 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2329 |
(exit $ac_status); } && |
2330 |
{ ac_try='test -s conftest.$ac_objext' |
2331 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2332 |
(eval $ac_try) 2>&5 |
2333 |
ac_status=$? |
2334 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2335 |
(exit $ac_status); }; }; then |
2336 |
ac_cv_prog_cc_g=yes |
2337 |
else |
2338 |
echo "$as_me: failed program was:" >&5 |
2339 |
sed 's/^/| /' conftest.$ac_ext >&5 |
2340 |
|
2341 |
ac_cv_prog_cc_g=no |
2342 |
fi |
2343 |
rm -f conftest.$ac_objext conftest.$ac_ext |
2344 |
fi |
2345 |
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
2346 |
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 |
2347 |
if test "$ac_test_CFLAGS" = set; then |
2348 |
CFLAGS=$ac_save_CFLAGS |
2349 |
elif test $ac_cv_prog_cc_g = yes; then |
2350 |
if test "$GCC" = yes; then |
2351 |
CFLAGS="-g -O2" |
2352 |
else |
2353 |
CFLAGS="-g" |
2354 |
fi |
2355 |
else |
2356 |
if test "$GCC" = yes; then |
2357 |
CFLAGS="-O2" |
2358 |
else |
2359 |
CFLAGS= |
2360 |
fi |
2361 |
fi |
2362 |
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 |
2363 |
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 |
2364 |
if test "${ac_cv_prog_cc_stdc+set}" = set; then |
2365 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2366 |
else |
2367 |
ac_cv_prog_cc_stdc=no |
2368 |
ac_save_CC=$CC |
2369 |
cat >conftest.$ac_ext <<_ACEOF |
2370 |
#line $LINENO "configure" |
2371 |
/* confdefs.h. */ |
2372 |
_ACEOF |
2373 |
cat confdefs.h >>conftest.$ac_ext |
2374 |
cat >>conftest.$ac_ext <<_ACEOF |
2375 |
/* end confdefs.h. */ |
2376 |
#include <stdarg.h> |
2377 |
#include <stdio.h> |
2378 |
#include <sys/types.h> |
2379 |
#include <sys/stat.h> |
2380 |
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
2381 |
struct buf { int x; }; |
2382 |
FILE * (*rcsopen) (struct buf *, struct stat *, int); |
2383 |
static char *e (p, i) |
2384 |
char **p; |
2385 |
int i; |
2386 |
{ |
2387 |
return p[i]; |
2388 |
} |
2389 |
static char *f (char * (*g) (char **, int), char **p, ...) |
2390 |
{ |
2391 |
char *s; |
2392 |
va_list v; |
2393 |
va_start (v,p); |
2394 |
s = g (p, va_arg (v,int)); |
2395 |
va_end (v); |
2396 |
return s; |
2397 |
} |
2398 |
int test (int i, double x); |
2399 |
struct s1 {int (*f) (int a);}; |
2400 |
struct s2 {int (*f) (double a);}; |
2401 |
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
2402 |
int argc; |
2403 |
char **argv; |
2404 |
int |
2405 |
main () |
2406 |
{ |
2407 |
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
2408 |
; |
2409 |
return 0; |
2410 |
} |
2411 |
_ACEOF |
2412 |
# Don't try gcc -ansi; that turns off useful extensions and |
2413 |
# breaks some systems' header files. |
2414 |
# AIX -qlanglvl=ansi |
2415 |
# Ultrix and OSF/1 -std1 |
2416 |
# HP-UX 10.20 and later -Ae |
2417 |
# HP-UX older versions -Aa -D_HPUX_SOURCE |
2418 |
# SVR4 -Xc -D__EXTENSIONS__ |
2419 |
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
2420 |
do |
2421 |
CC="$ac_save_CC $ac_arg" |
2422 |
rm -f conftest.$ac_objext |
2423 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2424 |
(eval $ac_compile) 2>&5 |
2425 |
ac_status=$? |
2426 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2427 |
(exit $ac_status); } && |
2428 |
{ ac_try='test -s conftest.$ac_objext' |
2429 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2430 |
(eval $ac_try) 2>&5 |
2431 |
ac_status=$? |
2432 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2433 |
(exit $ac_status); }; }; then |
2434 |
ac_cv_prog_cc_stdc=$ac_arg |
2435 |
break |
2436 |
else |
2437 |
echo "$as_me: failed program was:" >&5 |
2438 |
sed 's/^/| /' conftest.$ac_ext >&5 |
2439 |
|
2440 |
fi |
2441 |
rm -f conftest.$ac_objext |
2442 |
done |
2443 |
rm -f conftest.$ac_ext conftest.$ac_objext |
2444 |
CC=$ac_save_CC |
2445 |
|
2446 |
fi |
2447 |
|
2448 |
case "x$ac_cv_prog_cc_stdc" in |
2449 |
x|xno) |
2450 |
echo "$as_me:$LINENO: result: none needed" >&5 |
2451 |
echo "${ECHO_T}none needed" >&6 ;; |
2452 |
*) |
2453 |
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 |
2454 |
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 |
2455 |
CC="$CC $ac_cv_prog_cc_stdc" ;; |
2456 |
esac |
2457 |
|
2458 |
# Some people use a C++ compiler to compile C. Since we use `exit', |
2459 |
# in C++ we need to declare it. In case someone uses the same compiler |
2460 |
# for both compiling C and C++ we need to have the C++ compiler decide |
2461 |
# the declaration of exit, since it's the most demanding environment. |
2462 |
cat >conftest.$ac_ext <<_ACEOF |
2463 |
#ifndef __cplusplus |
2464 |
choke me |
2465 |
#endif |
2466 |
_ACEOF |
2467 |
rm -f conftest.$ac_objext |
2468 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2469 |
(eval $ac_compile) 2>&5 |
2470 |
ac_status=$? |
2471 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2472 |
(exit $ac_status); } && |
2473 |
{ ac_try='test -s conftest.$ac_objext' |
2474 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2475 |
(eval $ac_try) 2>&5 |
2476 |
ac_status=$? |
2477 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2478 |
(exit $ac_status); }; }; then |
2479 |
for ac_declaration in \ |
2480 |
''\ |
2481 |
'#include <stdlib.h>' \ |
2482 |
'extern "C" void std::exit (int) throw (); using std::exit;' \ |
2483 |
'extern "C" void std::exit (int); using std::exit;' \ |
2484 |
'extern "C" void exit (int) throw ();' \ |
2485 |
'extern "C" void exit (int);' \ |
2486 |
'void exit (int);' |
2487 |
do |
2488 |
cat >conftest.$ac_ext <<_ACEOF |
2489 |
#line $LINENO "configure" |
2490 |
/* confdefs.h. */ |
2491 |
_ACEOF |
2492 |
cat confdefs.h >>conftest.$ac_ext |
2493 |
cat >>conftest.$ac_ext <<_ACEOF |
2494 |
/* end confdefs.h. */ |
2495 |
#include <stdlib.h> |
2496 |
$ac_declaration |
2497 |
int |
2498 |
main () |
2499 |
{ |
2500 |
exit (42); |
2501 |
; |
2502 |
return 0; |
2503 |
} |
2504 |
_ACEOF |
2505 |
rm -f conftest.$ac_objext |
2506 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2507 |
(eval $ac_compile) 2>&5 |
2508 |
ac_status=$? |
2509 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2510 |
(exit $ac_status); } && |
2511 |
{ ac_try='test -s conftest.$ac_objext' |
2512 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2513 |
(eval $ac_try) 2>&5 |
2514 |
ac_status=$? |
2515 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2516 |
(exit $ac_status); }; }; then |
2517 |
: |
2518 |
else |
2519 |
echo "$as_me: failed program was:" >&5 |
2520 |
sed 's/^/| /' conftest.$ac_ext >&5 |
2521 |
|
2522 |
continue |
2523 |
fi |
2524 |
rm -f conftest.$ac_objext conftest.$ac_ext |
2525 |
cat >conftest.$ac_ext <<_ACEOF |
2526 |
#line $LINENO "configure" |
2527 |
/* confdefs.h. */ |
2528 |
_ACEOF |
2529 |
cat confdefs.h >>conftest.$ac_ext |
2530 |
cat >>conftest.$ac_ext <<_ACEOF |
2531 |
/* end confdefs.h. */ |
2532 |
$ac_declaration |
2533 |
int |
2534 |
main () |
2535 |
{ |
2536 |
exit (42); |
2537 |
; |
2538 |
return 0; |
2539 |
} |
2540 |
_ACEOF |
2541 |
rm -f conftest.$ac_objext |
2542 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2543 |
(eval $ac_compile) 2>&5 |
2544 |
ac_status=$? |
2545 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2546 |
(exit $ac_status); } && |
2547 |
{ ac_try='test -s conftest.$ac_objext' |
2548 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2549 |
(eval $ac_try) 2>&5 |
2550 |
ac_status=$? |
2551 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2552 |
(exit $ac_status); }; }; then |
2553 |
break |
2554 |
else |
2555 |
echo "$as_me: failed program was:" >&5 |
2556 |
sed 's/^/| /' conftest.$ac_ext >&5 |
2557 |
|
2558 |
fi |
2559 |
rm -f conftest.$ac_objext conftest.$ac_ext |
2560 |
done |
2561 |
rm -f conftest* |
2562 |
if test -n "$ac_declaration"; then |
2563 |
echo '#ifdef __cplusplus' >>confdefs.h |
2564 |
echo $ac_declaration >>confdefs.h |
2565 |
echo '#endif' >>confdefs.h |
2566 |
fi |
2567 |
|
2568 |
else |
2569 |
echo "$as_me: failed program was:" >&5 |
2570 |
sed 's/^/| /' conftest.$ac_ext >&5 |
2571 |
|
2572 |
fi |
2573 |
rm -f conftest.$ac_objext conftest.$ac_ext |
2574 |
ac_ext=c |
2575 |
ac_cpp='$CPP $CPPFLAGS' |
2576 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
2577 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
2578 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
2579 |
rm -f .deps 2>/dev/null |
2580 |
mkdir .deps 2>/dev/null |
2581 |
if test -d .deps; then |
2582 |
DEPDIR=.deps |
2583 |
else |
2584 |
# MS-DOS does not allow filenames that begin with a dot. |
2585 |
DEPDIR=_deps |
2586 |
fi |
2587 |
rmdir .deps 2>/dev/null |
2588 |
|
2589 |
|
2590 |
ac_config_commands="$ac_config_commands depfiles" |
2591 |
|
2592 |
|
2593 |
am_make=${MAKE-make} |
2594 |
cat > confinc << 'END' |
2595 |
doit: |
2596 |
@echo done |
2597 |
END |
2598 |
# If we don't find an include directive, just comment out the code. |
2599 |
echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 |
2600 |
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6 |
2601 |
am__include="#" |
2602 |
am__quote= |
2603 |
_am_result=none |
2604 |
# First try GNU make style include. |
2605 |
echo "include confinc" > confmf |
2606 |
# We grep out `Entering directory' and `Leaving directory' |
2607 |
# messages which can occur if `w' ends up in MAKEFLAGS. |
2608 |
# In particular we don't look at `^make:' because GNU make might |
2609 |
# be invoked under some other name (usually "gmake"), in which |
2610 |
# case it prints its new name instead of `make'. |
2611 |
if test "`$am_make -s -f confmf 2> /dev/null | fgrep -v 'ing directory'`" = "done"; then |
2612 |
am__include=include |
2613 |
am__quote= |
2614 |
_am_result=GNU |
2615 |
fi |
2616 |
# Now try BSD make style include. |
2617 |
if test "$am__include" = "#"; then |
2618 |
echo '.include "confinc"' > confmf |
2619 |
if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then |
2620 |
am__include=.include |
2621 |
am__quote="\"" |
2622 |
_am_result=BSD |
2623 |
fi |
2624 |
fi |
2625 |
|
2626 |
|
2627 |
echo "$as_me:$LINENO: result: $_am_result" >&5 |
2628 |
echo "${ECHO_T}$_am_result" >&6 |
2629 |
rm -f confinc confmf |
2630 |
|
2631 |
# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given. |
2632 |
if test "${enable_dependency_tracking+set}" = set; then |
2633 |
enableval="$enable_dependency_tracking" |
2634 |
|
2635 |
fi; |
2636 |
if test "x$enable_dependency_tracking" != xno; then |
2637 |
am_depcomp="$ac_aux_dir/depcomp" |
2638 |
AMDEPBACKSLASH='\' |
2639 |
fi |
2640 |
|
2641 |
|
2642 |
if test "x$enable_dependency_tracking" != xno; then |
2643 |
AMDEP_TRUE= |
2644 |
AMDEP_FALSE='#' |
2645 |
else |
2646 |
AMDEP_TRUE='#' |
2647 |
AMDEP_FALSE= |
2648 |
fi |
2649 |
|
2650 |
|
2651 |
|
2652 |
|
2653 |
depcc="$CC" am_compiler_list= |
2654 |
|
2655 |
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 |
2656 |
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 |
2657 |
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then |
2658 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2659 |
else |
2660 |
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
2661 |
# We make a subdir and do the tests there. Otherwise we can end up |
2662 |
# making bogus files that we don't know about and never remove. For |
2663 |
# instance it was reported that on HP-UX the gcc test will end up |
2664 |
# making a dummy file named `D' -- because `-MD' means `put the output |
2665 |
# in D'. |
2666 |
mkdir conftest.dir |
2667 |
# Copy depcomp to subdir because otherwise we won't find it if we're |
2668 |
# using a relative directory. |
2669 |
cp "$am_depcomp" conftest.dir |
2670 |
cd conftest.dir |
2671 |
|
2672 |
am_cv_CC_dependencies_compiler_type=none |
2673 |
if test "$am_compiler_list" = ""; then |
2674 |
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
2675 |
fi |
2676 |
for depmode in $am_compiler_list; do |
2677 |
# We need to recreate these files for each test, as the compiler may |
2678 |
# overwrite some of them when testing with obscure command lines. |
2679 |
# This happens at least with the AIX C compiler. |
2680 |
echo '#include "conftest.h"' > conftest.c |
2681 |
echo 'int i;' > conftest.h |
2682 |
echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf |
2683 |
|
2684 |
case $depmode in |
2685 |
nosideeffect) |
2686 |
# after this tag, mechanisms are not by side-effect, so they'll |
2687 |
# only be used when explicitly requested |
2688 |
if test "x$enable_dependency_tracking" = xyes; then |
2689 |
continue |
2690 |
else |
2691 |
break |
2692 |
fi |
2693 |
;; |
2694 |
none) break ;; |
2695 |
esac |
2696 |
# We check with `-c' and `-o' for the sake of the "dashmstdout" |
2697 |
# mode. It turns out that the SunPro C++ compiler does not properly |
2698 |
# handle `-M -o', and we need to detect this. |
2699 |
if depmode=$depmode \ |
2700 |
source=conftest.c object=conftest.o \ |
2701 |
depfile=conftest.Po tmpdepfile=conftest.TPo \ |
2702 |
$SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 && |
2703 |
grep conftest.h conftest.Po > /dev/null 2>&1 && |
2704 |
${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
2705 |
am_cv_CC_dependencies_compiler_type=$depmode |
2706 |
break |
2707 |
fi |
2708 |
done |
2709 |
|
2710 |
cd .. |
2711 |
rm -rf conftest.dir |
2712 |
else |
2713 |
am_cv_CC_dependencies_compiler_type=none |
2714 |
fi |
2715 |
|
2716 |
fi |
2717 |
echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 |
2718 |
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6 |
2719 |
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type |
2720 |
|
2721 |
|
2722 |
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
2723 |
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 |
2724 |
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'` |
2725 |
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then |
2726 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2727 |
else |
2728 |
cat >conftest.make <<\_ACEOF |
2729 |
all: |
2730 |
@echo 'ac_maketemp="$(MAKE)"' |
2731 |
_ACEOF |
2732 |
# GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
2733 |
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` |
2734 |
if test -n "$ac_maketemp"; then |
2735 |
eval ac_cv_prog_make_${ac_make}_set=yes |
2736 |
else |
2737 |
eval ac_cv_prog_make_${ac_make}_set=no |
2738 |
fi |
2739 |
rm -f conftest.make |
2740 |
fi |
2741 |
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then |
2742 |
echo "$as_me:$LINENO: result: yes" >&5 |
2743 |
echo "${ECHO_T}yes" >&6 |
2744 |
SET_MAKE= |
2745 |
else |
2746 |
echo "$as_me:$LINENO: result: no" >&5 |
2747 |
echo "${ECHO_T}no" >&6 |
2748 |
SET_MAKE="MAKE=${MAKE-make}" |
2749 |
fi |
2750 |
|
2751 |
cat >confcache <<\_ACEOF |
2752 |
# This file is a shell script that caches the results of configure |
2753 |
# tests run on this system so they can be shared between configure |
2754 |
# scripts and configure runs, see configure's option --config-cache. |
2755 |
# It is not useful on other systems. If it contains results you don't |
2756 |
# want to keep, you may remove or edit it. |
2757 |
# |
2758 |
# config.status only pays attention to the cache file if you give it |
2759 |
# the --recheck option to rerun configure. |
2760 |
# |
2761 |
# `ac_cv_env_foo' variables (set or unset) will be overridden when |
2762 |
# loading this file, other *unset* `ac_cv_foo' will be assigned the |
2763 |
# following values. |
2764 |
|
2765 |
_ACEOF |
2766 |
|
2767 |
# The following way of writing the cache mishandles newlines in values, |
2768 |
# but we know of no workaround that is simple, portable, and efficient. |
2769 |
# So, don't put newlines in cache variables' values. |
2770 |
# Ultrix sh set writes to stderr and can't be redirected directly, |
2771 |
# and sets the high bit in the cache file unless we assign to the vars. |
2772 |
{ |
2773 |
(set) 2>&1 | |
2774 |
case `(ac_space=' '; set | grep ac_space) 2>&1` in |
2775 |
*ac_space=\ *) |
2776 |
# `set' does not quote correctly, so add quotes (double-quote |
2777 |
# substitution turns \\\\ into \\, and sed turns \\ into \). |
2778 |
sed -n \ |
2779 |
"s/'/'\\\\''/g; |
2780 |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
2781 |
;; |
2782 |
*) |
2783 |
# `set' quotes correctly as required by POSIX, so do not add quotes. |
2784 |
sed -n \ |
2785 |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
2786 |
;; |
2787 |
esac; |
2788 |
} | |
2789 |
sed ' |
2790 |
t clear |
2791 |
: clear |
2792 |
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ |
2793 |
t end |
2794 |
/^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
2795 |
: end' >>confcache |
2796 |
if diff $cache_file confcache >/dev/null 2>&1; then :; else |
2797 |
if test -w $cache_file; then |
2798 |
test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" |
2799 |
cat confcache >$cache_file |
2800 |
else |
2801 |
echo "not updating unwritable cache $cache_file" |
2802 |
fi |
2803 |
fi |
2804 |
rm -f confcache |
2805 |
|
2806 |
echo "$as_me:$LINENO: checking for fgrep" >&5 |
2807 |
echo $ECHO_N "checking for fgrep... $ECHO_C" >&6 |
2808 |
if test "${ac_cv_prog_fgrep+set}" = set; then |
2809 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2810 |
else |
2811 |
if echo 'ab*c' | (grep -F 'ab*c') >/dev/null 2>&1 |
2812 |
then ac_cv_prog_fgrep='grep -F' |
2813 |
else ac_cv_prog_fgrep='fgrep' |
2814 |
fi |
2815 |
fi |
2816 |
echo "$as_me:$LINENO: result: $ac_cv_prog_fgrep" >&5 |
2817 |
echo "${ECHO_T}$ac_cv_prog_fgrep" >&6 |
2818 |
FGREP=$ac_cv_prog_fgrep |
2819 |
|
2820 |
|
2821 |
|
2822 |
|
2823 |
# Check whether --with-dbprim-prefix or --without-dbprim-prefix was given. |
2824 |
if test "${with_dbprim_prefix+set}" = set; then |
2825 |
withval="$with_dbprim_prefix" |
2826 |
dbprim_config_prefix="$withval" |
2827 |
else |
2828 |
dbprim_config_prefix="" |
2829 |
fi; |
2830 |
|
2831 |
# Check whether --with-dbprim-exec-prefix or --without-dbprim-exec-prefix was given. |
2832 |
if test "${with_dbprim_exec_prefix+set}" = set; then |
2833 |
withval="$with_dbprim_exec_prefix" |
2834 |
dbprim_config_exec_prefix="$withval" |
2835 |
else |
2836 |
dbprim_config_exec_prefix="" |
2837 |
fi; |
2838 |
|
2839 |
if test x$dbprim_config_exec_prefix != x ; then |
2840 |
dbprim_config_args="$dbprim_config_args --exec-prefix=$dbprim_config_exec_prefix" |
2841 |
if test x${DBPRIM_CONFIG+set} != xset ; then |
2842 |
DBPRIM_CONFIG=$dbprim_config_exec_prefix/bin/dbprim-config |
2843 |
fi |
2844 |
fi |
2845 |
if test x$dbprim_config_prefix != x ; then |
2846 |
dbprim_config_args="$dbprim_config_args --prefix=$dbprim_config_prefix" |
2847 |
if test x${DBPRIM_CONFIG+set} != xset ; then |
2848 |
DBPRIM_CONFIG=$dbprim_config_prefix/bin/dbprim-config |
2849 |
fi |
2850 |
fi |
2851 |
|
2852 |
# Extract the first word of "dbprim-config", so it can be a program name with args. |
2853 |
set dummy dbprim-config; ac_word=$2 |
2854 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2855 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
2856 |
if test "${ac_cv_path_DBPRIM_CONFIG+set}" = set; then |
2857 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2858 |
else |
2859 |
case $DBPRIM_CONFIG in |
2860 |
[\\/]* | ?:[\\/]*) |
2861 |
ac_cv_path_DBPRIM_CONFIG="$DBPRIM_CONFIG" # Let the user override the test with a path. |
2862 |
;; |
2863 |
*) |
2864 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2865 |
for as_dir in $PATH |
2866 |
do |
2867 |
IFS=$as_save_IFS |
2868 |
test -z "$as_dir" && as_dir=. |
2869 |
for ac_exec_ext in '' $ac_executable_extensions; do |
2870 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2871 |
ac_cv_path_DBPRIM_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
2872 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2873 |
break 2 |
2874 |
fi |
2875 |
done |
2876 |
done |
2877 |
|
2878 |
test -z "$ac_cv_path_DBPRIM_CONFIG" && ac_cv_path_DBPRIM_CONFIG="no" |
2879 |
;; |
2880 |
esac |
2881 |
fi |
2882 |
DBPRIM_CONFIG=$ac_cv_path_DBPRIM_CONFIG |
2883 |
|
2884 |
if test -n "$DBPRIM_CONFIG"; then |
2885 |
echo "$as_me:$LINENO: result: $DBPRIM_CONFIG" >&5 |
2886 |
echo "${ECHO_T}$DBPRIM_CONFIG" >&6 |
2887 |
else |
2888 |
echo "$as_me:$LINENO: result: no" >&5 |
2889 |
echo "${ECHO_T}no" >&6 |
2890 |
fi |
2891 |
|
2892 |
echo "$as_me:$LINENO: checking for dbprim - version >= 0.9.1" >&5 |
2893 |
echo $ECHO_N "checking for dbprim - version >= 0.9.1... $ECHO_C" >&6 |
2894 |
|
2895 |
no_dbprim="" |
2896 |
if test "$DBPRIM_CONFIG" = "no" ; then |
2897 |
no_dbprim=yes |
2898 |
else |
2899 |
DBPRIM_CFLAGS="`$DBPRIM_CONFIG $dbprim_config_args --cflags`" |
2900 |
DBPRIM_LIBS="`$DBPRIM_CONFIG $dbprim_config_args --libs`" |
2901 |
|
2902 |
dbprim_config_major_version=`$DBPRIM_CONFIG $dbprim_config_args \ |
2903 |
--version | sed 's/[^0-9]*\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'` |
2904 |
dbprim_config_minor_version=`$DBPRIM_CONFIG $dbprim_config_args \ |
2905 |
--version | sed 's/[^0-9]*\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'` |
2906 |
dbprim_config_micro_version=`$DBPRIM_CONFIG $dbprim_config_args \ |
2907 |
--version | sed 's/[^0-9]*\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'` |
2908 |
dbprim_wanted_major_version="0" |
2909 |
dbprim_wanted_minor_version="9" |
2910 |
dbprim_wanted_micro_version="1" |
2911 |
|
2912 |
# Compare wanted version to what config script returned. |
2913 |
# If I knew what library was being run, i'd probably also compile |
2914 |
# a test program at this point (which also extracted and tested |
2915 |
# the version in some library-specific way) |
2916 |
if test "$dbprim_config_major_version" -lt \ |
2917 |
"$dbprim_wanted_major_version" \ |
2918 |
-o \( "$dbprim_config_major_version" -eq \ |
2919 |
"$dbprim_wanted_major_version" \ |
2920 |
-a "$dbprim_config_minor_version" -lt \ |
2921 |
"$dbprim_wanted_minor_version" \) \ |
2922 |
-o \( "$dbprim_config_major_version" -eq \ |
2923 |
"$dbprim_wanted_major_version" \ |
2924 |
-a "$dbprim_config_minor_version" -eq \ |
2925 |
"$dbprim_wanted_minor_version" \ |
2926 |
-a "$dbprim_config_micro_version" -lt \ |
2927 |
"$dbprim_wanted_micro_version" \) ; then |
2928 |
# older version found |
2929 |
no_dbprim=yes |
2930 |
echo -n "*** An old version of dbprim " |
2931 |
echo -n "($dbprim_config_major_version" |
2932 |
echo -n ".$dbprim_config_minor_version" |
2933 |
echo ".$dbprim_config_micro_version) was found." |
2934 |
echo -n "*** You need a version of dbprim newer than " |
2935 |
echo -n "$dbprim_wanted_major_version" |
2936 |
echo -n ".$dbprim_wanted_minor_version" |
2937 |
echo ".$dbprim_wanted_micro_version." |
2938 |
echo "***" |
2939 |
echo "*** If you have already installed a sufficiently new version, this error" |
2940 |
echo "*** probably means that the wrong copy of the dbprim-config shell script is" |
2941 |
echo "*** being found. The easiest way to fix this is to remove the old version" |
2942 |
echo "*** of dbprim, but you can also set the DBPRIM_CONFIG environment to point to the" |
2943 |
echo "*** correct copy of dbprim-config. (In this case, you will have to" |
2944 |
echo "*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf" |
2945 |
echo "*** so that the correct libraries are found at run-time)" |
2946 |
fi |
2947 |
|
2948 |
fi |
2949 |
if test "x$no_dbprim" = x ; then |
2950 |
echo "$as_me:$LINENO: result: yes" >&5 |
2951 |
echo "${ECHO_T}yes" >&6 |
2952 |
|
2953 |
|
2954 |
for arg in $DBPRIM_CFLAGS |
2955 |
do |
2956 |
if { cat <<EOF |
2957 |
$CFLAGS x |
2958 |
EOF |
2959 |
} | $FGREP -v -e " $arg " > /dev/null |
2960 |
then |
2961 |
CFLAGS="$CFLAGS $arg" |
2962 |
fi |
2963 |
done |
2964 |
|
2965 |
|
2966 |
for arg in $DBPRIM_CFLAGS/dbprim |
2967 |
do |
2968 |
if { cat <<EOF |
2969 |
$CFLAGS x |
2970 |
EOF |
2971 |
} | $FGREP -v -e " $arg " > /dev/null |
2972 |
then |
2973 |
CFLAGS="$CFLAGS $arg" |
2974 |
fi |
2975 |
done |
2976 |
|
2977 |
|
2978 |
xt_compare="$LIBS" |
2979 |
xt_filtered="" |
2980 |
for arg in $DBPRIM_LIBS |
2981 |
do |
2982 |
if { cat <<EOF |
2983 |
$xt_compare x |
2984 |
EOF |
2985 |
} | $FGREP -v -e " $arg " > /dev/null |
2986 |
then |
2987 |
xt_compare="$arg $xt_compare" |
2988 |
xt_filtered="$xt_filtered $arg" |
2989 |
fi |
2990 |
done |
2991 |
LIBS="$xt_filtered $LIBS" |
2992 |
|
2993 |
|
2994 |
else |
2995 |
echo "$as_me:$LINENO: result: no" >&5 |
2996 |
echo "${ECHO_T}no" >&6 |
2997 |
if test "$DBPRIM_CONFIG" = "no" ; then |
2998 |
echo "*** The dbprim-config script installed by dbprim could not be found" |
2999 |
echo "*** If dbprim was installed in PREFIX, make sure PREFIX/bin is in" |
3000 |
echo "*** your path, or set the DBPRIM_CONFIG environment variable to the" |
3001 |
echo "*** full path to dbprim-config." |
3002 |
fi |
3003 |
DBPRIM_CFLAGS="" |
3004 |
DBPRIM_LIBS="" |
3005 |
|
3006 |
dbprim_ldadd="../dbprim/.libs/libdbprim.a" |
3007 |
|
3008 |
|
3009 |
|
3010 |
subdirs="$subdirs dbprim" |
3011 |
|
3012 |
|
3013 |
for arg in -I.. |
3014 |
do |
3015 |
if { cat <<EOF |
3016 |
$CFLAGS x |
3017 |
EOF |
3018 |
} | $FGREP -v -e " $arg " > /dev/null |
3019 |
then |
3020 |
CFLAGS="$CFLAGS $arg" |
3021 |
fi |
3022 |
done |
3023 |
|
3024 |
|
3025 |
for arg in -I../dbprim |
3026 |
do |
3027 |
if { cat <<EOF |
3028 |
$CFLAGS x |
3029 |
EOF |
3030 |
} | $FGREP -v -e " $arg " > /dev/null |
3031 |
then |
3032 |
CFLAGS="$CFLAGS $arg" |
3033 |
fi |
3034 |
done |
3035 |
|
3036 |
{ echo "$as_me:$LINENO: Will use dbprim provided in this package (static linkage)" >&5 |
3037 |
echo "$as_me: Will use dbprim provided in this package (static linkage)" >&6;} |
3038 |
|
3039 |
fi |
3040 |
|
3041 |
|
3042 |
|
3043 |
|
3044 |
|
3045 |
|
3046 |
|
3047 |
|
3048 |
|
3049 |
# Check whether --with-peak-prefix or --without-peak-prefix was given. |
3050 |
if test "${with_peak_prefix+set}" = set; then |
3051 |
withval="$with_peak_prefix" |
3052 |
peak_config_prefix="$withval" |
3053 |
else |
3054 |
peak_config_prefix="" |
3055 |
fi; |
3056 |
|
3057 |
# Check whether --with-peak-exec-prefix or --without-peak-exec-prefix was given. |
3058 |
if test "${with_peak_exec_prefix+set}" = set; then |
3059 |
withval="$with_peak_exec_prefix" |
3060 |
peak_config_exec_prefix="$withval" |
3061 |
else |
3062 |
peak_config_exec_prefix="" |
3063 |
fi; |
3064 |
|
3065 |
if test x$peak_config_exec_prefix != x ; then |
3066 |
peak_config_args="$peak_config_args --exec-prefix=$peak_config_exec_prefix" |
3067 |
if test x${PEAK_CONFIG+set} != xset ; then |
3068 |
PEAK_CONFIG=$peak_config_exec_prefix/bin/peak-config |
3069 |
fi |
3070 |
fi |
3071 |
if test x$peak_config_prefix != x ; then |
3072 |
peak_config_args="$peak_config_args --prefix=$peak_config_prefix" |
3073 |
if test x${PEAK_CONFIG+set} != xset ; then |
3074 |
PEAK_CONFIG=$peak_config_prefix/bin/peak-config |
3075 |
fi |
3076 |
fi |
3077 |
|
3078 |
# Extract the first word of "peak-config", so it can be a program name with args. |
3079 |
set dummy peak-config; ac_word=$2 |
3080 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3081 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
3082 |
if test "${ac_cv_path_PEAK_CONFIG+set}" = set; then |
3083 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3084 |
else |
3085 |
case $PEAK_CONFIG in |
3086 |
[\\/]* | ?:[\\/]*) |
3087 |
ac_cv_path_PEAK_CONFIG="$PEAK_CONFIG" # Let the user override the test with a path. |
3088 |
;; |
3089 |
*) |
3090 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3091 |
for as_dir in $PATH |
3092 |
do |
3093 |
IFS=$as_save_IFS |
3094 |
test -z "$as_dir" && as_dir=. |
3095 |
for ac_exec_ext in '' $ac_executable_extensions; do |
3096 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3097 |
ac_cv_path_PEAK_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
3098 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3099 |
break 2 |
3100 |
fi |
3101 |
done |
3102 |
done |
3103 |
|
3104 |
test -z "$ac_cv_path_PEAK_CONFIG" && ac_cv_path_PEAK_CONFIG="no" |
3105 |
;; |
3106 |
esac |
3107 |
fi |
3108 |
PEAK_CONFIG=$ac_cv_path_PEAK_CONFIG |
3109 |
|
3110 |
if test -n "$PEAK_CONFIG"; then |
3111 |
echo "$as_me:$LINENO: result: $PEAK_CONFIG" >&5 |
3112 |
echo "${ECHO_T}$PEAK_CONFIG" >&6 |
3113 |
else |
3114 |
echo "$as_me:$LINENO: result: no" >&5 |
3115 |
echo "${ECHO_T}no" >&6 |
3116 |
fi |
3117 |
|
3118 |
echo "$as_me:$LINENO: checking for peak - version >= 0.1.0" >&5 |
3119 |
echo $ECHO_N "checking for peak - version >= 0.1.0... $ECHO_C" >&6 |
3120 |
|
3121 |
no_peak="" |
3122 |
if test "$PEAK_CONFIG" = "no" ; then |
3123 |
no_peak=yes |
3124 |
else |
3125 |
PEAK_CFLAGS="`$PEAK_CONFIG $peak_config_args --cflags`" |
3126 |
PEAK_LIBS="`$PEAK_CONFIG $peak_config_args --libs`" |
3127 |
|
3128 |
peak_config_major_version=`$PEAK_CONFIG $peak_config_args \ |
3129 |
--version | sed 's/[^0-9]*\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'` |
3130 |
peak_config_minor_version=`$PEAK_CONFIG $peak_config_args \ |
3131 |
--version | sed 's/[^0-9]*\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'` |
3132 |
peak_config_micro_version=`$PEAK_CONFIG $peak_config_args \ |
3133 |
--version | sed 's/[^0-9]*\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'` |
3134 |
peak_wanted_major_version="0" |
3135 |
peak_wanted_minor_version="1" |
3136 |
peak_wanted_micro_version="0" |
3137 |
|
3138 |
# Compare wanted version to what config script returned. |
3139 |
# If I knew what library was being run, i'd probably also compile |
3140 |
# a test program at this point (which also extracted and tested |
3141 |
# the version in some library-specific way) |
3142 |
if test "$peak_config_major_version" -lt \ |
3143 |
"$peak_wanted_major_version" \ |
3144 |
-o \( "$peak_config_major_version" -eq \ |
3145 |
"$peak_wanted_major_version" \ |
3146 |
-a "$peak_config_minor_version" -lt \ |
3147 |
"$peak_wanted_minor_version" \) \ |
3148 |
-o \( "$peak_config_major_version" -eq \ |
3149 |
"$peak_wanted_major_version" \ |
3150 |
-a "$peak_config_minor_version" -eq \ |
3151 |
"$peak_wanted_minor_version" \ |
3152 |
-a "$peak_config_micro_version" -lt \ |
3153 |
"$peak_wanted_micro_version" \) ; then |
3154 |
# older version found |
3155 |
no_peak=yes |
3156 |
echo -n "*** An old version of peak " |
3157 |
echo -n "($peak_config_major_version" |
3158 |
echo -n ".$peak_config_minor_version" |
3159 |
echo ".$peak_config_micro_version) was found." |
3160 |
echo -n "*** You need a version of peak newer than " |
3161 |
echo -n "$peak_wanted_major_version" |
3162 |
echo -n ".$peak_wanted_minor_version" |
3163 |
echo ".$peak_wanted_micro_version." |
3164 |
echo "***" |
3165 |
echo "*** If you have already installed a sufficiently new version, this error" |
3166 |
echo "*** probably means that the wrong copy of the peak-config shell script is" |
3167 |
echo "*** being found. The easiest way to fix this is to remove the old version" |
3168 |
echo "*** of peak, but you can also set the PEAK_CONFIG environment to point to the" |
3169 |
echo "*** correct copy of peak-config. (In this case, you will have to" |
3170 |
echo "*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf" |
3171 |
echo "*** so that the correct libraries are found at run-time)" |
3172 |
fi |
3173 |
|
3174 |
fi |
3175 |
if test "x$no_peak" = x ; then |
3176 |
echo "$as_me:$LINENO: result: yes" >&5 |
3177 |
echo "${ECHO_T}yes" >&6 |
3178 |
: |
3179 |
else |
3180 |
echo "$as_me:$LINENO: result: no" >&5 |
3181 |
echo "${ECHO_T}no" >&6 |
3182 |
if test "$PEAK_CONFIG" = "no" ; then |
3183 |
echo "*** The peak-config script installed by peak could not be found" |
3184 |
echo "*** If peak was installed in PREFIX, make sure PREFIX/bin is in" |
3185 |
echo "*** your path, or set the PEAK_CONFIG environment variable to the" |
3186 |
echo "*** full path to peak-config." |
3187 |
fi |
3188 |
PEAK_CFLAGS="" |
3189 |
PEAK_LIBS="" |
3190 |
{ { echo "$as_me:$LINENO: error: required PEAK Library (libpeak) not found" >&5 |
3191 |
echo "$as_me: error: required PEAK Library (libpeak) not found" >&2;} |
3192 |
{ (exit 1); exit 1; }; } |
3193 |
fi |
3194 |
|
3195 |
|
3196 |
|
3197 |
|
3198 |
|
3199 |
|
3200 |
|
3201 |
for arg in $PEAK_CFLAGS |
3202 |
do |
3203 |
if { cat <<EOF |
3204 |
$CFLAGS x |
3205 |
EOF |
3206 |
} | $FGREP -v -e " $arg " > /dev/null |
3207 |
then |
3208 |
CFLAGS="$CFLAGS $arg" |
3209 |
fi |
3210 |
done |
3211 |
|
3212 |
|
3213 |
xt_compare="$LIBS" |
3214 |
xt_filtered="" |
3215 |
for arg in $PEAK_LIBS |
3216 |
do |
3217 |
if { cat <<EOF |
3218 |
$xt_compare x |
3219 |
EOF |
3220 |
} | $FGREP -v -e " $arg " > /dev/null |
3221 |
then |
3222 |
xt_compare="$arg $xt_compare" |
3223 |
xt_filtered="$xt_filtered $arg" |
3224 |
fi |
3225 |
done |
3226 |
LIBS="$xt_filtered $LIBS" |
3227 |
|
3228 |
|
3229 |
|
3230 |
|
3231 |
# Check whether --with-xml2-prefix or --without-xml2-prefix was given. |
3232 |
if test "${with_xml2_prefix+set}" = set; then |
3233 |
withval="$with_xml2_prefix" |
3234 |
xml2_config_prefix="$withval" |
3235 |
else |
3236 |
xml2_config_prefix="" |
3237 |
fi; |
3238 |
|
3239 |
# Check whether --with-xml2-exec-prefix or --without-xml2-exec-prefix was given. |
3240 |
if test "${with_xml2_exec_prefix+set}" = set; then |
3241 |
withval="$with_xml2_exec_prefix" |
3242 |
xml2_config_exec_prefix="$withval" |
3243 |
else |
3244 |
xml2_config_exec_prefix="" |
3245 |
fi; |
3246 |
|
3247 |
if test x$xml2_config_exec_prefix != x ; then |
3248 |
xml2_config_args="$xml2_config_args --exec-prefix=$xml2_config_exec_prefix" |
3249 |
if test x${XML2_CONFIG+set} != xset ; then |
3250 |
XML2_CONFIG=$xml2_config_exec_prefix/bin/xml2-config |
3251 |
fi |
3252 |
fi |
3253 |
if test x$xml2_config_prefix != x ; then |
3254 |
xml2_config_args="$xml2_config_args --prefix=$xml2_config_prefix" |
3255 |
if test x${XML2_CONFIG+set} != xset ; then |
3256 |
XML2_CONFIG=$xml2_config_prefix/bin/xml2-config |
3257 |
fi |
3258 |
fi |
3259 |
|
3260 |
# Extract the first word of "xml2-config", so it can be a program name with args. |
3261 |
set dummy xml2-config; ac_word=$2 |
3262 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3263 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
3264 |
if test "${ac_cv_path_XML2_CONFIG+set}" = set; then |
3265 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3266 |
else |
3267 |
case $XML2_CONFIG in |
3268 |
[\\/]* | ?:[\\/]*) |
3269 |
ac_cv_path_XML2_CONFIG="$XML2_CONFIG" # Let the user override the test with a path. |
3270 |
;; |
3271 |
*) |
3272 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3273 |
for as_dir in $PATH |
3274 |
do |
3275 |
IFS=$as_save_IFS |
3276 |
test -z "$as_dir" && as_dir=. |
3277 |
for ac_exec_ext in '' $ac_executable_extensions; do |
3278 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3279 |
ac_cv_path_XML2_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
3280 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3281 |
break 2 |
3282 |
fi |
3283 |
done |
3284 |
done |
3285 |
|
3286 |
test -z "$ac_cv_path_XML2_CONFIG" && ac_cv_path_XML2_CONFIG="no" |
3287 |
;; |
3288 |
esac |
3289 |
fi |
3290 |
XML2_CONFIG=$ac_cv_path_XML2_CONFIG |
3291 |
|
3292 |
if test -n "$XML2_CONFIG"; then |
3293 |
echo "$as_me:$LINENO: result: $XML2_CONFIG" >&5 |
3294 |
echo "${ECHO_T}$XML2_CONFIG" >&6 |
3295 |
else |
3296 |
echo "$as_me:$LINENO: result: no" >&5 |
3297 |
echo "${ECHO_T}no" >&6 |
3298 |
fi |
3299 |
|
3300 |
echo "$as_me:$LINENO: checking for xml2 - version >= 2.0.0" >&5 |
3301 |
echo $ECHO_N "checking for xml2 - version >= 2.0.0... $ECHO_C" >&6 |
3302 |
|
3303 |
no_xml2="" |
3304 |
if test "$XML2_CONFIG" = "no" ; then |
3305 |
no_xml2=yes |
3306 |
else |
3307 |
XML2_CFLAGS="`$XML2_CONFIG $xml2_config_args --cflags`" |
3308 |
XML2_LIBS="`$XML2_CONFIG $xml2_config_args --libs`" |
3309 |
|
3310 |
xml2_config_major_version=`$XML2_CONFIG $xml2_config_args \ |
3311 |
--version | sed 's/[^0-9]*\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'` |
3312 |
xml2_config_minor_version=`$XML2_CONFIG $xml2_config_args \ |
3313 |
--version | sed 's/[^0-9]*\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'` |
3314 |
xml2_config_micro_version=`$XML2_CONFIG $xml2_config_args \ |
3315 |
--version | sed 's/[^0-9]*\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'` |
3316 |
xml2_wanted_major_version="2" |
3317 |
xml2_wanted_minor_version="0" |
3318 |
xml2_wanted_micro_version="0" |
3319 |
|
3320 |
# Compare wanted version to what config script returned. |
3321 |
# If I knew what library was being run, i'd probably also compile |
3322 |
# a test program at this point (which also extracted and tested |
3323 |
# the version in some library-specific way) |
3324 |
if test "$xml2_config_major_version" -lt \ |
3325 |
"$xml2_wanted_major_version" \ |
3326 |
-o \( "$xml2_config_major_version" -eq \ |
3327 |
"$xml2_wanted_major_version" \ |
3328 |
-a "$xml2_config_minor_version" -lt \ |
3329 |
"$xml2_wanted_minor_version" \) \ |
3330 |
-o \( "$xml2_config_major_version" -eq \ |
3331 |
"$xml2_wanted_major_version" \ |
3332 |
-a "$xml2_config_minor_version" -eq \ |
3333 |
"$xml2_wanted_minor_version" \ |
3334 |
-a "$xml2_config_micro_version" -lt \ |
3335 |
"$xml2_wanted_micro_version" \) ; then |
3336 |
# older version found |
3337 |
no_xml2=yes |
3338 |
echo -n "*** An old version of xml2 " |
3339 |
echo -n "($xml2_config_major_version" |
3340 |
echo -n ".$xml2_config_minor_version" |
3341 |
echo ".$xml2_config_micro_version) was found." |
3342 |
echo -n "*** You need a version of xml2 newer than " |
3343 |
echo -n "$xml2_wanted_major_version" |
3344 |
echo -n ".$xml2_wanted_minor_version" |
3345 |
echo ".$xml2_wanted_micro_version." |
3346 |
echo "***" |
3347 |
echo "*** If you have already installed a sufficiently new version, this error" |
3348 |
echo "*** probably means that the wrong copy of the xml2-config shell script is" |
3349 |
echo "*** being found. The easiest way to fix this is to remove the old version" |
3350 |
echo "*** of xml2, but you can also set the XML2_CONFIG environment to point to the" |
3351 |
echo "*** correct copy of xml2-config. (In this case, you will have to" |
3352 |
echo "*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf" |
3353 |
echo "*** so that the correct libraries are found at run-time)" |
3354 |
fi |
3355 |
|
3356 |
fi |
3357 |
if test "x$no_xml2" = x ; then |
3358 |
echo "$as_me:$LINENO: result: yes" >&5 |
3359 |
echo "${ECHO_T}yes" >&6 |
3360 |
: |
3361 |
else |
3362 |
echo "$as_me:$LINENO: result: no" >&5 |
3363 |
echo "${ECHO_T}no" >&6 |
3364 |
if test "$XML2_CONFIG" = "no" ; then |
3365 |
echo "*** The xml2-config script installed by xml2 could not be found" |
3366 |
echo "*** If xml2 was installed in PREFIX, make sure PREFIX/bin is in" |
3367 |
echo "*** your path, or set the XML2_CONFIG environment variable to the" |
3368 |
echo "*** full path to xml2-config." |
3369 |
fi |
3370 |
XML2_CFLAGS="" |
3371 |
XML2_LIBS="" |
3372 |
{ { echo "$as_me:$LINENO: error: required XML Library (libxml2) not found - See http://xmlsoft.org" >&5 |
3373 |
echo "$as_me: error: required XML Library (libxml2) not found - See http://xmlsoft.org" >&2;} |
3374 |
{ (exit 1); exit 1; }; } |
3375 |
fi |
3376 |
|
3377 |
|
3378 |
|
3379 |
|
3380 |
|
3381 |
|
3382 |
|
3383 |
for arg in $XML2_CFLAGS |
3384 |
do |
3385 |
if { cat <<EOF |
3386 |
$CFLAGS x |
3387 |
EOF |
3388 |
} | $FGREP -v -e " $arg " > /dev/null |
3389 |
then |
3390 |
CFLAGS="$CFLAGS $arg" |
3391 |
fi |
3392 |
done |
3393 |
|
3394 |
|
3395 |
xt_compare="$LIBS" |
3396 |
xt_filtered="" |
3397 |
for arg in $XML2_LIBS |
3398 |
do |
3399 |
if { cat <<EOF |
3400 |
$xt_compare x |
3401 |
EOF |
3402 |
} | $FGREP -v -e " $arg " > /dev/null |
3403 |
then |
3404 |
xt_compare="$arg $xt_compare" |
3405 |
xt_filtered="$xt_filtered $arg" |
3406 |
fi |
3407 |
done |
3408 |
LIBS="$xt_filtered $LIBS" |
3409 |
|
3410 |
|
3411 |
|
3412 |
for arg in -I../../ipcache |
3413 |
do |
3414 |
if { cat <<EOF |
3415 |
$CFLAGS x |
3416 |
EOF |
3417 |
} | $FGREP -v -e " $arg " > /dev/null |
3418 |
then |
3419 |
CFLAGS="$CFLAGS $arg" |
3420 |
fi |
3421 |
done |
3422 |
|
3423 |
|
3424 |
for arg in -I../../libopas |
3425 |
do |
3426 |
if { cat <<EOF |
3427 |
$CFLAGS x |
3428 |
EOF |
3429 |
} | $FGREP -v -e " $arg " > /dev/null |
3430 |
then |
3431 |
CFLAGS="$CFLAGS $arg" |
3432 |
fi |
3433 |
done |
3434 |
|
3435 |
|
3436 |
|
3437 |
ac_ext=c |
3438 |
ac_cpp='$CPP $CPPFLAGS' |
3439 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3440 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3441 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3442 |
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 |
3443 |
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 |
3444 |
# On Suns, sometimes $CPP names a directory. |
3445 |
if test -n "$CPP" && test -d "$CPP"; then |
3446 |
CPP= |
3447 |
fi |
3448 |
if test -z "$CPP"; then |
3449 |
if test "${ac_cv_prog_CPP+set}" = set; then |
3450 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3451 |
else |
3452 |
# Double quotes because CPP needs to be expanded |
3453 |
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
3454 |
do |
3455 |
ac_preproc_ok=false |
3456 |
for ac_c_preproc_warn_flag in '' yes |
3457 |
do |
3458 |
# Use a header file that comes with gcc, so configuring glibc |
3459 |
# with a fresh cross-compiler works. |
3460 |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
3461 |
# <limits.h> exists even on freestanding compilers. |
3462 |
# On the NeXT, cc -E runs the code through the compiler's parser, |
3463 |
# not just through cpp. "Syntax error" is here to catch this case. |
3464 |
cat >conftest.$ac_ext <<_ACEOF |
3465 |
#line $LINENO "configure" |
3466 |
/* confdefs.h. */ |
3467 |
_ACEOF |
3468 |
cat confdefs.h >>conftest.$ac_ext |
3469 |
cat >>conftest.$ac_ext <<_ACEOF |
3470 |
/* end confdefs.h. */ |
3471 |
#ifdef __STDC__ |
3472 |
# include <limits.h> |
3473 |
#else |
3474 |
# include <assert.h> |
3475 |
#endif |
3476 |
Syntax error |
3477 |
_ACEOF |
3478 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
3479 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
3480 |
ac_status=$? |
3481 |
grep -v '^ *+' conftest.er1 >conftest.err |
3482 |
rm -f conftest.er1 |
3483 |
cat conftest.err >&5 |
3484 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3485 |
(exit $ac_status); } >/dev/null; then |
3486 |
if test -s conftest.err; then |
3487 |
ac_cpp_err=$ac_c_preproc_warn_flag |
3488 |
else |
3489 |
ac_cpp_err= |
3490 |
fi |
3491 |
else |
3492 |
ac_cpp_err=yes |
3493 |
fi |
3494 |
if test -z "$ac_cpp_err"; then |
3495 |
: |
3496 |
else |
3497 |
echo "$as_me: failed program was:" >&5 |
3498 |
sed 's/^/| /' conftest.$ac_ext >&5 |
3499 |
|
3500 |
# Broken: fails on valid input. |
3501 |
continue |
3502 |
fi |
3503 |
rm -f conftest.err conftest.$ac_ext |
3504 |
|
3505 |
# OK, works on sane cases. Now check whether non-existent headers |
3506 |
# can be detected and how. |
3507 |
cat >conftest.$ac_ext <<_ACEOF |
3508 |
#line $LINENO "configure" |
3509 |
/* confdefs.h. */ |
3510 |
_ACEOF |
3511 |
cat confdefs.h >>conftest.$ac_ext |
3512 |
cat >>conftest.$ac_ext <<_ACEOF |
3513 |
/* end confdefs.h. */ |
3514 |
#include <ac_nonexistent.h> |
3515 |
_ACEOF |
3516 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
3517 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
3518 |
ac_status=$? |
3519 |
grep -v '^ *+' conftest.er1 >conftest.err |
3520 |
rm -f conftest.er1 |
3521 |
cat conftest.err >&5 |
3522 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3523 |
(exit $ac_status); } >/dev/null; then |
3524 |
if test -s conftest.err; then |
3525 |
ac_cpp_err=$ac_c_preproc_warn_flag |
3526 |
else |
3527 |
ac_cpp_err= |
3528 |
fi |
3529 |
else |
3530 |
ac_cpp_err=yes |
3531 |
fi |
3532 |
if test -z "$ac_cpp_err"; then |
3533 |
# Broken: success on invalid input. |
3534 |
continue |
3535 |
else |
3536 |
echo "$as_me: failed program was:" >&5 |
3537 |
sed 's/^/| /' conftest.$ac_ext >&5 |
3538 |
|
3539 |
# Passes both tests. |
3540 |
ac_preproc_ok=: |
3541 |
break |
3542 |
fi |
3543 |
rm -f conftest.err conftest.$ac_ext |
3544 |
|
3545 |
done |
3546 |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
3547 |
rm -f conftest.err conftest.$ac_ext |
3548 |
if $ac_preproc_ok; then |
3549 |
break |
3550 |
fi |
3551 |
|
3552 |
done |
3553 |
ac_cv_prog_CPP=$CPP |
3554 |
|
3555 |
fi |
3556 |
CPP=$ac_cv_prog_CPP |
3557 |
else |
3558 |
ac_cv_prog_CPP=$CPP |
3559 |
fi |
3560 |
echo "$as_me:$LINENO: result: $CPP" >&5 |
3561 |
echo "${ECHO_T}$CPP" >&6 |
3562 |
ac_preproc_ok=false |
3563 |
for ac_c_preproc_warn_flag in '' yes |
3564 |
do |
3565 |
# Use a header file that comes with gcc, so configuring glibc |
3566 |
# with a fresh cross-compiler works. |
3567 |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
3568 |
# <limits.h> exists even on freestanding compilers. |
3569 |
# On the NeXT, cc -E runs the code through the compiler's parser, |
3570 |
# not just through cpp. "Syntax error" is here to catch this case. |
3571 |
cat >conftest.$ac_ext <<_ACEOF |
3572 |
#line $LINENO "configure" |
3573 |
/* confdefs.h. */ |
3574 |
_ACEOF |
3575 |
cat confdefs.h >>conftest.$ac_ext |
3576 |
cat >>conftest.$ac_ext <<_ACEOF |
3577 |
/* end confdefs.h. */ |
3578 |
#ifdef __STDC__ |
3579 |
# include <limits.h> |
3580 |
#else |
3581 |
# include <assert.h> |
3582 |
#endif |
3583 |
Syntax error |
3584 |
_ACEOF |
3585 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
3586 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
3587 |
ac_status=$? |
3588 |
grep -v '^ *+' conftest.er1 >conftest.err |
3589 |
rm -f conftest.er1 |
3590 |
cat conftest.err >&5 |
3591 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3592 |
(exit $ac_status); } >/dev/null; then |
3593 |
if test -s conftest.err; then |
3594 |
ac_cpp_err=$ac_c_preproc_warn_flag |
3595 |
else |
3596 |
ac_cpp_err= |
3597 |
fi |
3598 |
else |
3599 |
ac_cpp_err=yes |
3600 |
fi |
3601 |
if test -z "$ac_cpp_err"; then |
3602 |
: |
3603 |
else |
3604 |
echo "$as_me: failed program was:" >&5 |
3605 |
sed 's/^/| /' conftest.$ac_ext >&5 |
3606 |
|
3607 |
# Broken: fails on valid input. |
3608 |
continue |
3609 |
fi |
3610 |
rm -f conftest.err conftest.$ac_ext |
3611 |
|
3612 |
# OK, works on sane cases. Now check whether non-existent headers |
3613 |
# can be detected and how. |
3614 |
cat >conftest.$ac_ext <<_ACEOF |
3615 |
#line $LINENO "configure" |
3616 |
/* confdefs.h. */ |
3617 |
_ACEOF |
3618 |
cat confdefs.h >>conftest.$ac_ext |
3619 |
cat >>conftest.$ac_ext <<_ACEOF |
3620 |
/* end confdefs.h. */ |
3621 |
#include <ac_nonexistent.h> |
3622 |
_ACEOF |
3623 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
3624 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
3625 |
ac_status=$? |
3626 |
grep -v '^ *+' conftest.er1 >conftest.err |
3627 |
rm -f conftest.er1 |
3628 |
cat conftest.err >&5 |
3629 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3630 |
(exit $ac_status); } >/dev/null; then |
3631 |
if test -s conftest.err; then |
3632 |
ac_cpp_err=$ac_c_preproc_warn_flag |
3633 |
else |
3634 |
ac_cpp_err= |
3635 |
fi |
3636 |
else |
3637 |
ac_cpp_err=yes |
3638 |
fi |
3639 |
if test -z "$ac_cpp_err"; then |
3640 |
# Broken: success on invalid input. |
3641 |
continue |
3642 |
else |
3643 |
echo "$as_me: failed program was:" >&5 |
3644 |
sed 's/^/| /' conftest.$ac_ext >&5 |
3645 |
|
3646 |
# Passes both tests. |
3647 |
ac_preproc_ok=: |
3648 |
break |
3649 |
fi |
3650 |
rm -f conftest.err conftest.$ac_ext |
3651 |
|
3652 |
done |
3653 |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
3654 |
rm -f conftest.err conftest.$ac_ext |
3655 |
if $ac_preproc_ok; then |
3656 |
: |
3657 |
else |
3658 |
{ { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check |
3659 |
See \`config.log' for more details." >&5 |
3660 |
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check |
3661 |
See \`config.log' for more details." >&2;} |
3662 |
{ (exit 1); exit 1; }; } |
3663 |
fi |
3664 |
|
3665 |
ac_ext=c |
3666 |
ac_cpp='$CPP $CPPFLAGS' |
3667 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3668 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3669 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3670 |
|
3671 |
|
3672 |
echo "$as_me:$LINENO: checking for egrep" >&5 |
3673 |
echo $ECHO_N "checking for egrep... $ECHO_C" >&6 |
3674 |
if test "${ac_cv_prog_egrep+set}" = set; then |
3675 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3676 |
else |
3677 |
if echo a | (grep -E '(a|b)') >/dev/null 2>&1 |
3678 |
then ac_cv_prog_egrep='grep -E' |
3679 |
else ac_cv_prog_egrep='egrep' |
3680 |
fi |
3681 |
fi |
3682 |
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 |
3683 |
echo "${ECHO_T}$ac_cv_prog_egrep" >&6 |
3684 |
EGREP=$ac_cv_prog_egrep |
3685 |
|
3686 |
|
3687 |
echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
3688 |
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 |
3689 |
if test "${ac_cv_header_stdc+set}" = set; then |
3690 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3691 |
else |
3692 |
cat >conftest.$ac_ext <<_ACEOF |
3693 |
#line $LINENO "configure" |
3694 |
/* confdefs.h. */ |
3695 |
_ACEOF |
3696 |
cat confdefs.h >>conftest.$ac_ext |
3697 |
cat >>conftest.$ac_ext <<_ACEOF |
3698 |
/* end confdefs.h. */ |
3699 |
#include <stdlib.h> |
3700 |
#include <stdarg.h> |
3701 |
#include <string.h> |
3702 |
#include <float.h> |
3703 |
|
3704 |
int |
3705 |
main () |
3706 |
{ |
3707 |
|
3708 |
; |
3709 |
return 0; |
3710 |
} |
3711 |
_ACEOF |
3712 |
rm -f conftest.$ac_objext |
3713 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3714 |
(eval $ac_compile) 2>&5 |
3715 |
ac_status=$? |
3716 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3717 |
(exit $ac_status); } && |
3718 |
{ ac_try='test -s conftest.$ac_objext' |
3719 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3720 |
(eval $ac_try) 2>&5 |
3721 |
ac_status=$? |
3722 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3723 |
(exit $ac_status); }; }; then |
3724 |
ac_cv_header_stdc=yes |
3725 |
else |
3726 |
echo "$as_me: failed program was:" >&5 |
3727 |
sed 's/^/| /' conftest.$ac_ext >&5 |
3728 |
|
3729 |
ac_cv_header_stdc=no |
3730 |
fi |
3731 |
rm -f conftest.$ac_objext conftest.$ac_ext |
3732 |
|
3733 |
if test $ac_cv_header_stdc = yes; then |
3734 |
# SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
3735 |
cat >conftest.$ac_ext <<_ACEOF |
3736 |
#line $LINENO "configure" |
3737 |
/* confdefs.h. */ |
3738 |
_ACEOF |
3739 |
cat confdefs.h >>conftest.$ac_ext |
3740 |
cat >>conftest.$ac_ext <<_ACEOF |
3741 |
/* end confdefs.h. */ |
3742 |
#include <string.h> |
3743 |
|
3744 |
_ACEOF |
3745 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3746 |
$EGREP "memchr" >/dev/null 2>&1; then |
3747 |
: |
3748 |
else |
3749 |
ac_cv_header_stdc=no |
3750 |
fi |
3751 |
rm -f conftest* |
3752 |
|
3753 |
fi |
3754 |
|
3755 |
if test $ac_cv_header_stdc = yes; then |
3756 |
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
3757 |
cat >conftest.$ac_ext <<_ACEOF |
3758 |
#line $LINENO "configure" |
3759 |
/* confdefs.h. */ |
3760 |
_ACEOF |
3761 |
cat confdefs.h >>conftest.$ac_ext |
3762 |
cat >>conftest.$ac_ext <<_ACEOF |
3763 |
/* end confdefs.h. */ |
3764 |
#include <stdlib.h> |
3765 |
|
3766 |
_ACEOF |
3767 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3768 |
$EGREP "free" >/dev/null 2>&1; then |
3769 |
: |
3770 |
else |
3771 |
ac_cv_header_stdc=no |
3772 |
fi |
3773 |
rm -f conftest* |
3774 |
|
3775 |
fi |
3776 |
|
3777 |
if test $ac_cv_header_stdc = yes; then |
3778 |
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
3779 |
if test "$cross_compiling" = yes; then |
3780 |
: |
3781 |
else |
3782 |
cat >conftest.$ac_ext <<_ACEOF |
3783 |
#line $LINENO "configure" |
3784 |
/* confdefs.h. */ |
3785 |
_ACEOF |
3786 |
cat confdefs.h >>conftest.$ac_ext |
3787 |
cat >>conftest.$ac_ext <<_ACEOF |
3788 |
/* end confdefs.h. */ |
3789 |
#include <ctype.h> |
3790 |
#if ((' ' & 0x0FF) == 0x020) |
3791 |
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
3792 |
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
3793 |
#else |
3794 |
# define ISLOWER(c) \ |
3795 |
(('a' <= (c) && (c) <= 'i') \ |
3796 |
|| ('j' <= (c) && (c) <= 'r') \ |
3797 |
|| ('s' <= (c) && (c) <= 'z')) |
3798 |
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
3799 |
#endif |
3800 |
|
3801 |
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
3802 |
int |
3803 |
main () |
3804 |
{ |
3805 |
int i; |
3806 |
for (i = 0; i < 256; i++) |
3807 |
if (XOR (islower (i), ISLOWER (i)) |
3808 |
|| toupper (i) != TOUPPER (i)) |
3809 |
exit(2); |
3810 |
exit (0); |
3811 |
} |
3812 |
_ACEOF |
3813 |
rm -f conftest$ac_exeext |
3814 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
3815 |
(eval $ac_link) 2>&5 |
3816 |
ac_status=$? |
3817 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3818 |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
3819 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3820 |
(eval $ac_try) 2>&5 |
3821 |
ac_status=$? |
3822 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3823 |
(exit $ac_status); }; }; then |
3824 |
: |
3825 |
else |
3826 |
echo "$as_me: program exited with status $ac_status" >&5 |
3827 |
echo "$as_me: failed program was:" >&5 |
3828 |
sed 's/^/| /' conftest.$ac_ext >&5 |
3829 |
|
3830 |
( exit $ac_status ) |
3831 |
ac_cv_header_stdc=no |
3832 |
fi |
3833 |
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
3834 |
fi |
3835 |
fi |
3836 |
fi |
3837 |
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 |
3838 |
echo "${ECHO_T}$ac_cv_header_stdc" >&6 |
3839 |
if test $ac_cv_header_stdc = yes; then |
3840 |
|
3841 |
cat >>confdefs.h <<\_ACEOF |
3842 |
#define STDC_HEADERS 1 |
3843 |
_ACEOF |
3844 |
|
3845 |
fi |
3846 |
|
3847 |
# On IRIX 5.3, sys/types and inttypes.h are conflicting. |
3848 |
|
3849 |
|
3850 |
|
3851 |
|
3852 |
|
3853 |
|
3854 |
|
3855 |
|
3856 |
|
3857 |
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
3858 |
inttypes.h stdint.h unistd.h |
3859 |
do |
3860 |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
3861 |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
3862 |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
3863 |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
3864 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3865 |
else |
3866 |
cat >conftest.$ac_ext <<_ACEOF |
3867 |
#line $LINENO "configure" |
3868 |
/* confdefs.h. */ |
3869 |
_ACEOF |
3870 |
cat confdefs.h >>conftest.$ac_ext |
3871 |
cat >>conftest.$ac_ext <<_ACEOF |
3872 |
/* end confdefs.h. */ |
3873 |
$ac_includes_default |
3874 |
|
3875 |
#include <$ac_header> |
3876 |
_ACEOF |
3877 |
rm -f conftest.$ac_objext |
3878 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3879 |
(eval $ac_compile) 2>&5 |
3880 |
ac_status=$? |
3881 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3882 |
(exit $ac_status); } && |
3883 |
{ ac_try='test -s conftest.$ac_objext' |
3884 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3885 |
(eval $ac_try) 2>&5 |
3886 |
ac_status=$? |
3887 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3888 |
(exit $ac_status); }; }; then |
3889 |
eval "$as_ac_Header=yes" |
3890 |
else |
3891 |
echo "$as_me: failed program was:" >&5 |
3892 |
sed 's/^/| /' conftest.$ac_ext >&5 |
3893 |
|
3894 |
eval "$as_ac_Header=no" |
3895 |
fi |
3896 |
rm -f conftest.$ac_objext conftest.$ac_ext |
3897 |
fi |
3898 |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
3899 |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
3900 |
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
3901 |
cat >>confdefs.h <<_ACEOF |
3902 |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
3903 |
_ACEOF |
3904 |
|
3905 |
fi |
3906 |
|
3907 |
done |
3908 |
|
3909 |
|
3910 |
|
3911 |
for ac_header in signal.h |
3912 |
do |
3913 |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
3914 |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
3915 |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
3916 |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
3917 |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
3918 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3919 |
fi |
3920 |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
3921 |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
3922 |
else |
3923 |
# Is the header compilable? |
3924 |
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
3925 |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
3926 |
cat >conftest.$ac_ext <<_ACEOF |
3927 |
#line $LINENO "configure" |
3928 |
/* confdefs.h. */ |
3929 |
_ACEOF |
3930 |
cat confdefs.h >>conftest.$ac_ext |
3931 |
cat >>conftest.$ac_ext <<_ACEOF |
3932 |
/* end confdefs.h. */ |
3933 |
$ac_includes_default |
3934 |
#include <$ac_header> |
3935 |
_ACEOF |
3936 |
rm -f conftest.$ac_objext |
3937 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3938 |
(eval $ac_compile) 2>&5 |
3939 |
ac_status=$? |
3940 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3941 |
(exit $ac_status); } && |
3942 |
{ ac_try='test -s conftest.$ac_objext' |
3943 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3944 |
(eval $ac_try) 2>&5 |
3945 |
ac_status=$? |
3946 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3947 |
(exit $ac_status); }; }; then |
3948 |
ac_header_compiler=yes |
3949 |
else |
3950 |
echo "$as_me: failed program was:" >&5 |
3951 |
sed 's/^/| /' conftest.$ac_ext >&5 |
3952 |
|
3953 |
ac_header_compiler=no |
3954 |
fi |
3955 |
rm -f conftest.$ac_objext conftest.$ac_ext |
3956 |
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
3957 |
echo "${ECHO_T}$ac_header_compiler" >&6 |
3958 |
|
3959 |
# Is the header present? |
3960 |
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
3961 |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
3962 |
cat >conftest.$ac_ext <<_ACEOF |
3963 |
#line $LINENO "configure" |
3964 |
/* confdefs.h. */ |
3965 |
_ACEOF |
3966 |
cat confdefs.h >>conftest.$ac_ext |
3967 |
cat >>conftest.$ac_ext <<_ACEOF |
3968 |
/* end confdefs.h. */ |
3969 |
#include <$ac_header> |
3970 |
_ACEOF |
3971 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
3972 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
3973 |
ac_status=$? |
3974 |
grep -v '^ *+' conftest.er1 >conftest.err |
3975 |
rm -f conftest.er1 |
3976 |
cat conftest.err >&5 |
3977 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3978 |
(exit $ac_status); } >/dev/null; then |
3979 |
if test -s conftest.err; then |
3980 |
ac_cpp_err=$ac_c_preproc_warn_flag |
3981 |
else |
3982 |
ac_cpp_err= |
3983 |
fi |
3984 |
else |
3985 |
ac_cpp_err=yes |
3986 |
fi |
3987 |
if test -z "$ac_cpp_err"; then |
3988 |
ac_header_preproc=yes |
3989 |
else |
3990 |
echo "$as_me: failed program was:" >&5 |
3991 |
sed 's/^/| /' conftest.$ac_ext >&5 |
3992 |
|
3993 |
ac_header_preproc=no |
3994 |
fi |
3995 |
rm -f conftest.err conftest.$ac_ext |
3996 |
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
3997 |
echo "${ECHO_T}$ac_header_preproc" >&6 |
3998 |
|
3999 |
# So? What about this header? |
4000 |
case $ac_header_compiler:$ac_header_preproc in |
4001 |
yes:no ) |
4002 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
4003 |
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
4004 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
4005 |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
4006 |
( |
4007 |
cat <<\_ASBOX |
4008 |
## ------------------------------------ ## |
4009 |
## Report this to bug-autoconf@gnu.org. ## |
4010 |
## ------------------------------------ ## |
4011 |
_ASBOX |
4012 |
) | |
4013 |
sed "s/^/$as_me: WARNING: /" >&2 |
4014 |
;; |
4015 |
no:yes ) |
4016 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
4017 |
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
4018 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
4019 |
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
4020 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
4021 |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
4022 |
( |
4023 |
cat <<\_ASBOX |
4024 |
## ------------------------------------ ## |
4025 |
## Report this to bug-autoconf@gnu.org. ## |
4026 |
## ------------------------------------ ## |
4027 |
_ASBOX |
4028 |
) | |
4029 |
sed "s/^/$as_me: WARNING: /" >&2 |
4030 |
;; |
4031 |
esac |
4032 |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
4033 |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
4034 |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
4035 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4036 |
else |
4037 |
eval "$as_ac_Header=$ac_header_preproc" |
4038 |
fi |
4039 |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
4040 |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
4041 |
|
4042 |
fi |
4043 |
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
4044 |
cat >>confdefs.h <<_ACEOF |
4045 |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
4046 |
_ACEOF |
4047 |
|
4048 |
fi |
4049 |
|
4050 |
done |
4051 |
|
4052 |
|
4053 |
echo "$as_me:$LINENO: checking for inline" >&5 |
4054 |
echo $ECHO_N "checking for inline... $ECHO_C" >&6 |
4055 |
if test "${ac_cv_c_inline+set}" = set; then |
4056 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4057 |
else |
4058 |
ac_cv_c_inline=no |
4059 |
for ac_kw in inline __inline__ __inline; do |
4060 |
cat >conftest.$ac_ext <<_ACEOF |
4061 |
#line $LINENO "configure" |
4062 |
/* confdefs.h. */ |
4063 |
_ACEOF |
4064 |
cat confdefs.h >>conftest.$ac_ext |
4065 |
cat >>conftest.$ac_ext <<_ACEOF |
4066 |
/* end confdefs.h. */ |
4067 |
#ifndef __cplusplus |
4068 |
typedef int foo_t; |
4069 |
static $ac_kw foo_t static_foo () {return 0; } |
4070 |
$ac_kw foo_t foo () {return 0; } |
4071 |
#endif |
4072 |
|
4073 |
_ACEOF |
4074 |
rm -f conftest.$ac_objext |
4075 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4076 |
(eval $ac_compile) 2>&5 |
4077 |
ac_status=$? |
4078 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4079 |
(exit $ac_status); } && |
4080 |
{ ac_try='test -s conftest.$ac_objext' |
4081 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4082 |
(eval $ac_try) 2>&5 |
4083 |
ac_status=$? |
4084 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4085 |
(exit $ac_status); }; }; then |
4086 |
ac_cv_c_inline=$ac_kw; break |
4087 |
else |
4088 |
echo "$as_me: failed program was:" >&5 |
4089 |
sed 's/^/| /' conftest.$ac_ext >&5 |
4090 |
|
4091 |
fi |
4092 |
rm -f conftest.$ac_objext conftest.$ac_ext |
4093 |
done |
4094 |
|
4095 |
fi |
4096 |
echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5 |
4097 |
echo "${ECHO_T}$ac_cv_c_inline" >&6 |
4098 |
case $ac_cv_c_inline in |
4099 |
inline | yes) ;; |
4100 |
no) |
4101 |
cat >>confdefs.h <<\_ACEOF |
4102 |
#define inline |
4103 |
_ACEOF |
4104 |
;; |
4105 |
*) cat >>confdefs.h <<_ACEOF |
4106 |
#define inline $ac_cv_c_inline |
4107 |
_ACEOF |
4108 |
;; |
4109 |
esac |
4110 |
|
4111 |
|
4112 |
# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
4113 |
# for constant arguments. Useless! |
4114 |
echo "$as_me:$LINENO: checking for working alloca.h" >&5 |
4115 |
echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6 |
4116 |
if test "${ac_cv_working_alloca_h+set}" = set; then |
4117 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4118 |
else |
4119 |
cat >conftest.$ac_ext <<_ACEOF |
4120 |
#line $LINENO "configure" |
4121 |
/* confdefs.h. */ |
4122 |
_ACEOF |
4123 |
cat confdefs.h >>conftest.$ac_ext |
4124 |
cat >>conftest.$ac_ext <<_ACEOF |
4125 |
/* end confdefs.h. */ |
4126 |
#include <alloca.h> |
4127 |
int |
4128 |
main () |
4129 |
{ |
4130 |
char *p = (char *) alloca (2 * sizeof (int)); |
4131 |
; |
4132 |
return 0; |
4133 |
} |
4134 |
_ACEOF |
4135 |
rm -f conftest.$ac_objext conftest$ac_exeext |
4136 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
4137 |
(eval $ac_link) 2>&5 |
4138 |
ac_status=$? |
4139 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4140 |
(exit $ac_status); } && |
4141 |
{ ac_try='test -s conftest$ac_exeext' |
4142 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4143 |
(eval $ac_try) 2>&5 |
4144 |
ac_status=$? |
4145 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4146 |
(exit $ac_status); }; }; then |
4147 |
ac_cv_working_alloca_h=yes |
4148 |
else |
4149 |
echo "$as_me: failed program was:" >&5 |
4150 |
sed 's/^/| /' conftest.$ac_ext >&5 |
4151 |
|
4152 |
ac_cv_working_alloca_h=no |
4153 |
fi |
4154 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
4155 |
fi |
4156 |
echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5 |
4157 |
echo "${ECHO_T}$ac_cv_working_alloca_h" >&6 |
4158 |
if test $ac_cv_working_alloca_h = yes; then |
4159 |
|
4160 |
cat >>confdefs.h <<\_ACEOF |
4161 |
#define HAVE_ALLOCA_H 1 |
4162 |
_ACEOF |
4163 |
|
4164 |
fi |
4165 |
|
4166 |
echo "$as_me:$LINENO: checking for alloca" >&5 |
4167 |
echo $ECHO_N "checking for alloca... $ECHO_C" >&6 |
4168 |
if test "${ac_cv_func_alloca_works+set}" = set; then |
4169 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4170 |
else |
4171 |
cat >conftest.$ac_ext <<_ACEOF |
4172 |
#line $LINENO "configure" |
4173 |
/* confdefs.h. */ |
4174 |
_ACEOF |
4175 |
cat confdefs.h >>conftest.$ac_ext |
4176 |
cat >>conftest.$ac_ext <<_ACEOF |
4177 |
/* end confdefs.h. */ |
4178 |
#ifdef __GNUC__ |
4179 |
# define alloca __builtin_alloca |
4180 |
#else |
4181 |
# ifdef _MSC_VER |
4182 |
# include <malloc.h> |
4183 |
# define alloca _alloca |
4184 |
# else |
4185 |
# if HAVE_ALLOCA_H |
4186 |
# include <alloca.h> |
4187 |
# else |
4188 |
# ifdef _AIX |
4189 |
#pragma alloca |
4190 |
# else |
4191 |
# ifndef alloca /* predefined by HP cc +Olibcalls */ |
4192 |
char *alloca (); |
4193 |
# endif |
4194 |
# endif |
4195 |
# endif |
4196 |
# endif |
4197 |
#endif |
4198 |
|
4199 |
int |
4200 |
main () |
4201 |
{ |
4202 |
char *p = (char *) alloca (1); |
4203 |
; |
4204 |
return 0; |
4205 |
} |
4206 |
_ACEOF |
4207 |
rm -f conftest.$ac_objext conftest$ac_exeext |
4208 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
4209 |
(eval $ac_link) 2>&5 |
4210 |
ac_status=$? |
4211 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4212 |
(exit $ac_status); } && |
4213 |
{ ac_try='test -s conftest$ac_exeext' |
4214 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4215 |
(eval $ac_try) 2>&5 |
4216 |
ac_status=$? |
4217 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4218 |
(exit $ac_status); }; }; then |
4219 |
ac_cv_func_alloca_works=yes |
4220 |
else |
4221 |
echo "$as_me: failed program was:" >&5 |
4222 |
sed 's/^/| /' conftest.$ac_ext >&5 |
4223 |
|
4224 |
ac_cv_func_alloca_works=no |
4225 |
fi |
4226 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
4227 |
fi |
4228 |
echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5 |
4229 |
echo "${ECHO_T}$ac_cv_func_alloca_works" >&6 |
4230 |
|
4231 |
if test $ac_cv_func_alloca_works = yes; then |
4232 |
|
4233 |
cat >>confdefs.h <<\_ACEOF |
4234 |
#define HAVE_ALLOCA 1 |
4235 |
_ACEOF |
4236 |
|
4237 |
else |
4238 |
# The SVR3 libPW and SVR4 libucb both contain incompatible functions |
4239 |
# that cause trouble. Some versions do not even contain alloca or |
4240 |
# contain a buggy version. If you still want to use their alloca, |
4241 |
# use ar to extract alloca.o from them instead of compiling alloca.c. |
4242 |
|
4243 |
ALLOCA=alloca.$ac_objext |
4244 |
|
4245 |
cat >>confdefs.h <<\_ACEOF |
4246 |
#define C_ALLOCA 1 |
4247 |
_ACEOF |
4248 |
|
4249 |
|
4250 |
echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5 |
4251 |
echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6 |
4252 |
if test "${ac_cv_os_cray+set}" = set; then |
4253 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4254 |
else |
4255 |
cat >conftest.$ac_ext <<_ACEOF |
4256 |
#line $LINENO "configure" |
4257 |
/* confdefs.h. */ |
4258 |
_ACEOF |
4259 |
cat confdefs.h >>conftest.$ac_ext |
4260 |
cat >>conftest.$ac_ext <<_ACEOF |
4261 |
/* end confdefs.h. */ |
4262 |
#if defined(CRAY) && ! defined(CRAY2) |
4263 |
webecray |
4264 |
#else |
4265 |
wenotbecray |
4266 |
#endif |
4267 |
|
4268 |
_ACEOF |
4269 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
4270 |
$EGREP "webecray" >/dev/null 2>&1; then |
4271 |
ac_cv_os_cray=yes |
4272 |
else |
4273 |
ac_cv_os_cray=no |
4274 |
fi |
4275 |
rm -f conftest* |
4276 |
|
4277 |
fi |
4278 |
echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5 |
4279 |
echo "${ECHO_T}$ac_cv_os_cray" >&6 |
4280 |
if test $ac_cv_os_cray = yes; then |
4281 |
for ac_func in _getb67 GETB67 getb67; do |
4282 |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
4283 |
echo "$as_me:$LINENO: checking for $ac_func" >&5 |
4284 |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
4285 |
if eval "test \"\${$as_ac_var+set}\" = set"; then |
4286 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4287 |
else |
4288 |
cat >conftest.$ac_ext <<_ACEOF |
4289 |
#line $LINENO "configure" |
4290 |
/* confdefs.h. */ |
4291 |
_ACEOF |
4292 |
cat confdefs.h >>conftest.$ac_ext |
4293 |
cat >>conftest.$ac_ext <<_ACEOF |
4294 |
/* end confdefs.h. */ |
4295 |
/* System header to define __stub macros and hopefully few prototypes, |
4296 |
which can conflict with char $ac_func (); below. |
4297 |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
4298 |
<limits.h> exists even on freestanding compilers. */ |
4299 |
#ifdef __STDC__ |
4300 |
# include <limits.h> |
4301 |
#else |
4302 |
# include <assert.h> |
4303 |
#endif |
4304 |
/* Override any gcc2 internal prototype to avoid an error. */ |
4305 |
#ifdef __cplusplus |
4306 |
extern "C" |
4307 |
{ |
4308 |
#endif |
4309 |
/* We use char because int might match the return type of a gcc2 |
4310 |
builtin and then its argument prototype would still apply. */ |
4311 |
char $ac_func (); |
4312 |
/* The GNU C library defines this for functions which it implements |
4313 |
to always fail with ENOSYS. Some functions are actually named |
4314 |
something starting with __ and the normal name is an alias. */ |
4315 |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
4316 |
choke me |
4317 |
#else |
4318 |
char (*f) () = $ac_func; |
4319 |
#endif |
4320 |
#ifdef __cplusplus |
4321 |
} |
4322 |
#endif |
4323 |
|
4324 |
int |
4325 |
main () |
4326 |
{ |
4327 |
return f != $ac_func; |
4328 |
; |
4329 |
return 0; |
4330 |
} |
4331 |
_ACEOF |
4332 |
rm -f conftest.$ac_objext conftest$ac_exeext |
4333 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
4334 |
(eval $ac_link) 2>&5 |
4335 |
ac_status=$? |
4336 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4337 |
(exit $ac_status); } && |
4338 |
{ ac_try='test -s conftest$ac_exeext' |
4339 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4340 |
(eval $ac_try) 2>&5 |
4341 |
ac_status=$? |
4342 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4343 |
(exit $ac_status); }; }; then |
4344 |
eval "$as_ac_var=yes" |
4345 |
else |
4346 |
echo "$as_me: failed program was:" >&5 |
4347 |
sed 's/^/| /' conftest.$ac_ext >&5 |
4348 |
|
4349 |
eval "$as_ac_var=no" |
4350 |
fi |
4351 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
4352 |
fi |
4353 |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
4354 |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
4355 |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
4356 |
|
4357 |
cat >>confdefs.h <<_ACEOF |
4358 |
#define CRAY_STACKSEG_END $ac_func |
4359 |
_ACEOF |
4360 |
|
4361 |
break |
4362 |
fi |
4363 |
|
4364 |
done |
4365 |
fi |
4366 |
|
4367 |
echo "$as_me:$LINENO: checking stack direction for C alloca" >&5 |
4368 |
echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6 |
4369 |
if test "${ac_cv_c_stack_direction+set}" = set; then |
4370 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4371 |
else |
4372 |
if test "$cross_compiling" = yes; then |
4373 |
ac_cv_c_stack_direction=0 |
4374 |
else |
4375 |
cat >conftest.$ac_ext <<_ACEOF |
4376 |
#line $LINENO "configure" |
4377 |
/* confdefs.h. */ |
4378 |
_ACEOF |
4379 |
cat confdefs.h >>conftest.$ac_ext |
4380 |
cat >>conftest.$ac_ext <<_ACEOF |
4381 |
/* end confdefs.h. */ |
4382 |
int |
4383 |
find_stack_direction () |
4384 |
{ |
4385 |
static char *addr = 0; |
4386 |
auto char dummy; |
4387 |
if (addr == 0) |
4388 |
{ |
4389 |
addr = &dummy; |
4390 |
return find_stack_direction (); |
4391 |
} |
4392 |
else |
4393 |
return (&dummy > addr) ? 1 : -1; |
4394 |
} |
4395 |
|
4396 |
int |
4397 |
main () |
4398 |
{ |
4399 |
exit (find_stack_direction () < 0); |
4400 |
} |
4401 |
_ACEOF |
4402 |
rm -f conftest$ac_exeext |
4403 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
4404 |
(eval $ac_link) 2>&5 |
4405 |
ac_status=$? |
4406 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4407 |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
4408 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4409 |
(eval $ac_try) 2>&5 |
4410 |
ac_status=$? |
4411 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4412 |
(exit $ac_status); }; }; then |
4413 |
ac_cv_c_stack_direction=1 |
4414 |
else |
4415 |
echo "$as_me: program exited with status $ac_status" >&5 |
4416 |
echo "$as_me: failed program was:" >&5 |
4417 |
sed 's/^/| /' conftest.$ac_ext >&5 |
4418 |
|
4419 |
( exit $ac_status ) |
4420 |
ac_cv_c_stack_direction=-1 |
4421 |
fi |
4422 |
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
4423 |
fi |
4424 |
fi |
4425 |
echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5 |
4426 |
echo "${ECHO_T}$ac_cv_c_stack_direction" >&6 |
4427 |
|
4428 |
cat >>confdefs.h <<_ACEOF |
4429 |
#define STACK_DIRECTION $ac_cv_c_stack_direction |
4430 |
_ACEOF |
4431 |
|
4432 |
|
4433 |
fi |
4434 |
|
4435 |
echo "$as_me:$LINENO: checking for pid_t" >&5 |
4436 |
echo $ECHO_N "checking for pid_t... $ECHO_C" >&6 |
4437 |
if test "${ac_cv_type_pid_t+set}" = set; then |
4438 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4439 |
else |
4440 |
cat >conftest.$ac_ext <<_ACEOF |
4441 |
#line $LINENO "configure" |
4442 |
/* confdefs.h. */ |
4443 |
_ACEOF |
4444 |
cat confdefs.h >>conftest.$ac_ext |
4445 |
cat >>conftest.$ac_ext <<_ACEOF |
4446 |
/* end confdefs.h. */ |
4447 |
$ac_includes_default |
4448 |
int |
4449 |
main () |
4450 |
{ |
4451 |
if ((pid_t *) 0) |
4452 |
return 0; |
4453 |
if (sizeof (pid_t)) |
4454 |
return 0; |
4455 |
; |
4456 |
return 0; |
4457 |
} |
4458 |
_ACEOF |
4459 |
rm -f conftest.$ac_objext |
4460 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4461 |
(eval $ac_compile) 2>&5 |
4462 |
ac_status=$? |
4463 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4464 |
(exit $ac_status); } && |
4465 |
{ ac_try='test -s conftest.$ac_objext' |
4466 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4467 |
(eval $ac_try) 2>&5 |
4468 |
ac_status=$? |
4469 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4470 |
(exit $ac_status); }; }; then |
4471 |
ac_cv_type_pid_t=yes |
4472 |
else |
4473 |
echo "$as_me: failed program was:" >&5 |
4474 |
sed 's/^/| /' conftest.$ac_ext >&5 |
4475 |
|
4476 |
ac_cv_type_pid_t=no |
4477 |
fi |
4478 |
rm -f conftest.$ac_objext conftest.$ac_ext |
4479 |
fi |
4480 |
echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5 |
4481 |
echo "${ECHO_T}$ac_cv_type_pid_t" >&6 |
4482 |
if test $ac_cv_type_pid_t = yes; then |
4483 |
: |
4484 |
else |
4485 |
|
4486 |
cat >>confdefs.h <<_ACEOF |
4487 |
#define pid_t int |
4488 |
_ACEOF |
4489 |
|
4490 |
fi |
4491 |
|
4492 |
|
4493 |
|
4494 |
for ac_header in unistd.h vfork.h |
4495 |
do |
4496 |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
4497 |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
4498 |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
4499 |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
4500 |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
4501 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4502 |
fi |
4503 |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
4504 |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
4505 |
else |
4506 |
# Is the header compilable? |
4507 |
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
4508 |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
4509 |
cat >conftest.$ac_ext <<_ACEOF |
4510 |
#line $LINENO "configure" |
4511 |
/* confdefs.h. */ |
4512 |
_ACEOF |
4513 |
cat confdefs.h >>conftest.$ac_ext |
4514 |
cat >>conftest.$ac_ext <<_ACEOF |
4515 |
/* end confdefs.h. */ |
4516 |
$ac_includes_default |
4517 |
#include <$ac_header> |
4518 |
_ACEOF |
4519 |
rm -f conftest.$ac_objext |
4520 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4521 |
(eval $ac_compile) 2>&5 |
4522 |
ac_status=$? |
4523 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4524 |
(exit $ac_status); } && |
4525 |
{ ac_try='test -s conftest.$ac_objext' |
4526 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4527 |
(eval $ac_try) 2>&5 |
4528 |
ac_status=$? |
4529 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4530 |
(exit $ac_status); }; }; then |
4531 |
ac_header_compiler=yes |
4532 |
else |
4533 |
echo "$as_me: failed program was:" >&5 |
4534 |
sed 's/^/| /' conftest.$ac_ext >&5 |
4535 |
|
4536 |
ac_header_compiler=no |
4537 |
fi |
4538 |
rm -f conftest.$ac_objext conftest.$ac_ext |
4539 |
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
4540 |
echo "${ECHO_T}$ac_header_compiler" >&6 |
4541 |
|
4542 |
# Is the header present? |
4543 |
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
4544 |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
4545 |
cat >conftest.$ac_ext <<_ACEOF |
4546 |
#line $LINENO "configure" |
4547 |
/* confdefs.h. */ |
4548 |
_ACEOF |
4549 |
cat confdefs.h >>conftest.$ac_ext |
4550 |
cat >>conftest.$ac_ext <<_ACEOF |
4551 |
/* end confdefs.h. */ |
4552 |
#include <$ac_header> |
4553 |
_ACEOF |
4554 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
4555 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
4556 |
ac_status=$? |
4557 |
grep -v '^ *+' conftest.er1 >conftest.err |
4558 |
rm -f conftest.er1 |
4559 |
cat conftest.err >&5 |
4560 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4561 |
(exit $ac_status); } >/dev/null; then |
4562 |
if test -s conftest.err; then |
4563 |
ac_cpp_err=$ac_c_preproc_warn_flag |
4564 |
else |
4565 |
ac_cpp_err= |
4566 |
fi |
4567 |
else |
4568 |
ac_cpp_err=yes |
4569 |
fi |
4570 |
if test -z "$ac_cpp_err"; then |
4571 |
ac_header_preproc=yes |
4572 |
else |
4573 |
echo "$as_me: failed program was:" >&5 |
4574 |
sed 's/^/| /' conftest.$ac_ext >&5 |
4575 |
|
4576 |
ac_header_preproc=no |
4577 |
fi |
4578 |
rm -f conftest.err conftest.$ac_ext |
4579 |
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
4580 |
echo "${ECHO_T}$ac_header_preproc" >&6 |
4581 |
|
4582 |
# So? What about this header? |
4583 |
case $ac_header_compiler:$ac_header_preproc in |
4584 |
yes:no ) |
4585 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
4586 |
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
4587 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
4588 |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
4589 |
( |
4590 |
cat <<\_ASBOX |
4591 |
## ------------------------------------ ## |
4592 |
## Report this to bug-autoconf@gnu.org. ## |
4593 |
## ------------------------------------ ## |
4594 |
_ASBOX |
4595 |
) | |
4596 |
sed "s/^/$as_me: WARNING: /" >&2 |
4597 |
;; |
4598 |
no:yes ) |
4599 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
4600 |
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
4601 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
4602 |
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
4603 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
4604 |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
4605 |
( |
4606 |
cat <<\_ASBOX |
4607 |
## ------------------------------------ ## |
4608 |
## Report this to bug-autoconf@gnu.org. ## |
4609 |
## ------------------------------------ ## |
4610 |
_ASBOX |
4611 |
) | |
4612 |
sed "s/^/$as_me: WARNING: /" >&2 |
4613 |
;; |
4614 |
esac |
4615 |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
4616 |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
4617 |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
4618 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4619 |
else |
4620 |
eval "$as_ac_Header=$ac_header_preproc" |
4621 |
fi |
4622 |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
4623 |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
4624 |
|
4625 |
fi |
4626 |
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
4627 |
cat >>confdefs.h <<_ACEOF |
4628 |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
4629 |
_ACEOF |
4630 |
|
4631 |
fi |
4632 |
|
4633 |
done |
4634 |
|
4635 |
|
4636 |
|
4637 |
for ac_func in fork vfork |
4638 |
do |
4639 |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
4640 |
echo "$as_me:$LINENO: checking for $ac_func" >&5 |
4641 |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
4642 |
if eval "test \"\${$as_ac_var+set}\" = set"; then |
4643 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4644 |
else |
4645 |
cat >conftest.$ac_ext <<_ACEOF |
4646 |
#line $LINENO "configure" |
4647 |
/* confdefs.h. */ |
4648 |
_ACEOF |
4649 |
cat confdefs.h >>conftest.$ac_ext |
4650 |
cat >>conftest.$ac_ext <<_ACEOF |
4651 |
/* end confdefs.h. */ |
4652 |
/* System header to define __stub macros and hopefully few prototypes, |
4653 |
which can conflict with char $ac_func (); below. |
4654 |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
4655 |
<limits.h> exists even on freestanding compilers. */ |
4656 |
#ifdef __STDC__ |
4657 |
# include <limits.h> |
4658 |
#else |
4659 |
# include <assert.h> |
4660 |
#endif |
4661 |
/* Override any gcc2 internal prototype to avoid an error. */ |
4662 |
#ifdef __cplusplus |
4663 |
extern "C" |
4664 |
{ |
4665 |
#endif |
4666 |
/* We use char because int might match the return type of a gcc2 |
4667 |
builtin and then its argument prototype would still apply. */ |
4668 |
char $ac_func (); |
4669 |
/* The GNU C library defines this for functions which it implements |
4670 |
to always fail with ENOSYS. Some functions are actually named |
4671 |
something starting with __ and the normal name is an alias. */ |
4672 |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
4673 |
choke me |
4674 |
#else |
4675 |
char (*f) () = $ac_func; |
4676 |
#endif |
4677 |
#ifdef __cplusplus |
4678 |
} |
4679 |
#endif |
4680 |
|
4681 |
int |
4682 |
main () |
4683 |
{ |
4684 |
return f != $ac_func; |
4685 |
; |
4686 |
return 0; |
4687 |
} |
4688 |
_ACEOF |
4689 |
rm -f conftest.$ac_objext conftest$ac_exeext |
4690 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
4691 |
(eval $ac_link) 2>&5 |
4692 |
ac_status=$? |
4693 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4694 |
(exit $ac_status); } && |
4695 |
{ ac_try='test -s conftest$ac_exeext' |
4696 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4697 |
(eval $ac_try) 2>&5 |
4698 |
ac_status=$? |
4699 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4700 |
(exit $ac_status); }; }; then |
4701 |
eval "$as_ac_var=yes" |
4702 |
else |
4703 |
echo "$as_me: failed program was:" >&5 |
4704 |
sed 's/^/| /' conftest.$ac_ext >&5 |
4705 |
|
4706 |
eval "$as_ac_var=no" |
4707 |
fi |
4708 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
4709 |
fi |
4710 |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
4711 |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
4712 |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
4713 |
cat >>confdefs.h <<_ACEOF |
4714 |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
4715 |
_ACEOF |
4716 |
|
4717 |
fi |
4718 |
done |
4719 |
|
4720 |
if test "x$ac_cv_func_fork" = xyes; then |
4721 |
echo "$as_me:$LINENO: checking for working fork" >&5 |
4722 |
echo $ECHO_N "checking for working fork... $ECHO_C" >&6 |
4723 |
if test "${ac_cv_func_fork_works+set}" = set; then |
4724 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4725 |
else |
4726 |
if test "$cross_compiling" = yes; then |
4727 |
ac_cv_func_fork_works=cross |
4728 |
else |
4729 |
cat >conftest.$ac_ext <<_ACEOF |
4730 |
/* By Ruediger Kuhlmann. */ |
4731 |
#include <sys/types.h> |
4732 |
#if HAVE_UNISTD_H |
4733 |
# include <unistd.h> |
4734 |
#endif |
4735 |
/* Some systems only have a dummy stub for fork() */ |
4736 |
int main () |
4737 |
{ |
4738 |
if (fork() < 0) |
4739 |
exit (1); |
4740 |
exit (0); |
4741 |
} |
4742 |
_ACEOF |
4743 |
rm -f conftest$ac_exeext |
4744 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
4745 |
(eval $ac_link) 2>&5 |
4746 |
ac_status=$? |
4747 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4748 |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
4749 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4750 |
(eval $ac_try) 2>&5 |
4751 |
ac_status=$? |
4752 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4753 |
(exit $ac_status); }; }; then |
4754 |
ac_cv_func_fork_works=yes |
4755 |
else |
4756 |
echo "$as_me: program exited with status $ac_status" >&5 |
4757 |
echo "$as_me: failed program was:" >&5 |
4758 |
sed 's/^/| /' conftest.$ac_ext >&5 |
4759 |
|
4760 |
( exit $ac_status ) |
4761 |
ac_cv_func_fork_works=no |
4762 |
fi |
4763 |
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
4764 |
fi |
4765 |
fi |
4766 |
echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5 |
4767 |
echo "${ECHO_T}$ac_cv_func_fork_works" >&6 |
4768 |
|
4769 |
else |
4770 |
ac_cv_func_fork_works=$ac_cv_func_fork |
4771 |
fi |
4772 |
if test "x$ac_cv_func_fork_works" = xcross; then |
4773 |
case $host in |
4774 |
*-*-amigaos* | *-*-msdosdjgpp*) |
4775 |
# Override, as these systems have only a dummy fork() stub |
4776 |
ac_cv_func_fork_works=no |
4777 |
;; |
4778 |
*) |
4779 |
ac_cv_func_fork_works=yes |
4780 |
;; |
4781 |
esac |
4782 |
{ echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5 |
4783 |
echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;} |
4784 |
fi |
4785 |
ac_cv_func_vfork_works=$ac_cv_func_vfork |
4786 |
if test "x$ac_cv_func_vfork" = xyes; then |
4787 |
echo "$as_me:$LINENO: checking for working vfork" >&5 |
4788 |
echo $ECHO_N "checking for working vfork... $ECHO_C" >&6 |
4789 |
if test "${ac_cv_func_vfork_works+set}" = set; then |
4790 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4791 |
else |
4792 |
if test "$cross_compiling" = yes; then |
4793 |
ac_cv_func_vfork_works=cross |
4794 |
else |
4795 |
cat >conftest.$ac_ext <<_ACEOF |
4796 |
#line $LINENO "configure" |
4797 |
/* confdefs.h. */ |
4798 |
_ACEOF |
4799 |
cat confdefs.h >>conftest.$ac_ext |
4800 |
cat >>conftest.$ac_ext <<_ACEOF |
4801 |
/* end confdefs.h. */ |
4802 |
/* Thanks to Paul Eggert for this test. */ |
4803 |
#include <stdio.h> |
4804 |
#include <stdlib.h> |
4805 |
#include <sys/types.h> |
4806 |
#include <sys/stat.h> |
4807 |
#include <sys/wait.h> |
4808 |
#if HAVE_UNISTD_H |
4809 |
# include <unistd.h> |
4810 |
#endif |
4811 |
#if HAVE_VFORK_H |
4812 |
# include <vfork.h> |
4813 |
#endif |
4814 |
/* On some sparc systems, changes by the child to local and incoming |
4815 |
argument registers are propagated back to the parent. The compiler |
4816 |
is told about this with #include <vfork.h>, but some compilers |
4817 |
(e.g. gcc -O) don't grok <vfork.h>. Test for this by using a |
4818 |
static variable whose address is put into a register that is |
4819 |
clobbered by the vfork. */ |
4820 |
static void |
4821 |
#ifdef __cplusplus |
4822 |
sparc_address_test (int arg) |
4823 |
# else |
4824 |
sparc_address_test (arg) int arg; |
4825 |
#endif |
4826 |
{ |
4827 |
static pid_t child; |
4828 |
if (!child) { |
4829 |
child = vfork (); |
4830 |
if (child < 0) { |
4831 |
perror ("vfork"); |
4832 |
_exit(2); |
4833 |
} |
4834 |
if (!child) { |
4835 |
arg = getpid(); |
4836 |
write(-1, "", 0); |
4837 |
_exit (arg); |
4838 |
} |
4839 |
} |
4840 |
} |
4841 |
|
4842 |
int |
4843 |
main () |
4844 |
{ |
4845 |
pid_t parent = getpid (); |
4846 |
pid_t child; |
4847 |
|
4848 |
sparc_address_test (0); |
4849 |
|
4850 |
child = vfork (); |
4851 |
|
4852 |
if (child == 0) { |
4853 |
/* Here is another test for sparc vfork register problems. This |
4854 |
test uses lots of local variables, at least as many local |
4855 |
variables as main has allocated so far including compiler |
4856 |
temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris |
4857 |
4.1.3 sparc, but we use 8 to be safe. A buggy compiler should |
4858 |
reuse the register of parent for one of the local variables, |
4859 |
since it will think that parent can't possibly be used any more |
4860 |
in this routine. Assigning to the local variable will thus |
4861 |
munge parent in the parent process. */ |
4862 |
pid_t |
4863 |
p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(), |
4864 |
p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid(); |
4865 |
/* Convince the compiler that p..p7 are live; otherwise, it might |
4866 |
use the same hardware register for all 8 local variables. */ |
4867 |
if (p != p1 || p != p2 || p != p3 || p != p4 |
4868 |
|| p != p5 || p != p6 || p != p7) |
4869 |
_exit(1); |
4870 |
|
4871 |
/* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent |
4872 |
from child file descriptors. If the child closes a descriptor |
4873 |
before it execs or exits, this munges the parent's descriptor |
4874 |
as well. Test for this by closing stdout in the child. */ |
4875 |
_exit(close(fileno(stdout)) != 0); |
4876 |
} else { |
4877 |
int status; |
4878 |
struct stat st; |
4879 |
|
4880 |
while (wait(&status) != child) |
4881 |
; |
4882 |
exit( |
4883 |
/* Was there some problem with vforking? */ |
4884 |
child < 0 |
4885 |
|
4886 |
/* Did the child fail? (This shouldn't happen.) */ |
4887 |
|| status |
4888 |
|
4889 |
/* Did the vfork/compiler bug occur? */ |
4890 |
|| parent != getpid() |
4891 |
|
4892 |
/* Did the file descriptor bug occur? */ |
4893 |
|| fstat(fileno(stdout), &st) != 0 |
4894 |
); |
4895 |
} |
4896 |
} |
4897 |
_ACEOF |
4898 |
rm -f conftest$ac_exeext |
4899 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
4900 |
(eval $ac_link) 2>&5 |
4901 |
ac_status=$? |
4902 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4903 |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
4904 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4905 |
(eval $ac_try) 2>&5 |
4906 |
ac_status=$? |
4907 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4908 |
(exit $ac_status); }; }; then |
4909 |
ac_cv_func_vfork_works=yes |
4910 |
else |
4911 |
echo "$as_me: program exited with status $ac_status" >&5 |
4912 |
echo "$as_me: failed program was:" >&5 |
4913 |
sed 's/^/| /' conftest.$ac_ext >&5 |
4914 |
|
4915 |
( exit $ac_status ) |
4916 |
ac_cv_func_vfork_works=no |
4917 |
fi |
4918 |
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
4919 |
fi |
4920 |
fi |
4921 |
echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5 |
4922 |
echo "${ECHO_T}$ac_cv_func_vfork_works" >&6 |
4923 |
|
4924 |
fi; |
4925 |
if test "x$ac_cv_func_fork_works" = xcross; then |
4926 |
ac_cv_func_vfork_works=ac_cv_func_vfork |
4927 |
{ echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5 |
4928 |
echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;} |
4929 |
fi |
4930 |
|
4931 |
if test "x$ac_cv_func_vfork_works" = xyes; then |
4932 |
|
4933 |
cat >>confdefs.h <<\_ACEOF |
4934 |
#define HAVE_WORKING_VFORK 1 |
4935 |
_ACEOF |
4936 |
|
4937 |
else |
4938 |
|
4939 |
cat >>confdefs.h <<\_ACEOF |
4940 |
#define vfork fork |
4941 |
_ACEOF |
4942 |
|
4943 |
fi |
4944 |
if test "x$ac_cv_func_fork_works" = xyes; then |
4945 |
|
4946 |
cat >>confdefs.h <<\_ACEOF |
4947 |
#define HAVE_WORKING_FORK 1 |
4948 |
_ACEOF |
4949 |
|
4950 |
fi |
4951 |
|
4952 |
|
4953 |
|
4954 |
|
4955 |
|
4956 |
|
4957 |
|
4958 |
for ac_func in gethostbyname gettimeofday memset select socket strerror |
4959 |
do |
4960 |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
4961 |
echo "$as_me:$LINENO: checking for $ac_func" >&5 |
4962 |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
4963 |
if eval "test \"\${$as_ac_var+set}\" = set"; then |
4964 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4965 |
else |
4966 |
cat >conftest.$ac_ext <<_ACEOF |
4967 |
#line $LINENO "configure" |
4968 |
/* confdefs.h. */ |
4969 |
_ACEOF |
4970 |
cat confdefs.h >>conftest.$ac_ext |
4971 |
cat >>conftest.$ac_ext <<_ACEOF |
4972 |
/* end confdefs.h. */ |
4973 |
/* System header to define __stub macros and hopefully few prototypes, |
4974 |
which can conflict with char $ac_func (); below. |
4975 |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
4976 |
<limits.h> exists even on freestanding compilers. */ |
4977 |
#ifdef __STDC__ |
4978 |
# include <limits.h> |
4979 |
#else |
4980 |
# include <assert.h> |
4981 |
#endif |
4982 |
/* Override any gcc2 internal prototype to avoid an error. */ |
4983 |
#ifdef __cplusplus |
4984 |
extern "C" |
4985 |
{ |
4986 |
#endif |
4987 |
/* We use char because int might match the return type of a gcc2 |
4988 |
builtin and then its argument prototype would still apply. */ |
4989 |
char $ac_func (); |
4990 |
/* The GNU C library defines this for functions which it implements |
4991 |
to always fail with ENOSYS. Some functions are actually named |
4992 |
something starting with __ and the normal name is an alias. */ |
4993 |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
4994 |
choke me |
4995 |
#else |
4996 |
char (*f) () = $ac_func; |
4997 |
#endif |
4998 |
#ifdef __cplusplus |
4999 |
} |
5000 |
#endif |
5001 |
|
5002 |
int |
5003 |
main () |
5004 |
{ |
5005 |
return f != $ac_func; |
5006 |
; |
5007 |
return 0; |
5008 |
} |
5009 |
_ACEOF |
5010 |
rm -f conftest.$ac_objext conftest$ac_exeext |
5011 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
5012 |
(eval $ac_link) 2>&5 |
5013 |
ac_status=$? |
5014 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5015 |
(exit $ac_status); } && |
5016 |
{ ac_try='test -s conftest$ac_exeext' |
5017 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5018 |
(eval $ac_try) 2>&5 |
5019 |
ac_status=$? |
5020 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5021 |
(exit $ac_status); }; }; then |
5022 |
eval "$as_ac_var=yes" |
5023 |
else |
5024 |
echo "$as_me: failed program was:" >&5 |
5025 |
sed 's/^/| /' conftest.$ac_ext >&5 |
5026 |
|
5027 |
eval "$as_ac_var=no" |
5028 |
fi |
5029 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
5030 |
fi |
5031 |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
5032 |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
5033 |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
5034 |
cat >>confdefs.h <<_ACEOF |
5035 |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
5036 |
_ACEOF |
5037 |
|
5038 |
fi |
5039 |
done |
5040 |
|
5041 |
|
5042 |
for ac_func in strerror_r |
5043 |
do |
5044 |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
5045 |
echo "$as_me:$LINENO: checking for $ac_func" >&5 |
5046 |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
5047 |
if eval "test \"\${$as_ac_var+set}\" = set"; then |
5048 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5049 |
else |
5050 |
cat >conftest.$ac_ext <<_ACEOF |
5051 |
#line $LINENO "configure" |
5052 |
/* confdefs.h. */ |
5053 |
_ACEOF |
5054 |
cat confdefs.h >>conftest.$ac_ext |
5055 |
cat >>conftest.$ac_ext <<_ACEOF |
5056 |
/* end confdefs.h. */ |
5057 |
/* System header to define __stub macros and hopefully few prototypes, |
5058 |
which can conflict with char $ac_func (); below. |
5059 |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
5060 |
<limits.h> exists even on freestanding compilers. */ |
5061 |
#ifdef __STDC__ |
5062 |
# include <limits.h> |
5063 |
#else |
5064 |
# include <assert.h> |
5065 |
#endif |
5066 |
/* Override any gcc2 internal prototype to avoid an error. */ |
5067 |
#ifdef __cplusplus |
5068 |
extern "C" |
5069 |
{ |
5070 |
#endif |
5071 |
/* We use char because int might match the return type of a gcc2 |
5072 |
builtin and then its argument prototype would still apply. */ |
5073 |
char $ac_func (); |
5074 |
/* The GNU C library defines this for functions which it implements |
5075 |
to always fail with ENOSYS. Some functions are actually named |
5076 |
something starting with __ and the normal name is an alias. */ |
5077 |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
5078 |
choke me |
5079 |
#else |
5080 |
char (*f) () = $ac_func; |
5081 |
#endif |
5082 |
#ifdef __cplusplus |
5083 |
} |
5084 |
#endif |
5085 |
|
5086 |
int |
5087 |
main () |
5088 |
{ |
5089 |
return f != $ac_func; |
5090 |
; |
5091 |
return 0; |
5092 |
} |
5093 |
_ACEOF |
5094 |
rm -f conftest.$ac_objext conftest$ac_exeext |
5095 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
5096 |
(eval $ac_link) 2>&5 |
5097 |
ac_status=$? |
5098 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5099 |
(exit $ac_status); } && |
5100 |
{ ac_try='test -s conftest$ac_exeext' |
5101 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5102 |
(eval $ac_try) 2>&5 |
5103 |
ac_status=$? |
5104 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5105 |
(exit $ac_status); }; }; then |
5106 |
eval "$as_ac_var=yes" |
5107 |
else |
5108 |
echo "$as_me: failed program was:" >&5 |
5109 |
sed 's/^/| /' conftest.$ac_ext >&5 |
5110 |
|
5111 |
eval "$as_ac_var=no" |
5112 |
fi |
5113 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
5114 |
fi |
5115 |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
5116 |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
5117 |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
5118 |
cat >>confdefs.h <<_ACEOF |
5119 |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
5120 |
_ACEOF |
5121 |
|
5122 |
fi |
5123 |
done |
5124 |
|
5125 |
|
5126 |
echo "$as_me:$LINENO: checking whether to enable debug mode" >&5 |
5127 |
echo $ECHO_N "checking whether to enable debug mode... $ECHO_C" >&6 |
5128 |
# Check whether --enable-debug or --disable-debug was given. |
5129 |
if test "${enable_debug+set}" = set; then |
5130 |
enableval="$enable_debug" |
5131 |
pxyservd_cv_enable_debug=$enable_debug |
5132 |
else |
5133 |
if test "${pxyservd_cv_enable_debug+set}" = set; then |
5134 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5135 |
else |
5136 |
pxyservd_cv_enable_debug=no |
5137 |
fi |
5138 |
|
5139 |
fi; |
5140 |
echo "$as_me:$LINENO: result: $pxyservd_cv_enable_debug" >&5 |
5141 |
echo "${ECHO_T}$pxyservd_cv_enable_debug" >&6 |
5142 |
if test x"$pxyservd_cv_enable_debug" = xyes; then |
5143 |
|
5144 |
cat >>confdefs.h <<\_ACEOF |
5145 |
#define DEBUG |
5146 |
_ACEOF |
5147 |
|
5148 |
fi |
5149 |
|
5150 |
pxyservd_maxnicklen=15 |
5151 |
echo "$as_me:$LINENO: checking maximum nick length" >&5 |
5152 |
echo $ECHO_N "checking maximum nick length... $ECHO_C" >&6 |
5153 |
|
5154 |
# Check whether --with-maxnicklen or --without-maxnicklen was given. |
5155 |
if test "${with_maxnicklen+set}" = set; then |
5156 |
withval="$with_maxnicklen" |
5157 |
pxyservd_cv_with_maxnicklen=$with_maxnicklen |
5158 |
else |
5159 |
if test "${pxyservd_cv_with_maxnicklen+set}" = set; then |
5160 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5161 |
else |
5162 |
pxyservd_cv_with_maxnicklen=$pxyservd_maxnicklen |
5163 |
fi |
5164 |
|
5165 |
fi; |
5166 |
if test x"$pxyservd_cv_with_maxnicklen" = xyes -o "$pxyservd_cv_with_maxnicklen" = xno; then |
5167 |
pxyservd_cv_with_maxnicklen=$pxyservd_maxnicklen |
5168 |
fi |
5169 |
echo "$as_me:$LINENO: result: $pxyservd_cv_with_maxnicklen" >&5 |
5170 |
echo "${ECHO_T}$pxyservd_cv_with_maxnicklen" >&6 |
5171 |
|
5172 |
cat >>confdefs.h <<_ACEOF |
5173 |
#define NICKLEN $pxyservd_cv_with_maxnicklen |
5174 |
_ACEOF |
5175 |
|
5176 |
|
5177 |
|
5178 |
ac_config_files="$ac_config_files Makefile src/Makefile" |
5179 |
|
5180 |
cat >confcache <<\_ACEOF |
5181 |
# This file is a shell script that caches the results of configure |
5182 |
# tests run on this system so they can be shared between configure |
5183 |
# scripts and configure runs, see configure's option --config-cache. |
5184 |
# It is not useful on other systems. If it contains results you don't |
5185 |
# want to keep, you may remove or edit it. |
5186 |
# |
5187 |
# config.status only pays attention to the cache file if you give it |
5188 |
# the --recheck option to rerun configure. |
5189 |
# |
5190 |
# `ac_cv_env_foo' variables (set or unset) will be overridden when |
5191 |
# loading this file, other *unset* `ac_cv_foo' will be assigned the |
5192 |
# following values. |
5193 |
|
5194 |
_ACEOF |
5195 |
|
5196 |
# The following way of writing the cache mishandles newlines in values, |
5197 |
# but we know of no workaround that is simple, portable, and efficient. |
5198 |
# So, don't put newlines in cache variables' values. |
5199 |
# Ultrix sh set writes to stderr and can't be redirected directly, |
5200 |
# and sets the high bit in the cache file unless we assign to the vars. |
5201 |
{ |
5202 |
(set) 2>&1 | |
5203 |
case `(ac_space=' '; set | grep ac_space) 2>&1` in |
5204 |
*ac_space=\ *) |
5205 |
# `set' does not quote correctly, so add quotes (double-quote |
5206 |
# substitution turns \\\\ into \\, and sed turns \\ into \). |
5207 |
sed -n \ |
5208 |
"s/'/'\\\\''/g; |
5209 |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
5210 |
;; |
5211 |
*) |
5212 |
# `set' quotes correctly as required by POSIX, so do not add quotes. |
5213 |
sed -n \ |
5214 |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
5215 |
;; |
5216 |
esac; |
5217 |
} | |
5218 |
sed ' |
5219 |
t clear |
5220 |
: clear |
5221 |
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ |
5222 |
t end |
5223 |
/^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
5224 |
: end' >>confcache |
5225 |
if diff $cache_file confcache >/dev/null 2>&1; then :; else |
5226 |
if test -w $cache_file; then |
5227 |
test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" |
5228 |
cat confcache >$cache_file |
5229 |
else |
5230 |
echo "not updating unwritable cache $cache_file" |
5231 |
fi |
5232 |
fi |
5233 |
rm -f confcache |
5234 |
|
5235 |
test "x$prefix" = xNONE && prefix=$ac_default_prefix |
5236 |
# Let make expand exec_prefix. |
5237 |
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
5238 |
|
5239 |
# VPATH may cause trouble with some makes, so we remove $(srcdir), |
5240 |
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and |
5241 |
# trailing colons and then remove the whole line if VPATH becomes empty |
5242 |
# (actually we leave an empty line to preserve line numbers). |
5243 |
if test "x$srcdir" = x.; then |
5244 |
ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
5245 |
s/:*\$(srcdir):*/:/; |
5246 |
s/:*\${srcdir}:*/:/; |
5247 |
s/:*@srcdir@:*/:/; |
5248 |
s/^\([^=]*=[ ]*\):*/\1/; |
5249 |
s/:*$//; |
5250 |
s/^[^=]*=[ ]*$//; |
5251 |
}' |
5252 |
fi |
5253 |
|
5254 |
DEFS=-DHAVE_CONFIG_H |
5255 |
|
5256 |
ac_libobjs= |
5257 |
ac_ltlibobjs= |
5258 |
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
5259 |
# 1. Remove the extension, and $U if already installed. |
5260 |
ac_i=`echo "$ac_i" | |
5261 |
sed 's/\$U\././;s/\.o$//;s/\.obj$//'` |
5262 |
# 2. Add them. |
5263 |
ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" |
5264 |
ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' |
5265 |
done |
5266 |
LIBOBJS=$ac_libobjs |
5267 |
|
5268 |
LTLIBOBJS=$ac_ltlibobjs |
5269 |
|
5270 |
|
5271 |
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then |
5272 |
{ { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined. |
5273 |
Usually this means the macro was only invoked conditionally." >&5 |
5274 |
echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined. |
5275 |
Usually this means the macro was only invoked conditionally." >&2;} |
5276 |
{ (exit 1); exit 1; }; } |
5277 |
fi |
5278 |
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then |
5279 |
{ { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. |
5280 |
Usually this means the macro was only invoked conditionally." >&5 |
5281 |
echo "$as_me: error: conditional \"AMDEP\" was never defined. |
5282 |
Usually this means the macro was only invoked conditionally." >&2;} |
5283 |
{ (exit 1); exit 1; }; } |
5284 |
fi |
5285 |
|
5286 |
: ${CONFIG_STATUS=./config.status} |
5287 |
ac_clean_files_save=$ac_clean_files |
5288 |
ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
5289 |
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 |
5290 |
echo "$as_me: creating $CONFIG_STATUS" >&6;} |
5291 |
cat >$CONFIG_STATUS <<_ACEOF |
5292 |
#! $SHELL |
5293 |
# Generated by $as_me. |
5294 |
# Run this file to recreate the current configuration. |
5295 |
# Compiler output produced by configure, useful for debugging |
5296 |
# configure, is in config.log if it exists. |
5297 |
|
5298 |
debug=false |
5299 |
ac_cs_recheck=false |
5300 |
ac_cs_silent=false |
5301 |
SHELL=\${CONFIG_SHELL-$SHELL} |
5302 |
_ACEOF |
5303 |
|
5304 |
cat >>$CONFIG_STATUS <<\_ACEOF |
5305 |
## --------------------- ## |
5306 |
## M4sh Initialization. ## |
5307 |
## --------------------- ## |
5308 |
|
5309 |
# Be Bourne compatible |
5310 |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
5311 |
emulate sh |
5312 |
NULLCMD=: |
5313 |
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
5314 |
# is contrary to our usage. Disable this feature. |
5315 |
alias -g '${1+"$@"}'='"$@"' |
5316 |
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
5317 |
set -o posix |
5318 |
fi |
5319 |
|
5320 |
# Support unset when possible. |
5321 |
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then |
5322 |
as_unset=unset |
5323 |
else |
5324 |
as_unset=false |
5325 |
fi |
5326 |
|
5327 |
|
5328 |
# Work around bugs in pre-3.0 UWIN ksh. |
5329 |
$as_unset ENV MAIL MAILPATH |
5330 |
PS1='$ ' |
5331 |
PS2='> ' |
5332 |
PS4='+ ' |
5333 |
|
5334 |
# NLS nuisances. |
5335 |
for as_var in \ |
5336 |
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ |
5337 |
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
5338 |
LC_TELEPHONE LC_TIME |
5339 |
do |
5340 |
if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then |
5341 |
eval $as_var=C; export $as_var |
5342 |
else |
5343 |
$as_unset $as_var |
5344 |
fi |
5345 |
done |
5346 |
|
5347 |
# Required to use basename. |
5348 |
if expr a : '\(a\)' >/dev/null 2>&1; then |
5349 |
as_expr=expr |
5350 |
else |
5351 |
as_expr=false |
5352 |
fi |
5353 |
|
5354 |
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then |
5355 |
as_basename=basename |
5356 |
else |
5357 |
as_basename=false |
5358 |
fi |
5359 |
|
5360 |
|
5361 |
# Name of the executable. |
5362 |
as_me=`$as_basename "$0" || |
5363 |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
5364 |
X"$0" : 'X\(//\)$' \| \ |
5365 |
X"$0" : 'X\(/\)$' \| \ |
5366 |
. : '\(.\)' 2>/dev/null || |
5367 |
echo X/"$0" | |
5368 |
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } |
5369 |
/^X\/\(\/\/\)$/{ s//\1/; q; } |
5370 |
/^X\/\(\/\).*/{ s//\1/; q; } |
5371 |
s/.*/./; q'` |
5372 |
|
5373 |
|
5374 |
# PATH needs CR, and LINENO needs CR and PATH. |
5375 |
# Avoid depending upon Character Ranges. |
5376 |
as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
5377 |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
5378 |
as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
5379 |
as_cr_digits='0123456789' |
5380 |
as_cr_alnum=$as_cr_Letters$as_cr_digits |
5381 |
|
5382 |
# The user is always right. |
5383 |
if test "${PATH_SEPARATOR+set}" != set; then |
5384 |
echo "#! /bin/sh" >conf$$.sh |
5385 |
echo "exit 0" >>conf$$.sh |
5386 |
chmod +x conf$$.sh |
5387 |
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
5388 |
PATH_SEPARATOR=';' |
5389 |
else |
5390 |
PATH_SEPARATOR=: |
5391 |
fi |
5392 |
rm -f conf$$.sh |
5393 |
fi |
5394 |
|
5395 |
|
5396 |
as_lineno_1=$LINENO |
5397 |
as_lineno_2=$LINENO |
5398 |
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
5399 |
test "x$as_lineno_1" != "x$as_lineno_2" && |
5400 |
test "x$as_lineno_3" = "x$as_lineno_2" || { |
5401 |
# Find who we are. Look in the path if we contain no path at all |
5402 |
# relative or not. |
5403 |
case $0 in |
5404 |
*[\\/]* ) as_myself=$0 ;; |
5405 |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
5406 |
for as_dir in $PATH |
5407 |
do |
5408 |
IFS=$as_save_IFS |
5409 |
test -z "$as_dir" && as_dir=. |
5410 |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
5411 |
done |
5412 |
|
5413 |
;; |
5414 |
esac |
5415 |
# We did not find ourselves, most probably we were run as `sh COMMAND' |
5416 |
# in which case we are not to be found in the path. |
5417 |
if test "x$as_myself" = x; then |
5418 |
as_myself=$0 |
5419 |
fi |
5420 |
if test ! -f "$as_myself"; then |
5421 |
{ { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 |
5422 |
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} |
5423 |
{ (exit 1); exit 1; }; } |
5424 |
fi |
5425 |
case $CONFIG_SHELL in |
5426 |
'') |
5427 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
5428 |
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
5429 |
do |
5430 |
IFS=$as_save_IFS |
5431 |
test -z "$as_dir" && as_dir=. |
5432 |
for as_base in sh bash ksh sh5; do |
5433 |
case $as_dir in |
5434 |
/*) |
5435 |
if ("$as_dir/$as_base" -c ' |
5436 |
as_lineno_1=$LINENO |
5437 |
as_lineno_2=$LINENO |
5438 |
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
5439 |
test "x$as_lineno_1" != "x$as_lineno_2" && |
5440 |
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then |
5441 |
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } |
5442 |
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } |
5443 |
CONFIG_SHELL=$as_dir/$as_base |
5444 |
export CONFIG_SHELL |
5445 |
exec "$CONFIG_SHELL" "$0" ${1+"$@"} |
5446 |
fi;; |
5447 |
esac |
5448 |
done |
5449 |
done |
5450 |
;; |
5451 |
esac |
5452 |
|
5453 |
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
5454 |
# uniformly replaced by the line number. The first 'sed' inserts a |
5455 |
# line-number line before each line; the second 'sed' does the real |
5456 |
# work. The second script uses 'N' to pair each line-number line |
5457 |
# with the numbered line, and appends trailing '-' during |
5458 |
# substitution so that $LINENO is not a special case at line end. |
5459 |
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
5460 |
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) |
5461 |
sed '=' <$as_myself | |
5462 |
sed ' |
5463 |
N |
5464 |
s,$,-, |
5465 |
: loop |
5466 |
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, |
5467 |
t loop |
5468 |
s,-$,, |
5469 |
s,^['$as_cr_digits']*\n,, |
5470 |
' >$as_me.lineno && |
5471 |
chmod +x $as_me.lineno || |
5472 |
{ { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 |
5473 |
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} |
5474 |
{ (exit 1); exit 1; }; } |
5475 |
|
5476 |
# Don't try to exec as it changes $[0], causing all sort of problems |
5477 |
# (the dirname of $[0] is not the place where we might find the |
5478 |
# original and so on. Autoconf is especially sensible to this). |
5479 |
. ./$as_me.lineno |
5480 |
# Exit status is that of the last command. |
5481 |
exit |
5482 |
} |
5483 |
|
5484 |
|
5485 |
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in |
5486 |
*c*,-n*) ECHO_N= ECHO_C=' |
5487 |
' ECHO_T=' ' ;; |
5488 |
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; |
5489 |
*) ECHO_N= ECHO_C='\c' ECHO_T= ;; |
5490 |
esac |
5491 |
|
5492 |
if expr a : '\(a\)' >/dev/null 2>&1; then |
5493 |
as_expr=expr |
5494 |
else |
5495 |
as_expr=false |
5496 |
fi |
5497 |
|
5498 |
rm -f conf$$ conf$$.exe conf$$.file |
5499 |
echo >conf$$.file |
5500 |
if ln -s conf$$.file conf$$ 2>/dev/null; then |
5501 |
# We could just check for DJGPP; but this test a) works b) is more generic |
5502 |
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). |
5503 |
if test -f conf$$.exe; then |
5504 |
# Don't use ln at all; we don't have any links |
5505 |
as_ln_s='cp -p' |
5506 |
else |
5507 |
as_ln_s='ln -s' |
5508 |
fi |
5509 |
elif ln conf$$.file conf$$ 2>/dev/null; then |
5510 |
as_ln_s=ln |
5511 |
else |
5512 |
as_ln_s='cp -p' |
5513 |
fi |
5514 |
rm -f conf$$ conf$$.exe conf$$.file |
5515 |
|
5516 |
if mkdir -p . 2>/dev/null; then |
5517 |
as_mkdir_p=: |
5518 |
else |
5519 |
as_mkdir_p=false |
5520 |
fi |
5521 |
|
5522 |
as_executable_p="test -f" |
5523 |
|
5524 |
# Sed expression to map a string onto a valid CPP name. |
5525 |
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" |
5526 |
|
5527 |
# Sed expression to map a string onto a valid variable name. |
5528 |
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" |
5529 |
|
5530 |
|
5531 |
# IFS |
5532 |
# We need space, tab and new line, in precisely that order. |
5533 |
as_nl=' |
5534 |
' |
5535 |
IFS=" $as_nl" |
5536 |
|
5537 |
# CDPATH. |
5538 |
$as_unset CDPATH |
5539 |
|
5540 |
exec 6>&1 |
5541 |
|
5542 |
# Open the log real soon, to keep \$[0] and so on meaningful, and to |
5543 |
# report actual input values of CONFIG_FILES etc. instead of their |
5544 |
# values after options handling. Logging --version etc. is OK. |
5545 |
exec 5>>config.log |
5546 |
{ |
5547 |
echo |
5548 |
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX |
5549 |
## Running $as_me. ## |
5550 |
_ASBOX |
5551 |
} >&5 |
5552 |
cat >&5 <<_CSEOF |
5553 |
|
5554 |
This file was extended by Undernet IRCD proxy scanner $as_me 2.0, which was |
5555 |
generated by GNU Autoconf 2.57. Invocation command line was |
5556 |
|
5557 |
CONFIG_FILES = $CONFIG_FILES |
5558 |
CONFIG_HEADERS = $CONFIG_HEADERS |
5559 |
CONFIG_LINKS = $CONFIG_LINKS |
5560 |
CONFIG_COMMANDS = $CONFIG_COMMANDS |
5561 |
$ $0 $@ |
5562 |
|
5563 |
_CSEOF |
5564 |
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 |
5565 |
echo >&5 |
5566 |
_ACEOF |
5567 |
|
5568 |
# Files that config.status was made for. |
5569 |
if test -n "$ac_config_files"; then |
5570 |
echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS |
5571 |
fi |
5572 |
|
5573 |
if test -n "$ac_config_headers"; then |
5574 |
echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS |
5575 |
fi |
5576 |
|
5577 |
if test -n "$ac_config_links"; then |
5578 |
echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS |
5579 |
fi |
5580 |
|
5581 |
if test -n "$ac_config_commands"; then |
5582 |
echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS |
5583 |
fi |
5584 |
|
5585 |
cat >>$CONFIG_STATUS <<\_ACEOF |
5586 |
|
5587 |
ac_cs_usage="\ |
5588 |
\`$as_me' instantiates files from templates according to the |
5589 |
current configuration. |
5590 |
|
5591 |
Usage: $0 [OPTIONS] [FILE]... |
5592 |
|
5593 |
-h, --help print this help, then exit |
5594 |
-V, --version print version number, then exit |
5595 |
-q, --quiet do not print progress messages |
5596 |
-d, --debug don't remove temporary files |
5597 |
--recheck update $as_me by reconfiguring in the same conditions |
5598 |
--file=FILE[:TEMPLATE] |
5599 |
instantiate the configuration file FILE |
5600 |
--header=FILE[:TEMPLATE] |
5601 |
instantiate the configuration header FILE |
5602 |
|
5603 |
Configuration files: |
5604 |
$config_files |
5605 |
|
5606 |
Configuration headers: |
5607 |
$config_headers |
5608 |
|
5609 |
Configuration commands: |
5610 |
$config_commands |
5611 |
|
5612 |
Report bugs to <bug-autoconf@gnu.org>." |
5613 |
_ACEOF |
5614 |
|
5615 |
cat >>$CONFIG_STATUS <<_ACEOF |
5616 |
ac_cs_version="\\ |
5617 |
Undernet IRCD proxy scanner config.status 2.0 |
5618 |
configured by $0, generated by GNU Autoconf 2.57, |
5619 |
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" |
5620 |
|
5621 |
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 |
5622 |
Free Software Foundation, Inc. |
5623 |
This config.status script is free software; the Free Software Foundation |
5624 |
gives unlimited permission to copy, distribute and modify it." |
5625 |
srcdir=$srcdir |
5626 |
INSTALL="$INSTALL" |
5627 |
_ACEOF |
5628 |
|
5629 |
cat >>$CONFIG_STATUS <<\_ACEOF |
5630 |
# If no file are specified by the user, then we need to provide default |
5631 |
# value. By we need to know if files were specified by the user. |
5632 |
ac_need_defaults=: |
5633 |
while test $# != 0 |
5634 |
do |
5635 |
case $1 in |
5636 |
--*=*) |
5637 |
ac_option=`expr "x$1" : 'x\([^=]*\)='` |
5638 |
ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` |
5639 |
ac_shift=: |
5640 |
;; |
5641 |
-*) |
5642 |
ac_option=$1 |
5643 |
ac_optarg=$2 |
5644 |
ac_shift=shift |
5645 |
;; |
5646 |
*) # This is not an option, so the user has probably given explicit |
5647 |
# arguments. |
5648 |
ac_option=$1 |
5649 |
ac_need_defaults=false;; |
5650 |
esac |
5651 |
|
5652 |
case $ac_option in |
5653 |
# Handling of the options. |
5654 |
_ACEOF |
5655 |
cat >>$CONFIG_STATUS <<\_ACEOF |
5656 |
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
5657 |
ac_cs_recheck=: ;; |
5658 |
--version | --vers* | -V ) |
5659 |
echo "$ac_cs_version"; exit 0 ;; |
5660 |
--he | --h) |
5661 |
# Conflict between --help and --header |
5662 |
{ { echo "$as_me:$LINENO: error: ambiguous option: $1 |
5663 |
Try \`$0 --help' for more information." >&5 |
5664 |
echo "$as_me: error: ambiguous option: $1 |
5665 |
Try \`$0 --help' for more information." >&2;} |
5666 |
{ (exit 1); exit 1; }; };; |
5667 |
--help | --hel | -h ) |
5668 |
echo "$ac_cs_usage"; exit 0 ;; |
5669 |
--debug | --d* | -d ) |
5670 |
debug=: ;; |
5671 |
--file | --fil | --fi | --f ) |
5672 |
$ac_shift |
5673 |
CONFIG_FILES="$CONFIG_FILES $ac_optarg" |
5674 |
ac_need_defaults=false;; |
5675 |
--header | --heade | --head | --hea ) |
5676 |
$ac_shift |
5677 |
CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" |
5678 |
ac_need_defaults=false;; |
5679 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
5680 |
| -silent | --silent | --silen | --sile | --sil | --si | --s) |
5681 |
ac_cs_silent=: ;; |
5682 |
|
5683 |
# This is an error. |
5684 |
-*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 |
5685 |
Try \`$0 --help' for more information." >&5 |
5686 |
echo "$as_me: error: unrecognized option: $1 |
5687 |
Try \`$0 --help' for more information." >&2;} |
5688 |
{ (exit 1); exit 1; }; } ;; |
5689 |
|
5690 |
*) ac_config_targets="$ac_config_targets $1" ;; |
5691 |
|
5692 |
esac |
5693 |
shift |
5694 |
done |
5695 |
|
5696 |
ac_configure_extra_args= |
5697 |
|
5698 |
if $ac_cs_silent; then |
5699 |
exec 6>/dev/null |
5700 |
ac_configure_extra_args="$ac_configure_extra_args --silent" |
5701 |
fi |
5702 |
|
5703 |
_ACEOF |
5704 |
cat >>$CONFIG_STATUS <<_ACEOF |
5705 |
if \$ac_cs_recheck; then |
5706 |
echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 |
5707 |
exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
5708 |
fi |
5709 |
|
5710 |
_ACEOF |
5711 |
|
5712 |
cat >>$CONFIG_STATUS <<_ACEOF |
5713 |
# |
5714 |
# INIT-COMMANDS section. |
5715 |
# |
5716 |
|
5717 |
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" |
5718 |
|
5719 |
_ACEOF |
5720 |
|
5721 |
|
5722 |
|
5723 |
cat >>$CONFIG_STATUS <<\_ACEOF |
5724 |
for ac_config_target in $ac_config_targets |
5725 |
do |
5726 |
case "$ac_config_target" in |
5727 |
# Handling of arguments. |
5728 |
"Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
5729 |
"src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
5730 |
"depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; |
5731 |
"config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; |
5732 |
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
5733 |
echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
5734 |
{ (exit 1); exit 1; }; };; |
5735 |
esac |
5736 |
done |
5737 |
|
5738 |
# If the user did not use the arguments to specify the items to instantiate, |
5739 |
# then the envvar interface is used. Set only those that are not. |
5740 |
# We use the long form for the default assignment because of an extremely |
5741 |
# bizarre bug on SunOS 4.1.3. |
5742 |
if $ac_need_defaults; then |
5743 |
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files |
5744 |
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers |
5745 |
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands |
5746 |
fi |
5747 |
|
5748 |
# Have a temporary directory for convenience. Make it in the build tree |
5749 |
# simply because there is no reason to put it here, and in addition, |
5750 |
# creating and moving files from /tmp can sometimes cause problems. |
5751 |
# Create a temporary directory, and hook for its removal unless debugging. |
5752 |
$debug || |
5753 |
{ |
5754 |
trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 |
5755 |
trap '{ (exit 1); exit 1; }' 1 2 13 15 |
5756 |
} |
5757 |
|
5758 |
# Create a (secure) tmp directory for tmp files. |
5759 |
|
5760 |
{ |
5761 |
tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && |
5762 |
test -n "$tmp" && test -d "$tmp" |
5763 |
} || |
5764 |
{ |
5765 |
tmp=./confstat$$-$RANDOM |
5766 |
(umask 077 && mkdir $tmp) |
5767 |
} || |
5768 |
{ |
5769 |
echo "$me: cannot create a temporary directory in ." >&2 |
5770 |
{ (exit 1); exit 1; } |
5771 |
} |
5772 |
|
5773 |
_ACEOF |
5774 |
|
5775 |
cat >>$CONFIG_STATUS <<_ACEOF |
5776 |
|
5777 |
# |
5778 |
# CONFIG_FILES section. |
5779 |
# |
5780 |
|
5781 |
# No need to generate the scripts if there are no CONFIG_FILES. |
5782 |
# This happens for instance when ./config.status config.h |
5783 |
if test -n "\$CONFIG_FILES"; then |
5784 |
# Protect against being on the right side of a sed subst in config.status. |
5785 |
sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; |
5786 |
s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF |
5787 |
s,@SHELL@,$SHELL,;t t |
5788 |
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t |
5789 |
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t |
5790 |
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t |
5791 |
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t |
5792 |
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t |
5793 |
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t |
5794 |
s,@exec_prefix@,$exec_prefix,;t t |
5795 |
s,@prefix@,$prefix,;t t |
5796 |
s,@program_transform_name@,$program_transform_name,;t t |
5797 |
s,@bindir@,$bindir,;t t |
5798 |
s,@sbindir@,$sbindir,;t t |
5799 |
s,@libexecdir@,$libexecdir,;t t |
5800 |
s,@datadir@,$datadir,;t t |
5801 |
s,@sysconfdir@,$sysconfdir,;t t |
5802 |
s,@sharedstatedir@,$sharedstatedir,;t t |
5803 |
s,@localstatedir@,$localstatedir,;t t |
5804 |
s,@libdir@,$libdir,;t t |
5805 |
s,@includedir@,$includedir,;t t |
5806 |
s,@oldincludedir@,$oldincludedir,;t t |
5807 |
s,@infodir@,$infodir,;t t |
5808 |
s,@mandir@,$mandir,;t t |
5809 |
s,@build_alias@,$build_alias,;t t |
5810 |
s,@host_alias@,$host_alias,;t t |
5811 |
s,@target_alias@,$target_alias,;t t |
5812 |
s,@DEFS@,$DEFS,;t t |
5813 |
s,@ECHO_C@,$ECHO_C,;t t |
5814 |
s,@ECHO_N@,$ECHO_N,;t t |
5815 |
s,@ECHO_T@,$ECHO_T,;t t |
5816 |
s,@LIBS@,$LIBS,;t t |
5817 |
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t |
5818 |
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t |
5819 |
s,@INSTALL_DATA@,$INSTALL_DATA,;t t |
5820 |
s,@PACKAGE@,$PACKAGE,;t t |
5821 |
s,@VERSION@,$VERSION,;t t |
5822 |
s,@ACLOCAL@,$ACLOCAL,;t t |
5823 |
s,@AUTOCONF@,$AUTOCONF,;t t |
5824 |
s,@AUTOMAKE@,$AUTOMAKE,;t t |
5825 |
s,@AUTOHEADER@,$AUTOHEADER,;t t |
5826 |
s,@MAKEINFO@,$MAKEINFO,;t t |
5827 |
s,@AMTAR@,$AMTAR,;t t |
5828 |
s,@install_sh@,$install_sh,;t t |
5829 |
s,@STRIP@,$STRIP,;t t |
5830 |
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t |
5831 |
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t |
5832 |
s,@AWK@,$AWK,;t t |
5833 |
s,@SET_MAKE@,$SET_MAKE,;t t |
5834 |
s,@subdirs@,$subdirs,;t t |
5835 |
s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t |
5836 |
s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t |
5837 |
s,@MAINT@,$MAINT,;t t |
5838 |
s,@CC@,$CC,;t t |
5839 |
s,@CFLAGS@,$CFLAGS,;t t |
5840 |
s,@LDFLAGS@,$LDFLAGS,;t t |
5841 |
s,@CPPFLAGS@,$CPPFLAGS,;t t |
5842 |
s,@ac_ct_CC@,$ac_ct_CC,;t t |
5843 |
s,@EXEEXT@,$EXEEXT,;t t |
5844 |
s,@OBJEXT@,$OBJEXT,;t t |
5845 |
s,@DEPDIR@,$DEPDIR,;t t |
5846 |
s,@am__include@,$am__include,;t t |
5847 |
s,@am__quote@,$am__quote,;t t |
5848 |
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t |
5849 |
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t |
5850 |
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t |
5851 |
s,@CCDEPMODE@,$CCDEPMODE,;t t |
5852 |
s,@DBPRIM_CONFIG@,$DBPRIM_CONFIG,;t t |
5853 |
s,@FGREP@,$FGREP,;t t |
5854 |
s,@dbprim_ldadd@,$dbprim_ldadd,;t t |
5855 |
s,@DBPRIM_CFLAGS@,$DBPRIM_CFLAGS,;t t |
5856 |
s,@DBPRIM_LIBS@,$DBPRIM_LIBS,;t t |
5857 |
s,@PEAK_CONFIG@,$PEAK_CONFIG,;t t |
5858 |
s,@PEAK_CFLAGS@,$PEAK_CFLAGS,;t t |
5859 |
s,@PEAK_LIBS@,$PEAK_LIBS,;t t |
5860 |
s,@XML2_CONFIG@,$XML2_CONFIG,;t t |
5861 |
s,@XML2_CFLAGS@,$XML2_CFLAGS,;t t |
5862 |
s,@XML2_LIBS@,$XML2_LIBS,;t t |
5863 |
s,@CPP@,$CPP,;t t |
5864 |
s,@EGREP@,$EGREP,;t t |
5865 |
s,@ALLOCA@,$ALLOCA,;t t |
5866 |
s,@LIBOBJS@,$LIBOBJS,;t t |
5867 |
s,@LTLIBOBJS@,$LTLIBOBJS,;t t |
5868 |
CEOF |
5869 |
|
5870 |
_ACEOF |
5871 |
|
5872 |
cat >>$CONFIG_STATUS <<\_ACEOF |
5873 |
# Split the substitutions into bite-sized pieces for seds with |
5874 |
# small command number limits, like on Digital OSF/1 and HP-UX. |
5875 |
ac_max_sed_lines=48 |
5876 |
ac_sed_frag=1 # Number of current file. |
5877 |
ac_beg=1 # First line for current file. |
5878 |
ac_end=$ac_max_sed_lines # Line after last line for current file. |
5879 |
ac_more_lines=: |
5880 |
ac_sed_cmds= |
5881 |
while $ac_more_lines; do |
5882 |
if test $ac_beg -gt 1; then |
5883 |
sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag |
5884 |
else |
5885 |
sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag |
5886 |
fi |
5887 |
if test ! -s $tmp/subs.frag; then |
5888 |
ac_more_lines=false |
5889 |
else |
5890 |
# The purpose of the label and of the branching condition is to |
5891 |
# speed up the sed processing (if there are no `@' at all, there |
5892 |
# is no need to browse any of the substitutions). |
5893 |
# These are the two extra sed commands mentioned above. |
5894 |
(echo ':t |
5895 |
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed |
5896 |
if test -z "$ac_sed_cmds"; then |
5897 |
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" |
5898 |
else |
5899 |
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" |
5900 |
fi |
5901 |
ac_sed_frag=`expr $ac_sed_frag + 1` |
5902 |
ac_beg=$ac_end |
5903 |
ac_end=`expr $ac_end + $ac_max_sed_lines` |
5904 |
fi |
5905 |
done |
5906 |
if test -z "$ac_sed_cmds"; then |
5907 |
ac_sed_cmds=cat |
5908 |
fi |
5909 |
fi # test -n "$CONFIG_FILES" |
5910 |
|
5911 |
_ACEOF |
5912 |
cat >>$CONFIG_STATUS <<\_ACEOF |
5913 |
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue |
5914 |
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
5915 |
case $ac_file in |
5916 |
- | *:- | *:-:* ) # input from stdin |
5917 |
cat >$tmp/stdin |
5918 |
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
5919 |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
5920 |
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
5921 |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
5922 |
* ) ac_file_in=$ac_file.in ;; |
5923 |
esac |
5924 |
|
5925 |
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. |
5926 |
ac_dir=`(dirname "$ac_file") 2>/dev/null || |
5927 |
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
5928 |
X"$ac_file" : 'X\(//\)[^/]' \| \ |
5929 |
X"$ac_file" : 'X\(//\)$' \| \ |
5930 |
X"$ac_file" : 'X\(/\)' \| \ |
5931 |
. : '\(.\)' 2>/dev/null || |
5932 |
echo X"$ac_file" | |
5933 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
5934 |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
5935 |
/^X\(\/\/\)$/{ s//\1/; q; } |
5936 |
/^X\(\/\).*/{ s//\1/; q; } |
5937 |
s/.*/./; q'` |
5938 |
{ if $as_mkdir_p; then |
5939 |
mkdir -p "$ac_dir" |
5940 |
else |
5941 |
as_dir="$ac_dir" |
5942 |
as_dirs= |
5943 |
while test ! -d "$as_dir"; do |
5944 |
as_dirs="$as_dir $as_dirs" |
5945 |
as_dir=`(dirname "$as_dir") 2>/dev/null || |
5946 |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
5947 |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
5948 |
X"$as_dir" : 'X\(//\)$' \| \ |
5949 |
X"$as_dir" : 'X\(/\)' \| \ |
5950 |
. : '\(.\)' 2>/dev/null || |
5951 |
echo X"$as_dir" | |
5952 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
5953 |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
5954 |
/^X\(\/\/\)$/{ s//\1/; q; } |
5955 |
/^X\(\/\).*/{ s//\1/; q; } |
5956 |
s/.*/./; q'` |
5957 |
done |
5958 |
test ! -n "$as_dirs" || mkdir $as_dirs |
5959 |
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 |
5960 |
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} |
5961 |
{ (exit 1); exit 1; }; }; } |
5962 |
|
5963 |
ac_builddir=. |
5964 |
|
5965 |
if test "$ac_dir" != .; then |
5966 |
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
5967 |
# A "../" for each directory in $ac_dir_suffix. |
5968 |
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` |
5969 |
else |
5970 |
ac_dir_suffix= ac_top_builddir= |
5971 |
fi |
5972 |
|
5973 |
case $srcdir in |
5974 |
.) # No --srcdir option. We are building in place. |
5975 |
ac_srcdir=. |
5976 |
if test -z "$ac_top_builddir"; then |
5977 |
ac_top_srcdir=. |
5978 |
else |
5979 |
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` |
5980 |
fi ;; |
5981 |
[\\/]* | ?:[\\/]* ) # Absolute path. |
5982 |
ac_srcdir=$srcdir$ac_dir_suffix; |
5983 |
ac_top_srcdir=$srcdir ;; |
5984 |
*) # Relative path. |
5985 |
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
5986 |
ac_top_srcdir=$ac_top_builddir$srcdir ;; |
5987 |
esac |
5988 |
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be |
5989 |
# absolute. |
5990 |
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` |
5991 |
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` |
5992 |
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` |
5993 |
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` |
5994 |
|
5995 |
|
5996 |
case $INSTALL in |
5997 |
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
5998 |
*) ac_INSTALL=$ac_top_builddir$INSTALL ;; |
5999 |
esac |
6000 |
|
6001 |
if test x"$ac_file" != x-; then |
6002 |
{ echo "$as_me:$LINENO: creating $ac_file" >&5 |
6003 |
echo "$as_me: creating $ac_file" >&6;} |
6004 |
rm -f "$ac_file" |
6005 |
fi |
6006 |
# Let's still pretend it is `configure' which instantiates (i.e., don't |
6007 |
# use $as_me), people would be surprised to read: |
6008 |
# /* config.h. Generated by config.status. */ |
6009 |
if test x"$ac_file" = x-; then |
6010 |
configure_input= |
6011 |
else |
6012 |
configure_input="$ac_file. " |
6013 |
fi |
6014 |
configure_input=$configure_input"Generated from `echo $ac_file_in | |
6015 |
sed 's,.*/,,'` by configure." |
6016 |
|
6017 |
# First look for the input files in the build tree, otherwise in the |
6018 |
# src tree. |
6019 |
ac_file_inputs=`IFS=: |
6020 |
for f in $ac_file_in; do |
6021 |
case $f in |
6022 |
-) echo $tmp/stdin ;; |
6023 |
[\\/$]*) |
6024 |
# Absolute (can't be DOS-style, as IFS=:) |
6025 |
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
6026 |
echo "$as_me: error: cannot find input file: $f" >&2;} |
6027 |
{ (exit 1); exit 1; }; } |
6028 |
echo $f;; |
6029 |
*) # Relative |
6030 |
if test -f "$f"; then |
6031 |
# Build tree |
6032 |
echo $f |
6033 |
elif test -f "$srcdir/$f"; then |
6034 |
# Source tree |
6035 |
echo $srcdir/$f |
6036 |
else |
6037 |
# /dev/null tree |
6038 |
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
6039 |
echo "$as_me: error: cannot find input file: $f" >&2;} |
6040 |
{ (exit 1); exit 1; }; } |
6041 |
fi;; |
6042 |
esac |
6043 |
done` || { (exit 1); exit 1; } |
6044 |
_ACEOF |
6045 |
cat >>$CONFIG_STATUS <<_ACEOF |
6046 |
sed "$ac_vpsub |
6047 |
$extrasub |
6048 |
_ACEOF |
6049 |
cat >>$CONFIG_STATUS <<\_ACEOF |
6050 |
:t |
6051 |
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
6052 |
s,@configure_input@,$configure_input,;t t |
6053 |
s,@srcdir@,$ac_srcdir,;t t |
6054 |
s,@abs_srcdir@,$ac_abs_srcdir,;t t |
6055 |
s,@top_srcdir@,$ac_top_srcdir,;t t |
6056 |
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t |
6057 |
s,@builddir@,$ac_builddir,;t t |
6058 |
s,@abs_builddir@,$ac_abs_builddir,;t t |
6059 |
s,@top_builddir@,$ac_top_builddir,;t t |
6060 |
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t |
6061 |
s,@INSTALL@,$ac_INSTALL,;t t |
6062 |
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out |
6063 |
rm -f $tmp/stdin |
6064 |
if test x"$ac_file" != x-; then |
6065 |
mv $tmp/out $ac_file |
6066 |
else |
6067 |
cat $tmp/out |
6068 |
rm -f $tmp/out |
6069 |
fi |
6070 |
|
6071 |
done |
6072 |
_ACEOF |
6073 |
cat >>$CONFIG_STATUS <<\_ACEOF |
6074 |
|
6075 |
# |
6076 |
# CONFIG_HEADER section. |
6077 |
# |
6078 |
|
6079 |
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where |
6080 |
# NAME is the cpp macro being defined and VALUE is the value it is being given. |
6081 |
# |
6082 |
# ac_d sets the value in "#define NAME VALUE" lines. |
6083 |
ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' |
6084 |
ac_dB='[ ].*$,\1#\2' |
6085 |
ac_dC=' ' |
6086 |
ac_dD=',;t' |
6087 |
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". |
6088 |
ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' |
6089 |
ac_uB='$,\1#\2define\3' |
6090 |
ac_uC=' ' |
6091 |
ac_uD=',;t' |
6092 |
|
6093 |
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue |
6094 |
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
6095 |
case $ac_file in |
6096 |
- | *:- | *:-:* ) # input from stdin |
6097 |
cat >$tmp/stdin |
6098 |
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
6099 |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
6100 |
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
6101 |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
6102 |
* ) ac_file_in=$ac_file.in ;; |
6103 |
esac |
6104 |
|
6105 |
test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 |
6106 |
echo "$as_me: creating $ac_file" >&6;} |
6107 |
|
6108 |
# First look for the input files in the build tree, otherwise in the |
6109 |
# src tree. |
6110 |
ac_file_inputs=`IFS=: |
6111 |
for f in $ac_file_in; do |
6112 |
case $f in |
6113 |
-) echo $tmp/stdin ;; |
6114 |
[\\/$]*) |
6115 |
# Absolute (can't be DOS-style, as IFS=:) |
6116 |
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
6117 |
echo "$as_me: error: cannot find input file: $f" >&2;} |
6118 |
{ (exit 1); exit 1; }; } |
6119 |
echo $f;; |
6120 |
*) # Relative |
6121 |
if test -f "$f"; then |
6122 |
# Build tree |
6123 |
echo $f |
6124 |
elif test -f "$srcdir/$f"; then |
6125 |
# Source tree |
6126 |
echo $srcdir/$f |
6127 |
else |
6128 |
# /dev/null tree |
6129 |
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
6130 |
echo "$as_me: error: cannot find input file: $f" >&2;} |
6131 |
{ (exit 1); exit 1; }; } |
6132 |
fi;; |
6133 |
esac |
6134 |
done` || { (exit 1); exit 1; } |
6135 |
# Remove the trailing spaces. |
6136 |
sed 's/[ ]*$//' $ac_file_inputs >$tmp/in |
6137 |
|
6138 |
_ACEOF |
6139 |
|
6140 |
# Transform confdefs.h into two sed scripts, `conftest.defines' and |
6141 |
# `conftest.undefs', that substitutes the proper values into |
6142 |
# config.h.in to produce config.h. The first handles `#define' |
6143 |
# templates, and the second `#undef' templates. |
6144 |
# And first: Protect against being on the right side of a sed subst in |
6145 |
# config.status. Protect against being in an unquoted here document |
6146 |
# in config.status. |
6147 |
rm -f conftest.defines conftest.undefs |
6148 |
# Using a here document instead of a string reduces the quoting nightmare. |
6149 |
# Putting comments in sed scripts is not portable. |
6150 |
# |
6151 |
# `end' is used to avoid that the second main sed command (meant for |
6152 |
# 0-ary CPP macros) applies to n-ary macro definitions. |
6153 |
# See the Autoconf documentation for `clear'. |
6154 |
cat >confdef2sed.sed <<\_ACEOF |
6155 |
s/[\\&,]/\\&/g |
6156 |
s,[\\$`],\\&,g |
6157 |
t clear |
6158 |
: clear |
6159 |
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp |
6160 |
t end |
6161 |
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp |
6162 |
: end |
6163 |
_ACEOF |
6164 |
# If some macros were called several times there might be several times |
6165 |
# the same #defines, which is useless. Nevertheless, we may not want to |
6166 |
# sort them, since we want the *last* AC-DEFINE to be honored. |
6167 |
uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines |
6168 |
sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs |
6169 |
rm -f confdef2sed.sed |
6170 |
|
6171 |
# This sed command replaces #undef with comments. This is necessary, for |
6172 |
# example, in the case of _POSIX_SOURCE, which is predefined and required |
6173 |
# on some systems where configure will not decide to define it. |
6174 |
cat >>conftest.undefs <<\_ACEOF |
6175 |
s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, |
6176 |
_ACEOF |
6177 |
|
6178 |
# Break up conftest.defines because some shells have a limit on the size |
6179 |
# of here documents, and old seds have small limits too (100 cmds). |
6180 |
echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS |
6181 |
echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS |
6182 |
echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS |
6183 |
echo ' :' >>$CONFIG_STATUS |
6184 |
rm -f conftest.tail |
6185 |
while grep . conftest.defines >/dev/null |
6186 |
do |
6187 |
# Write a limited-size here document to $tmp/defines.sed. |
6188 |
echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS |
6189 |
# Speed up: don't consider the non `#define' lines. |
6190 |
echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS |
6191 |
# Work around the forget-to-reset-the-flag bug. |
6192 |
echo 't clr' >>$CONFIG_STATUS |
6193 |
echo ': clr' >>$CONFIG_STATUS |
6194 |
sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS |
6195 |
echo 'CEOF |
6196 |
sed -f $tmp/defines.sed $tmp/in >$tmp/out |
6197 |
rm -f $tmp/in |
6198 |
mv $tmp/out $tmp/in |
6199 |
' >>$CONFIG_STATUS |
6200 |
sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail |
6201 |
rm -f conftest.defines |
6202 |
mv conftest.tail conftest.defines |
6203 |
done |
6204 |
rm -f conftest.defines |
6205 |
echo ' fi # grep' >>$CONFIG_STATUS |
6206 |
echo >>$CONFIG_STATUS |
6207 |
|
6208 |
# Break up conftest.undefs because some shells have a limit on the size |
6209 |
# of here documents, and old seds have small limits too (100 cmds). |
6210 |
echo ' # Handle all the #undef templates' >>$CONFIG_STATUS |
6211 |
rm -f conftest.tail |
6212 |
while grep . conftest.undefs >/dev/null |
6213 |
do |
6214 |
# Write a limited-size here document to $tmp/undefs.sed. |
6215 |
echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS |
6216 |
# Speed up: don't consider the non `#undef' |
6217 |
echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS |
6218 |
# Work around the forget-to-reset-the-flag bug. |
6219 |
echo 't clr' >>$CONFIG_STATUS |
6220 |
echo ': clr' >>$CONFIG_STATUS |
6221 |
sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS |
6222 |
echo 'CEOF |
6223 |
sed -f $tmp/undefs.sed $tmp/in >$tmp/out |
6224 |
rm -f $tmp/in |
6225 |
mv $tmp/out $tmp/in |
6226 |
' >>$CONFIG_STATUS |
6227 |
sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail |
6228 |
rm -f conftest.undefs |
6229 |
mv conftest.tail conftest.undefs |
6230 |
done |
6231 |
rm -f conftest.undefs |
6232 |
|
6233 |
cat >>$CONFIG_STATUS <<\_ACEOF |
6234 |
# Let's still pretend it is `configure' which instantiates (i.e., don't |
6235 |
# use $as_me), people would be surprised to read: |
6236 |
# /* config.h. Generated by config.status. */ |
6237 |
if test x"$ac_file" = x-; then |
6238 |
echo "/* Generated by configure. */" >$tmp/config.h |
6239 |
else |
6240 |
echo "/* $ac_file. Generated by configure. */" >$tmp/config.h |
6241 |
fi |
6242 |
cat $tmp/in >>$tmp/config.h |
6243 |
rm -f $tmp/in |
6244 |
if test x"$ac_file" != x-; then |
6245 |
if diff $ac_file $tmp/config.h >/dev/null 2>&1; then |
6246 |
{ echo "$as_me:$LINENO: $ac_file is unchanged" >&5 |
6247 |
echo "$as_me: $ac_file is unchanged" >&6;} |
6248 |
else |
6249 |
ac_dir=`(dirname "$ac_file") 2>/dev/null || |
6250 |
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
6251 |
X"$ac_file" : 'X\(//\)[^/]' \| \ |
6252 |
X"$ac_file" : 'X\(//\)$' \| \ |
6253 |
X"$ac_file" : 'X\(/\)' \| \ |
6254 |
. : '\(.\)' 2>/dev/null || |
6255 |
echo X"$ac_file" | |
6256 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
6257 |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
6258 |
/^X\(\/\/\)$/{ s//\1/; q; } |
6259 |
/^X\(\/\).*/{ s//\1/; q; } |
6260 |
s/.*/./; q'` |
6261 |
{ if $as_mkdir_p; then |
6262 |
mkdir -p "$ac_dir" |
6263 |
else |
6264 |
as_dir="$ac_dir" |
6265 |
as_dirs= |
6266 |
while test ! -d "$as_dir"; do |
6267 |
as_dirs="$as_dir $as_dirs" |
6268 |
as_dir=`(dirname "$as_dir") 2>/dev/null || |
6269 |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
6270 |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
6271 |
X"$as_dir" : 'X\(//\)$' \| \ |
6272 |
X"$as_dir" : 'X\(/\)' \| \ |
6273 |
. : '\(.\)' 2>/dev/null || |
6274 |
echo X"$as_dir" | |
6275 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
6276 |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
6277 |
/^X\(\/\/\)$/{ s//\1/; q; } |
6278 |
/^X\(\/\).*/{ s//\1/; q; } |
6279 |
s/.*/./; q'` |
6280 |
done |
6281 |
test ! -n "$as_dirs" || mkdir $as_dirs |
6282 |
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 |
6283 |
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} |
6284 |
{ (exit 1); exit 1; }; }; } |
6285 |
|
6286 |
rm -f $ac_file |
6287 |
mv $tmp/config.h $ac_file |
6288 |
fi |
6289 |
else |
6290 |
cat $tmp/config.h |
6291 |
rm -f $tmp/config.h |
6292 |
fi |
6293 |
# Run the commands associated with the file. |
6294 |
case $ac_file in |
6295 |
config.h ) # update the timestamp |
6296 |
echo 'timestamp for config.h' >"./stamp-h1" |
6297 |
;; |
6298 |
esac |
6299 |
done |
6300 |
_ACEOF |
6301 |
cat >>$CONFIG_STATUS <<\_ACEOF |
6302 |
|
6303 |
# |
6304 |
# CONFIG_COMMANDS section. |
6305 |
# |
6306 |
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue |
6307 |
ac_dest=`echo "$ac_file" | sed 's,:.*,,'` |
6308 |
ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` |
6309 |
ac_dir=`(dirname "$ac_dest") 2>/dev/null || |
6310 |
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
6311 |
X"$ac_dest" : 'X\(//\)[^/]' \| \ |
6312 |
X"$ac_dest" : 'X\(//\)$' \| \ |
6313 |
X"$ac_dest" : 'X\(/\)' \| \ |
6314 |
. : '\(.\)' 2>/dev/null || |
6315 |
echo X"$ac_dest" | |
6316 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
6317 |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
6318 |
/^X\(\/\/\)$/{ s//\1/; q; } |
6319 |
/^X\(\/\).*/{ s//\1/; q; } |
6320 |
s/.*/./; q'` |
6321 |
ac_builddir=. |
6322 |
|
6323 |
if test "$ac_dir" != .; then |
6324 |
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
6325 |
# A "../" for each directory in $ac_dir_suffix. |
6326 |
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` |
6327 |
else |
6328 |
ac_dir_suffix= ac_top_builddir= |
6329 |
fi |
6330 |
|
6331 |
case $srcdir in |
6332 |
.) # No --srcdir option. We are building in place. |
6333 |
ac_srcdir=. |
6334 |
if test -z "$ac_top_builddir"; then |
6335 |
ac_top_srcdir=. |
6336 |
else |
6337 |
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` |
6338 |
fi ;; |
6339 |
[\\/]* | ?:[\\/]* ) # Absolute path. |
6340 |
ac_srcdir=$srcdir$ac_dir_suffix; |
6341 |
ac_top_srcdir=$srcdir ;; |
6342 |
*) # Relative path. |
6343 |
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
6344 |
ac_top_srcdir=$ac_top_builddir$srcdir ;; |
6345 |
esac |
6346 |
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be |
6347 |
# absolute. |
6348 |
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` |
6349 |
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` |
6350 |
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` |
6351 |
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` |
6352 |
|
6353 |
|
6354 |
{ echo "$as_me:$LINENO: executing $ac_dest commands" >&5 |
6355 |
echo "$as_me: executing $ac_dest commands" >&6;} |
6356 |
case $ac_dest in |
6357 |
depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do |
6358 |
# Strip MF so we end up with the name of the file. |
6359 |
mf=`echo "$mf" | sed -e 's/:.*$//'` |
6360 |
# Check whether this is an Automake generated Makefile or not. |
6361 |
# We used to match only the files named `Makefile.in', but |
6362 |
# some people rename them; so instead we look at the file content. |
6363 |
# Grep'ing the first line is not enough: some people post-process |
6364 |
# each Makefile.in and add a new line on top of each file to say so. |
6365 |
# So let's grep whole file. |
6366 |
if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then |
6367 |
dirpart=`(dirname "$mf") 2>/dev/null || |
6368 |
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
6369 |
X"$mf" : 'X\(//\)[^/]' \| \ |
6370 |
X"$mf" : 'X\(//\)$' \| \ |
6371 |
X"$mf" : 'X\(/\)' \| \ |
6372 |
. : '\(.\)' 2>/dev/null || |
6373 |
echo X"$mf" | |
6374 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
6375 |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
6376 |
/^X\(\/\/\)$/{ s//\1/; q; } |
6377 |
/^X\(\/\).*/{ s//\1/; q; } |
6378 |
s/.*/./; q'` |
6379 |
else |
6380 |
continue |
6381 |
fi |
6382 |
grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue |
6383 |
# Extract the definition of DEP_FILES from the Makefile without |
6384 |
# running `make'. |
6385 |
DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"` |
6386 |
test -z "$DEPDIR" && continue |
6387 |
# When using ansi2knr, U may be empty or an underscore; expand it |
6388 |
U=`sed -n -e '/^U = / s///p' < "$mf"` |
6389 |
test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR" |
6390 |
# We invoke sed twice because it is the simplest approach to |
6391 |
# changing $(DEPDIR) to its actual value in the expansion. |
6392 |
for file in `sed -n -e ' |
6393 |
/^DEP_FILES = .*\\\\$/ { |
6394 |
s/^DEP_FILES = // |
6395 |
:loop |
6396 |
s/\\\\$// |
6397 |
p |
6398 |
n |
6399 |
/\\\\$/ b loop |
6400 |
p |
6401 |
} |
6402 |
/^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \ |
6403 |
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do |
6404 |
# Make sure the directory exists. |
6405 |
test -f "$dirpart/$file" && continue |
6406 |
fdir=`(dirname "$file") 2>/dev/null || |
6407 |
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
6408 |
X"$file" : 'X\(//\)[^/]' \| \ |
6409 |
X"$file" : 'X\(//\)$' \| \ |
6410 |
X"$file" : 'X\(/\)' \| \ |
6411 |
. : '\(.\)' 2>/dev/null || |
6412 |
echo X"$file" | |
6413 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
6414 |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
6415 |
/^X\(\/\/\)$/{ s//\1/; q; } |
6416 |
/^X\(\/\).*/{ s//\1/; q; } |
6417 |
s/.*/./; q'` |
6418 |
{ if $as_mkdir_p; then |
6419 |
mkdir -p $dirpart/$fdir |
6420 |
else |
6421 |
as_dir=$dirpart/$fdir |
6422 |
as_dirs= |
6423 |
while test ! -d "$as_dir"; do |
6424 |
as_dirs="$as_dir $as_dirs" |
6425 |
as_dir=`(dirname "$as_dir") 2>/dev/null || |
6426 |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
6427 |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
6428 |
X"$as_dir" : 'X\(//\)$' \| \ |
6429 |
X"$as_dir" : 'X\(/\)' \| \ |
6430 |
. : '\(.\)' 2>/dev/null || |
6431 |
echo X"$as_dir" | |
6432 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
6433 |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
6434 |
/^X\(\/\/\)$/{ s//\1/; q; } |
6435 |
/^X\(\/\).*/{ s//\1/; q; } |
6436 |
s/.*/./; q'` |
6437 |
done |
6438 |
test ! -n "$as_dirs" || mkdir $as_dirs |
6439 |
fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5 |
6440 |
echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;} |
6441 |
{ (exit 1); exit 1; }; }; } |
6442 |
|
6443 |
# echo "creating $dirpart/$file" |
6444 |
echo '# dummy' > "$dirpart/$file" |
6445 |
done |
6446 |
done |
6447 |
;; |
6448 |
esac |
6449 |
done |
6450 |
_ACEOF |
6451 |
|
6452 |
cat >>$CONFIG_STATUS <<\_ACEOF |
6453 |
|
6454 |
{ (exit 0); exit 0; } |
6455 |
_ACEOF |
6456 |
chmod +x $CONFIG_STATUS |
6457 |
ac_clean_files=$ac_clean_files_save |
6458 |
|
6459 |
|
6460 |
# configure is writing to config.log, and then calls config.status. |
6461 |
# config.status does its own redirection, appending to config.log. |
6462 |
# Unfortunately, on DOS this fails, as config.log is still kept open |
6463 |
# by configure, so config.status won't be able to write to it; its |
6464 |
# output is simply discarded. So we exec the FD to /dev/null, |
6465 |
# effectively closing config.log, so it can be properly (re)opened and |
6466 |
# appended to by config.status. When coming back to configure, we |
6467 |
# need to make the FD available again. |
6468 |
if test "$no_create" != yes; then |
6469 |
ac_cs_success=: |
6470 |
ac_config_status_args= |
6471 |
test "$silent" = yes && |
6472 |
ac_config_status_args="$ac_config_status_args --quiet" |
6473 |
exec 5>/dev/null |
6474 |
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
6475 |
exec 5>>config.log |
6476 |
# Use ||, not &&, to avoid exiting from the if with $? = 1, which |
6477 |
# would make configure fail if this is the last instruction. |
6478 |
$ac_cs_success || { (exit 1); exit 1; } |
6479 |
fi |
6480 |
|
6481 |
# |
6482 |
# CONFIG_SUBDIRS section. |
6483 |
# |
6484 |
if test "$no_recursion" != yes; then |
6485 |
|
6486 |
# Remove --cache-file and --srcdir arguments so they do not pile up. |
6487 |
ac_sub_configure_args= |
6488 |
ac_prev= |
6489 |
for ac_arg in $ac_configure_args; do |
6490 |
if test -n "$ac_prev"; then |
6491 |
ac_prev= |
6492 |
continue |
6493 |
fi |
6494 |
case $ac_arg in |
6495 |
-cache-file | --cache-file | --cache-fil | --cache-fi \ |
6496 |
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
6497 |
ac_prev=cache_file ;; |
6498 |
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
6499 |
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \ |
6500 |
| --c=*) |
6501 |
;; |
6502 |
--config-cache | -C) |
6503 |
;; |
6504 |
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
6505 |
ac_prev=srcdir ;; |
6506 |
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
6507 |
;; |
6508 |
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
6509 |
ac_prev=prefix ;; |
6510 |
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
6511 |
;; |
6512 |
*) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;; |
6513 |
esac |
6514 |
done |
6515 |
|
6516 |
# Always prepend --prefix to ensure using the same prefix |
6517 |
# in subdir configurations. |
6518 |
ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args" |
6519 |
|
6520 |
ac_popdir=`pwd` |
6521 |
for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue |
6522 |
|
6523 |
# Do not complain, so a configure script can configure whichever |
6524 |
# parts of a large source tree are present. |
6525 |
test -d $srcdir/$ac_dir || continue |
6526 |
|
6527 |
{ echo "$as_me:$LINENO: configuring in $ac_dir" >&5 |
6528 |
echo "$as_me: configuring in $ac_dir" >&6;} |
6529 |
{ if $as_mkdir_p; then |
6530 |
mkdir -p "$ac_dir" |
6531 |
else |
6532 |
as_dir="$ac_dir" |
6533 |
as_dirs= |
6534 |
while test ! -d "$as_dir"; do |
6535 |
as_dirs="$as_dir $as_dirs" |
6536 |
as_dir=`(dirname "$as_dir") 2>/dev/null || |
6537 |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
6538 |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
6539 |
X"$as_dir" : 'X\(//\)$' \| \ |
6540 |
X"$as_dir" : 'X\(/\)' \| \ |
6541 |
. : '\(.\)' 2>/dev/null || |
6542 |
echo X"$as_dir" | |
6543 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
6544 |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
6545 |
/^X\(\/\/\)$/{ s//\1/; q; } |
6546 |
/^X\(\/\).*/{ s//\1/; q; } |
6547 |
s/.*/./; q'` |
6548 |
done |
6549 |
test ! -n "$as_dirs" || mkdir $as_dirs |
6550 |
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 |
6551 |
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} |
6552 |
{ (exit 1); exit 1; }; }; } |
6553 |
|
6554 |
ac_builddir=. |
6555 |
|
6556 |
if test "$ac_dir" != .; then |
6557 |
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
6558 |
# A "../" for each directory in $ac_dir_suffix. |
6559 |
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` |
6560 |
else |
6561 |
ac_dir_suffix= ac_top_builddir= |
6562 |
fi |
6563 |
|
6564 |
case $srcdir in |
6565 |
.) # No --srcdir option. We are building in place. |
6566 |
ac_srcdir=. |
6567 |
if test -z "$ac_top_builddir"; then |
6568 |
ac_top_srcdir=. |
6569 |
else |
6570 |
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` |
6571 |
fi ;; |
6572 |
[\\/]* | ?:[\\/]* ) # Absolute path. |
6573 |
ac_srcdir=$srcdir$ac_dir_suffix; |
6574 |
ac_top_srcdir=$srcdir ;; |
6575 |
*) # Relative path. |
6576 |
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
6577 |
ac_top_srcdir=$ac_top_builddir$srcdir ;; |
6578 |
esac |
6579 |
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be |
6580 |
# absolute. |
6581 |
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` |
6582 |
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` |
6583 |
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` |
6584 |
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` |
6585 |
|
6586 |
|
6587 |
cd $ac_dir |
6588 |
|
6589 |
# Check for guested configure; otherwise get Cygnus style configure. |
6590 |
if test -f $ac_srcdir/configure.gnu; then |
6591 |
ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'" |
6592 |
elif test -f $ac_srcdir/configure; then |
6593 |
ac_sub_configure="$SHELL '$ac_srcdir/configure'" |
6594 |
elif test -f $ac_srcdir/configure.in; then |
6595 |
ac_sub_configure=$ac_configure |
6596 |
else |
6597 |
{ echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5 |
6598 |
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;} |
6599 |
ac_sub_configure= |
6600 |
fi |
6601 |
|
6602 |
# The recursion is here. |
6603 |
if test -n "$ac_sub_configure"; then |
6604 |
# Make the cache file name correct relative to the subdirectory. |
6605 |
case $cache_file in |
6606 |
[\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;; |
6607 |
*) # Relative path. |
6608 |
ac_sub_cache_file=$ac_top_builddir$cache_file ;; |
6609 |
esac |
6610 |
|
6611 |
{ echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5 |
6612 |
echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;} |
6613 |
# The eval makes quoting arguments work. |
6614 |
eval $ac_sub_configure $ac_sub_configure_args \ |
6615 |
--cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir || |
6616 |
{ { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5 |
6617 |
echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;} |
6618 |
{ (exit 1); exit 1; }; } |
6619 |
fi |
6620 |
|
6621 |
cd $ac_popdir |
6622 |
done |
6623 |
fi |
6624 |
|
6625 |
|