libtool-patches
[Top][All Lists]
Advanced

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

FYI: HEAD: func_show_eval shell expansion issue


From: Ralf Wildenhues
Subject: FYI: HEAD: func_show_eval shell expansion issue
Date: Sun, 4 Sep 2005 18:33:08 +0200
User-agent: Mutt/1.5.9i

* Ralf Wildenhues wrote on Wed, Aug 31, 2005 at 09:52:32PM CEST:
> 
> OK to apply to HEAD (untested, but I'll test before commit)?

Tested, works, +72hours, committed.

Cheers,
Ralf

>         * libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS) [ aix ]
>         <export_symbols_cmds>: Work around shell expansion issue in
>         func_show_eval by separating `$' and field number; drop then
>         unnecessary m4 quoting.
> 
> Index: libltdl/m4/libtool.m4
> ===================================================================
> RCS file: /cvsroot/libtool/libtool/libltdl/m4/libtool.m4,v
> retrieving revision 1.8
> diff -u -r1.8 libtool.m4
> --- libltdl/m4/libtool.m4     31 Aug 2005 07:37:26 -0000      1.8
> +++ libltdl/m4/libtool.m4     31 Aug 2005 19:49:10 -0000
> @@ -3767,9 +3767,9 @@
>      # If we're using GNU nm, then we don't want the "-C" option.
>      # -C means demangle to AIX nm, but means don't demangle with GNU nm
>      if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
> -      _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | 
> awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && 
> ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > 
> $export_symbols'
> +      _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | 
> awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && 
> ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
>      else
> -      _LT_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | 
> awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && 
> ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > 
> $export_symbols'
> +      _LT_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | 
> awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && 
> ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
>      fi
>      ;;
>    pw32*)
> @@ -4050,9 +4050,9 @@
>       # If we're using GNU nm, then we don't want the "-C" option.
>       # -C means demangle to AIX nm, but means don't demangle with GNU nm
>       if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
> -       _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | 
> awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && 
> ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > 
> $export_symbols'
> +       _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | 
> awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && 
> ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
>       else
> -       _LT_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience 
> | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && 
> ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > 
> $export_symbols'
> +       _LT_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience 
> | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && 
> ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
>       fi
>       aix_use_runtimelinking=no
>  
> 
> 




reply via email to

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