|
From: <wow...@us...> - 2015-09-17 15:54:05
|
Revision: 586
http://sourceforge.net/p/ptpd/code/586
Author: wowczarek
Date: 2015-09-17 15:54:04 +0000 (Thu, 17 Sep 2015)
Log Message:
-----------
- added lib check for lnsl and lsocket on Solaris
to fix builds without snmp
- replaced AC_CHECK_LIB with AC_SEARCH_LIBS so that
lnsl is not included on Linux if not necessary
- added lrt check for POSIX timers: clock_gettime()
is not in lrt on FreeBSD, but POSIX timers are
Modified Paths:
--------------
trunk/configure.ac
Modified: trunk/configure.ac
===================================================================
--- trunk/configure.ac 2015-09-11 13:24:16 UTC (rev 585)
+++ trunk/configure.ac 2015-09-17 15:54:04 UTC (rev 586)
@@ -1,4 +1,3 @@
-# -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.
m4_include([m4/version.m4])
@@ -76,8 +75,11 @@
AC_SUBST(LINUX_KERNEL_INCLUDES)
# Checks for libraries.
-AC_CHECK_LIB([m], [pow])
-AC_CHECK_LIB([rt], [clock_gettime])
+AC_SEARCH_LIBS([pow], [m])
+AC_SEARCH_LIBS([clock_gettime], [rt])
+AC_SEARCH_LIBS([timer_create], [rt])
+AC_SEARCH_LIBS([connect], [socket])
+AC_SEARCH_LIBS([gethostbyname], [nsl])
# Checks for header files.
AC_HEADER_STDC
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|