forked from abrasive/shairport
-
-
Notifications
You must be signed in to change notification settings - Fork 572
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use pkg-config to find libdaemon -- useful in FreeBSD -- and quieten …
…a few warnings in FreeBSD
- Loading branch information
Showing
5 changed files
with
26 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
# Process this file with autoconf to produce a configure script. | ||
|
||
AC_PREREQ([2.50]) | ||
AC_INIT([shairport-sync], [2.5.0.2], [[email protected]]) | ||
AC_INIT([shairport-sync], [2.5.0.3], [[email protected]]) | ||
AM_INIT_AUTOMAKE | ||
AC_CONFIG_SRCDIR([shairport.c]) | ||
AC_CONFIG_HEADERS([config.h]) | ||
|
@@ -34,7 +34,15 @@ fi | |
AC_ARG_WITH([pkg_config], | ||
[ --with-pkg-config = use pkg-config to find libraries], ,[with_pkg_config=yes]) | ||
|
||
AC_CHECK_LIB([daemon],[daemon_log], , AC_MSG_ERROR(libdaemon needed)) | ||
AC_MSG_RESULT(>>Including libdaemon) | ||
if test "x${with_pkg_config}" = xyes ; then | ||
PKG_CHECK_MODULES( | ||
[DAEMON], [libdaemon], | ||
[LIBS="${DAEMON_LIBS} ${LIBS}"]) | ||
else | ||
AC_CHECK_LIB([daemon],[daemon_fork], , AC_MSG_ERROR(libdaemon needed)) | ||
fi | ||
|
||
AC_CHECK_LIB([pthread],[pthread_create], , AC_MSG_ERROR(pthread library needed)) | ||
AC_CHECK_LIB([m],[exp], , AC_MSG_ERROR(maths library needed)) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
e052b5f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The dates on this are wrong. Actually these changes were pushed on September 20, 2015.