[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: including files in configure.in
From: |
Micah J. Cowan |
Subject: |
Re: including files in configure.in |
Date: |
Wed, 7 Jun 2006 14:54:35 -0700 |
User-agent: |
Mutt/1.2.5.1i |
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/