CLEANUP: 51d: use the build options list to report it
This removes one #ifdef from haproxy.c.
diff --git a/src/51d.c b/src/51d.c
index 74b7928..a44b40b 100644
--- a/src/51d.c
+++ b/src/51d.c
@@ -648,4 +648,5 @@
sample_register_fetches(&sample_fetch_keywords);
sample_register_convs(&conv_kws);
cfg_register_keywords(&_51dcfg_kws);
+ hap_register_build_opts("Built with 51Degrees support.", 0);
}
diff --git a/src/haproxy.c b/src/haproxy.c
index 57ea7a1..2afb3fa 100644
--- a/src/haproxy.c
+++ b/src/haproxy.c
@@ -461,9 +461,6 @@
#ifdef USE_DEVICEATLAS
printf("Built with DeviceAtlas support\n");
#endif
-#ifdef USE_51DEGREES
- printf("Built with 51Degrees support\n");
-#endif
list_for_each_entry(item, &build_opts_list, list) {
puts(item->str);
}