All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Erwan Loaëc" <erwan.loaec@cgin.fr>
To: autofs@linux.kernel.org
Subject: autofs always requires openldap dependency
Date: Mon, 21 Feb 2011 09:51:58 +0100	[thread overview]
Message-ID: <4D6227AE.4040006@cgin.fr> (raw)

Hello,

I've noticed each time I compile autofs I need openldap headers, even if 
I use the option "--without-openldap".

The file lib/defaults.c always include ldap.h (and use it...)

It "works" if I comment these lines in include/lookup_ldap.h:

4: //#include <ldap.h>
112: //LDAP *init_ldap_connection(unsigned logopt, const char *uri, 
struct lookup_context *ctxt);
113: //int unbind_ldap_connection(unsigned logopt, LDAP *ldap, struct 
lookup_context *ctxt);

But I think it's really a dirty solution...


-- 
Erwan Loaec

                 reply	other threads:[~2011-02-21  8:51 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4D6227AE.4040006@cgin.fr \
    --to=erwan.loaec@cgin.fr \
    --cc=autofs@linux.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.