Changeset 265

Show
Ignore:
Timestamp:
06/07/07 11:09:20 (17 months ago)
Author:
smoku
Message:

Keeping garbage out of LIBS variable. Fixes #95

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/configure.ac

    r216 r265  
    574574                                              AC_MSG_RESULT(no))], 
    575575                                AC_MSG_RESULT(no)) 
    576                 if test "x-$have_db_version" = "x-" ; then 
    577                     LIBS="$save_libs" 
    578                 fi 
     576                LIBS="$save_libs" 
    579577            fi 
    580578        done 
     
    643641if test "x-$want_ldap" = "x-yes" ; then 
    644642    AC_CHECK_HEADERS(lber.h ldap.h) 
     643    save_libs="$LIBS" 
    645644    if test "x-$ac_cv_header_ldap_h" = "x-yes" -a "x-$ac_cv_header_lber_h" = "x-yes" ; then 
    646645        AC_CHECK_LIB(lber, ber_alloc) 
     
    662661                                       AC_MSG_RESULT(no)) 
    663662    fi 
     663    LIBS="$save_libs" 
    664664    if test "x-$have_ldap_version" = "x-" ; then 
    665665        AC_MSG_ERROR([OpenLDAP client libraries >= 2.1.0 not found])