Undoing memmem removal from old-configure.in as it is incorrect draft
authorVenkatesh Pitta <venkateshpitta@gmail.com>
Thu, 12 Apr 2018 11:40:27 +1000
changeset 780901 14217dd3f65fa477aabe97396784e11f08b7f1e4
parent 780900 ec7d34c64d27580d45d23d77c967e1abcf3ec3e7
child 780902 ac49f2b3137a0d1703f4725d56c41fba9d57d799
child 783365 aa8394244b8897ffb51fd6e21b110df6b3285d68
child 783367 f74dae8c3e183b266aa00f36c856a5ecb3a3b49e
child 783570 2615f2f6785b0f85c00ee587f0738b7227256288
child 784790 69bc243b7a4db4e51295dc2caf95dd71a640fd62
child 786877 ec6e2fdbab20058666437787bf1ed07335713bb9
child 787068 b47b3a6f6ae83853f198aab3137fe8cfd28bd582
child 787466 36aa0c9984d0c4ba2c26b42dc0df2777947feeea
push id106157
push userbmo:venkateshpitta@gmail.com
push dateThu, 12 Apr 2018 07:08:57 +0000
milestone61.0a1
Undoing memmem removal from old-configure.in as it is incorrect
old-configure.in
--- a/old-configure.in
+++ b/old-configure.in
@@ -1246,17 +1246,18 @@ case $target in
     AC_SEARCH_LIBS(dlopen, dl,
         MOZ_CHECK_HEADER(dlfcn.h,
         AC_DEFINE(HAVE_DLOPEN)))
     ;;
 esac
 
 _SAVE_CFLAGS="$CFLAGS"
 CFLAGS="$CFLAGS -D_GNU_SOURCE"
-CFLAGS="$_SAVE_CFLAGS"
+AC_CHECK_FUNCS(dladdr, memmem)
+FLAGS="$_SAVE_CFLAGS"
 
 if test ! "$GNU_CXX"; then
     AC_CHECK_LIB(C, demangle)
 fi
 
 AC_CHECK_LIB(socket, socket)
 
 XLDFLAGS="$X_LIBS"