fetchmail-friends
[Top] [All Lists]

[fetchmail]now this is fun

2001-09-24 23:24:27
  hrm, i particulary enjoy this NEWS part:

* getopt.c and getopt1.c removed due to license incompatibility with OpenSSL.

  since now fetchmail doesn't compile as is in systems w/o getopt_long 
(like everything but linux afaik).
  i don't understand why this was removed. afaik, openssl is BSD, and
the getopt code looks GPL. 
  i don't want to start a license discussion but rather fix this annoying
issue.
  as a plus, diff included to fix kerberos5 in openbsd.

  f.-

--- configure.in.orig   Wed Jun 20 11:04:14 2001
+++ configure.in        Sun Jul  8 19:42:15 2001
@@ -393,6 +393,15 @@ directory],
 [
 if test "$with_kerberos5" != "no"
 then
+# Check for a OpenBSD special case
+if test "$with_kerberos5" = "yes" && ( test `uname` = "OpenBSD" )
+then
+  AC_CHECKING([kerberosV for OpenBSD])
+  AC_DEFINE(HEIMDAL)
+  AC_DEFINE(KERBEROS_V5)
+  CEFLAGS="$CEFLAGS -I/usr/include/kerberosV"
+  LIBS="$LIBS -lasn1 -lkrb5 -lcom_err"
+else
   if test "$with_kerberos5" != "yes" 
   then
       LDEFLAGS="$LDEFLAGS -L${with_kerberos5}/lib"
@@ -449,6 +458,7 @@ then
   if test -z "$with_kerberos5" ; then
      AC_ERROR([Kerberos 5 libraries not found])
   fi
+fi
 fi
 ]) dnl --with-kerberos5=DIR
 


<Prev in Thread] Current Thread [Next in Thread>