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 <[email protected]>
Tested-by: Jack Morgan<[email protected]>
---
 configure.ac |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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], [[email protected]])
 AM_INIT_AUTOMAKE([foreign])
 
-AM_PROG_AR
+m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
 AM_INIT_AUTOMAKE([foreign])
 
 AC_PROG_CC

_______________________________________________
fcoe-devel mailing list
[email protected]
http://lists.open-fcoe.org/mailman/listinfo/fcoe-devel

Reply via email to