--- projects/libstatgrab/src/statgrab/Makefile.am 2003/10/09 10:37:42 1.5 +++ projects/libstatgrab/src/statgrab/Makefile.am 2003/12/12 09:48:21 1.7 @@ -1,6 +1,6 @@ # Makefile for libstatgrab/src/statgrab # http://www.i-scream.org/ -# $Id: Makefile.am,v 1.5 2003/10/09 10:37:42 tdb Exp $ +# $Id: Makefile.am,v 1.7 2003/12/12 09:48:21 tdb Exp $ if STATGRAB bin_PROGRAMS = statgrab @@ -15,11 +15,15 @@ INCLUDES = -I$(top_srcdir) -I$(top_builddir) \ LDADD = $(top_builddir)/src/libstatgrab/libstatgrab.la @LINKFLAGS@ +install-exec-local: +if STATGRAB if SETGIDBINS # Some operating systems need the binary to be setgid kmem -install-exec-local: chgrp kmem @bindir@/statgrab chmod g+s @bindir@/statgrab -else -install-exec-local: +endif +if SETUIDBINS +# Some operating systems need the binary to be setuid root + chmod u+s @bindir@/statgrab +endif endif