components/samba/samba36/patches/xtra-conf.in-liblber-avoid.patch
changeset 4463 0f8d88e8430f
parent 4433 d35242d8330c
equal deleted inserted replaced
4462:f6427a1e4367 4463:0f8d88e8430f
       
     1 7092513 Samba links liblber from openldap but should not do it.
       
     2 
       
     3 --- a/source3/configure.in-bkp	2011-09-19 09:34:22.632025100 -0700
       
     4 +++ b/source3/configure.in	2011-09-19 09:37:16.235176200 -0700
       
     5 @@ -3285,7 +3285,10 @@
       
     6    ##################################################################
       
     7    # we might need the lber lib on some systems. To avoid link errors
       
     8    # this test must be before the libldap test
       
     9 -  AC_CHECK_LIB_EXT(lber, LDAP_LIBS, ber_scanf)
       
    10 + # The next test should be avoided because libldap60 already have (internal)
       
    11 + # ber_scanf but the liblber from openldap is searched first so liblber
       
    12 + # is added into LDAP_LIBS
       
    13 +  #AC_CHECK_LIB_EXT(lber, LDAP_LIBS, ber_scanf)
       
    14  
       
    15    ########################################################
       
    16    # If ber_sockbuf_add_io() is available we can add