mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2024-12-13 15:04:42 +00:00
CLEANUP: wurfl: use the build options list to report it
This removes one #ifdef from haproxy.c.
This commit is contained in:
parent
cdb737e5a2
commit
770042d3c6
@ -463,9 +463,6 @@ static void display_build_opts()
|
|||||||
#endif
|
#endif
|
||||||
#ifdef USE_51DEGREES
|
#ifdef USE_51DEGREES
|
||||||
printf("Built with 51Degrees support\n");
|
printf("Built with 51Degrees support\n");
|
||||||
#endif
|
|
||||||
#ifdef USE_WURFL
|
|
||||||
printf("Built with WURFL support\n");
|
|
||||||
#endif
|
#endif
|
||||||
list_for_each_entry(item, &build_opts_list, list) {
|
list_for_each_entry(item, &build_opts_list, list) {
|
||||||
puts(item->str);
|
puts(item->str);
|
||||||
|
@ -672,6 +672,7 @@ static void __wurfl_init(void)
|
|||||||
sample_register_fetches(&fetch_kws);
|
sample_register_fetches(&fetch_kws);
|
||||||
sample_register_convs(&conv_kws);
|
sample_register_convs(&conv_kws);
|
||||||
cfg_register_keywords(&wurflcfg_kws);
|
cfg_register_keywords(&wurflcfg_kws);
|
||||||
|
hap_register_build_opts("Built with WURFL support.", 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
// WURFL properties wrapper functions
|
// WURFL properties wrapper functions
|
||||||
|
Loading…
Reference in New Issue
Block a user