From 9830fc431babfe251ab079087b58ea55120a515d Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Wed, 11 Oct 2006 11:38:40 +0000 Subject: r19240: move the NO_CONFIG_H check to libreplace this fixes the quota detection configure and maybe more configure tests metze (This used to be commit a3a082c42ccb21cb16d2e53991808ef3224efc6c) --- source3/include/includes.h | 2 -- source3/lib/replace/replace.h | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'source3') diff --git a/source3/include/includes.h b/source3/include/includes.h index 811d0372e0..0f7b2d86d0 100644 --- a/source3/include/includes.h +++ b/source3/include/includes.h @@ -26,9 +26,7 @@ #undef SIZEOF_LONG #endif -#ifndef NO_CONFIG_H /* for some tests */ #include "lib/replace/replace.h" -#endif /* only do the C++ reserved word check when we compile to include --with-developer since too many systems diff --git a/source3/lib/replace/replace.h b/source3/lib/replace/replace.h index 8943c7d637..7a79f335e2 100644 --- a/source3/lib/replace/replace.h +++ b/source3/lib/replace/replace.h @@ -28,7 +28,9 @@ #ifndef _LIBREPLACE_REPLACE_H #define _LIBREPLACE_REPLACE_H +#ifndef NO_CONFIG_H #include "config.h" +#endif #ifdef HAVE_STANDARDS_H #include -- cgit