summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLionel Landwerlin <lionel.landwerlin@openwide.fr>2008-10-18 14:25:52 -0400
committerColin Walters <walters@verbum.org>2009-01-06 19:58:21 -0500
commita9783e8d91ca29fab09a28d4c0d654f380886059 (patch)
treeeeac3b2c1ea48b24c6376ec1a84558ea3bb09949
parentc969cce60494fa47b79bcd178a364287aefb4415 (diff)
Bug 17969: Don't test for abstract sockets if explicitly disabled
Signed-off-by: Colin Walters <walters@verbum.org>
-rw-r--r--configure.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 5e6f42fa..750c5ea4 100644
--- a/configure.in
+++ b/configure.in
@@ -815,6 +815,7 @@ AC_CHECK_FUNCS(getpeerucred getpeereid)
#### Abstract sockets
+if ! test x$enable_abstract_sockets = xno; then
AC_LANG_PUSH(C)
AC_CACHE_CHECK([abstract socket namespace],
ac_cv_have_abstract_sockets,
@@ -858,6 +859,7 @@ AC_CACHE_CHECK([abstract socket namespace],
[ac_cv_have_abstract_sockets=no]
)])
AC_LANG_POP(C)
+fi
if test x$enable_abstract_sockets = xyes; then
if test x$ac_cv_have_abstract_sockets = xno; then