Patchwork [Open-FCoE] build: Make AM_PROG_AR conditional

login
register
mail settings
Submitter Robert Love
Date May 17, 2013, 6:07 p.m.
Message ID <20130517180719.22373.69869.stgit@fritz>
Download mbox | patch
Permalink /patch/43/
State Accepted
Headers show

Comments

Robert Love - May 17, 2013, 6:07 p.m.
AM_PROG_AR is not available in earlier versions of Automake.
Make the flag conditional on whether it is available or not.

Signed-off-by: Robert Love <robert.w.love@intel.com>
Tested-by: Jack Morgan<jack.morgan@intel.com>
---
 configure.ac |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/configure.ac b/configure.ac
index ea1c6e7..77d8fa5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,7 +1,7 @@ 
 AC_INIT([fcoe-utils], [1.0.27], [fcoe-devel@open-fcoe.org])
 AM_INIT_AUTOMAKE([foreign])
 
-AM_PROG_AR
+m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
 AM_INIT_AUTOMAKE([foreign])
 
 AC_PROG_CC