xfs
[Top] [All Lists]

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

To: xfs@xxxxxxxxxxx
Subject: [patch 1/2] [PATCH 2/6] xfsdump: build: use new autoconf constructs
From: Ben Myers <bpm@xxxxxxx>
Date: Tue, 30 Oct 2012 16:31:51 -0500
Cc: Jan Engelhardt <jengelh@xxxxxxx>, Rich Johnston <rjohnston@xxxxxxx>
References: <20121030213150.696351829@xxxxxxx>
User-agent: quilt/0.48-1
From: Jan Engelhardt <jengelh@xxxxxxx>

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: minor changes to apply to xfsdump -bpm

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

Index: xfsdump/configure.ac
===================================================================
--- xfsdump.orig/configure.ac
+++ xfsdump/configure.ac
@@ -1,7 +1,8 @@
-AC_INIT(common/main.c)
+AC_INIT([xfsdump], [3.1.0])
 AC_PREREQ(2.50)
 AC_CONFIG_AUX_DIR([.])
 AC_CONFIG_MACRO_DIR([m4])
+AC_CONFIG_SRCDIR([common/main.c])
 AC_CONFIG_HEADER(include/config.h)
 AC_PREFIX_DEFAULT(/usr)
 
@@ -83,4 +84,5 @@ AC_PACKAGE_NEED_ATTRGET_LIBATTR
 
 AC_MANUAL_FORMAT
 
-AC_OUTPUT(include/builddefs)
+AC_CONFIG_FILES([include/builddefs])
+AC_OUTPUT

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