xfs
[Top] [All Lists]

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

To: xfs@xxxxxxxxxxx
Subject: [PATCH 2/6] build: use new autoconf constructs
From: Jan Engelhardt <jengelh@xxxxxxx>
Date: Fri, 25 May 2012 09:18:39 +0200
Cc: jengelh@xxxxxxx
In-reply-to: <1337930323-575-1-git-send-email-jengelh@xxxxxxx>
References: <1337930323-575-1-git-send-email-jengelh@xxxxxxx>
Looks like AC_CONFIG_FILES existed since 2.14 already.

Signed-off-by: Jan Engelhardt <jengelh@xxxxxxx>
---
 configure.ac |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index 664c0e9..c1181f4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,7 +1,8 @@
-AC_INIT(include/libxfs.h)
+AC_INIT([xfsprogs], [3.1.8])
 AC_PREREQ(2.50)
 AC_CONFIG_AUX_DIR([.])
 AC_CONFIG_MACRO_DIR([m4])
+AC_CONFIG_SRCDIR([include/libxfs.h])
 AC_CONFIG_HEADER(include/platform_defs.h)
 AC_PREFIX_DEFAULT(/usr)
 
@@ -116,4 +117,5 @@ AC_TYPE_U32
 AC_SIZEOF_POINTERS_AND_LONG
 AC_MANUAL_FORMAT
 
-AC_OUTPUT(include/builddefs)
+AC_CONFIG_FILES([include/builddefs])
+AC_OUTPUT
-- 
1.7.7

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