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 04bfd1d..d399d9d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,6 +1,6 @@
 AC_INIT([libHBAAPI], [2.2.8], [[email protected]])
 
-AM_PROG_AR
+m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
 AM_INIT_AUTOMAKE([-Wall -Werror foreign])
 
 AC_PROG_CC

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

Reply via email to