chmod-ing AC_OUTPUT files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,
	I have a configure.ac whose tail end looks something like:

--------- begin snip -------------
AC_CONFIG_FILES([
	myscript.sh
	])
AC_OUTPUT

chmod +x myscript.sh
--------- end snip ---------------

(I've got a "myscript.sh.in".)

... which results in an executable script on configuration, however,
anytime autoreconf is run automatically (not in maintainer mode), the
chmod part of configure.ac doesn't execute, leaving a non-executable
"myscript.sh".  I usually manually re-run configure -C to fix this, but is
there a `proper' way of hooking some post-reconf script/actions to
autoreconf?  There's *gotta* be something simple here, but I thought I'd
throw the question out before I concoct some dirty hack.

Thanks in advance!

David Fang



_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux