]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
configure: correctly display nss/nspr status
authorEric Leblond <eric@regit.org>
Tue, 11 Feb 2020 14:21:39 +0000 (16:21 +0200)
committerVictor Julien <victor@inliniac.net>
Fri, 3 Apr 2020 19:39:45 +0000 (21:39 +0200)
If autodiscovery of libnss was used (default), then the line
 libnss support:                          yes
was never set to no.

Same behavior for libnspr.

Broken by commit 'configure: fix nspr check logic' (7ea269a212a3a2209effc3cc9300873d6a06859e)

configure.ac

index d85f55ec2970cae23a5f6bfbbebb4bbabbf30b20..28dedd06df8f5e8238cda6661789533f48176858 100644 (file)
@@ -1878,6 +1878,7 @@ return 0;
             echo "   Fedora: dnf install nspr-devel"
             echo "   CentOS/RHEL: yum install nspr-devel"
             echo
+            enable_nspr="no"
         fi
     fi
 
@@ -1930,6 +1931,7 @@ return 0;
             echo "   Fedora: dnf install nss-devel"
             echo "   CentOS/RHEL: yum install nss-devel"
             echo
+            enable_nss="no"
         fi
     fi