CLEANUP: wurfl: 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:47:13 +01:00
parent cdb737e5a2
commit 770042d3c6
2 changed files with 1 additions and 3 deletions

View File

@ -463,9 +463,6 @@ static void display_build_opts()
#endif
#ifdef USE_51DEGREES
printf("Built with 51Degrees support\n");
#endif
#ifdef USE_WURFL
printf("Built with WURFL support\n");
#endif
list_for_each_entry(item, &build_opts_list, list) {
puts(item->str);

View File

@ -672,6 +672,7 @@ static void __wurfl_init(void)
sample_register_fetches(&fetch_kws);
sample_register_convs(&conv_kws);
cfg_register_keywords(&wurflcfg_kws);
hap_register_build_opts("Built with WURFL support.", 0);
}
// WURFL properties wrapper functions