Show
Ignore:
Timestamp:
2007-04-05 13:06:00 (22 months ago)
Author:
Jukka Salmi <j+mutt@…>
Branch:
HEAD
Message:

Check for BDB4 libs in $lib as well as $lib/$ver (fixes pkgsrc BDB4 detection)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • configure.ac

    r5061 r5066  
    875875                if test -r "$d/include/$v/db.h"; then 
    876876                    BDB_INCLUDE_DIR="$d/include/$v" 
    877                     if test -d "$d/lib/$v"; then 
    878                         BDB_LIB_DIR="$d/lib/$v" 
     877                    for bdblibdir in "$d/lib/$v" "$d/lib"; do 
     878                    if test -d "$bdblibdir"; then 
     879                        BDB_LIB_DIR="$bdblibdir" 
    879880                        for l in `echo $BDB_VERSIONS`; do 
    880881                            CPPFLAGS="$OLDCPPFLAGS -I$BDB_INCLUDE_DIR" 
     
    894895                        test x$ac_cv_dbcreate = xyes && break 
    895896                    fi 
     897                    done 
    896898                fi 
    897899            done