[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-libunistring] [PATCH] Make sed scripts compatible with Solaris 2.9
From: |
saper |
Subject: |
[bug-libunistring] [PATCH] Make sed scripts compatible with Solaris 2.9 /usr/bin/sed |
Date: |
Tue, 5 Jan 2016 00:54:06 +0100 |
---
build-aux/fixaclocal | 19 ++++++++++++++++++-
1 file changed, 18 insertions(+), 1 deletion(-)
diff --git a/build-aux/fixaclocal b/build-aux/fixaclocal
index 10ff8e4..68273d4 100755
--- a/build-aux/fixaclocal
+++ b/build-aux/fixaclocal
@@ -24,7 +24,24 @@ if test $result = 0 && test -f aclocal.m4; then
# and the block of 5 lines starting with 'm4_if(AC_AUTOCONF_VERSION'
# (automake <= 1.10.1) or with 'm4_if(m4_defn([AC_AUTOCONF_VERSION])'
# (automake >= 1.10.2).
- sed -e '/m4_if(m4_PACKAGE_VERSION/{N;N;N;d}' -e
'/m4_if(AC_AUTOCONF_VERSION/{N;N;N;N;d}' -e
'/m4_if(m4_defn(\[AC_AUTOCONF_VERSION\])/{N;N;N;N;d}' < aclocal.m4 >
aclocal.m4.tmp
+ sed -e '/m4_if(m4_PACKAGE_VERSION/{
+ N
+ N
+ N
+ d
+ }' -e '/m4_if(AC_AUTOCONF_VERSION/{
+ N
+ N
+ N
+ N
+ d
+ }' -e '/m4_if(m4_defn(\[AC_AUTOCONF_VERSION\])/{
+ N
+ N
+ N
+ N
+ d
+ }' < aclocal.m4 > aclocal.m4.tmp
if cmp aclocal.m4 aclocal.m4.tmp > /dev/null; then
rm -f aclocal.m4.tmp
else
--
2.5.0
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug-libunistring] [PATCH] Make sed scripts compatible with Solaris 2.9 /usr/bin/sed,
saper <=