Bug 17969: Don't test for abstract sockets if explicitly disabled

Signed-off-by: Colin Walters <walters@verbum.org>
This commit is contained in:
Lionel Landwerlin 2008-10-18 14:25:52 -04:00 committed by Colin Walters
parent 0b17cee84d
commit 7df72201cf

View file

@ -775,6 +775,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,
@ -818,6 +819,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