From: Neil Brown Date: Sun, 4 Feb 2007 22:17:39 +0000 (+1100) Subject: Remove getkversion X-Git-Tag: nfs-utils-1-0-11~27 X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=784a4fd163c34e654f54ea15aa96a00900d62630;p=nfs-utils.git Remove getkversion This is not used, does not seem useful, and causes compile problems on some distgributions. --- diff --git a/.gitignore b/.gitignore index dc39895..a5cf8ce 100644 --- a/.gitignore +++ b/.gitignore @@ -46,7 +46,6 @@ utils/showmount/showmount utils/statd/statd tools/locktest/testlk tools/getiversion/getiversion -tools/getkversion/getkversion support/export/mount.h support/export/mount_clnt.c support/export/mount_xdr.c diff --git a/configure.in b/configure.in index 7cec002..757ebb8 100644 --- a/configure.in +++ b/configure.in @@ -319,7 +319,6 @@ AC_CONFIG_FILES([ support/nfs/Makefile tools/Makefile tools/getiversion/Makefile - tools/getkversion/Makefile tools/locktest/Makefile tools/nlmtest/Makefile tools/rpcdebug/Makefile diff --git a/tools/Makefile.am b/tools/Makefile.am index c4c9875..515da13 100644 --- a/tools/Makefile.am +++ b/tools/Makefile.am @@ -1,5 +1,5 @@ ## Process this file with automake to produce Makefile.in -SUBDIRS = getiversion getkversion locktest rpcdebug rpcgen nlmtest +SUBDIRS = getiversion locktest rpcdebug rpcgen nlmtest MAINTAINERCLEANFILES = Makefile.in diff --git a/tools/getkversion/Makefile.am b/tools/getkversion/Makefile.am deleted file mode 100644 index 4f89892..0000000 --- a/tools/getkversion/Makefile.am +++ /dev/null @@ -1,12 +0,0 @@ -## Process this file with automake to produce Makefile.in - -CC=$(CC_FOR_BUILD) -LIBTOOL = @LIBTOOL@ --tag=CC - -noinst_PROGRAMS = getkversion -getkversion_SOURCES = getkversion.c -getkversion_CFLAGS=$(CFLAGS_FOR_BUILD) -getkversion_CPPFLAGS=$(CPPFLAGS_FOR_BUILD) -getkversion_LDFLAGS=$(LDFLAGS_FOR_BUILD) - -MAINTAINERCLEANFILES = Makefile.in diff --git a/tools/getkversion/getkversion.c b/tools/getkversion/getkversion.c deleted file mode 100644 index abe1705..0000000 --- a/tools/getkversion/getkversion.c +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Get version number of the kernel this was compiled for. - * This is NOT the same as calling uname(), because we may be - * running on a different kernel. - */ - -#ifdef HAVE_CONFIG_H -#include -#endif - -#include -#include - -int -main(void) /* This is for Dan Popp ;) */ -{ - printf("%s\n", UTS_RELEASE); - return 0; -}