build: inet_n*() are normally in libc
[nivanova/samba-autobuild/.git] / 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')