samba-cvs.cvs
[Top] [All Lists]

svn commit: samba r18053 - in branches/SAMBA_4_0/source/lib/replace: .

Subject: svn commit: samba r18053 - in branches/SAMBA_4_0/source/lib/replace: .
From:
Date: Tue, 5 Sep 2006 01:50:52 +0000 GMT
Author: tridge
Date: 2006-09-05 01:50:52 +0000 (Tue, 05 Sep 2006)
New Revision: 18053

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

Log:

the sig_atomic_t test needs to be in libreplace for getpass.c to
compile on hpux

Modified:
   branches/SAMBA_4_0/source/lib/replace/config.m4


Changeset:
Modified: branches/SAMBA_4_0/source/lib/replace/config.m4
===================================================================
--- branches/SAMBA_4_0/source/lib/replace/config.m4     2006-09-04 22:58:55 UTC 
(rev 18052)
+++ branches/SAMBA_4_0/source/lib/replace/config.m4     2006-09-05 01:50:52 UTC 
(rev 18053)
@@ -192,3 +192,16 @@
 # Check prerequisites
 AC_CHECK_FUNCS([memset printf syslog], [], 
                           [ AC_MSG_ERROR([Required function not found])])
+
+AC_CACHE_CHECK([for sig_atomic_t type],samba_cv_sig_atomic_t, [
+    AC_TRY_COMPILE([
+#include <sys/types.h>
+#if STDC_HEADERS
+#include <stdlib.h>
+#include <stddef.h>
+#endif
+#include <signal.h>],[sig_atomic_t i = 0],
+       samba_cv_sig_atomic_t=yes,samba_cv_sig_atomic_t=no)])
+if test x"$samba_cv_sig_atomic_t" = x"yes"; then
+   AC_DEFINE(HAVE_SIG_ATOMIC_T_TYPE,1,[Whether we have the atomic_t variable 
type])
+fi

<Prev in Thread] Current Thread [Next in Thread>
  • svn commit: samba r18053 - in branches/SAMBA_4_0/source/lib/replace: ., tridge <=