[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] Update support for the Hurd

From: Mark Kettenis
Subject: [PATCH] Update support for the Hurd
Date: Sun, 22 Jul 2001 10:43:21 +0200

The attached patch brings libtool's support for the Hurd up to date
again.  Right now, "make check" makes my system crash (not libtool's
fault).  But AFAICT just after it has PASSed all tests.



PS Alexandre, the _LT_AC_LANG_CXX_CONFIG bit of this patch is the
   equivalent of the patch that you recently checked in for GCC to
   build the shared libstdc++.

Index: ChangeLog
from  Mark Kettenis  <address@hidden>

        * libtool.m4 (AC_LIBTOOL_SYS_MAX_CMD_LEN) [gnu*]: Remove spurious
        "break" and bogus comment
        (_LT_AC_LANG_CXX_CONFIG): Add support for the Hurd.
        * ltdl.m4 (AC_LTDL_SYS_DLOPEN_DEPLIBS): Add support for the Hurd.

Index: libtool.m4
RCS file: /cvsroot/libtool/libtool/libtool.m4,v
retrieving revision 1.195
diff -u -p -r1.195 libtool.m4
--- libtool.m4 2001/07/16 19:11:34 1.195
+++ libtool.m4 2001/07/22 08:29:23
@@ -559,8 +559,7 @@ AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [d
     # Under GNU Hurd, this test is not required because there is
     # no limit to the length of command line arguments.
     # Libtool will interpret -1 as no limit whatsoever
-    lt_cv_sys_max_cmd_len=-1;    # 12K is about right
-    break
+    lt_cv_sys_max_cmd_len=-1;
@@ -2468,6 +2467,8 @@ case $host_os in
     # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
     # conventions
     _LT_AC_TAGVAR(ld_shlibs, $1)=yes
+    ;;
+  gnu*)
     if test $with_gnu_ld = no; then
Index: ltdl.m4
RCS file: /cvsroot/libtool/libtool/ltdl.m4,v
retrieving revision 1.26
diff -u -p -r1.26 ltdl.m4
--- ltdl.m4 2001/07/17 20:17:38 1.26
+++ ltdl.m4 2001/07/22 08:29:23
@@ -84,6 +84,9 @@ AC_CACHE_CHECK([whether deplibs are load
+       gnu*)
+         libltdl_cv_sys_dlopen_deplibs=yes
+         ;;
          # Catch all versions of IRIX before 6.2, and indicate that we don't
          # know how it worked for any of those versions.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]