summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Orton <joe@manyfish.uk>2020-06-19 07:56:14 +0100
committerJoe Orton <joe@manyfish.uk>2020-06-20 08:02:30 +0100
commit8983501c037c8d05258acf82bba741ca411d149b (patch)
tree0f27890dcdb6d7c71338b81bac92cfba6a2968e4
parent05714edc9fd8482cc2af7ed1620bbc103c12c488 (diff)
downloadneon-git-8983501c037c8d05258acf82bba741ca411d149b.tar.gz
* macros/neon.m4 (NE_FIND_AR): Fix ar&ranlib detection if
cross-compiling (Sergei Trofimovich). Closes #28
-rw-r--r--macros/neon.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/macros/neon.m4 b/macros/neon.m4
index 08b87ab..2bf79d3 100644
--- a/macros/neon.m4
+++ b/macros/neon.m4
@@ -806,11 +806,11 @@ AC_DEFUN([NE_FIND_AR], [
# Search in /usr/ccs/bin for Solaris
ne_PATH=$PATH:/usr/ccs/bin
-AC_PATH_TOOL(AR, ar, notfound, $ne_PATH)
+AC_CHECK_TOOL(AR, ar, notfound, $ne_PATH)
if test "x$AR" = "xnotfound"; then
AC_MSG_ERROR([could not find ar tool])
fi
-AC_PATH_TOOL(RANLIB, ranlib, :, $ne_PATH)
+AC_CHECK_TOOL(RANLIB, ranlib, :, $ne_PATH)
])