summaryrefslogtreecommitdiffstats
path: root/m4macros
diff options
context:
space:
mode:
authorAndrei Pavel <andrei@isc.org>2023-05-19 08:00:43 +0200
committerAndrei Pavel <andrei@isc.org>2023-05-19 08:00:43 +0200
commit01137a1366f58302e2895006c071f0682f23a2ae (patch)
tree7e1815062bd6082bb0c2b3df4cb8ec907b6fb14a /m4macros
parent[#2859] expanded leaseX-write ARM text (diff)
downloadkea-01137a1366f58302e2895006c071f0682f23a2ae.tar.xz
kea-01137a1366f58302e2895006c071f0682f23a2ae.zip
[#2786] fix grep: warning: stray \ before -
Diffstat (limited to 'm4macros')
-rw-r--r--m4macros/ax_find_library.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/m4macros/ax_find_library.m4 b/m4macros/ax_find_library.m4
index 702c4e3432..60247ad0af 100644
--- a/m4macros/ax_find_library.m4
+++ b/m4macros/ax_find_library.m4
@@ -144,7 +144,7 @@ AC_DEFUN([AX_FIND_LIBRARY], [
# Add to the runtime search path if the flag is not already added.
if test -n "${ISC_RPATH_FLAG}" && test "$(printf '%s\n' "${LIBRARY_LIBS}" | grep -Fc -- "${ISC_RPATH_FLAG}")" = 0; then
- library_location=$(printf '%s\n' "${LIBRARY_LIBS}" | grep -Eo '\-L.*\b' | sed 's/-L//g')
+ library_location=$(printf '%s\n' "${LIBRARY_LIBS}" | grep -Eo -- '-L.*\b' | sed 's/-L//g')
if test -n "${library_location}"; then
LIBRARY_LIBS="${LIBRARY_LIBS} ${ISC_RPATH_FLAG}${library_location}"
fi