libreplace: add a replacement for strerror_r (needed on solaris8)
authorAndrew Tridgell <tridge@samba.org>
Fri, 26 Mar 2010 05:45:23 +0000 (16:45 +1100)
committerAndrew Tridgell <tridge@samba.org>
Tue, 6 Apr 2010 10:27:08 +0000 (20:27 +1000)
lib/replace/wscript

index 8424319a1a02d12b03ecb864126e2466db7a4431..8e3d9912e481d86719a64af63d7a66e1a257d0fe 100644 (file)
@@ -114,7 +114,7 @@ def configure(conf):
     conf.CHECK_FUNCS('link readlink symlink realpath fdatasync snprintf vsnprintf')
     conf.CHECK_FUNCS('asprintf vasprintf setenv unsetenv strnlen strtoull __strtoull')
     conf.CHECK_FUNCS('strtouq strtoll __strtoll strtoq')
-    conf.CHECK_FUNCS('if_nametoindex')
+    conf.CHECK_FUNCS('if_nametoindex strerror_r')
     conf.CHECK_FUNCS('dirfd getdirentries getdents syslog')
     conf.CHECK_FUNCS('gai_strerror get_current_dir_name')
     conf.CHECK_FUNCS('timegm getifaddrs freeifaddrs mmap setgroups setsid')