nss-pam-ldapd commit: r1269 - nss-pam-ldapd
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
nss-pam-ldapd commit: r1269 - nss-pam-ldapd
- From: Commits of the nss-pam-ldapd project <nss-pam-ldapd-commits [at] lists.arthurdejong.org>
- To: nss-pam-ldapd-commits [at] lists.arthurdejong.org
- Reply-to: nss-pam-ldapd-users [at] lists.arthurdejong.org
- Subject: nss-pam-ldapd commit: r1269 - nss-pam-ldapd
- Date: Wed, 13 Oct 2010 23:01:17 +0200 (CEST)
Author: arthur
Date: Wed Oct 13 23:01:16 2010
New Revision: 1269
URL: http://arthurdejong.org/viewvc/nss-pam-ldapd?view=rev&revision=1269
Log:
move ethernet function checks outside nslcd-specific tests to also compile
without warnings when only compiling NSS module
Modified:
nss-pam-ldapd/configure.ac
Modified: nss-pam-ldapd/configure.ac
==============================================================================
--- nss-pam-ldapd/configure.ac Wed Oct 13 22:01:32 2010 (r1268)
+++ nss-pam-ldapd/configure.ac Wed Oct 13 23:01:16 2010 (r1269)
@@ -308,6 +308,17 @@
#include <netinet/ether.h>
#endif])
+# check for ether_aton and ether_ntoa functions
+AC_CHECK_FUNCS(ether_aton ether_ntoa ether_aton_r ether_ntoa_r)
+AC_CHECK_DECLS([ether_aton,ether_ntoa],,,[
+ #include <sys/socket.h>
+ #include <net/if.h>
+ #include <netinet/in.h>
+ #include <netinet/if_ether.h>
+ #ifdef HAVE_NETINET_ETHER_H
+ #include <netinet/ether.h>
+ #endif])
+
# check to see if socklen_t is defined
AC_CHECK_TYPE(socklen_t,,
AC_DEFINE(socklen_t,size_t,[Define to `size_t' if not defined elswhere.]),[
@@ -528,20 +539,9 @@
AC_SEARCH_LIBS(daemon,bsd)
AC_REPLACE_FUNCS(daemon)
- # replace ether_ntoa_r() and ether_aton_r() if they are not found
+ # 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)])
- # check requirements for our replacement functions
- AC_CHECK_FUNCS(ether_ntoa ether_aton)
- AC_CHECK_DECLS([ether_ntoa,ether_aton],,,[
- #include <sys/socket.h>
- #include <net/if.h>
- #include <netinet/in.h>
- #include <netinet/if_ether.h>
- #ifdef HAVE_NETINET_ETHER_H
- #include <netinet/ether.h>
- #endif])
-
# check to see if struct sockaddr_storage is defined
AC_CHECK_TYPE(struct sockaddr_storage,,
AC_DEFINE(sockaddr_storage,sockaddr_in,[Define to `sockaddr_in' if not
defined elsewhere.]),[
--
To unsubscribe send an email to
nss-pam-ldapd-commits-unsubscribe@lists.arthurdejong.org or see
http://lists.arthurdejong.org/nss-pam-ldapd-commits
- nss-pam-ldapd commit: r1269 - nss-pam-ldapd,
Commits of the nss-pam-ldapd project