r19240: move the NO_CONFIG_H check to libreplace
authorStefan Metzmacher <metze@samba.org>
Wed, 11 Oct 2006 11:38:40 +0000 (11:38 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:15:24 +0000 (12:15 -0500)
this fixes the quota detection configure and maybe more
configure tests

metze
(This used to be commit a3a082c42ccb21cb16d2e53991808ef3224efc6c)

source3/include/includes.h
source3/lib/replace/replace.h

index 811d0372e05e33b9f9842e94118c8565484bbf72..0f7b2d86d0a1a12ac27787eaa226a0c7b574f56c 100644 (file)
@@ -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
index 8943c7d637434a5776e3935d6c0d39ff8edfab0a..7a79f335e2790dda2c238ba7d125e625c94fd1bb 100644 (file)
@@ -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 <standards.h>