sync libtool patch

This commit is contained in:
brad 2001-02-18 19:52:47 +00:00
parent 3cc406085e
commit c9103b2e41

View File

@ -1,17 +1,35 @@
--- acconfig/ltmain.sh.orig Thu Feb 8 16:07:36 2001
+++ acconfig/ltmain.sh Thu Feb 8 16:07:41 2001
@@ -1079,6 +1079,10 @@
--- acconfig/ltmain.sh.orig Tue Oct 17 21:25:10 2000
+++ acconfig/ltmain.sh Sun Feb 18 09:50:26 2001
@@ -1079,6 +1079,17 @@
# These systems don't actually have c library (as such)
continue
;;
+ *-*-openbsd*)
+ # Do not include libc due to us having libc/libc_r.
+ continue
+ ;;
+ esac
+ elif test "$arg" = "-lc_r"; then
+ case "$host" in
+ *-*-openbsd*)
+ # Do not include libc_r directly, use -pthread flag.
+ continue
+ ;;
esac
elif test "$arg" = "-lm"; then
case "$host" in
@@ -1795,6 +1799,9 @@
@@ -1091,6 +1102,10 @@
deplibs="$deplibs $arg"
;;
+ -?thread)
+ deplibs="$deplibs $arg"
+ ;;
+
-module)
module=yes
continue
@@ -1795,6 +1810,9 @@
*-*-cygwin* | *-*-mingw* | *-*-os2* | *-*-beos*)
# these systems don't actually have a c library (as such)!
;;
@ -21,7 +39,7 @@
*-*-rhapsody*)
# rhapsody is a little odd...
deplibs="$deplibs -framework System"
@@ -3567,40 +3574,6 @@
@@ -3567,40 +3585,6 @@
# Exit here if they wanted silent mode.
test "$show" = : && exit 0