hydra: Actually check for Nix in `configure'.
[?]
Jan 14, 2011, 10:52 AM
2KJFOYGSVN3TYHG7YCXJLNYMHCVY7E6LYV4QPRTUSJLJCRGKF7HACDependencies
- [2]
FV2M6MOThydra: use autoconf/-make
Change contents
- edit in configure.ac at line 4
AC_LANG([C++]) - edit in configure.ac at line 30
old_CPPFLAGS="$CPPFLAGS"old_LIBS="$LIBS"CPPFLAGS="-I$nix/include/nix"LIBS="-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], [_ZN3nix17parseExprFromFileERNS_9EvalStateESs], [:],[AC_MSG_ERROR([Nix library not found; please install Nix or check the `--with-nix' option.])])CPPFLAGS="$old_CPPFLAGS"LIBS="$old_LIBS"