aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Lewandowsky2011-10-31 04:02:24 -0700
committerAlyssa Milburn2011-10-31 12:11:52 +0100
commit3a461c2525409febdcd83d01a33d36772fb7a3de (patch)
tree83cb21b22eb93ce92875027d5024dd28ff3c4ae5
parenta9d6c87ea64fa3a7e25f46c3478b56559c53d8b7 (diff)
downloadscummvm-rg350-3a461c2525409febdcd83d01a33d36772fb7a3de.tar.gz
scummvm-rg350-3a461c2525409febdcd83d01a33d36772fb7a3de.tar.bz2
scummvm-rg350-3a461c2525409febdcd83d01a33d36772fb7a3de.zip
CONFIGURE: Ensure that INCLUDES are included at configure-time.
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index 17d7801e36..9115c6ae63 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"