add headers and prototypes to logwtmp, logout and openpty checks
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15419 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
19
configure.in
19
configure.in
@@ -292,6 +292,7 @@ AC_CHECK_HEADERS([\
|
||||
time.h \
|
||||
tmpdir.h \
|
||||
udb.h \
|
||||
util.h \
|
||||
utmp.h \
|
||||
utmpx.h \
|
||||
])
|
||||
@@ -345,9 +346,21 @@ rk_WIN32_EXPORT(BUILD_ROKEN_LIB, ROKEN_LIB_FUNCTION)
|
||||
|
||||
dnl Checks for libraries.
|
||||
|
||||
AC_FIND_FUNC_NO_LIBS(logwtmp, util)
|
||||
AC_FIND_FUNC_NO_LIBS(logout, util)
|
||||
AC_FIND_FUNC_NO_LIBS(openpty, util)
|
||||
AC_FIND_FUNC_NO_LIBS(logwtmp, util,[
|
||||
#ifdef HAVE_UTIL_H
|
||||
#include <util.h>
|
||||
#endif
|
||||
],[0,0,0])
|
||||
AC_FIND_FUNC_NO_LIBS(logout, util,[
|
||||
#ifdef HAVE_UTIL_H
|
||||
#include <util.h>
|
||||
#endif
|
||||
],[0])
|
||||
AC_FIND_FUNC_NO_LIBS(openpty, util,[
|
||||
#ifdef HAVE_UTIL_H
|
||||
#include <util.h>
|
||||
#endif
|
||||
],[0,0,0,0,0])
|
||||
|
||||
AC_FIND_FUNC_NO_LIBS(tgetent, termcap ncurses curses,[
|
||||
#ifdef HAVE_TERMCAP_H
|
||||
|
Reference in New Issue
Block a user