configure.ac: Test for existence of AM_PROG_AR macro

The inclusion of AM_PROG_AR macro broke Automake 1.11.1 on Debian
Squeeze.  Now test for its existence and only call it when it is
defined.
Hamlib-3.0
Nate Bargmann 2013-05-17 05:43:17 -05:00
rodzic ba4e6cc345
commit ab9f942b17
1 zmienionych plików z 3 dodań i 2 usunięć

Wyświetl plik

@ -79,8 +79,9 @@ AC_PROG_CPP
AC_PROG_AWK
AC_PROG_INSTALL
AC_PROG_LN_S
dnl AC_PROG_MAKE_SET
AM_PROG_AR
dnl Broke on older Automake, so test for its existence.
m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
dnl Pkgconfig assists when using certain external packages
PKG_PROG_PKG_CONFIG