mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-12-15 08:56:34 -05:00
fix a few autoconf warnings (patch by Flameeyes)
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1362 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
11b6c451b8
commit
a00c3cb9af
1 changed files with 10 additions and 1 deletions
11
configure.ac
11
configure.ac
|
|
@ -143,9 +143,18 @@ AC_HEADER_STDC
|
||||||
|
|
||||||
# POSIX
|
# POSIX
|
||||||
AC_CHECK_HEADERS([arpa/inet.h glob.h grp.h netdb.h netinet/in.h \
|
AC_CHECK_HEADERS([arpa/inet.h glob.h grp.h netdb.h netinet/in.h \
|
||||||
netinet/in_systm.h netinet/ip.h netinet/tcp.h pwd.h sched.h \
|
netinet/in_systm.h netinet/tcp.h pwd.h sched.h \
|
||||||
sys/mman.h sys/resource.h sys/select.h sys/socket.h sys/wait.h \
|
sys/mman.h sys/resource.h sys/select.h sys/socket.h sys/wait.h \
|
||||||
syslog.h])
|
syslog.h])
|
||||||
|
AC_CHECK_HEADERS([netinet/ip.h], [], [],
|
||||||
|
[#include <sys/types.h>
|
||||||
|
#if HAVE_NETINET_IN_H
|
||||||
|
# include <netinet/in.h>
|
||||||
|
#endif
|
||||||
|
#if HAVE_NETINET_IN_SYSTM_H
|
||||||
|
# include <netinet/in_systm.h>
|
||||||
|
#endif
|
||||||
|
])
|
||||||
AC_CHECK_HEADERS([regex.h], [HAVE_REGEX=1], [HAVE_REGEX=0])
|
AC_CHECK_HEADERS([regex.h], [HAVE_REGEX=1], [HAVE_REGEX=0])
|
||||||
AC_CHECK_HEADERS([sys/un.h], [HAVE_AF_UNIX=1], [HAVE_AF_UNIX=0])
|
AC_CHECK_HEADERS([sys/un.h], [HAVE_AF_UNIX=1], [HAVE_AF_UNIX=0])
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue