libtool-patches
[Top][All Lists]
Advanced

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

FYI: remove lt_prog_cc_shlib cruft


From: Ralf Wildenhues
Subject: FYI: remove lt_prog_cc_shlib cruft
Date: Sun, 13 Nov 2005 20:37:07 +0100
User-agent: Mutt/1.5.9i

Now that the last use of lt_prog_cc_shlib is gone, we can kill
another bit of junk.  :)

Applied to HEAD and branch-1-5.

Cheers,
Ralf

HEAD:
        * libltdl/m4/libtool.m4 (_LT_LANG_C_CONFIG):
        Removed `lt_prog_cc_shlib' cruft, not needed any more.

Index: libltdl/m4/libtool.m4
===================================================================
RCS file: /cvsroot/libtool/libtool/libltdl/m4/libtool.m4,v
retrieving revision 1.44
diff -u -r1.44 libtool.m4
--- libltdl/m4/libtool.m4       13 Nov 2005 19:04:42 -0000      1.44
+++ libltdl/m4/libtool.m4       13 Nov 2005 19:32:52 -0000
@@ -4900,20 +4900,6 @@
 _LT_COMPILER_BOILERPLATE
 _LT_LINKER_BOILERPLATE
 
-#
-# Check for any special shared library compilation flags.
-#
-_LT_TAGVAR(lt_prog_cc_shlib, $1)=
-if test -n "$_LT_TAGVAR(lt_prog_cc_shlib, $1)"; then
-  AC_MSG_WARN([`$CC' requires `$_LT_TAGVAR(lt_prog_cc_shlib, $1)' to build 
shared libraries])
-  if $ECHO "$old_CC $old_CFLAGS " | $GREP "[[  ]]$_LT_TAGVAR(lt_prog_cc_shlib, 
$1)[[   ]]" >/dev/null; then :
-  else
-    AC_MSG_WARN([add `$_LT_TAGVAR(lt_prog_cc_shlib, $1)' to the CC or CFLAGS 
env variable and reconfigure])
-    _LT_TAGVAR(lt_cv_prog_cc_can_build_shared, $1)=no
-  fi
-fi
-
-
 ## CAVEAT EMPTOR:
 ## There is no encapsulation within the following macros, do not change
 ## the running order or otherwise move them around unless you know exactly



branch-1-5:
        * libtool.m4 (AC_LIBTOOL_LANG_C_CONFIG):
        Removed `lt_prog_cc_shlib' cruft, not needed any more.

Index: libtool.m4
===================================================================
RCS file: /cvsroot/libtool/libtool/Attic/libtool.m4,v
retrieving revision 1.314.2.133
diff -u -r1.314.2.133 libtool.m4
--- libtool.m4  13 Nov 2005 19:06:14 -0000      1.314.2.133
+++ libtool.m4  13 Nov 2005 19:33:44 -0000
@@ -2634,20 +2634,6 @@
 _LT_COMPILER_BOILERPLATE
 _LT_LINKER_BOILERPLATE
 
-#
-# Check for any special shared library compilation flags.
-#
-_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)=
-if test -n "$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)"; then
-  AC_MSG_WARN([`$CC' requires `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to build 
shared libraries])
-  if echo "$old_CC $old_CFLAGS " | grep "[[    
]]$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)[[        ]]" >/dev/null; then :
-  else
-    AC_MSG_WARN([add `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to the CC or 
CFLAGS env variable and reconfigure])
-    _LT_AC_TAGVAR(lt_cv_prog_cc_can_build_shared, $1)=no
-  fi
-fi
-
-
 ## CAVEAT EMPTOR:
 ## There is no encapsulation within the following macros, do not change
 ## the running order or otherwise move them around unless you know exactly




reply via email to

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