summaryrefslogtreecommitdiffhomepage
path: root/configure
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-06-25 15:41:49 -0400
committermidipix <writeonce@midipix.org>2016-06-25 15:55:29 -0400
commit34a2d0b446edf1348f1df87931cbd8482367eda6 (patch)
tree01e08df808df1f0a5bef7a64471fcf7f0fa0c5f9 /configure
parent6b2e0c03fe73c63e42c20b2564908c9d60f1531c (diff)
downloadslibtool-34a2d0b446edf1348f1df87931cbd8482367eda6.tar.bz2
slibtool-34a2d0b446edf1348f1df87931cbd8482367eda6.tar.xz
build system: use `grep -q` instead of `grep > /dev/null`.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure8
1 files changed, 4 insertions, 4 deletions
diff --git a/configure b/configure
index bbb469d..250655e 100755
--- a/configure
+++ b/configure
@@ -277,19 +277,19 @@ native_defaults()
fi
if [ -z "$mb_compiler" ]; then
- $mb_native_cc -dM -E - < /dev/null | grep '__clang__' > /dev/null && mb_compiler='clang'
+ $mb_native_cc -dM -E - < /dev/null | grep -q '__clang__' && mb_compiler='clang'
fi
if [ -z "$mb_compiler" ]; then
- $mb_native_cc -dM -E - < /dev/null | grep '__GCC' > /dev/null && mb_compiler='gcc'
+ $mb_native_cc -dM -E - < /dev/null | grep -q '__GCC' && mb_compiler='gcc'
fi
if [ -z "$mb_compiler" ]; then
- $mb_native_cc -dM -E - < /dev/null | grep "^gcc" > /dev/null && mb_compiler='gcc'
+ $mb_native_cc -dM -E - < /dev/null | grep -q "^gcc" && mb_compiler='gcc'
fi
if [ -z "$mb_compiler" ]; then
- $mb_native_cc -dM -E - < /dev/null | grep '__CPARSER__' > /dev/null && mb_compiler='cparser'
+ $mb_native_cc -dM -E - < /dev/null | grep -q '__CPARSER__' && mb_compiler='cparser'
fi
if [ -z "$mb_compiler" ]; then