CLEANUP: auth: use the build options list to report its support

This removes 1 #ifdef from haproxy.c.
diff --git a/src/auth.c b/src/auth.c
index 9a988a1..b041889 100644
--- a/src/auth.c
+++ b/src/auth.c
@@ -25,6 +25,7 @@
 #include <string.h>
 #include <unistd.h>
 
+#include <types/global.h>
 #include <common/config.h>
 #include <common/errors.h>
 
@@ -294,3 +295,9 @@
 	}
 	return NULL;
 }
+
+__attribute__((constructor))
+static void __auth_init(void)
+{
+	hap_register_build_opts("Encrypted password support via crypt(3): yes", 0);
+}
diff --git a/src/haproxy.c b/src/haproxy.c
index 074cc5b..cd537ac 100644
--- a/src/haproxy.c
+++ b/src/haproxy.c
@@ -325,14 +325,6 @@
 	       "\n\n",
 	       DEFAULT_MAXCONN, BUFSIZE, MAXREWRITE, MAX_POLL_EVENTS);
 
-	printf("Encrypted password support via crypt(3): "
-#ifdef CONFIG_HAP_CRYPT
-		"yes"
-#else
-		"no"
-#endif
-		"\n");
-
 	list_for_each_entry(item, &build_opts_list, list) {
 		puts(item->str);
 	}