On Wed, Jun 07, 2006 at 01:31:43PM -0700, Theodore Sternberg wrote:
> Is there a way to include external files in configure.in?  In the
> interest of being modular, of course.
> 
> I'm thinking along these lines:
> 
> case "${host}" in
>         *86*-linux-gnu*)
>             include linux.generic
> 
>         x86_64-*-linux-gnu)
>             include linux.generic
>             include linux.64
> 
>        [...]
> esac

m4_include([linux.generic]) works for me.

You should be able to use the GNU m4 manual as a reference, remembering
to prefix all builtins with m4, and checking autoconf's manual for
additional information.

-- 
Micah J. Cowan
Programmer, musician, typesetting enthusiast, gamer...
http://micah.cowan.name/


_______________________________________________
Autoconf mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/autoconf

Reply via email to