Author: jelmer
Date: 2006-06-15 14:35:39 +0000 (Thu, 15 Jun 2006)
New Revision: 32

WebSVN: 
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=smb-build&rev=32

Log:
Fix function checks, bail out if ucontext.h isn't found (so 
we can easily see which buildfarm hosts don't have it)

Modified:
   trunk/build/m4/rewrite.m4


Changeset:
Modified: trunk/build/m4/rewrite.m4
===================================================================
--- trunk/build/m4/rewrite.m4   2006-06-15 14:02:18 UTC (rev 31)
+++ trunk/build/m4/rewrite.m4   2006-06-15 14:35:39 UTC (rev 32)
@@ -68,7 +68,9 @@
 AC_CHECK_HEADERS(nss.h nss_common.h ns_api.h sys/security.h 
security/pam_appl.h)
 AC_CHECK_HEADERS(sys/capability.h syscall.h sys/syscall.h)
 AC_CHECK_HEADERS(sys/acl.h)
-AC_CHECK_HEADERS(ucontext.h)
+AC_CHECK_HEADERS(ucontext.h, [],
+                               AC_MSG_ERROR([no ucontext])
+                                )
 
 AC_TYPE_SIGNAL
 AC_TYPE_UID_T
@@ -199,7 +201,7 @@
 
 AC_CHECK_FUNCS(pread pwrite)
 
-AC_CHECK_FUNCS(getcontext, setcontext, makecontext, swapcontext)
+AC_CHECK_FUNCS(getcontext setcontext makecontext swapcontext)
 
 #####################################
 # we might need the resolv library on some systems

Reply via email to