diff --git a/src/plugins/select/bluegene/bg_read_config.c b/src/plugins/select/bluegene/bg_read_config.c
index 1064e502e69ab5e5aab0164506b6b31de813342d..ec3580715f6e1e0199e44bbaaf5915a751033e1a 100644
--- a/src/plugins/select/bluegene/bg_read_config.c
+++ b/src/plugins/select/bluegene/bg_read_config.c
@@ -47,8 +47,9 @@
 #include <stdlib.h>
 
 static s_p_options_t bg_conf_file_options[] = {
+#ifndef HAVE_BG_L_P
 	{"AllowSubBlockAllocations", S_P_BOOLEAN},
-#ifdef HAVE_BGL
+#elif defined HAVE_BGL
 	{"BlrtsImage", S_P_STRING},
 	{"LinuxImage", S_P_STRING},
 	{"RamDiskImage", S_P_STRING},