forked from lix-project/hydra
configure: Call the variable $NIX_STORE_PROGRAM, not $NIX_STORE.
This commit is contained in:
parent
3121948b26
commit
aaf2448668
|
@ -41,15 +41,15 @@ AC_SUBST(nix)
|
||||||
PATH="$nix:$PATH"
|
PATH="$nix:$PATH"
|
||||||
export 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])
|
AC_MSG_CHECKING([whether $NIX_STORE_PROGRAM is recent enough])
|
||||||
if "$NIX_STORE" --timeout 123 -q > /dev/null 2>&1
|
if "$NIX_STORE_PROGRAM" --timeout 123 -q > /dev/null 2>&1
|
||||||
then
|
then
|
||||||
AC_MSG_RESULT([yes])
|
AC_MSG_RESULT([yes])
|
||||||
else
|
else
|
||||||
AC_MSG_RESULT([no])
|
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
|
fi
|
||||||
|
|
||||||
old_CPPFLAGS="$CPPFLAGS"
|
old_CPPFLAGS="$CPPFLAGS"
|
||||||
|
|
Loading…
Reference in a new issue