From 3a461c2525409febdcd83d01a33d36772fb7a3de Mon Sep 17 00:00:00 2001 From: Matt Lewandowsky Date: Mon, 31 Oct 2011 04:02:24 -0700 Subject: [PATCH] CONFIGURE: Ensure that INCLUDES are included at configure-time. --- configure | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure b/configure index 17d7801e367..9115c6ae63d 100755 --- a/configure +++ b/configure @@ -237,9 +237,9 @@ cc_check_no_clean() { echo >> "$TMPLOG" cat "$TMPC" >> "$TMPLOG" echo >> "$TMPLOG" - echo "$CXX $LDFLAGS $CXXFLAGS $TMPC -o $TMPO$HOSTEXEEXT $@" >> "$TMPLOG" + echo "$CXX $LDFLAGS $CXXFLAGS $INCLUDES $TMPC -o $TMPO$HOSTEXEEXT $@" >> "$TMPLOG" rm -f "$TMPO$HOSTEXEEXT" - ( $CXX $LDFLAGS $CXXFLAGS "$TMPC" -o "$TMPO$HOSTEXEEXT" "$@" ) >> "$TMPLOG" 2>&1 + ( $CXX $LDFLAGS $CXXFLAGS $INCLUDES "$TMPC" -o "$TMPO$HOSTEXEEXT" "$@" ) >> "$TMPLOG" 2>&1 TMPR="$?" echo "return code: $TMPR" >> "$TMPLOG" echo >> "$TMPLOG"