aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--macros/ChangeLog7
-rw-r--r--macros/gnome-libgtop-sysdeps.m42
2 files changed, 9 insertions, 0 deletions
diff --git a/macros/ChangeLog b/macros/ChangeLog
index 0d0032b5c8..288af31188 100644
--- a/macros/ChangeLog
+++ b/macros/ChangeLog
@@ -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.
diff --git a/macros/gnome-libgtop-sysdeps.m4 b/macros/gnome-libgtop-sysdeps.m4
index 4a0ef40301..5b1903e942 100644
--- a/macros/gnome-libgtop-sysdeps.m4
+++ b/macros/gnome-libgtop-sysdeps.m4
@@ -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)