changeset 11839:8cf47a359213

configure: If fd passing check fails, abort
author Timo Sirainen <tss@iki.fi>
date Fri, 16 Jul 2010 13:46:57 +0100
parents fd79394f7652
children 38fcf81cc9e0
files configure.in
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/configure.in	Fri Jul 16 12:56:50 2010 +0100
+++ b/configure.in	Fri Jul 16 13:46:57 2010 +0100
@@ -1293,6 +1293,9 @@
 if test $i_cv_fd_passing = buggy_cmsg_macros; then
   AC_DEFINE(BUGGY_CMSG_MACROS,, Define if you have buggy CMSG macros)
 fi
+if test $i_cv_fd_passing = no; then
+  AC_ERROR([fd passing is required for Dovecot to work])
+fi
 
 dnl * Solaris compatible sendfile()
 AC_CHECK_LIB(sendfile, sendfile, [