From 3f05eb7fcb71942c90fa7d5796c3d18ed62443cf Mon Sep 17 00:00:00 2001 From: Benoit Mortier Date: Thu, 2 Dec 2004 21:23:50 +0000 Subject: --disable-nls throws an error on check_dns, check_procs and check_ldap without this patch. git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@981 f882894a-f735-0410-b71e-b25c423dba1c --- plugins/check_ldap.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'plugins/check_ldap.c') diff --git a/plugins/check_ldap.c b/plugins/check_ldap.c index 9c41cc30..b12a0edb 100644 --- a/plugins/check_ldap.c +++ b/plugins/check_ldap.c @@ -335,6 +335,13 @@ print_usage (void) Usage: %s -H -b [-p ] [-a ] [-D ]\n\ [-P ] [-w ] [-c ] [-t timeout]%s\n\ (Note: all times are in seconds.)\n"), - progname, (HAVE_LDAP_SET_OPTION ? "[-2|-3] [-4|-6]" : "")); + progname, +#ifdef HAVE_LDAP_SET_OPTION + " [-2|-3] [-4|-6]" +#else + "" +#endif + ); + printf (_(UT_HLP_VRS), progname, progname); } -- cgit v1.2.3