NEWS.stable: log cherry-pick [e446f25]->[c092018] relocatable-shell: Update suggested...
[gnulib.git] / modules / strdup
index a421299..619ec01 100644 (file)
@@ -1,23 +1,34 @@
 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.h
 lib/strdup.c
 m4/strdup.m4
 
 Depends-on:
+string
 
 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:
 
 Include:
-"strdup.h"
+<string.h>
 
 License:
-LGPL
+LGPLv2+
 
 Maintainer:
 all, glibc