]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* libltdl/m4/libtool.m4 (_LT_CMD_GLOBAL_SYMBOLS): Fix awk
authorPeter Ekberg <peda@lysator.liu.se>
Fri, 23 Sep 2005 10:33:34 +0000 (10:33 +0000)
committerPeter Rosin <peda@lysator.liu.se>
Fri, 23 Sep 2005 10:33:34 +0000 (10:33 +0000)
script to be a single line so that the cache variable isn't
multiline.

ChangeLog
libltdl/m4/libtool.m4

index 7be3e240c05ec550d917855f58f1e4e08812b493..f934736344eef57ad0af0966cf5644f71f85ff66 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2005-09-23  Peter Ekberg  <peda@lysator.liu.se>,
+
+       * libltdl/m4/libtool.m4 (_LT_CMD_GLOBAL_SYMBOLS): Fix awk
+       script to be a single line so that the cache variable isn't
+       multiline.
+
 2005-09-23  Eric Blake  <ebb9@byu.net>  (tiny change)
 
        * libltdl/loaders/loadlibrary.c (vm_open): Silence gcc warnings.
index 9750e1fee8172d4e12b203c099463f98e6c86a40..a99f37defef5fe20779024f21d680267f926d0b9 100644 (file)
@@ -3080,17 +3080,17 @@ for ac_symprfx in "" "_"; do
     # and D for any global variable.
     # Also find C++ and __fastcall symbols from MSVC++,
     # which start with @ or ?.
-    lt_cv_sys_global_symbol_pipe="$AWK ['
-      {last_section=section; section=\$ 3}
-      /Section length .*#relocs.*(pick any)/{hide[last_section]=1}
-      \$ 0!~/External *\|/{next}
-      / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next}
-      {if(hide[section]) next}
-      {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"}
-      {split(\$ 0, a, /\||\r/); split(a[2], s)}
-      s[1]~/^[@?]/{print s[1], s[1]; next}
-      s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}
-      ' prfx=^$ac_symprfx]"
+    lt_cv_sys_global_symbol_pipe="$AWK ['"\
+"     {last_section=section; section=\$ 3};"\
+"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
+"     \$ 0!~/External *\|/{next};"\
+"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
+"     {if(hide[section]) next};"\
+"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
+"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
+"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
+"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
+"     ' prfx=^$ac_symprfx]"
   else
     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[   ]]\($symcode$symcode*\)[[       ]][[    ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   fi