diff options
author | Guy Harris <guy@alum.mit.edu> | 2016-01-16 06:02:59 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2016-01-16 06:03:08 +0000 |
commit | 8f6da81706bf85b14bfc2743507ad3a29219ccdc (patch) | |
tree | 8370c9ca509e90c476a70c45ca92d7ae1770b8cb /acinclude.m4 | |
parent | 67c58497442fb52571e7507cab0115567eb6352d (diff) |
Revert "Don't use the printf command; it's not guaranteed to be there."
This reverts commit 67c58497442fb52571e7507cab0115567eb6352d.
It's not *guaranteed* to be there in *every* UN*X, but it's in at least
the Single UNIX Specification V3, as well as in shells commonly used in
non-UNIX UN*Xes :-), so it'll be there in the UN*Xes we'll be run on.
Change-Id: I541f7607055a24d6933d10244f85eea60052a3d8
Reviewed-on: https://code.wireshark.org/review/13325
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'acinclude.m4')
-rw-r--r-- | acinclude.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/acinclude.m4 b/acinclude.m4 index 2d6831eb50..1851503956 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -1804,7 +1804,7 @@ fi AC_DEFUN([AC_WIRESHARK_GCC_SYSTEM_INCLUDE], [ if test "x$GCC" = "xyes" -o "x$CC" = "xclang" ; then - $1=`AS_ECHO_N(" $$1") \ + $1=`printf %s " $$1" \ | sed -e 's/ *-I *\// -isystem\//g' -e 's/^ *//'` fi ]) |