xfstests: build: use new autoconf constructs
authorJan Engelhardt <jengelh@inai.de>
Tue, 30 Oct 2012 22:12:51 +0000 (17:12 -0500)
committerBen Myers <bpm@sgi.com>
Wed, 31 Oct 2012 17:13:05 +0000 (12:13 -0500)
Looks like AC_CONFIG_FILES existed since 2.14 already.

Signed-off-by: Jan Engelhardt <jengelh@inai.de>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Ben Myers <bpm@sgi.com>
configure.ac

index 3b40e55a04e13ee6c4390ae00cc865f5592db661..8e80a3829979c57a88f52e170bd540f6497d4509 100644 (file)
@@ -1,5 +1,6 @@
-AC_INIT(src/xfsctl.c)
+AC_INIT([xfstests], [1.1.0])
 AC_PREREQ(2.50)
+AC_CONFIG_SRCDIR([src/xfsctl.c])
 AC_PACKAGE_GLOBALS(xfstests)
 AC_PACKAGE_UTILITIES(xfstests)
 
@@ -73,4 +74,5 @@ in
 esac
 
 AC_CONFIG_HEADER(include/config.h)
-AC_OUTPUT(include/builddefs)
+AC_CONFIG_FILES([include/builddefs])
+AC_OUTPUT