summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2003-08-09 17:23:09 +0000
committerJim Meyering <jim@meyering.net>2003-08-09 17:23:09 +0000
commit87d488c5d50982ea0e2bdf4cd1679ab27a123037 (patch)
treecd2df40f0e15403b3d4aa4de7b583605b6094b39
parentb60792f5acc76cdfe34e09058893e6b6621cd9cc (diff)
downloadcoreutils-87d488c5d50982ea0e2bdf4cd1679ab27a123037.tar.xz
(gl_PREREQ_VASNPRINTF): Solaris 2.5.1 needs -lw to get the wcslen function.
-rw-r--r--m4/vasnprintf.m43
1 files changed, 3 insertions, 0 deletions
diff --git a/m4/vasnprintf.m4 b/m4/vasnprintf.m4
index b520581e0..0b405aeaf 100644
--- a/m4/vasnprintf.m4
+++ b/m4/vasnprintf.m4
@@ -51,6 +51,9 @@ AC_DEFUN([gl_PREREQ_VASNPRINTF],
AC_REQUIRE([gt_TYPE_WCHAR_T])
AC_REQUIRE([gt_TYPE_WINT_T])
AC_CHECK_FUNCS(snprintf)
+
+ # Solaris 2.5.1 needs -lw to get the wcslen function.
+ AC_SEARCH_LIBS(wcslen, [w])
])
# Prerequisites of lib/asnprintf.c.