1
mirror of https://github.com/jedisct1/libsodium.git synced 2024-12-24 12:36:01 -07:00

Use the default autoconf action to check for libctgrind

This commit is contained in:
Frank Denis 2017-11-06 23:34:45 +01:00
parent bd0e0303f9
commit e7d85070dc

View File

@ -146,7 +146,7 @@ AC_ARG_WITH(safecode,
AC_ARG_WITH(ctgrind, AC_ARG_WITH(ctgrind,
[AS_HELP_STRING(--with-ctgrind,For maintainers only - please do not use)], [AS_HELP_STRING(--with-ctgrind,For maintainers only - please do not use)],
[AS_IF([test "x$withval" = "xyes"], [ [AS_IF([test "x$withval" = "xyes"], [
AC_CHECK_LIB(ctgrind, ct_poison, [LIBS="$LIBS -lctgrind"]) AC_CHECK_LIB(ctgrind, ct_poison)
]) ])
]) ])