Ticket #8571: build_sys.patch

File build_sys.patch, 1.2 KB (added by lordhoto, 14 years ago)

patch against todays SVN

  • configure

     
    383383done # for parm in ...
    384384
    385385DEBFLAGS="-g"
     386CONFIGFLAGS=$@
    386387
    387388for ac_option in $@; do
    388389    case "$ac_option" in
     
    13851386OBJS += $OBJS
    13861387DEFINES += $DEFINES
    13871388LDFLAGS += $LDFLAGS
     1389
     1390CONFIGFLAGS := $CONFIGFLAGS
    13881391EOF
    13891392
    13901393#
  • Makefile

     
    3939#######################################################################
    4040
    4141EXECUTABLE  := scummvm$(EXEEXT)
     42CONFIGFLAGS ?=
    4243
    4344include $(srcdir)/Makefile.common
    4445
    4546# check if configure has been run or has been changed since last run
    4647config.mk: $(srcdir)/configure
    47         @echo "You need to run ./configure before you can run make"
    48         @echo "Either you haven't run it before or it has changed."
    49         @exit 1
     48        @echo "Running $(srcdir)/configure with the last specified parameters"
     49        @echo "or if you didn't run it yet with, no parameters, check"
     50        @echo "$(srcdir)/configure --help for a list of parameters."
     51        @sleep 2s
     52        @$(srcdir)/configure $(CONFIGFLAGS)
    5053
    5154install: all
    5255        $(INSTALL) -d "$(DESTDIR)$(BINDIR)"