Added `AC_SUBST(libgtop_postinstall)'. This is used in
authorMartin Baulig <martin@home-of-linux.org>
Thu, 1 Oct 1998 08:56:39 +0000 (08:56 +0000)
committerMartin Baulig <martin@src.gnome.org>
Thu, 1 Oct 1998 08:56:39 +0000 (08:56 +0000)
1998-10-01  Martin Baulig  <martin@home-of-linux.org>

* gnome-libgtop-sysdeps.m4 (libgtop_postinstall):
Added `AC_SUBST(libgtop_postinstall)'. This is used in
`src/daemon/Makefile.am' to make the server suid root or
sgid kmem if required.

svn path=/trunk/; revision=422

macros/ChangeLog
macros/gnome-libgtop-sysdeps.m4

index 0d0032b..288af31 100644 (file)
@@ -1,3 +1,10 @@
+1998-10-01  Martin Baulig  <martin@home-of-linux.org>
+
+       * gnome-libgtop-sysdeps.m4 (libgtop_postinstall): 
+       Added `AC_SUBST(libgtop_postinstall)'. This is used in
+       `src/daemon/Makefile.am' to make the server suid root or
+       sgid kmem if required.
+
 1998-09-28  Martin Baulig  <martin@home-of-linux.org>
 
        * gnome-libgtop-check.m4: Make it accept libgtop >= 0.25.0 again.
index 4a0ef40..5b1903e 100644 (file)
@@ -123,6 +123,7 @@ main (void)
          libgtop_sysdeps_dir=freebsd
          libgtop_use_machine_h=yes
          libgtop_need_server=yes
+         libgtop_postinstall='chgrp kmem $(bindir)/libgtop_server && chmod 2755 $(bindir)/libgtop_server'
          ;;
        *)
          libgtop_sysdeps_dir=stub
@@ -134,6 +135,7 @@ main (void)
        AC_MSG_RESULT($libgtop_sysdeps_dir)
 
        AC_SUBST(libgtop_sysdeps_dir)
+       AC_SUBST(libgtop_postinstall)
        AC_SUBST(libgtop_have_sysinfo)
 
        AC_MSG_CHECKING(for machine.h in libgtop sysdeps dir)