summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/getpass1
-rw-r--r--modules/strdup1
-rw-r--r--modules/strdup-posix25
-rw-r--r--modules/string1
4 files changed, 27 insertions, 1 deletions
diff --git a/modules/getpass b/modules/getpass
index 32202197c7..7dba7e6bb2 100644
--- a/modules/getpass
+++ b/modules/getpass
@@ -10,6 +10,7 @@ Depends-on:
fseeko
getline
stdbool
+strdup-posix
configure.ac:
gl_FUNC_GETPASS
diff --git a/modules/strdup b/modules/strdup
index ac5c5f4bad..8a2eaf665a 100644
--- a/modules/strdup
+++ b/modules/strdup
@@ -7,7 +7,6 @@ m4/strdup.m4
Depends-on:
string
-malloc-posix
configure.ac:
gl_FUNC_STRDUP
diff --git a/modules/strdup-posix b/modules/strdup-posix
new file mode 100644
index 0000000000..4a474881b3
--- /dev/null
+++ b/modules/strdup-posix
@@ -0,0 +1,25 @@
+Description:
+strdup() function: duplicate a string.
+
+Files:
+lib/strdup.c
+m4/strdup.m4
+
+Depends-on:
+string
+malloc-posix
+
+configure.ac:
+gl_FUNC_STRDUP_POSIX
+gl_STRING_MODULE_INDICATOR([strdup])
+
+Makefile.am:
+
+Include:
+<string.h>
+
+License:
+LGPLv2+
+
+Maintainer:
+all, glibc
diff --git a/modules/string b/modules/string
index bed47ce07f..6283f9eb61 100644
--- a/modules/string
+++ b/modules/string
@@ -76,6 +76,7 @@ string.h: string.in.h
-e 's|@''HAVE_STRVERSCMP''@|$(HAVE_STRVERSCMP)|g' \
-e 's|@''REPLACE_MEMMEM''@|$(REPLACE_MEMMEM)|g' \
-e 's|@''REPLACE_STRCASESTR''@|$(REPLACE_STRCASESTR)|g' \
+ -e 's|@''REPLACE_STRDUP''@|$(REPLACE_STRDUP)|g' \
-e 's|@''REPLACE_STRSTR''@|$(REPLACE_STRSTR)|g' \
-e 's|@''REPLACE_STRERROR''@|$(REPLACE_STRERROR)|g' \
-e 's|@''REPLACE_STRSIGNAL''@|$(REPLACE_STRSIGNAL)|g' \