Author: ludo
Date: Tue Oct  4 13:31:05 2011
New Revision: 29629
URL: https://ssl.nixos.org/websvn/nix/?rev=29629&sc=1

Log:
configure: Preserve the user's $CPPFLAGS and $LDFLAGS.

Modified:
   hydra/trunk/configure.ac

Modified: hydra/trunk/configure.ac
==============================================================================
--- hydra/trunk/configure.ac    Tue Oct  4 13:28:32 2011        (r29628)
+++ hydra/trunk/configure.ac    Tue Oct  4 13:31:05 2011        (r29629)
@@ -41,8 +41,8 @@
 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.])])
_______________________________________________
nix-commits mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-commits

Reply via email to