From: Willy Tarreau Date: Wed, 21 Dec 2016 17:49:29 +0000 (+0100) Subject: CLEANUP: 51d: use the build options list to report it X-Git-Tag: v1.8-dev1~244 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b5e58d6ba1714e08d7470ce5f8a57de8450c6359;p=thirdparty%2Fhaproxy.git 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 74b7928e72..a44b40be25 100644 --- a/src/51d.c +++ b/src/51d.c @@ -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); } diff --git a/src/haproxy.c b/src/haproxy.c index 57ea7a1a11..2afb3fa614 100644 --- a/src/haproxy.c +++ b/src/haproxy.c @@ -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);