sngrep: fix error if gnutls and openssl are both enabled
authorAdam Duskett <Aduskett@gmail.com>
Thu, 26 Jan 2017 21:39:31 +0000 (16:39 -0500)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 27 Jan 2017 07:21:19 +0000 (20:21 +1300)
commita5391ca453eb21c5dba9a0a6252b4f4eb995247b
tree4f56fadf6004ce09fc3b085d56a473c9d69aa3c0
parentb1039e793033e8b1005e212aed0571b263953a06
sngrep: fix error if gnutls and openssl are both enabled

gnutls and openssl support can't be enabled at the same time in
sngrep. Prefer openssl if available, otherwise use gnutls.

Fixes:

  http://autobuild.buildroot.net/results/7c775b1faf7be90fb4acd3653600f7b6b48aa86f/

Signed-off-by: Adam Duskett <aduskett@codeblue.com>
[Thomas:
 - regroup CONF_OPTS lines
 - add an 'else' clause to explicitly disable gnutls and openssl when
   none are available
 - add a reference to the autobuilder failure]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/sngrep/sngrep.mk