mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8210924: Remove PACKAGE_PATH
Reviewed-by: tbell
This commit is contained in:
parent
3c7b577a89
commit
fe67f09af3
7 changed files with 1 additions and 15 deletions
|
@ -357,8 +357,6 @@ ENABLE_LIBFFI_BUNDLING:=@ENABLE_LIBFFI_BUNDLING@
|
||||||
LIBFFI_LIB_FILE:=@LIBFFI_LIB_FILE@
|
LIBFFI_LIB_FILE:=@LIBFFI_LIB_FILE@
|
||||||
GRAALUNIT_LIB := @GRAALUNIT_LIB@
|
GRAALUNIT_LIB := @GRAALUNIT_LIB@
|
||||||
|
|
||||||
PACKAGE_PATH=@PACKAGE_PATH@
|
|
||||||
|
|
||||||
# Source file for cacerts
|
# Source file for cacerts
|
||||||
CACERTS_FILE=@CACERTS_FILE@
|
CACERTS_FILE=@CACERTS_FILE@
|
||||||
|
|
||||||
|
|
|
@ -996,11 +996,6 @@ AC_DEFUN_ONCE([TOOLCHAIN_SETUP_BUILD_COMPILERS],
|
||||||
# Do some additional checks on the detected tools.
|
# Do some additional checks on the detected tools.
|
||||||
AC_DEFUN_ONCE([TOOLCHAIN_MISC_CHECKS],
|
AC_DEFUN_ONCE([TOOLCHAIN_MISC_CHECKS],
|
||||||
[
|
[
|
||||||
# The package path is used only on macosx?
|
|
||||||
# FIXME: clean this up, and/or move it elsewhere.
|
|
||||||
PACKAGE_PATH=/opt/local
|
|
||||||
AC_SUBST(PACKAGE_PATH)
|
|
||||||
|
|
||||||
# Check for extra potential brokenness.
|
# Check for extra potential brokenness.
|
||||||
if test "x$TOOLCHAIN_TYPE" = xmicrosoft; then
|
if test "x$TOOLCHAIN_TYPE" = xmicrosoft; then
|
||||||
# On Windows, double-check that we got the right compiler.
|
# On Windows, double-check that we got the right compiler.
|
||||||
|
|
|
@ -128,7 +128,6 @@ define SetupBuildLauncherBody
|
||||||
$1_PLIST_FILE := Info-cmdline.plist
|
$1_PLIST_FILE := Info-cmdline.plist
|
||||||
endif
|
endif
|
||||||
|
|
||||||
$1_CFLAGS += -DPACKAGE_PATH='"$(PACKAGE_PATH)"'
|
|
||||||
$1_LDFLAGS += -Wl,-all_load \
|
$1_LDFLAGS += -Wl,-all_load \
|
||||||
-sectcreate __TEXT __info_plist $(MACOSX_PLIST_DIR)/$$($1_PLIST_FILE)
|
-sectcreate __TEXT __info_plist $(MACOSX_PLIST_DIR)/$$($1_PLIST_FILE)
|
||||||
ifeq ($(STATIC_BUILD), true)
|
ifeq ($(STATIC_BUILD), true)
|
||||||
|
|
|
@ -292,7 +292,6 @@ ifeq ($(findstring $(OPENJDK_TARGET_OS), windows macosx), )
|
||||||
#
|
#
|
||||||
|
|
||||||
LIBAWT_XAWT_CFLAGS += -DXAWT -DXAWT_HACK \
|
LIBAWT_XAWT_CFLAGS += -DXAWT -DXAWT_HACK \
|
||||||
-DPACKAGE_PATH=\"$(PACKAGE_PATH)\" \
|
|
||||||
$(FONTCONFIG_CFLAGS) \
|
$(FONTCONFIG_CFLAGS) \
|
||||||
$(CUPS_CFLAGS)
|
$(CUPS_CFLAGS)
|
||||||
|
|
||||||
|
@ -459,7 +458,7 @@ ifeq ($(findstring $(OPENJDK_TARGET_OS), windows macosx),)
|
||||||
#
|
#
|
||||||
|
|
||||||
LIBAWT_HEADLESS_CFLAGS := $(CUPS_CFLAGS) $(FONTCONFIG_CFLAGS) $(X_CFLAGS) \
|
LIBAWT_HEADLESS_CFLAGS := $(CUPS_CFLAGS) $(FONTCONFIG_CFLAGS) $(X_CFLAGS) \
|
||||||
-DHEADLESS=true -DPACKAGE_PATH=\"$(PACKAGE_PATH)\"
|
-DHEADLESS=true
|
||||||
|
|
||||||
$(eval $(call SetupJdkLibrary, BUILD_LIBAWT_HEADLESS, \
|
$(eval $(call SetupJdkLibrary, BUILD_LIBAWT_HEADLESS, \
|
||||||
NAME := awt_headless, \
|
NAME := awt_headless, \
|
||||||
|
|
|
@ -202,8 +202,6 @@ ifeq ($(OPENJDK_TARGET_OS), macosx)
|
||||||
|
|
||||||
BUILD_LIBJLI_java_md_macosx.c_CFLAGS := -x objective-c
|
BUILD_LIBJLI_java_md_macosx.c_CFLAGS := -x objective-c
|
||||||
BUILD_LIBJLI_STATIC_java_md_macosx.c_CFLAGS := -x objective-c
|
BUILD_LIBJLI_STATIC_java_md_macosx.c_CFLAGS := -x objective-c
|
||||||
|
|
||||||
LIBJLI_CFLAGS += -DPACKAGE_PATH=\"$(PACKAGE_PATH)\"
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(OPENJDK_TARGET_OS), windows)
|
ifeq ($(OPENJDK_TARGET_OS), windows)
|
||||||
|
|
|
@ -38,7 +38,6 @@ int64_t CounterGet(void);
|
||||||
* A collection of useful strings. One should think of these as #define
|
* A collection of useful strings. One should think of these as #define
|
||||||
* entries, but actual strings can be more efficient (with many compilers).
|
* entries, but actual strings can be more efficient (with many compilers).
|
||||||
*/
|
*/
|
||||||
static const char *system_dir = PACKAGE_PATH "/openjdk7";
|
|
||||||
static const char *user_dir = "/java";
|
static const char *user_dir = "/java";
|
||||||
|
|
||||||
#include <dlfcn.h>
|
#include <dlfcn.h>
|
||||||
|
|
|
@ -46,10 +46,8 @@ extern char **environ;
|
||||||
* entries, but actual strings can be more efficient (with many compilers).
|
* entries, but actual strings can be more efficient (with many compilers).
|
||||||
*/
|
*/
|
||||||
#ifdef __solaris__
|
#ifdef __solaris__
|
||||||
static const char *system_dir = "/usr/jdk";
|
|
||||||
static const char *user_dir = "/jdk";
|
static const char *user_dir = "/jdk";
|
||||||
#else /* !__solaris__, i.e. Linux, AIX,.. */
|
#else /* !__solaris__, i.e. Linux, AIX,.. */
|
||||||
static const char *system_dir = "/usr/java";
|
|
||||||
static const char *user_dir = "/java";
|
static const char *user_dir = "/java";
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue