]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS): head -1 -> sed 1q to
authorPaul Eggert <eggert@twinsun.com>
Mon, 6 May 2002 15:03:29 +0000 (15:03 +0000)
committerRobert Boehne <rboehne@gnu.org>
Mon, 6 May 2002 15:03:29 +0000 (15:03 +0000)
port to POSIX 1003.1-2001 hosts, like textutils 2.0.21 with
_POSIX2_VERSION=200112.

ChangeLog
libtool.m4

index e31f4311a70f101f1235fbbbc219a849f2f50c99..ea4214e78fc9a50f32bc59c52ed18c2f3c6fe676 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2002-05-06  Paul Eggert  <eggert@twinsun.com>
+
+       * libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS): head -1 -> sed 1q to
+       port to POSIX 1003.1-2001 hosts, like textutils 2.0.21 with
+       _POSIX2_VERSION=200112.
+
 2002-05-06  Paul Eggert  <eggert@twinsun.com>
 
        * ltmain.in: Don't assume that "sort +2" works, as POSIX
index 3562bb6bdf7e308427c2cf2555bf0ac9fbcba750..3832d8f20db1ed6ca9c11bcfc2aab44dd5880ba5 100644 (file)
@@ -4539,7 +4539,7 @@ EOF
       # If the export-symbols file already is a .def file (1st line
       # is EXPORTS), use it as is.
       # If DATA tags from a recent dlltool are present, honour them!
-      _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`head -1 $export_symbols`" = xEXPORTS; then
+      _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`sed 1q $export_symbols`" = xEXPORTS; then
          cp $export_symbols $output_objdir/$soname-def;
        else
          echo EXPORTS > $output_objdir/$soname-def;