From: Willy Tarreau Date: Wed, 21 Dec 2016 17:47:13 +0000 (+0100) Subject: CLEANUP: wurfl: use the build options list to report it X-Git-Tag: v1.8-dev1~245 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=770042d3c642292947545696cb5a16c0df839ef4;p=thirdparty%2Fhaproxy.git CLEANUP: wurfl: use the build options list to report it This removes one #ifdef from haproxy.c. --- diff --git a/src/haproxy.c b/src/haproxy.c index 79844a3849..57ea7a1a11 100644 --- a/src/haproxy.c +++ b/src/haproxy.c @@ -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); diff --git a/src/wurfl.c b/src/wurfl.c index 18723a6b10..1b1765abea 100644 --- a/src/wurfl.c +++ b/src/wurfl.c @@ -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