From: Eric Botcazou Date: Tue, 6 Feb 2018 08:30:53 +0000 (+0000) Subject: gcc-plugin.m4 (GCC_ENABLE_PLUGINS): Remove -q option passed to grep. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9718199a1783488c346f656c2bec2d562e52fb02;p=gcc.git gcc-plugin.m4 (GCC_ENABLE_PLUGINS): Remove -q option passed to grep. config/ * gcc-plugin.m4 (GCC_ENABLE_PLUGINS): Remove -q option passed to grep. gcc/ * configure: Regenerate. From-SVN: r257406 --- diff --git a/config/ChangeLog b/config/ChangeLog index a44722ed528..fd7f82fc779 100644 --- a/config/ChangeLog +++ b/config/ChangeLog @@ -1,3 +1,7 @@ +2018-02-06 Eric Botcazou + + * gcc-plugin.m4 (GCC_ENABLE_PLUGINS): Remove -q option passed to grep. + 2017-11-14 Boris Kolpackov * gcc-plugin.m4: Add support for MinGW. diff --git a/config/gcc-plugin.m4 b/config/gcc-plugin.m4 index 38b2ae6e12e..8f278719118 100644 --- a/config/gcc-plugin.m4 +++ b/config/gcc-plugin.m4 @@ -60,14 +60,14 @@ AC_DEFUN([GCC_ENABLE_PLUGINS], if test "x$export_sym_check" != x; then echo "int main() {return 0;} int foobar() {return 0;}" > conftest.c ${CC} ${CFLAGS} ${LDFLAGS} conftest.c -o conftest$ac_exeext > /dev/null 2>&1 - if $export_sym_check conftest$ac_exeext | grep -q foobar > /dev/null; then + if $export_sym_check conftest$ac_exeext | grep foobar > /dev/null; then : # No need to use a flag AC_MSG_RESULT([yes]) else AC_MSG_RESULT([yes]) AC_MSG_CHECKING([for -rdynamic]) ${CC} ${CFLAGS} ${LDFLAGS} -rdynamic conftest.c -o conftest$ac_exeext > /dev/null 2>&1 - if $export_sym_check conftest$ac_exeext | grep -q foobar > /dev/null; then + if $export_sym_check conftest$ac_exeext | grep foobar > /dev/null; then plugin_rdynamic=yes pluginlibs="-rdynamic" else diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 12d238ebc3e..f6ac7f4aefd 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2018-02-06 Eric Botcazou + + * configure: Regenerate. + 2018-02-05 Martin Sebor PR tree-optimization/83369 diff --git a/gcc/configure b/gcc/configure index 6db8c805f81..effc37c12c3 100755 --- a/gcc/configure +++ b/gcc/configure @@ -29741,7 +29741,7 @@ $as_echo_n "checking for exported symbols... " >&6; } if test "x$export_sym_check" != x; then echo "int main() {return 0;} int foobar() {return 0;}" > conftest.c ${CC} ${CFLAGS} ${LDFLAGS} conftest.c -o conftest$ac_exeext > /dev/null 2>&1 - if $export_sym_check conftest$ac_exeext | grep -q foobar > /dev/null; then + if $export_sym_check conftest$ac_exeext | grep foobar > /dev/null; then : # No need to use a flag { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } @@ -29751,7 +29751,7 @@ $as_echo "yes" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -rdynamic" >&5 $as_echo_n "checking for -rdynamic... " >&6; } ${CC} ${CFLAGS} ${LDFLAGS} -rdynamic conftest.c -o conftest$ac_exeext > /dev/null 2>&1 - if $export_sym_check conftest$ac_exeext | grep -q foobar > /dev/null; then + if $export_sym_check conftest$ac_exeext | grep foobar > /dev/null; then plugin_rdynamic=yes pluginlibs="-rdynamic" else