-n option for echo is not portable.  Use printf instead.
This fixes OSX build on travis-ci.

Signed-off-by: YAMAMOTO Takashi <[email protected]>
---
 acinclude.m4 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/acinclude.m4 b/acinclude.m4
index 48fc856..05c57b8 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -968,7 +968,7 @@ dnl ctags ignores symbols with extras identifiers. This 
builds a list of
 dnl specially handled identifiers to be ignored.
 AC_DEFUN([OVS_CTAGS_IDENTIFIERS],
     AC_SUBST([OVS_CTAGS_IDENTIFIERS_LIST],
-           [`echo -n '-I "'; sed -n 's/^#define 
\(OVS_[A-Z_]\+\)(\.\.\.)$/\1+/p' ${srcdir}/include/openvswitch/compiler.h  | tr 
\\\n ' ' ; echo -n '"'`] ))
+           [`printf '-I "'; sed -n 's/^#define 
\(OVS_[A-Z_]\+\)(\.\.\.)$/\1+/p' ${srcdir}/include/openvswitch/compiler.h  | tr 
\\\n ' ' ; printf '"'`] ))
 
 dnl OVS_PTHREAD_SET_NAME
 dnl
-- 
2.5.4 (Apple Git-61)

_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to