This is the mail archive of the automake@gnu.org mailing list for the automake project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: re-executing config commands


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]