Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 78a1442

Browse files
committed
Patch #102469: Check for glibc's getline() extension
1 parent ee814bf commit 78a1442

3 files changed

Lines changed: 5 additions & 2 deletions

File tree

config.h.in

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -341,6 +341,9 @@
341341
/* Define if you have the gethostbyname function. */
342342
#undef HAVE_GETHOSTBYNAME
343343

344+
/* Define if you have the getline function. */
345+
#undef HAVE_GETLINE
346+
344347
/* Define if you have the getlogin function. */
345348
#undef HAVE_GETLOGIN
346349

configure

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3962,7 +3962,7 @@ fi
39623962
# checks for library functions
39633963
for ac_func in alarm chown clock confstr ctermid ctermid_r execv \
39643964
flock fork fsync fdatasync fpathconf ftime ftruncate \
3965-
getgroups getlogin getpeername getpid getpwent getwd \
3965+
getgroups getline getlogin getpeername getpid getpwent getwd \
39663966
kill link lstat mkfifo mktime mremap \
39673967
nice pathconf pause plock poll pthread_init \
39683968
putenv readlink \

configure.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -956,7 +956,7 @@ fi
956956
# checks for library functions
957957
AC_CHECK_FUNCS(alarm chown clock confstr ctermid ctermid_r execv \
958958
flock fork fsync fdatasync fpathconf ftime ftruncate \
959-
getgroups getlogin getpeername getpid getpwent getwd \
959+
getgroups getline getlogin getpeername getpid getpwent getwd \
960960
kill link lstat mkfifo mktime mremap \
961961
nice pathconf pause plock poll pthread_init \
962962
putenv readlink \

0 commit comments

Comments
 (0)