mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-13 13:29:58 -05:00
Move library checks to a separate section and make sure it's before
function checks. It could miss functions because they are hidden in extra libs otherwise. git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/ossman@434 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
f5a2cf1e86
commit
ff4cc6273d
1 changed files with 12 additions and 4 deletions
16
configure.ac
16
configure.ac
|
|
@ -162,16 +162,26 @@ AM_CONDITIONAL(HAVE_SIGXCPU, test "x$HAVE_SIGXCPU" = "x1")
|
|||
AC_CHECK_DEFINE([INADDR_NONE], [netinet/in.h], [],
|
||||
[AC_DEFINE([INADDR_NONE], [0xffffffff], [Define INADDR_NONE if not found in <netinet/in.h>])])
|
||||
|
||||
#### Check for functions ####
|
||||
#### Check for libs ####
|
||||
|
||||
# ISO
|
||||
AC_CHECK_LIB([m], [pow])
|
||||
|
||||
# POSIX
|
||||
AC_CHECK_LIB([rt], [sched_setscheduler])
|
||||
|
||||
# BSD
|
||||
AC_CHECK_LIB([socket], [connect])
|
||||
|
||||
# Non-standard
|
||||
AC_CHECK_LIB([iberty], [getopt_long])
|
||||
|
||||
#### Check for functions ####
|
||||
|
||||
# POSIX
|
||||
AC_FUNC_FORK
|
||||
AC_FUNC_GETGROUPS
|
||||
AC_FUNC_SELECT_ARGTYPES
|
||||
AC_CHECK_LIB([rt], [sched_setscheduler])
|
||||
AC_CHECK_FUNCS([getaddrinfo getgrgid_r getpwuid_r gettimeofday getuid \
|
||||
inet_ntop nanosleep setpgid setsid sigaction sleep])
|
||||
AC_CHECK_FUNCS([mkfifo], [HAVE_MKFIFO=1], [HAVE_MKFIFO=0])
|
||||
|
|
@ -185,14 +195,12 @@ AC_CHECK_FUNCS([readlink])
|
|||
AC_CHECK_FUNCS([ctime_r usleep])
|
||||
|
||||
# BSD
|
||||
AC_CHECK_LIB([socket], [connect])
|
||||
AC_CHECK_FUNCS([lstat])
|
||||
|
||||
# Non-standard
|
||||
|
||||
AC_CHECK_FUNCS(setresuid)
|
||||
AC_CHECK_FUNCS(setreuid)
|
||||
AC_CHECK_LIB([iberty], [getopt_long])
|
||||
|
||||
#### POSIX threads ####
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue