]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
CLEANUP: 51d: use the build options list to report it
authorWilly Tarreau <w@1wt.eu>
Wed, 21 Dec 2016 17:49:29 +0000 (18:49 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 21 Dec 2016 20:30:54 +0000 (21:30 +0100)
This removes one #ifdef from haproxy.c.

src/51d.c
src/haproxy.c

index 74b7928e724a6b4541aa8893f52a676836ba9e00..a44b40be2544784ae6f1d7c95ccfc4ee3c1f6a5a 100644 (file)
--- 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);
 }
index 57ea7a1a11e6583b570cd57103a4e5553f405c37..2afb3fa6147d01b62482239c361506fde760ae08 100644 (file)
@@ -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);