I am writing a PHP extension. config.m4 generates the Makefile, but I want to include, at the begin of this Makefile another Makefile. (e.g.: "-include Makefile.local").
I don’t want to do it in the Makefile itself, since configure will recreate it and erase my changes when invoked.
How can I do it from config.m4?
Try this in
config.m4:Your
Makefileshould now look like:…after running
configure.