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: m4_include: problem with relative paths

2005-05-14 Thread Irek Szczesniak
Alexandre Duret-Lutz wrote:
 Irek I would appreciate your advice on how to fix this problem.
I fixed something similar some weeks ago in CVS, so you might
just wait for the next release.
Thank you for your e-mail.  I will wait for the next release.
Irek



m4_include: problem with relative paths

2005-05-09 Thread Irek Szczesniak
I am using Automake 1.9.5 and Autoconf 2.59 on GNU/Linux 2.4.21.  In 
my project I have the subdirectory config where I have my custom 
macros.  And so in my Makefile.am I have:

 ACLOCAL_AMFLAGS = -I config
In the file project/config/x11_ext.m4 I need to reuse some code from 
the file project/config/x11.m4 and so in the file 
project/config/x11_ext.m4 I have this line:

 m4_include([x11.m4])
Now I want to reconfigure the project and so I execute in the project 
directory:

 ~project autoreconf -i
I get this:
 ~/project autoreconf -i
 configure.in:482: /usr/bin/m4: Cannot open x11.m4: No such file or
 directory
 autom4te: /usr/bin/m4 failed with exit status: 1
 aclocal: autom4te failed with exit status: 1
 autoreconf: aclocal failed with exit status: 1
However, when my inclusion line is this:
 m4_include([config/x11.m4])
then I get the following error:
 ~/project autoreconf -i
 config/x11_ext.m4:80: file `config/config/x11.m4' does not exist
 autoreconf: aclocal failed with exit status: 1
I would appreciate your advice on how to fix this problem.
Thanks for reading.
Best,
Irek