Use evalFile() instead of parseExprFromFile()

This commit is contained in:
Eelco Dolstra
2013-09-06 15:17:27 +00:00
parent 351a026c4e
commit 5078730cb5
3 changed files with 3 additions and 4 deletions

View File

@ -67,7 +67,7 @@ LDFLAGS="$LDFLAGS -L$nix/lib/nix"
AC_CHECK_HEADER([store-api.hh], [:],
[AC_MSG_ERROR([Nix headers not found; please install Nix or check the `--with-nix' option.])])
AC_CHECK_LIB([expr], [_ZN3nix9EvalState17parseExprFromFileERKSs], [:],
AC_CHECK_LIB([expr], [_ZN3nix9EvalState8evalFileERKSsRNS_5ValueE], [:],
[AC_MSG_ERROR([Nix library not found; please install Nix or check the `--with-nix' option.])])
CPPFLAGS="$old_CPPFLAGS"