xfs
[Top] [All Lists]

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

To: xfs@xxxxxxxxxxx
Subject: [patch 1/2] [PATCH 2/6] dmapi: build: use new autoconf constructs
From: Ben Myers <bpm@xxxxxxx>
Date: Tue, 30 Oct 2012 16:01:53 -0500
Cc: Jan Engelhardt <jengelh@xxxxxxx>, Rich Johnston <rjohnston@xxxxxxx>
References: <20121030210152.751573876@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: slight modification for dmapi -bpm

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

Index: dmapi/configure.ac
===================================================================
--- dmapi.orig/configure.ac
+++ dmapi/configure.ac
@@ -1,7 +1,9 @@
-AC_INIT(include/dmapi.h)
+AC_INIT([dmapi], [2.2.10])
+
 AC_PREREQ(2.50)
 AC_CONFIG_AUX_DIR([.])
 AC_CONFIG_MACRO_DIR([m4])
+AC_CONFIG_SRCDIR([include/dmapi.h])
 AC_PREFIX_DEFAULT(/usr)
 
 AC_PROG_LIBTOOL
@@ -22,4 +24,5 @@ AC_PACKAGE_NEED_XFS_HANDLE_H
 AC_MANUAL_FORMAT
 AC_MULTILIB($enable_lib64)
 
-AC_OUTPUT(include/builddefs)
+AC_CONFIG_FILES([include/builddefs])
+AC_OUTPUT

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