mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-12-16 08:56:40 -05:00
More fixes caused by Sun's complete inability to follow any standard
whatsoever. git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@742 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
18055e473c
commit
074b7c1df1
3 changed files with 23 additions and 2 deletions
13
configure.ac
13
configure.ac
|
|
@ -36,6 +36,16 @@ if type -p stow > /dev/null && test -d /usr/local/stow ; then
|
|||
ac_default_prefix="/usr/local/stow/${PACKAGE_NAME}-${PACKAGE_VERSION}"
|
||||
fi
|
||||
|
||||
#### Platform hacks ####
|
||||
|
||||
case $host in
|
||||
*-*-solaris* )
|
||||
AC_DEFINE(_XOPEN_SOURCE_EXTENDED, 1, Needed to get declarations for msg_control and msg_controllen on Solaris)
|
||||
AC_DEFINE(_XOPEN_SOURCE, 2, Needed to get declarations for msg_control and msg_controllen on Solaris)
|
||||
AC_DEFINE(__EXTENSIONS__, 1, Needed to get declarations for msg_control and msg_controllen on Solaris)
|
||||
;;
|
||||
esac
|
||||
|
||||
#### Checks for programs. ####
|
||||
|
||||
# CC
|
||||
|
|
@ -158,6 +168,9 @@ AC_CHECK_HEADERS([linux/input.h], [HAVE_EVDEV=1], [HAVE_EVDEV=0])
|
|||
|
||||
AM_CONDITIONAL([HAVE_EVDEV], [test "x$HAVE_EVDEV" = "x1"])
|
||||
|
||||
# Solaris
|
||||
AC_CHECK_HEADERS([sys/filio.h])
|
||||
|
||||
# Windows
|
||||
AC_CHECK_HEADERS([windows.h winsock2.h ws2tcpip.h])
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue