From 67318a2f5bf9699b58e37c392779d2d88fb6d069 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Tue, 4 Oct 2011 13:31:05 +0000 Subject: [PATCH] configure: Preserve the user's $CPPFLAGS and $LDFLAGS. --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index a82855a5..b7de03f7 100644 --- a/configure.ac +++ b/configure.ac @@ -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.])])