build: inet_n*() are normally in libc
authorAndrew Tridgell <tridge@samba.org>
Sat, 20 Mar 2010 06:35:05 +0000 (17:35 +1100)
committerAndrew Tridgell <tridge@samba.org>
Tue, 6 Apr 2010 10:26:57 +0000 (20:26 +1000)
lib/replace/wscript

index 560a6990603f05e5e43076c2a5e0e10d611ce9ea..7f9b08ce606383d87c6242308316e27fc9185bf2 100644 (file)
@@ -196,7 +196,7 @@ def configure(conf):
     conf.CHECK_FUNCS('getpwent_r getpwnam_r getpwuid_r epoll_create')
 
 
-    conf.CHECK_FUNCS_IN('inet_ntoa inet_aton inet_ntop inet_pton', 'socket nsl')
+    conf.CHECK_FUNCS_IN('inet_ntoa inet_aton inet_ntop inet_pton', 'socket nsl', checklibc=True)
 
     conf.CHECK_FUNCS_IN('dlopen dlsym dlerror dlclose', 'dl', checklibc=True)
     conf.CHECK_FUNCS_IN('poptGetContext', 'popt')