From c23fb324eae950a912d39a0bb1287efa9b444329 Mon Sep 17 00:00:00 2001 From: Arthur de Jong Date: Fri, 18 May 2012 14:21:48 +0000 Subject: get rid of a few compiler warnings on FreeBSD git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1693 ef36b2f9-881f-0410-afb5-c4e39611909c --- configure.ac | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index a021741..d36a38f 100644 --- a/configure.ac +++ b/configure.ac @@ -273,7 +273,7 @@ AC_ARG_WITH(nss-maps, ,[ with_nss_maps="all" ]) # checks for availability of header files -AC_CHECK_HEADERS([ctype.h strings.h pthread.h fcntl.h limits.h]) +AC_CHECK_HEADERS([ctype.h strings.h pthread.h pthread_np.h fcntl.h limits.h]) AC_CHECK_HEADERS([nss.h nss_common.h grp.h shadow.h aliases.h netdb.h rpc/rpcent.h]) AC_CHECK_HEADERS([netinet/ether.h arpa/inet.h netinet/in.h]) AC_CHECK_HEADERS([nsswitch.h nss_dbdefs.h]) @@ -590,7 +590,9 @@ then # replace daemon() function if it is not on the system AC_SEARCH_LIBS(daemon,bsd) AC_REPLACE_FUNCS(daemon) - AC_CHECK_DECLS([daemon],,,[#include ]) + AC_CHECK_DECLS([daemon],,,[ + #include + #include ]) # replace ether_aton_r() and ether_ntoa_r() if they are not found AC_CHECK_FUNCS(ether_aton_r ether_ntoa_r,,[AC_LIBOBJ(ether)]) -- cgit v1.2.3