only test for db.h with using berkeley_db
remember to link with LIB_tgetent when checking for el_init add xnlock git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7156 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
12
configure.in
12
configure.in
@@ -234,6 +234,13 @@ AC_STRUCT_TM
|
|||||||
dnl Checks for header files.
|
dnl Checks for header files.
|
||||||
AC_HEADER_STDC
|
AC_HEADER_STDC
|
||||||
|
|
||||||
|
if test "$berkeley_db"; then
|
||||||
|
AC_CHECK_HEADERS([ \
|
||||||
|
db.h \
|
||||||
|
db_185.h \
|
||||||
|
])
|
||||||
|
fi
|
||||||
|
|
||||||
AC_CHECK_HEADERS([\
|
AC_CHECK_HEADERS([\
|
||||||
arpa/ftp.h \
|
arpa/ftp.h \
|
||||||
arpa/inet.h \
|
arpa/inet.h \
|
||||||
@@ -243,8 +250,6 @@ AC_CHECK_HEADERS([\
|
|||||||
bsdsetjmp.h \
|
bsdsetjmp.h \
|
||||||
crypt.h \
|
crypt.h \
|
||||||
curses.h \
|
curses.h \
|
||||||
db.h \
|
|
||||||
db_185.h \
|
|
||||||
dbm.h \
|
dbm.h \
|
||||||
dirent.h \
|
dirent.h \
|
||||||
dlfcn.h \
|
dlfcn.h \
|
||||||
@@ -721,7 +726,7 @@ dnl
|
|||||||
|
|
||||||
dnl el_init
|
dnl el_init
|
||||||
|
|
||||||
AC_FIND_FUNC_NO_LIBS(el_init, edit)
|
AC_FIND_FUNC_NO_LIBS(el_init, edit, [], [], [$LIB_tgetent])
|
||||||
if test "$ac_cv_func_el_init" = yes ; then
|
if test "$ac_cv_func_el_init" = yes ; then
|
||||||
AC_CACHE_CHECK(for four argument el_init, ac_cv_func_el_init_four,[
|
AC_CACHE_CHECK(for four argument el_init, ac_cv_func_el_init_four,[
|
||||||
AC_TRY_COMPILE([#include <stdio.h>
|
AC_TRY_COMPILE([#include <stdio.h>
|
||||||
@@ -861,6 +866,7 @@ AC_OUTPUT(Makefile \
|
|||||||
appl/push/Makefile \
|
appl/push/Makefile \
|
||||||
appl/rsh/Makefile \
|
appl/rsh/Makefile \
|
||||||
appl/su/Makefile \
|
appl/su/Makefile \
|
||||||
|
appl/xnlock/Makefile \
|
||||||
appl/telnet/Makefile \
|
appl/telnet/Makefile \
|
||||||
appl/telnet/libtelnet/Makefile \
|
appl/telnet/libtelnet/Makefile \
|
||||||
appl/telnet/telnet/Makefile \
|
appl/telnet/telnet/Makefile \
|
||||||
|
Reference in New Issue
Block a user