summaryrefslogtreecommitdiffstats
path: root/utils/showmount
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/showmount
parent371ca25167a217d647971384c37aa3fcee8a4aef (diff)
downloadnfs-utils-ac5b03be829b4c9369ebfb07a688308721103228.tar.gz
nfs-utils-ac5b03be829b4c9369ebfb07a688308721103228.tar.xz
nfs-utils-ac5b03be829b4c9369ebfb07a688308721103228.zip
Autogen update
Diffstat (limited to 'utils/showmount')
-rw-r--r--utils/showmount/Makefile.am14
-rw-r--r--utils/showmount/showmount.c4
2 files changed, 17 insertions, 1 deletions
diff --git a/utils/showmount/Makefile.am b/utils/showmount/Makefile.am
new file mode 100644
index 0000000..077b2c7
--- /dev/null
+++ b/utils/showmount/Makefile.am
@@ -0,0 +1,14 @@
+## Process this file with automake to produce Makefile.in
+
+man8_MANS = showmount.man
+EXTRA_DIST = $(man8_MANS)
+
+sbin_PROGRAMS = showmount
+showmount_SOURCES = showmount.c
+showmount_LDADD = ../../support/export/libexport.a \
+ ../../support/nfs/libnfs.a \
+ ../../support/misc/libmisc.a
+showmount_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS) \
+ -I$(top_builddir)/support/export
+
+MAINTAINERCLEANFILES = Makefile.in
diff --git a/utils/showmount/showmount.c b/utils/showmount/showmount.c
index 92c6ef9..8fb58a2 100644
--- a/utils/showmount/showmount.c
+++ b/utils/showmount/showmount.c
@@ -13,7 +13,9 @@
* GNU General Public License for more details.
*/
-#include "config.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <stdio.h>
#include <rpc/rpc.h>