[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: autoconf-2.52 error?
From: |
Stefan Illner |
Subject: |
Re: autoconf-2.52 error? |
Date: |
Mon, 24 Sep 2001 20:23:38 +0200 |
On 24 Sep 2001 18:50:41 +0200
Akim Demaille <address@hidden> wrote:
>
> | Running "autoconf" results in:
> |
> | configure.ac:6: /usr/bin/m4: Warning: Too few arguments to built-in
> `m4_patsubst'
> | configure.ac:6: /usr/bin/m4: Warning: Too few arguments to built-in `m4_if'
>
> What does autoconf -t m4_patsubst gives? Did you run the test suite?
>
address@hidden:/home/stillner/src/proj2 > autoconf -t m4_patsubst
address@hidden:/home/stillner/src/proj2 > echo $?
1
and
make[2]: Wechsel in das Verzeichnis Verzeichnis
»/usr/src/packages/autoconf-2.52d/tests«
../autom4te --language=autotest -I . suite.at -o testsuite.tmp
mv testsuite.tmp testsuite
/bin/sh ./testsuite
## --------------------------------- ##
## Test suite for GNU Autoconf 2.52d ##
## --------------------------------- ##
../testsuite: line 27141: syntax error near unexpected token `(s'
../testsuite: line 27141: ` 77) at_msg="ok (skipped near \``cat
at-check-line`')"'
make[2]: *** [check-local] Fehler 2
The corresponding part in "testsuite" is following. I marked the above mentioned
line 27141 with ~~~ at the beginning.
####################################################################################
$at_traceon
$at_times >at-times
)
at_status=$?
;;
* )
echo $as_me: no such test: $at_test
continue
;;
esac
case $at_test in
banner-*) ;;
*)
if test ! -f at-check-line; then
sed "s/^ */$as_me: warning: /" <<_ATEOF
A failure happened in a test group before any test could be
run. This means that test suite is improperly designed. Please
report this failure to <$at_bugreport>.
_ATEOF
echo "$at_setup_line" >at-check-line
fi
at_test_count=`expr 1 + $at_test_count`
$at_verbose $at_n "$at_test. $srcdir/$at_setup_line: $at_c"
case $at_status in
0) at_msg="ok"
;;
~~~ 77) at_msg="ok (skipped near \``cat at-check-line`')"
at_skip_list="$at_skip_list $at_test"
;;
*) at_msg="FAILED near \``cat at-check-line`'"
at_fail_list="$at_fail_list $at_test"
;;
esac
echo $at_msg
at_log_msg="$at_test. $srcdir/$at_setup_line: $at_msg"
# If the test failed, at-times is not available.
test -f at-times && at_log_msg="$at_log_msg (`sed 1d at-times`)"
echo "$at_log_msg" >&6
$at_stop_on_error && test -n "$at_fail_list" && break
;;
esac
done
##############################################################################
It seems to me that at the beginning of this block there are some parts
missing. Is there anybody who can compare this piece of code with that
of a working autoconf?
TIA,
stillner