From 770042d3c642292947545696cb5a16c0df839ef4 Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Wed, 21 Dec 2016 18:47:13 +0100 Subject: [PATCH] CLEANUP: wurfl: use the build options list to report it This removes one #ifdef from haproxy.c. --- src/haproxy.c | 3 --- src/wurfl.c | 1 + 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/haproxy.c b/src/haproxy.c index 79844a384..57ea7a1a1 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 18723a6b1..1b1765abe 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