configure.ac: detect system "ar"

This commit is contained in:
Michael Mair-Keimberger 2013-08-01 09:13:41 +02:00 committed by Max Kellermann
parent d59a332ef9
commit dbe04c4207
2 changed files with 7 additions and 0 deletions

2
NEWS
View File

@ -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:

View File

@ -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++