forked from lix-project/hydra
configure: Preserve the user's $CPPFLAGS and $LDFLAGS.
This commit is contained in:
parent
14596d3ed1
commit
67318a2f5b
|
@ -41,8 +41,8 @@ AC_SUBST(nix)
|
|||
old_CPPFLAGS="$CPPFLAGS"
|
||||
old_LIBS="$LIBS"
|
||||
|
||||
CPPFLAGS="-I$nix/include/nix"
|
||||
LDFLAGS="-L$nix/lib/nix"
|
||||
CPPFLAGS="$CPPFLAGS -I$nix/include/nix"
|
||||
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.])])
|
||||
|
|
Loading…
Reference in a new issue