1 |
#! /bin/sh |
2 |
# Guess values for system-dependent variables and create Makefiles. |
3 |
# Generated by GNU Autoconf 2.57. |
4 |
# |
5 |
# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 |
6 |
# Free Software Foundation, Inc. |
7 |
# This configure script is free software; the Free Software Foundation |
8 |
# gives unlimited permission to copy, distribute and modify it. |
9 |
## --------------------- ## |
10 |
## M4sh Initialization. ## |
11 |
## --------------------- ## |
12 |
|
13 |
# Be Bourne compatible |
14 |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
15 |
emulate sh |
16 |
NULLCMD=: |
17 |
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
18 |
# is contrary to our usage. Disable this feature. |
19 |
alias -g '${1+"$@"}'='"$@"' |
20 |
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
21 |
set -o posix |
22 |
fi |
23 |
|
24 |
# Support unset when possible. |
25 |
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then |
26 |
as_unset=unset |
27 |
else |
28 |
as_unset=false |
29 |
fi |
30 |
|
31 |
|
32 |
# Work around bugs in pre-3.0 UWIN ksh. |
33 |
$as_unset ENV MAIL MAILPATH |
34 |
PS1='$ ' |
35 |
PS2='> ' |
36 |
PS4='+ ' |
37 |
|
38 |
# NLS nuisances. |
39 |
for as_var in \ |
40 |
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ |
41 |
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
42 |
LC_TELEPHONE LC_TIME |
43 |
do |
44 |
if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then |
45 |
eval $as_var=C; export $as_var |
46 |
else |
47 |
$as_unset $as_var |
48 |
fi |
49 |
done |
50 |
|
51 |
# Required to use basename. |
52 |
if expr a : '\(a\)' >/dev/null 2>&1; then |
53 |
as_expr=expr |
54 |
else |
55 |
as_expr=false |
56 |
fi |
57 |
|
58 |
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then |
59 |
as_basename=basename |
60 |
else |
61 |
as_basename=false |
62 |
fi |
63 |
|
64 |
|
65 |
# Name of the executable. |
66 |
as_me=`$as_basename "$0" || |
67 |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
68 |
X"$0" : 'X\(//\)$' \| \ |
69 |
X"$0" : 'X\(/\)$' \| \ |
70 |
. : '\(.\)' 2>/dev/null || |
71 |
echo X/"$0" | |
72 |
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } |
73 |
/^X\/\(\/\/\)$/{ s//\1/; q; } |
74 |
/^X\/\(\/\).*/{ s//\1/; q; } |
75 |
s/.*/./; q'` |
76 |
|
77 |
|
78 |
# PATH needs CR, and LINENO needs CR and PATH. |
79 |
# Avoid depending upon Character Ranges. |
80 |
as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
81 |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
82 |
as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
83 |
as_cr_digits='0123456789' |
84 |
as_cr_alnum=$as_cr_Letters$as_cr_digits |
85 |
|
86 |
# The user is always right. |
87 |
if test "${PATH_SEPARATOR+set}" != set; then |
88 |
echo "#! /bin/sh" >conf$$.sh |
89 |
echo "exit 0" >>conf$$.sh |
90 |
chmod +x conf$$.sh |
91 |
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
92 |
PATH_SEPARATOR=';' |
93 |
else |
94 |
PATH_SEPARATOR=: |
95 |
fi |
96 |
rm -f conf$$.sh |
97 |
fi |
98 |
|
99 |
|
100 |
as_lineno_1=$LINENO |
101 |
as_lineno_2=$LINENO |
102 |
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
103 |
test "x$as_lineno_1" != "x$as_lineno_2" && |
104 |
test "x$as_lineno_3" = "x$as_lineno_2" || { |
105 |
# Find who we are. Look in the path if we contain no path at all |
106 |
# relative or not. |
107 |
case $0 in |
108 |
*[\\/]* ) as_myself=$0 ;; |
109 |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
110 |
for as_dir in $PATH |
111 |
do |
112 |
IFS=$as_save_IFS |
113 |
test -z "$as_dir" && as_dir=. |
114 |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
115 |
done |
116 |
|
117 |
;; |
118 |
esac |
119 |
# We did not find ourselves, most probably we were run as `sh COMMAND' |
120 |
# in which case we are not to be found in the path. |
121 |
if test "x$as_myself" = x; then |
122 |
as_myself=$0 |
123 |
fi |
124 |
if test ! -f "$as_myself"; then |
125 |
{ echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 |
126 |
{ (exit 1); exit 1; }; } |
127 |
fi |
128 |
case $CONFIG_SHELL in |
129 |
'') |
130 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
131 |
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
132 |
do |
133 |
IFS=$as_save_IFS |
134 |
test -z "$as_dir" && as_dir=. |
135 |
for as_base in sh bash ksh sh5; do |
136 |
case $as_dir in |
137 |
/*) |
138 |
if ("$as_dir/$as_base" -c ' |
139 |
as_lineno_1=$LINENO |
140 |
as_lineno_2=$LINENO |
141 |
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
142 |
test "x$as_lineno_1" != "x$as_lineno_2" && |
143 |
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then |
144 |
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } |
145 |
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } |
146 |
CONFIG_SHELL=$as_dir/$as_base |
147 |
export CONFIG_SHELL |
148 |
exec "$CONFIG_SHELL" "$0" ${1+"$@"} |
149 |
fi;; |
150 |
esac |
151 |
done |
152 |
done |
153 |
;; |
154 |
esac |
155 |
|
156 |
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
157 |
# uniformly replaced by the line number. The first 'sed' inserts a |
158 |
# line-number line before each line; the second 'sed' does the real |
159 |
# work. The second script uses 'N' to pair each line-number line |
160 |
# with the numbered line, and appends trailing '-' during |
161 |
# substitution so that $LINENO is not a special case at line end. |
162 |
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
163 |
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) |
164 |
sed '=' <$as_myself | |
165 |
sed ' |
166 |
N |
167 |
s,$,-, |
168 |
: loop |
169 |
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, |
170 |
t loop |
171 |
s,-$,, |
172 |
s,^['$as_cr_digits']*\n,, |
173 |
' >$as_me.lineno && |
174 |
chmod +x $as_me.lineno || |
175 |
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 |
176 |
{ (exit 1); exit 1; }; } |
177 |
|
178 |
# Don't try to exec as it changes $[0], causing all sort of problems |
179 |
# (the dirname of $[0] is not the place where we might find the |
180 |
# original and so on. Autoconf is especially sensible to this). |
181 |
. ./$as_me.lineno |
182 |
# Exit status is that of the last command. |
183 |
exit |
184 |
} |
185 |
|
186 |
|
187 |
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in |
188 |
*c*,-n*) ECHO_N= ECHO_C=' |
189 |
' ECHO_T=' ' ;; |
190 |
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; |
191 |
*) ECHO_N= ECHO_C='\c' ECHO_T= ;; |
192 |
esac |
193 |
|
194 |
if expr a : '\(a\)' >/dev/null 2>&1; then |
195 |
as_expr=expr |
196 |
else |
197 |
as_expr=false |
198 |
fi |
199 |
|
200 |
rm -f conf$$ conf$$.exe conf$$.file |
201 |
echo >conf$$.file |
202 |
if ln -s conf$$.file conf$$ 2>/dev/null; then |
203 |
# We could just check for DJGPP; but this test a) works b) is more generic |
204 |
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). |
205 |
if test -f conf$$.exe; then |
206 |
# Don't use ln at all; we don't have any links |
207 |
as_ln_s='cp -p' |
208 |
else |
209 |
as_ln_s='ln -s' |
210 |
fi |
211 |
elif ln conf$$.file conf$$ 2>/dev/null; then |
212 |
as_ln_s=ln |
213 |
else |
214 |
as_ln_s='cp -p' |
215 |
fi |
216 |
rm -f conf$$ conf$$.exe conf$$.file |
217 |
|
218 |
if mkdir -p . 2>/dev/null; then |
219 |
as_mkdir_p=: |
220 |
else |
221 |
as_mkdir_p=false |
222 |
fi |
223 |
|
224 |
as_executable_p="test -f" |
225 |
|
226 |
# Sed expression to map a string onto a valid CPP name. |
227 |
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" |
228 |
|
229 |
# Sed expression to map a string onto a valid variable name. |
230 |
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" |
231 |
|
232 |
|
233 |
# IFS |
234 |
# We need space, tab and new line, in precisely that order. |
235 |
as_nl=' |
236 |
' |
237 |
IFS=" $as_nl" |
238 |
|
239 |
# CDPATH. |
240 |
$as_unset CDPATH |
241 |
|
242 |
|
243 |
# Name of the host. |
244 |
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, |
245 |
# so uname gets run too. |
246 |
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
247 |
|
248 |
exec 6>&1 |
249 |
|
250 |
# |
251 |
# Initializations. |
252 |
# |
253 |
ac_default_prefix=/usr/local |
254 |
ac_config_libobj_dir=. |
255 |
cross_compiling=no |
256 |
subdirs= |
257 |
MFLAGS= |
258 |
MAKEFLAGS= |
259 |
SHELL=${CONFIG_SHELL-/bin/sh} |
260 |
|
261 |
# Maximum number of lines to put in a shell here document. |
262 |
# This variable seems obsolete. It should probably be removed, and |
263 |
# only ac_max_sed_lines should be used. |
264 |
: ${ac_max_here_lines=38} |
265 |
|
266 |
# Identity of this package. |
267 |
PACKAGE_NAME= |
268 |
PACKAGE_TARNAME= |
269 |
PACKAGE_VERSION= |
270 |
PACKAGE_STRING= |
271 |
PACKAGE_BUGREPORT= |
272 |
|
273 |
ac_unique_file="pxyservd/src/pxyservd.c" |
274 |
ac_subdirs_all="$ac_subdirs_all libopas pxyscand pxyservd" |
275 |
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS 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 MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT subdirs LIBOBJS LTLIBOBJS' |
276 |
ac_subst_files='' |
277 |
|
278 |
# Initialize some variables set by options. |
279 |
ac_init_help= |
280 |
ac_init_version=false |
281 |
# The variables have the same names as the options, with |
282 |
# dashes changed to underlines. |
283 |
cache_file=/dev/null |
284 |
exec_prefix=NONE |
285 |
no_create= |
286 |
no_recursion= |
287 |
prefix=NONE |
288 |
program_prefix=NONE |
289 |
program_suffix=NONE |
290 |
program_transform_name=s,x,x, |
291 |
silent= |
292 |
site= |
293 |
srcdir= |
294 |
verbose= |
295 |
x_includes=NONE |
296 |
x_libraries=NONE |
297 |
|
298 |
# Installation directory options. |
299 |
# These are left unexpanded so users can "make install exec_prefix=/foo" |
300 |
# and all the variables that are supposed to be based on exec_prefix |
301 |
# by default will actually change. |
302 |
# Use braces instead of parens because sh, perl, etc. also accept them. |
303 |
bindir='${exec_prefix}/bin' |
304 |
sbindir='${exec_prefix}/sbin' |
305 |
libexecdir='${exec_prefix}/libexec' |
306 |
datadir='${prefix}/share' |
307 |
sysconfdir='${prefix}/etc' |
308 |
sharedstatedir='${prefix}/com' |
309 |
localstatedir='${prefix}/var' |
310 |
libdir='${exec_prefix}/lib' |
311 |
includedir='${prefix}/include' |
312 |
oldincludedir='/usr/include' |
313 |
infodir='${prefix}/info' |
314 |
mandir='${prefix}/man' |
315 |
|
316 |
ac_prev= |
317 |
for ac_option |
318 |
do |
319 |
# If the previous option needs an argument, assign it. |
320 |
if test -n "$ac_prev"; then |
321 |
eval "$ac_prev=\$ac_option" |
322 |
ac_prev= |
323 |
continue |
324 |
fi |
325 |
|
326 |
ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` |
327 |
|
328 |
# Accept the important Cygnus configure options, so we can diagnose typos. |
329 |
|
330 |
case $ac_option in |
331 |
|
332 |
-bindir | --bindir | --bindi | --bind | --bin | --bi) |
333 |
ac_prev=bindir ;; |
334 |
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
335 |
bindir=$ac_optarg ;; |
336 |
|
337 |
-build | --build | --buil | --bui | --bu) |
338 |
ac_prev=build_alias ;; |
339 |
-build=* | --build=* | --buil=* | --bui=* | --bu=*) |
340 |
build_alias=$ac_optarg ;; |
341 |
|
342 |
-cache-file | --cache-file | --cache-fil | --cache-fi \ |
343 |
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
344 |
ac_prev=cache_file ;; |
345 |
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
346 |
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) |
347 |
cache_file=$ac_optarg ;; |
348 |
|
349 |
--config-cache | -C) |
350 |
cache_file=config.cache ;; |
351 |
|
352 |
-datadir | --datadir | --datadi | --datad | --data | --dat | --da) |
353 |
ac_prev=datadir ;; |
354 |
-datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ |
355 |
| --da=*) |
356 |
datadir=$ac_optarg ;; |
357 |
|
358 |
-disable-* | --disable-*) |
359 |
ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
360 |
# Reject names that are not valid shell variable names. |
361 |
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && |
362 |
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
363 |
{ (exit 1); exit 1; }; } |
364 |
ac_feature=`echo $ac_feature | sed 's/-/_/g'` |
365 |
eval "enable_$ac_feature=no" ;; |
366 |
|
367 |
-enable-* | --enable-*) |
368 |
ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
369 |
# Reject names that are not valid shell variable names. |
370 |
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && |
371 |
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
372 |
{ (exit 1); exit 1; }; } |
373 |
ac_feature=`echo $ac_feature | sed 's/-/_/g'` |
374 |
case $ac_option in |
375 |
*=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; |
376 |
*) ac_optarg=yes ;; |
377 |
esac |
378 |
eval "enable_$ac_feature='$ac_optarg'" ;; |
379 |
|
380 |
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
381 |
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
382 |
| --exec | --exe | --ex) |
383 |
ac_prev=exec_prefix ;; |
384 |
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ |
385 |
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ |
386 |
| --exec=* | --exe=* | --ex=*) |
387 |
exec_prefix=$ac_optarg ;; |
388 |
|
389 |
-gas | --gas | --ga | --g) |
390 |
# Obsolete; use --with-gas. |
391 |
with_gas=yes ;; |
392 |
|
393 |
-help | --help | --hel | --he | -h) |
394 |
ac_init_help=long ;; |
395 |
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*) |
396 |
ac_init_help=recursive ;; |
397 |
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*) |
398 |
ac_init_help=short ;; |
399 |
|
400 |
-host | --host | --hos | --ho) |
401 |
ac_prev=host_alias ;; |
402 |
-host=* | --host=* | --hos=* | --ho=*) |
403 |
host_alias=$ac_optarg ;; |
404 |
|
405 |
-includedir | --includedir | --includedi | --included | --include \ |
406 |
| --includ | --inclu | --incl | --inc) |
407 |
ac_prev=includedir ;; |
408 |
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ |
409 |
| --includ=* | --inclu=* | --incl=* | --inc=*) |
410 |
includedir=$ac_optarg ;; |
411 |
|
412 |
-infodir | --infodir | --infodi | --infod | --info | --inf) |
413 |
ac_prev=infodir ;; |
414 |
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) |
415 |
infodir=$ac_optarg ;; |
416 |
|
417 |
-libdir | --libdir | --libdi | --libd) |
418 |
ac_prev=libdir ;; |
419 |
-libdir=* | --libdir=* | --libdi=* | --libd=*) |
420 |
libdir=$ac_optarg ;; |
421 |
|
422 |
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ |
423 |
| --libexe | --libex | --libe) |
424 |
ac_prev=libexecdir ;; |
425 |
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ |
426 |
| --libexe=* | --libex=* | --libe=*) |
427 |
libexecdir=$ac_optarg ;; |
428 |
|
429 |
-localstatedir | --localstatedir | --localstatedi | --localstated \ |
430 |
| --localstate | --localstat | --localsta | --localst \ |
431 |
| --locals | --local | --loca | --loc | --lo) |
432 |
ac_prev=localstatedir ;; |
433 |
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
434 |
| --localstate=* | --localstat=* | --localsta=* | --localst=* \ |
435 |
| --locals=* | --local=* | --loca=* | --loc=* | --lo=*) |
436 |
localstatedir=$ac_optarg ;; |
437 |
|
438 |
-mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
439 |
ac_prev=mandir ;; |
440 |
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) |
441 |
mandir=$ac_optarg ;; |
442 |
|
443 |
-nfp | --nfp | --nf) |
444 |
# Obsolete; use --without-fp. |
445 |
with_fp=no ;; |
446 |
|
447 |
-no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
448 |
| --no-cr | --no-c | -n) |
449 |
no_create=yes ;; |
450 |
|
451 |
-no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
452 |
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) |
453 |
no_recursion=yes ;; |
454 |
|
455 |
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ |
456 |
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ |
457 |
| --oldin | --oldi | --old | --ol | --o) |
458 |
ac_prev=oldincludedir ;; |
459 |
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ |
460 |
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ |
461 |
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) |
462 |
oldincludedir=$ac_optarg ;; |
463 |
|
464 |
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
465 |
ac_prev=prefix ;; |
466 |
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
467 |
prefix=$ac_optarg ;; |
468 |
|
469 |
-program-prefix | --program-prefix | --program-prefi | --program-pref \ |
470 |
| --program-pre | --program-pr | --program-p) |
471 |
ac_prev=program_prefix ;; |
472 |
-program-prefix=* | --program-prefix=* | --program-prefi=* \ |
473 |
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) |
474 |
program_prefix=$ac_optarg ;; |
475 |
|
476 |
-program-suffix | --program-suffix | --program-suffi | --program-suff \ |
477 |
| --program-suf | --program-su | --program-s) |
478 |
ac_prev=program_suffix ;; |
479 |
-program-suffix=* | --program-suffix=* | --program-suffi=* \ |
480 |
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) |
481 |
program_suffix=$ac_optarg ;; |
482 |
|
483 |
-program-transform-name | --program-transform-name \ |
484 |
| --program-transform-nam | --program-transform-na \ |
485 |
| --program-transform-n | --program-transform- \ |
486 |
| --program-transform | --program-transfor \ |
487 |
| --program-transfo | --program-transf \ |
488 |
| --program-trans | --program-tran \ |
489 |
| --progr-tra | --program-tr | --program-t) |
490 |
ac_prev=program_transform_name ;; |
491 |
-program-transform-name=* | --program-transform-name=* \ |
492 |
| --program-transform-nam=* | --program-transform-na=* \ |
493 |
| --program-transform-n=* | --program-transform-=* \ |
494 |
| --program-transform=* | --program-transfor=* \ |
495 |
| --program-transfo=* | --program-transf=* \ |
496 |
| --program-trans=* | --program-tran=* \ |
497 |
| --progr-tra=* | --program-tr=* | --program-t=*) |
498 |
program_transform_name=$ac_optarg ;; |
499 |
|
500 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
501 |
| -silent | --silent | --silen | --sile | --sil) |
502 |
silent=yes ;; |
503 |
|
504 |
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
505 |
ac_prev=sbindir ;; |
506 |
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
507 |
| --sbi=* | --sb=*) |
508 |
sbindir=$ac_optarg ;; |
509 |
|
510 |
-sharedstatedir | --sharedstatedir | --sharedstatedi \ |
511 |
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \ |
512 |
| --sharedst | --shareds | --shared | --share | --shar \ |
513 |
| --sha | --sh) |
514 |
ac_prev=sharedstatedir ;; |
515 |
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ |
516 |
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ |
517 |
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ |
518 |
| --sha=* | --sh=*) |
519 |
sharedstatedir=$ac_optarg ;; |
520 |
|
521 |
-site | --site | --sit) |
522 |
ac_prev=site ;; |
523 |
-site=* | --site=* | --sit=*) |
524 |
site=$ac_optarg ;; |
525 |
|
526 |
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
527 |
ac_prev=srcdir ;; |
528 |
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
529 |
srcdir=$ac_optarg ;; |
530 |
|
531 |
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ |
532 |
| --syscon | --sysco | --sysc | --sys | --sy) |
533 |
ac_prev=sysconfdir ;; |
534 |
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ |
535 |
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) |
536 |
sysconfdir=$ac_optarg ;; |
537 |
|
538 |
-target | --target | --targe | --targ | --tar | --ta | --t) |
539 |
ac_prev=target_alias ;; |
540 |
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
541 |
target_alias=$ac_optarg ;; |
542 |
|
543 |
-v | -verbose | --verbose | --verbos | --verbo | --verb) |
544 |
verbose=yes ;; |
545 |
|
546 |
-version | --version | --versio | --versi | --vers | -V) |
547 |
ac_init_version=: ;; |
548 |
|
549 |
-with-* | --with-*) |
550 |
ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
551 |
# Reject names that are not valid shell variable names. |
552 |
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && |
553 |
{ echo "$as_me: error: invalid package name: $ac_package" >&2 |
554 |
{ (exit 1); exit 1; }; } |
555 |
ac_package=`echo $ac_package| sed 's/-/_/g'` |
556 |
case $ac_option in |
557 |
*=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; |
558 |
*) ac_optarg=yes ;; |
559 |
esac |
560 |
eval "with_$ac_package='$ac_optarg'" ;; |
561 |
|
562 |
-without-* | --without-*) |
563 |
ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
564 |
# Reject names that are not valid shell variable names. |
565 |
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && |
566 |
{ echo "$as_me: error: invalid package name: $ac_package" >&2 |
567 |
{ (exit 1); exit 1; }; } |
568 |
ac_package=`echo $ac_package | sed 's/-/_/g'` |
569 |
eval "with_$ac_package=no" ;; |
570 |
|
571 |
--x) |
572 |
# Obsolete; use --with-x. |
573 |
with_x=yes ;; |
574 |
|
575 |
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ |
576 |
| --x-incl | --x-inc | --x-in | --x-i) |
577 |
ac_prev=x_includes ;; |
578 |
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ |
579 |
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) |
580 |
x_includes=$ac_optarg ;; |
581 |
|
582 |
-x-libraries | --x-libraries | --x-librarie | --x-librari \ |
583 |
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) |
584 |
ac_prev=x_libraries ;; |
585 |
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
586 |
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
587 |
x_libraries=$ac_optarg ;; |
588 |
|
589 |
-*) { echo "$as_me: error: unrecognized option: $ac_option |
590 |
Try \`$0 --help' for more information." >&2 |
591 |
{ (exit 1); exit 1; }; } |
592 |
;; |
593 |
|
594 |
*=*) |
595 |
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
596 |
# Reject names that are not valid shell variable names. |
597 |
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && |
598 |
{ echo "$as_me: error: invalid variable name: $ac_envvar" >&2 |
599 |
{ (exit 1); exit 1; }; } |
600 |
ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` |
601 |
eval "$ac_envvar='$ac_optarg'" |
602 |
export $ac_envvar ;; |
603 |
|
604 |
*) |
605 |
# FIXME: should be removed in autoconf 3.0. |
606 |
echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
607 |
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
608 |
echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
609 |
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} |
610 |
;; |
611 |
|
612 |
esac |
613 |
done |
614 |
|
615 |
if test -n "$ac_prev"; then |
616 |
ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
617 |
{ echo "$as_me: error: missing argument to $ac_option" >&2 |
618 |
{ (exit 1); exit 1; }; } |
619 |
fi |
620 |
|
621 |
# Be sure to have absolute paths. |
622 |
for ac_var in exec_prefix prefix |
623 |
do |
624 |
eval ac_val=$`echo $ac_var` |
625 |
case $ac_val in |
626 |
[\\/$]* | ?:[\\/]* | NONE | '' ) ;; |
627 |
*) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
628 |
{ (exit 1); exit 1; }; };; |
629 |
esac |
630 |
done |
631 |
|
632 |
# Be sure to have absolute paths. |
633 |
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ |
634 |
localstatedir libdir includedir oldincludedir infodir mandir |
635 |
do |
636 |
eval ac_val=$`echo $ac_var` |
637 |
case $ac_val in |
638 |
[\\/$]* | ?:[\\/]* ) ;; |
639 |
*) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
640 |
{ (exit 1); exit 1; }; };; |
641 |
esac |
642 |
done |
643 |
|
644 |
# There might be people who depend on the old broken behavior: `$host' |
645 |
# used to hold the argument of --host etc. |
646 |
# FIXME: To remove some day. |
647 |
build=$build_alias |
648 |
host=$host_alias |
649 |
target=$target_alias |
650 |
|
651 |
# FIXME: To remove some day. |
652 |
if test "x$host_alias" != x; then |
653 |
if test "x$build_alias" = x; then |
654 |
cross_compiling=maybe |
655 |
echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. |
656 |
If a cross compiler is detected then cross compile mode will be used." >&2 |
657 |
elif test "x$build_alias" != "x$host_alias"; then |
658 |
cross_compiling=yes |
659 |
fi |
660 |
fi |
661 |
|
662 |
ac_tool_prefix= |
663 |
test -n "$host_alias" && ac_tool_prefix=$host_alias- |
664 |
|
665 |
test "$silent" = yes && exec 6>/dev/null |
666 |
|
667 |
|
668 |
# Find the source files, if location was not specified. |
669 |
if test -z "$srcdir"; then |
670 |
ac_srcdir_defaulted=yes |
671 |
# Try the directory containing this script, then its parent. |
672 |
ac_confdir=`(dirname "$0") 2>/dev/null || |
673 |
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
674 |
X"$0" : 'X\(//\)[^/]' \| \ |
675 |
X"$0" : 'X\(//\)$' \| \ |
676 |
X"$0" : 'X\(/\)' \| \ |
677 |
. : '\(.\)' 2>/dev/null || |
678 |
echo X"$0" | |
679 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
680 |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
681 |
/^X\(\/\/\)$/{ s//\1/; q; } |
682 |
/^X\(\/\).*/{ s//\1/; q; } |
683 |
s/.*/./; q'` |
684 |
srcdir=$ac_confdir |
685 |
if test ! -r $srcdir/$ac_unique_file; then |
686 |
srcdir=.. |
687 |
fi |
688 |
else |
689 |
ac_srcdir_defaulted=no |
690 |
fi |
691 |
if test ! -r $srcdir/$ac_unique_file; then |
692 |
if test "$ac_srcdir_defaulted" = yes; then |
693 |
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 |
694 |
{ (exit 1); exit 1; }; } |
695 |
else |
696 |
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 |
697 |
{ (exit 1); exit 1; }; } |
698 |
fi |
699 |
fi |
700 |
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || |
701 |
{ echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 |
702 |
{ (exit 1); exit 1; }; } |
703 |
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` |
704 |
ac_env_build_alias_set=${build_alias+set} |
705 |
ac_env_build_alias_value=$build_alias |
706 |
ac_cv_env_build_alias_set=${build_alias+set} |
707 |
ac_cv_env_build_alias_value=$build_alias |
708 |
ac_env_host_alias_set=${host_alias+set} |
709 |
ac_env_host_alias_value=$host_alias |
710 |
ac_cv_env_host_alias_set=${host_alias+set} |
711 |
ac_cv_env_host_alias_value=$host_alias |
712 |
ac_env_target_alias_set=${target_alias+set} |
713 |
ac_env_target_alias_value=$target_alias |
714 |
ac_cv_env_target_alias_set=${target_alias+set} |
715 |
ac_cv_env_target_alias_value=$target_alias |
716 |
|
717 |
# |
718 |
# Report the --help message. |
719 |
# |
720 |
if test "$ac_init_help" = "long"; then |
721 |
# Omit some internal or obsolete options to make the list less imposing. |
722 |
# This message is too long to be a string in the A/UX 3.1 sh. |
723 |
cat <<_ACEOF |
724 |
\`configure' configures this package to adapt to many kinds of systems. |
725 |
|
726 |
Usage: $0 [OPTION]... [VAR=VALUE]... |
727 |
|
728 |
To assign environment variables (e.g., CC, CFLAGS...), specify them as |
729 |
VAR=VALUE. See below for descriptions of some of the useful variables. |
730 |
|
731 |
Defaults for the options are specified in brackets. |
732 |
|
733 |
Configuration: |
734 |
-h, --help display this help and exit |
735 |
--help=short display options specific to this package |
736 |
--help=recursive display the short help of all the included packages |
737 |
-V, --version display version information and exit |
738 |
-q, --quiet, --silent do not print \`checking...' messages |
739 |
--cache-file=FILE cache test results in FILE [disabled] |
740 |
-C, --config-cache alias for \`--cache-file=config.cache' |
741 |
-n, --no-create do not create output files |
742 |
--srcdir=DIR find the sources in DIR [configure dir or \`..'] |
743 |
|
744 |
_ACEOF |
745 |
|
746 |
cat <<_ACEOF |
747 |
Installation directories: |
748 |
--prefix=PREFIX install architecture-independent files in PREFIX |
749 |
[$ac_default_prefix] |
750 |
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
751 |
[PREFIX] |
752 |
|
753 |
By default, \`make install' will install all the files in |
754 |
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
755 |
an installation prefix other than \`$ac_default_prefix' using \`--prefix', |
756 |
for instance \`--prefix=\$HOME'. |
757 |
|
758 |
For better control, use the options below. |
759 |
|
760 |
Fine tuning of the installation directories: |
761 |
--bindir=DIR user executables [EPREFIX/bin] |
762 |
--sbindir=DIR system admin executables [EPREFIX/sbin] |
763 |
--libexecdir=DIR program executables [EPREFIX/libexec] |
764 |
--datadir=DIR read-only architecture-independent data [PREFIX/share] |
765 |
--sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
766 |
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
767 |
--localstatedir=DIR modifiable single-machine data [PREFIX/var] |
768 |
--libdir=DIR object code libraries [EPREFIX/lib] |
769 |
--includedir=DIR C header files [PREFIX/include] |
770 |
--oldincludedir=DIR C header files for non-gcc [/usr/include] |
771 |
--infodir=DIR info documentation [PREFIX/info] |
772 |
--mandir=DIR man documentation [PREFIX/man] |
773 |
_ACEOF |
774 |
|
775 |
cat <<\_ACEOF |
776 |
|
777 |
Program names: |
778 |
--program-prefix=PREFIX prepend PREFIX to installed program names |
779 |
--program-suffix=SUFFIX append SUFFIX to installed program names |
780 |
--program-transform-name=PROGRAM run sed PROGRAM on installed program names |
781 |
_ACEOF |
782 |
fi |
783 |
|
784 |
if test -n "$ac_init_help"; then |
785 |
|
786 |
cat <<\_ACEOF |
787 |
|
788 |
Optional Features: |
789 |
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
790 |
--enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
791 |
--enable-maintainer-mode enable make rules and dependencies not useful |
792 |
(and sometimes confusing) to the casual installer |
793 |
|
794 |
_ACEOF |
795 |
fi |
796 |
|
797 |
if test "$ac_init_help" = "recursive"; then |
798 |
# If there are subdirs, report their specific --help. |
799 |
ac_popdir=`pwd` |
800 |
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
801 |
test -d $ac_dir || continue |
802 |
ac_builddir=. |
803 |
|
804 |
if test "$ac_dir" != .; then |
805 |
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
806 |
# A "../" for each directory in $ac_dir_suffix. |
807 |
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` |
808 |
else |
809 |
ac_dir_suffix= ac_top_builddir= |
810 |
fi |
811 |
|
812 |
case $srcdir in |
813 |
.) # No --srcdir option. We are building in place. |
814 |
ac_srcdir=. |
815 |
if test -z "$ac_top_builddir"; then |
816 |
ac_top_srcdir=. |
817 |
else |
818 |
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` |
819 |
fi ;; |
820 |
[\\/]* | ?:[\\/]* ) # Absolute path. |
821 |
ac_srcdir=$srcdir$ac_dir_suffix; |
822 |
ac_top_srcdir=$srcdir ;; |
823 |
*) # Relative path. |
824 |
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
825 |
ac_top_srcdir=$ac_top_builddir$srcdir ;; |
826 |
esac |
827 |
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be |
828 |
# absolute. |
829 |
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` |
830 |
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` |
831 |
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` |
832 |
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` |
833 |
|
834 |
cd $ac_dir |
835 |
# Check for guested configure; otherwise get Cygnus style configure. |
836 |
if test -f $ac_srcdir/configure.gnu; then |
837 |
echo |
838 |
$SHELL $ac_srcdir/configure.gnu --help=recursive |
839 |
elif test -f $ac_srcdir/configure; then |
840 |
echo |
841 |
$SHELL $ac_srcdir/configure --help=recursive |
842 |
elif test -f $ac_srcdir/configure.ac || |
843 |
test -f $ac_srcdir/configure.in; then |
844 |
echo |
845 |
$ac_configure --help |
846 |
else |
847 |
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
848 |
fi |
849 |
cd $ac_popdir |
850 |
done |
851 |
fi |
852 |
|
853 |
test -n "$ac_init_help" && exit 0 |
854 |
if $ac_init_version; then |
855 |
cat <<\_ACEOF |
856 |
|
857 |
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 |
858 |
Free Software Foundation, Inc. |
859 |
This configure script is free software; the Free Software Foundation |
860 |
gives unlimited permission to copy, distribute and modify it. |
861 |
_ACEOF |
862 |
exit 0 |
863 |
fi |
864 |
exec 5>config.log |
865 |
cat >&5 <<_ACEOF |
866 |
This file contains any messages produced by compilers while |
867 |
running configure, to aid debugging if configure makes a mistake. |
868 |
|
869 |
It was created by $as_me, which was |
870 |
generated by GNU Autoconf 2.57. Invocation command line was |
871 |
|
872 |
$ $0 $@ |
873 |
|
874 |
_ACEOF |
875 |
{ |
876 |
cat <<_ASUNAME |
877 |
## --------- ## |
878 |
## Platform. ## |
879 |
## --------- ## |
880 |
|
881 |
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` |
882 |
uname -m = `(uname -m) 2>/dev/null || echo unknown` |
883 |
uname -r = `(uname -r) 2>/dev/null || echo unknown` |
884 |
uname -s = `(uname -s) 2>/dev/null || echo unknown` |
885 |
uname -v = `(uname -v) 2>/dev/null || echo unknown` |
886 |
|
887 |
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` |
888 |
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` |
889 |
|
890 |
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` |
891 |
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` |
892 |
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` |
893 |
hostinfo = `(hostinfo) 2>/dev/null || echo unknown` |
894 |
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` |
895 |
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` |
896 |
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` |
897 |
|
898 |
_ASUNAME |
899 |
|
900 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
901 |
for as_dir in $PATH |
902 |
do |
903 |
IFS=$as_save_IFS |
904 |
test -z "$as_dir" && as_dir=. |
905 |
echo "PATH: $as_dir" |
906 |
done |
907 |
|
908 |
} >&5 |
909 |
|
910 |
cat >&5 <<_ACEOF |
911 |
|
912 |
|
913 |
## ----------- ## |
914 |
## Core tests. ## |
915 |
## ----------- ## |
916 |
|
917 |
_ACEOF |
918 |
|
919 |
|
920 |
# Keep a trace of the command line. |
921 |
# Strip out --no-create and --no-recursion so they do not pile up. |
922 |
# Strip out --silent because we don't want to record it for future runs. |
923 |
# Also quote any args containing shell meta-characters. |
924 |
# Make two passes to allow for proper duplicate-argument suppression. |
925 |
ac_configure_args= |
926 |
ac_configure_args0= |
927 |
ac_configure_args1= |
928 |
ac_sep= |
929 |
ac_must_keep_next=false |
930 |
for ac_pass in 1 2 |
931 |
do |
932 |
for ac_arg |
933 |
do |
934 |
case $ac_arg in |
935 |
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
936 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
937 |
| -silent | --silent | --silen | --sile | --sil) |
938 |
continue ;; |
939 |
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) |
940 |
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
941 |
esac |
942 |
case $ac_pass in |
943 |
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; |
944 |
2) |
945 |
ac_configure_args1="$ac_configure_args1 '$ac_arg'" |
946 |
if test $ac_must_keep_next = true; then |
947 |
ac_must_keep_next=false # Got value, back to normal. |
948 |
else |
949 |
case $ac_arg in |
950 |
*=* | --config-cache | -C | -disable-* | --disable-* \ |
951 |
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
952 |
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
953 |
| -with-* | --with-* | -without-* | --without-* | --x) |
954 |
case "$ac_configure_args0 " in |
955 |
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
956 |
esac |
957 |
;; |
958 |
-* ) ac_must_keep_next=true ;; |
959 |
esac |
960 |
fi |
961 |
ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" |
962 |
# Get rid of the leading space. |
963 |
ac_sep=" " |
964 |
;; |
965 |
esac |
966 |
done |
967 |
done |
968 |
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } |
969 |
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } |
970 |
|
971 |
# When interrupted or exit'd, cleanup temporary files, and complete |
972 |
# config.log. We remove comments because anyway the quotes in there |
973 |
# would cause problems or look ugly. |
974 |
# WARNING: Be sure not to use single quotes in there, as some shells, |
975 |
# such as our DU 5.0 friend, will then `close' the trap. |
976 |
trap 'exit_status=$? |
977 |
# Save into config.log some information that might help in debugging. |
978 |
{ |
979 |
echo |
980 |
|
981 |
cat <<\_ASBOX |
982 |
## ---------------- ## |
983 |
## Cache variables. ## |
984 |
## ---------------- ## |
985 |
_ASBOX |
986 |
echo |
987 |
# The following way of writing the cache mishandles newlines in values, |
988 |
{ |
989 |
(set) 2>&1 | |
990 |
case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in |
991 |
*ac_space=\ *) |
992 |
sed -n \ |
993 |
"s/'"'"'/'"'"'\\\\'"'"''"'"'/g; |
994 |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" |
995 |
;; |
996 |
*) |
997 |
sed -n \ |
998 |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
999 |
;; |
1000 |
esac; |
1001 |
} |
1002 |
echo |
1003 |
|
1004 |
cat <<\_ASBOX |
1005 |
## ----------------- ## |
1006 |
## Output variables. ## |
1007 |
## ----------------- ## |
1008 |
_ASBOX |
1009 |
echo |
1010 |
for ac_var in $ac_subst_vars |
1011 |
do |
1012 |
eval ac_val=$`echo $ac_var` |
1013 |
echo "$ac_var='"'"'$ac_val'"'"'" |
1014 |
done | sort |
1015 |
echo |
1016 |
|
1017 |
if test -n "$ac_subst_files"; then |
1018 |
cat <<\_ASBOX |
1019 |
## ------------- ## |
1020 |
## Output files. ## |
1021 |
## ------------- ## |
1022 |
_ASBOX |
1023 |
echo |
1024 |
for ac_var in $ac_subst_files |
1025 |
do |
1026 |
eval ac_val=$`echo $ac_var` |
1027 |
echo "$ac_var='"'"'$ac_val'"'"'" |
1028 |
done | sort |
1029 |
echo |
1030 |
fi |
1031 |
|
1032 |
if test -s confdefs.h; then |
1033 |
cat <<\_ASBOX |
1034 |
## ----------- ## |
1035 |
## confdefs.h. ## |
1036 |
## ----------- ## |
1037 |
_ASBOX |
1038 |
echo |
1039 |
sed "/^$/d" confdefs.h | sort |
1040 |
echo |
1041 |
fi |
1042 |
test "$ac_signal" != 0 && |
1043 |
echo "$as_me: caught signal $ac_signal" |
1044 |
echo "$as_me: exit $exit_status" |
1045 |
} >&5 |
1046 |
rm -f core core.* *.core && |
1047 |
rm -rf conftest* confdefs* conf$$* $ac_clean_files && |
1048 |
exit $exit_status |
1049 |
' 0 |
1050 |
for ac_signal in 1 2 13 15; do |
1051 |
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal |
1052 |
done |
1053 |
ac_signal=0 |
1054 |
|
1055 |
# confdefs.h avoids OS command line length limits that DEFS can exceed. |
1056 |
rm -rf conftest* confdefs.h |
1057 |
# AIX cpp loses on an empty file, so make sure it contains at least a newline. |
1058 |
echo >confdefs.h |
1059 |
|
1060 |
# Predefined preprocessor variables. |
1061 |
|
1062 |
cat >>confdefs.h <<_ACEOF |
1063 |
#define PACKAGE_NAME "$PACKAGE_NAME" |
1064 |
_ACEOF |
1065 |
|
1066 |
|
1067 |
cat >>confdefs.h <<_ACEOF |
1068 |
#define PACKAGE_TARNAME "$PACKAGE_TARNAME" |
1069 |
_ACEOF |
1070 |
|
1071 |
|
1072 |
cat >>confdefs.h <<_ACEOF |
1073 |
#define PACKAGE_VERSION "$PACKAGE_VERSION" |
1074 |
_ACEOF |
1075 |
|
1076 |
|
1077 |
cat >>confdefs.h <<_ACEOF |
1078 |
#define PACKAGE_STRING "$PACKAGE_STRING" |
1079 |
_ACEOF |
1080 |
|
1081 |
|
1082 |
cat >>confdefs.h <<_ACEOF |
1083 |
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
1084 |
_ACEOF |
1085 |
|
1086 |
|
1087 |
# Let the site file select an alternate cache file if it wants to. |
1088 |
# Prefer explicitly selected file to automatically selected ones. |
1089 |
if test -z "$CONFIG_SITE"; then |
1090 |
if test "x$prefix" != xNONE; then |
1091 |
CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" |
1092 |
else |
1093 |
CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" |
1094 |
fi |
1095 |
fi |
1096 |
for ac_site_file in $CONFIG_SITE; do |
1097 |
if test -r "$ac_site_file"; then |
1098 |
{ echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 |
1099 |
echo "$as_me: loading site script $ac_site_file" >&6;} |
1100 |
sed 's/^/| /' "$ac_site_file" >&5 |
1101 |
. "$ac_site_file" |
1102 |
fi |
1103 |
done |
1104 |
|
1105 |
if test -r "$cache_file"; then |
1106 |
# Some versions of bash will fail to source /dev/null (special |
1107 |
# files actually), so we avoid doing that. |
1108 |
if test -f "$cache_file"; then |
1109 |
{ echo "$as_me:$LINENO: loading cache $cache_file" >&5 |
1110 |
echo "$as_me: loading cache $cache_file" >&6;} |
1111 |
case $cache_file in |
1112 |
[\\/]* | ?:[\\/]* ) . $cache_file;; |
1113 |
*) . ./$cache_file;; |
1114 |
esac |
1115 |
fi |
1116 |
else |
1117 |
{ echo "$as_me:$LINENO: creating cache $cache_file" >&5 |
1118 |
echo "$as_me: creating cache $cache_file" >&6;} |
1119 |
>$cache_file |
1120 |
fi |
1121 |
|
1122 |
# Check that the precious variables saved in the cache have kept the same |
1123 |
# value. |
1124 |
ac_cache_corrupted=false |
1125 |
for ac_var in `(set) 2>&1 | |
1126 |
sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do |
1127 |
eval ac_old_set=\$ac_cv_env_${ac_var}_set |
1128 |
eval ac_new_set=\$ac_env_${ac_var}_set |
1129 |
eval ac_old_val="\$ac_cv_env_${ac_var}_value" |
1130 |
eval ac_new_val="\$ac_env_${ac_var}_value" |
1131 |
case $ac_old_set,$ac_new_set in |
1132 |
set,) |
1133 |
{ echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
1134 |
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
1135 |
ac_cache_corrupted=: ;; |
1136 |
,set) |
1137 |
{ echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 |
1138 |
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
1139 |
ac_cache_corrupted=: ;; |
1140 |
,);; |
1141 |
*) |
1142 |
if test "x$ac_old_val" != "x$ac_new_val"; then |
1143 |
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 |
1144 |
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
1145 |
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5 |
1146 |
echo "$as_me: former value: $ac_old_val" >&2;} |
1147 |
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5 |
1148 |
echo "$as_me: current value: $ac_new_val" >&2;} |
1149 |
ac_cache_corrupted=: |
1150 |
fi;; |
1151 |
esac |
1152 |
# Pass precious variables to config.status. |
1153 |
if test "$ac_new_set" = set; then |
1154 |
case $ac_new_val in |
1155 |
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) |
1156 |
ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
1157 |
*) ac_arg=$ac_var=$ac_new_val ;; |
1158 |
esac |
1159 |
case " $ac_configure_args " in |
1160 |
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
1161 |
*) ac_configure_args="$ac_configure_args '$ac_arg'" ;; |
1162 |
esac |
1163 |
fi |
1164 |
done |
1165 |
if $ac_cache_corrupted; then |
1166 |
{ echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 |
1167 |
echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
1168 |
{ { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 |
1169 |
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} |
1170 |
{ (exit 1); exit 1; }; } |
1171 |
fi |
1172 |
|
1173 |
ac_ext=c |
1174 |
ac_cpp='$CPP $CPPFLAGS' |
1175 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
1176 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
1177 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
1178 |
|
1179 |
|
1180 |
|
1181 |
|
1182 |
|
1183 |
|
1184 |
|
1185 |
|
1186 |
|
1187 |
|
1188 |
|
1189 |
|
1190 |
|
1191 |
|
1192 |
|
1193 |
|
1194 |
|
1195 |
|
1196 |
|
1197 |
am__api_version="1.6" |
1198 |
ac_aux_dir= |
1199 |
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do |
1200 |
if test -f $ac_dir/install-sh; then |
1201 |
ac_aux_dir=$ac_dir |
1202 |
ac_install_sh="$ac_aux_dir/install-sh -c" |
1203 |
break |
1204 |
elif test -f $ac_dir/install.sh; then |
1205 |
ac_aux_dir=$ac_dir |
1206 |
ac_install_sh="$ac_aux_dir/install.sh -c" |
1207 |
break |
1208 |
elif test -f $ac_dir/shtool; then |
1209 |
ac_aux_dir=$ac_dir |
1210 |
ac_install_sh="$ac_aux_dir/shtool install -c" |
1211 |
break |
1212 |
fi |
1213 |
done |
1214 |
if test -z "$ac_aux_dir"; then |
1215 |
{ { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 |
1216 |
echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} |
1217 |
{ (exit 1); exit 1; }; } |
1218 |
fi |
1219 |
ac_config_guess="$SHELL $ac_aux_dir/config.guess" |
1220 |
ac_config_sub="$SHELL $ac_aux_dir/config.sub" |
1221 |
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. |
1222 |
|
1223 |
# Find a good install program. We prefer a C program (faster), |
1224 |
# so one script is as good as another. But avoid the broken or |
1225 |
# incompatible versions: |
1226 |
# SysV /etc/install, /usr/sbin/install |
1227 |
# SunOS /usr/etc/install |
1228 |
# IRIX /sbin/install |
1229 |
# AIX /bin/install |
1230 |
# AmigaOS /C/install, which installs bootblocks on floppy discs |
1231 |
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
1232 |
# AFS /usr/afsws/bin/install, which mishandles nonexistent args |
1233 |
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
1234 |
# ./install, which can be erroneously created by make from ./install.sh. |
1235 |
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
1236 |
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 |
1237 |
if test -z "$INSTALL"; then |
1238 |
if test "${ac_cv_path_install+set}" = set; then |
1239 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1240 |
else |
1241 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1242 |
for as_dir in $PATH |
1243 |
do |
1244 |
IFS=$as_save_IFS |
1245 |
test -z "$as_dir" && as_dir=. |
1246 |
# Account for people who put trailing slashes in PATH elements. |
1247 |
case $as_dir/ in |
1248 |
./ | .// | /cC/* | \ |
1249 |
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
1250 |
/usr/ucb/* ) ;; |
1251 |
*) |
1252 |
# OSF1 and SCO ODT 3.0 have their own names for install. |
1253 |
# Don't use installbsd from OSF since it installs stuff as root |
1254 |
# by default. |
1255 |
for ac_prog in ginstall scoinst install; do |
1256 |
for ac_exec_ext in '' $ac_executable_extensions; do |
1257 |
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
1258 |
if test $ac_prog = install && |
1259 |
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
1260 |
# AIX install. It has an incompatible calling convention. |
1261 |
: |
1262 |
elif test $ac_prog = install && |
1263 |
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
1264 |
# program-specific install script used by HP pwplus--don't use. |
1265 |
: |
1266 |
else |
1267 |
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
1268 |
break 3 |
1269 |
fi |
1270 |
fi |
1271 |
done |
1272 |
done |
1273 |
;; |
1274 |
esac |
1275 |
done |
1276 |
|
1277 |
|
1278 |
fi |
1279 |
if test "${ac_cv_path_install+set}" = set; then |
1280 |
INSTALL=$ac_cv_path_install |
1281 |
else |
1282 |
# As a last resort, use the slow shell script. We don't cache a |
1283 |
# path for INSTALL within a source directory, because that will |
1284 |
# break other packages using the cache if that directory is |
1285 |
# removed, or if the path is relative. |
1286 |
INSTALL=$ac_install_sh |
1287 |
fi |
1288 |
fi |
1289 |
echo "$as_me:$LINENO: result: $INSTALL" >&5 |
1290 |
echo "${ECHO_T}$INSTALL" >&6 |
1291 |
|
1292 |
# Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
1293 |
# It thinks the first close brace ends the variable substitution. |
1294 |
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
1295 |
|
1296 |
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
1297 |
|
1298 |
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
1299 |
|
1300 |
echo "$as_me:$LINENO: checking whether build environment is sane" >&5 |
1301 |
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6 |
1302 |
# Just in case |
1303 |
sleep 1 |
1304 |
echo timestamp > conftest.file |
1305 |
# Do `set' in a subshell so we don't clobber the current shell's |
1306 |
# arguments. Must try -L first in case configure is actually a |
1307 |
# symlink; some systems play weird games with the mod time of symlinks |
1308 |
# (eg FreeBSD returns the mod time of the symlink's containing |
1309 |
# directory). |
1310 |
if ( |
1311 |
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` |
1312 |
if test "$*" = "X"; then |
1313 |
# -L didn't work. |
1314 |
set X `ls -t $srcdir/configure conftest.file` |
1315 |
fi |
1316 |
rm -f conftest.file |
1317 |
if test "$*" != "X $srcdir/configure conftest.file" \ |
1318 |
&& test "$*" != "X conftest.file $srcdir/configure"; then |
1319 |
|
1320 |
# If neither matched, then we have a broken ls. This can happen |
1321 |
# if, for instance, CONFIG_SHELL is bash and it inherits a |
1322 |
# broken ls alias from the environment. This has actually |
1323 |
# happened. Such a system could not be considered "sane". |
1324 |
{ { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken |
1325 |
alias in your environment" >&5 |
1326 |
echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken |
1327 |
alias in your environment" >&2;} |
1328 |
{ (exit 1); exit 1; }; } |
1329 |
fi |
1330 |
|
1331 |
test "$2" = conftest.file |
1332 |
) |
1333 |
then |
1334 |
# Ok. |
1335 |
: |
1336 |
else |
1337 |
{ { echo "$as_me:$LINENO: error: newly created file is older than distributed files! |
1338 |
Check your system clock" >&5 |
1339 |
echo "$as_me: error: newly created file is older than distributed files! |
1340 |
Check your system clock" >&2;} |
1341 |
{ (exit 1); exit 1; }; } |
1342 |
fi |
1343 |
echo "$as_me:$LINENO: result: yes" >&5 |
1344 |
echo "${ECHO_T}yes" >&6 |
1345 |
test "$program_prefix" != NONE && |
1346 |
program_transform_name="s,^,$program_prefix,;$program_transform_name" |
1347 |
# Use a double $ so make ignores it. |
1348 |
test "$program_suffix" != NONE && |
1349 |
program_transform_name="s,\$,$program_suffix,;$program_transform_name" |
1350 |
# Double any \ or $. echo might interpret backslashes. |
1351 |
# By default was `s,x,x', remove it if useless. |
1352 |
cat <<\_ACEOF >conftest.sed |
1353 |
s/[\\$]/&&/g;s/;s,x,x,$// |
1354 |
_ACEOF |
1355 |
program_transform_name=`echo $program_transform_name | sed -f conftest.sed` |
1356 |
rm conftest.sed |
1357 |
|
1358 |
|
1359 |
# expand $ac_aux_dir to an absolute path |
1360 |
am_aux_dir=`cd $ac_aux_dir && pwd` |
1361 |
|
1362 |
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" |
1363 |
# Use eval to expand $SHELL |
1364 |
if eval "$MISSING --run true"; then |
1365 |
am_missing_run="$MISSING --run " |
1366 |
else |
1367 |
am_missing_run= |
1368 |
{ echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 |
1369 |
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} |
1370 |
fi |
1371 |
|
1372 |
for ac_prog in gawk mawk nawk awk |
1373 |
do |
1374 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
1375 |
set dummy $ac_prog; ac_word=$2 |
1376 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1377 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1378 |
if test "${ac_cv_prog_AWK+set}" = set; then |
1379 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1380 |
else |
1381 |
if test -n "$AWK"; then |
1382 |
ac_cv_prog_AWK="$AWK" # Let the user override the test. |
1383 |
else |
1384 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1385 |
for as_dir in $PATH |
1386 |
do |
1387 |
IFS=$as_save_IFS |
1388 |
test -z "$as_dir" && as_dir=. |
1389 |
for ac_exec_ext in '' $ac_executable_extensions; do |
1390 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1391 |
ac_cv_prog_AWK="$ac_prog" |
1392 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1393 |
break 2 |
1394 |
fi |
1395 |
done |
1396 |
done |
1397 |
|
1398 |
fi |
1399 |
fi |
1400 |
AWK=$ac_cv_prog_AWK |
1401 |
if test -n "$AWK"; then |
1402 |
echo "$as_me:$LINENO: result: $AWK" >&5 |
1403 |
echo "${ECHO_T}$AWK" >&6 |
1404 |
else |
1405 |
echo "$as_me:$LINENO: result: no" >&5 |
1406 |
echo "${ECHO_T}no" >&6 |
1407 |
fi |
1408 |
|
1409 |
test -n "$AWK" && break |
1410 |
done |
1411 |
|
1412 |
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
1413 |
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 |
1414 |
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'` |
1415 |
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then |
1416 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1417 |
else |
1418 |
cat >conftest.make <<\_ACEOF |
1419 |
all: |
1420 |
@echo 'ac_maketemp="$(MAKE)"' |
1421 |
_ACEOF |
1422 |
# GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
1423 |
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` |
1424 |
if test -n "$ac_maketemp"; then |
1425 |
eval ac_cv_prog_make_${ac_make}_set=yes |
1426 |
else |
1427 |
eval ac_cv_prog_make_${ac_make}_set=no |
1428 |
fi |
1429 |
rm -f conftest.make |
1430 |
fi |
1431 |
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then |
1432 |
echo "$as_me:$LINENO: result: yes" >&5 |
1433 |
echo "${ECHO_T}yes" >&6 |
1434 |
SET_MAKE= |
1435 |
else |
1436 |
echo "$as_me:$LINENO: result: no" >&5 |
1437 |
echo "${ECHO_T}no" >&6 |
1438 |
SET_MAKE="MAKE=${MAKE-make}" |
1439 |
fi |
1440 |
|
1441 |
# test to see if srcdir already configured |
1442 |
if test "`cd $srcdir && pwd`" != "`pwd`" && |
1443 |
test -f $srcdir/config.status; then |
1444 |
{ { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 |
1445 |
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} |
1446 |
{ (exit 1); exit 1; }; } |
1447 |
fi |
1448 |
|
1449 |
# Define the identity of the package. |
1450 |
PACKAGE=pxys2 |
1451 |
VERSION=2.0.0 |
1452 |
|
1453 |
|
1454 |
cat >>confdefs.h <<_ACEOF |
1455 |
#define PACKAGE "$PACKAGE" |
1456 |
_ACEOF |
1457 |
|
1458 |
|
1459 |
cat >>confdefs.h <<_ACEOF |
1460 |
#define VERSION "$VERSION" |
1461 |
_ACEOF |
1462 |
|
1463 |
# Some tools Automake needs. |
1464 |
|
1465 |
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} |
1466 |
|
1467 |
|
1468 |
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} |
1469 |
|
1470 |
|
1471 |
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} |
1472 |
|
1473 |
|
1474 |
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} |
1475 |
|
1476 |
|
1477 |
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} |
1478 |
|
1479 |
|
1480 |
AMTAR=${AMTAR-"${am_missing_run}tar"} |
1481 |
|
1482 |
install_sh=${install_sh-"$am_aux_dir/install-sh"} |
1483 |
|
1484 |
# Installed binaries are usually stripped using `strip' when the user |
1485 |
# run `make install-strip'. However `strip' might not be the right |
1486 |
# tool to use in cross-compilation environments, therefore Automake |
1487 |
# will honor the `STRIP' environment variable to overrule this program. |
1488 |
if test "$cross_compiling" != no; then |
1489 |
if test -n "$ac_tool_prefix"; then |
1490 |
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
1491 |
set dummy ${ac_tool_prefix}strip; ac_word=$2 |
1492 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1493 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1494 |
if test "${ac_cv_prog_STRIP+set}" = set; then |
1495 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1496 |
else |
1497 |
if test -n "$STRIP"; then |
1498 |
ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
1499 |
else |
1500 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1501 |
for as_dir in $PATH |
1502 |
do |
1503 |
IFS=$as_save_IFS |
1504 |
test -z "$as_dir" && as_dir=. |
1505 |
for ac_exec_ext in '' $ac_executable_extensions; do |
1506 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1507 |
ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
1508 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1509 |
break 2 |
1510 |
fi |
1511 |
done |
1512 |
done |
1513 |
|
1514 |
fi |
1515 |
fi |
1516 |
STRIP=$ac_cv_prog_STRIP |
1517 |
if test -n "$STRIP"; then |
1518 |
echo "$as_me:$LINENO: result: $STRIP" >&5 |
1519 |
echo "${ECHO_T}$STRIP" >&6 |
1520 |
else |
1521 |
echo "$as_me:$LINENO: result: no" >&5 |
1522 |
echo "${ECHO_T}no" >&6 |
1523 |
fi |
1524 |
|
1525 |
fi |
1526 |
if test -z "$ac_cv_prog_STRIP"; then |
1527 |
ac_ct_STRIP=$STRIP |
1528 |
# Extract the first word of "strip", so it can be a program name with args. |
1529 |
set dummy strip; ac_word=$2 |
1530 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1531 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1532 |
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then |
1533 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1534 |
else |
1535 |
if test -n "$ac_ct_STRIP"; then |
1536 |
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. |
1537 |
else |
1538 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1539 |
for as_dir in $PATH |
1540 |
do |
1541 |
IFS=$as_save_IFS |
1542 |
test -z "$as_dir" && as_dir=. |
1543 |
for ac_exec_ext in '' $ac_executable_extensions; do |
1544 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1545 |
ac_cv_prog_ac_ct_STRIP="strip" |
1546 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1547 |
break 2 |
1548 |
fi |
1549 |
done |
1550 |
done |
1551 |
|
1552 |
test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":" |
1553 |
fi |
1554 |
fi |
1555 |
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP |
1556 |
if test -n "$ac_ct_STRIP"; then |
1557 |
echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 |
1558 |
echo "${ECHO_T}$ac_ct_STRIP" >&6 |
1559 |
else |
1560 |
echo "$as_me:$LINENO: result: no" >&5 |
1561 |
echo "${ECHO_T}no" >&6 |
1562 |
fi |
1563 |
|
1564 |
STRIP=$ac_ct_STRIP |
1565 |
else |
1566 |
STRIP="$ac_cv_prog_STRIP" |
1567 |
fi |
1568 |
|
1569 |
fi |
1570 |
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" |
1571 |
|
1572 |
# We need awk for the "check" target. The system "awk" is bad on |
1573 |
# some platforms. |
1574 |
|
1575 |
|
1576 |
|
1577 |
echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5 |
1578 |
echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6 |
1579 |
# Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. |
1580 |
if test "${enable_maintainer_mode+set}" = set; then |
1581 |
enableval="$enable_maintainer_mode" |
1582 |
USE_MAINTAINER_MODE=$enableval |
1583 |
else |
1584 |
USE_MAINTAINER_MODE=no |
1585 |
fi; |
1586 |
echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5 |
1587 |
echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6 |
1588 |
|
1589 |
|
1590 |
if test $USE_MAINTAINER_MODE = yes; then |
1591 |
MAINTAINER_MODE_TRUE= |
1592 |
MAINTAINER_MODE_FALSE='#' |
1593 |
else |
1594 |
MAINTAINER_MODE_TRUE='#' |
1595 |
MAINTAINER_MODE_FALSE= |
1596 |
fi |
1597 |
|
1598 |
MAINT=$MAINTAINER_MODE_TRUE |
1599 |
|
1600 |
|
1601 |
|
1602 |
|
1603 |
subdirs="$subdirs libopas pxyscand pxyservd" |
1604 |
|
1605 |
ac_config_files="$ac_config_files Makefile" |
1606 |
cat >confcache <<\_ACEOF |
1607 |
# This file is a shell script that caches the results of configure |
1608 |
# tests run on this system so they can be shared between configure |
1609 |
# scripts and configure runs, see configure's option --config-cache. |
1610 |
# It is not useful on other systems. If it contains results you don't |
1611 |
# want to keep, you may remove or edit it. |
1612 |
# |
1613 |
# config.status only pays attention to the cache file if you give it |
1614 |
# the --recheck option to rerun configure. |
1615 |
# |
1616 |
# `ac_cv_env_foo' variables (set or unset) will be overridden when |
1617 |
# loading this file, other *unset* `ac_cv_foo' will be assigned the |
1618 |
# following values. |
1619 |
|
1620 |
_ACEOF |
1621 |
|
1622 |
# The following way of writing the cache mishandles newlines in values, |
1623 |
# but we know of no workaround that is simple, portable, and efficient. |
1624 |
# So, don't put newlines in cache variables' values. |
1625 |
# Ultrix sh set writes to stderr and can't be redirected directly, |
1626 |
# and sets the high bit in the cache file unless we assign to the vars. |
1627 |
{ |
1628 |
(set) 2>&1 | |
1629 |
case `(ac_space=' '; set | grep ac_space) 2>&1` in |
1630 |
*ac_space=\ *) |
1631 |
# `set' does not quote correctly, so add quotes (double-quote |
1632 |
# substitution turns \\\\ into \\, and sed turns \\ into \). |
1633 |
sed -n \ |
1634 |
"s/'/'\\\\''/g; |
1635 |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
1636 |
;; |
1637 |
*) |
1638 |
# `set' quotes correctly as required by POSIX, so do not add quotes. |
1639 |
sed -n \ |
1640 |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
1641 |
;; |
1642 |
esac; |
1643 |
} | |
1644 |
sed ' |
1645 |
t clear |
1646 |
: clear |
1647 |
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ |
1648 |
t end |
1649 |
/^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
1650 |
: end' >>confcache |
1651 |
if diff $cache_file confcache >/dev/null 2>&1; then :; else |
1652 |
if test -w $cache_file; then |
1653 |
test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" |
1654 |
cat confcache >$cache_file |
1655 |
else |
1656 |
echo "not updating unwritable cache $cache_file" |
1657 |
fi |
1658 |
fi |
1659 |
rm -f confcache |
1660 |
|
1661 |
test "x$prefix" = xNONE && prefix=$ac_default_prefix |
1662 |
# Let make expand exec_prefix. |
1663 |
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
1664 |
|
1665 |
# VPATH may cause trouble with some makes, so we remove $(srcdir), |
1666 |
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and |
1667 |
# trailing colons and then remove the whole line if VPATH becomes empty |
1668 |
# (actually we leave an empty line to preserve line numbers). |
1669 |
if test "x$srcdir" = x.; then |
1670 |
ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
1671 |
s/:*\$(srcdir):*/:/; |
1672 |
s/:*\${srcdir}:*/:/; |
1673 |
s/:*@srcdir@:*/:/; |
1674 |
s/^\([^=]*=[ ]*\):*/\1/; |
1675 |
s/:*$//; |
1676 |
s/^[^=]*=[ ]*$//; |
1677 |
}' |
1678 |
fi |
1679 |
|
1680 |
# Transform confdefs.h into DEFS. |
1681 |
# Protect against shell expansion while executing Makefile rules. |
1682 |
# Protect against Makefile macro expansion. |
1683 |
# |
1684 |
# If the first sed substitution is executed (which looks for macros that |
1685 |
# take arguments), then we branch to the quote section. Otherwise, |
1686 |
# look for a macro that doesn't take arguments. |
1687 |
cat >confdef2opt.sed <<\_ACEOF |
1688 |
t clear |
1689 |
: clear |
1690 |
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g |
1691 |
t quote |
1692 |
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g |
1693 |
t quote |
1694 |
d |
1695 |
: quote |
1696 |
s,[ `~#$^&*(){}\\|;'"<>?],\\&,g |
1697 |
s,\[,\\&,g |
1698 |
s,\],\\&,g |
1699 |
s,\$,$$,g |
1700 |
p |
1701 |
_ACEOF |
1702 |
# We use echo to avoid assuming a particular line-breaking character. |
1703 |
# The extra dot is to prevent the shell from consuming trailing |
1704 |
# line-breaks from the sub-command output. A line-break within |
1705 |
# single-quotes doesn't work because, if this script is created in a |
1706 |
# platform that uses two characters for line-breaks (e.g., DOS), tr |
1707 |
# would break. |
1708 |
ac_LF_and_DOT=`echo; echo .` |
1709 |
DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'` |
1710 |
rm -f confdef2opt.sed |
1711 |
|
1712 |
|
1713 |
ac_libobjs= |
1714 |
ac_ltlibobjs= |
1715 |
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
1716 |
# 1. Remove the extension, and $U if already installed. |
1717 |
ac_i=`echo "$ac_i" | |
1718 |
sed 's/\$U\././;s/\.o$//;s/\.obj$//'` |
1719 |
# 2. Add them. |
1720 |
ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" |
1721 |
ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' |
1722 |
done |
1723 |
LIBOBJS=$ac_libobjs |
1724 |
|
1725 |
LTLIBOBJS=$ac_ltlibobjs |
1726 |
|
1727 |
|
1728 |
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then |
1729 |
{ { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined. |
1730 |
Usually this means the macro was only invoked conditionally." >&5 |
1731 |
echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined. |
1732 |
Usually this means the macro was only invoked conditionally." >&2;} |
1733 |
{ (exit 1); exit 1; }; } |
1734 |
fi |
1735 |
|
1736 |
: ${CONFIG_STATUS=./config.status} |
1737 |
ac_clean_files_save=$ac_clean_files |
1738 |
ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
1739 |
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 |
1740 |
echo "$as_me: creating $CONFIG_STATUS" >&6;} |
1741 |
cat >$CONFIG_STATUS <<_ACEOF |
1742 |
#! $SHELL |
1743 |
# Generated by $as_me. |
1744 |
# Run this file to recreate the current configuration. |
1745 |
# Compiler output produced by configure, useful for debugging |
1746 |
# configure, is in config.log if it exists. |
1747 |
|
1748 |
debug=false |
1749 |
ac_cs_recheck=false |
1750 |
ac_cs_silent=false |
1751 |
SHELL=\${CONFIG_SHELL-$SHELL} |
1752 |
_ACEOF |
1753 |
|
1754 |
cat >>$CONFIG_STATUS <<\_ACEOF |
1755 |
## --------------------- ## |
1756 |
## M4sh Initialization. ## |
1757 |
## --------------------- ## |
1758 |
|
1759 |
# Be Bourne compatible |
1760 |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
1761 |
emulate sh |
1762 |
NULLCMD=: |
1763 |
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
1764 |
# is contrary to our usage. Disable this feature. |
1765 |
alias -g '${1+"$@"}'='"$@"' |
1766 |
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
1767 |
set -o posix |
1768 |
fi |
1769 |
|
1770 |
# Support unset when possible. |
1771 |
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then |
1772 |
as_unset=unset |
1773 |
else |
1774 |
as_unset=false |
1775 |
fi |
1776 |
|
1777 |
|
1778 |
# Work around bugs in pre-3.0 UWIN ksh. |
1779 |
$as_unset ENV MAIL MAILPATH |
1780 |
PS1='$ ' |
1781 |
PS2='> ' |
1782 |
PS4='+ ' |
1783 |
|
1784 |
# NLS nuisances. |
1785 |
for as_var in \ |
1786 |
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ |
1787 |
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
1788 |
LC_TELEPHONE LC_TIME |
1789 |
do |
1790 |
if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then |
1791 |
eval $as_var=C; export $as_var |
1792 |
else |
1793 |
$as_unset $as_var |
1794 |
fi |
1795 |
done |
1796 |
|
1797 |
# Required to use basename. |
1798 |
if expr a : '\(a\)' >/dev/null 2>&1; then |
1799 |
as_expr=expr |
1800 |
else |
1801 |
as_expr=false |
1802 |
fi |
1803 |
|
1804 |
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then |
1805 |
as_basename=basename |
1806 |
else |
1807 |
as_basename=false |
1808 |
fi |
1809 |
|
1810 |
|
1811 |
# Name of the executable. |
1812 |
as_me=`$as_basename "$0" || |
1813 |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
1814 |
X"$0" : 'X\(//\)$' \| \ |
1815 |
X"$0" : 'X\(/\)$' \| \ |
1816 |
. : '\(.\)' 2>/dev/null || |
1817 |
echo X/"$0" | |
1818 |
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } |
1819 |
/^X\/\(\/\/\)$/{ s//\1/; q; } |
1820 |
/^X\/\(\/\).*/{ s//\1/; q; } |
1821 |
s/.*/./; q'` |
1822 |
|
1823 |
|
1824 |
# PATH needs CR, and LINENO needs CR and PATH. |
1825 |
# Avoid depending upon Character Ranges. |
1826 |
as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
1827 |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
1828 |
as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
1829 |
as_cr_digits='0123456789' |
1830 |
as_cr_alnum=$as_cr_Letters$as_cr_digits |
1831 |
|
1832 |
# The user is always right. |
1833 |
if test "${PATH_SEPARATOR+set}" != set; then |
1834 |
echo "#! /bin/sh" >conf$$.sh |
1835 |
echo "exit 0" >>conf$$.sh |
1836 |
chmod +x conf$$.sh |
1837 |
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
1838 |
PATH_SEPARATOR=';' |
1839 |
else |
1840 |
PATH_SEPARATOR=: |
1841 |
fi |
1842 |
rm -f conf$$.sh |
1843 |
fi |
1844 |
|
1845 |
|
1846 |
as_lineno_1=$LINENO |
1847 |
as_lineno_2=$LINENO |
1848 |
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
1849 |
test "x$as_lineno_1" != "x$as_lineno_2" && |
1850 |
test "x$as_lineno_3" = "x$as_lineno_2" || { |
1851 |
# Find who we are. Look in the path if we contain no path at all |
1852 |
# relative or not. |
1853 |
case $0 in |
1854 |
*[\\/]* ) as_myself=$0 ;; |
1855 |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1856 |
for as_dir in $PATH |
1857 |
do |
1858 |
IFS=$as_save_IFS |
1859 |
test -z "$as_dir" && as_dir=. |
1860 |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
1861 |
done |
1862 |
|
1863 |
;; |
1864 |
esac |
1865 |
# We did not find ourselves, most probably we were run as `sh COMMAND' |
1866 |
# in which case we are not to be found in the path. |
1867 |
if test "x$as_myself" = x; then |
1868 |
as_myself=$0 |
1869 |
fi |
1870 |
if test ! -f "$as_myself"; then |
1871 |
{ { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 |
1872 |
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} |
1873 |
{ (exit 1); exit 1; }; } |
1874 |
fi |
1875 |
case $CONFIG_SHELL in |
1876 |
'') |
1877 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1878 |
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
1879 |
do |
1880 |
IFS=$as_save_IFS |
1881 |
test -z "$as_dir" && as_dir=. |
1882 |
for as_base in sh bash ksh sh5; do |
1883 |
case $as_dir in |
1884 |
/*) |
1885 |
if ("$as_dir/$as_base" -c ' |
1886 |
as_lineno_1=$LINENO |
1887 |
as_lineno_2=$LINENO |
1888 |
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
1889 |
test "x$as_lineno_1" != "x$as_lineno_2" && |
1890 |
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then |
1891 |
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } |
1892 |
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } |
1893 |
CONFIG_SHELL=$as_dir/$as_base |
1894 |
export CONFIG_SHELL |
1895 |
exec "$CONFIG_SHELL" "$0" ${1+"$@"} |
1896 |
fi;; |
1897 |
esac |
1898 |
done |
1899 |
done |
1900 |
;; |
1901 |
esac |
1902 |
|
1903 |
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
1904 |
# uniformly replaced by the line number. The first 'sed' inserts a |
1905 |
# line-number line before each line; the second 'sed' does the real |
1906 |
# work. The second script uses 'N' to pair each line-number line |
1907 |
# with the numbered line, and appends trailing '-' during |
1908 |
# substitution so that $LINENO is not a special case at line end. |
1909 |
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
1910 |
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) |
1911 |
sed '=' <$as_myself | |
1912 |
sed ' |
1913 |
N |
1914 |
s,$,-, |
1915 |
: loop |
1916 |
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, |
1917 |
t loop |
1918 |
s,-$,, |
1919 |
s,^['$as_cr_digits']*\n,, |
1920 |
' >$as_me.lineno && |
1921 |
chmod +x $as_me.lineno || |
1922 |
{ { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 |
1923 |
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} |
1924 |
{ (exit 1); exit 1; }; } |
1925 |
|
1926 |
# Don't try to exec as it changes $[0], causing all sort of problems |
1927 |
# (the dirname of $[0] is not the place where we might find the |
1928 |
# original and so on. Autoconf is especially sensible to this). |
1929 |
. ./$as_me.lineno |
1930 |
# Exit status is that of the last command. |
1931 |
exit |
1932 |
} |
1933 |
|
1934 |
|
1935 |
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in |
1936 |
*c*,-n*) ECHO_N= ECHO_C=' |
1937 |
' ECHO_T=' ' ;; |
1938 |
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; |
1939 |
*) ECHO_N= ECHO_C='\c' ECHO_T= ;; |
1940 |
esac |
1941 |
|
1942 |
if expr a : '\(a\)' >/dev/null 2>&1; then |
1943 |
as_expr=expr |
1944 |
else |
1945 |
as_expr=false |
1946 |
fi |
1947 |
|
1948 |
rm -f conf$$ conf$$.exe conf$$.file |
1949 |
echo >conf$$.file |
1950 |
if ln -s conf$$.file conf$$ 2>/dev/null; then |
1951 |
# We could just check for DJGPP; but this test a) works b) is more generic |
1952 |
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). |
1953 |
if test -f conf$$.exe; then |
1954 |
# Don't use ln at all; we don't have any links |
1955 |
as_ln_s='cp -p' |
1956 |
else |
1957 |
as_ln_s='ln -s' |
1958 |
fi |
1959 |
elif ln conf$$.file conf$$ 2>/dev/null; then |
1960 |
as_ln_s=ln |
1961 |
else |
1962 |
as_ln_s='cp -p' |
1963 |
fi |
1964 |
rm -f conf$$ conf$$.exe conf$$.file |
1965 |
|
1966 |
if mkdir -p . 2>/dev/null; then |
1967 |
as_mkdir_p=: |
1968 |
else |
1969 |
as_mkdir_p=false |
1970 |
fi |
1971 |
|
1972 |
as_executable_p="test -f" |
1973 |
|
1974 |
# Sed expression to map a string onto a valid CPP name. |
1975 |
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" |
1976 |
|
1977 |
# Sed expression to map a string onto a valid variable name. |
1978 |
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" |
1979 |
|
1980 |
|
1981 |
# IFS |
1982 |
# We need space, tab and new line, in precisely that order. |
1983 |
as_nl=' |
1984 |
' |
1985 |
IFS=" $as_nl" |
1986 |
|
1987 |
# CDPATH. |
1988 |
$as_unset CDPATH |
1989 |
|
1990 |
exec 6>&1 |
1991 |
|
1992 |
# Open the log real soon, to keep \$[0] and so on meaningful, and to |
1993 |
# report actual input values of CONFIG_FILES etc. instead of their |
1994 |
# values after options handling. Logging --version etc. is OK. |
1995 |
exec 5>>config.log |
1996 |
{ |
1997 |
echo |
1998 |
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX |
1999 |
## Running $as_me. ## |
2000 |
_ASBOX |
2001 |
} >&5 |
2002 |
cat >&5 <<_CSEOF |
2003 |
|
2004 |
This file was extended by $as_me, which was |
2005 |
generated by GNU Autoconf 2.57. Invocation command line was |
2006 |
|
2007 |
CONFIG_FILES = $CONFIG_FILES |
2008 |
CONFIG_HEADERS = $CONFIG_HEADERS |
2009 |
CONFIG_LINKS = $CONFIG_LINKS |
2010 |
CONFIG_COMMANDS = $CONFIG_COMMANDS |
2011 |
$ $0 $@ |
2012 |
|
2013 |
_CSEOF |
2014 |
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 |
2015 |
echo >&5 |
2016 |
_ACEOF |
2017 |
|
2018 |
# Files that config.status was made for. |
2019 |
if test -n "$ac_config_files"; then |
2020 |
echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS |
2021 |
fi |
2022 |
|
2023 |
if test -n "$ac_config_headers"; then |
2024 |
echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS |
2025 |
fi |
2026 |
|
2027 |
if test -n "$ac_config_links"; then |
2028 |
echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS |
2029 |
fi |
2030 |
|
2031 |
if test -n "$ac_config_commands"; then |
2032 |
echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS |
2033 |
fi |
2034 |
|
2035 |
cat >>$CONFIG_STATUS <<\_ACEOF |
2036 |
|
2037 |
ac_cs_usage="\ |
2038 |
\`$as_me' instantiates files from templates according to the |
2039 |
current configuration. |
2040 |
|
2041 |
Usage: $0 [OPTIONS] [FILE]... |
2042 |
|
2043 |
-h, --help print this help, then exit |
2044 |
-V, --version print version number, then exit |
2045 |
-q, --quiet do not print progress messages |
2046 |
-d, --debug don't remove temporary files |
2047 |
--recheck update $as_me by reconfiguring in the same conditions |
2048 |
--file=FILE[:TEMPLATE] |
2049 |
instantiate the configuration file FILE |
2050 |
|
2051 |
Configuration files: |
2052 |
$config_files |
2053 |
|
2054 |
Report bugs to <bug-autoconf@gnu.org>." |
2055 |
_ACEOF |
2056 |
|
2057 |
cat >>$CONFIG_STATUS <<_ACEOF |
2058 |
ac_cs_version="\\ |
2059 |
config.status |
2060 |
configured by $0, generated by GNU Autoconf 2.57, |
2061 |
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" |
2062 |
|
2063 |
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 |
2064 |
Free Software Foundation, Inc. |
2065 |
This config.status script is free software; the Free Software Foundation |
2066 |
gives unlimited permission to copy, distribute and modify it." |
2067 |
srcdir=$srcdir |
2068 |
INSTALL="$INSTALL" |
2069 |
_ACEOF |
2070 |
|
2071 |
cat >>$CONFIG_STATUS <<\_ACEOF |
2072 |
# If no file are specified by the user, then we need to provide default |
2073 |
# value. By we need to know if files were specified by the user. |
2074 |
ac_need_defaults=: |
2075 |
while test $# != 0 |
2076 |
do |
2077 |
case $1 in |
2078 |
--*=*) |
2079 |
ac_option=`expr "x$1" : 'x\([^=]*\)='` |
2080 |
ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` |
2081 |
ac_shift=: |
2082 |
;; |
2083 |
-*) |
2084 |
ac_option=$1 |
2085 |
ac_optarg=$2 |
2086 |
ac_shift=shift |
2087 |
;; |
2088 |
*) # This is not an option, so the user has probably given explicit |
2089 |
# arguments. |
2090 |
ac_option=$1 |
2091 |
ac_need_defaults=false;; |
2092 |
esac |
2093 |
|
2094 |
case $ac_option in |
2095 |
# Handling of the options. |
2096 |
_ACEOF |
2097 |
cat >>$CONFIG_STATUS <<\_ACEOF |
2098 |
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
2099 |
ac_cs_recheck=: ;; |
2100 |
--version | --vers* | -V ) |
2101 |
echo "$ac_cs_version"; exit 0 ;; |
2102 |
--he | --h) |
2103 |
# Conflict between --help and --header |
2104 |
{ { echo "$as_me:$LINENO: error: ambiguous option: $1 |
2105 |
Try \`$0 --help' for more information." >&5 |
2106 |
echo "$as_me: error: ambiguous option: $1 |
2107 |
Try \`$0 --help' for more information." >&2;} |
2108 |
{ (exit 1); exit 1; }; };; |
2109 |
--help | --hel | -h ) |
2110 |
echo "$ac_cs_usage"; exit 0 ;; |
2111 |
--debug | --d* | -d ) |
2112 |
debug=: ;; |
2113 |
--file | --fil | --fi | --f ) |
2114 |
$ac_shift |
2115 |
CONFIG_FILES="$CONFIG_FILES $ac_optarg" |
2116 |
ac_need_defaults=false;; |
2117 |
--header | --heade | --head | --hea ) |
2118 |
$ac_shift |
2119 |
CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" |
2120 |
ac_need_defaults=false;; |
2121 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
2122 |
| -silent | --silent | --silen | --sile | --sil | --si | --s) |
2123 |
ac_cs_silent=: ;; |
2124 |
|
2125 |
# This is an error. |
2126 |
-*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 |
2127 |
Try \`$0 --help' for more information." >&5 |
2128 |
echo "$as_me: error: unrecognized option: $1 |
2129 |
Try \`$0 --help' for more information." >&2;} |
2130 |
{ (exit 1); exit 1; }; } ;; |
2131 |
|
2132 |
*) ac_config_targets="$ac_config_targets $1" ;; |
2133 |
|
2134 |
esac |
2135 |
shift |
2136 |
done |
2137 |
|
2138 |
ac_configure_extra_args= |
2139 |
|
2140 |
if $ac_cs_silent; then |
2141 |
exec 6>/dev/null |
2142 |
ac_configure_extra_args="$ac_configure_extra_args --silent" |
2143 |
fi |
2144 |
|
2145 |
_ACEOF |
2146 |
cat >>$CONFIG_STATUS <<_ACEOF |
2147 |
if \$ac_cs_recheck; then |
2148 |
echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 |
2149 |
exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
2150 |
fi |
2151 |
|
2152 |
_ACEOF |
2153 |
|
2154 |
|
2155 |
|
2156 |
|
2157 |
|
2158 |
cat >>$CONFIG_STATUS <<\_ACEOF |
2159 |
for ac_config_target in $ac_config_targets |
2160 |
do |
2161 |
case "$ac_config_target" in |
2162 |
# Handling of arguments. |
2163 |
"Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
2164 |
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
2165 |
echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
2166 |
{ (exit 1); exit 1; }; };; |
2167 |
esac |
2168 |
done |
2169 |
|
2170 |
# If the user did not use the arguments to specify the items to instantiate, |
2171 |
# then the envvar interface is used. Set only those that are not. |
2172 |
# We use the long form for the default assignment because of an extremely |
2173 |
# bizarre bug on SunOS 4.1.3. |
2174 |
if $ac_need_defaults; then |
2175 |
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files |
2176 |
fi |
2177 |
|
2178 |
# Have a temporary directory for convenience. Make it in the build tree |
2179 |
# simply because there is no reason to put it here, and in addition, |
2180 |
# creating and moving files from /tmp can sometimes cause problems. |
2181 |
# Create a temporary directory, and hook for its removal unless debugging. |
2182 |
$debug || |
2183 |
{ |
2184 |
trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 |
2185 |
trap '{ (exit 1); exit 1; }' 1 2 13 15 |
2186 |
} |
2187 |
|
2188 |
# Create a (secure) tmp directory for tmp files. |
2189 |
|
2190 |
{ |
2191 |
tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && |
2192 |
test -n "$tmp" && test -d "$tmp" |
2193 |
} || |
2194 |
{ |
2195 |
tmp=./confstat$$-$RANDOM |
2196 |
(umask 077 && mkdir $tmp) |
2197 |
} || |
2198 |
{ |
2199 |
echo "$me: cannot create a temporary directory in ." >&2 |
2200 |
{ (exit 1); exit 1; } |
2201 |
} |
2202 |
|
2203 |
_ACEOF |
2204 |
|
2205 |
cat >>$CONFIG_STATUS <<_ACEOF |
2206 |
|
2207 |
# |
2208 |
# CONFIG_FILES section. |
2209 |
# |
2210 |
|
2211 |
# No need to generate the scripts if there are no CONFIG_FILES. |
2212 |
# This happens for instance when ./config.status config.h |
2213 |
if test -n "\$CONFIG_FILES"; then |
2214 |
# Protect against being on the right side of a sed subst in config.status. |
2215 |
sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; |
2216 |
s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF |
2217 |
s,@SHELL@,$SHELL,;t t |
2218 |
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t |
2219 |
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t |
2220 |
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t |
2221 |
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t |
2222 |
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t |
2223 |
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t |
2224 |
s,@exec_prefix@,$exec_prefix,;t t |
2225 |
s,@prefix@,$prefix,;t t |
2226 |
s,@program_transform_name@,$program_transform_name,;t t |
2227 |
s,@bindir@,$bindir,;t t |
2228 |
s,@sbindir@,$sbindir,;t t |
2229 |
s,@libexecdir@,$libexecdir,;t t |
2230 |
s,@datadir@,$datadir,;t t |
2231 |
s,@sysconfdir@,$sysconfdir,;t t |
2232 |
s,@sharedstatedir@,$sharedstatedir,;t t |
2233 |
s,@localstatedir@,$localstatedir,;t t |
2234 |
s,@libdir@,$libdir,;t t |
2235 |
s,@includedir@,$includedir,;t t |
2236 |
s,@oldincludedir@,$oldincludedir,;t t |
2237 |
s,@infodir@,$infodir,;t t |
2238 |
s,@mandir@,$mandir,;t t |
2239 |
s,@build_alias@,$build_alias,;t t |
2240 |
s,@host_alias@,$host_alias,;t t |
2241 |
s,@target_alias@,$target_alias,;t t |
2242 |
s,@DEFS@,$DEFS,;t t |
2243 |
s,@ECHO_C@,$ECHO_C,;t t |
2244 |
s,@ECHO_N@,$ECHO_N,;t t |
2245 |
s,@ECHO_T@,$ECHO_T,;t t |
2246 |
s,@LIBS@,$LIBS,;t t |
2247 |
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t |
2248 |
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t |
2249 |
s,@INSTALL_DATA@,$INSTALL_DATA,;t t |
2250 |
s,@PACKAGE@,$PACKAGE,;t t |
2251 |
s,@VERSION@,$VERSION,;t t |
2252 |
s,@ACLOCAL@,$ACLOCAL,;t t |
2253 |
s,@AUTOCONF@,$AUTOCONF,;t t |
2254 |
s,@AUTOMAKE@,$AUTOMAKE,;t t |
2255 |
s,@AUTOHEADER@,$AUTOHEADER,;t t |
2256 |
s,@MAKEINFO@,$MAKEINFO,;t t |
2257 |
s,@AMTAR@,$AMTAR,;t t |
2258 |
s,@install_sh@,$install_sh,;t t |
2259 |
s,@STRIP@,$STRIP,;t t |
2260 |
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t |
2261 |
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t |
2262 |
s,@AWK@,$AWK,;t t |
2263 |
s,@SET_MAKE@,$SET_MAKE,;t t |
2264 |
s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t |
2265 |
s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t |
2266 |
s,@MAINT@,$MAINT,;t t |
2267 |
s,@subdirs@,$subdirs,;t t |
2268 |
s,@LIBOBJS@,$LIBOBJS,;t t |
2269 |
s,@LTLIBOBJS@,$LTLIBOBJS,;t t |
2270 |
CEOF |
2271 |
|
2272 |
_ACEOF |
2273 |
|
2274 |
cat >>$CONFIG_STATUS <<\_ACEOF |
2275 |
# Split the substitutions into bite-sized pieces for seds with |
2276 |
# small command number limits, like on Digital OSF/1 and HP-UX. |
2277 |
ac_max_sed_lines=48 |
2278 |
ac_sed_frag=1 # Number of current file. |
2279 |
ac_beg=1 # First line for current file. |
2280 |
ac_end=$ac_max_sed_lines # Line after last line for current file. |
2281 |
ac_more_lines=: |
2282 |
ac_sed_cmds= |
2283 |
while $ac_more_lines; do |
2284 |
if test $ac_beg -gt 1; then |
2285 |
sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag |
2286 |
else |
2287 |
sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag |
2288 |
fi |
2289 |
if test ! -s $tmp/subs.frag; then |
2290 |
ac_more_lines=false |
2291 |
else |
2292 |
# The purpose of the label and of the branching condition is to |
2293 |
# speed up the sed processing (if there are no `@' at all, there |
2294 |
# is no need to browse any of the substitutions). |
2295 |
# These are the two extra sed commands mentioned above. |
2296 |
(echo ':t |
2297 |
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed |
2298 |
if test -z "$ac_sed_cmds"; then |
2299 |
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" |
2300 |
else |
2301 |
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" |
2302 |
fi |
2303 |
ac_sed_frag=`expr $ac_sed_frag + 1` |
2304 |
ac_beg=$ac_end |
2305 |
ac_end=`expr $ac_end + $ac_max_sed_lines` |
2306 |
fi |
2307 |
done |
2308 |
if test -z "$ac_sed_cmds"; then |
2309 |
ac_sed_cmds=cat |
2310 |
fi |
2311 |
fi # test -n "$CONFIG_FILES" |
2312 |
|
2313 |
_ACEOF |
2314 |
cat >>$CONFIG_STATUS <<\_ACEOF |
2315 |
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue |
2316 |
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
2317 |
case $ac_file in |
2318 |
- | *:- | *:-:* ) # input from stdin |
2319 |
cat >$tmp/stdin |
2320 |
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
2321 |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
2322 |
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
2323 |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
2324 |
* ) ac_file_in=$ac_file.in ;; |
2325 |
esac |
2326 |
|
2327 |
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. |
2328 |
ac_dir=`(dirname "$ac_file") 2>/dev/null || |
2329 |
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
2330 |
X"$ac_file" : 'X\(//\)[^/]' \| \ |
2331 |
X"$ac_file" : 'X\(//\)$' \| \ |
2332 |
X"$ac_file" : 'X\(/\)' \| \ |
2333 |
. : '\(.\)' 2>/dev/null || |
2334 |
echo X"$ac_file" | |
2335 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
2336 |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
2337 |
/^X\(\/\/\)$/{ s//\1/; q; } |
2338 |
/^X\(\/\).*/{ s//\1/; q; } |
2339 |
s/.*/./; q'` |
2340 |
{ if $as_mkdir_p; then |
2341 |
mkdir -p "$ac_dir" |
2342 |
else |
2343 |
as_dir="$ac_dir" |
2344 |
as_dirs= |
2345 |
while test ! -d "$as_dir"; do |
2346 |
as_dirs="$as_dir $as_dirs" |
2347 |
as_dir=`(dirname "$as_dir") 2>/dev/null || |
2348 |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
2349 |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
2350 |
X"$as_dir" : 'X\(//\)$' \| \ |
2351 |
X"$as_dir" : 'X\(/\)' \| \ |
2352 |
. : '\(.\)' 2>/dev/null || |
2353 |
echo X"$as_dir" | |
2354 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
2355 |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
2356 |
/^X\(\/\/\)$/{ s//\1/; q; } |
2357 |
/^X\(\/\).*/{ s//\1/; q; } |
2358 |
s/.*/./; q'` |
2359 |
done |
2360 |
test ! -n "$as_dirs" || mkdir $as_dirs |
2361 |
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 |
2362 |
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} |
2363 |
{ (exit 1); exit 1; }; }; } |
2364 |
|
2365 |
ac_builddir=. |
2366 |
|
2367 |
if test "$ac_dir" != .; then |
2368 |
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
2369 |
# A "../" for each directory in $ac_dir_suffix. |
2370 |
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` |
2371 |
else |
2372 |
ac_dir_suffix= ac_top_builddir= |
2373 |
fi |
2374 |
|
2375 |
case $srcdir in |
2376 |
.) # No --srcdir option. We are building in place. |
2377 |
ac_srcdir=. |
2378 |
if test -z "$ac_top_builddir"; then |
2379 |
ac_top_srcdir=. |
2380 |
else |
2381 |
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` |
2382 |
fi ;; |
2383 |
[\\/]* | ?:[\\/]* ) # Absolute path. |
2384 |
ac_srcdir=$srcdir$ac_dir_suffix; |
2385 |
ac_top_srcdir=$srcdir ;; |
2386 |
*) # Relative path. |
2387 |
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
2388 |
ac_top_srcdir=$ac_top_builddir$srcdir ;; |
2389 |
esac |
2390 |
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be |
2391 |
# absolute. |
2392 |
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` |
2393 |
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` |
2394 |
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` |
2395 |
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` |
2396 |
|
2397 |
|
2398 |
case $INSTALL in |
2399 |
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
2400 |
*) ac_INSTALL=$ac_top_builddir$INSTALL ;; |
2401 |
esac |
2402 |
|
2403 |
if test x"$ac_file" != x-; then |
2404 |
{ echo "$as_me:$LINENO: creating $ac_file" >&5 |
2405 |
echo "$as_me: creating $ac_file" >&6;} |
2406 |
rm -f "$ac_file" |
2407 |
fi |
2408 |
# Let's still pretend it is `configure' which instantiates (i.e., don't |
2409 |
# use $as_me), people would be surprised to read: |
2410 |
# /* config.h. Generated by config.status. */ |
2411 |
if test x"$ac_file" = x-; then |
2412 |
configure_input= |
2413 |
else |
2414 |
configure_input="$ac_file. " |
2415 |
fi |
2416 |
configure_input=$configure_input"Generated from `echo $ac_file_in | |
2417 |
sed 's,.*/,,'` by configure." |
2418 |
|
2419 |
# First look for the input files in the build tree, otherwise in the |
2420 |
# src tree. |
2421 |
ac_file_inputs=`IFS=: |
2422 |
for f in $ac_file_in; do |
2423 |
case $f in |
2424 |
-) echo $tmp/stdin ;; |
2425 |
[\\/$]*) |
2426 |
# Absolute (can't be DOS-style, as IFS=:) |
2427 |
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
2428 |
echo "$as_me: error: cannot find input file: $f" >&2;} |
2429 |
{ (exit 1); exit 1; }; } |
2430 |
echo $f;; |
2431 |
*) # Relative |
2432 |
if test -f "$f"; then |
2433 |
# Build tree |
2434 |
echo $f |
2435 |
elif test -f "$srcdir/$f"; then |
2436 |
# Source tree |
2437 |
echo $srcdir/$f |
2438 |
else |
2439 |
# /dev/null tree |
2440 |
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
2441 |
echo "$as_me: error: cannot find input file: $f" >&2;} |
2442 |
{ (exit 1); exit 1; }; } |
2443 |
fi;; |
2444 |
esac |
2445 |
done` || { (exit 1); exit 1; } |
2446 |
_ACEOF |
2447 |
cat >>$CONFIG_STATUS <<_ACEOF |
2448 |
sed "$ac_vpsub |
2449 |
$extrasub |
2450 |
_ACEOF |
2451 |
cat >>$CONFIG_STATUS <<\_ACEOF |
2452 |
:t |
2453 |
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
2454 |
s,@configure_input@,$configure_input,;t t |
2455 |
s,@srcdir@,$ac_srcdir,;t t |
2456 |
s,@abs_srcdir@,$ac_abs_srcdir,;t t |
2457 |
s,@top_srcdir@,$ac_top_srcdir,;t t |
2458 |
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t |
2459 |
s,@builddir@,$ac_builddir,;t t |
2460 |
s,@abs_builddir@,$ac_abs_builddir,;t t |
2461 |
s,@top_builddir@,$ac_top_builddir,;t t |
2462 |
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t |
2463 |
s,@INSTALL@,$ac_INSTALL,;t t |
2464 |
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out |
2465 |
rm -f $tmp/stdin |
2466 |
if test x"$ac_file" != x-; then |
2467 |
mv $tmp/out $ac_file |
2468 |
else |
2469 |
cat $tmp/out |
2470 |
rm -f $tmp/out |
2471 |
fi |
2472 |
|
2473 |
done |
2474 |
_ACEOF |
2475 |
|
2476 |
cat >>$CONFIG_STATUS <<\_ACEOF |
2477 |
|
2478 |
{ (exit 0); exit 0; } |
2479 |
_ACEOF |
2480 |
chmod +x $CONFIG_STATUS |
2481 |
ac_clean_files=$ac_clean_files_save |
2482 |
|
2483 |
|
2484 |
# configure is writing to config.log, and then calls config.status. |
2485 |
# config.status does its own redirection, appending to config.log. |
2486 |
# Unfortunately, on DOS this fails, as config.log is still kept open |
2487 |
# by configure, so config.status won't be able to write to it; its |
2488 |
# output is simply discarded. So we exec the FD to /dev/null, |
2489 |
# effectively closing config.log, so it can be properly (re)opened and |
2490 |
# appended to by config.status. When coming back to configure, we |
2491 |
# need to make the FD available again. |
2492 |
if test "$no_create" != yes; then |
2493 |
ac_cs_success=: |
2494 |
ac_config_status_args= |
2495 |
test "$silent" = yes && |
2496 |
ac_config_status_args="$ac_config_status_args --quiet" |
2497 |
exec 5>/dev/null |
2498 |
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
2499 |
exec 5>>config.log |
2500 |
# Use ||, not &&, to avoid exiting from the if with $? = 1, which |
2501 |
# would make configure fail if this is the last instruction. |
2502 |
$ac_cs_success || { (exit 1); exit 1; } |
2503 |
fi |
2504 |
|
2505 |
# |
2506 |
# CONFIG_SUBDIRS section. |
2507 |
# |
2508 |
if test "$no_recursion" != yes; then |
2509 |
|
2510 |
# Remove --cache-file and --srcdir arguments so they do not pile up. |
2511 |
ac_sub_configure_args= |
2512 |
ac_prev= |
2513 |
for ac_arg in $ac_configure_args; do |
2514 |
if test -n "$ac_prev"; then |
2515 |
ac_prev= |
2516 |
continue |
2517 |
fi |
2518 |
case $ac_arg in |
2519 |
-cache-file | --cache-file | --cache-fil | --cache-fi \ |
2520 |
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
2521 |
ac_prev=cache_file ;; |
2522 |
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
2523 |
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \ |
2524 |
| --c=*) |
2525 |
;; |
2526 |
--config-cache | -C) |
2527 |
;; |
2528 |
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
2529 |
ac_prev=srcdir ;; |
2530 |
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
2531 |
;; |
2532 |
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
2533 |
ac_prev=prefix ;; |
2534 |
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
2535 |
;; |
2536 |
*) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;; |
2537 |
esac |
2538 |
done |
2539 |
|
2540 |
# Always prepend --prefix to ensure using the same prefix |
2541 |
# in subdir configurations. |
2542 |
ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args" |
2543 |
|
2544 |
ac_popdir=`pwd` |
2545 |
for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue |
2546 |
|
2547 |
# Do not complain, so a configure script can configure whichever |
2548 |
# parts of a large source tree are present. |
2549 |
test -d $srcdir/$ac_dir || continue |
2550 |
|
2551 |
{ echo "$as_me:$LINENO: configuring in $ac_dir" >&5 |
2552 |
echo "$as_me: configuring in $ac_dir" >&6;} |
2553 |
{ if $as_mkdir_p; then |
2554 |
mkdir -p "$ac_dir" |
2555 |
else |
2556 |
as_dir="$ac_dir" |
2557 |
as_dirs= |
2558 |
while test ! -d "$as_dir"; do |
2559 |
as_dirs="$as_dir $as_dirs" |
2560 |
as_dir=`(dirname "$as_dir") 2>/dev/null || |
2561 |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
2562 |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
2563 |
X"$as_dir" : 'X\(//\)$' \| \ |
2564 |
X"$as_dir" : 'X\(/\)' \| \ |
2565 |
. : '\(.\)' 2>/dev/null || |
2566 |
echo X"$as_dir" | |
2567 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
2568 |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
2569 |
/^X\(\/\/\)$/{ s//\1/; q; } |
2570 |
/^X\(\/\).*/{ s//\1/; q; } |
2571 |
s/.*/./; q'` |
2572 |
done |
2573 |
test ! -n "$as_dirs" || mkdir $as_dirs |
2574 |
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 |
2575 |
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} |
2576 |
{ (exit 1); exit 1; }; }; } |
2577 |
|
2578 |
ac_builddir=. |
2579 |
|
2580 |
if test "$ac_dir" != .; then |
2581 |
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
2582 |
# A "../" for each directory in $ac_dir_suffix. |
2583 |
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` |
2584 |
else |
2585 |
ac_dir_suffix= ac_top_builddir= |
2586 |
fi |
2587 |
|
2588 |
case $srcdir in |
2589 |
.) # No --srcdir option. We are building in place. |
2590 |
ac_srcdir=. |
2591 |
if test -z "$ac_top_builddir"; then |
2592 |
ac_top_srcdir=. |
2593 |
else |
2594 |
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` |
2595 |
fi ;; |
2596 |
[\\/]* | ?:[\\/]* ) # Absolute path. |
2597 |
ac_srcdir=$srcdir$ac_dir_suffix; |
2598 |
ac_top_srcdir=$srcdir ;; |
2599 |
*) # Relative path. |
2600 |
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
2601 |
ac_top_srcdir=$ac_top_builddir$srcdir ;; |
2602 |
esac |
2603 |
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be |
2604 |
# absolute. |
2605 |
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` |
2606 |
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` |
2607 |
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` |
2608 |
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` |
2609 |
|
2610 |
|
2611 |
cd $ac_dir |
2612 |
|
2613 |
# Check for guested configure; otherwise get Cygnus style configure. |
2614 |
if test -f $ac_srcdir/configure.gnu; then |
2615 |
ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'" |
2616 |
elif test -f $ac_srcdir/configure; then |
2617 |
ac_sub_configure="$SHELL '$ac_srcdir/configure'" |
2618 |
elif test -f $ac_srcdir/configure.in; then |
2619 |
ac_sub_configure=$ac_configure |
2620 |
else |
2621 |
{ echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5 |
2622 |
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;} |
2623 |
ac_sub_configure= |
2624 |
fi |
2625 |
|
2626 |
# The recursion is here. |
2627 |
if test -n "$ac_sub_configure"; then |
2628 |
# Make the cache file name correct relative to the subdirectory. |
2629 |
case $cache_file in |
2630 |
[\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;; |
2631 |
*) # Relative path. |
2632 |
ac_sub_cache_file=$ac_top_builddir$cache_file ;; |
2633 |
esac |
2634 |
|
2635 |
{ echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5 |
2636 |
echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;} |
2637 |
# The eval makes quoting arguments work. |
2638 |
eval $ac_sub_configure $ac_sub_configure_args \ |
2639 |
--cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir || |
2640 |
{ { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5 |
2641 |
echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;} |
2642 |
{ (exit 1); exit 1; }; } |
2643 |
fi |
2644 |
|
2645 |
cd $ac_popdir |
2646 |
done |
2647 |
fi |
2648 |
|