1
0
Fork 0

(svn r190) Makefile: fixed bug, that prevented compilation with MANUAL_CONFIG enabled

release/0.4.5
bjarni 2004-09-09 19:16:27 +00:00
parent 216abe4e93
commit cbdd088649
1 changed files with 17 additions and 8 deletions

View File

@ -105,6 +105,7 @@ endif
# updates makefile.config if it's outdated # updates makefile.config if it's outdated
ifneq ($(MAKEFILE_VERSION),$(CONFIG_VERSION)) ifneq ($(MAKEFILE_VERSION),$(CONFIG_VERSION))
ifndef MANUAL_CONFIG # manual config should not check this
UPDATECONFIG:=upgradeconf UPDATECONFIG:=upgradeconf
CONFIG_INCLUDED:= CONFIG_INCLUDED:=
else else
@ -115,6 +116,14 @@ else
SDL-CONFIG:=sdl-config SDL-CONFIG:=sdl-config
endif endif
endif endif
else
# this should define SDL-CONFIG for manual configuration
ifeq ($(shell uname),FreeBSD)
SDL-CONFIG:=sdl11-config
else
SDL-CONFIG:=sdl-config
endif
endif
ifndef CONFIG_INCLUDED ifndef CONFIG_INCLUDED
-include $(LIB_DETECTION) -include $(LIB_DETECTION)