Hello Sam.
On Thursday 04 August 2011, Sam Varshavchik wrote:
> I'm looking for a way to implement an optional plugin-like facility in
> automake.
>
> Basically, take a stock distro installation of automake, then augment it
> somehow so that automake would add my stuff into each Makefile.in fi
Stefano Lattarini writes:
A quick workaround to obtain this behaviour is to write your custom/rules
defintion in a `.am' fragment in your source tree, and then include it
from all the Makefile.am files that need it:
$ cat my-rules.am
my_variable = ...
.ctpl.c:
# rules to create a
On Thursday 04 August 2011, Sam Varshavchik wrote:
>
> [SNIP]
>
> I also came up with a different solution last night. I install something
> like this into /usr/share/aclocal:
>
> AC_DEFUN([LIBX_INIT],[
> PKG_PROG_PKG_CONFIG
> PKG_CHECK_EXISTS([libx],[:],[AC_MSG_ERROR([libx not found])])
>
> li