[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
AM_SILENT_RULES has no effect
From: |
Bruno Haible |
Subject: |
AM_SILENT_RULES has no effect |
Date: |
Fri, 22 May 2009 01:37:42 +0200 |
User-agent: |
KMail/1.9.9 |
Hi,
The automake 1.11 documentation says that to enable silent rules:
"The developer needs to do either of the following:
* Add the `silent-rules' option as argument to
`AM_INIT_AUTOMAKE'.
* Call the `AM_SILENT_RULES' macro from within the
`configure.ac' file."
I'm trying to use the second option, because I'm using AM_INIT_AUTOMAKE
in the old 2-arguments form.
After running 'aclocal', 'autoconf', 'autoheader', the 'automake' command
fails:
$ automake
gllib/Makefile.am:13: option `silent-rules' must be an argument of
AM_INIT_AUTOMAKE
To reproduce:
$ gnulib-tool --create-testdir --dir=ttt stdint
$ cd ttt
# Edit gllib/Makefile.am, setting AUTOMAKE_OPTIONS = 1.11 gnits silent-rules
# Edit configure.ac, adding an AM_SILENT_RULES invocation right after
AM_INIT_AUTOMAKE
$ aclocal -I glm4
$ autoconf
$ autoheader
$ automake
gllib/Makefile.am:13: option `silent-rules' must be an argument of
AM_INIT_AUTOMAKE
$ echo $?
1
Bruno
- AM_SILENT_RULES has no effect,
Bruno Haible <=