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