Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 185652 | Differences between
and this patch

Collapse All | Expand All

(-)configure.ac.old (-4 / +5 lines)
Lines 508-515 Link Here
508
     if test -f "$dir/include/krb5.h" || test -f "$dir/include/krb5/krb5.h"
508
     if test -f "$dir/include/krb5.h" || test -f "$dir/include/krb5/krb5.h"
509
     then
509
     then
510
	if test -d "$dir/include/krb5" ; then CPFLAGS="$CPFLAGS -I$dir/include/krb5" ; fi
510
	if test -d "$dir/include/krb5" ; then CPFLAGS="$CPFLAGS -I$dir/include/krb5" ; fi
511
	if test -d "$dir/include/heimdal" ; then CPFLAGS="$CPFLAGS -I$dir/include/heimdal" ; fi
511
        ac_krblibs=
512
        ac_krblibs=
512
        if test -f "$dir/include/roken.h" || test -f "$dir/include/krb5/roken.h"
513
        if test -f "$dir/include/roken.h" || test -f "$dir/include/krb5/roken.h" || test -f "$dir/include/heimdal/roken.h"
513
        then
514
        then
514
           ac_krblibs="-lasn1 -lroken -lcom_err"
515
           ac_krblibs="-lasn1 -lroken -lcom_err"
515
           AC_MSG_RESULT([Heimdal found])
516
           AC_MSG_RESULT([Heimdal found])
Lines 518-524 Link Here
518
           AC_CHECK_LIB(db2, db_open, ac_krblibs="$ac_krblibs -ldb2", [],
519
           AC_CHECK_LIB(db2, db_open, ac_krblibs="$ac_krblibs -ldb2", [],
519
                ${LDEFLAGS})
520
                ${LDEFLAGS})
520
           AC_CHECK_LIB(des, des_string_to_key, libk5crypto=-ldes,
521
           AC_CHECK_LIB(des, des_string_to_key, libk5crypto=-ldes,
521
              AC_CHECK_LIB(ssl, MD5_Init, [],
522
              AC_CHECK_LIB(crypto, MD5_Init, [],
522
                AC_MSG_ERROR([DES libraries not found. Try adding --with-ssl to enable OpenSSL support]),
523
                AC_MSG_ERROR([DES libraries not found. Try adding --with-ssl to enable OpenSSL support]),
523
                ${LDEFLAGS} ${ac_krblibs}),
524
                ${LDEFLAGS} ${ac_krblibs}),
524
           ${LDEFLAGS} ${ac_krblibs})
525
           ${LDEFLAGS} ${ac_krblibs})
Lines 797-803 Link Here
797
      if test "$with_gssapi" = yes ; then
798
      if test "$with_gssapi" = yes ; then
798
	  with_gssapi=/usr
799
	  with_gssapi=/usr
799
      fi
800
      fi
800
      if test -f "$with_gssapi/include/roken.h" -o -f "$with_gssapi/include/krb5/roken.h"
801
      if test -f "$with_gssapi/include/roken.h" -o -f "$with_gssapi/include/krb5/roken.h" -o -f "$with_gssapi/include/heimdal/roken.h"
801
      then
802
      then
802
         # have roken.h, assume Heimdal
803
         # have roken.h, assume Heimdal
803
	 case `uname` in
804
	 case `uname` in
Lines 816-822 Link Here
816
  fi
817
  fi
817
  AC_DEFINE(GSSAPI,1,Define if you want GSSAPI authentication)
818
  AC_DEFINE(GSSAPI,1,Define if you want GSSAPI authentication)
818
  if test "$with_gssapi" != yes ; then
819
  if test "$with_gssapi" != yes ; then
819
    CPPFLAGS="-I$with_gssapi/include"
820
    CPPFLAGS="`krb5-config --cflags gssapi`"
820
  fi
821
  fi
821
  AC_CHECK_HEADERS(gss.h gssapi.h gssapi/gssapi.h gssapi/gssapi_generic.h)
822
  AC_CHECK_HEADERS(gss.h gssapi.h gssapi/gssapi.h gssapi/gssapi_generic.h)
822
  if test "$ac_cv_header_gssapi_h" = "yes"; then
823
  if test "$ac_cv_header_gssapi_h" = "yes"; then

Return to bug 185652