mirror of git://gcc.gnu.org/git/gcc.git
libbacktrace: replace fgrep with grep in configure script
Patch by Xi Ruoyao. * configure.ac: Use grep instead of fgrep. * configure, Makefile.in: Regenerate.
This commit is contained in:
parent
508231d544
commit
6ce49a6e69
|
@ -15,7 +15,7 @@
|
||||||
@SET_MAKE@
|
@SET_MAKE@
|
||||||
|
|
||||||
# Makefile.am -- Backtrace Makefile.
|
# Makefile.am -- Backtrace Makefile.
|
||||||
# Copyright (C) 2012-2021 Free Software Foundation, Inc.
|
# Copyright (C) 2012-2022 Free Software Foundation, Inc.
|
||||||
|
|
||||||
# Redistribution and use in source and binary forms, with or without
|
# Redistribution and use in source and binary forms, with or without
|
||||||
# modification, are permitted provided that the following conditions are
|
# modification, are permitted provided that the following conditions are
|
||||||
|
|
|
@ -13831,7 +13831,7 @@ else
|
||||||
libbacktrace_cv_objcopy_debuglink=no
|
libbacktrace_cv_objcopy_debuglink=no
|
||||||
elif ! test -n "${OBJCOPY}"; then
|
elif ! test -n "${OBJCOPY}"; then
|
||||||
libbacktrace_cv_objcopy_debuglink=no
|
libbacktrace_cv_objcopy_debuglink=no
|
||||||
elif ${OBJCOPY} --help | fgrep add-gnu-debuglink >/dev/null 2>&1; then
|
elif ${OBJCOPY} --help | grep add-gnu-debuglink >/dev/null 2>&1; then
|
||||||
libbacktrace_cv_objcopy_debuglink=yes
|
libbacktrace_cv_objcopy_debuglink=yes
|
||||||
else
|
else
|
||||||
libbacktrace_cv_objcopy_debuglink=no
|
libbacktrace_cv_objcopy_debuglink=no
|
||||||
|
|
|
@ -500,7 +500,7 @@ AC_CACHE_CHECK([whether objcopy supports debuglink],
|
||||||
libbacktrace_cv_objcopy_debuglink=no
|
libbacktrace_cv_objcopy_debuglink=no
|
||||||
elif ! test -n "${OBJCOPY}"; then
|
elif ! test -n "${OBJCOPY}"; then
|
||||||
libbacktrace_cv_objcopy_debuglink=no
|
libbacktrace_cv_objcopy_debuglink=no
|
||||||
elif ${OBJCOPY} --help | fgrep add-gnu-debuglink >/dev/null 2>&1; then
|
elif ${OBJCOPY} --help | grep add-gnu-debuglink >/dev/null 2>&1; then
|
||||||
libbacktrace_cv_objcopy_debuglink=yes
|
libbacktrace_cv_objcopy_debuglink=yes
|
||||||
else
|
else
|
||||||
libbacktrace_cv_objcopy_debuglink=no
|
libbacktrace_cv_objcopy_debuglink=no
|
||||||
|
|
Loading…
Reference in New Issue