bug-cfengine
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 2.0.1 configure fails on FreeBSD, patch included


From: David Masterson
Subject: Re: 2.0.1 configure fails on FreeBSD, patch included
Date: 19 Apr 2002 10:00:15 -0700
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1

You should never "patch" configure.  You should always patch
configure.in and use 'autoconf' to regenerate it.

>>>>> Jo B Grasmo writes:

> Hello,
> There's a minor typo in the configure script for cfengine 2.0.1, so
> BerkeleyDB is not found on FreeBSD. The fix is simple:

> --- configure.orig    Fri Apr 19 16:52:13 2002
> +++ configure Fri Apr 19 16:53:05 2002
> @@ -3459,7 +3459,7 @@
>      fi
>      if test x"$BERKELEY_DB_DIR" = xyes ; then
>          for v in db4 db3 db2 db; do
> -            if test -d "$BERKELEY_DB_DIR/include/$v" ; then
> +            if test -d "/usr/local/include/$v" ; then
>                  BERKELEY_DB_LDFLAGS="-L/usr/local/lib"
>                  BERKELEY_DB_CFLAGS="-I/usr/local/include/$v"
>                  BERKELEY_DB_LIB="-l$v"

> Best regards,

> Jo B. Grasmo

-- 
David Masterson                David DOT Masterson AT synopsys DOT com
Sr. R&D Engineer               Synopsys, Inc.
Software Engineering           Sunnyvale, CA



reply via email to

[Prev in Thread] Current Thread [Next in Thread]