summaryrefslogtreecommitdiff
path: root/source3/modules
diff options
context:
space:
mode:
Diffstat (limited to 'source3/modules')
-rw-r--r--source3/modules/getdate.h2
-rw-r--r--source3/modules/wscript_build8
2 files changed, 5 insertions, 5 deletions
diff --git a/source3/modules/getdate.h b/source3/modules/getdate.h
index 93d95ddde0..80b4a9875b 100644
--- a/source3/modules/getdate.h
+++ b/source3/modules/getdate.h
@@ -13,7 +13,7 @@
You should have received a copy of the GNU General Public License
along with this program; if not, see <http://www.gnu.org/licenses/>. */
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
diff --git a/source3/modules/wscript_build b/source3/modules/wscript_build
index 3b257bcf66..b912b8c1b6 100644
--- a/source3/modules/wscript_build
+++ b/source3/modules/wscript_build
@@ -188,8 +188,8 @@ bld.SAMBA3_MODULE('vfs_posix_eadb',
source='vfs_posix_eadb.c',
deps='tdb-wrap posix_eadb',
init_function='',
- internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_posix_eadb'),
- enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_posix_eadb'))
+ internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_posix_eadb') and bld.AD_DC_BUILD_IS_ENABLED(),
+ enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_posix_eadb') and bld.AD_DC_BUILD_IS_ENABLED())
bld.SAMBA3_MODULE('vfs_posixacl',
subsystem='vfs',
@@ -457,8 +457,8 @@ bld.SAMBA3_MODULE('vfs_dfs_samba4',
source='vfs_dfs_samba4.c',
deps='samba-util dfs_server_ad samdb tevent',
init_function='',
- internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_dfs_samba4'),
- enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_dfs_samba4'))
+ internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_dfs_samba4') and bld.AD_DC_BUILD_IS_ENABLED(),
+ enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_dfs_samba4') and bld.AD_DC_BUILD_IS_ENABLED())
PERFCOUNT_TEST_SRC = 'perfcount_test.c'