mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-12-15 08:56:34 -05:00
build-sys: Use AX_CHECK_DEFINE macro from autoconf archive
It has no new functionality over the existing macro that is relevant for us, but it is good to have use a macro with a clearly defined upstream.
This commit is contained in:
parent
2ae6f88cca
commit
ee9da923e5
3 changed files with 95 additions and 16 deletions
|
|
@ -403,13 +403,13 @@ AC_TYPE_UID_T
|
|||
AC_CHECK_DECLS(environ)
|
||||
|
||||
# SIGXCPU
|
||||
AC_CHECK_DEFINE([SIGXCPU], [signal.h], [HAVE_SIGXCPU=1], [HAVE_SIGXCPU=0])
|
||||
AX_CHECK_DEFINE([signal.h], [SIGXCPU], [HAVE_SIGXCPU=1], [HAVE_SIGXCPU=0])
|
||||
AS_IF([test "x$HAVE_SIGXCPU" = "x1"], AC_DEFINE([HAVE_SIGXCPU], 1, [Have SIGXCPU?]))
|
||||
AM_CONDITIONAL(HAVE_SIGXCPU, test "x$HAVE_SIGXCPU" = "x1")
|
||||
|
||||
# INADDR_NONE, Solaris lacks this
|
||||
AC_CHECK_DEFINE([INADDR_NONE], [netinet/in.h], [],
|
||||
[AC_CHECK_DEFINE([INADDR_NONE], [winsock2.h], [],
|
||||
AX_CHECK_DEFINE([netinet/in.h], [INADDR_NONE], [],
|
||||
[AX_CHECK_DEFINE([winsock2.h], [INADDR_NONE], [],
|
||||
[AC_DEFINE([INADDR_NONE], [0xffffffff], [Define INADDR_NONE if not found in <netinet/in.h>])])])
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue