[polypaudio-commits] r460 - /trunk/configure.ac
svnmailer-noreply at 0pointer.de
svnmailer-noreply at 0pointer.de
Wed Jan 25 09:25:29 PST 2006
Author: ossman
Date: Wed Jan 25 18:25:28 2006
New Revision: 460
URL: http://0pointer.de/cgi-bin/viewcvs.cgi?rev=460&root=polypaudio&view=rev
Log:
Use AC_SEARCH_LIBS instead of AC_CHECK_LIBS since it is a lot smarter and
doesn't add unnecessary libs.
Modified:
trunk/configure.ac
Modified: trunk/configure.ac
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/trunk/configure.ac?rev=460&root=polypaudio&r1=459&r2=460&view=diff
==============================================================================
--- trunk/configure.ac (original)
+++ trunk/configure.ac Wed Jan 25 18:25:28 2006
@@ -185,13 +185,13 @@
#### Check for libs ####
# ISO
-AC_CHECK_LIB([m], [pow])
+AC_SEARCH_LIBS([pow], [m])
# POSIX
-AC_CHECK_LIB([rt], [sched_setscheduler])
+AC_SEARCH_LIBS([sched_setscheduler], [rt])
# BSD
-AC_CHECK_LIB([socket], [connect])
+AC_SEARCH_LIBS([connect], [socket])
# Non-standard
@@ -258,7 +258,7 @@
AC_HELP_STRING([--without-caps],[Omit support for POSIX capabilities.]))
if test "x${with_caps}" != "xno"; then
- AC_CHECK_LIB(cap, cap_init, [CAP_LIBS='-lcap'], [CAP_LIBS=''])
+ AC_SEARCH_LIBS([cap_init], [cap], [CAP_LIBS='-lcap'], [CAP_LIBS=''])
AC_CHECK_HEADERS([sys/capability.h])
fi
AC_SUBST(CAP_LIBS)
More information about the pulseaudio-commits
mailing list