[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: re-executing config commands
From: |
Alexandre Duret-Lutz |
Subject: |
Re: re-executing config commands |
Date: |
Fri, 5 Jul 2002 15:12:18 +0200 |
User-agent: |
Mutt/1.4i |
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