From b5e58d6ba1714e08d7470ce5f8a57de8450c6359 Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Wed, 21 Dec 2016 18:49:29 +0100 Subject: [PATCH] CLEANUP: 51d: use the build options list to report it This removes one #ifdef from haproxy.c. --- src/51d.c | 1 + src/haproxy.c | 3 --- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/51d.c b/src/51d.c index 74b7928e7..a44b40be2 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 57ea7a1a1..2afb3fa61 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);