Skip to content

Commit

Permalink
gcc-plugin.m4 (GCC_ENABLE_PLUGINS): Remove -q option passed to grep.
Browse files Browse the repository at this point in the history
config/
	* gcc-plugin.m4 (GCC_ENABLE_PLUGINS): Remove -q option passed to grep.
gcc/
	* configure: Regenerate.

From-SVN: r257406
  • Loading branch information
Eric Botcazou authored and Eric Botcazou committed Feb 6, 2018
1 parent 9dfc6e8 commit 9718199
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
4 changes: 4 additions & 0 deletions config/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
2018-02-06 Eric Botcazou <[email protected]>

* gcc-plugin.m4 (GCC_ENABLE_PLUGINS): Remove -q option passed to grep.

2017-11-14 Boris Kolpackov <[email protected]>

* gcc-plugin.m4: Add support for MinGW.
Expand Down
4 changes: 2 additions & 2 deletions config/gcc-plugin.m4
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions gcc/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
2018-02-06 Eric Botcazou <[email protected]>

* configure: Regenerate.

2018-02-05 Martin Sebor <[email protected]>

PR tree-optimization/83369
Expand Down
4 changes: 2 additions & 2 deletions gcc/configure
Original file line number Diff line number Diff line change
Expand Up @@ -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; }
Expand All @@ -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
Expand Down

0 comments on commit 9718199

Please sign in to comment.