Doc update.
[pspp] / modules / strdup
index ac5c5f4bad6ddb1943576e48af66f74df66655c1..619ec01e930654760c174290e550e1896a1a7abb 100644 (file)
@@ -1,16 +1,25 @@
 Description:
 strdup() function: duplicate a string.
 
+Status:
+obsolete
+
+Notice:
+This module is obsolete. But you may want to use the strdup-posix module.
+
 Files:
 lib/strdup.c
 m4/strdup.m4
 
 Depends-on:
 string
-malloc-posix
 
 configure.ac:
 gl_FUNC_STRDUP
+if test $ac_cv_func_strdup = no; then
+  AC_LIBOBJ([strdup])
+  gl_PREREQ_STRDUP
+fi
 gl_STRING_MODULE_INDICATOR([strdup])
 
 Makefile.am: