build: don't look for gettext twice
authorAndrew Tridgell <tridge@samba.org>
Sat, 20 Mar 2010 06:05:04 +0000 (17:05 +1100)
committerAndrew Tridgell <tridge@samba.org>
Tue, 6 Apr 2010 10:26:56 +0000 (20:26 +1000)
lib/replace/wscript
source4/heimdal_build/wscript_configure

index 94b4207a9f2bcd90953cac1f506006040d252293..036df593525c3562ef8fa8cd27b0eabdb359638f 100644 (file)
@@ -200,7 +200,7 @@ def configure(conf):
     conf.CHECK_FUNCS_IN('dlopen dlsym dlerror dlclose', 'dl', checklibc=True)
     conf.CHECK_FUNCS_IN('poptGetContext', 'popt')
     conf.CHECK_FUNCS_IN('res_search', 'resolv', checklibc=True)
-    conf.CHECK_FUNCS_IN('gettext', 'intl')
+    conf.CHECK_FUNCS_IN('gettext', 'intl', checklibc=True)
     conf.CHECK_FUNCS_IN('pthread_create', 'pthread', checklibc=True)
 
     conf.CHECK_FUNCS_IN('crypt', 'crypt', checklibc=True)
index 46b0b5fa453c79b2c6b8127eee41a2ce98721d09..04d77d66747f194481961326fcbfc2a08b1033ea 100644 (file)
@@ -38,8 +38,6 @@ conf.CHECK_FUNCS_IN('res_search res_nsearch res_ndestroy dns_search dn_expand',
 conf.CHECK_VARIABLE('_res')
 conf.CHECK_HEADERS('pty.h util.h libutil.h')
 conf.CHECK_FUNCS_IN('openpty', 'util', checklibc=True)
-conf.CHECK_FUNCS_IN('gettext', 'intl', checklibc=True)
-
 
 conf.DEFINE('HAVE_KRB5',1)
 conf.DEFINE('HAVE_GSSAPI',1)