Author: ludo
Date: Tue Oct  4 20:19:14 2011
New Revision: 29644
URL: https://ssl.nixos.org/websvn/nix/?rev=29644&sc=1

Log:
configure: Call the variable $NIX_STORE_PROGRAM, not $NIX_STORE.

Modified:
   hydra/trunk/configure.ac

Modified: hydra/trunk/configure.ac
==============================================================================
--- hydra/trunk/configure.ac    Tue Oct  4 20:03:49 2011        (r29643)
+++ hydra/trunk/configure.ac    Tue Oct  4 20:19:14 2011        (r29644)
@@ -41,15 +41,15 @@
 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"
_______________________________________________
nix-commits mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-commits

Reply via email to