summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--readline/ChangeLog.gdb6
-rwxr-xr-xreadline/configure2
-rw-r--r--readline/configure.in2
3 files changed, 8 insertions, 2 deletions
diff --git a/readline/ChangeLog.gdb b/readline/ChangeLog.gdb
index 3c5a82021ab..62fa1b66139 100644
--- a/readline/ChangeLog.gdb
+++ b/readline/ChangeLog.gdb
@@ -1,3 +1,9 @@
+2005-07-03 Mark Kettenis <kettenis@gnu.org>
+
+ From Martin Simmons:
+ * configure.in: Check for getpwnam instead of getpwname.
+ * configure: Regenerate.
+
2005-05-09 Mark Mitchell <mark@codesourcery.com>
* aclocal.m4: Use AC_TRY_LINK to check for mbstate_t.
diff --git a/readline/configure b/readline/configure
index bbd1d97b78c..b9cedcd4a71 100755
--- a/readline/configure
+++ b/readline/configure
@@ -4139,7 +4139,7 @@ fi
for ac_func in fcntl kill lstat memmove putenv select setenv setlocale \
strcasecmp strpbrk tcgetattr vsnprintf isascii isxdigit \
- getpwname getpwent getpwuid
+ getpwnam getpwent getpwuid
do
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
echo "$as_me:$LINENO: checking for $ac_func" >&5
diff --git a/readline/configure.in b/readline/configure.in
index 33bc2c7a955..c436cca914a 100644
--- a/readline/configure.in
+++ b/readline/configure.in
@@ -120,7 +120,7 @@ AC_HEADER_DIRENT
AC_CHECK_FUNCS(fcntl kill lstat memmove putenv select setenv setlocale \
strcasecmp strpbrk tcgetattr vsnprintf isascii isxdigit \
- getpwname getpwent getpwuid)
+ getpwnam getpwent getpwuid)
AC_FUNC_STRCOLL