From cc3006d27ed6aceec0a32f4aed79ac3e3eb48d46 Mon Sep 17 00:00:00 2001
From: Guillem Jover <guillem@hadrons.org>
Date: Thu, 7 Mar 2013 16:36:37 +0100
Subject: [PATCH v2 03/18] build: Use AS_HELP_STRING instead of obsolete
 AC_HELP_STRING
Status: obsolete

---
 configure.ac | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/configure.ac b/configure.ac
index 1f981cf..d8eade4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -32,14 +32,14 @@ m4_ifdef([AC_LIBTOOL_TAGS], [AC_LIBTOOL_TAGS([])])
 AC_DISABLE_STATIC
 AC_PROG_LIBTOOL
 
-AC_ARG_ENABLE(optimization, AC_HELP_STRING([--disable-optimization],
+AC_ARG_ENABLE(optimization, AS_HELP_STRING([--disable-optimization],
 			[disable code optimization through compiler]), [
 	if (test "${enableval}" = "no"); then
 		CFLAGS="$CFLAGS -O0"
 	fi
 ])
 
-AC_ARG_ENABLE(debug, AC_HELP_STRING([--enable-debug],
+AC_ARG_ENABLE(debug, AS_HELP_STRING([--enable-debug],
 			[enable compiling with debugging information]), [
 	if (test "${enableval}" = "yes" &&
 				test "${ac_cv_prog_cc_g}" = "yes"); then
@@ -47,7 +47,7 @@ AC_ARG_ENABLE(debug, AC_HELP_STRING([--enable-debug],
 	fi
 ])
 
-AC_ARG_ENABLE(pie, AC_HELP_STRING([--enable-pie],
+AC_ARG_ENABLE(pie, AS_HELP_STRING([--enable-pie],
 			[enable position independent executables flag]), [
 	if (test "${enableval}" = "yes" &&
 				test "${ac_cv_prog_cc_pie}" = "yes"); then
@@ -99,37 +99,37 @@ AC_SUBST(NETLINK_CFLAGS)
 AC_SUBST(NETLINK_LIBS)
 AC_SUBST(NETLINK_DEPS)
 
-AC_ARG_ENABLE(test, AC_HELP_STRING([--enable-test],
+AC_ARG_ENABLE(test, AS_HELP_STRING([--enable-test],
 					[enable test/example scripts]),
 					[enable_test=${enableval}])
 AM_CONDITIONAL(TEST, test "${enable_test}" = "yes")
 
-AC_ARG_ENABLE(tools, AC_HELP_STRING([--enable-tools],
+AC_ARG_ENABLE(tools, AS_HELP_STRING([--enable-tools],
 					[enable testing tools]),
 					[enable_tools=${enableval}])
 AM_CONDITIONAL(TOOLS, test "${enable_tools}" = "yes")
 
-AC_ARG_ENABLE(nfctype1, AC_HELP_STRING([--disable-nfctype1],
+AC_ARG_ENABLE(nfctype1, AS_HELP_STRING([--disable-nfctype1],
 				[disable NFC forum type 1 tags support]),
 				[enable_nfctype1=${enableval}])
 AM_CONDITIONAL(NFCTYPE1, test "${enable_nfctype1}" != "no")
 
-AC_ARG_ENABLE(nfctype2, AC_HELP_STRING([--disable-nfctype2],
+AC_ARG_ENABLE(nfctype2, AS_HELP_STRING([--disable-nfctype2],
 				[disable NFC forum type 2 tags support]),
 				[enable_nfctype2=${enableval}])
 AM_CONDITIONAL(NFCTYPE2, test "${enable_nfctype2}" != "no")
 
-AC_ARG_ENABLE(nfctype3, AC_HELP_STRING([--disable-nfctype3],
+AC_ARG_ENABLE(nfctype3, AS_HELP_STRING([--disable-nfctype3],
 				[disable NFC forum type 3 tags support]),
 				[enable_nfctype3=${enableval}])
 AM_CONDITIONAL(NFCTYPE3, test "${enable_nfctype3}" != "no")
 
-AC_ARG_ENABLE(nfctype4, AC_HELP_STRING([--disable-nfctype4],
+AC_ARG_ENABLE(nfctype4, AS_HELP_STRING([--disable-nfctype4],
 				[disable NFC forum type 4 tags support]),
 				[enable_nfctype4=${enableval}])
 AM_CONDITIONAL(NFCTYPE4, test "${enable_nfctype4}" != "no")
 
-AC_ARG_ENABLE(p2p, AC_HELP_STRING([--disable-p2p],
+AC_ARG_ENABLE(p2p, AS_HELP_STRING([--disable-p2p],
 				[disable NFC peer to peer support]),
 				[enable_p2p=${enableval}])
 AM_CONDITIONAL(P2P, test "${enable_p2p}" != "no")
-- 
1.8.3.1

