pt_chown: Make it work with automake < 1.11.
authorBruno Haible <bruno@clisp.org>
Wed, 24 Mar 2010 00:14:18 +0000 (01:14 +0100)
committerBruno Haible <bruno@clisp.org>
Wed, 24 Mar 2010 08:18:00 +0000 (09:18 +0100)
ChangeLog
modules/pt_chown

index 0b1dc20..1d13895 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2010-03-23  Bruno Haible  <bruno@clisp.org>
 
+       pt_chown: Make it work with automake < 1.11.
+       * modules/pt_chown (Makefile.am): Define pkglibexecdir.
+       Reported by Simon Josefsson.
+
+2010-03-23  Bruno Haible  <bruno@clisp.org>
+
        pt_chown: Don't depend on GPLed modules.
        * lib/pt_chown.c: Don't include idpriv.h.
        (main): Don't drop privileges.
index a52fef0..b861331 100644 (file)
@@ -12,6 +12,8 @@ configure.ac:
 
 Makefile.am:
 # TODO: Add rules for installing as setuid root (chown root, chmod a=rx,u+s).
+# The next line can be removed once we assume automake >= 1.11.
+pkglibexecdir = $(libexecdir)/@PACKAGE@
 pkglibexec_PROGRAMS = pt_chown
 pt_chown_LDADD = libgnu.a