Commit f581db15 authored by Fred Drake's avatar Fred Drake

Remove test for getlogin_r(); the interface is not clearly defined, at

least on Solaris (sometimes it's Unix98, sometimes it conforms to an
early draft).

Properly generate config.h.in using autoheader instead of editing it
manually; thanks, Guido!
parent 3bb3e577
...@@ -215,6 +215,9 @@ ...@@ -215,6 +215,9 @@
/* Define if you have the clock function. */ /* Define if you have the clock function. */
#undef HAVE_CLOCK #undef HAVE_CLOCK
/* Define if you have the confstr function. */
#undef HAVE_CONFSTR
/* Define if you have the ctermid function. */ /* Define if you have the ctermid function. */
#undef HAVE_CTERMID #undef HAVE_CTERMID
...@@ -239,6 +242,9 @@ ...@@ -239,6 +242,9 @@
/* Define if you have the fork function. */ /* Define if you have the fork function. */
#undef HAVE_FORK #undef HAVE_FORK
/* Define if you have the fpathconf function. */
#undef HAVE_FPATHCONF
/* Define if you have the fseek64 function. */ /* Define if you have the fseek64 function. */
#undef HAVE_FSEEK64 #undef HAVE_FSEEK64
...@@ -266,17 +272,14 @@ ...@@ -266,17 +272,14 @@
/* Define if you have the getcwd function. */ /* Define if you have the getcwd function. */
#undef HAVE_GETCWD #undef HAVE_GETCWD
/* Define if you have the getpeername function. */
#undef HAVE_GETPEERNAME
/* Define if you have the getgroups function. */ /* Define if you have the getgroups function. */
#undef HAVE_GETGROUPS #undef HAVE_GETGROUPS
/* Define if you have the getlogin function. */ /* Define if you have the getlogin function. */
#undef HAVE_GETLOGIN #undef HAVE_GETLOGIN
/* Define if you have the getlogin_r function. */ /* Define if you have the getpeername function. */
#undef HAVE_GETLOGIN_R #undef HAVE_GETPEERNAME
/* Define if you have the getpgrp function. */ /* Define if you have the getpgrp function. */
#undef HAVE_GETPGRP #undef HAVE_GETPGRP
...@@ -293,18 +296,6 @@ ...@@ -293,18 +296,6 @@
/* Define if you have the getwd function. */ /* Define if you have the getwd function. */
#undef HAVE_GETWD #undef HAVE_GETWD
/* Define if you have the fpathconf function. */
#undef HAVE_FPATHCONF
/* Define if you have the pathconf function. */
#undef HAVE_PATHCONF
/* Define if you have the confstr function. */
#undef HAVE_CONFSTR
/* Define if you have the sysconf function. */
#undef HAVE_SYSCONF
/* Define if you have the hypot function. */ /* Define if you have the hypot function. */
#undef HAVE_HYPOT #undef HAVE_HYPOT
...@@ -329,6 +320,9 @@ ...@@ -329,6 +320,9 @@
/* Define if you have the nice function. */ /* Define if you have the nice function. */
#undef HAVE_NICE #undef HAVE_NICE
/* Define if you have the pathconf function. */
#undef HAVE_PATHCONF
/* Define if you have the pause function. */ /* Define if you have the pause function. */
#undef HAVE_PAUSE #undef HAVE_PAUSE
...@@ -395,6 +389,9 @@ ...@@ -395,6 +389,9 @@
/* Define if you have the symlink function. */ /* Define if you have the symlink function. */
#undef HAVE_SYMLINK #undef HAVE_SYMLINK
/* Define if you have the sysconf function. */
#undef HAVE_SYSCONF
/* Define if you have the tcgetpgrp function. */ /* Define if you have the tcgetpgrp function. */
#undef HAVE_TCGETPGRP #undef HAVE_TCGETPGRP
......
This diff is collapsed.
...@@ -681,8 +681,7 @@ LIBS="$LIBS -ldl -ldld"], AC_MSG_RESULT(no)) ...@@ -681,8 +681,7 @@ LIBS="$LIBS -ldl -ldld"], AC_MSG_RESULT(no))
# checks for library functions # checks for library functions
AC_CHECK_FUNCS(alarm chown clock confstr ctermid ctermid_r dlopen execv \ AC_CHECK_FUNCS(alarm chown clock confstr ctermid ctermid_r dlopen execv \
flock fork fsync fdatasync fpathconf ftime ftruncate \ flock fork fsync fdatasync fpathconf ftime ftruncate \
getgroups getlogin getlogin_r getpeername getpgrp getpid getpwent \ getgroups getlogin getpeername getpgrp getpid getpwent gettimeofday getwd \
gettimeofday getwd \
kill link lstat mkfifo mktime nice pathconf pause plock pthread_init \ kill link lstat mkfifo mktime nice pathconf pause plock pthread_init \
putenv readlink \ putenv readlink \
select setgid setlocale setuid setsid setpgid setpgrp setvbuf \ select setgid setlocale setuid setsid setpgid setpgrp setvbuf \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment