CLEANUP: 51d: use the build options list to report it

This removes one #ifdef from haproxy.c.
This commit is contained in:
Willy Tarreau 2016-12-21 18:49:29 +01:00
parent 770042d3c6
commit b5e58d6ba1
2 changed files with 1 additions and 3 deletions

View File

@ -648,4 +648,5 @@ static void __51d_init(void)
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);
}

View File

@ -460,9 +460,6 @@ static void display_build_opts()
#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);