Is it possible to include another M4 file with autoconf? I'd want to include a M4 Macro from configure.in
Googling from autoconf include didn't help much off course..
The best way to accelerate a windows server is by 9.81M/S²
Linux user #311670 and Yet Another Perl Programmer
[ screenies | Coding on KMess ]
If you're writing your own macro, you should create a macros subdir and put it in some .m4 file there. After just put it in configure.ac, or .in.
If that's what you're asking...
I suggest you download Autoconf (there's a chapter "Writing your Autoconf macros") and Automake manuals from the GNU web site - I think tutorials are not enough when you're creating your own Autotools project from scratch.
I have only recently started learning autotools, but I think that there is no include function, that 'macros' is a standard name and that if you have macros/misc.m4 with MY_MACRO defined, you can just put a line MY_MACRO(args...) in configure.in. In Makefile.am though, you need a line like:
dist_macros = macros/misc.m4
Although I haven't done this, this is just from other source code I've seen. Maybe a line like -I macros needs to be put somewhere in autogen.sh, but I don't know that, sorry.