summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew M. Kuchling <amk@amk.ca>2000-11-29 02:44:05 (GMT)
committerAndrew M. Kuchling <amk@amk.ca>2000-11-29 02:44:05 (GMT)
commit78a14423af6f0bea5386c75c7e3794328f90b257 (patch)
tree8e3876672a343a2fbb094e9b00727bff8f30f398
parentee814bf2c9d4b4a578064e69764ed58cfc223846 (diff)
downloadcpython-78a14423af6f0bea5386c75c7e3794328f90b257.zip
cpython-78a14423af6f0bea5386c75c7e3794328f90b257.tar.gz
cpython-78a14423af6f0bea5386c75c7e3794328f90b257.tar.bz2
Patch #102469: Check for glibc's getline() extension
-rw-r--r--config.h.in3
-rwxr-xr-xconfigure2
-rw-r--r--configure.in2
3 files changed, 5 insertions, 2 deletions
diff --git a/config.h.in b/config.h.in
index 17a1624..6b503fe 100644
--- a/config.h.in
+++ b/config.h.in
@@ -341,6 +341,9 @@
/* Define if you have the gethostbyname function. */
#undef HAVE_GETHOSTBYNAME
+/* Define if you have the getline function. */
+#undef HAVE_GETLINE
+
/* Define if you have the getlogin function. */
#undef HAVE_GETLOGIN
diff --git a/configure b/configure
index 1942b32..a68176e 100755
--- a/configure
+++ b/configure
@@ -3962,7 +3962,7 @@ fi
# checks for library functions
for ac_func in alarm chown clock confstr ctermid ctermid_r execv \
flock fork fsync fdatasync fpathconf ftime ftruncate \
- getgroups getlogin getpeername getpid getpwent getwd \
+ getgroups getline getlogin getpeername getpid getpwent getwd \
kill link lstat mkfifo mktime mremap \
nice pathconf pause plock poll pthread_init \
putenv readlink \
diff --git a/configure.in b/configure.in
index a6f488d..bf21e51 100644
--- a/configure.in
+++ b/configure.in
@@ -956,7 +956,7 @@ fi
# checks for library functions
AC_CHECK_FUNCS(alarm chown clock confstr ctermid ctermid_r execv \
flock fork fsync fdatasync fpathconf ftime ftruncate \
- getgroups getlogin getpeername getpid getpwent getwd \
+ getgroups getline getlogin getpeername getpid getpwent getwd \
kill link lstat mkfifo mktime mremap \
nice pathconf pause plock poll pthread_init \
putenv readlink \