Browse Source

build: Do not link s-s-d against libihash and libshouldbeinlibc on GNU/Hurd

These libraries are not used now, and the linking is unnecessary and
superfluous.

The libps interfaces used to expose or required the caller to use
functions from those other libraries long time ago, not anymore though.
Guillem Jover 12 years ago
parent
commit
e07b0622e8
2 changed files with 2 additions and 2 deletions
  1. 2 0
      debian/changelog
  2. 0 2
      m4/dpkg-libs.m4

+ 2 - 0
debian/changelog

@@ -66,6 +66,8 @@ dpkg (1.17.7) UNRELEASED; urgency=low
       their usage depending on system macros.
       their usage depending on system macros.
     - Add a new --ppid matching option to check for parent PID.
     - Add a new --ppid matching option to check for parent PID.
       Suggested by Alex Mestiashvili <mailatgoogl@gmail.com>.
       Suggested by Alex Mestiashvili <mailatgoogl@gmail.com>.
+    - On GNU/Hurd do not link unnecessarily against libshouldbeinlibc and
+      libihash.
 
 
   [ Updated dpkg translations ]
   [ Updated dpkg translations ]
   * German (Sven Joachim).
   * German (Sven Joachim).

+ 0 - 2
m4/dpkg-libs.m4

@@ -134,8 +134,6 @@ fi
 # Check for start-stop-daemon libraries.
 # Check for start-stop-daemon libraries.
 AC_DEFUN([DPKG_LIB_SSD],
 AC_DEFUN([DPKG_LIB_SSD],
 [AC_ARG_VAR([SSD_LIBS], [linker flags for start-stop-daemon])dnl
 [AC_ARG_VAR([SSD_LIBS], [linker flags for start-stop-daemon])dnl
-AC_CHECK_LIB([ihash], [ihash_create], [SSD_LIBS="${SSD_LIBS:+$SSD_LIBS }-lihash"])
 AC_CHECK_LIB([ps], [proc_stat_list_create], [SSD_LIBS="${SSD_LIBS:+$SSD_LIBS }-lps"])
 AC_CHECK_LIB([ps], [proc_stat_list_create], [SSD_LIBS="${SSD_LIBS:+$SSD_LIBS }-lps"])
-AC_CHECK_LIB([shouldbeinlibc], [fmt_past_time], [SSD_LIBS="${SSD_LIBS:+$SSD_LIBS }-lshouldbeinlibc"])
 AC_CHECK_LIB([kvm], [kvm_openfiles], [SSD_LIBS="${SSD_LIBS:+$SSD_LIBS }-lkvm"])
 AC_CHECK_LIB([kvm], [kvm_openfiles], [SSD_LIBS="${SSD_LIBS:+$SSD_LIBS }-lkvm"])
 ])# DPKG_LIB_SSD
 ])# DPKG_LIB_SSD