aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorMichael Mair-Keimberger <bu9zilla@gmail.com>2013-08-01 09:13:41 +0200
committerMax Kellermann <max@duempel.org>2013-08-01 09:13:41 +0200
commitdbe04c4207387862db4c7c4484d3f356c4206e35 (patch)
treed671e0ce6442553ee66132177c9845aedc583fe4 /configure.ac
parentd59a332ef96666d2d7df71d0885f8e652dd6fc1b (diff)
downloadmpd-dbe04c4207387862db4c7c4484d3f356c4206e35.tar.gz
mpd-dbe04c4207387862db4c7c4484d3f356c4206e35.tar.xz
mpd-dbe04c4207387862db4c7c4484d3f356c4206e35.zip
configure.ac: detect system "ar"
Diffstat (limited to '')
-rw-r--r--configure.ac5
1 files changed, 5 insertions, 0 deletions
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++