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

ChangeLog
libtool.m4

index 5dd32ebc51accb2e13ed5a2497f6ab0abf258f26..b735a50df88a662815b61d163044e0e405d5ed83 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2002-05-06  Paul Eggert  <eggert@twinsun.com>
+
+       * libtool.m4 (_LT_AC_LTCONFIG_HACK): 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 c9fc9cd7c8488c58dbd641a950992c05490de3e1..2f464ed9a8d8d65a4393f1c8e3c028838040cabf 100644 (file)
@@ -1339,7 +1339,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!
-    archive_expsym_cmds='if test "x`head -1 $export_symbols`" = xEXPORTS; then
+    archive_expsym_cmds='if test "x`sed 1q $export_symbols`" = xEXPORTS; then
        cp $export_symbols $output_objdir/$soname-def;
       else
        echo EXPORTS > $output_objdir/$soname-def;