From b7477fb3881ac4490da040b054094a865128b951 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 6 Sep 2006 00:35:29 +0000 Subject: r18117: first steps in making samba4 use libreplace (This used to be commit c079cedb084d621c5a0aac59310b237ba375df20) --- source4/include/includes.h | 3 +-- source4/include/system/config.m4 | 12 ------------ source4/include/system/wait.h | 7 ------- 3 files changed, 1 insertion(+), 21 deletions(-) (limited to 'source4/include') diff --git a/source4/include/includes.h b/source4/include/includes.h index 6252a59c2f..37661aaaa8 100644 --- a/source4/include/includes.h +++ b/source4/include/includes.h @@ -22,7 +22,7 @@ */ #ifndef NO_CONFIG_H /* for some tests */ -#include "config.h" +#include "replace.h" #endif #include "local.h" @@ -90,7 +90,6 @@ _PUBLIC_ void smb_panic(const char *why) NORETURN_ATTRIBUTE; #endif #define _PRINTF_ATTRIBUTE(a1, a2) PRINTF_ATTRIBUTE(a1, a2) -#include "lib/replace/replace.h" /* Lists, trees, caching, database... */ #include "talloc/talloc.h" diff --git a/source4/include/system/config.m4 b/source4/include/system/config.m4 index 8e7448bbe4..4d66317a5e 100644 --- a/source4/include/system/config.m4 +++ b/source4/include/system/config.m4 @@ -11,18 +11,6 @@ AC_HEADER_TIME # wait AC_HEADER_SYS_WAIT -AC_CACHE_CHECK([for sig_atomic_t type],samba_cv_sig_atomic_t, [ - AC_TRY_COMPILE([ -#include -#if STDC_HEADERS -#include -#include -#endif -#include ],[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 # capability AC_CHECK_HEADERS(sys/capability.h) diff --git a/source4/include/system/wait.h b/source4/include/system/wait.h index 543233ce82..dc129ac108 100644 --- a/source4/include/system/wait.h +++ b/source4/include/system/wait.h @@ -24,13 +24,6 @@ #include #endif -/* - * Define additional missing types - */ -#ifndef HAVE_SIG_ATOMIC_T_TYPE -typedef int sig_atomic_t; -#endif - #ifndef SIGCLD #define SIGCLD SIGCHLD #endif -- cgit