1 |
#! /usr/local/bin/bash |
2 |
# Generated by configure. |
3 |
# Run this file to recreate the current configuration. |
4 |
# Compiler output produced by configure, useful for debugging |
5 |
# configure, is in config.log if it exists. |
6 |
|
7 |
debug=false |
8 |
ac_cs_recheck=false |
9 |
ac_cs_silent=false |
10 |
SHELL=${CONFIG_SHELL-/usr/local/bin/bash} |
11 |
## --------------------- ## |
12 |
## M4sh Initialization. ## |
13 |
## --------------------- ## |
14 |
|
15 |
# Be Bourne compatible |
16 |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
17 |
emulate sh |
18 |
NULLCMD=: |
19 |
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
20 |
# is contrary to our usage. Disable this feature. |
21 |
alias -g '${1+"$@"}'='"$@"' |
22 |
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
23 |
set -o posix |
24 |
fi |
25 |
DUALCASE=1; export DUALCASE # for MKS sh |
26 |
|
27 |
# Support unset when possible. |
28 |
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
29 |
as_unset=unset |
30 |
else |
31 |
as_unset=false |
32 |
fi |
33 |
|
34 |
|
35 |
# Work around bugs in pre-3.0 UWIN ksh. |
36 |
$as_unset ENV MAIL MAILPATH |
37 |
PS1='$ ' |
38 |
PS2='> ' |
39 |
PS4='+ ' |
40 |
|
41 |
# NLS nuisances. |
42 |
for as_var in \ |
43 |
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ |
44 |
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
45 |
LC_TELEPHONE LC_TIME |
46 |
do |
47 |
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
48 |
eval $as_var=C; export $as_var |
49 |
else |
50 |
$as_unset $as_var |
51 |
fi |
52 |
done |
53 |
|
54 |
# Required to use basename. |
55 |
if expr a : '\(a\)' >/dev/null 2>&1; then |
56 |
as_expr=expr |
57 |
else |
58 |
as_expr=false |
59 |
fi |
60 |
|
61 |
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then |
62 |
as_basename=basename |
63 |
else |
64 |
as_basename=false |
65 |
fi |
66 |
|
67 |
|
68 |
# Name of the executable. |
69 |
as_me=`$as_basename "$0" || |
70 |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
71 |
X"$0" : 'X\(//\)$' \| \ |
72 |
X"$0" : 'X\(/\)$' \| \ |
73 |
. : '\(.\)' 2>/dev/null || |
74 |
echo X/"$0" | |
75 |
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } |
76 |
/^X\/\(\/\/\)$/{ s//\1/; q; } |
77 |
/^X\/\(\/\).*/{ s//\1/; q; } |
78 |
s/.*/./; q'` |
79 |
|
80 |
|
81 |
# PATH needs CR, and LINENO needs CR and PATH. |
82 |
# Avoid depending upon Character Ranges. |
83 |
as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
84 |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
85 |
as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
86 |
as_cr_digits='0123456789' |
87 |
as_cr_alnum=$as_cr_Letters$as_cr_digits |
88 |
|
89 |
# The user is always right. |
90 |
if test "${PATH_SEPARATOR+set}" != set; then |
91 |
echo "#! /bin/sh" >conf$$.sh |
92 |
echo "exit 0" >>conf$$.sh |
93 |
chmod +x conf$$.sh |
94 |
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
95 |
PATH_SEPARATOR=';' |
96 |
else |
97 |
PATH_SEPARATOR=: |
98 |
fi |
99 |
rm -f conf$$.sh |
100 |
fi |
101 |
|
102 |
|
103 |
as_lineno_1=$LINENO |
104 |
as_lineno_2=$LINENO |
105 |
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
106 |
test "x$as_lineno_1" != "x$as_lineno_2" && |
107 |
test "x$as_lineno_3" = "x$as_lineno_2" || { |
108 |
# Find who we are. Look in the path if we contain no path at all |
109 |
# relative or not. |
110 |
case $0 in |
111 |
*[\\/]* ) as_myself=$0 ;; |
112 |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
113 |
for as_dir in $PATH |
114 |
do |
115 |
IFS=$as_save_IFS |
116 |
test -z "$as_dir" && as_dir=. |
117 |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
118 |
done |
119 |
|
120 |
;; |
121 |
esac |
122 |
# We did not find ourselves, most probably we were run as `sh COMMAND' |
123 |
# in which case we are not to be found in the path. |
124 |
if test "x$as_myself" = x; then |
125 |
as_myself=$0 |
126 |
fi |
127 |
if test ! -f "$as_myself"; then |
128 |
{ { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 |
129 |
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} |
130 |
{ (exit 1); exit 1; }; } |
131 |
fi |
132 |
case $CONFIG_SHELL in |
133 |
'') |
134 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
135 |
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
136 |
do |
137 |
IFS=$as_save_IFS |
138 |
test -z "$as_dir" && as_dir=. |
139 |
for as_base in sh bash ksh sh5; do |
140 |
case $as_dir in |
141 |
/*) |
142 |
if ("$as_dir/$as_base" -c ' |
143 |
as_lineno_1=$LINENO |
144 |
as_lineno_2=$LINENO |
145 |
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
146 |
test "x$as_lineno_1" != "x$as_lineno_2" && |
147 |
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then |
148 |
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } |
149 |
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } |
150 |
CONFIG_SHELL=$as_dir/$as_base |
151 |
export CONFIG_SHELL |
152 |
exec "$CONFIG_SHELL" "$0" ${1+"$@"} |
153 |
fi;; |
154 |
esac |
155 |
done |
156 |
done |
157 |
;; |
158 |
esac |
159 |
|
160 |
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
161 |
# uniformly replaced by the line number. The first 'sed' inserts a |
162 |
# line-number line before each line; the second 'sed' does the real |
163 |
# work. The second script uses 'N' to pair each line-number line |
164 |
# with the numbered line, and appends trailing '-' during |
165 |
# substitution so that $LINENO is not a special case at line end. |
166 |
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
167 |
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) |
168 |
sed '=' <$as_myself | |
169 |
sed ' |
170 |
N |
171 |
s,$,-, |
172 |
: loop |
173 |
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, |
174 |
t loop |
175 |
s,-$,, |
176 |
s,^['$as_cr_digits']*\n,, |
177 |
' >$as_me.lineno && |
178 |
chmod +x $as_me.lineno || |
179 |
{ { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 |
180 |
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} |
181 |
{ (exit 1); exit 1; }; } |
182 |
|
183 |
# Don't try to exec as it changes $[0], causing all sort of problems |
184 |
# (the dirname of $[0] is not the place where we might find the |
185 |
# original and so on. Autoconf is especially sensible to this). |
186 |
. ./$as_me.lineno |
187 |
# Exit status is that of the last command. |
188 |
exit |
189 |
} |
190 |
|
191 |
|
192 |
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in |
193 |
*c*,-n*) ECHO_N= ECHO_C=' |
194 |
' ECHO_T=' ' ;; |
195 |
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; |
196 |
*) ECHO_N= ECHO_C='\c' ECHO_T= ;; |
197 |
esac |
198 |
|
199 |
if expr a : '\(a\)' >/dev/null 2>&1; then |
200 |
as_expr=expr |
201 |
else |
202 |
as_expr=false |
203 |
fi |
204 |
|
205 |
rm -f conf$$ conf$$.exe conf$$.file |
206 |
echo >conf$$.file |
207 |
if ln -s conf$$.file conf$$ 2>/dev/null; then |
208 |
# We could just check for DJGPP; but this test a) works b) is more generic |
209 |
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). |
210 |
if test -f conf$$.exe; then |
211 |
# Don't use ln at all; we don't have any links |
212 |
as_ln_s='cp -p' |
213 |
else |
214 |
as_ln_s='ln -s' |
215 |
fi |
216 |
elif ln conf$$.file conf$$ 2>/dev/null; then |
217 |
as_ln_s=ln |
218 |
else |
219 |
as_ln_s='cp -p' |
220 |
fi |
221 |
rm -f conf$$ conf$$.exe conf$$.file |
222 |
|
223 |
if mkdir -p . 2>/dev/null; then |
224 |
as_mkdir_p=: |
225 |
else |
226 |
test -d ./-p && rmdir ./-p |
227 |
as_mkdir_p=false |
228 |
fi |
229 |
|
230 |
as_executable_p="test -f" |
231 |
|
232 |
# Sed expression to map a string onto a valid CPP name. |
233 |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
234 |
|
235 |
# Sed expression to map a string onto a valid variable name. |
236 |
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
237 |
|
238 |
|
239 |
# IFS |
240 |
# We need space, tab and new line, in precisely that order. |
241 |
as_nl=' |
242 |
' |
243 |
IFS=" $as_nl" |
244 |
|
245 |
# CDPATH. |
246 |
$as_unset CDPATH |
247 |
|
248 |
exec 6>&1 |
249 |
|
250 |
# Open the log real soon, to keep \$[0] and so on meaningful, and to |
251 |
# report actual input values of CONFIG_FILES etc. instead of their |
252 |
# values after options handling. Logging --version etc. is OK. |
253 |
exec 5>>config.log |
254 |
{ |
255 |
echo |
256 |
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX |
257 |
## Running $as_me. ## |
258 |
_ASBOX |
259 |
} >&5 |
260 |
cat >&5 <<_CSEOF |
261 |
|
262 |
This file was extended by $as_me, which was |
263 |
generated by GNU Autoconf 2.59. Invocation command line was |
264 |
|
265 |
CONFIG_FILES = $CONFIG_FILES |
266 |
CONFIG_HEADERS = $CONFIG_HEADERS |
267 |
CONFIG_LINKS = $CONFIG_LINKS |
268 |
CONFIG_COMMANDS = $CONFIG_COMMANDS |
269 |
$ $0 $@ |
270 |
|
271 |
_CSEOF |
272 |
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 |
273 |
echo >&5 |
274 |
config_files=" GNUmakefile search.cgi" |
275 |
|
276 |
ac_cs_usage="\ |
277 |
\`$as_me' instantiates files from templates according to the |
278 |
current configuration. |
279 |
|
280 |
Usage: $0 [OPTIONS] [FILE]... |
281 |
|
282 |
-h, --help print this help, then exit |
283 |
-V, --version print version number, then exit |
284 |
-q, --quiet do not print progress messages |
285 |
-d, --debug don't remove temporary files |
286 |
--recheck update $as_me by reconfiguring in the same conditions |
287 |
--file=FILE[:TEMPLATE] |
288 |
instantiate the configuration file FILE |
289 |
|
290 |
Configuration files: |
291 |
$config_files |
292 |
|
293 |
Report bugs to <bug-autoconf@gnu.org>." |
294 |
ac_cs_version="\ |
295 |
config.status |
296 |
configured by ./configure, generated by GNU Autoconf 2.59, |
297 |
with options \"'CC=gcc34' 'CXX=g++34' '--with-openssl'\" |
298 |
|
299 |
Copyright (C) 2003 Free Software Foundation, Inc. |
300 |
This config.status script is free software; the Free Software Foundation |
301 |
gives unlimited permission to copy, distribute and modify it." |
302 |
srcdir=. |
303 |
INSTALL="/usr/bin/install -c" |
304 |
# If no file are specified by the user, then we need to provide default |
305 |
# value. By we need to know if files were specified by the user. |
306 |
ac_need_defaults=: |
307 |
while test $# != 0 |
308 |
do |
309 |
case $1 in |
310 |
--*=*) |
311 |
ac_option=`expr "x$1" : 'x\([^=]*\)='` |
312 |
ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` |
313 |
ac_shift=: |
314 |
;; |
315 |
-*) |
316 |
ac_option=$1 |
317 |
ac_optarg=$2 |
318 |
ac_shift=shift |
319 |
;; |
320 |
*) # This is not an option, so the user has probably given explicit |
321 |
# arguments. |
322 |
ac_option=$1 |
323 |
ac_need_defaults=false;; |
324 |
esac |
325 |
|
326 |
case $ac_option in |
327 |
# Handling of the options. |
328 |
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
329 |
ac_cs_recheck=: ;; |
330 |
--version | --vers* | -V ) |
331 |
echo "$ac_cs_version"; exit 0 ;; |
332 |
--he | --h) |
333 |
# Conflict between --help and --header |
334 |
{ { echo "$as_me:$LINENO: error: ambiguous option: $1 |
335 |
Try \`$0 --help' for more information." >&5 |
336 |
echo "$as_me: error: ambiguous option: $1 |
337 |
Try \`$0 --help' for more information." >&2;} |
338 |
{ (exit 1); exit 1; }; };; |
339 |
--help | --hel | -h ) |
340 |
echo "$ac_cs_usage"; exit 0 ;; |
341 |
--debug | --d* | -d ) |
342 |
debug=: ;; |
343 |
--file | --fil | --fi | --f ) |
344 |
$ac_shift |
345 |
CONFIG_FILES="$CONFIG_FILES $ac_optarg" |
346 |
ac_need_defaults=false;; |
347 |
--header | --heade | --head | --hea ) |
348 |
$ac_shift |
349 |
CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" |
350 |
ac_need_defaults=false;; |
351 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
352 |
| -silent | --silent | --silen | --sile | --sil | --si | --s) |
353 |
ac_cs_silent=: ;; |
354 |
|
355 |
# This is an error. |
356 |
-*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 |
357 |
Try \`$0 --help' for more information." >&5 |
358 |
echo "$as_me: error: unrecognized option: $1 |
359 |
Try \`$0 --help' for more information." >&2;} |
360 |
{ (exit 1); exit 1; }; } ;; |
361 |
|
362 |
*) ac_config_targets="$ac_config_targets $1" ;; |
363 |
|
364 |
esac |
365 |
shift |
366 |
done |
367 |
|
368 |
ac_configure_extra_args= |
369 |
|
370 |
if $ac_cs_silent; then |
371 |
exec 6>/dev/null |
372 |
ac_configure_extra_args="$ac_configure_extra_args --silent" |
373 |
fi |
374 |
|
375 |
if $ac_cs_recheck; then |
376 |
echo "running /usr/local/bin/bash ./configure " 'CC=gcc34' 'CXX=g++34' '--with-openssl' $ac_configure_extra_args " --no-create --no-recursion" >&6 |
377 |
exec /usr/local/bin/bash ./configure 'CC=gcc34' 'CXX=g++34' '--with-openssl' $ac_configure_extra_args --no-create --no-recursion |
378 |
fi |
379 |
|
380 |
for ac_config_target in $ac_config_targets |
381 |
do |
382 |
case "$ac_config_target" in |
383 |
# Handling of arguments. |
384 |
"GNUmakefile" ) CONFIG_FILES="$CONFIG_FILES GNUmakefile" ;; |
385 |
"search.cgi" ) CONFIG_FILES="$CONFIG_FILES search.cgi" ;; |
386 |
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
387 |
echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
388 |
{ (exit 1); exit 1; }; };; |
389 |
esac |
390 |
done |
391 |
|
392 |
# If the user did not use the arguments to specify the items to instantiate, |
393 |
# then the envvar interface is used. Set only those that are not. |
394 |
# We use the long form for the default assignment because of an extremely |
395 |
# bizarre bug on SunOS 4.1.3. |
396 |
if $ac_need_defaults; then |
397 |
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files |
398 |
fi |
399 |
|
400 |
# Have a temporary directory for convenience. Make it in the build tree |
401 |
# simply because there is no reason to put it here, and in addition, |
402 |
# creating and moving files from /tmp can sometimes cause problems. |
403 |
# Create a temporary directory, and hook for its removal unless debugging. |
404 |
$debug || |
405 |
{ |
406 |
trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 |
407 |
trap '{ (exit 1); exit 1; }' 1 2 13 15 |
408 |
} |
409 |
|
410 |
# Create a (secure) tmp directory for tmp files. |
411 |
|
412 |
{ |
413 |
tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && |
414 |
test -n "$tmp" && test -d "$tmp" |
415 |
} || |
416 |
{ |
417 |
tmp=./confstat$$-$RANDOM |
418 |
(umask 077 && mkdir $tmp) |
419 |
} || |
420 |
{ |
421 |
echo "$me: cannot create a temporary directory in ." >&2 |
422 |
{ (exit 1); exit 1; } |
423 |
} |
424 |
|
425 |
|
426 |
# |
427 |
# CONFIG_FILES section. |
428 |
# |
429 |
|
430 |
# No need to generate the scripts if there are no CONFIG_FILES. |
431 |
# This happens for instance when ./config.status config.h |
432 |
if test -n "$CONFIG_FILES"; then |
433 |
# Protect against being on the right side of a sed subst in config.status. |
434 |
sed 's/,@/@@/; s/@,/@@/; s/,;t t$/@;t t/; /@;t t$/s/[\\&,]/\\&/g; |
435 |
s/@@/,@/; s/@@/@,/; s/@;t t$/,;t t/' >$tmp/subs.sed <<\CEOF |
436 |
s,@SHELL@,/usr/local/bin/bash,;t t |
437 |
s,@PATH_SEPARATOR@,:,;t t |
438 |
s,@PACKAGE_NAME@,,;t t |
439 |
s,@PACKAGE_TARNAME@,,;t t |
440 |
s,@PACKAGE_VERSION@,,;t t |
441 |
s,@PACKAGE_STRING@,,;t t |
442 |
s,@PACKAGE_BUGREPORT@,,;t t |
443 |
s,@exec_prefix@,${prefix},;t t |
444 |
s,@prefix@,/usr/local/dtse,;t t |
445 |
s,@program_transform_name@,s,x,x,,;t t |
446 |
s,@bindir@,${exec_prefix}/bin,;t t |
447 |
s,@sbindir@,${exec_prefix}/sbin,;t t |
448 |
s,@libexecdir@,${exec_prefix}/libexec,;t t |
449 |
s,@datadir@,${prefix}/share,;t t |
450 |
s,@sysconfdir@,${prefix}/etc,;t t |
451 |
s,@sharedstatedir@,${prefix}/com,;t t |
452 |
s,@localstatedir@,${prefix}/var,;t t |
453 |
s,@libdir@,${exec_prefix}/lib,;t t |
454 |
s,@includedir@,${prefix}/include,;t t |
455 |
s,@oldincludedir@,/usr/include,;t t |
456 |
s,@infodir@,${prefix}/info,;t t |
457 |
s,@mandir@,${prefix}/man,;t t |
458 |
s,@build_alias@,,;t t |
459 |
s,@host_alias@,,;t t |
460 |
s,@target_alias@,,;t t |
461 |
s,@DEFS@,-DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" ,;t t |
462 |
s,@ECHO_C@,,;t t |
463 |
s,@ECHO_N@,-n,;t t |
464 |
s,@ECHO_T@,,;t t |
465 |
s,@LIBS@, -lssl -lcrypto,;t t |
466 |
s,@INSTALL_PROGRAM@,${INSTALL},;t t |
467 |
s,@INSTALL_SCRIPT@,${INSTALL},;t t |
468 |
s,@INSTALL_DATA@,${INSTALL} -m 644,;t t |
469 |
s,@ifGNUmake@,,;t t |
470 |
s,@CXX@,g++34,;t t |
471 |
s,@CXXFLAGS@,-g -O2,;t t |
472 |
s,@LDFLAGS@, -L/usr/local/lib -Wl,--rpath -Wl,/usr/local/lib,;t t |
473 |
s,@CPPFLAGS@, -I/usr/local/include,;t t |
474 |
s,@ac_ct_CXX@,,;t t |
475 |
s,@EXEEXT@,,;t t |
476 |
s,@OBJEXT@,o,;t t |
477 |
s,@PERL@,perl,;t t |
478 |
s,@which_perl@,/usr/bin/perl,;t t |
479 |
s,@CC@,gcc34,;t t |
480 |
s,@CFLAGS@,-g -O2,;t t |
481 |
s,@ac_ct_CC@,gcc34,;t t |
482 |
s,@ETR_SOCKET_LIBS@,,;t t |
483 |
s,@OpenSSL@,-D_OpenSSL_,;t t |
484 |
s,@urandomdev@,-D_urandomdev_,;t t |
485 |
s,@LIBOBJS@,,;t t |
486 |
s,@LTLIBOBJS@,,;t t |
487 |
CEOF |
488 |
|
489 |
# Split the substitutions into bite-sized pieces for seds with |
490 |
# small command number limits, like on Digital OSF/1 and HP-UX. |
491 |
ac_max_sed_lines=48 |
492 |
ac_sed_frag=1 # Number of current file. |
493 |
ac_beg=1 # First line for current file. |
494 |
ac_end=$ac_max_sed_lines # Line after last line for current file. |
495 |
ac_more_lines=: |
496 |
ac_sed_cmds= |
497 |
while $ac_more_lines; do |
498 |
if test $ac_beg -gt 1; then |
499 |
sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag |
500 |
else |
501 |
sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag |
502 |
fi |
503 |
if test ! -s $tmp/subs.frag; then |
504 |
ac_more_lines=false |
505 |
else |
506 |
# The purpose of the label and of the branching condition is to |
507 |
# speed up the sed processing (if there are no `@' at all, there |
508 |
# is no need to browse any of the substitutions). |
509 |
# These are the two extra sed commands mentioned above. |
510 |
(echo ':t |
511 |
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed |
512 |
if test -z "$ac_sed_cmds"; then |
513 |
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" |
514 |
else |
515 |
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" |
516 |
fi |
517 |
ac_sed_frag=`expr $ac_sed_frag + 1` |
518 |
ac_beg=$ac_end |
519 |
ac_end=`expr $ac_end + $ac_max_sed_lines` |
520 |
fi |
521 |
done |
522 |
if test -z "$ac_sed_cmds"; then |
523 |
ac_sed_cmds=cat |
524 |
fi |
525 |
fi # test -n "$CONFIG_FILES" |
526 |
|
527 |
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue |
528 |
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
529 |
case $ac_file in |
530 |
- | *:- | *:-:* ) # input from stdin |
531 |
cat >$tmp/stdin |
532 |
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
533 |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
534 |
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
535 |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
536 |
* ) ac_file_in=$ac_file.in ;; |
537 |
esac |
538 |
|
539 |
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. |
540 |
ac_dir=`(dirname "$ac_file") 2>/dev/null || |
541 |
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
542 |
X"$ac_file" : 'X\(//\)[^/]' \| \ |
543 |
X"$ac_file" : 'X\(//\)$' \| \ |
544 |
X"$ac_file" : 'X\(/\)' \| \ |
545 |
. : '\(.\)' 2>/dev/null || |
546 |
echo X"$ac_file" | |
547 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
548 |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
549 |
/^X\(\/\/\)$/{ s//\1/; q; } |
550 |
/^X\(\/\).*/{ s//\1/; q; } |
551 |
s/.*/./; q'` |
552 |
{ if $as_mkdir_p; then |
553 |
mkdir -p "$ac_dir" |
554 |
else |
555 |
as_dir="$ac_dir" |
556 |
as_dirs= |
557 |
while test ! -d "$as_dir"; do |
558 |
as_dirs="$as_dir $as_dirs" |
559 |
as_dir=`(dirname "$as_dir") 2>/dev/null || |
560 |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
561 |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
562 |
X"$as_dir" : 'X\(//\)$' \| \ |
563 |
X"$as_dir" : 'X\(/\)' \| \ |
564 |
. : '\(.\)' 2>/dev/null || |
565 |
echo X"$as_dir" | |
566 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
567 |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
568 |
/^X\(\/\/\)$/{ s//\1/; q; } |
569 |
/^X\(\/\).*/{ s//\1/; q; } |
570 |
s/.*/./; q'` |
571 |
done |
572 |
test ! -n "$as_dirs" || mkdir $as_dirs |
573 |
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 |
574 |
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} |
575 |
{ (exit 1); exit 1; }; }; } |
576 |
|
577 |
ac_builddir=. |
578 |
|
579 |
if test "$ac_dir" != .; then |
580 |
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
581 |
# A "../" for each directory in $ac_dir_suffix. |
582 |
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` |
583 |
else |
584 |
ac_dir_suffix= ac_top_builddir= |
585 |
fi |
586 |
|
587 |
case $srcdir in |
588 |
.) # No --srcdir option. We are building in place. |
589 |
ac_srcdir=. |
590 |
if test -z "$ac_top_builddir"; then |
591 |
ac_top_srcdir=. |
592 |
else |
593 |
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` |
594 |
fi ;; |
595 |
[\\/]* | ?:[\\/]* ) # Absolute path. |
596 |
ac_srcdir=$srcdir$ac_dir_suffix; |
597 |
ac_top_srcdir=$srcdir ;; |
598 |
*) # Relative path. |
599 |
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
600 |
ac_top_srcdir=$ac_top_builddir$srcdir ;; |
601 |
esac |
602 |
|
603 |
# Do not use `cd foo && pwd` to compute absolute paths, because |
604 |
# the directories may not exist. |
605 |
case `pwd` in |
606 |
.) ac_abs_builddir="$ac_dir";; |
607 |
*) |
608 |
case "$ac_dir" in |
609 |
.) ac_abs_builddir=`pwd`;; |
610 |
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; |
611 |
*) ac_abs_builddir=`pwd`/"$ac_dir";; |
612 |
esac;; |
613 |
esac |
614 |
case $ac_abs_builddir in |
615 |
.) ac_abs_top_builddir=${ac_top_builddir}.;; |
616 |
*) |
617 |
case ${ac_top_builddir}. in |
618 |
.) ac_abs_top_builddir=$ac_abs_builddir;; |
619 |
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; |
620 |
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; |
621 |
esac;; |
622 |
esac |
623 |
case $ac_abs_builddir in |
624 |
.) ac_abs_srcdir=$ac_srcdir;; |
625 |
*) |
626 |
case $ac_srcdir in |
627 |
.) ac_abs_srcdir=$ac_abs_builddir;; |
628 |
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; |
629 |
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; |
630 |
esac;; |
631 |
esac |
632 |
case $ac_abs_builddir in |
633 |
.) ac_abs_top_srcdir=$ac_top_srcdir;; |
634 |
*) |
635 |
case $ac_top_srcdir in |
636 |
.) ac_abs_top_srcdir=$ac_abs_builddir;; |
637 |
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; |
638 |
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; |
639 |
esac;; |
640 |
esac |
641 |
|
642 |
|
643 |
case $INSTALL in |
644 |
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
645 |
*) ac_INSTALL=$ac_top_builddir$INSTALL ;; |
646 |
esac |
647 |
|
648 |
if test x"$ac_file" != x-; then |
649 |
{ echo "$as_me:$LINENO: creating $ac_file" >&5 |
650 |
echo "$as_me: creating $ac_file" >&6;} |
651 |
rm -f "$ac_file" |
652 |
fi |
653 |
# Let's still pretend it is `configure' which instantiates (i.e., don't |
654 |
# use $as_me), people would be surprised to read: |
655 |
# /* config.h. Generated by config.status. */ |
656 |
if test x"$ac_file" = x-; then |
657 |
configure_input= |
658 |
else |
659 |
configure_input="$ac_file. " |
660 |
fi |
661 |
configure_input=$configure_input"Generated from `echo $ac_file_in | |
662 |
sed 's,.*/,,'` by configure." |
663 |
|
664 |
# First look for the input files in the build tree, otherwise in the |
665 |
# src tree. |
666 |
ac_file_inputs=`IFS=: |
667 |
for f in $ac_file_in; do |
668 |
case $f in |
669 |
-) echo $tmp/stdin ;; |
670 |
[\\/$]*) |
671 |
# Absolute (can't be DOS-style, as IFS=:) |
672 |
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
673 |
echo "$as_me: error: cannot find input file: $f" >&2;} |
674 |
{ (exit 1); exit 1; }; } |
675 |
echo "$f";; |
676 |
*) # Relative |
677 |
if test -f "$f"; then |
678 |
# Build tree |
679 |
echo "$f" |
680 |
elif test -f "$srcdir/$f"; then |
681 |
# Source tree |
682 |
echo "$srcdir/$f" |
683 |
else |
684 |
# /dev/null tree |
685 |
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
686 |
echo "$as_me: error: cannot find input file: $f" >&2;} |
687 |
{ (exit 1); exit 1; }; } |
688 |
fi;; |
689 |
esac |
690 |
done` || { (exit 1); exit 1; } |
691 |
sed "/^[ ]*VPATH[ ]*=/{ |
692 |
s/:*\$(srcdir):*/:/; |
693 |
s/:*\${srcdir}:*/:/; |
694 |
s/:*@srcdir@:*/:/; |
695 |
s/^\([^=]*=[ ]*\):*/\1/; |
696 |
s/:*$//; |
697 |
s/^[^=]*=[ ]*$//; |
698 |
} |
699 |
|
700 |
:t |
701 |
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
702 |
s,@configure_input@,$configure_input,;t t |
703 |
s,@srcdir@,$ac_srcdir,;t t |
704 |
s,@abs_srcdir@,$ac_abs_srcdir,;t t |
705 |
s,@top_srcdir@,$ac_top_srcdir,;t t |
706 |
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t |
707 |
s,@builddir@,$ac_builddir,;t t |
708 |
s,@abs_builddir@,$ac_abs_builddir,;t t |
709 |
s,@top_builddir@,$ac_top_builddir,;t t |
710 |
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t |
711 |
s,@INSTALL@,$ac_INSTALL,;t t |
712 |
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out |
713 |
rm -f $tmp/stdin |
714 |
if test x"$ac_file" != x-; then |
715 |
mv $tmp/out $ac_file |
716 |
else |
717 |
cat $tmp/out |
718 |
rm -f $tmp/out |
719 |
fi |
720 |
|
721 |
done |
722 |
|
723 |
{ (exit 0); exit 0; } |