aboutsummaryrefslogtreecommitdiffstats
path: root/erts/aclocal.m4
diff options
context:
space:
mode:
authorJohan Oudinet <[email protected]>2015-03-24 15:54:31 +0100
committerZandra Hird <[email protected]>2015-04-29 15:12:40 +0200
commit871770f169f6a9a996d22cbd63128c53b7b4370c (patch)
treea6c203b7f85d20b5dff21e44ec0113b912d2ea93 /erts/aclocal.m4
parent147e8b9bd0b36315f0d8bd38e39c51d93cd9f509 (diff)
downloadotp-871770f169f6a9a996d22cbd63128c53b7b4370c.tar.gz
otp-871770f169f6a9a996d22cbd63128c53b7b4370c.tar.bz2
otp-871770f169f6a9a996d22cbd63128c53b7b4370c.zip
erts: Fix incorrect use of AC_EGREP_CPP
Using 'AC_EGREP_CPP(yes' without restraining the pattern always return true if it runs from a path containing the string 'yes'.
Diffstat (limited to 'erts/aclocal.m4')
-rw-r--r--erts/aclocal.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/aclocal.m4 b/erts/aclocal.m4
index 83f735d332..73fa5d3603 100644
--- a/erts/aclocal.m4
+++ b/erts/aclocal.m4
@@ -559,7 +559,7 @@ dnl
AC_DEFUN(LM_SYS_MULTICAST,
[AC_CACHE_CHECK([for multicast support], ac_cv_sys_multicast_support,
-[AC_EGREP_CPP(yes,
+[AC_EGREP_CPP(^yes$,
[#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>