index 8b720db..fcae10c 100644 (file) --- a/source3/wscript +++ b/source3/wscript @@ -212,6 +212,8 @@ main() { # library has been found if Options.options.with_dmapi == True and samba_dmapi_lib == '': conf.fatal('DMAPI support requested, but no suitable DMAPI library found') + elif Options.options.with_dmapi not in (True, None): + Logs.info("Skipping DMAPI tests as requested by --without-dmapi") else: conf.CHECK_HEADERS('sys/dmi.h xfs/dmapi.h sys/jfsdmapi.h sys/dmapi.h dmapi.h') conf.CHECK_CODE('''