tests: avoid a failure due to m4 builtin 'sinclude' in package name
authorStefano Lattarini <stefano.lattarini@gmail.com>
Fri, 23 Nov 2012 09:37:19 +0000 (10:37 +0100)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Fri, 23 Nov 2012 09:58:35 +0000 (10:58 +0100)
commit6d1fe29e2c844fe3d50267af02ae69e687fd5e37
treed3d4d448fdfd1fb868d84d597f53ea4d2816bad1
parentcb6a19d9d0c46ddf03b2494333bed2c3d7dc1e15
tests: avoid a failure due to m4 builtin 'sinclude' in package name

Even with Autoconf 2.69, AC_INIT is not very robust when to package
names that contain some selected m4 builtins; for example:

    $ echo 'AC_INIT([sinclude], [1.0])' | autoconf -o/dev/null -
    stdin:1: warning: file `' included several times

    $ echo 'AC_INIT([dnl], [1.0])' | autoconf -o/dev/null -
    /usr/bin/m4:stdin:1: excess arguments to builtin `m4_define' ignored
    autom4te: /usr/bin/m4 failed with exit status: 1

Reference:
<http://lists.gnu.org/archive/html/bug-autoconf/2012-11/msg00005.html>

* t/aclocal-m4-sinclude.sh (configure.ac): Use 'm4sinclude' as package
name in the AC_INIT invocation, to avoid tickling the just-described
bug.

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
t/aclocal-m4-sinclude.sh