From: Willy Tarreau Date: Wed, 21 Dec 2016 17:50:22 +0000 (+0100) Subject: CLEANUP: da: use the build options list to report it X-Git-Tag: v1.8-dev1~243 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3dd483e727aa863fd4535b015dd61262a01ac0a9;p=thirdparty%2Fhaproxy.git CLEANUP: da: use the build options list to report it This removes one #ifdef from haproxy.c. --- diff --git a/src/da.c b/src/da.c index d15e5735a1..1dd148fdd6 100644 --- a/src/da.c +++ b/src/da.c @@ -364,4 +364,5 @@ static void __da_init(void) sample_register_fetches(&fetch_kws); sample_register_convs(&conv_kws); cfg_register_keywords(&dacfg_kws); + hap_register_build_opts("Built with DeviceAtlas support.", 0); } diff --git a/src/haproxy.c b/src/haproxy.c index 2afb3fa614..63edbd6a8d 100644 --- a/src/haproxy.c +++ b/src/haproxy.c @@ -458,9 +458,6 @@ static void display_build_opts() printf("Built with network namespace support\n"); #endif -#ifdef USE_DEVICEATLAS - printf("Built with DeviceAtlas support\n"); -#endif list_for_each_entry(item, &build_opts_list, list) { puts(item->str); }