mirror of https://github.com/OpenTTD/OpenTTD
(svn r190) Makefile: fixed bug, that prevented compilation with MANUAL_CONFIG enabled
parent
216abe4e93
commit
cbdd088649
9
Makefile
9
Makefile
|
@ -105,6 +105,7 @@ endif
|
|||
|
||||
# updates makefile.config if it's outdated
|
||||
ifneq ($(MAKEFILE_VERSION),$(CONFIG_VERSION))
|
||||
ifndef MANUAL_CONFIG # manual config should not check this
|
||||
UPDATECONFIG:=upgradeconf
|
||||
CONFIG_INCLUDED:=
|
||||
else
|
||||
|
@ -115,6 +116,14 @@ else
|
|||
SDL-CONFIG:=sdl-config
|
||||
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
|
||||
-include $(LIB_DETECTION)
|
||||
|
|
Loading…
Reference in New Issue