xfs
[Top] [All Lists]

[patch 1/2] [PATCH 2/6] xfstests: build: use new autoconf constructs

To: xfs@xxxxxxxxxxx
Subject: [patch 1/2] [PATCH 2/6] xfstests: build: use new autoconf constructs
From: Ben Myers <bpm@xxxxxxx>
Date: Tue, 30 Oct 2012 17:12:51 -0500
Cc: Jan Engelhardt <jengelh@xxxxxxx>, Rich Johnston <rjohnston@xxxxxxx>
References: <20121030221250.049661416@xxxxxxx>
User-agent: quilt/0.48-1
Looks like AC_CONFIG_FILES existed since 2.14 already.

Signed-off-by: Jan Engelhardt <jengelh@xxxxxxx>
Reviewed-by: Christoph Hellwig <hch@xxxxxx>
Signed-off-by: Ben Myers <bpm@xxxxxxx>

---
v2: modified to apply to xfstests -bpm

 configure.ac |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

Index: xfstests/configure.ac
===================================================================
--- xfstests.orig/configure.ac
+++ xfstests/configure.ac
@@ -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

<Prev in Thread] Current Thread [Next in Thread>