replace: Remove superfluous check for gcrypt header.
authorAndreas Schneider <asn@samba.org>
Thu, 12 Mar 2015 21:12:43 +0000 (22:12 +0100)
committerAndreas Schneider <asn@cryptomilk.org>
Fri, 13 Mar 2015 00:00:27 +0000 (01:00 +0100)
We only need to check for the header if we need gnutls with gcrypt
support.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=11135

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Fri Mar 13 01:00:27 CET 2015 on sn-devel-104

lib/replace/wscript

index f8a017920df515b82dd1abad9ed989f6042acf6e..19494484696a3fef38397119931a770fdb3c33dc 100644 (file)
@@ -53,7 +53,7 @@ def configure(conf):
     conf.CHECK_HEADERS('sys/uio.h ifaddrs.h direct.h dirent.h')
     conf.CHECK_HEADERS('windows.h winsock2.h ws2tcpip.h')
     conf.CHECK_HEADERS('errno.h')
-    conf.CHECK_HEADERS('gcrypt.h getopt.h iconv.h')
+    conf.CHECK_HEADERS('getopt.h iconv.h')
     conf.CHECK_HEADERS('memory.h nss.h sasl/sasl.h')
 
     conf.CHECK_FUNCS_IN('inotify_init', 'inotify', checklibc=True,