[PATCH][icedtea] Remove unused macros SRC_DIR_HARDLINKABLE, SRC_DIR_LINK
Daniel Santos
daniel.santos at pobox.com
Wed Apr 3 10:47:20 UTC 2019
2019-04-03 Daniel Santos <daniel.santos at pobox.com>
* acinclude.m4,
* configure.ac:
(IT_CAN_HARDLINK_TO_SOURCE_TREE): Likewise.
* Makefile.am:
(SRC_DIR_LINK): Remove.
(SRC_DIR_HARDLINKABLE): Likewise.
Signed-off-by: Daniel Santos <daniel.santos at pobox.com>
---
Makefile.am | 6 ------
acinclude.m4 | 13 -------------
configure.ac | 1 -
3 files changed, 20 deletions(-)
diff --git a/Makefile.am b/Makefile.am
index 7e3856b9..166e1696 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -294,12 +294,6 @@ else
OPENJDK_SRC_DIR_LINK = $(REFLINK)
endif
-if SRC_DIR_HARDLINKABLE
- SRC_DIR_LINK = -l
-else
- SRC_DIR_LINK = $(REFLINK)
-endif
-
if !DISABLE_HOTSPOT_TESTS
HOTSPOT_TEST_SUITE = hotspot
endif
diff --git a/acinclude.m4 b/acinclude.m4
index b75f42b1..6c9abf0f 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -331,19 +331,6 @@ AC_DEFUN_ONCE([IT_WITH_OPENJDK_SRC_DIR],
AM_CONDITIONAL(OPENJDK_SRC_DIR_HARDLINKABLE, test "x${openjdk_src_dir_hardlinkable}" = "xyes")
])
-AC_DEFUN_ONCE([IT_CAN_HARDLINK_TO_SOURCE_TREE],
-[
- AC_CACHE_CHECK([if we can hard link rather than copy from ${abs_top_srcdir}], it_cv_hardlink_src, [
- if cp -l ${abs_top_srcdir}/README tmp.$$ >&AS_MESSAGE_LOG_FD 2>&1; then
- it_cv_hardlink_src=yes;
- else
- it_cv_hardlink_src=no;
- fi
- rm -f tmp.$$
- ])
- AM_CONDITIONAL([SRC_DIR_HARDLINKABLE], test x"${it_cv_hardlink_src}" = "xyes")
-])
-
AC_DEFUN([IT_FIND_ECJ_JAR],
[
AC_MSG_CHECKING([for an ecj JAR file])
diff --git a/configure.ac b/configure.ac
index 0d76bd09..26e42754 100644
--- a/configure.ac
+++ b/configure.ac
@@ -60,7 +60,6 @@ IT_HSBUILD_WORKS_ON_THIS_ARCH
IT_CHECK_GCC_VERSION
IT_FIND_NUMBER_OF_PROCESSORS
IT_CP_SUPPORTS_REFLINK
-IT_CAN_HARDLINK_TO_SOURCE_TREE
IT_DISABLE_PATCHING
IT_ENABLE_GIT_REPO_GEN
IT_DISABLE_TESTS
--
2.19.2
More information about the distro-pkg-dev
mailing list