From dbe04c4207387862db4c7c4484d3f356c4206e35 Mon Sep 17 00:00:00 2001 From: Michael Mair-Keimberger Date: Thu, 1 Aug 2013 09:13:41 +0200 Subject: [PATCH] configure.ac: detect system "ar" --- NEWS | 2 ++ configure.ac | 5 +++++ 2 files changed, 7 insertions(+) diff --git a/NEWS b/NEWS index 8ef4f8b75..7d87ee243 100644 --- a/NEWS +++ b/NEWS @@ -1,6 +1,8 @@ ver 0.17.5 (not yet released) * protocol: - fix "playlistadd" with URI +* configure.ac: + - detect system "ar" ver 0.17.4 (2013/04/08) * protocol: diff --git a/configure.ac b/configure.ac index 8cc36302f..fba498714 100644 --- a/configure.ac +++ b/configure.ac @@ -23,6 +23,11 @@ AC_PROG_CC_C99 AC_PROG_CXX AC_PROG_RANLIB +AN_MAKEVAR([AR], [AC_PROG_AR]) +AN_PROGRAM([ar], [AC_PROG_AR]) +AC_DEFUN([AC_PROG_AR], [AC_CHECK_TOOL(AR, ar, :)]) +AC_PROG_AR + HAVE_CXX=yes if test x$CXX = xg++; then # CXX=g++ probably means that autoconf hasn't found any C++