libtool-patches
[Top][All Lists]
Advanced

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

some more _LT_TAGVAR fixes


From: Ralf Wildenhues
Subject: some more _LT_TAGVAR fixes
Date: Mon, 20 Dec 2004 17:53:28 +0100
User-agent: Mutt/1.4.1i

I managed to search for missing _LT_TAGVARs in a kind of semi-automatic
way (unfortunately not enough to make it into a testsuite test) and came
up with these candidates.

Could somebody have a look and tell me whether these two patches (first
against HEAD and branch-2-0, second against branch-1-5) are ok?
(One of the branch-1-5 changes was a forgotten backport.)

Thanks,
Ralf


        * m4/libtool.m4 (_LT_LINKER_SHLIBS)
        [cygwin, mingw, pw32 ]: _LT_TAGVAR missing for `fix_srcfile_path'.
        [ sysv4, sysv5 ]: _LT_TAGVAR missing for `export_dynamic_flag_spec'.

Index: m4/libtool.m4
===================================================================
RCS file: /cvsroot/libtool/libtool/m4/libtool.m4,v
retrieving revision 1.125.2.19
diff -u -r1.125.2.19 libtool.m4
--- m4/libtool.m4       20 Dec 2004 08:15:36 -0000      1.125.2.19
+++ m4/libtool.m4       20 Dec 2004 16:39:28 -0000
@@ -3871,7 +3871,7 @@
       _LT_TAGVAR(old_archive_from_new_cmds, $1)='true'
       # FIXME: Should let the user specify the lib program.
       _LT_TAGVAR(old_archive_cmds, $1)='lib /OUT:$oldlib$oldobjs$old_deplibs'
-      fix_srcfile_path='`cygpath -w "$srcfile"`'
+      _LT_TAGVAR(fix_srcfile_path, $1)='`cygpath -w "$srcfile"`'
       _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
       ;;
 
@@ -4276,7 +4276,7 @@
     if test x$host_vendor = xsni; then
       case $host in
       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
-       export_dynamic_flag_spec='${wl}-Blargedynsym'
+       _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Blargedynsym'
        ;;
       esac
     fi

-- snip --


        * libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS) [ cygwin, mingw, pw32 ]:
         _LT_AC_TAGVAR missing for `ld_shlibs' and for `fix_srcfile_path'.


Index: libtool.m4
===================================================================
RCS file: /cvsroot/libtool/libtool/Attic/libtool.m4,v
retrieving revision 1.314.2.55
diff -u -r1.314.2.55 libtool.m4
--- libtool.m4  20 Dec 2004 08:45:46 -0000      1.314.2.55
+++ libtool.m4  20 Dec 2004 16:39:25 -0000
@@ -5207,7 +5207,7 @@
        fi~
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs 
$compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000  
${wl}--out-implib,$lib'
       else
-       ld_shlibs=no
+       _LT_AC_TAGVAR(ld_shlibs, $1)=no
       fi
       ;;
 
@@ -5464,7 +5464,7 @@
       _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='true'
       # FIXME: Should let the user specify the lib program.
       _LT_AC_TAGVAR(old_archive_cmds, $1)='lib 
/OUT:$oldlib$oldobjs$old_deplibs'
-      fix_srcfile_path='`cygpath -w "$srcfile"`'
+      _LT_AC_TAGVAR(fix_srcfile_path, $1)='`cygpath -w "$srcfile"`'
       _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
       ;;
 




reply via email to

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