1fd6784a99
which uses libtool-1.5. Reviewed by Alistair G Crooks.
62 lines
1.6 KiB
Text
62 lines
1.6 KiB
Text
$NetBSD: patch-ac,v 1.26 2011/05/14 16:49:45 bsiegert Exp $
|
|
|
|
--- libltdl/config/ltmain.sh.orig 2009-11-16 13:23:18.000000000 +0000
|
|
+++ libltdl/config/ltmain.sh
|
|
@@ -111,9 +111,9 @@ done
|
|
$lt_unset CDPATH
|
|
|
|
|
|
-
|
|
-
|
|
-
|
|
+unset CP
|
|
+unset MV
|
|
+unset RM
|
|
: ${CP="cp -f"}
|
|
: ${ECHO="echo"}
|
|
: ${EGREP="/bin/grep -E"}
|
|
@@ -4522,7 +4522,7 @@ func_mode_link ()
|
|
-l*)
|
|
if test "X$arg" = "X-lc" || test "X$arg" = "X-lm"; then
|
|
case $host in
|
|
- *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-beos* | *-cegcc*)
|
|
+ *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-beos* | *-cegcc* | *-*-haiku*)
|
|
# These systems don't actually have a C or math library (as such)
|
|
continue
|
|
;;
|
|
@@ -6308,6 +6308,7 @@ func_mode_link ()
|
|
func_arith $current - $age
|
|
major=.$func_arith_result
|
|
versuffix="$major.$age.$revision"
|
|
+ versuffix2="$major.$age"
|
|
;;
|
|
|
|
osf)
|
|
@@ -6368,8 +6369,10 @@ func_mode_link ()
|
|
esac
|
|
if test "$need_version" = no; then
|
|
versuffix=
|
|
+ versuffix2=
|
|
else
|
|
versuffix=".0.0"
|
|
+ versuffix2=".0.0"
|
|
fi
|
|
fi
|
|
|
|
@@ -6377,6 +6380,7 @@ func_mode_link ()
|
|
if test "$avoid_version" = yes && test "$need_version" = no; then
|
|
major=
|
|
versuffix=
|
|
+ versuffix2=
|
|
verstring=""
|
|
fi
|
|
|
|
@@ -6476,7 +6480,7 @@ func_mode_link ()
|
|
if test "$build_libtool_libs" = yes; then
|
|
if test -n "$rpath"; then
|
|
case $host in
|
|
- *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos* | *-cegcc*)
|
|
+ *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos* | *-cegcc* | *-*-haiku*)
|
|
# these systems don't actually have a c library (as such)!
|
|
;;
|
|
*-*-rhapsody* | *-*-darwin1.[012])
|