configure.in diff

Dima Ruban dima at best.net
Tue Sep 15 08:24:47 CEST 1998


Hey guys!

Following diff checks for libk5crypto vs. libcrypto.
(krb5-current has libk5crypto instead of libcrypto)

-- dima
*** configure.in.WAS	Mon Sep 14 23:16:38 1998
--- configure.in	Mon Sep 14 23:16:58 1998
***************
*** 287,293 ****
    KRB_LIB_DIR=$ac_cv_krb_where_lib
    if test "$ac_cv_is_krb5" = "yes"; then
      KRB_INC_FLAGS="-I${KRB_INC_DIR} -I${KRB_INC_DIR}/kerberosIV"
!     KRB_LIB_FLAGS="-L${KRB_LIB_DIR} -lkrb4 -ldes425 -lkrb5 -lcrypto -lcom_err"
    else
    KRB_INC_FLAGS="-I${KRB_INC_DIR}"
      KRB_LIB_FLAGS="-L${KRB_LIB_DIR} -lkrb -ldes"
--- 287,299 ----
    KRB_LIB_DIR=$ac_cv_krb_where_lib
    if test "$ac_cv_is_krb5" = "yes"; then
      KRB_INC_FLAGS="-I${KRB_INC_DIR} -I${KRB_INC_DIR}/kerberosIV"
!     KRB_LIB_FLAGS="-L${KRB_LIB_DIR} -lkrb4 -ldes425 -lkrb5 -lcom_err"
!     LIBS_save="$LIBS"
!     LIBS="$LIBS -L${KRB_LIB_DIR}"
!     AC_CHECK_LIB(k5crypto, krb5_encrypt_data,
!       KRB_LIB_FLAGS="$KRB_LIB_FLAGS -lk5crypto",
!       KRB_LIB_FLAGS="$KRB_LIB_FLAGS -lcrypto")
!     LIBS="$LIBS_save"
    else
    KRB_INC_FLAGS="-I${KRB_INC_DIR}"
      KRB_LIB_FLAGS="-L${KRB_LIB_DIR} -lkrb -ldes"





More information about the Arla-drinkers mailing list