executable scripts produced by AC_OUTPUT?
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?
* 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?
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
BUILT_SOURCES too clumsy
Hi folks, The targets in BUILT_SOURCES are unconditionally built for 'make all' and 'make install' and 'make check'. Very clumsy. I would like to generate some code for an optional convenience library exactly when needed. Would there be a way to introduce a derived variable libmylib_a_PREDEPEND, similar to BUILT_SOURCES, but bound to the primary to build? Regards Harri