Bug 17969: Don't test for abstract sockets if explicitly disabled
authorLionel Landwerlin <lionel.landwerlin@openwide.fr>
Sat, 18 Oct 2008 18:25:52 +0000 (14:25 -0400)
committerColin Walters <walters@verbum.org>
Tue, 6 Jan 2009 23:26:39 +0000 (18:26 -0500)
Signed-off-by: Colin Walters <walters@verbum.org>
configure.in

index f429ce6..e170df0 100644 (file)
@@ -811,6 +811,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,
@@ -854,6 +855,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