tests: add AM_PROG_AR to help losing archivers
authorPeter Rosin <peda@lysator.liu.se>
Wed, 1 Feb 2012 09:27:59 +0000 (10:27 +0100)
committerPeter Rosin <peda@lysator.liu.se>
Wed, 1 Feb 2012 09:27:59 +0000 (10:27 +0100)
Without AM_PROG_AR, using Microsoft lib as the archiver causes
testsuite failures.

* tests/extradep.test (configure.in): Add AM_PROG_AR.
* tests/extradep2.test (configure.in): Likewise.

tests/extradep.test
tests/extradep2.test

index 4cbfda5..cdcb5e8 100755 (executable)
@@ -23,6 +23,7 @@ set -e
 
 cat >> configure.in << 'END'
 AC_PROG_CC
+AM_PROG_AR
 AC_PROG_RANLIB
 AC_SUBST([deps], [bardep])
 AM_CONDITIONAL([COND], [test -n "$cond"])
index 3d44512..8f3f0cf 100755 (executable)
@@ -23,6 +23,7 @@ set -e
 
 cat >> configure.in << 'END'
 AC_PROG_CC
+AM_PROG_AR
 AC_PROG_LIBTOOL
 AC_SUBST([deps], [bardep])
 AC_OUTPUT