executable scripts produced by AC_OUTPUT?

2005-05-22 Thread Irek Szczesniak
In my configure.in the AC_OUTPUT macro produces the fsclien.sh script. 
 This script does not get installed.  I want this file to have the 
executable permission set.  The file fsclient.sh.in has the right 
permissions, but unfortunately they do not get transferred to fsclient.sh.


In my Automake.am I tried:
noinst_SCRIPTS = fsclient.sh

But it didn't help.

Is there a way of achieving my goal?

Thanks for reading.


Best,
Irek




Re: executable scripts produced by AC_OUTPUT?

2005-05-22 Thread Ralf Wildenhues
* Irek Szczesniak wrote on Sun, May 22, 2005 at 04:49:11AM CEST:
 In my configure.in the AC_OUTPUT macro produces the fsclien.sh script. 
  This script does not get installed.  I want this file to have the 
 executable permission set.  The file fsclient.sh.in has the right 
 permissions, but unfortunately they do not get transferred to fsclient.sh.

Do it like this:
AC_CONFIG_FILES([fsclient.sh], [chmod +x fsclient.sh])
AC_CONFIG_FILES([other config files..])

See
  info Autoconf 'Configuration Files'
for more info.

BTW, this is an Autoconf question rather than an Automake question (but
it's really difficult to tell unless you already know the answer :).

Regards,
Ralf




Re: executable scripts produced by AC_OUTPUT?

2005-05-22 Thread Thien-Thi Nguyen
Irek Szczesniak [EMAIL PROTECTED] writes:

 Is there a way of achieving my goal?

i believe this can be handled completely by autoconf,
w/o involving automake.  try placing in configure.ac:

AC_CONFIG_FILES([fsclient.sh],[chmod +x fsclient.sh])
AC_OUTPUT

tested w/ GNU Autoconf 2.59.

thi