Print a deprecation warning if any of the GNUSTEP_*_ROOT variables is used

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@24635 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Nicola Pero 2007-02-18 05:19:06 +00:00
parent 23bfbc32e7
commit 425d9dacf5
2 changed files with 11 additions and 5 deletions

View file

@ -1,3 +1,9 @@
2007-02-18 Nicola Pero <nicola.pero@meta-innovation.com>
* config-noarch.make.in: Print a deprecation warning if any of the
GNUSTEP_SYSTEM_ROOT, GNUSTEP_LOCAL_ROOT, GNUSTEP_NETWORK_ROOT,
GNUSTEP_USER_ROOT variables is used.
2007-02-18 Graham J Lee <leeg@thaesofereode.info>
* FilesystemLayouts/next: New file.

View file

@ -62,9 +62,9 @@ endif
# These are the defaults value ... they will be used only if they are
# not set in the config files (or on the command-line or in
# environment).
GNUSTEP_SYSTEM_ROOT = @GNUSTEP_SYSTEM_ROOT@
GNUSTEP_LOCAL_ROOT = @GNUSTEP_LOCAL_ROOT@
GNUSTEP_NETWORK_ROOT = @GNUSTEP_NETWORK_ROOT@
GNUSTEP_SYSTEM_ROOT = @GNUSTEP_SYSTEM_ROOT@$(warning GNUSTEP_SYSTEM_ROOT is deprecated)
GNUSTEP_LOCAL_ROOT = @GNUSTEP_LOCAL_ROOT@$(warning GNUSTEP_LOCAL_ROOT is deprecated)
GNUSTEP_NETWORK_ROOT = @GNUSTEP_NETWORK_ROOT@$(warning GNUSTEP_NETWORK_ROOT is deprecated)
GNUSTEP_USER_DIR = @GNUSTEP_USER_DIR@
# This includes the GNUstep configuration file, but only if it exists
@ -99,10 +99,10 @@ GNUSTEP_IS_FLATTENED = @GNUSTEP_IS_FLATTENED@
#
ifneq ($(filter /%, $(GNUSTEP_USER_DIR)),)
# Path starts with '/', consider it absolute
GNUSTEP_USER_ROOT = $(GNUSTEP_USER_DIR)
GNUSTEP_USER_ROOT = $(GNUSTEP_USER_DIR)$(warning GNUSTEP_USER_ROOT is deprecated)
else
# Path does no start with '/', try it as relative
GNUSTEP_USER_ROOT = $(GNUSTEP_HOME)/$(GNUSTEP_USER_DIR)
GNUSTEP_USER_ROOT = $(GNUSTEP_HOME)/$(GNUSTEP_USER_DIR)$(warning GNUSTEP_USER_ROOT is deprecated)
endif
# If multi-platform support is disabled, just use the hardcoded cpu,