Skip to content

Commit a9d54c3

Browse files
author
Felipe Zimmerle
committed
Fix on ssdeep search script
1 parent e6106ae commit a9d54c3

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

build/ssdeep.m4

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ fi
5050
5151
5252
if test -z "${SSDEEP_CFLAGS}"; then
53-
if test -z "${SSDEEP_MANDATORY}"; then
53+
if test -z "${SSDEEP_MANDATORY}" || test "x${SSDEEP_MANDATORY}" == "xno"; then
5454
if test -z "${SSDEEP_DISABLED}"; then
5555
AC_MSG_NOTICE([SSDEEP library was not found])
5656
SSDEEP_FOUND=0
@@ -62,8 +62,7 @@ if test -z "${SSDEEP_CFLAGS}"; then
6262
SSDEEP_FOUND=-1
6363
fi
6464
else
65-
66-
if test -z "${SSDEEP_MANDATORY}"; then
65+
if test -z "${SSDEEP_MANDATORY}" || test "x${SSDEEP_MANDATORY}" == "xno"; then
6766
SSDEEP_FOUND=2
6867
AC_MSG_NOTICE([SSDEEP is disabled by default.])
6968
else

0 commit comments

Comments
 (0)