libtool-patches
[Top][All Lists]
Advanced

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

Re: HP-UX 11.00 and parsing /bin/nm -p output (failing)


From: Gary V . Vaughan
Subject: Re: HP-UX 11.00 and parsing /bin/nm -p output (failing)
Date: Thu, 26 Apr 2001 00:51:02 +0100

On Tuesday 24 April 2001 10:17 pm, Gary V.Vaughan wrote:
> I applied your patch by hand, but missed the change from
> single quotes to double quotes in the third hunk.

Shouldn't the second expression in the first hunk also not use single quotes 
and thus prevent variable interpolation?

i.e.:

--- libtool.m4 2001/04/23 00:15:32 1.163
+++ libtool.m4 2001/04/24 21:08:13
@@ -188,7 +188,7 @@
   [symcode='[ABCDGISTW]']
   ;;
 hpux*) # Its linker distinguishes data from code symbols
-  lt_cv_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern char 
\1();/p' -e 's/^. .* \(.*\)$/extern char \1;/p'"
+  lt_cv_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern char 
\1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
            's/^'$symcode'* .* \(.*\)$/extern char \1;/p'

   ;;
 irix*)
   [symcode='[BCDEGRST]']

Cheers,
        Gary.
-- 
  ___              _   ___   __              _         mailto: address@hidden
 / __|__ _ _ ___ _| | / / | / /_ _ _  _ __ _| |_  __ _ ___       address@hidden
| (_ / _` | '_|// / |/ /| |/ / _` | || / _` | ' \/ _` | _ \
 \___\__,_|_|\_, /|___(_)___/\__,_|\_,_\__, |_||_\__,_|//_/
home page:  /___/                      /___/                  gpg public key:
http://www.oranda.demon.co.uk           http://www.oranda.demon.co.uk/key.asc



reply via email to

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