summaryrefslogtreecommitdiffstats
path: root/utils/nfsstat
diff options
context:
space:
mode:
authorneilbrown <neilbrown>2005-12-20 04:12:42 +0000
committerneilbrown <neilbrown>2005-12-20 04:12:42 +0000
commitac5b03be829b4c9369ebfb07a688308721103228 (patch)
tree90fd0ee1a8e08c241bf3fd0d54690b888e4b5926 /utils/nfsstat
parent371ca25167a217d647971384c37aa3fcee8a4aef (diff)
downloadnfs-utils-ac5b03be829b4c9369ebfb07a688308721103228.tar.gz
nfs-utils-ac5b03be829b4c9369ebfb07a688308721103228.tar.xz
nfs-utils-ac5b03be829b4c9369ebfb07a688308721103228.zip
Autogen update
Diffstat (limited to 'utils/nfsstat')
-rw-r--r--utils/nfsstat/Makefile.am12
-rw-r--r--utils/nfsstat/nfsstat.c4
2 files changed, 15 insertions, 1 deletions
diff --git a/utils/nfsstat/Makefile.am b/utils/nfsstat/Makefile.am
new file mode 100644
index 0000000..becb108
--- /dev/null
+++ b/utils/nfsstat/Makefile.am
@@ -0,0 +1,12 @@
+## Process this file with automake to produce Makefile.in
+
+man8_MANS = nfsstat.man
+EXTRA_DIST = $(man8_MANS)
+
+sbin_PROGRAMS = nfsstat
+nfsstat_SOURCES = nfsstat.c
+nfsstat_LDADD = ../../support/export/libexport.a \
+ ../../support/nfs/libnfs.a \
+ ../../support/misc/libmisc.a
+
+MAINTAINERCLEANFILES = Makefile.in
diff --git a/utils/nfsstat/nfsstat.c b/utils/nfsstat/nfsstat.c
index 613e53a..4b45c46 100644
--- a/utils/nfsstat/nfsstat.c
+++ b/utils/nfsstat/nfsstat.c
@@ -4,7 +4,9 @@
* Copyright (C) 1995-2005 Olaf Kirch <okir@suse.de>
*/
-#include "config.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#define NFSSVCSTAT "/proc/net/rpc/nfsd"
#define NFSCLTSTAT "/proc/net/rpc/nfs"