svn commit: samba r18053 - in
branches/SAMBA_4_0/source/lib/replace: .
tridge at samba.org
tridge at samba.org
Tue Sep 5 01:50:52 GMT 2006
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
More information about the samba-cvs
mailing list