Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 168519
Collapse All | Expand All

(-)configure.in.orig (-8 / +8 lines)
Lines 645-668 Link Here
645
                fi
645
                fi
646
	    done
646
	    done
647
        done
647
        done
648
    fi
648
    fi
649
    if test x"$BERKELEY_DB_DIR" = xyes ; then
649
    if test x"$BERKELEY_DB_DIR" = xyes ; then
650
        for v in db43 db42 db41 db4 db3 db2 ; do
650
        for v in 4.2 4.1 4 3 2 ; do
651
            if test -d "/usr/local/include/$v" ; then
651
            if test -d "/usr/local/include/db$v" ; then
652
                BERKELEY_DB_LDFLAGS="-L/usr/local/lib"
652
                BERKELEY_DB_LDFLAGS="-L/usr/local/lib"
653
                BERKELEY_DB_CFLAGS="-I/usr/local/include/$v"
653
                BERKELEY_DB_CFLAGS="-I/usr/local/include/db$v"
654
                BERKELEY_DB_LIB="-l$v"
654
                BERKELEY_DB_LIB="-ldb-$v"
655
                AC_MSG_RESULT(FreeBSD locations)
655
                AC_MSG_RESULT(FreeBSD locations)
656
                break
656
                break
657
            fi
657
            fi
658
        done
658
        done
659
        if test x"$BERKELEY_DB_LIB" = x ; then
659
        if test x"$BERKELEY_DB_LIB" = x ; then
660
            for v in db43 db42 db41 db4 db3 db2 ; do
660
            for v in 4.2 4.1 4 3 2 ; do
661
                if test -d "/usr/include/$v" ; then
661
                if test -d "/usr/include/db$v" ; then
662
                    BERKELEY_DB_CFLAGS="-I/usr/include/$v"
662
                    BERKELEY_DB_CFLAGS="-I/usr/include/db$v"
663
                    BERKELEY_DB_LIB="-l$v"
663
                    BERKELEY_DB_LIB="-ldb-$v"
664
                    AC_MSG_RESULT(Linux locations)
664
                    AC_MSG_RESULT(Linux locations)
665
                    break
665
                    break
666
                fi
666
                fi
667
            done
667
            done
668
            if test x"$BERKELEY_DB_LIB" = x ; then        
668
            if test x"$BERKELEY_DB_LIB" = x ; then        

Return to bug 168519