fetchmail-friends
[Top] [All Lists]

Re: PATCH(?): fetchmail-5.6.2/configure.in set KERBEROS_V4 even when not found

2001-02-08 11:07:48
Adam J. Richter <adam(_at_)yggdrasil(_dot_)com>:
      fetchmail-5.6.2/configure.in appears to set KERBEROS_V4
by default when no --with-kerberos{,5} argument is passed, even
when Kerberos is not detected.  Consequently, fetchmail-5.6.2 apparently
will not build after a plain old "./configure" on non-kerberos systems.
I have attached a proposed patch below.

-- 
Adam J. Richter     __     ______________   4880 Stevens Creek Blvd, Suite 104
adam(_at_)yggdrasil(_dot_)com     \ /                  San Jose, California 
95129-1034
+1 408 261-6630         | g g d r a s i l   United States of America
fax +1 408 261-6631      "Free Software For The Rest Of Us."

--- fetchmail-5.6.2/configure.in      Fri Jan  5 13:39:45 2001
+++ fetchmail/configure.in    Wed Feb  7 12:40:59 2001
@@ -420,11 +420,11 @@
 else
   if test "$with_kerberos" != "no"
   then
-    AC_DEFINE(KERBEROS_V4)
     for dir in /usr/kerberos /usr/kerberosIV /usr/athena
     do
       if test -f "$dir/include/krb.h"
       then
+        AC_DEFINE(KERBEROS_V4)
         CEFLAGS="$CEFLAGS -I$dir/include"
         LDEFLAGS="$LDEFLAGS -L$dir/lib"
         LIBS="$LIBS -lkrb -ldes"

Your patch is correct.  I independently made the same change in 5.6.3.
-- 
                <a href="http://www.tuxedo.org/~esr/";>Eric S. Raymond</a>

The whole of the Bill [of Rights] is a declaration of the right of the
people at large or considered as individuals...  It establishes some
rights of the individual as unalienable and which consequently, no
majority has a right to deprive them of.
         -- Albert Gallatin, Oct 7 1789


<Prev in Thread] Current Thread [Next in Thread>
  • Re: PATCH(?): fetchmail-5.6.2/configure.in set KERBEROS_V4 even when not found, Eric S. Raymond <=