summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryce Harrington <bryce@bryceharrington.org>2016-10-10 14:05:32 -0700
committerBryce Harrington <bryce@osg.samsung.com>2016-12-07 19:23:15 -0800
commit50b1767d754a75fdbbe8dcd5a6ad243f0a1b443c (patch)
tree1a7fac76136e0ffdafdf2ad5d8dcfe75a2e8abca
parent6a435729226a66adee381548977efc0f95c3eacb (diff)
build: Don't rely on non-POSIX 'strings -' behavior
On systems using GNU's strings implementation, 'strings -' causes a scan of the whole file, which is equivalent to 'strings -a'. However, in POSIX passing '-' as the first argument to 'strings' is declared unspecified, and thus may break the build on systems that use a different POSIX strings implementation. Patch from Jung-uk Kim Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=88639 Signed-off-by: Bryce Harrington <bryce@osg.samsung.com>
-rw-r--r--build/aclocal.float.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/build/aclocal.float.m4 b/build/aclocal.float.m4
index 8f85f0862..ca14ea377 100644
--- a/build/aclocal.float.m4
+++ b/build/aclocal.float.m4
@@ -31,10 +31,10 @@ int main() { return 0; }
]])], [
-if strings - conftest$ac_exeext | grep noonsees >/dev/null ; then
+if strings -a conftest$ac_exeext | grep noonsees >/dev/null ; then
ax_cv_c_float_words_bigendian=yes
fi
-if strings - conftest$ac_exeext | grep seesnoon >/dev/null ; then
+if strings -a conftest$ac_exeext | grep seesnoon >/dev/null ; then
if test "$ax_cv_c_float_words_bigendian" = unknown; then
ax_cv_c_float_words_bigendian=no
else