97 |
# Ignore it, it might change between releases. |
# Ignore it, it might change between releases. |
98 |
m4_define([AT_CHECK_PERL_SYNTAX], |
m4_define([AT_CHECK_PERL_SYNTAX], |
99 |
[AT_CHECK([autom4te_perllibdir=$abs_top_srcdir/lib $PERL -c $abs_top_builddir/bin/$1], |
[AT_CHECK([autom4te_perllibdir=$abs_top_srcdir/lib $PERL -c $abs_top_builddir/bin/$1], |
100 |
0, [], [ignore])]) |
0, [], [ignore])]) |
101 |
|
|
102 |
AT_CHECK_PERL_SYNTAX([autoheader]) |
AT_CHECK_PERL_SYNTAX([autoheader]) |
103 |
AT_CHECK_PERL_SYNTAX([autom4te]) |
AT_CHECK_PERL_SYNTAX([autom4te]) |
248 |
]]) |
]]) |
249 |
|
|
250 |
AT_CHECK_AUTOCONF([[-t define | sed -n '$p']], |
AT_CHECK_AUTOCONF([[-t define | sed -n '$p']], |
251 |
0, |
0, |
252 |
[[configure.ac:1:define:active:ACTIVE |
[[configure.ac:1:define:active:ACTIVE |
253 |
]]) |
]]) |
254 |
|
|
257 |
# Note that using `-i' means we need the *.m4 files, not the *.m4f files, |
# Note that using `-i' means we need the *.m4 files, not the *.m4f files, |
258 |
# hence we need srcdir, not builddir. |
# hence we need srcdir, not builddir. |
259 |
AT_CHECK_AUTOCONF([[-t define:'$1' -i| sed -n '$p']], |
AT_CHECK_AUTOCONF([[-t define:'$1' -i| sed -n '$p']], |
260 |
0, |
0, |
261 |
[[active |
[[active |
262 |
]]) |
]]) |
263 |
|
|
593 |
echo "AC_PREREQ($autoupdate_version)" >expout |
echo "AC_PREREQ($autoupdate_version)" >expout |
594 |
|
|
595 |
AT_CHECK([echo "AC_PREREQ(1.0)" | autoupdate -], |
AT_CHECK([echo "AC_PREREQ(1.0)" | autoupdate -], |
596 |
0, [expout], []) |
0, [expout], []) |
597 |
|
|
598 |
AT_CHECK([echo "AC_PREREQ($autoupdate_version)" | autoupdate -], |
AT_CHECK([echo "AC_PREREQ($autoupdate_version)" | autoupdate -], |
599 |
0, [expout], []) |
0, [expout], []) |
600 |
|
|
601 |
AT_CHECK([echo "AC_PREREQ(999.99)" | autoupdate -], |
AT_CHECK([echo "AC_PREREQ(999.99)" | autoupdate -], |
602 |
1, [], [ignore]) |
1, [], [ignore]) |
603 |
|
|
604 |
AT_CLEANUP |
AT_CLEANUP |