From: Joel Rosdahl Date: Sat, 18 Sep 2010 21:29:59 +0000 (+0200) Subject: Check $AR when detecting ar as this seems to be the official way X-Git-Tag: v3.1.1~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e1b287d0ca3cdb48a5d3e8b0d46b9af51ee39abe;p=thirdparty%2Fccache.git Check $AR when detecting ar as this seems to be the official way --- diff --git a/configure.ac b/configure.ac index b8e97bc10..a65c31ee5 100644 --- a/configure.ac +++ b/configure.ac @@ -17,7 +17,7 @@ AC_PROG_CPP AC_PROG_INSTALL AC_PROG_RANLIB AC_CHECK_TOOL(AR, ar) -if test -z "$ac_ct_AR"; then +if test -z "$AR"; then AC_MSG_ERROR(cannot find ar) fi