build: fixed gnutls check
authorAndrew Tridgell <tridge@samba.org>
Sat, 20 Mar 2010 08:38:18 +0000 (19:38 +1100)
committerAndrew Tridgell <tridge@samba.org>
Tue, 6 Apr 2010 10:26:58 +0000 (20:26 +1000)
source4/lib/tls/wscript

index 7b30a892151990c33811228da8074ab089e9822e..45fa55aaef080479f4204d8ed61bb5c0399b17c7 100644 (file)
@@ -15,7 +15,7 @@ def configure(conf):
     if 'HAVE_GNUTLS' in conf.env and not Options.options.disable_gnutls:
         conf.DEFINE('ENABLE_GNUTLS', 1)
 
-    conf.CHECK_FUNCS_IN('gnutls_global_init', 'gnutls')
+    conf.CHECK_FUNCS_IN('gnutls_global_init', 'gnutls', header='gnutls/gnutls.h')
 
     conf.CHECK_HEADERS('gnutls/gnutls.h')