summaryrefslogtreecommitdiff
path: root/m4/host-cpu-c-abi.m4
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2018-02-03 12:50:17 +0100
committerBruno Haible <bruno@clisp.org>2018-02-03 12:50:57 +0100
commite017871121364b67549ea00fcfebc0cb6cc99fb3 (patch)
tree8d787e0a513df337b1e503ac3545c52673cde4c8 /m4/host-cpu-c-abi.m4
parentd6a3b8f0874f548838f28a1303b2c8a0ae3ac7df (diff)
downloadgnulib-e017871121364b67549ea00fcfebc0cb6cc99fb3.tar.gz
host-cpu-c-abi: Avoid use of 'grep -E' on OpenIndiana.
* m4/asm-underscore.m4 (gl_ASM_SYMBOL_PREFIX): Require AC_PROG_EGREP, and use $EGREP instead of 'grep -E'. * m4/host-cpu-c-abi.m4 (gl_HOST_CPU_C_ABI): Use 'grep' instead of 'grep -E'.
Diffstat (limited to 'm4/host-cpu-c-abi.m4')
-rw-r--r--m4/host-cpu-c-abi.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/m4/host-cpu-c-abi.m4 b/m4/host-cpu-c-abi.m4
index dd7c5235b8..a467514b0b 100644
--- a/m4/host-cpu-c-abi.m4
+++ b/m4/host-cpu-c-abi.m4
@@ -1,4 +1,4 @@
-# host-cpu-c-abi.m4 serial 8
+# host-cpu-c-abi.m4 serial 9
dnl Copyright (C) 2002-2018 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
@@ -135,7 +135,7 @@ changequote([,])dnl
echo 'double ddd; void func (double dd) { ddd = dd; }' > conftest.c
# Look for a reference to the register d0 in the .s file.
AC_TRY_COMMAND(${CC-cc} $CFLAGS $CPPFLAGS $gl_c_asm_opt conftest.c) >/dev/null 2>&1
- if LC_ALL=C grep -E 'd0,' conftest.$gl_asmext >/dev/null; then
+ if LC_ALL=C grep 'd0,' conftest.$gl_asmext >/dev/null; then
gl_cv_host_cpu_c_abi=armhf
else
gl_cv_host_cpu_c_abi=arm