summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorMaarten Bosmans <mkbosmans@gmail.com>2011-06-15 18:49:22 +0200
committerMaarten Bosmans <mkbosmans@gmail.com>2011-06-20 16:01:38 +0200
commitee9da923e5b29c9ee304c416e7db6e7274ad1d0b (patch)
treeee42a845144d6ad6b9be33a2d59f954e95d443ff /configure.ac
parent2ae6f88ccaa8b3018ac24c83dae04b094e0ba1e3 (diff)
downloadpulseaudio-panda-ee9da923e5b29c9ee304c416e7db6e7274ad1d0b.tar.gz
pulseaudio-panda-ee9da923e5b29c9ee304c416e7db6e7274ad1d0b.tar.bz2
pulseaudio-panda-ee9da923e5b29c9ee304c416e7db6e7274ad1d0b.zip
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.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac6
1 files changed, 3 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index a140d0ba..72f44a4b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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>])])])