]> git.proxmox.com Git - mirror_ovs.git/commitdiff
acinclude.m4: Avoid echo -n
authorYAMAMOTO Takashi <yamamoto@ovn.org>
Sat, 15 Jul 2017 13:53:25 +0000 (22:53 +0900)
committerYAMAMOTO Takashi <yamamoto@ovn.org>
Sun, 16 Jul 2017 02:01:10 +0000 (11:01 +0900)
-n option for echo is not portable.  Use printf instead.
This fixes OSX build on travis-ci.

Acked-by: Ben Pfaff <blp@ovn.org>
Signed-off-by: YAMAMOTO Takashi <yamamoto@ovn.org>
acinclude.m4

index 48fc8566c0e8c88f6188d4f21614876836464f2e..05c57b88d68ee438474e66b9132379e77cb3d9d0 100644 (file)
@@ -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