libtool-patches
[Top][All Lists]
Advanced

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

PATCH: minimal support for --tag in 1.4


From: Paolo Bonzini
Subject: PATCH: minimal support for --tag in 1.4
Date: Mon, 18 Jun 2001 17:29:51 +0200

This patch adds support for --tag disable-shared & co. in
the 1.4 stable releases too.

Paolo Bonzini


diff -U3 -r libtool-1.4-orig/ltmain.sh libtool-1.4/ltmain.sh
--- libtool-1.4-orig/ltmain.sh Thu Apr 26 12:08:03 2001
+++ libtool-1.4/ltmain.sh Thu Apr 26 12:10:04 2001
@@ -119,6 +119,16 @@
     execute_dlfiles)
       execute_dlfiles="$execute_dlfiles $arg"
       ;;
+
+    ### Changed by Paolo Bonzini (Apr 26 2001), this change
+    ### is compatible with libtool 1.4's multi-language branch
+    tag)
+      test "x$arg" = xdisable-shared && build_libtool_libs=no 
build_old_libs=yes
+      test "x$arg" = xdisable-static && build_old_libs=no 
build_libtool_libs=yes
+      test "x$arg" = xenable-shared && build_libtool_libs=yes
+      test "x$arg" = xenable-static && build_old_libs=yes
+      ;;
+
     *)
       eval "$prev=\$arg"
       ;;
@@ -152,6 +162,13 @@

   --dry-run | -n)
     run=:
+    ;;
+
+  ### Changed by Paolo Bonzini (Apr 26 2001), this change
+  ### is compatible with libtool 1.4's multi-language branch
+  --tag)
+    prevopt="--tag"
+    prev=tag
     ;;

   --features)







reply via email to

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