1 |
#! /bin/sh |
2 |
# Guess values for system-dependent variables and create Makefiles. |
3 |
# Generated by GNU Autoconf 2.60 for pxys2 2.1.0. |
4 |
# |
5 |
# Report bugs to <mbuna@undernet.org>. |
6 |
# |
7 |
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
8 |
# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. |
9 |
# This configure script is free software; the Free Software Foundation |
10 |
# gives unlimited permission to copy, distribute and modify it. |
11 |
## --------------------- ## |
12 |
## M4sh Initialization. ## |
13 |
## --------------------- ## |
14 |
|
15 |
# Be Bourne compatible |
16 |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
17 |
emulate sh |
18 |
NULLCMD=: |
19 |
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
20 |
# is contrary to our usage. Disable this feature. |
21 |
alias -g '${1+"$@"}'='"$@"' |
22 |
setopt NO_GLOB_SUBST |
23 |
else |
24 |
case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac |
25 |
fi |
26 |
BIN_SH=xpg4; export BIN_SH # for Tru64 |
27 |
DUALCASE=1; export DUALCASE # for MKS sh |
28 |
|
29 |
|
30 |
# PATH needs CR |
31 |
# Avoid depending upon Character Ranges. |
32 |
as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
33 |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
34 |
as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
35 |
as_cr_digits='0123456789' |
36 |
as_cr_alnum=$as_cr_Letters$as_cr_digits |
37 |
|
38 |
# The user is always right. |
39 |
if test "${PATH_SEPARATOR+set}" != set; then |
40 |
echo "#! /bin/sh" >conf$$.sh |
41 |
echo "exit 0" >>conf$$.sh |
42 |
chmod +x conf$$.sh |
43 |
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
44 |
PATH_SEPARATOR=';' |
45 |
else |
46 |
PATH_SEPARATOR=: |
47 |
fi |
48 |
rm -f conf$$.sh |
49 |
fi |
50 |
|
51 |
# Support unset when possible. |
52 |
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
53 |
as_unset=unset |
54 |
else |
55 |
as_unset=false |
56 |
fi |
57 |
|
58 |
|
59 |
# IFS |
60 |
# We need space, tab and new line, in precisely that order. Quoting is |
61 |
# there to prevent editors from complaining about space-tab. |
62 |
# (If _AS_PATH_WALK were called with IFS unset, it would disable word |
63 |
# splitting by setting IFS to empty value.) |
64 |
as_nl=' |
65 |
' |
66 |
IFS=" "" $as_nl" |
67 |
|
68 |
# Find who we are. Look in the path if we contain no directory separator. |
69 |
case $0 in |
70 |
*[\\/]* ) as_myself=$0 ;; |
71 |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
72 |
for as_dir in $PATH |
73 |
do |
74 |
IFS=$as_save_IFS |
75 |
test -z "$as_dir" && as_dir=. |
76 |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
77 |
done |
78 |
IFS=$as_save_IFS |
79 |
|
80 |
;; |
81 |
esac |
82 |
# We did not find ourselves, most probably we were run as `sh COMMAND' |
83 |
# in which case we are not to be found in the path. |
84 |
if test "x$as_myself" = x; then |
85 |
as_myself=$0 |
86 |
fi |
87 |
if test ! -f "$as_myself"; then |
88 |
echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
89 |
{ (exit 1); exit 1; } |
90 |
fi |
91 |
|
92 |
# Work around bugs in pre-3.0 UWIN ksh. |
93 |
for as_var in ENV MAIL MAILPATH |
94 |
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
95 |
done |
96 |
PS1='$ ' |
97 |
PS2='> ' |
98 |
PS4='+ ' |
99 |
|
100 |
# NLS nuisances. |
101 |
for as_var in \ |
102 |
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ |
103 |
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
104 |
LC_TELEPHONE LC_TIME |
105 |
do |
106 |
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
107 |
eval $as_var=C; export $as_var |
108 |
else |
109 |
($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
110 |
fi |
111 |
done |
112 |
|
113 |
# Required to use basename. |
114 |
if expr a : '\(a\)' >/dev/null 2>&1 && |
115 |
test "X`expr 00001 : '.*\(...\)'`" = X001; then |
116 |
as_expr=expr |
117 |
else |
118 |
as_expr=false |
119 |
fi |
120 |
|
121 |
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
122 |
as_basename=basename |
123 |
else |
124 |
as_basename=false |
125 |
fi |
126 |
|
127 |
|
128 |
# Name of the executable. |
129 |
as_me=`$as_basename -- "$0" || |
130 |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
131 |
X"$0" : 'X\(//\)$' \| \ |
132 |
X"$0" : 'X\(/\)' \| . 2>/dev/null || |
133 |
echo X/"$0" | |
134 |
sed '/^.*\/\([^/][^/]*\)\/*$/{ |
135 |
s//\1/ |
136 |
q |
137 |
} |
138 |
/^X\/\(\/\/\)$/{ |
139 |
s//\1/ |
140 |
q |
141 |
} |
142 |
/^X\/\(\/\).*/{ |
143 |
s//\1/ |
144 |
q |
145 |
} |
146 |
s/.*/./; q'` |
147 |
|
148 |
# CDPATH. |
149 |
$as_unset CDPATH |
150 |
|
151 |
|
152 |
if test "x$CONFIG_SHELL" = x; then |
153 |
if (eval ":") 2>/dev/null; then |
154 |
as_have_required=yes |
155 |
else |
156 |
as_have_required=no |
157 |
fi |
158 |
|
159 |
if test $as_have_required = yes && (eval ": |
160 |
(as_func_return () { |
161 |
(exit \$1) |
162 |
} |
163 |
as_func_success () { |
164 |
as_func_return 0 |
165 |
} |
166 |
as_func_failure () { |
167 |
as_func_return 1 |
168 |
} |
169 |
as_func_ret_success () { |
170 |
return 0 |
171 |
} |
172 |
as_func_ret_failure () { |
173 |
return 1 |
174 |
} |
175 |
|
176 |
exitcode=0 |
177 |
if as_func_success; then |
178 |
: |
179 |
else |
180 |
exitcode=1 |
181 |
echo as_func_success failed. |
182 |
fi |
183 |
|
184 |
if as_func_failure; then |
185 |
exitcode=1 |
186 |
echo as_func_failure succeeded. |
187 |
fi |
188 |
|
189 |
if as_func_ret_success; then |
190 |
: |
191 |
else |
192 |
exitcode=1 |
193 |
echo as_func_ret_success failed. |
194 |
fi |
195 |
|
196 |
if as_func_ret_failure; then |
197 |
exitcode=1 |
198 |
echo as_func_ret_failure succeeded. |
199 |
fi |
200 |
|
201 |
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then |
202 |
: |
203 |
else |
204 |
exitcode=1 |
205 |
echo positional parameters were not saved. |
206 |
fi |
207 |
|
208 |
test \$exitcode = 0) || { (exit 1); exit 1; } |
209 |
|
210 |
( |
211 |
as_lineno_1=\$LINENO |
212 |
as_lineno_2=\$LINENO |
213 |
test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && |
214 |
test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } |
215 |
") 2> /dev/null; then |
216 |
: |
217 |
else |
218 |
as_candidate_shells= |
219 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
220 |
for as_dir in /usr/bin/posix$PATH_SEPARATOR/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
221 |
do |
222 |
IFS=$as_save_IFS |
223 |
test -z "$as_dir" && as_dir=. |
224 |
case $as_dir in |
225 |
/*) |
226 |
for as_base in sh bash ksh sh5; do |
227 |
as_candidate_shells="$as_candidate_shells $as_dir/$as_base" |
228 |
done;; |
229 |
esac |
230 |
done |
231 |
IFS=$as_save_IFS |
232 |
|
233 |
|
234 |
for as_shell in $as_candidate_shells $SHELL; do |
235 |
# Try only shells that exist, to save several forks. |
236 |
if { test -f "$as_shell" || test -f "$as_shell.exe"; } && |
237 |
{ ("$as_shell") 2> /dev/null <<\_ASEOF |
238 |
# Be Bourne compatible |
239 |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
240 |
emulate sh |
241 |
NULLCMD=: |
242 |
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
243 |
# is contrary to our usage. Disable this feature. |
244 |
alias -g '${1+"$@"}'='"$@"' |
245 |
setopt NO_GLOB_SUBST |
246 |
else |
247 |
case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac |
248 |
fi |
249 |
BIN_SH=xpg4; export BIN_SH # for Tru64 |
250 |
DUALCASE=1; export DUALCASE # for MKS sh |
251 |
|
252 |
: |
253 |
_ASEOF |
254 |
}; then |
255 |
CONFIG_SHELL=$as_shell |
256 |
as_have_required=yes |
257 |
if { "$as_shell" 2> /dev/null <<\_ASEOF |
258 |
# Be Bourne compatible |
259 |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
260 |
emulate sh |
261 |
NULLCMD=: |
262 |
# Zsh 3.x and 4.x performs 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 *posix*) set -o posix;; esac |
268 |
fi |
269 |
BIN_SH=xpg4; export BIN_SH # for Tru64 |
270 |
DUALCASE=1; export DUALCASE # for MKS sh |
271 |
|
272 |
: |
273 |
(as_func_return () { |
274 |
(exit $1) |
275 |
} |
276 |
as_func_success () { |
277 |
as_func_return 0 |
278 |
} |
279 |
as_func_failure () { |
280 |
as_func_return 1 |
281 |
} |
282 |
as_func_ret_success () { |
283 |
return 0 |
284 |
} |
285 |
as_func_ret_failure () { |
286 |
return 1 |
287 |
} |
288 |
|
289 |
exitcode=0 |
290 |
if as_func_success; then |
291 |
: |
292 |
else |
293 |
exitcode=1 |
294 |
echo as_func_success failed. |
295 |
fi |
296 |
|
297 |
if as_func_failure; then |
298 |
exitcode=1 |
299 |
echo as_func_failure succeeded. |
300 |
fi |
301 |
|
302 |
if as_func_ret_success; then |
303 |
: |
304 |
else |
305 |
exitcode=1 |
306 |
echo as_func_ret_success failed. |
307 |
fi |
308 |
|
309 |
if as_func_ret_failure; then |
310 |
exitcode=1 |
311 |
echo as_func_ret_failure succeeded. |
312 |
fi |
313 |
|
314 |
if ( set x; as_func_ret_success y && test x = "$1" ); then |
315 |
: |
316 |
else |
317 |
exitcode=1 |
318 |
echo positional parameters were not saved. |
319 |
fi |
320 |
|
321 |
test $exitcode = 0) || { (exit 1); exit 1; } |
322 |
|
323 |
( |
324 |
as_lineno_1=$LINENO |
325 |
as_lineno_2=$LINENO |
326 |
test "x$as_lineno_1" != "x$as_lineno_2" && |
327 |
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } |
328 |
|
329 |
_ASEOF |
330 |
}; then |
331 |
break |
332 |
fi |
333 |
|
334 |
fi |
335 |
|
336 |
done |
337 |
|
338 |
if test "x$CONFIG_SHELL" != x; then |
339 |
for as_var in BASH_ENV ENV |
340 |
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
341 |
done |
342 |
export CONFIG_SHELL |
343 |
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} |
344 |
fi |
345 |
|
346 |
|
347 |
if test $as_have_required = no; then |
348 |
echo This script requires a shell more modern than all the |
349 |
echo shells that I found on your system. Please install a |
350 |
echo modern shell, or manually run the script under such a |
351 |
echo shell if you do have one. |
352 |
{ (exit 1); exit 1; } |
353 |
fi |
354 |
|
355 |
|
356 |
fi |
357 |
|
358 |
fi |
359 |
|
360 |
|
361 |
|
362 |
(eval "as_func_return () { |
363 |
(exit \$1) |
364 |
} |
365 |
as_func_success () { |
366 |
as_func_return 0 |
367 |
} |
368 |
as_func_failure () { |
369 |
as_func_return 1 |
370 |
} |
371 |
as_func_ret_success () { |
372 |
return 0 |
373 |
} |
374 |
as_func_ret_failure () { |
375 |
return 1 |
376 |
} |
377 |
|
378 |
exitcode=0 |
379 |
if as_func_success; then |
380 |
: |
381 |
else |
382 |
exitcode=1 |
383 |
echo as_func_success failed. |
384 |
fi |
385 |
|
386 |
if as_func_failure; then |
387 |
exitcode=1 |
388 |
echo as_func_failure succeeded. |
389 |
fi |
390 |
|
391 |
if as_func_ret_success; then |
392 |
: |
393 |
else |
394 |
exitcode=1 |
395 |
echo as_func_ret_success failed. |
396 |
fi |
397 |
|
398 |
if as_func_ret_failure; then |
399 |
exitcode=1 |
400 |
echo as_func_ret_failure succeeded. |
401 |
fi |
402 |
|
403 |
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then |
404 |
: |
405 |
else |
406 |
exitcode=1 |
407 |
echo positional parameters were not saved. |
408 |
fi |
409 |
|
410 |
test \$exitcode = 0") || { |
411 |
echo No shell found that supports shell functions. |
412 |
echo Please tell autoconf@gnu.org about your system, |
413 |
echo including any error possibly output before this |
414 |
echo message |
415 |
} |
416 |
|
417 |
|
418 |
|
419 |
as_lineno_1=$LINENO |
420 |
as_lineno_2=$LINENO |
421 |
test "x$as_lineno_1" != "x$as_lineno_2" && |
422 |
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { |
423 |
|
424 |
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
425 |
# uniformly replaced by the line number. The first 'sed' inserts a |
426 |
# line-number line after each line using $LINENO; the second 'sed' |
427 |
# does the real work. The second script uses 'N' to pair each |
428 |
# line-number line with the line containing $LINENO, and appends |
429 |
# trailing '-' during substitution so that $LINENO is not a special |
430 |
# case at line end. |
431 |
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
432 |
# scripts with optimization help from Paolo Bonzini. Blame Lee |
433 |
# E. McMahon (1931-1989) for sed's syntax. :-) |
434 |
sed -n ' |
435 |
p |
436 |
/[$]LINENO/= |
437 |
' <$as_myself | |
438 |
sed ' |
439 |
s/[$]LINENO.*/&-/ |
440 |
t lineno |
441 |
b |
442 |
:lineno |
443 |
N |
444 |
:loop |
445 |
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
446 |
t loop |
447 |
s/-\n.*// |
448 |
' >$as_me.lineno && |
449 |
chmod +x "$as_me.lineno" || |
450 |
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 |
451 |
{ (exit 1); exit 1; }; } |
452 |
|
453 |
# Don't try to exec as it changes $[0], causing all sort of problems |
454 |
# (the dirname of $[0] is not the place where we might find the |
455 |
# original and so on. Autoconf is especially sensitive to this). |
456 |
. "./$as_me.lineno" |
457 |
# Exit status is that of the last command. |
458 |
exit |
459 |
} |
460 |
|
461 |
|
462 |
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
463 |
as_dirname=dirname |
464 |
else |
465 |
as_dirname=false |
466 |
fi |
467 |
|
468 |
ECHO_C= ECHO_N= ECHO_T= |
469 |
case `echo -n x` in |
470 |
-n*) |
471 |
case `echo 'x\c'` in |
472 |
*c*) ECHO_T=' ';; # ECHO_T is single tab character. |
473 |
*) ECHO_C='\c';; |
474 |
esac;; |
475 |
*) |
476 |
ECHO_N='-n';; |
477 |
esac |
478 |
|
479 |
if expr a : '\(a\)' >/dev/null 2>&1 && |
480 |
test "X`expr 00001 : '.*\(...\)'`" = X001; then |
481 |
as_expr=expr |
482 |
else |
483 |
as_expr=false |
484 |
fi |
485 |
|
486 |
rm -f conf$$ conf$$.exe conf$$.file |
487 |
if test -d conf$$.dir; then |
488 |
rm -f conf$$.dir/conf$$.file |
489 |
else |
490 |
rm -f conf$$.dir |
491 |
mkdir conf$$.dir |
492 |
fi |
493 |
echo >conf$$.file |
494 |
if ln -s conf$$.file conf$$ 2>/dev/null; then |
495 |
as_ln_s='ln -s' |
496 |
# ... but there are two gotchas: |
497 |
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
498 |
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
499 |
# In both cases, we have to default to `cp -p'. |
500 |
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
501 |
as_ln_s='cp -p' |
502 |
elif ln conf$$.file conf$$ 2>/dev/null; then |
503 |
as_ln_s=ln |
504 |
else |
505 |
as_ln_s='cp -p' |
506 |
fi |
507 |
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
508 |
rmdir conf$$.dir 2>/dev/null |
509 |
|
510 |
if mkdir -p . 2>/dev/null; then |
511 |
as_mkdir_p=: |
512 |
else |
513 |
test -d ./-p && rmdir ./-p |
514 |
as_mkdir_p=false |
515 |
fi |
516 |
|
517 |
# Find out whether ``test -x'' works. Don't use a zero-byte file, as |
518 |
# systems may use methods other than mode bits to determine executability. |
519 |
cat >conf$$.file <<_ASEOF |
520 |
#! /bin/sh |
521 |
exit 0 |
522 |
_ASEOF |
523 |
chmod +x conf$$.file |
524 |
if test -x conf$$.file >/dev/null 2>&1; then |
525 |
as_executable_p="test -x" |
526 |
else |
527 |
as_executable_p=: |
528 |
fi |
529 |
rm -f conf$$.file |
530 |
|
531 |
# Sed expression to map a string onto a valid CPP name. |
532 |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
533 |
|
534 |
# Sed expression to map a string onto a valid variable name. |
535 |
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
536 |
|
537 |
|
538 |
|
539 |
exec 7<&0 </dev/null 6>&1 |
540 |
|
541 |
# Name of the host. |
542 |
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, |
543 |
# so uname gets run too. |
544 |
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
545 |
|
546 |
# |
547 |
# Initializations. |
548 |
# |
549 |
ac_default_prefix=/usr/local |
550 |
ac_clean_files= |
551 |
ac_config_libobj_dir=. |
552 |
LIBOBJS= |
553 |
cross_compiling=no |
554 |
subdirs= |
555 |
MFLAGS= |
556 |
MAKEFLAGS= |
557 |
SHELL=${CONFIG_SHELL-/bin/sh} |
558 |
|
559 |
# Identity of this package. |
560 |
PACKAGE_NAME='pxys2' |
561 |
PACKAGE_TARNAME='pxys2' |
562 |
PACKAGE_VERSION='2.1.0' |
563 |
PACKAGE_STRING='pxys2 2.1.0' |
564 |
PACKAGE_BUGREPORT='mbuna@undernet.org' |
565 |
|
566 |
ac_subst_vars='SHELL |
567 |
PATH_SEPARATOR |
568 |
PACKAGE_NAME |
569 |
PACKAGE_TARNAME |
570 |
PACKAGE_VERSION |
571 |
PACKAGE_STRING |
572 |
PACKAGE_BUGREPORT |
573 |
exec_prefix |
574 |
prefix |
575 |
program_transform_name |
576 |
bindir |
577 |
sbindir |
578 |
libexecdir |
579 |
datarootdir |
580 |
datadir |
581 |
sysconfdir |
582 |
sharedstatedir |
583 |
localstatedir |
584 |
includedir |
585 |
oldincludedir |
586 |
docdir |
587 |
infodir |
588 |
htmldir |
589 |
dvidir |
590 |
pdfdir |
591 |
psdir |
592 |
libdir |
593 |
localedir |
594 |
mandir |
595 |
DEFS |
596 |
ECHO_C |
597 |
ECHO_N |
598 |
ECHO_T |
599 |
LIBS |
600 |
build_alias |
601 |
host_alias |
602 |
target_alias |
603 |
INSTALL_PROGRAM |
604 |
INSTALL_SCRIPT |
605 |
INSTALL_DATA |
606 |
PACKAGE |
607 |
VERSION |
608 |
ACLOCAL |
609 |
AUTOCONF |
610 |
AUTOMAKE |
611 |
AUTOHEADER |
612 |
MAKEINFO |
613 |
SET_MAKE |
614 |
CC |
615 |
CFLAGS |
616 |
LDFLAGS |
617 |
CPPFLAGS |
618 |
ac_ct_CC |
619 |
EXEEXT |
620 |
OBJEXT |
621 |
LIBOBJS |
622 |
LTLIBOBJS' |
623 |
ac_subst_files='' |
624 |
ac_precious_vars='build_alias |
625 |
host_alias |
626 |
target_alias |
627 |
CC |
628 |
CFLAGS |
629 |
LDFLAGS |
630 |
CPPFLAGS' |
631 |
|
632 |
|
633 |
# Initialize some variables set by options. |
634 |
ac_init_help= |
635 |
ac_init_version=false |
636 |
# The variables have the same names as the options, with |
637 |
# dashes changed to underlines. |
638 |
cache_file=/dev/null |
639 |
exec_prefix=NONE |
640 |
no_create= |
641 |
no_recursion= |
642 |
prefix=NONE |
643 |
program_prefix=NONE |
644 |
program_suffix=NONE |
645 |
program_transform_name=s,x,x, |
646 |
silent= |
647 |
site= |
648 |
srcdir= |
649 |
verbose= |
650 |
x_includes=NONE |
651 |
x_libraries=NONE |
652 |
|
653 |
# Installation directory options. |
654 |
# These are left unexpanded so users can "make install exec_prefix=/foo" |
655 |
# and all the variables that are supposed to be based on exec_prefix |
656 |
# by default will actually change. |
657 |
# Use braces instead of parens because sh, perl, etc. also accept them. |
658 |
# (The list follows the same order as the GNU Coding Standards.) |
659 |
bindir='${exec_prefix}/bin' |
660 |
sbindir='${exec_prefix}/sbin' |
661 |
libexecdir='${exec_prefix}/libexec' |
662 |
datarootdir='${prefix}/share' |
663 |
datadir='${datarootdir}' |
664 |
sysconfdir='${prefix}/etc' |
665 |
sharedstatedir='${prefix}/com' |
666 |
localstatedir='${prefix}/var' |
667 |
includedir='${prefix}/include' |
668 |
oldincludedir='/usr/include' |
669 |
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' |
670 |
infodir='${datarootdir}/info' |
671 |
htmldir='${docdir}' |
672 |
dvidir='${docdir}' |
673 |
pdfdir='${docdir}' |
674 |
psdir='${docdir}' |
675 |
libdir='${exec_prefix}/lib' |
676 |
localedir='${datarootdir}/locale' |
677 |
mandir='${datarootdir}/man' |
678 |
|
679 |
ac_prev= |
680 |
ac_dashdash= |
681 |
for ac_option |
682 |
do |
683 |
# If the previous option needs an argument, assign it. |
684 |
if test -n "$ac_prev"; then |
685 |
eval $ac_prev=\$ac_option |
686 |
ac_prev= |
687 |
continue |
688 |
fi |
689 |
|
690 |
case $ac_option in |
691 |
*=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
692 |
*) ac_optarg=yes ;; |
693 |
esac |
694 |
|
695 |
# Accept the important Cygnus configure options, so we can diagnose typos. |
696 |
|
697 |
case $ac_dashdash$ac_option in |
698 |
--) |
699 |
ac_dashdash=yes ;; |
700 |
|
701 |
-bindir | --bindir | --bindi | --bind | --bin | --bi) |
702 |
ac_prev=bindir ;; |
703 |
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
704 |
bindir=$ac_optarg ;; |
705 |
|
706 |
-build | --build | --buil | --bui | --bu) |
707 |
ac_prev=build_alias ;; |
708 |
-build=* | --build=* | --buil=* | --bui=* | --bu=*) |
709 |
build_alias=$ac_optarg ;; |
710 |
|
711 |
-cache-file | --cache-file | --cache-fil | --cache-fi \ |
712 |
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
713 |
ac_prev=cache_file ;; |
714 |
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
715 |
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) |
716 |
cache_file=$ac_optarg ;; |
717 |
|
718 |
--config-cache | -C) |
719 |
cache_file=config.cache ;; |
720 |
|
721 |
-datadir | --datadir | --datadi | --datad) |
722 |
ac_prev=datadir ;; |
723 |
-datadir=* | --datadir=* | --datadi=* | --datad=*) |
724 |
datadir=$ac_optarg ;; |
725 |
|
726 |
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ |
727 |
| --dataroo | --dataro | --datar) |
728 |
ac_prev=datarootdir ;; |
729 |
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ |
730 |
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*) |
731 |
datarootdir=$ac_optarg ;; |
732 |
|
733 |
-disable-* | --disable-*) |
734 |
ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
735 |
# Reject names that are not valid shell variable names. |
736 |
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && |
737 |
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
738 |
{ (exit 1); exit 1; }; } |
739 |
ac_feature=`echo $ac_feature | sed 's/-/_/g'` |
740 |
eval enable_$ac_feature=no ;; |
741 |
|
742 |
-docdir | --docdir | --docdi | --doc | --do) |
743 |
ac_prev=docdir ;; |
744 |
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) |
745 |
docdir=$ac_optarg ;; |
746 |
|
747 |
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) |
748 |
ac_prev=dvidir ;; |
749 |
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) |
750 |
dvidir=$ac_optarg ;; |
751 |
|
752 |
-enable-* | --enable-*) |
753 |
ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
754 |
# Reject names that are not valid shell variable names. |
755 |
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && |
756 |
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
757 |
{ (exit 1); exit 1; }; } |
758 |
ac_feature=`echo $ac_feature | sed 's/-/_/g'` |
759 |
eval enable_$ac_feature=\$ac_optarg ;; |
760 |
|
761 |
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
762 |
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
763 |
| --exec | --exe | --ex) |
764 |
ac_prev=exec_prefix ;; |
765 |
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ |
766 |
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ |
767 |
| --exec=* | --exe=* | --ex=*) |
768 |
exec_prefix=$ac_optarg ;; |
769 |
|
770 |
-gas | --gas | --ga | --g) |
771 |
# Obsolete; use --with-gas. |
772 |
with_gas=yes ;; |
773 |
|
774 |
-help | --help | --hel | --he | -h) |
775 |
ac_init_help=long ;; |
776 |
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*) |
777 |
ac_init_help=recursive ;; |
778 |
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*) |
779 |
ac_init_help=short ;; |
780 |
|
781 |
-host | --host | --hos | --ho) |
782 |
ac_prev=host_alias ;; |
783 |
-host=* | --host=* | --hos=* | --ho=*) |
784 |
host_alias=$ac_optarg ;; |
785 |
|
786 |
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) |
787 |
ac_prev=htmldir ;; |
788 |
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ |
789 |
| --ht=*) |
790 |
htmldir=$ac_optarg ;; |
791 |
|
792 |
-includedir | --includedir | --includedi | --included | --include \ |
793 |
| --includ | --inclu | --incl | --inc) |
794 |
ac_prev=includedir ;; |
795 |
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ |
796 |
| --includ=* | --inclu=* | --incl=* | --inc=*) |
797 |
includedir=$ac_optarg ;; |
798 |
|
799 |
-infodir | --infodir | --infodi | --infod | --info | --inf) |
800 |
ac_prev=infodir ;; |
801 |
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) |
802 |
infodir=$ac_optarg ;; |
803 |
|
804 |
-libdir | --libdir | --libdi | --libd) |
805 |
ac_prev=libdir ;; |
806 |
-libdir=* | --libdir=* | --libdi=* | --libd=*) |
807 |
libdir=$ac_optarg ;; |
808 |
|
809 |
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ |
810 |
| --libexe | --libex | --libe) |
811 |
ac_prev=libexecdir ;; |
812 |
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ |
813 |
| --libexe=* | --libex=* | --libe=*) |
814 |
libexecdir=$ac_optarg ;; |
815 |
|
816 |
-localedir | --localedir | --localedi | --localed | --locale) |
817 |
ac_prev=localedir ;; |
818 |
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) |
819 |
localedir=$ac_optarg ;; |
820 |
|
821 |
-localstatedir | --localstatedir | --localstatedi | --localstated \ |
822 |
| --localstate | --localstat | --localsta | --localst | --locals) |
823 |
ac_prev=localstatedir ;; |
824 |
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
825 |
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) |
826 |
localstatedir=$ac_optarg ;; |
827 |
|
828 |
-mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
829 |
ac_prev=mandir ;; |
830 |
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) |
831 |
mandir=$ac_optarg ;; |
832 |
|
833 |
-nfp | --nfp | --nf) |
834 |
# Obsolete; use --without-fp. |
835 |
with_fp=no ;; |
836 |
|
837 |
-no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
838 |
| --no-cr | --no-c | -n) |
839 |
no_create=yes ;; |
840 |
|
841 |
-no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
842 |
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) |
843 |
no_recursion=yes ;; |
844 |
|
845 |
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ |
846 |
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ |
847 |
| --oldin | --oldi | --old | --ol | --o) |
848 |
ac_prev=oldincludedir ;; |
849 |
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ |
850 |
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ |
851 |
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) |
852 |
oldincludedir=$ac_optarg ;; |
853 |
|
854 |
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
855 |
ac_prev=prefix ;; |
856 |
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
857 |
prefix=$ac_optarg ;; |
858 |
|
859 |
-program-prefix | --program-prefix | --program-prefi | --program-pref \ |
860 |
| --program-pre | --program-pr | --program-p) |
861 |
ac_prev=program_prefix ;; |
862 |
-program-prefix=* | --program-prefix=* | --program-prefi=* \ |
863 |
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) |
864 |
program_prefix=$ac_optarg ;; |
865 |
|
866 |
-program-suffix | --program-suffix | --program-suffi | --program-suff \ |
867 |
| --program-suf | --program-su | --program-s) |
868 |
ac_prev=program_suffix ;; |
869 |
-program-suffix=* | --program-suffix=* | --program-suffi=* \ |
870 |
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) |
871 |
program_suffix=$ac_optarg ;; |
872 |
|
873 |
-program-transform-name | --program-transform-name \ |
874 |
| --program-transform-nam | --program-transform-na \ |
875 |
| --program-transform-n | --program-transform- \ |
876 |
| --program-transform | --program-transfor \ |
877 |
| --program-transfo | --program-transf \ |
878 |
| --program-trans | --program-tran \ |
879 |
| --progr-tra | --program-tr | --program-t) |
880 |
ac_prev=program_transform_name ;; |
881 |
-program-transform-name=* | --program-transform-name=* \ |
882 |
| --program-transform-nam=* | --program-transform-na=* \ |
883 |
| --program-transform-n=* | --program-transform-=* \ |
884 |
| --program-transform=* | --program-transfor=* \ |
885 |
| --program-transfo=* | --program-transf=* \ |
886 |
| --program-trans=* | --program-tran=* \ |
887 |
| --progr-tra=* | --program-tr=* | --program-t=*) |
888 |
program_transform_name=$ac_optarg ;; |
889 |
|
890 |
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) |
891 |
ac_prev=pdfdir ;; |
892 |
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) |
893 |
pdfdir=$ac_optarg ;; |
894 |
|
895 |
-psdir | --psdir | --psdi | --psd | --ps) |
896 |
ac_prev=psdir ;; |
897 |
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) |
898 |
psdir=$ac_optarg ;; |
899 |
|
900 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
901 |
| -silent | --silent | --silen | --sile | --sil) |
902 |
silent=yes ;; |
903 |
|
904 |
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
905 |
ac_prev=sbindir ;; |
906 |
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
907 |
| --sbi=* | --sb=*) |
908 |
sbindir=$ac_optarg ;; |
909 |
|
910 |
-sharedstatedir | --sharedstatedir | --sharedstatedi \ |
911 |
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \ |
912 |
| --sharedst | --shareds | --shared | --share | --shar \ |
913 |
| --sha | --sh) |
914 |
ac_prev=sharedstatedir ;; |
915 |
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ |
916 |
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ |
917 |
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ |
918 |
| --sha=* | --sh=*) |
919 |
sharedstatedir=$ac_optarg ;; |
920 |
|
921 |
-site | --site | --sit) |
922 |
ac_prev=site ;; |
923 |
-site=* | --site=* | --sit=*) |
924 |
site=$ac_optarg ;; |
925 |
|
926 |
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
927 |
ac_prev=srcdir ;; |
928 |
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
929 |
srcdir=$ac_optarg ;; |
930 |
|
931 |
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ |
932 |
| --syscon | --sysco | --sysc | --sys | --sy) |
933 |
ac_prev=sysconfdir ;; |
934 |
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ |
935 |
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) |
936 |
sysconfdir=$ac_optarg ;; |
937 |
|
938 |
-target | --target | --targe | --targ | --tar | --ta | --t) |
939 |
ac_prev=target_alias ;; |
940 |
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
941 |
target_alias=$ac_optarg ;; |
942 |
|
943 |
-v | -verbose | --verbose | --verbos | --verbo | --verb) |
944 |
verbose=yes ;; |
945 |
|
946 |
-version | --version | --versio | --versi | --vers | -V) |
947 |
ac_init_version=: ;; |
948 |
|
949 |
-with-* | --with-*) |
950 |
ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
951 |
# Reject names that are not valid shell variable names. |
952 |
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && |
953 |
{ echo "$as_me: error: invalid package name: $ac_package" >&2 |
954 |
{ (exit 1); exit 1; }; } |
955 |
ac_package=`echo $ac_package| sed 's/-/_/g'` |
956 |
eval with_$ac_package=\$ac_optarg ;; |
957 |
|
958 |
-without-* | --without-*) |
959 |
ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
960 |
# Reject names that are not valid shell variable names. |
961 |
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && |
962 |
{ echo "$as_me: error: invalid package name: $ac_package" >&2 |
963 |
{ (exit 1); exit 1; }; } |
964 |
ac_package=`echo $ac_package | sed 's/-/_/g'` |
965 |
eval with_$ac_package=no ;; |
966 |
|
967 |
--x) |
968 |
# Obsolete; use --with-x. |
969 |
with_x=yes ;; |
970 |
|
971 |
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ |
972 |
| --x-incl | --x-inc | --x-in | --x-i) |
973 |
ac_prev=x_includes ;; |
974 |
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ |
975 |
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) |
976 |
x_includes=$ac_optarg ;; |
977 |
|
978 |
-x-libraries | --x-libraries | --x-librarie | --x-librari \ |
979 |
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) |
980 |
ac_prev=x_libraries ;; |
981 |
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
982 |
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
983 |
x_libraries=$ac_optarg ;; |
984 |
|
985 |
-*) { echo "$as_me: error: unrecognized option: $ac_option |
986 |
Try \`$0 --help' for more information." >&2 |
987 |
{ (exit 1); exit 1; }; } |
988 |
;; |
989 |
|
990 |
*=*) |
991 |
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
992 |
# Reject names that are not valid shell variable names. |
993 |
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && |
994 |
{ echo "$as_me: error: invalid variable name: $ac_envvar" >&2 |
995 |
{ (exit 1); exit 1; }; } |
996 |
eval $ac_envvar=\$ac_optarg |
997 |
export $ac_envvar ;; |
998 |
|
999 |
*) |
1000 |
# FIXME: should be removed in autoconf 3.0. |
1001 |
echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
1002 |
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
1003 |
echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
1004 |
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} |
1005 |
;; |
1006 |
|
1007 |
esac |
1008 |
done |
1009 |
|
1010 |
if test -n "$ac_prev"; then |
1011 |
ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
1012 |
{ echo "$as_me: error: missing argument to $ac_option" >&2 |
1013 |
{ (exit 1); exit 1; }; } |
1014 |
fi |
1015 |
|
1016 |
# Be sure to have absolute directory names. |
1017 |
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
1018 |
datadir sysconfdir sharedstatedir localstatedir includedir \ |
1019 |
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
1020 |
libdir localedir mandir |
1021 |
do |
1022 |
eval ac_val=\$$ac_var |
1023 |
case $ac_val in |
1024 |
[\\/$]* | ?:[\\/]* ) continue;; |
1025 |
NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
1026 |
esac |
1027 |
{ echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
1028 |
{ (exit 1); exit 1; }; } |
1029 |
done |
1030 |
|
1031 |
# There might be people who depend on the old broken behavior: `$host' |
1032 |
# used to hold the argument of --host etc. |
1033 |
# FIXME: To remove some day. |
1034 |
build=$build_alias |
1035 |
host=$host_alias |
1036 |
target=$target_alias |
1037 |
|
1038 |
# FIXME: To remove some day. |
1039 |
if test "x$host_alias" != x; then |
1040 |
if test "x$build_alias" = x; then |
1041 |
cross_compiling=maybe |
1042 |
echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. |
1043 |
If a cross compiler is detected then cross compile mode will be used." >&2 |
1044 |
elif test "x$build_alias" != "x$host_alias"; then |
1045 |
cross_compiling=yes |
1046 |
fi |
1047 |
fi |
1048 |
|
1049 |
ac_tool_prefix= |
1050 |
test -n "$host_alias" && ac_tool_prefix=$host_alias- |
1051 |
|
1052 |
test "$silent" = yes && exec 6>/dev/null |
1053 |
|
1054 |
|
1055 |
ac_pwd=`pwd` && test -n "$ac_pwd" && |
1056 |
ac_ls_di=`ls -di .` && |
1057 |
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
1058 |
{ echo "$as_me: error: Working directory cannot be determined" >&2 |
1059 |
{ (exit 1); exit 1; }; } |
1060 |
test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
1061 |
{ echo "$as_me: error: pwd does not report name of working directory" >&2 |
1062 |
{ (exit 1); exit 1; }; } |
1063 |
|
1064 |
|
1065 |
# Find the source files, if location was not specified. |
1066 |
if test -z "$srcdir"; then |
1067 |
ac_srcdir_defaulted=yes |
1068 |
# Try the directory containing this script, then the parent directory. |
1069 |
ac_confdir=`$as_dirname -- "$0" || |
1070 |
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
1071 |
X"$0" : 'X\(//\)[^/]' \| \ |
1072 |
X"$0" : 'X\(//\)$' \| \ |
1073 |
X"$0" : 'X\(/\)' \| . 2>/dev/null || |
1074 |
echo X"$0" | |
1075 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
1076 |
s//\1/ |
1077 |
q |
1078 |
} |
1079 |
/^X\(\/\/\)[^/].*/{ |
1080 |
s//\1/ |
1081 |
q |
1082 |
} |
1083 |
/^X\(\/\/\)$/{ |
1084 |
s//\1/ |
1085 |
q |
1086 |
} |
1087 |
/^X\(\/\).*/{ |
1088 |
s//\1/ |
1089 |
q |
1090 |
} |
1091 |
s/.*/./; q'` |
1092 |
srcdir=$ac_confdir |
1093 |
if test ! -r "$srcdir/$ac_unique_file"; then |
1094 |
srcdir=.. |
1095 |
fi |
1096 |
else |
1097 |
ac_srcdir_defaulted=no |
1098 |
fi |
1099 |
if test ! -r "$srcdir/$ac_unique_file"; then |
1100 |
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
1101 |
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 |
1102 |
{ (exit 1); exit 1; }; } |
1103 |
fi |
1104 |
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
1105 |
ac_abs_confdir=`( |
1106 |
cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 |
1107 |
{ (exit 1); exit 1; }; } |
1108 |
pwd)` |
1109 |
# When building in place, set srcdir=. |
1110 |
if test "$ac_abs_confdir" = "$ac_pwd"; then |
1111 |
srcdir=. |
1112 |
fi |
1113 |
# Remove unnecessary trailing slashes from srcdir. |
1114 |
# Double slashes in file names in object file debugging info |
1115 |
# mess up M-x gdb in Emacs. |
1116 |
case $srcdir in |
1117 |
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; |
1118 |
esac |
1119 |
for ac_var in $ac_precious_vars; do |
1120 |
eval ac_env_${ac_var}_set=\${${ac_var}+set} |
1121 |
eval ac_env_${ac_var}_value=\$${ac_var} |
1122 |
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} |
1123 |
eval ac_cv_env_${ac_var}_value=\$${ac_var} |
1124 |
done |
1125 |
|
1126 |
# |
1127 |
# Report the --help message. |
1128 |
# |
1129 |
if test "$ac_init_help" = "long"; then |
1130 |
# Omit some internal or obsolete options to make the list less imposing. |
1131 |
# This message is too long to be a string in the A/UX 3.1 sh. |
1132 |
cat <<_ACEOF |
1133 |
\`configure' configures pxys2 2.1.0 to adapt to many kinds of systems. |
1134 |
|
1135 |
Usage: $0 [OPTION]... [VAR=VALUE]... |
1136 |
|
1137 |
To assign environment variables (e.g., CC, CFLAGS...), specify them as |
1138 |
VAR=VALUE. See below for descriptions of some of the useful variables. |
1139 |
|
1140 |
Defaults for the options are specified in brackets. |
1141 |
|
1142 |
Configuration: |
1143 |
-h, --help display this help and exit |
1144 |
--help=short display options specific to this package |
1145 |
--help=recursive display the short help of all the included packages |
1146 |
-V, --version display version information and exit |
1147 |
-q, --quiet, --silent do not print \`checking...' messages |
1148 |
--cache-file=FILE cache test results in FILE [disabled] |
1149 |
-C, --config-cache alias for \`--cache-file=config.cache' |
1150 |
-n, --no-create do not create output files |
1151 |
--srcdir=DIR find the sources in DIR [configure dir or \`..'] |
1152 |
|
1153 |
Installation directories: |
1154 |
--prefix=PREFIX install architecture-independent files in PREFIX |
1155 |
[$ac_default_prefix] |
1156 |
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
1157 |
[PREFIX] |
1158 |
|
1159 |
By default, \`make install' will install all the files in |
1160 |
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
1161 |
an installation prefix other than \`$ac_default_prefix' using \`--prefix', |
1162 |
for instance \`--prefix=\$HOME'. |
1163 |
|
1164 |
For better control, use the options below. |
1165 |
|
1166 |
Fine tuning of the installation directories: |
1167 |
--bindir=DIR user executables [EPREFIX/bin] |
1168 |
--sbindir=DIR system admin executables [EPREFIX/sbin] |
1169 |
--libexecdir=DIR program executables [EPREFIX/libexec] |
1170 |
--sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
1171 |
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
1172 |
--localstatedir=DIR modifiable single-machine data [PREFIX/var] |
1173 |
--libdir=DIR object code libraries [EPREFIX/lib] |
1174 |
--includedir=DIR C header files [PREFIX/include] |
1175 |
--oldincludedir=DIR C header files for non-gcc [/usr/include] |
1176 |
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share] |
1177 |
--datadir=DIR read-only architecture-independent data [DATAROOTDIR] |
1178 |
--infodir=DIR info documentation [DATAROOTDIR/info] |
1179 |
--localedir=DIR locale-dependent data [DATAROOTDIR/locale] |
1180 |
--mandir=DIR man documentation [DATAROOTDIR/man] |
1181 |
--docdir=DIR documentation root [DATAROOTDIR/doc/pxys2] |
1182 |
--htmldir=DIR html documentation [DOCDIR] |
1183 |
--dvidir=DIR dvi documentation [DOCDIR] |
1184 |
--pdfdir=DIR pdf documentation [DOCDIR] |
1185 |
--psdir=DIR ps documentation [DOCDIR] |
1186 |
_ACEOF |
1187 |
|
1188 |
cat <<\_ACEOF |
1189 |
|
1190 |
Program names: |
1191 |
--program-prefix=PREFIX prepend PREFIX to installed program names |
1192 |
--program-suffix=SUFFIX append SUFFIX to installed program names |
1193 |
--program-transform-name=PROGRAM run sed PROGRAM on installed program names |
1194 |
_ACEOF |
1195 |
fi |
1196 |
|
1197 |
if test -n "$ac_init_help"; then |
1198 |
case $ac_init_help in |
1199 |
short | recursive ) echo "Configuration of pxys2 2.1.0:";; |
1200 |
esac |
1201 |
cat <<\_ACEOF |
1202 |
|
1203 |
Some influential environment variables: |
1204 |
CC C compiler command |
1205 |
CFLAGS C compiler flags |
1206 |
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
1207 |
nonstandard directory <lib dir> |
1208 |
CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if |
1209 |
you have headers in a nonstandard directory <include dir> |
1210 |
|
1211 |
Use these variables to override the choices made by `configure' or to help |
1212 |
it to find libraries and programs with nonstandard names/locations. |
1213 |
|
1214 |
Report bugs to <mbuna@undernet.org>. |
1215 |
_ACEOF |
1216 |
ac_status=$? |
1217 |
fi |
1218 |
|
1219 |
if test "$ac_init_help" = "recursive"; then |
1220 |
# If there are subdirs, report their specific --help. |
1221 |
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
1222 |
test -d "$ac_dir" || continue |
1223 |
ac_builddir=. |
1224 |
|
1225 |
case "$ac_dir" in |
1226 |
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
1227 |
*) |
1228 |
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
1229 |
# A ".." for each directory in $ac_dir_suffix. |
1230 |
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` |
1231 |
case $ac_top_builddir_sub in |
1232 |
"") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
1233 |
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
1234 |
esac ;; |
1235 |
esac |
1236 |
ac_abs_top_builddir=$ac_pwd |
1237 |
ac_abs_builddir=$ac_pwd$ac_dir_suffix |
1238 |
# for backward compatibility: |
1239 |
ac_top_builddir=$ac_top_build_prefix |
1240 |
|
1241 |
case $srcdir in |
1242 |
.) # We are building in place. |
1243 |
ac_srcdir=. |
1244 |
ac_top_srcdir=$ac_top_builddir_sub |
1245 |
ac_abs_top_srcdir=$ac_pwd ;; |
1246 |
[\\/]* | ?:[\\/]* ) # Absolute name. |
1247 |
ac_srcdir=$srcdir$ac_dir_suffix; |
1248 |
ac_top_srcdir=$srcdir |
1249 |
ac_abs_top_srcdir=$srcdir ;; |
1250 |
*) # Relative name. |
1251 |
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
1252 |
ac_top_srcdir=$ac_top_build_prefix$srcdir |
1253 |
ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
1254 |
esac |
1255 |
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
1256 |
|
1257 |
cd "$ac_dir" || { ac_status=$?; continue; } |
1258 |
# Check for guested configure. |
1259 |
if test -f "$ac_srcdir/configure.gnu"; then |
1260 |
echo && |
1261 |
$SHELL "$ac_srcdir/configure.gnu" --help=recursive |
1262 |
elif test -f "$ac_srcdir/configure"; then |
1263 |
echo && |
1264 |
$SHELL "$ac_srcdir/configure" --help=recursive |
1265 |
else |
1266 |
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
1267 |
fi || ac_status=$? |
1268 |
cd "$ac_pwd" || { ac_status=$?; break; } |
1269 |
done |
1270 |
fi |
1271 |
|
1272 |
test -n "$ac_init_help" && exit $ac_status |
1273 |
if $ac_init_version; then |
1274 |
cat <<\_ACEOF |
1275 |
pxys2 configure 2.1.0 |
1276 |
generated by GNU Autoconf 2.60 |
1277 |
|
1278 |
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
1279 |
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. |
1280 |
This configure script is free software; the Free Software Foundation |
1281 |
gives unlimited permission to copy, distribute and modify it. |
1282 |
_ACEOF |
1283 |
exit |
1284 |
fi |
1285 |
cat >config.log <<_ACEOF |
1286 |
This file contains any messages produced by compilers while |
1287 |
running configure, to aid debugging if configure makes a mistake. |
1288 |
|
1289 |
It was created by pxys2 $as_me 2.1.0, which was |
1290 |
generated by GNU Autoconf 2.60. Invocation command line was |
1291 |
|
1292 |
$ $0 $@ |
1293 |
|
1294 |
_ACEOF |
1295 |
exec 5>>config.log |
1296 |
{ |
1297 |
cat <<_ASUNAME |
1298 |
## --------- ## |
1299 |
## Platform. ## |
1300 |
## --------- ## |
1301 |
|
1302 |
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` |
1303 |
uname -m = `(uname -m) 2>/dev/null || echo unknown` |
1304 |
uname -r = `(uname -r) 2>/dev/null || echo unknown` |
1305 |
uname -s = `(uname -s) 2>/dev/null || echo unknown` |
1306 |
uname -v = `(uname -v) 2>/dev/null || echo unknown` |
1307 |
|
1308 |
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` |
1309 |
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` |
1310 |
|
1311 |
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` |
1312 |
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` |
1313 |
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` |
1314 |
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` |
1315 |
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` |
1316 |
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` |
1317 |
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` |
1318 |
|
1319 |
_ASUNAME |
1320 |
|
1321 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1322 |
for as_dir in $PATH |
1323 |
do |
1324 |
IFS=$as_save_IFS |
1325 |
test -z "$as_dir" && as_dir=. |
1326 |
echo "PATH: $as_dir" |
1327 |
done |
1328 |
IFS=$as_save_IFS |
1329 |
|
1330 |
} >&5 |
1331 |
|
1332 |
cat >&5 <<_ACEOF |
1333 |
|
1334 |
|
1335 |
## ----------- ## |
1336 |
## Core tests. ## |
1337 |
## ----------- ## |
1338 |
|
1339 |
_ACEOF |
1340 |
|
1341 |
|
1342 |
# Keep a trace of the command line. |
1343 |
# Strip out --no-create and --no-recursion so they do not pile up. |
1344 |
# Strip out --silent because we don't want to record it for future runs. |
1345 |
# Also quote any args containing shell meta-characters. |
1346 |
# Make two passes to allow for proper duplicate-argument suppression. |
1347 |
ac_configure_args= |
1348 |
ac_configure_args0= |
1349 |
ac_configure_args1= |
1350 |
ac_must_keep_next=false |
1351 |
for ac_pass in 1 2 |
1352 |
do |
1353 |
for ac_arg |
1354 |
do |
1355 |
case $ac_arg in |
1356 |
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
1357 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
1358 |
| -silent | --silent | --silen | --sile | --sil) |
1359 |
continue ;; |
1360 |
*\'*) |
1361 |
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
1362 |
esac |
1363 |
case $ac_pass in |
1364 |
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; |
1365 |
2) |
1366 |
ac_configure_args1="$ac_configure_args1 '$ac_arg'" |
1367 |
if test $ac_must_keep_next = true; then |
1368 |
ac_must_keep_next=false # Got value, back to normal. |
1369 |
else |
1370 |
case $ac_arg in |
1371 |
*=* | --config-cache | -C | -disable-* | --disable-* \ |
1372 |
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
1373 |
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
1374 |
| -with-* | --with-* | -without-* | --without-* | --x) |
1375 |
case "$ac_configure_args0 " in |
1376 |
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
1377 |
esac |
1378 |
;; |
1379 |
-* ) ac_must_keep_next=true ;; |
1380 |
esac |
1381 |
fi |
1382 |
ac_configure_args="$ac_configure_args '$ac_arg'" |
1383 |
;; |
1384 |
esac |
1385 |
done |
1386 |
done |
1387 |
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } |
1388 |
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } |
1389 |
|
1390 |
# When interrupted or exit'd, cleanup temporary files, and complete |
1391 |
# config.log. We remove comments because anyway the quotes in there |
1392 |
# would cause problems or look ugly. |
1393 |
# WARNING: Use '\'' to represent an apostrophe within the trap. |
1394 |
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. |
1395 |
trap 'exit_status=$? |
1396 |
# Save into config.log some information that might help in debugging. |
1397 |
{ |
1398 |
echo |
1399 |
|
1400 |
cat <<\_ASBOX |
1401 |
## ---------------- ## |
1402 |
## Cache variables. ## |
1403 |
## ---------------- ## |
1404 |
_ASBOX |
1405 |
echo |
1406 |
# The following way of writing the cache mishandles newlines in values, |
1407 |
( |
1408 |
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do |
1409 |
eval ac_val=\$$ac_var |
1410 |
case $ac_val in #( |
1411 |
*${as_nl}*) |
1412 |
case $ac_var in #( |
1413 |
*_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 |
1414 |
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; |
1415 |
esac |
1416 |
case $ac_var in #( |
1417 |
_ | IFS | as_nl) ;; #( |
1418 |
*) $as_unset $ac_var ;; |
1419 |
esac ;; |
1420 |
esac |
1421 |
done |
1422 |
(set) 2>&1 | |
1423 |
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( |
1424 |
*${as_nl}ac_space=\ *) |
1425 |
sed -n \ |
1426 |
"s/'\''/'\''\\\\'\'''\''/g; |
1427 |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" |
1428 |
;; #( |
1429 |
*) |
1430 |
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
1431 |
;; |
1432 |
esac | |
1433 |
sort |
1434 |
) |
1435 |
echo |
1436 |
|
1437 |
cat <<\_ASBOX |
1438 |
## ----------------- ## |
1439 |
## Output variables. ## |
1440 |
## ----------------- ## |
1441 |
_ASBOX |
1442 |
echo |
1443 |
for ac_var in $ac_subst_vars |
1444 |
do |
1445 |
eval ac_val=\$$ac_var |
1446 |
case $ac_val in |
1447 |
*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
1448 |
esac |
1449 |
echo "$ac_var='\''$ac_val'\''" |
1450 |
done | sort |
1451 |
echo |
1452 |
|
1453 |
if test -n "$ac_subst_files"; then |
1454 |
cat <<\_ASBOX |
1455 |
## ------------------- ## |
1456 |
## File substitutions. ## |
1457 |
## ------------------- ## |
1458 |
_ASBOX |
1459 |
echo |
1460 |
for ac_var in $ac_subst_files |
1461 |
do |
1462 |
eval ac_val=\$$ac_var |
1463 |
case $ac_val in |
1464 |
*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
1465 |
esac |
1466 |
echo "$ac_var='\''$ac_val'\''" |
1467 |
done | sort |
1468 |
echo |
1469 |
fi |
1470 |
|
1471 |
if test -s confdefs.h; then |
1472 |
cat <<\_ASBOX |
1473 |
## ----------- ## |
1474 |
## confdefs.h. ## |
1475 |
## ----------- ## |
1476 |
_ASBOX |
1477 |
echo |
1478 |
cat confdefs.h |
1479 |
echo |
1480 |
fi |
1481 |
test "$ac_signal" != 0 && |
1482 |
echo "$as_me: caught signal $ac_signal" |
1483 |
echo "$as_me: exit $exit_status" |
1484 |
} >&5 |
1485 |
rm -f core *.core core.conftest.* && |
1486 |
rm -f -r conftest* confdefs* conf$$* $ac_clean_files && |
1487 |
exit $exit_status |
1488 |
' 0 |
1489 |
for ac_signal in 1 2 13 15; do |
1490 |
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal |
1491 |
done |
1492 |
ac_signal=0 |
1493 |
|
1494 |
# confdefs.h avoids OS command line length limits that DEFS can exceed. |
1495 |
rm -f -r conftest* confdefs.h |
1496 |
|
1497 |
# Predefined preprocessor variables. |
1498 |
|
1499 |
cat >>confdefs.h <<_ACEOF |
1500 |
#define PACKAGE_NAME "$PACKAGE_NAME" |
1501 |
_ACEOF |
1502 |
|
1503 |
|
1504 |
cat >>confdefs.h <<_ACEOF |
1505 |
#define PACKAGE_TARNAME "$PACKAGE_TARNAME" |
1506 |
_ACEOF |
1507 |
|
1508 |
|
1509 |
cat >>confdefs.h <<_ACEOF |
1510 |
#define PACKAGE_VERSION "$PACKAGE_VERSION" |
1511 |
_ACEOF |
1512 |
|
1513 |
|
1514 |
cat >>confdefs.h <<_ACEOF |
1515 |
#define PACKAGE_STRING "$PACKAGE_STRING" |
1516 |
_ACEOF |
1517 |
|
1518 |
|
1519 |
cat >>confdefs.h <<_ACEOF |
1520 |
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
1521 |
_ACEOF |
1522 |
|
1523 |
|
1524 |
# Let the site file select an alternate cache file if it wants to. |
1525 |
# Prefer explicitly selected file to automatically selected ones. |
1526 |
if test -n "$CONFIG_SITE"; then |
1527 |
set x "$CONFIG_SITE" |
1528 |
elif test "x$prefix" != xNONE; then |
1529 |
set x "$prefix/share/config.site" "$prefix/etc/config.site" |
1530 |
else |
1531 |
set x "$ac_default_prefix/share/config.site" \ |
1532 |
"$ac_default_prefix/etc/config.site" |
1533 |
fi |
1534 |
shift |
1535 |
for ac_site_file |
1536 |
do |
1537 |
if test -r "$ac_site_file"; then |
1538 |
{ echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 |
1539 |
echo "$as_me: loading site script $ac_site_file" >&6;} |
1540 |
sed 's/^/| /' "$ac_site_file" >&5 |
1541 |
. "$ac_site_file" |
1542 |
fi |
1543 |
done |
1544 |
|
1545 |
if test -r "$cache_file"; then |
1546 |
# Some versions of bash will fail to source /dev/null (special |
1547 |
# files actually), so we avoid doing that. |
1548 |
if test -f "$cache_file"; then |
1549 |
{ echo "$as_me:$LINENO: loading cache $cache_file" >&5 |
1550 |
echo "$as_me: loading cache $cache_file" >&6;} |
1551 |
case $cache_file in |
1552 |
[\\/]* | ?:[\\/]* ) . "$cache_file";; |
1553 |
*) . "./$cache_file";; |
1554 |
esac |
1555 |
fi |
1556 |
else |
1557 |
{ echo "$as_me:$LINENO: creating cache $cache_file" >&5 |
1558 |
echo "$as_me: creating cache $cache_file" >&6;} |
1559 |
>$cache_file |
1560 |
fi |
1561 |
|
1562 |
# Check that the precious variables saved in the cache have kept the same |
1563 |
# value. |
1564 |
ac_cache_corrupted=false |
1565 |
for ac_var in $ac_precious_vars; do |
1566 |
eval ac_old_set=\$ac_cv_env_${ac_var}_set |
1567 |
eval ac_new_set=\$ac_env_${ac_var}_set |
1568 |
eval ac_old_val=\$ac_cv_env_${ac_var}_value |
1569 |
eval ac_new_val=\$ac_env_${ac_var}_value |
1570 |
case $ac_old_set,$ac_new_set in |
1571 |
set,) |
1572 |
{ echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
1573 |
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
1574 |
ac_cache_corrupted=: ;; |
1575 |
,set) |
1576 |
{ echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 |
1577 |
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
1578 |
ac_cache_corrupted=: ;; |
1579 |
,);; |
1580 |
*) |
1581 |
if test "x$ac_old_val" != "x$ac_new_val"; then |
1582 |
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 |
1583 |
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
1584 |
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5 |
1585 |
echo "$as_me: former value: $ac_old_val" >&2;} |
1586 |
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5 |
1587 |
echo "$as_me: current value: $ac_new_val" >&2;} |
1588 |
ac_cache_corrupted=: |
1589 |
fi;; |
1590 |
esac |
1591 |
# Pass precious variables to config.status. |
1592 |
if test "$ac_new_set" = set; then |
1593 |
case $ac_new_val in |
1594 |
*\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
1595 |
*) ac_arg=$ac_var=$ac_new_val ;; |
1596 |
esac |
1597 |
case " $ac_configure_args " in |
1598 |
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
1599 |
*) ac_configure_args="$ac_configure_args '$ac_arg'" ;; |
1600 |
esac |
1601 |
fi |
1602 |
done |
1603 |
if $ac_cache_corrupted; then |
1604 |
{ echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 |
1605 |
echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
1606 |
{ { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 |
1607 |
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} |
1608 |
{ (exit 1); exit 1; }; } |
1609 |
fi |
1610 |
|
1611 |
|
1612 |
|
1613 |
|
1614 |
|
1615 |
|
1616 |
|
1617 |
|
1618 |
|
1619 |
|
1620 |
|
1621 |
|
1622 |
|
1623 |
|
1624 |
|
1625 |
|
1626 |
|
1627 |
|
1628 |
|
1629 |
|
1630 |
|
1631 |
|
1632 |
|
1633 |
|
1634 |
|
1635 |
ac_ext=c |
1636 |
ac_cpp='$CPP $CPPFLAGS' |
1637 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
1638 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
1639 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
1640 |
|
1641 |
|
1642 |
am__api_version="1.4" |
1643 |
ac_aux_dir= |
1644 |
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
1645 |
if test -f "$ac_dir/install-sh"; then |
1646 |
ac_aux_dir=$ac_dir |
1647 |
ac_install_sh="$ac_aux_dir/install-sh -c" |
1648 |
break |
1649 |
elif test -f "$ac_dir/install.sh"; then |
1650 |
ac_aux_dir=$ac_dir |
1651 |
ac_install_sh="$ac_aux_dir/install.sh -c" |
1652 |
break |
1653 |
elif test -f "$ac_dir/shtool"; then |
1654 |
ac_aux_dir=$ac_dir |
1655 |
ac_install_sh="$ac_aux_dir/shtool install -c" |
1656 |
break |
1657 |
fi |
1658 |
done |
1659 |
if test -z "$ac_aux_dir"; then |
1660 |
{ { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 |
1661 |
echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} |
1662 |
{ (exit 1); exit 1; }; } |
1663 |
fi |
1664 |
|
1665 |
# These three variables are undocumented and unsupported, |
1666 |
# and are intended to be withdrawn in a future Autoconf release. |
1667 |
# They can cause serious problems if a builder's source tree is in a directory |
1668 |
# whose full name contains unusual characters. |
1669 |
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. |
1670 |
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. |
1671 |
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. |
1672 |
|
1673 |
|
1674 |
# Find a good install program. We prefer a C program (faster), |
1675 |
# so one script is as good as another. But avoid the broken or |
1676 |
# incompatible versions: |
1677 |
# SysV /etc/install, /usr/sbin/install |
1678 |
# SunOS /usr/etc/install |
1679 |
# IRIX /sbin/install |
1680 |
# AIX /bin/install |
1681 |
# AmigaOS /C/install, which installs bootblocks on floppy discs |
1682 |
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
1683 |
# AFS /usr/afsws/bin/install, which mishandles nonexistent args |
1684 |
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
1685 |
# OS/2's system install, which has a completely different semantic |
1686 |
# ./install, which can be erroneously created by make from ./install.sh. |
1687 |
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
1688 |
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } |
1689 |
if test -z "$INSTALL"; then |
1690 |
if test "${ac_cv_path_install+set}" = set; then |
1691 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1692 |
else |
1693 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1694 |
for as_dir in $PATH |
1695 |
do |
1696 |
IFS=$as_save_IFS |
1697 |
test -z "$as_dir" && as_dir=. |
1698 |
# Account for people who put trailing slashes in PATH elements. |
1699 |
case $as_dir/ in |
1700 |
./ | .// | /cC/* | \ |
1701 |
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
1702 |
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ |
1703 |
/usr/ucb/* ) ;; |
1704 |
*) |
1705 |
# OSF1 and SCO ODT 3.0 have their own names for install. |
1706 |
# Don't use installbsd from OSF since it installs stuff as root |
1707 |
# by default. |
1708 |
for ac_prog in ginstall scoinst install; do |
1709 |
for ac_exec_ext in '' $ac_executable_extensions; do |
1710 |
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then |
1711 |
if test $ac_prog = install && |
1712 |
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
1713 |
# AIX install. It has an incompatible calling convention. |
1714 |
: |
1715 |
elif test $ac_prog = install && |
1716 |
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
1717 |
# program-specific install script used by HP pwplus--don't use. |
1718 |
: |
1719 |
else |
1720 |
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
1721 |
break 3 |
1722 |
fi |
1723 |
fi |
1724 |
done |
1725 |
done |
1726 |
;; |
1727 |
esac |
1728 |
done |
1729 |
IFS=$as_save_IFS |
1730 |
|
1731 |
|
1732 |
fi |
1733 |
if test "${ac_cv_path_install+set}" = set; then |
1734 |
INSTALL=$ac_cv_path_install |
1735 |
else |
1736 |
# As a last resort, use the slow shell script. Don't cache a |
1737 |
# value for INSTALL within a source directory, because that will |
1738 |
# break other packages using the cache if that directory is |
1739 |
# removed, or if the value is a relative name. |
1740 |
INSTALL=$ac_install_sh |
1741 |
fi |
1742 |
fi |
1743 |
{ echo "$as_me:$LINENO: result: $INSTALL" >&5 |
1744 |
echo "${ECHO_T}$INSTALL" >&6; } |
1745 |
|
1746 |
# Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
1747 |
# It thinks the first close brace ends the variable substitution. |
1748 |
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
1749 |
|
1750 |
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
1751 |
|
1752 |
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
1753 |
|
1754 |
{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5 |
1755 |
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; } |
1756 |
# Just in case |
1757 |
sleep 1 |
1758 |
echo timestamp > conftestfile |
1759 |
# Do `set' in a subshell so we don't clobber the current shell's |
1760 |
# arguments. Must try -L first in case configure is actually a |
1761 |
# symlink; some systems play weird games with the mod time of symlinks |
1762 |
# (eg FreeBSD returns the mod time of the symlink's containing |
1763 |
# directory). |
1764 |
if ( |
1765 |
set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null` |
1766 |
if test "$*" = "X"; then |
1767 |
# -L didn't work. |
1768 |
set X `ls -t $srcdir/configure conftestfile` |
1769 |
fi |
1770 |
if test "$*" != "X $srcdir/configure conftestfile" \ |
1771 |
&& test "$*" != "X conftestfile $srcdir/configure"; then |
1772 |
|
1773 |
# If neither matched, then we have a broken ls. This can happen |
1774 |
# if, for instance, CONFIG_SHELL is bash and it inherits a |
1775 |
# broken ls alias from the environment. This has actually |
1776 |
# happened. Such a system could not be considered "sane". |
1777 |
{ { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken |
1778 |
alias in your environment" >&5 |
1779 |
echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken |
1780 |
alias in your environment" >&2;} |
1781 |
{ (exit 1); exit 1; }; } |
1782 |
fi |
1783 |
|
1784 |
test "$2" = conftestfile |
1785 |
) |
1786 |
then |
1787 |
# Ok. |
1788 |
: |
1789 |
else |
1790 |
{ { echo "$as_me:$LINENO: error: newly created file is older than distributed files! |
1791 |
Check your system clock" >&5 |
1792 |
echo "$as_me: error: newly created file is older than distributed files! |
1793 |
Check your system clock" >&2;} |
1794 |
{ (exit 1); exit 1; }; } |
1795 |
fi |
1796 |
rm -f conftest* |
1797 |
{ echo "$as_me:$LINENO: result: yes" >&5 |
1798 |
echo "${ECHO_T}yes" >&6; } |
1799 |
test "$program_prefix" != NONE && |
1800 |
program_transform_name="s&^&$program_prefix&;$program_transform_name" |
1801 |
# Use a double $ so make ignores it. |
1802 |
test "$program_suffix" != NONE && |
1803 |
program_transform_name="s&\$&$program_suffix&;$program_transform_name" |
1804 |
# Double any \ or $. echo might interpret backslashes. |
1805 |
# By default was `s,x,x', remove it if useless. |
1806 |
cat <<\_ACEOF >conftest.sed |
1807 |
s/[\\$]/&&/g;s/;s,x,x,$// |
1808 |
_ACEOF |
1809 |
program_transform_name=`echo $program_transform_name | sed -f conftest.sed` |
1810 |
rm -f conftest.sed |
1811 |
|
1812 |
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
1813 |
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; } |
1814 |
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
1815 |
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then |
1816 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1817 |
else |
1818 |
cat >conftest.make <<\_ACEOF |
1819 |
SHELL = /bin/sh |
1820 |
all: |
1821 |
@echo '@@@%%%=$(MAKE)=@@@%%%' |
1822 |
_ACEOF |
1823 |
# GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
1824 |
case `${MAKE-make} -f conftest.make 2>/dev/null` in |
1825 |
*@@@%%%=?*=@@@%%%*) |
1826 |
eval ac_cv_prog_make_${ac_make}_set=yes;; |
1827 |
*) |
1828 |
eval ac_cv_prog_make_${ac_make}_set=no;; |
1829 |
esac |
1830 |
rm -f conftest.make |
1831 |
fi |
1832 |
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then |
1833 |
{ echo "$as_me:$LINENO: result: yes" >&5 |
1834 |
echo "${ECHO_T}yes" >&6; } |
1835 |
SET_MAKE= |
1836 |
else |
1837 |
{ echo "$as_me:$LINENO: result: no" >&5 |
1838 |
echo "${ECHO_T}no" >&6; } |
1839 |
SET_MAKE="MAKE=${MAKE-make}" |
1840 |
fi |
1841 |
|
1842 |
|
1843 |
PACKAGE=pxys2 |
1844 |
|
1845 |
VERSION= |
1846 |
|
1847 |
if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then |
1848 |
{ { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 |
1849 |
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} |
1850 |
{ (exit 1); exit 1; }; } |
1851 |
fi |
1852 |
|
1853 |
cat >>confdefs.h <<_ACEOF |
1854 |
#define PACKAGE "$PACKAGE" |
1855 |
_ACEOF |
1856 |
|
1857 |
|
1858 |
cat >>confdefs.h <<_ACEOF |
1859 |
#define VERSION "$VERSION" |
1860 |
_ACEOF |
1861 |
|
1862 |
|
1863 |
|
1864 |
missing_dir=`cd $ac_aux_dir && pwd` |
1865 |
{ echo "$as_me:$LINENO: checking for working aclocal-${am__api_version}" >&5 |
1866 |
echo $ECHO_N "checking for working aclocal-${am__api_version}... $ECHO_C" >&6; } |
1867 |
# Run test in a subshell; some versions of sh will print an error if |
1868 |
# an executable is not found, even if stderr is redirected. |
1869 |
# Redirect stdin to placate older versions of autoconf. Sigh. |
1870 |
if (aclocal-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then |
1871 |
ACLOCAL=aclocal-${am__api_version} |
1872 |
{ echo "$as_me:$LINENO: result: found" >&5 |
1873 |
echo "${ECHO_T}found" >&6; } |
1874 |
else |
1875 |
ACLOCAL="$missing_dir/missing aclocal-${am__api_version}" |
1876 |
{ echo "$as_me:$LINENO: result: missing" >&5 |
1877 |
echo "${ECHO_T}missing" >&6; } |
1878 |
fi |
1879 |
|
1880 |
{ echo "$as_me:$LINENO: checking for working autoconf" >&5 |
1881 |
echo $ECHO_N "checking for working autoconf... $ECHO_C" >&6; } |
1882 |
# Run test in a subshell; some versions of sh will print an error if |
1883 |
# an executable is not found, even if stderr is redirected. |
1884 |
# Redirect stdin to placate older versions of autoconf. Sigh. |
1885 |
if (autoconf --version) < /dev/null > /dev/null 2>&1; then |
1886 |
AUTOCONF=autoconf |
1887 |
{ echo "$as_me:$LINENO: result: found" >&5 |
1888 |
echo "${ECHO_T}found" >&6; } |
1889 |
else |
1890 |
AUTOCONF="$missing_dir/missing autoconf" |
1891 |
{ echo "$as_me:$LINENO: result: missing" >&5 |
1892 |
echo "${ECHO_T}missing" >&6; } |
1893 |
fi |
1894 |
|
1895 |
{ echo "$as_me:$LINENO: checking for working automake-${am__api_version}" >&5 |
1896 |
echo $ECHO_N "checking for working automake-${am__api_version}... $ECHO_C" >&6; } |
1897 |
# Run test in a subshell; some versions of sh will print an error if |
1898 |
# an executable is not found, even if stderr is redirected. |
1899 |
# Redirect stdin to placate older versions of autoconf. Sigh. |
1900 |
if (automake-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then |
1901 |
AUTOMAKE=automake-${am__api_version} |
1902 |
{ echo "$as_me:$LINENO: result: found" >&5 |
1903 |
echo "${ECHO_T}found" >&6; } |
1904 |
else |
1905 |
AUTOMAKE="$missing_dir/missing automake-${am__api_version}" |
1906 |
{ echo "$as_me:$LINENO: result: missing" >&5 |
1907 |
echo "${ECHO_T}missing" >&6; } |
1908 |
fi |
1909 |
|
1910 |
{ echo "$as_me:$LINENO: checking for working autoheader" >&5 |
1911 |
echo $ECHO_N "checking for working autoheader... $ECHO_C" >&6; } |
1912 |
# Run test in a subshell; some versions of sh will print an error if |
1913 |
# an executable is not found, even if stderr is redirected. |
1914 |
# Redirect stdin to placate older versions of autoconf. Sigh. |
1915 |
if (autoheader --version) < /dev/null > /dev/null 2>&1; then |
1916 |
AUTOHEADER=autoheader |
1917 |
{ echo "$as_me:$LINENO: result: found" >&5 |
1918 |
echo "${ECHO_T}found" >&6; } |
1919 |
else |
1920 |
AUTOHEADER="$missing_dir/missing autoheader" |
1921 |
{ echo "$as_me:$LINENO: result: missing" >&5 |
1922 |
echo "${ECHO_T}missing" >&6; } |
1923 |
fi |
1924 |
|
1925 |
{ echo "$as_me:$LINENO: checking for working makeinfo" >&5 |
1926 |
echo $ECHO_N "checking for working makeinfo... $ECHO_C" >&6; } |
1927 |
# Run test in a subshell; some versions of sh will print an error if |
1928 |
# an executable is not found, even if stderr is redirected. |
1929 |
# Redirect stdin to placate older versions of autoconf. Sigh. |
1930 |
if (makeinfo --version) < /dev/null > /dev/null 2>&1; then |
1931 |
MAKEINFO=makeinfo |
1932 |
{ echo "$as_me:$LINENO: result: found" >&5 |
1933 |
echo "${ECHO_T}found" >&6; } |
1934 |
else |
1935 |
MAKEINFO="$missing_dir/missing makeinfo" |
1936 |
{ echo "$as_me:$LINENO: result: missing" >&5 |
1937 |
echo "${ECHO_T}missing" >&6; } |
1938 |
fi |
1939 |
|
1940 |
|
1941 |
ac_ext=c |
1942 |
ac_cpp='$CPP $CPPFLAGS' |
1943 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
1944 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
1945 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
1946 |
if test -n "$ac_tool_prefix"; then |
1947 |
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
1948 |
set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
1949 |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1950 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
1951 |
if test "${ac_cv_prog_CC+set}" = set; then |
1952 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1953 |
else |
1954 |
if test -n "$CC"; then |
1955 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
1956 |
else |
1957 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1958 |
for as_dir in $PATH |
1959 |
do |
1960 |
IFS=$as_save_IFS |
1961 |
test -z "$as_dir" && as_dir=. |
1962 |
for ac_exec_ext in '' $ac_executable_extensions; do |
1963 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then |
1964 |
ac_cv_prog_CC="${ac_tool_prefix}gcc" |
1965 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1966 |
break 2 |
1967 |
fi |
1968 |
done |
1969 |
done |
1970 |
IFS=$as_save_IFS |
1971 |
|
1972 |
fi |
1973 |
fi |
1974 |
CC=$ac_cv_prog_CC |
1975 |
if test -n "$CC"; then |
1976 |
{ echo "$as_me:$LINENO: result: $CC" >&5 |
1977 |
echo "${ECHO_T}$CC" >&6; } |
1978 |
else |
1979 |
{ echo "$as_me:$LINENO: result: no" >&5 |
1980 |
echo "${ECHO_T}no" >&6; } |
1981 |
fi |
1982 |
|
1983 |
|
1984 |
fi |
1985 |
if test -z "$ac_cv_prog_CC"; then |
1986 |
ac_ct_CC=$CC |
1987 |
# Extract the first word of "gcc", so it can be a program name with args. |
1988 |
set dummy gcc; ac_word=$2 |
1989 |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1990 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
1991 |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
1992 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1993 |
else |
1994 |
if test -n "$ac_ct_CC"; then |
1995 |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
1996 |
else |
1997 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1998 |
for as_dir in $PATH |
1999 |
do |
2000 |
IFS=$as_save_IFS |
2001 |
test -z "$as_dir" && as_dir=. |
2002 |
for ac_exec_ext in '' $ac_executable_extensions; do |
2003 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then |
2004 |
ac_cv_prog_ac_ct_CC="gcc" |
2005 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2006 |
break 2 |
2007 |
fi |
2008 |
done |
2009 |
done |
2010 |
IFS=$as_save_IFS |
2011 |
|
2012 |
fi |
2013 |
fi |
2014 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
2015 |
if test -n "$ac_ct_CC"; then |
2016 |
{ echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
2017 |
echo "${ECHO_T}$ac_ct_CC" >&6; } |
2018 |
else |
2019 |
{ echo "$as_me:$LINENO: result: no" >&5 |
2020 |
echo "${ECHO_T}no" >&6; } |
2021 |
fi |
2022 |
|
2023 |
if test "x$ac_ct_CC" = x; then |
2024 |
CC="" |
2025 |
else |
2026 |
case $cross_compiling:$ac_tool_warned in |
2027 |
yes:) |
2028 |
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools |
2029 |
whose name does not start with the host triplet. If you think this |
2030 |
configuration is useful to you, please write to autoconf@gnu.org." >&5 |
2031 |
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools |
2032 |
whose name does not start with the host triplet. If you think this |
2033 |
configuration is useful to you, please write to autoconf@gnu.org." >&2;} |
2034 |
ac_tool_warned=yes ;; |
2035 |
esac |
2036 |
CC=$ac_ct_CC |
2037 |
fi |
2038 |
else |
2039 |
CC="$ac_cv_prog_CC" |
2040 |
fi |
2041 |
|
2042 |
if test -z "$CC"; then |
2043 |
if test -n "$ac_tool_prefix"; then |
2044 |
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
2045 |
set dummy ${ac_tool_prefix}cc; ac_word=$2 |
2046 |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2047 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
2048 |
if test "${ac_cv_prog_CC+set}" = set; then |
2049 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2050 |
else |
2051 |
if test -n "$CC"; then |
2052 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
2053 |
else |
2054 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2055 |
for as_dir in $PATH |
2056 |
do |
2057 |
IFS=$as_save_IFS |
2058 |
test -z "$as_dir" && as_dir=. |
2059 |
for ac_exec_ext in '' $ac_executable_extensions; do |
2060 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then |
2061 |
ac_cv_prog_CC="${ac_tool_prefix}cc" |
2062 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2063 |
break 2 |
2064 |
fi |
2065 |
done |
2066 |
done |
2067 |
IFS=$as_save_IFS |
2068 |
|
2069 |
fi |
2070 |
fi |
2071 |
CC=$ac_cv_prog_CC |
2072 |
if test -n "$CC"; then |
2073 |
{ echo "$as_me:$LINENO: result: $CC" >&5 |
2074 |
echo "${ECHO_T}$CC" >&6; } |
2075 |
else |
2076 |
{ echo "$as_me:$LINENO: result: no" >&5 |
2077 |
echo "${ECHO_T}no" >&6; } |
2078 |
fi |
2079 |
|
2080 |
|
2081 |
fi |
2082 |
fi |
2083 |
if test -z "$CC"; then |
2084 |
# Extract the first word of "cc", so it can be a program name with args. |
2085 |
set dummy cc; ac_word=$2 |
2086 |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2087 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
2088 |
if test "${ac_cv_prog_CC+set}" = set; then |
2089 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2090 |
else |
2091 |
if test -n "$CC"; then |
2092 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
2093 |
else |
2094 |
ac_prog_rejected=no |
2095 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2096 |
for as_dir in $PATH |
2097 |
do |
2098 |
IFS=$as_save_IFS |
2099 |
test -z "$as_dir" && as_dir=. |
2100 |
for ac_exec_ext in '' $ac_executable_extensions; do |
2101 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then |
2102 |
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
2103 |
ac_prog_rejected=yes |
2104 |
continue |
2105 |
fi |
2106 |
ac_cv_prog_CC="cc" |
2107 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2108 |
break 2 |
2109 |
fi |
2110 |
done |
2111 |
done |
2112 |
IFS=$as_save_IFS |
2113 |
|
2114 |
if test $ac_prog_rejected = yes; then |
2115 |
# We found a bogon in the path, so make sure we never use it. |
2116 |
set dummy $ac_cv_prog_CC |
2117 |
shift |
2118 |
if test $# != 0; then |
2119 |
# We chose a different compiler from the bogus one. |
2120 |
# However, it has the same basename, so the bogon will be chosen |
2121 |
# first if we set CC to just the basename; use the full file name. |
2122 |
shift |
2123 |
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
2124 |
fi |
2125 |
fi |
2126 |
fi |
2127 |
fi |
2128 |
CC=$ac_cv_prog_CC |
2129 |
if test -n "$CC"; then |
2130 |
{ echo "$as_me:$LINENO: result: $CC" >&5 |
2131 |
echo "${ECHO_T}$CC" >&6; } |
2132 |
else |
2133 |
{ echo "$as_me:$LINENO: result: no" >&5 |
2134 |
echo "${ECHO_T}no" >&6; } |
2135 |
fi |
2136 |
|
2137 |
|
2138 |
fi |
2139 |
if test -z "$CC"; then |
2140 |
if test -n "$ac_tool_prefix"; then |
2141 |
for ac_prog in cl.exe |
2142 |
do |
2143 |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
2144 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
2145 |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2146 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
2147 |
if test "${ac_cv_prog_CC+set}" = set; then |
2148 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2149 |
else |
2150 |
if test -n "$CC"; then |
2151 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
2152 |
else |
2153 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2154 |
for as_dir in $PATH |
2155 |
do |
2156 |
IFS=$as_save_IFS |
2157 |
test -z "$as_dir" && as_dir=. |
2158 |
for ac_exec_ext in '' $ac_executable_extensions; do |
2159 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then |
2160 |
ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
2161 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2162 |
break 2 |
2163 |
fi |
2164 |
done |
2165 |
done |
2166 |
IFS=$as_save_IFS |
2167 |
|
2168 |
fi |
2169 |
fi |
2170 |
CC=$ac_cv_prog_CC |
2171 |
if test -n "$CC"; then |
2172 |
{ echo "$as_me:$LINENO: result: $CC" >&5 |
2173 |
echo "${ECHO_T}$CC" >&6; } |
2174 |
else |
2175 |
{ echo "$as_me:$LINENO: result: no" >&5 |
2176 |
echo "${ECHO_T}no" >&6; } |
2177 |
fi |
2178 |
|
2179 |
|
2180 |
test -n "$CC" && break |
2181 |
done |
2182 |
fi |
2183 |
if test -z "$CC"; then |
2184 |
ac_ct_CC=$CC |
2185 |
for ac_prog in cl.exe |
2186 |
do |
2187 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
2188 |
set dummy $ac_prog; ac_word=$2 |
2189 |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2190 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
2191 |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
2192 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2193 |
else |
2194 |
if test -n "$ac_ct_CC"; then |
2195 |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
2196 |
else |
2197 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2198 |
for as_dir in $PATH |
2199 |
do |
2200 |
IFS=$as_save_IFS |
2201 |
test -z "$as_dir" && as_dir=. |
2202 |
for ac_exec_ext in '' $ac_executable_extensions; do |
2203 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then |
2204 |
ac_cv_prog_ac_ct_CC="$ac_prog" |
2205 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2206 |
break 2 |
2207 |
fi |
2208 |
done |
2209 |
done |
2210 |
IFS=$as_save_IFS |
2211 |
|
2212 |
fi |
2213 |
fi |
2214 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
2215 |
if test -n "$ac_ct_CC"; then |
2216 |
{ echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
2217 |
echo "${ECHO_T}$ac_ct_CC" >&6; } |
2218 |
else |
2219 |
{ echo "$as_me:$LINENO: result: no" >&5 |
2220 |
echo "${ECHO_T}no" >&6; } |
2221 |
fi |
2222 |
|
2223 |
|
2224 |
test -n "$ac_ct_CC" && break |
2225 |
done |
2226 |
|
2227 |
if test "x$ac_ct_CC" = x; then |
2228 |
CC="" |
2229 |
else |
2230 |
case $cross_compiling:$ac_tool_warned in |
2231 |
yes:) |
2232 |
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools |
2233 |
whose name does not start with the host triplet. If you think this |
2234 |
configuration is useful to you, please write to autoconf@gnu.org." >&5 |
2235 |
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools |
2236 |
whose name does not start with the host triplet. If you think this |
2237 |
configuration is useful to you, please write to autoconf@gnu.org." >&2;} |
2238 |
ac_tool_warned=yes ;; |
2239 |
esac |
2240 |
CC=$ac_ct_CC |
2241 |
fi |
2242 |
fi |
2243 |
|
2244 |
fi |
2245 |
|
2246 |
|
2247 |
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH |
2248 |
See \`config.log' for more details." >&5 |
2249 |
echo "$as_me: error: no acceptable C compiler found in \$PATH |
2250 |
See \`config.log' for more details." >&2;} |
2251 |
{ (exit 1); exit 1; }; } |
2252 |
|
2253 |
# Provide some information about the compiler. |
2254 |
echo "$as_me:$LINENO: checking for C compiler version" >&5 |
2255 |
ac_compiler=`set X $ac_compile; echo $2` |
2256 |
{ (ac_try="$ac_compiler --version >&5" |
2257 |
case "(($ac_try" in |
2258 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2259 |
*) ac_try_echo=$ac_try;; |
2260 |
esac |
2261 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
2262 |
(eval "$ac_compiler --version >&5") 2>&5 |
2263 |
ac_status=$? |
2264 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2265 |
(exit $ac_status); } |
2266 |
{ (ac_try="$ac_compiler -v >&5" |
2267 |
case "(($ac_try" in |
2268 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2269 |
*) ac_try_echo=$ac_try;; |
2270 |
esac |
2271 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
2272 |
(eval "$ac_compiler -v >&5") 2>&5 |
2273 |
ac_status=$? |
2274 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2275 |
(exit $ac_status); } |
2276 |
{ (ac_try="$ac_compiler -V >&5" |
2277 |
case "(($ac_try" in |
2278 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2279 |
*) ac_try_echo=$ac_try;; |
2280 |
esac |
2281 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
2282 |
(eval "$ac_compiler -V >&5") 2>&5 |
2283 |
ac_status=$? |
2284 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2285 |
(exit $ac_status); } |
2286 |
|
2287 |
cat >conftest.$ac_ext <<_ACEOF |
2288 |
/* confdefs.h. */ |
2289 |
_ACEOF |
2290 |
cat confdefs.h >>conftest.$ac_ext |
2291 |
cat >>conftest.$ac_ext <<_ACEOF |
2292 |
/* end confdefs.h. */ |
2293 |
|
2294 |
int |
2295 |
main () |
2296 |
{ |
2297 |
|
2298 |
; |
2299 |
return 0; |
2300 |
} |
2301 |
_ACEOF |
2302 |
ac_clean_files_save=$ac_clean_files |
2303 |
ac_clean_files="$ac_clean_files a.out a.exe b.out" |
2304 |
# Try to create an executable without -o first, disregard a.out. |
2305 |
# It will help us diagnose broken compilers, and finding out an intuition |
2306 |
# of exeext. |
2307 |
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 |
2308 |
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } |
2309 |
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
2310 |
# |
2311 |
# List of possible output files, starting from the most likely. |
2312 |
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*) |
2313 |
# only as a last resort. b.out is created by i960 compilers. |
2314 |
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' |
2315 |
# |
2316 |
# The IRIX 6 linker writes into existing files which may not be |
2317 |
# executable, retaining their permissions. Remove them first so a |
2318 |
# subsequent execution test works. |
2319 |
ac_rmfiles= |
2320 |
for ac_file in $ac_files |
2321 |
do |
2322 |
case $ac_file in |
2323 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; |
2324 |
* ) ac_rmfiles="$ac_rmfiles $ac_file";; |
2325 |
esac |
2326 |
done |
2327 |
rm -f $ac_rmfiles |
2328 |
|
2329 |
if { (ac_try="$ac_link_default" |
2330 |
case "(($ac_try" in |
2331 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2332 |
*) ac_try_echo=$ac_try;; |
2333 |
esac |
2334 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
2335 |
(eval "$ac_link_default") 2>&5 |
2336 |
ac_status=$? |
2337 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2338 |
(exit $ac_status); }; then |
2339 |
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'. |
2340 |
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' |
2341 |
# in a Makefile. We should not override ac_cv_exeext if it was cached, |
2342 |
# so that the user can short-circuit this test for compilers unknown to |
2343 |
# Autoconf. |
2344 |
for ac_file in $ac_files |
2345 |
do |
2346 |
test -f "$ac_file" || continue |
2347 |
case $ac_file in |
2348 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) |
2349 |
;; |
2350 |
[ab].out ) |
2351 |
# We found the default executable, but exeext='' is most |
2352 |
# certainly right. |
2353 |
break;; |
2354 |
*.* ) |
2355 |
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; |
2356 |
then :; else |
2357 |
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
2358 |
fi |
2359 |
# We set ac_cv_exeext here because the later test for it is not |
2360 |
# safe: cross compilers may not add the suffix if given an `-o' |
2361 |
# argument, so we may need to know it at that point already. |
2362 |
# Even if this section looks crufty: it has the advantage of |
2363 |
# actually working. |
2364 |
break;; |
2365 |
* ) |
2366 |
break;; |
2367 |
esac |
2368 |
done |
2369 |
test "$ac_cv_exeext" = no && ac_cv_exeext= |
2370 |
|
2371 |
else |
2372 |
echo "$as_me: failed program was:" >&5 |
2373 |
sed 's/^/| /' conftest.$ac_ext >&5 |
2374 |
|
2375 |
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables |
2376 |
See \`config.log' for more details." >&5 |
2377 |
echo "$as_me: error: C compiler cannot create executables |
2378 |
See \`config.log' for more details." >&2;} |
2379 |
{ (exit 77); exit 77; }; } |
2380 |
fi |
2381 |
|
2382 |
ac_exeext=$ac_cv_exeext |
2383 |
{ echo "$as_me:$LINENO: result: $ac_file" >&5 |
2384 |
echo "${ECHO_T}$ac_file" >&6; } |
2385 |
|
2386 |
# Check that the compiler produces executables we can run. If not, either |
2387 |
# the compiler is broken, or we cross compile. |
2388 |
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5 |
2389 |
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } |
2390 |
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 |
2391 |
# If not cross compiling, check that we can run a simple program. |
2392 |
if test "$cross_compiling" != yes; then |
2393 |
if { ac_try='./$ac_file' |
2394 |
{ (case "(($ac_try" in |
2395 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2396 |
*) ac_try_echo=$ac_try;; |
2397 |
esac |
2398 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
2399 |
(eval "$ac_try") 2>&5 |
2400 |
ac_status=$? |
2401 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2402 |
(exit $ac_status); }; }; then |
2403 |
cross_compiling=no |
2404 |
else |
2405 |
if test "$cross_compiling" = maybe; then |
2406 |
cross_compiling=yes |
2407 |
else |
2408 |
{ { echo "$as_me:$LINENO: error: cannot run C compiled programs. |
2409 |
If you meant to cross compile, use \`--host'. |
2410 |
See \`config.log' for more details." >&5 |
2411 |
echo "$as_me: error: cannot run C compiled programs. |
2412 |
If you meant to cross compile, use \`--host'. |
2413 |
See \`config.log' for more details." >&2;} |
2414 |
{ (exit 1); exit 1; }; } |
2415 |
fi |
2416 |
fi |
2417 |
fi |
2418 |
{ echo "$as_me:$LINENO: result: yes" >&5 |
2419 |
echo "${ECHO_T}yes" >&6; } |
2420 |
|
2421 |
rm -f a.out a.exe conftest$ac_cv_exeext b.out |
2422 |
ac_clean_files=$ac_clean_files_save |
2423 |
# Check that the compiler produces executables we can run. If not, either |
2424 |
# the compiler is broken, or we cross compile. |
2425 |
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 |
2426 |
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } |
2427 |
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5 |
2428 |
echo "${ECHO_T}$cross_compiling" >&6; } |
2429 |
|
2430 |
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5 |
2431 |
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } |
2432 |
if { (ac_try="$ac_link" |
2433 |
case "(($ac_try" in |
2434 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2435 |
*) ac_try_echo=$ac_try;; |
2436 |
esac |
2437 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
2438 |
(eval "$ac_link") 2>&5 |
2439 |
ac_status=$? |
2440 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2441 |
(exit $ac_status); }; then |
2442 |
# If both `conftest.exe' and `conftest' are `present' (well, observable) |
2443 |
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
2444 |
# work properly (i.e., refer to `conftest.exe'), while it won't with |
2445 |
# `rm'. |
2446 |
for ac_file in conftest.exe conftest conftest.*; do |
2447 |
test -f "$ac_file" || continue |
2448 |
case $ac_file in |
2449 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; |
2450 |
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
2451 |
break;; |
2452 |
* ) break;; |
2453 |
esac |
2454 |
done |
2455 |
else |
2456 |
{ { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link |
2457 |
See \`config.log' for more details." >&5 |
2458 |
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link |
2459 |
See \`config.log' for more details." >&2;} |
2460 |
{ (exit 1); exit 1; }; } |
2461 |
fi |
2462 |
|
2463 |
rm -f conftest$ac_cv_exeext |
2464 |
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 |
2465 |
echo "${ECHO_T}$ac_cv_exeext" >&6; } |
2466 |
|
2467 |
rm -f conftest.$ac_ext |
2468 |
EXEEXT=$ac_cv_exeext |
2469 |
ac_exeext=$EXEEXT |
2470 |
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5 |
2471 |
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } |
2472 |
if test "${ac_cv_objext+set}" = set; then |
2473 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2474 |
else |
2475 |
cat >conftest.$ac_ext <<_ACEOF |
2476 |
/* confdefs.h. */ |
2477 |
_ACEOF |
2478 |
cat confdefs.h >>conftest.$ac_ext |
2479 |
cat >>conftest.$ac_ext <<_ACEOF |
2480 |
/* end confdefs.h. */ |
2481 |
|
2482 |
int |
2483 |
main () |
2484 |
{ |
2485 |
|
2486 |
; |
2487 |
return 0; |
2488 |
} |
2489 |
_ACEOF |
2490 |
rm -f conftest.o conftest.obj |
2491 |
if { (ac_try="$ac_compile" |
2492 |
case "(($ac_try" in |
2493 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2494 |
*) ac_try_echo=$ac_try;; |
2495 |
esac |
2496 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
2497 |
(eval "$ac_compile") 2>&5 |
2498 |
ac_status=$? |
2499 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2500 |
(exit $ac_status); }; then |
2501 |
for ac_file in conftest.o conftest.obj conftest.*; do |
2502 |
test -f "$ac_file" || continue; |
2503 |
case $ac_file in |
2504 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; |
2505 |
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
2506 |
break;; |
2507 |
esac |
2508 |
done |
2509 |
else |
2510 |
echo "$as_me: failed program was:" >&5 |
2511 |
sed 's/^/| /' conftest.$ac_ext >&5 |
2512 |
|
2513 |
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile |
2514 |
See \`config.log' for more details." >&5 |
2515 |
echo "$as_me: error: cannot compute suffix of object files: cannot compile |
2516 |
See \`config.log' for more details." >&2;} |
2517 |
{ (exit 1); exit 1; }; } |
2518 |
fi |
2519 |
|
2520 |
rm -f conftest.$ac_cv_objext conftest.$ac_ext |
2521 |
fi |
2522 |
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 |
2523 |
echo "${ECHO_T}$ac_cv_objext" >&6; } |
2524 |
OBJEXT=$ac_cv_objext |
2525 |
ac_objext=$OBJEXT |
2526 |
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 |
2527 |
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } |
2528 |
if test "${ac_cv_c_compiler_gnu+set}" = set; then |
2529 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2530 |
else |
2531 |
cat >conftest.$ac_ext <<_ACEOF |
2532 |
/* confdefs.h. */ |
2533 |
_ACEOF |
2534 |
cat confdefs.h >>conftest.$ac_ext |
2535 |
cat >>conftest.$ac_ext <<_ACEOF |
2536 |
/* end confdefs.h. */ |
2537 |
|
2538 |
int |
2539 |
main () |
2540 |
{ |
2541 |
#ifndef __GNUC__ |
2542 |
choke me |
2543 |
#endif |
2544 |
|
2545 |
; |
2546 |
return 0; |
2547 |
} |
2548 |
_ACEOF |
2549 |
rm -f conftest.$ac_objext |
2550 |
if { (ac_try="$ac_compile" |
2551 |
case "(($ac_try" in |
2552 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2553 |
*) ac_try_echo=$ac_try;; |
2554 |
esac |
2555 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
2556 |
(eval "$ac_compile") 2>conftest.er1 |
2557 |
ac_status=$? |
2558 |
grep -v '^ *+' conftest.er1 >conftest.err |
2559 |
rm -f conftest.er1 |
2560 |
cat conftest.err >&5 |
2561 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2562 |
(exit $ac_status); } && |
2563 |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
2564 |
{ (case "(($ac_try" in |
2565 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2566 |
*) ac_try_echo=$ac_try;; |
2567 |
esac |
2568 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
2569 |
(eval "$ac_try") 2>&5 |
2570 |
ac_status=$? |
2571 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2572 |
(exit $ac_status); }; } && |
2573 |
{ ac_try='test -s conftest.$ac_objext' |
2574 |
{ (case "(($ac_try" in |
2575 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2576 |
*) ac_try_echo=$ac_try;; |
2577 |
esac |
2578 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
2579 |
(eval "$ac_try") 2>&5 |
2580 |
ac_status=$? |
2581 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2582 |
(exit $ac_status); }; }; then |
2583 |
ac_compiler_gnu=yes |
2584 |
else |
2585 |
echo "$as_me: failed program was:" >&5 |
2586 |
sed 's/^/| /' conftest.$ac_ext >&5 |
2587 |
|
2588 |
ac_compiler_gnu=no |
2589 |
fi |
2590 |
|
2591 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2592 |
ac_cv_c_compiler_gnu=$ac_compiler_gnu |
2593 |
|
2594 |
fi |
2595 |
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
2596 |
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } |
2597 |
GCC=`test $ac_compiler_gnu = yes && echo yes` |
2598 |
ac_test_CFLAGS=${CFLAGS+set} |
2599 |
ac_save_CFLAGS=$CFLAGS |
2600 |
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 |
2601 |
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } |
2602 |
if test "${ac_cv_prog_cc_g+set}" = set; then |
2603 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2604 |
else |
2605 |
ac_save_c_werror_flag=$ac_c_werror_flag |
2606 |
ac_c_werror_flag=yes |
2607 |
ac_cv_prog_cc_g=no |
2608 |
CFLAGS="-g" |
2609 |
cat >conftest.$ac_ext <<_ACEOF |
2610 |
/* confdefs.h. */ |
2611 |
_ACEOF |
2612 |
cat confdefs.h >>conftest.$ac_ext |
2613 |
cat >>conftest.$ac_ext <<_ACEOF |
2614 |
/* end confdefs.h. */ |
2615 |
|
2616 |
int |
2617 |
main () |
2618 |
{ |
2619 |
|
2620 |
; |
2621 |
return 0; |
2622 |
} |
2623 |
_ACEOF |
2624 |
rm -f conftest.$ac_objext |
2625 |
if { (ac_try="$ac_compile" |
2626 |
case "(($ac_try" in |
2627 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2628 |
*) ac_try_echo=$ac_try;; |
2629 |
esac |
2630 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
2631 |
(eval "$ac_compile") 2>conftest.er1 |
2632 |
ac_status=$? |
2633 |
grep -v '^ *+' conftest.er1 >conftest.err |
2634 |
rm -f conftest.er1 |
2635 |
cat conftest.err >&5 |
2636 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2637 |
(exit $ac_status); } && |
2638 |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
2639 |
{ (case "(($ac_try" in |
2640 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2641 |
*) ac_try_echo=$ac_try;; |
2642 |
esac |
2643 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
2644 |
(eval "$ac_try") 2>&5 |
2645 |
ac_status=$? |
2646 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2647 |
(exit $ac_status); }; } && |
2648 |
{ ac_try='test -s conftest.$ac_objext' |
2649 |
{ (case "(($ac_try" in |
2650 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2651 |
*) ac_try_echo=$ac_try;; |
2652 |
esac |
2653 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
2654 |
(eval "$ac_try") 2>&5 |
2655 |
ac_status=$? |
2656 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2657 |
(exit $ac_status); }; }; then |
2658 |
ac_cv_prog_cc_g=yes |
2659 |
else |
2660 |
echo "$as_me: failed program was:" >&5 |
2661 |
sed 's/^/| /' conftest.$ac_ext >&5 |
2662 |
|
2663 |
CFLAGS="" |
2664 |
cat >conftest.$ac_ext <<_ACEOF |
2665 |
/* confdefs.h. */ |
2666 |
_ACEOF |
2667 |
cat confdefs.h >>conftest.$ac_ext |
2668 |
cat >>conftest.$ac_ext <<_ACEOF |
2669 |
/* end confdefs.h. */ |
2670 |
|
2671 |
int |
2672 |
main () |
2673 |
{ |
2674 |
|
2675 |
; |
2676 |
return 0; |
2677 |
} |
2678 |
_ACEOF |
2679 |
rm -f conftest.$ac_objext |
2680 |
if { (ac_try="$ac_compile" |
2681 |
case "(($ac_try" in |
2682 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2683 |
*) ac_try_echo=$ac_try;; |
2684 |
esac |
2685 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
2686 |
(eval "$ac_compile") 2>conftest.er1 |
2687 |
ac_status=$? |
2688 |
grep -v '^ *+' conftest.er1 >conftest.err |
2689 |
rm -f conftest.er1 |
2690 |
cat conftest.err >&5 |
2691 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2692 |
(exit $ac_status); } && |
2693 |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
2694 |
{ (case "(($ac_try" in |
2695 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2696 |
*) ac_try_echo=$ac_try;; |
2697 |
esac |
2698 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
2699 |
(eval "$ac_try") 2>&5 |
2700 |
ac_status=$? |
2701 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2702 |
(exit $ac_status); }; } && |
2703 |
{ ac_try='test -s conftest.$ac_objext' |
2704 |
{ (case "(($ac_try" in |
2705 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2706 |
*) ac_try_echo=$ac_try;; |
2707 |
esac |
2708 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
2709 |
(eval "$ac_try") 2>&5 |
2710 |
ac_status=$? |
2711 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2712 |
(exit $ac_status); }; }; then |
2713 |
: |
2714 |
else |
2715 |
echo "$as_me: failed program was:" >&5 |
2716 |
sed 's/^/| /' conftest.$ac_ext >&5 |
2717 |
|
2718 |
ac_c_werror_flag=$ac_save_c_werror_flag |
2719 |
CFLAGS="-g" |
2720 |
cat >conftest.$ac_ext <<_ACEOF |
2721 |
/* confdefs.h. */ |
2722 |
_ACEOF |
2723 |
cat confdefs.h >>conftest.$ac_ext |
2724 |
cat >>conftest.$ac_ext <<_ACEOF |
2725 |
/* end confdefs.h. */ |
2726 |
|
2727 |
int |
2728 |
main () |
2729 |
{ |
2730 |
|
2731 |
; |
2732 |
return 0; |
2733 |
} |
2734 |
_ACEOF |
2735 |
rm -f conftest.$ac_objext |
2736 |
if { (ac_try="$ac_compile" |
2737 |
case "(($ac_try" in |
2738 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2739 |
*) ac_try_echo=$ac_try;; |
2740 |
esac |
2741 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
2742 |
(eval "$ac_compile") 2>conftest.er1 |
2743 |
ac_status=$? |
2744 |
grep -v '^ *+' conftest.er1 >conftest.err |
2745 |
rm -f conftest.er1 |
2746 |
cat conftest.err >&5 |
2747 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2748 |
(exit $ac_status); } && |
2749 |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
2750 |
{ (case "(($ac_try" in |
2751 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2752 |
*) ac_try_echo=$ac_try;; |
2753 |
esac |
2754 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
2755 |
(eval "$ac_try") 2>&5 |
2756 |
ac_status=$? |
2757 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2758 |
(exit $ac_status); }; } && |
2759 |
{ ac_try='test -s conftest.$ac_objext' |
2760 |
{ (case "(($ac_try" in |
2761 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2762 |
*) ac_try_echo=$ac_try;; |
2763 |
esac |
2764 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
2765 |
(eval "$ac_try") 2>&5 |
2766 |
ac_status=$? |
2767 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2768 |
(exit $ac_status); }; }; then |
2769 |
ac_cv_prog_cc_g=yes |
2770 |
else |
2771 |
echo "$as_me: failed program was:" >&5 |
2772 |
sed 's/^/| /' conftest.$ac_ext >&5 |
2773 |
|
2774 |
|
2775 |
fi |
2776 |
|
2777 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2778 |
fi |
2779 |
|
2780 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2781 |
fi |
2782 |
|
2783 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2784 |
ac_c_werror_flag=$ac_save_c_werror_flag |
2785 |
fi |
2786 |
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
2787 |
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } |
2788 |
if test "$ac_test_CFLAGS" = set; then |
2789 |
CFLAGS=$ac_save_CFLAGS |
2790 |
elif test $ac_cv_prog_cc_g = yes; then |
2791 |
if test "$GCC" = yes; then |
2792 |
CFLAGS="-g -O2" |
2793 |
else |
2794 |
CFLAGS="-g" |
2795 |
fi |
2796 |
else |
2797 |
if test "$GCC" = yes; then |
2798 |
CFLAGS="-O2" |
2799 |
else |
2800 |
CFLAGS= |
2801 |
fi |
2802 |
fi |
2803 |
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 |
2804 |
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } |
2805 |
if test "${ac_cv_prog_cc_c89+set}" = set; then |
2806 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2807 |
else |
2808 |
ac_cv_prog_cc_c89=no |
2809 |
ac_save_CC=$CC |
2810 |
cat >conftest.$ac_ext <<_ACEOF |
2811 |
/* confdefs.h. */ |
2812 |
_ACEOF |
2813 |
cat confdefs.h >>conftest.$ac_ext |
2814 |
cat >>conftest.$ac_ext <<_ACEOF |
2815 |
/* end confdefs.h. */ |
2816 |
#include <stdarg.h> |
2817 |
#include <stdio.h> |
2818 |
#include <sys/types.h> |
2819 |
#include <sys/stat.h> |
2820 |
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
2821 |
struct buf { int x; }; |
2822 |
FILE * (*rcsopen) (struct buf *, struct stat *, int); |
2823 |
static char *e (p, i) |
2824 |
char **p; |
2825 |
int i; |
2826 |
{ |
2827 |
return p[i]; |
2828 |
} |
2829 |
static char *f (char * (*g) (char **, int), char **p, ...) |
2830 |
{ |
2831 |
char *s; |
2832 |
va_list v; |
2833 |
va_start (v,p); |
2834 |
s = g (p, va_arg (v,int)); |
2835 |
va_end (v); |
2836 |
return s; |
2837 |
} |
2838 |
|
2839 |
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
2840 |
function prototypes and stuff, but not '\xHH' hex character constants. |
2841 |
These don't provoke an error unfortunately, instead are silently treated |
2842 |
as 'x'. The following induces an error, until -std is added to get |
2843 |
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
2844 |
array size at least. It's necessary to write '\x00'==0 to get something |
2845 |
that's true only with -std. */ |
2846 |
int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
2847 |
|
2848 |
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters |
2849 |
inside strings and character constants. */ |
2850 |
#define FOO(x) 'x' |
2851 |
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; |
2852 |
|
2853 |
int test (int i, double x); |
2854 |
struct s1 {int (*f) (int a);}; |
2855 |
struct s2 {int (*f) (double a);}; |
2856 |
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
2857 |
int argc; |
2858 |
char **argv; |
2859 |
int |
2860 |
main () |
2861 |
{ |
2862 |
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
2863 |
; |
2864 |
return 0; |
2865 |
} |
2866 |
_ACEOF |
2867 |
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ |
2868 |
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
2869 |
do |
2870 |
CC="$ac_save_CC $ac_arg" |
2871 |
rm -f conftest.$ac_objext |
2872 |
if { (ac_try="$ac_compile" |
2873 |
case "(($ac_try" in |
2874 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2875 |
*) ac_try_echo=$ac_try;; |
2876 |
esac |
2877 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
2878 |
(eval "$ac_compile") 2>conftest.er1 |
2879 |
ac_status=$? |
2880 |
grep -v '^ *+' conftest.er1 >conftest.err |
2881 |
rm -f conftest.er1 |
2882 |
cat conftest.err >&5 |
2883 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2884 |
(exit $ac_status); } && |
2885 |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
2886 |
{ (case "(($ac_try" in |
2887 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2888 |
*) ac_try_echo=$ac_try;; |
2889 |
esac |
2890 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
2891 |
(eval "$ac_try") 2>&5 |
2892 |
ac_status=$? |
2893 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2894 |
(exit $ac_status); }; } && |
2895 |
{ ac_try='test -s conftest.$ac_objext' |
2896 |
{ (case "(($ac_try" in |
2897 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2898 |
*) ac_try_echo=$ac_try;; |
2899 |
esac |
2900 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
2901 |
(eval "$ac_try") 2>&5 |
2902 |
ac_status=$? |
2903 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2904 |
(exit $ac_status); }; }; then |
2905 |
ac_cv_prog_cc_c89=$ac_arg |
2906 |
else |
2907 |
echo "$as_me: failed program was:" >&5 |
2908 |
sed 's/^/| /' conftest.$ac_ext >&5 |
2909 |
|
2910 |
|
2911 |
fi |
2912 |
|
2913 |
rm -f core conftest.err conftest.$ac_objext |
2914 |
test "x$ac_cv_prog_cc_c89" != "xno" && break |
2915 |
done |
2916 |
rm -f conftest.$ac_ext |
2917 |
CC=$ac_save_CC |
2918 |
|
2919 |
fi |
2920 |
# AC_CACHE_VAL |
2921 |
case "x$ac_cv_prog_cc_c89" in |
2922 |
x) |
2923 |
{ echo "$as_me:$LINENO: result: none needed" >&5 |
2924 |
echo "${ECHO_T}none needed" >&6; } ;; |
2925 |
xno) |
2926 |
{ echo "$as_me:$LINENO: result: unsupported" >&5 |
2927 |
echo "${ECHO_T}unsupported" >&6; } ;; |
2928 |
*) |
2929 |
CC="$CC $ac_cv_prog_cc_c89" |
2930 |
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 |
2931 |
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; |
2932 |
esac |
2933 |
|
2934 |
|
2935 |
ac_ext=c |
2936 |
ac_cpp='$CPP $CPPFLAGS' |
2937 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
2938 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
2939 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
2940 |
|
2941 |
ac_config_files="$ac_config_files Makefile" |
2942 |
|
2943 |
cat >confcache <<\_ACEOF |
2944 |
# This file is a shell script that caches the results of configure |
2945 |
# tests run on this system so they can be shared between configure |
2946 |
# scripts and configure runs, see configure's option --config-cache. |
2947 |
# It is not useful on other systems. If it contains results you don't |
2948 |
# want to keep, you may remove or edit it. |
2949 |
# |
2950 |
# config.status only pays attention to the cache file if you give it |
2951 |
# the --recheck option to rerun configure. |
2952 |
# |
2953 |
# `ac_cv_env_foo' variables (set or unset) will be overridden when |
2954 |
# loading this file, other *unset* `ac_cv_foo' will be assigned the |
2955 |
# following values. |
2956 |
|
2957 |
_ACEOF |
2958 |
|
2959 |
# The following way of writing the cache mishandles newlines in values, |
2960 |
# but we know of no workaround that is simple, portable, and efficient. |
2961 |
# So, we kill variables containing newlines. |
2962 |
# Ultrix sh set writes to stderr and can't be redirected directly, |
2963 |
# and sets the high bit in the cache file unless we assign to the vars. |
2964 |
( |
2965 |
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do |
2966 |
eval ac_val=\$$ac_var |
2967 |
case $ac_val in #( |
2968 |
*${as_nl}*) |
2969 |
case $ac_var in #( |
2970 |
*_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 |
2971 |
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; |
2972 |
esac |
2973 |
case $ac_var in #( |
2974 |
_ | IFS | as_nl) ;; #( |
2975 |
*) $as_unset $ac_var ;; |
2976 |
esac ;; |
2977 |
esac |
2978 |
done |
2979 |
|
2980 |
(set) 2>&1 | |
2981 |
case $as_nl`(ac_space=' '; set) 2>&1` in #( |
2982 |
*${as_nl}ac_space=\ *) |
2983 |
# `set' does not quote correctly, so add quotes (double-quote |
2984 |
# substitution turns \\\\ into \\, and sed turns \\ into \). |
2985 |
sed -n \ |
2986 |
"s/'/'\\\\''/g; |
2987 |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
2988 |
;; #( |
2989 |
*) |
2990 |
# `set' quotes correctly as required by POSIX, so do not add quotes. |
2991 |
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
2992 |
;; |
2993 |
esac | |
2994 |
sort |
2995 |
) | |
2996 |
sed ' |
2997 |
/^ac_cv_env_/b end |
2998 |
t clear |
2999 |
:clear |
3000 |
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ |
3001 |
t end |
3002 |
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
3003 |
:end' >>confcache |
3004 |
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
3005 |
if test -w "$cache_file"; then |
3006 |
test "x$cache_file" != "x/dev/null" && |
3007 |
{ echo "$as_me:$LINENO: updating cache $cache_file" >&5 |
3008 |
echo "$as_me: updating cache $cache_file" >&6;} |
3009 |
cat confcache >$cache_file |
3010 |
else |
3011 |
{ echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 |
3012 |
echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
3013 |
fi |
3014 |
fi |
3015 |
rm -f confcache |
3016 |
|
3017 |
test "x$prefix" = xNONE && prefix=$ac_default_prefix |
3018 |
# Let make expand exec_prefix. |
3019 |
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
3020 |
|
3021 |
# Transform confdefs.h into DEFS. |
3022 |
# Protect against shell expansion while executing Makefile rules. |
3023 |
# Protect against Makefile macro expansion. |
3024 |
# |
3025 |
# If the first sed substitution is executed (which looks for macros that |
3026 |
# take arguments), then branch to the quote section. Otherwise, |
3027 |
# look for a macro that doesn't take arguments. |
3028 |
ac_script=' |
3029 |
t clear |
3030 |
:clear |
3031 |
s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g |
3032 |
t quote |
3033 |
s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g |
3034 |
t quote |
3035 |
b any |
3036 |
:quote |
3037 |
s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g |
3038 |
s/\[/\\&/g |
3039 |
s/\]/\\&/g |
3040 |
s/\$/$$/g |
3041 |
H |
3042 |
:any |
3043 |
${ |
3044 |
g |
3045 |
s/^\n// |
3046 |
s/\n/ /g |
3047 |
p |
3048 |
} |
3049 |
' |
3050 |
DEFS=`sed -n "$ac_script" confdefs.h` |
3051 |
|
3052 |
|
3053 |
ac_libobjs= |
3054 |
ac_ltlibobjs= |
3055 |
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
3056 |
# 1. Remove the extension, and $U if already installed. |
3057 |
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
3058 |
ac_i=`echo "$ac_i" | sed "$ac_script"` |
3059 |
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
3060 |
# will be set to the directory where LIBOBJS objects are built. |
3061 |
ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" |
3062 |
ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' |
3063 |
done |
3064 |
LIBOBJS=$ac_libobjs |
3065 |
|
3066 |
LTLIBOBJS=$ac_ltlibobjs |
3067 |
|
3068 |
|
3069 |
|
3070 |
: ${CONFIG_STATUS=./config.status} |
3071 |
ac_clean_files_save=$ac_clean_files |
3072 |
ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
3073 |
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 |
3074 |
echo "$as_me: creating $CONFIG_STATUS" >&6;} |
3075 |
cat >$CONFIG_STATUS <<_ACEOF |
3076 |
#! $SHELL |
3077 |
# Generated by $as_me. |
3078 |
# Run this file to recreate the current configuration. |
3079 |
# Compiler output produced by configure, useful for debugging |
3080 |
# configure, is in config.log if it exists. |
3081 |
|
3082 |
debug=false |
3083 |
ac_cs_recheck=false |
3084 |
ac_cs_silent=false |
3085 |
SHELL=\${CONFIG_SHELL-$SHELL} |
3086 |
_ACEOF |
3087 |
|
3088 |
cat >>$CONFIG_STATUS <<\_ACEOF |
3089 |
## --------------------- ## |
3090 |
## M4sh Initialization. ## |
3091 |
## --------------------- ## |
3092 |
|
3093 |
# Be Bourne compatible |
3094 |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
3095 |
emulate sh |
3096 |
NULLCMD=: |
3097 |
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
3098 |
# is contrary to our usage. Disable this feature. |
3099 |
alias -g '${1+"$@"}'='"$@"' |
3100 |
setopt NO_GLOB_SUBST |
3101 |
else |
3102 |
case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac |
3103 |
fi |
3104 |
BIN_SH=xpg4; export BIN_SH # for Tru64 |
3105 |
DUALCASE=1; export DUALCASE # for MKS sh |
3106 |
|
3107 |
|
3108 |
# PATH needs CR |
3109 |
# Avoid depending upon Character Ranges. |
3110 |
as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
3111 |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
3112 |
as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
3113 |
as_cr_digits='0123456789' |
3114 |
as_cr_alnum=$as_cr_Letters$as_cr_digits |
3115 |
|
3116 |
# The user is always right. |
3117 |
if test "${PATH_SEPARATOR+set}" != set; then |
3118 |
echo "#! /bin/sh" >conf$$.sh |
3119 |
echo "exit 0" >>conf$$.sh |
3120 |
chmod +x conf$$.sh |
3121 |
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
3122 |
PATH_SEPARATOR=';' |
3123 |
else |
3124 |
PATH_SEPARATOR=: |
3125 |
fi |
3126 |
rm -f conf$$.sh |
3127 |
fi |
3128 |
|
3129 |
# Support unset when possible. |
3130 |
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
3131 |
as_unset=unset |
3132 |
else |
3133 |
as_unset=false |
3134 |
fi |
3135 |
|
3136 |
|
3137 |
# IFS |
3138 |
# We need space, tab and new line, in precisely that order. Quoting is |
3139 |
# there to prevent editors from complaining about space-tab. |
3140 |
# (If _AS_PATH_WALK were called with IFS unset, it would disable word |
3141 |
# splitting by setting IFS to empty value.) |
3142 |
as_nl=' |
3143 |
' |
3144 |
IFS=" "" $as_nl" |
3145 |
|
3146 |
# Find who we are. Look in the path if we contain no directory separator. |
3147 |
case $0 in |
3148 |
*[\\/]* ) as_myself=$0 ;; |
3149 |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3150 |
for as_dir in $PATH |
3151 |
do |
3152 |
IFS=$as_save_IFS |
3153 |
test -z "$as_dir" && as_dir=. |
3154 |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
3155 |
done |
3156 |
IFS=$as_save_IFS |
3157 |
|
3158 |
;; |
3159 |
esac |
3160 |
# We did not find ourselves, most probably we were run as `sh COMMAND' |
3161 |
# in which case we are not to be found in the path. |
3162 |
if test "x$as_myself" = x; then |
3163 |
as_myself=$0 |
3164 |
fi |
3165 |
if test ! -f "$as_myself"; then |
3166 |
echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
3167 |
{ (exit 1); exit 1; } |
3168 |
fi |
3169 |
|
3170 |
# Work around bugs in pre-3.0 UWIN ksh. |
3171 |
for as_var in ENV MAIL MAILPATH |
3172 |
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
3173 |
done |
3174 |
PS1='$ ' |
3175 |
PS2='> ' |
3176 |
PS4='+ ' |
3177 |
|
3178 |
# NLS nuisances. |
3179 |
for as_var in \ |
3180 |
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ |
3181 |
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
3182 |
LC_TELEPHONE LC_TIME |
3183 |
do |
3184 |
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
3185 |
eval $as_var=C; export $as_var |
3186 |
else |
3187 |
($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
3188 |
fi |
3189 |
done |
3190 |
|
3191 |
# Required to use basename. |
3192 |
if expr a : '\(a\)' >/dev/null 2>&1 && |
3193 |
test "X`expr 00001 : '.*\(...\)'`" = X001; then |
3194 |
as_expr=expr |
3195 |
else |
3196 |
as_expr=false |
3197 |
fi |
3198 |
|
3199 |
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
3200 |
as_basename=basename |
3201 |
else |
3202 |
as_basename=false |
3203 |
fi |
3204 |
|
3205 |
|
3206 |
# Name of the executable. |
3207 |
as_me=`$as_basename -- "$0" || |
3208 |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
3209 |
X"$0" : 'X\(//\)$' \| \ |
3210 |
X"$0" : 'X\(/\)' \| . 2>/dev/null || |
3211 |
echo X/"$0" | |
3212 |
sed '/^.*\/\([^/][^/]*\)\/*$/{ |
3213 |
s//\1/ |
3214 |
q |
3215 |
} |
3216 |
/^X\/\(\/\/\)$/{ |
3217 |
s//\1/ |
3218 |
q |
3219 |
} |
3220 |
/^X\/\(\/\).*/{ |
3221 |
s//\1/ |
3222 |
q |
3223 |
} |
3224 |
s/.*/./; q'` |
3225 |
|
3226 |
# CDPATH. |
3227 |
$as_unset CDPATH |
3228 |
|
3229 |
|
3230 |
|
3231 |
as_lineno_1=$LINENO |
3232 |
as_lineno_2=$LINENO |
3233 |
test "x$as_lineno_1" != "x$as_lineno_2" && |
3234 |
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { |
3235 |
|
3236 |
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
3237 |
# uniformly replaced by the line number. The first 'sed' inserts a |
3238 |
# line-number line after each line using $LINENO; the second 'sed' |
3239 |
# does the real work. The second script uses 'N' to pair each |
3240 |
# line-number line with the line containing $LINENO, and appends |
3241 |
# trailing '-' during substitution so that $LINENO is not a special |
3242 |
# case at line end. |
3243 |
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
3244 |
# scripts with optimization help from Paolo Bonzini. Blame Lee |
3245 |
# E. McMahon (1931-1989) for sed's syntax. :-) |
3246 |
sed -n ' |
3247 |
p |
3248 |
/[$]LINENO/= |
3249 |
' <$as_myself | |
3250 |
sed ' |
3251 |
s/[$]LINENO.*/&-/ |
3252 |
t lineno |
3253 |
b |
3254 |
:lineno |
3255 |
N |
3256 |
:loop |
3257 |
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
3258 |
t loop |
3259 |
s/-\n.*// |
3260 |
' >$as_me.lineno && |
3261 |
chmod +x "$as_me.lineno" || |
3262 |
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 |
3263 |
{ (exit 1); exit 1; }; } |
3264 |
|
3265 |
# Don't try to exec as it changes $[0], causing all sort of problems |
3266 |
# (the dirname of $[0] is not the place where we might find the |
3267 |
# original and so on. Autoconf is especially sensitive to this). |
3268 |
. "./$as_me.lineno" |
3269 |
# Exit status is that of the last command. |
3270 |
exit |
3271 |
} |
3272 |
|
3273 |
|
3274 |
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
3275 |
as_dirname=dirname |
3276 |
else |
3277 |
as_dirname=false |
3278 |
fi |
3279 |
|
3280 |
ECHO_C= ECHO_N= ECHO_T= |
3281 |
case `echo -n x` in |
3282 |
-n*) |
3283 |
case `echo 'x\c'` in |
3284 |
*c*) ECHO_T=' ';; # ECHO_T is single tab character. |
3285 |
*) ECHO_C='\c';; |
3286 |
esac;; |
3287 |
*) |
3288 |
ECHO_N='-n';; |
3289 |
esac |
3290 |
|
3291 |
if expr a : '\(a\)' >/dev/null 2>&1 && |
3292 |
test "X`expr 00001 : '.*\(...\)'`" = X001; then |
3293 |
as_expr=expr |
3294 |
else |
3295 |
as_expr=false |
3296 |
fi |
3297 |
|
3298 |
rm -f conf$$ conf$$.exe conf$$.file |
3299 |
if test -d conf$$.dir; then |
3300 |
rm -f conf$$.dir/conf$$.file |
3301 |
else |
3302 |
rm -f conf$$.dir |
3303 |
mkdir conf$$.dir |
3304 |
fi |
3305 |
echo >conf$$.file |
3306 |
if ln -s conf$$.file conf$$ 2>/dev/null; then |
3307 |
as_ln_s='ln -s' |
3308 |
# ... but there are two gotchas: |
3309 |
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
3310 |
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
3311 |
# In both cases, we have to default to `cp -p'. |
3312 |
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
3313 |
as_ln_s='cp -p' |
3314 |
elif ln conf$$.file conf$$ 2>/dev/null; then |
3315 |
as_ln_s=ln |
3316 |
else |
3317 |
as_ln_s='cp -p' |
3318 |
fi |
3319 |
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
3320 |
rmdir conf$$.dir 2>/dev/null |
3321 |
|
3322 |
if mkdir -p . 2>/dev/null; then |
3323 |
as_mkdir_p=: |
3324 |
else |
3325 |
test -d ./-p && rmdir ./-p |
3326 |
as_mkdir_p=false |
3327 |
fi |
3328 |
|
3329 |
# Find out whether ``test -x'' works. Don't use a zero-byte file, as |
3330 |
# systems may use methods other than mode bits to determine executability. |
3331 |
cat >conf$$.file <<_ASEOF |
3332 |
#! /bin/sh |
3333 |
exit 0 |
3334 |
_ASEOF |
3335 |
chmod +x conf$$.file |
3336 |
if test -x conf$$.file >/dev/null 2>&1; then |
3337 |
as_executable_p="test -x" |
3338 |
else |
3339 |
as_executable_p=: |
3340 |
fi |
3341 |
rm -f conf$$.file |
3342 |
|
3343 |
# Sed expression to map a string onto a valid CPP name. |
3344 |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
3345 |
|
3346 |
# Sed expression to map a string onto a valid variable name. |
3347 |
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
3348 |
|
3349 |
|
3350 |
exec 6>&1 |
3351 |
|
3352 |
# Save the log message, to keep $[0] and so on meaningful, and to |
3353 |
# report actual input values of CONFIG_FILES etc. instead of their |
3354 |
# values after options handling. |
3355 |
ac_log=" |
3356 |
This file was extended by pxys2 $as_me 2.1.0, which was |
3357 |
generated by GNU Autoconf 2.60. Invocation command line was |
3358 |
|
3359 |
CONFIG_FILES = $CONFIG_FILES |
3360 |
CONFIG_HEADERS = $CONFIG_HEADERS |
3361 |
CONFIG_LINKS = $CONFIG_LINKS |
3362 |
CONFIG_COMMANDS = $CONFIG_COMMANDS |
3363 |
$ $0 $@ |
3364 |
|
3365 |
on `(hostname || uname -n) 2>/dev/null | sed 1q` |
3366 |
" |
3367 |
|
3368 |
_ACEOF |
3369 |
|
3370 |
cat >>$CONFIG_STATUS <<_ACEOF |
3371 |
# Files that config.status was made for. |
3372 |
config_files="$ac_config_files" |
3373 |
|
3374 |
_ACEOF |
3375 |
|
3376 |
cat >>$CONFIG_STATUS <<\_ACEOF |
3377 |
ac_cs_usage="\ |
3378 |
\`$as_me' instantiates files from templates according to the |
3379 |
current configuration. |
3380 |
|
3381 |
Usage: $0 [OPTIONS] [FILE]... |
3382 |
|
3383 |
-h, --help print this help, then exit |
3384 |
-V, --version print version number, then exit |
3385 |
-q, --quiet do not print progress messages |
3386 |
-d, --debug don't remove temporary files |
3387 |
--recheck update $as_me by reconfiguring in the same conditions |
3388 |
--file=FILE[:TEMPLATE] |
3389 |
instantiate the configuration file FILE |
3390 |
|
3391 |
Configuration files: |
3392 |
$config_files |
3393 |
|
3394 |
Report bugs to <bug-autoconf@gnu.org>." |
3395 |
|
3396 |
_ACEOF |
3397 |
cat >>$CONFIG_STATUS <<_ACEOF |
3398 |
ac_cs_version="\\ |
3399 |
pxys2 config.status 2.1.0 |
3400 |
configured by $0, generated by GNU Autoconf 2.60, |
3401 |
with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" |
3402 |
|
3403 |
Copyright (C) 2006 Free Software Foundation, Inc. |
3404 |
This config.status script is free software; the Free Software Foundation |
3405 |
gives unlimited permission to copy, distribute and modify it." |
3406 |
|
3407 |
ac_pwd='$ac_pwd' |
3408 |
srcdir='$srcdir' |
3409 |
INSTALL='$INSTALL' |
3410 |
_ACEOF |
3411 |
|
3412 |
cat >>$CONFIG_STATUS <<\_ACEOF |
3413 |
# If no file are specified by the user, then we need to provide default |
3414 |
# value. By we need to know if files were specified by the user. |
3415 |
ac_need_defaults=: |
3416 |
while test $# != 0 |
3417 |
do |
3418 |
case $1 in |
3419 |
--*=*) |
3420 |
ac_option=`expr "X$1" : 'X\([^=]*\)='` |
3421 |
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` |
3422 |
ac_shift=: |
3423 |
;; |
3424 |
*) |
3425 |
ac_option=$1 |
3426 |
ac_optarg=$2 |
3427 |
ac_shift=shift |
3428 |
;; |
3429 |
esac |
3430 |
|
3431 |
case $ac_option in |
3432 |
# Handling of the options. |
3433 |
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
3434 |
ac_cs_recheck=: ;; |
3435 |
--version | --versio | --versi | --vers | --ver | --ve | --v | -V ) |
3436 |
echo "$ac_cs_version"; exit ;; |
3437 |
--debug | --debu | --deb | --de | --d | -d ) |
3438 |
debug=: ;; |
3439 |
--file | --fil | --fi | --f ) |
3440 |
$ac_shift |
3441 |
CONFIG_FILES="$CONFIG_FILES $ac_optarg" |
3442 |
ac_need_defaults=false;; |
3443 |
--he | --h | --help | --hel | -h ) |
3444 |
echo "$ac_cs_usage"; exit ;; |
3445 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
3446 |
| -silent | --silent | --silen | --sile | --sil | --si | --s) |
3447 |
ac_cs_silent=: ;; |
3448 |
|
3449 |
# This is an error. |
3450 |
-*) { echo "$as_me: error: unrecognized option: $1 |
3451 |
Try \`$0 --help' for more information." >&2 |
3452 |
{ (exit 1); exit 1; }; } ;; |
3453 |
|
3454 |
*) ac_config_targets="$ac_config_targets $1" |
3455 |
ac_need_defaults=false ;; |
3456 |
|
3457 |
esac |
3458 |
shift |
3459 |
done |
3460 |
|
3461 |
ac_configure_extra_args= |
3462 |
|
3463 |
if $ac_cs_silent; then |
3464 |
exec 6>/dev/null |
3465 |
ac_configure_extra_args="$ac_configure_extra_args --silent" |
3466 |
fi |
3467 |
|
3468 |
_ACEOF |
3469 |
cat >>$CONFIG_STATUS <<_ACEOF |
3470 |
if \$ac_cs_recheck; then |
3471 |
echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 |
3472 |
CONFIG_SHELL=$SHELL |
3473 |
export CONFIG_SHELL |
3474 |
exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
3475 |
fi |
3476 |
|
3477 |
_ACEOF |
3478 |
cat >>$CONFIG_STATUS <<\_ACEOF |
3479 |
exec 5>>config.log |
3480 |
{ |
3481 |
echo |
3482 |
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX |
3483 |
## Running $as_me. ## |
3484 |
_ASBOX |
3485 |
echo "$ac_log" |
3486 |
} >&5 |
3487 |
|
3488 |
_ACEOF |
3489 |
cat >>$CONFIG_STATUS <<_ACEOF |
3490 |
_ACEOF |
3491 |
|
3492 |
cat >>$CONFIG_STATUS <<\_ACEOF |
3493 |
|
3494 |
# Handling of arguments. |
3495 |
for ac_config_target in $ac_config_targets |
3496 |
do |
3497 |
case $ac_config_target in |
3498 |
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
3499 |
|
3500 |
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
3501 |
echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
3502 |
{ (exit 1); exit 1; }; };; |
3503 |
esac |
3504 |
done |
3505 |
|
3506 |
|
3507 |
# If the user did not use the arguments to specify the items to instantiate, |
3508 |
# then the envvar interface is used. Set only those that are not. |
3509 |
# We use the long form for the default assignment because of an extremely |
3510 |
# bizarre bug on SunOS 4.1.3. |
3511 |
if $ac_need_defaults; then |
3512 |
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files |
3513 |
fi |
3514 |
|
3515 |
# Have a temporary directory for convenience. Make it in the build tree |
3516 |
# simply because there is no reason against having it here, and in addition, |
3517 |
# creating and moving files from /tmp can sometimes cause problems. |
3518 |
# Hook for its removal unless debugging. |
3519 |
# Note that there is a small window in which the directory will not be cleaned: |
3520 |
# after its creation but before its name has been assigned to `$tmp'. |
3521 |
$debug || |
3522 |
{ |
3523 |
tmp= |
3524 |
trap 'exit_status=$? |
3525 |
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status |
3526 |
' 0 |
3527 |
trap '{ (exit 1); exit 1; }' 1 2 13 15 |
3528 |
} |
3529 |
# Create a (secure) tmp directory for tmp files. |
3530 |
|
3531 |
{ |
3532 |
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
3533 |
test -n "$tmp" && test -d "$tmp" |
3534 |
} || |
3535 |
{ |
3536 |
tmp=./conf$$-$RANDOM |
3537 |
(umask 077 && mkdir "$tmp") |
3538 |
} || |
3539 |
{ |
3540 |
echo "$me: cannot create a temporary directory in ." >&2 |
3541 |
{ (exit 1); exit 1; } |
3542 |
} |
3543 |
|
3544 |
# |
3545 |
# Set up the sed scripts for CONFIG_FILES section. |
3546 |
# |
3547 |
|
3548 |
# No need to generate the scripts if there are no CONFIG_FILES. |
3549 |
# This happens for instance when ./config.status config.h |
3550 |
if test -n "$CONFIG_FILES"; then |
3551 |
|
3552 |
_ACEOF |
3553 |
|
3554 |
|
3555 |
|
3556 |
ac_delim='%!_!# ' |
3557 |
for ac_last_try in false false false false false :; do |
3558 |
cat >conf$$subs.sed <<_ACEOF |
3559 |
SHELL!$SHELL$ac_delim |
3560 |
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim |
3561 |
PACKAGE_NAME!$PACKAGE_NAME$ac_delim |
3562 |
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim |
3563 |
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim |
3564 |
PACKAGE_STRING!$PACKAGE_STRING$ac_delim |
3565 |
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim |
3566 |
exec_prefix!$exec_prefix$ac_delim |
3567 |
prefix!$prefix$ac_delim |
3568 |
program_transform_name!$program_transform_name$ac_delim |
3569 |
bindir!$bindir$ac_delim |
3570 |
sbindir!$sbindir$ac_delim |
3571 |
libexecdir!$libexecdir$ac_delim |
3572 |
datarootdir!$datarootdir$ac_delim |
3573 |
datadir!$datadir$ac_delim |
3574 |
sysconfdir!$sysconfdir$ac_delim |
3575 |
sharedstatedir!$sharedstatedir$ac_delim |
3576 |
localstatedir!$localstatedir$ac_delim |
3577 |
includedir!$includedir$ac_delim |
3578 |
oldincludedir!$oldincludedir$ac_delim |
3579 |
docdir!$docdir$ac_delim |
3580 |
infodir!$infodir$ac_delim |
3581 |
htmldir!$htmldir$ac_delim |
3582 |
dvidir!$dvidir$ac_delim |
3583 |
pdfdir!$pdfdir$ac_delim |
3584 |
psdir!$psdir$ac_delim |
3585 |
libdir!$libdir$ac_delim |
3586 |
localedir!$localedir$ac_delim |
3587 |
mandir!$mandir$ac_delim |
3588 |
DEFS!$DEFS$ac_delim |
3589 |
ECHO_C!$ECHO_C$ac_delim |
3590 |
ECHO_N!$ECHO_N$ac_delim |
3591 |
ECHO_T!$ECHO_T$ac_delim |
3592 |
LIBS!$LIBS$ac_delim |
3593 |
build_alias!$build_alias$ac_delim |
3594 |
host_alias!$host_alias$ac_delim |
3595 |
target_alias!$target_alias$ac_delim |
3596 |
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim |
3597 |
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim |
3598 |
INSTALL_DATA!$INSTALL_DATA$ac_delim |
3599 |
PACKAGE!$PACKAGE$ac_delim |
3600 |
VERSION!$VERSION$ac_delim |
3601 |
ACLOCAL!$ACLOCAL$ac_delim |
3602 |
AUTOCONF!$AUTOCONF$ac_delim |
3603 |
AUTOMAKE!$AUTOMAKE$ac_delim |
3604 |
AUTOHEADER!$AUTOHEADER$ac_delim |
3605 |
MAKEINFO!$MAKEINFO$ac_delim |
3606 |
SET_MAKE!$SET_MAKE$ac_delim |
3607 |
CC!$CC$ac_delim |
3608 |
CFLAGS!$CFLAGS$ac_delim |
3609 |
LDFLAGS!$LDFLAGS$ac_delim |
3610 |
CPPFLAGS!$CPPFLAGS$ac_delim |
3611 |
ac_ct_CC!$ac_ct_CC$ac_delim |
3612 |
EXEEXT!$EXEEXT$ac_delim |
3613 |
OBJEXT!$OBJEXT$ac_delim |
3614 |
LIBOBJS!$LIBOBJS$ac_delim |
3615 |
LTLIBOBJS!$LTLIBOBJS$ac_delim |
3616 |
_ACEOF |
3617 |
|
3618 |
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 57; then |
3619 |
break |
3620 |
elif $ac_last_try; then |
3621 |
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
3622 |
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} |
3623 |
{ (exit 1); exit 1; }; } |
3624 |
else |
3625 |
ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
3626 |
fi |
3627 |
done |
3628 |
|
3629 |
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` |
3630 |
if test -n "$ac_eof"; then |
3631 |
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` |
3632 |
ac_eof=`expr $ac_eof + 1` |
3633 |
fi |
3634 |
|
3635 |
cat >>$CONFIG_STATUS <<_ACEOF |
3636 |
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof |
3637 |
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end |
3638 |
_ACEOF |
3639 |
sed ' |
3640 |
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g |
3641 |
s/^/s,@/; s/!/@,|#_!!_#|/ |
3642 |
:n |
3643 |
t n |
3644 |
s/'"$ac_delim"'$/,g/; t |
3645 |
s/$/\\/; p |
3646 |
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n |
3647 |
' >>$CONFIG_STATUS <conf$$subs.sed |
3648 |
rm -f conf$$subs.sed |
3649 |
cat >>$CONFIG_STATUS <<_ACEOF |
3650 |
:end |
3651 |
s/|#_!!_#|//g |
3652 |
CEOF$ac_eof |
3653 |
_ACEOF |
3654 |
|
3655 |
|
3656 |
# VPATH may cause trouble with some makes, so we remove $(srcdir), |
3657 |
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and |
3658 |
# trailing colons and then remove the whole line if VPATH becomes empty |
3659 |
# (actually we leave an empty line to preserve line numbers). |
3660 |
if test "x$srcdir" = x.; then |
3661 |
ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
3662 |
s/:*\$(srcdir):*/:/ |
3663 |
s/:*\${srcdir}:*/:/ |
3664 |
s/:*@srcdir@:*/:/ |
3665 |
s/^\([^=]*=[ ]*\):*/\1/ |
3666 |
s/:*$// |
3667 |
s/^[^=]*=[ ]*$// |
3668 |
}' |
3669 |
fi |
3670 |
|
3671 |
cat >>$CONFIG_STATUS <<\_ACEOF |
3672 |
fi # test -n "$CONFIG_FILES" |
3673 |
|
3674 |
|
3675 |
for ac_tag in :F $CONFIG_FILES |
3676 |
do |
3677 |
case $ac_tag in |
3678 |
:[FHLC]) ac_mode=$ac_tag; continue;; |
3679 |
esac |
3680 |
case $ac_mode$ac_tag in |
3681 |
:[FHL]*:*);; |
3682 |
:L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 |
3683 |
echo "$as_me: error: Invalid tag $ac_tag." >&2;} |
3684 |
{ (exit 1); exit 1; }; };; |
3685 |
:[FH]-) ac_tag=-:-;; |
3686 |
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
3687 |
esac |
3688 |
ac_save_IFS=$IFS |
3689 |
IFS=: |
3690 |
set x $ac_tag |
3691 |
IFS=$ac_save_IFS |
3692 |
shift |
3693 |
ac_file=$1 |
3694 |
shift |
3695 |
|
3696 |
case $ac_mode in |
3697 |
:L) ac_source=$1;; |
3698 |
:[FH]) |
3699 |
ac_file_inputs= |
3700 |
for ac_f |
3701 |
do |
3702 |
case $ac_f in |
3703 |
-) ac_f="$tmp/stdin";; |
3704 |
*) # Look for the file first in the build tree, then in the source tree |
3705 |
# (if the path is not absolute). The absolute path cannot be DOS-style, |
3706 |
# because $ac_f cannot contain `:'. |
3707 |
test -f "$ac_f" || |
3708 |
case $ac_f in |
3709 |
[\\/$]*) false;; |
3710 |
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
3711 |
esac || |
3712 |
{ { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 |
3713 |
echo "$as_me: error: cannot find input file: $ac_f" >&2;} |
3714 |
{ (exit 1); exit 1; }; };; |
3715 |
esac |
3716 |
ac_file_inputs="$ac_file_inputs $ac_f" |
3717 |
done |
3718 |
|
3719 |
# Let's still pretend it is `configure' which instantiates (i.e., don't |
3720 |
# use $as_me), people would be surprised to read: |
3721 |
# /* config.h. Generated by config.status. */ |
3722 |
configure_input="Generated from "`IFS=: |
3723 |
echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." |
3724 |
if test x"$ac_file" != x-; then |
3725 |
configure_input="$ac_file. $configure_input" |
3726 |
{ echo "$as_me:$LINENO: creating $ac_file" >&5 |
3727 |
echo "$as_me: creating $ac_file" >&6;} |
3728 |
fi |
3729 |
|
3730 |
case $ac_tag in |
3731 |
*:-:* | *:-) cat >"$tmp/stdin";; |
3732 |
esac |
3733 |
;; |
3734 |
esac |
3735 |
|
3736 |
ac_dir=`$as_dirname -- "$ac_file" || |
3737 |
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
3738 |
X"$ac_file" : 'X\(//\)[^/]' \| \ |
3739 |
X"$ac_file" : 'X\(//\)$' \| \ |
3740 |
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || |
3741 |
echo X"$ac_file" | |
3742 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
3743 |
s//\1/ |
3744 |
q |
3745 |
} |
3746 |
/^X\(\/\/\)[^/].*/{ |
3747 |
s//\1/ |
3748 |
q |
3749 |
} |
3750 |
/^X\(\/\/\)$/{ |
3751 |
s//\1/ |
3752 |
q |
3753 |
} |
3754 |
/^X\(\/\).*/{ |
3755 |
s//\1/ |
3756 |
q |
3757 |
} |
3758 |
s/.*/./; q'` |
3759 |
{ as_dir="$ac_dir" |
3760 |
case $as_dir in #( |
3761 |
-*) as_dir=./$as_dir;; |
3762 |
esac |
3763 |
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { |
3764 |
as_dirs= |
3765 |
while :; do |
3766 |
case $as_dir in #( |
3767 |
*\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( |
3768 |
*) as_qdir=$as_dir;; |
3769 |
esac |
3770 |
as_dirs="'$as_qdir' $as_dirs" |
3771 |
as_dir=`$as_dirname -- "$as_dir" || |
3772 |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
3773 |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
3774 |
X"$as_dir" : 'X\(//\)$' \| \ |
3775 |
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
3776 |
echo X"$as_dir" | |
3777 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
3778 |
s//\1/ |
3779 |
q |
3780 |
} |
3781 |
/^X\(\/\/\)[^/].*/{ |
3782 |
s//\1/ |
3783 |
q |
3784 |
} |
3785 |
/^X\(\/\/\)$/{ |
3786 |
s//\1/ |
3787 |
q |
3788 |
} |
3789 |
/^X\(\/\).*/{ |
3790 |
s//\1/ |
3791 |
q |
3792 |
} |
3793 |
s/.*/./; q'` |
3794 |
test -d "$as_dir" && break |
3795 |
done |
3796 |
test -z "$as_dirs" || eval "mkdir $as_dirs" |
3797 |
} || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 |
3798 |
echo "$as_me: error: cannot create directory $as_dir" >&2;} |
3799 |
{ (exit 1); exit 1; }; }; } |
3800 |
ac_builddir=. |
3801 |
|
3802 |
case "$ac_dir" in |
3803 |
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
3804 |
*) |
3805 |
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
3806 |
# A ".." for each directory in $ac_dir_suffix. |
3807 |
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` |
3808 |
case $ac_top_builddir_sub in |
3809 |
"") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
3810 |
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
3811 |
esac ;; |
3812 |
esac |
3813 |
ac_abs_top_builddir=$ac_pwd |
3814 |
ac_abs_builddir=$ac_pwd$ac_dir_suffix |
3815 |
# for backward compatibility: |
3816 |
ac_top_builddir=$ac_top_build_prefix |
3817 |
|
3818 |
case $srcdir in |
3819 |
.) # We are building in place. |
3820 |
ac_srcdir=. |
3821 |
ac_top_srcdir=$ac_top_builddir_sub |
3822 |
ac_abs_top_srcdir=$ac_pwd ;; |
3823 |
[\\/]* | ?:[\\/]* ) # Absolute name. |
3824 |
ac_srcdir=$srcdir$ac_dir_suffix; |
3825 |
ac_top_srcdir=$srcdir |
3826 |
ac_abs_top_srcdir=$srcdir ;; |
3827 |
*) # Relative name. |
3828 |
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
3829 |
ac_top_srcdir=$ac_top_build_prefix$srcdir |
3830 |
ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
3831 |
esac |
3832 |
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
3833 |
|
3834 |
|
3835 |
case $ac_mode in |
3836 |
:F) |
3837 |
# |
3838 |
# CONFIG_FILE |
3839 |
# |
3840 |
|
3841 |
case $INSTALL in |
3842 |
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
3843 |
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; |
3844 |
esac |
3845 |
_ACEOF |
3846 |
|
3847 |
cat >>$CONFIG_STATUS <<\_ACEOF |
3848 |
# If the template does not know about datarootdir, expand it. |
3849 |
# FIXME: This hack should be removed a few years after 2.60. |
3850 |
ac_datarootdir_hack=; ac_datarootdir_seen= |
3851 |
|
3852 |
case `sed -n '/datarootdir/ { |
3853 |
p |
3854 |
q |
3855 |
} |
3856 |
/@datadir@/p |
3857 |
/@docdir@/p |
3858 |
/@infodir@/p |
3859 |
/@localedir@/p |
3860 |
/@mandir@/p |
3861 |
' $ac_file_inputs` in |
3862 |
*datarootdir*) ac_datarootdir_seen=yes;; |
3863 |
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) |
3864 |
{ echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 |
3865 |
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} |
3866 |
_ACEOF |
3867 |
cat >>$CONFIG_STATUS <<_ACEOF |
3868 |
ac_datarootdir_hack=' |
3869 |
s&@datadir@&$datadir&g |
3870 |
s&@docdir@&$docdir&g |
3871 |
s&@infodir@&$infodir&g |
3872 |
s&@localedir@&$localedir&g |
3873 |
s&@mandir@&$mandir&g |
3874 |
s&\\\${datarootdir}&$datarootdir&g' ;; |
3875 |
esac |
3876 |
_ACEOF |
3877 |
|
3878 |
# Neutralize VPATH when `$srcdir' = `.'. |
3879 |
# Shell code in configure.ac might set extrasub. |
3880 |
# FIXME: do we really want to maintain this feature? |
3881 |
cat >>$CONFIG_STATUS <<_ACEOF |
3882 |
sed "$ac_vpsub |
3883 |
$extrasub |
3884 |
_ACEOF |
3885 |
cat >>$CONFIG_STATUS <<\_ACEOF |
3886 |
:t |
3887 |
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
3888 |
s&@configure_input@&$configure_input&;t t |
3889 |
s&@top_builddir@&$ac_top_builddir_sub&;t t |
3890 |
s&@srcdir@&$ac_srcdir&;t t |
3891 |
s&@abs_srcdir@&$ac_abs_srcdir&;t t |
3892 |
s&@top_srcdir@&$ac_top_srcdir&;t t |
3893 |
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t |
3894 |
s&@builddir@&$ac_builddir&;t t |
3895 |
s&@abs_builddir@&$ac_abs_builddir&;t t |
3896 |
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
3897 |
s&@INSTALL@&$ac_INSTALL&;t t |
3898 |
$ac_datarootdir_hack |
3899 |
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out |
3900 |
|
3901 |
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
3902 |
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && |
3903 |
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && |
3904 |
{ echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
3905 |
which seems to be undefined. Please make sure it is defined." >&5 |
3906 |
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
3907 |
which seems to be undefined. Please make sure it is defined." >&2;} |
3908 |
|
3909 |
rm -f "$tmp/stdin" |
3910 |
case $ac_file in |
3911 |
-) cat "$tmp/out"; rm -f "$tmp/out";; |
3912 |
*) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; |
3913 |
esac |
3914 |
;; |
3915 |
|
3916 |
|
3917 |
|
3918 |
esac |
3919 |
|
3920 |
done # for ac_tag |
3921 |
|
3922 |
|
3923 |
{ (exit 0); exit 0; } |
3924 |
_ACEOF |
3925 |
chmod +x $CONFIG_STATUS |
3926 |
ac_clean_files=$ac_clean_files_save |
3927 |
|
3928 |
|
3929 |
# configure is writing to config.log, and then calls config.status. |
3930 |
# config.status does its own redirection, appending to config.log. |
3931 |
# Unfortunately, on DOS this fails, as config.log is still kept open |
3932 |
# by configure, so config.status won't be able to write to it; its |
3933 |
# output is simply discarded. So we exec the FD to /dev/null, |
3934 |
# effectively closing config.log, so it can be properly (re)opened and |
3935 |
# appended to by config.status. When coming back to configure, we |
3936 |
# need to make the FD available again. |
3937 |
if test "$no_create" != yes; then |
3938 |
ac_cs_success=: |
3939 |
ac_config_status_args= |
3940 |
test "$silent" = yes && |
3941 |
ac_config_status_args="$ac_config_status_args --quiet" |
3942 |
exec 5>/dev/null |
3943 |
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
3944 |
exec 5>>config.log |
3945 |
# Use ||, not &&, to avoid exiting from the if with $? = 1, which |
3946 |
# would make configure fail if this is the last instruction. |
3947 |
$ac_cs_success || { (exit 1); exit 1; } |
3948 |
fi |
3949 |
|