summaryrefslogtreecommitdiff
path: root/config-daemon.ac
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@inbox.ru>2017-02-04 17:40:34 +0000
committerLudovic Courtès <ludo@gnu.org>2017-02-06 10:51:25 +0100
commit1ca0f20a7ded5de185f6dee93f6da30eb62a9188 (patch)
tree9eb85f5b6d0b6e85fdcc3d77d57d4fa341df9400 /config-daemon.ac
parent36c4917c910f434524aae32725582d5bc51a44e0 (diff)
downloadpatches-1ca0f20a7ded5de185f6dee93f6da30eb62a9188.tar
patches-1ca0f20a7ded5de185f6dee93f6da30eb62a9188.tar.gz
config-daemon.ac: detect host AR
The problem is seen when we try to use explicit host: ./configure --prefix=/usr --localstatedir=/var/lib --host=x86_64-pc-linux-gnu make V=1 Before the change: ar cru libstore.a nix/libstore/libstore_a-gc.o After the change: x86_64-pc-linux-gnu-ar cru libstore.a * config-daemon.ac: use AM_PROG_AR to detect host AR Signed-off-by: Sergei Trofimovich <slyfox@inbox.ru> Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'config-daemon.ac')
-rw-r--r--config-daemon.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/config-daemon.ac b/config-daemon.ac
index 056c939e39..42b59819d3 100644
--- a/config-daemon.ac
+++ b/config-daemon.ac
@@ -5,6 +5,7 @@ AC_MSG_RESULT([$guix_build_daemon])
dnl C++ environment. This macro must be used unconditionnaly.
AC_PROG_CXX
+AM_PROG_AR
AC_LANG([C++])
if test "x$guix_build_daemon" = "xyes"; then