From 9bdb9b620e9256e12295a8e37a6864eb64d25835 Mon Sep 17 00:00:00 2001 From: Nick Fitzgerald Date: Sat, 4 Jun 2016 18:30:31 -0700 Subject: [PATCH] Allow CPPFLAGS, CFLAGS, and LDFLAGS to be passed through configure This changes the configure script from unconditionally assigning CPPFLAGS, CFLAGS, and LDFLAGS to the empty string, to only assigning them to the empty string if they are unset. original commit: 5d52b0b10f55d489c2ad2e681361a3b8394a043c --- configure | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/configure b/configure index ba7bf6666a..6eee5eb35d 100755 --- a/configure +++ b/configure @@ -37,9 +37,9 @@ installman="" installschemename="scheme" installpetitename="petite" installscriptname="scheme-script" -CPPFLAGS="" -CFLAGS="" -LDFLAGS="" +: ${CPPFLAGS:=""} +: ${CFLAGS:=""} +: ${LDFLAGS:=""} case `uname` in Linux)