]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
Check $AR when detecting ar as this seems to be the official way
authorJoel Rosdahl <joel@rosdahl.net>
Sat, 18 Sep 2010 21:29:59 +0000 (23:29 +0200)
committerJoel Rosdahl <joel@rosdahl.net>
Wed, 22 Sep 2010 06:05:38 +0000 (08:05 +0200)
configure.ac

index b8e97bc10b90340e1ffea4ea587442c24dd3d0bd..a65c31ee5790c09917ba0a59692c8fab542b920f 100644 (file)
@@ -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