summaryrefslogtreecommitdiff
path: root/source3/param
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-08-06 18:32:21 +1000
committerAndrew Bartlett <abartlet@samba.org>2012-08-06 20:51:55 +1000
commit49b27203174647d66fbf6a35266d587cc9e2e5cc (patch)
tree71a9c3d53df51f4574cb91aa5006b00edd01dd10 /source3/param
parent1c7bd2b71c3cd54f3f72c34b9bbad1db2ef40722 (diff)
downloadsamba-49b27203174647d66fbf6a35266d587cc9e2e5cc.tar.gz
samba-49b27203174647d66fbf6a35266d587cc9e2e5cc.tar.bz2
samba-49b27203174647d66fbf6a35266d587cc9e2e5cc.zip
lib/param: Also enable vlp when --enable-selftest is specified
Diffstat (limited to 'source3/param')
-rw-r--r--source3/param/loadparm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index 59f74d7c8e..dc23868a99 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -397,7 +397,7 @@ static void init_printer_values(struct loadparm_service *pService)
string_set(&pService->szPrintcommand, "lp -r -P%p %s");
break;
-#if defined(DEVELOPER) || defined(ENABLE_BUILD_FARM_HACKS)
+#if defined(DEVELOPER) || defined(ENABLE_SELFTEST) || defined(ENABLE_BUILD_FARM_HACKS)
case PRINT_TEST:
case PRINT_VLP: {