This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Re: re-executing config commands
- From: Alexandre Duret-Lutz <duret_g at lrde dot epita dot fr>
- To: "Schleicher Ralph (LLI)" <ralph dot schleicher at lli dot liebherr dot com>
- Cc: automake at gnu dot org
- Date: Fri, 5 Jul 2002 15:12:18 +0200
- Subject: Re: re-executing config commands
- References: <ji8z4q1hcg.fsf@lli.liebherr.com>
On Fri, Jul 05, 2002 at 02:37:03PM +0200, Schleicher Ralph (LLI) wrote:
> automake (GNU automake) 1.6.2
>
> My configure.ac contains the following lines of code:
>
> AC_CONFIG_FILES([Makefile foo])
> AC_CONFIG_COMMANDS([foo], [chmod +x foo])
This is declaring a config-file `foo' and a config-command `foo'.
These are distinct (actually I'm surprised that Autoconf doesn't
complain that `foo' is used twice).
What you want is to associate the command `chmod +x foo' to the
file `foo'. Here is how to do this:
AC_CONFIG_FILES([Makefile])
AC_CONFIG_FILES([foo], [chmod +x foo])
--
Alexandre Duret-Lutz