strdup: undeprecate, IRIX 6.5 needs it
[gnulib.git] / modules / strdup
index c124b0b..fe2cd7f 100644 (file)
@@ -2,21 +2,27 @@ Description:
 strdup() function: duplicate a string.
 
 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:
-lib_SOURCES += strdup.h
 
 Include:
-"strdup.h"
+<string.h>
+
+License:
+LGPLv2+
 
 Maintainer:
 all, glibc
-