From aaf24486689a1c6065c63d3ae33419e4618e2c98 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Tue, 4 Oct 2011 20:19:14 +0000 Subject: [PATCH] configure: Call the variable $NIX_STORE_PROGRAM, not $NIX_STORE. --- configure.ac | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/configure.ac b/configure.ac index 575bb74c..6bb758d6 100644 --- a/configure.ac +++ b/configure.ac @@ -41,15 +41,15 @@ AC_SUBST(nix) PATH="$nix:$PATH" export PATH -NEED_PROG([NIX_STORE], [nix-store]) +NEED_PROG([NIX_STORE_PROGRAM], [nix-store]) -AC_MSG_CHECKING([whether $NIX_STORE is recent enough]) -if "$NIX_STORE" --timeout 123 -q > /dev/null 2>&1 +AC_MSG_CHECKING([whether $NIX_STORE_PROGRAM is recent enough]) +if "$NIX_STORE_PROGRAM" --timeout 123 -q > /dev/null 2>&1 then AC_MSG_RESULT([yes]) else AC_MSG_RESULT([no]) - AC_MSG_ERROR([`$NIX_STORE' doesn't support `--timeout'; please use a newer version.]) + AC_MSG_ERROR([`$NIX_STORE_PROGRAM' doesn't support `--timeout'; please use a newer version.]) fi old_CPPFLAGS="$CPPFLAGS"