diff options
author | Max Horn | 2007-11-06 17:23:33 +0000 |
---|---|---|
committer | Max Horn | 2007-11-06 17:23:33 +0000 |
commit | b820b661c7b691cfcb86408954cde6f71da5654e (patch) | |
tree | 21db4c49a7c9edd852013e1050090a26a71c91f0 /configure | |
parent | 443dff5285f0654be4a6f843b8262bd07bb95036 (diff) | |
download | scummvm-rg350-b820b661c7b691cfcb86408954cde6f71da5654e.tar.gz scummvm-rg350-b820b661c7b691cfcb86408954cde6f71da5654e.tar.bz2 scummvm-rg350-b820b661c7b691cfcb86408954cde6f71da5654e.zip |
Patch #1826459: Make: reconfigure on configure change (saving environment)
svn-id: r29435
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -9,6 +9,12 @@ # * detect whether the chosen backend is available (e.g. call sdl-config) # * .... +# Save the current environment variables for next runs +SAVED_CONFIGFLAGS=$@ +SAVED_LDFLAGS=$LDFLAGS +SAVED_CXX=$CXX +SAVED_CXXFLAGS=$CXXFLAGS +SAVED_CPPFLAGS=$CPPFLAGS # use environment vars if set CXXFLAGS="$CXXFLAGS $CPPFLAGS" @@ -1625,6 +1631,14 @@ INCLUDES += $INCLUDES OBJS += $OBJS DEFINES += $DEFINES LDFLAGS += $LDFLAGS + +SAVED_CONFIGFLAGS := $SAVED_CONFIGFLAGS +SAVED_LDFLAGS := $SAVED_LDFLAGS +SAVED_CXX := $SAVED_CXX +SAVED_CXXFLAGS := $SAVED_CXXFLAGS +SAVED_CPPFLAGS := $SAVED_CPPFLAGS + +CONFIG_MK_IS_PRESENT := 1 EOF # |