On Mon, Mar 05, 2001 at 10:08:16AM +0100, [EMAIL PROTECTED] wrote:

> +    elif ./helpers/TestCompile lib db1 dbm_open; then
> +        # For Red Hat 7
> +        DB_VERSION='Berkeley-DB/1.x'
> +        DB_LIB='-ldb1'
> +        CFLAGS="$CFLAGS -I/usr/include/db1"

What makes you think that the includes for -ldb1 are found
in /usr/include/db1 ? Shouldn't we solve this one in a generic
way, i.e. look for both libdb1.* AND include/db1/ (possibly in
/usr/include/db1, as in RH7, but possibly in
/usr/local/include/db1/, as one one system I have here) ? 

   Martin
-- 
<[EMAIL PROTECTED]>    |       Fujitsu Siemens
       <[EMAIL PROTECTED]>              |   81730  Munich,  Germany

Reply via email to