1 --- amanda-2.5.2p1/configure.in~ 2007-06-22 15:34:50.000000000 +0200
2 +++ amanda-2.5.2p1/configure.in 2007-06-22 15:38:46.000000000 +0200
4 AC_MSG_CHECKING(for Kerberos and Amanda kerberos4 bits)
5 if test "x${KRB4_SECURITY}" = xyes -a -f ${srcdir-.}/common-src/krb4-security.c ; then
6 for dir in $KRB4_SPOTS; do
7 - if test -f ${dir}/lib/libkrb.a -a -f ${dir}/lib/libdes.a ; then
8 + if test -f ${dir}/lib/libkrb.so -a -f ${dir}/lib/libdes.so ; then
10 # This is the original Kerberos 4.
14 KRB4LDFLAGS=-L$dir/lib
15 KRB4LIBS="-lkrb -ldes"
16 - if test -f ${dir}/lib/libcom_err.a; then
17 + if test -f ${dir}/lib/libcom_err.so; then
18 KRB4LIBS="$KRB4LIBS -lcom_err"
21 - elif test -f ${dir}/lib/libkrb4.a &&
22 - test -f ${dir}/lib/libcrypto.a &&
23 - test -f ${dir}/lib/libdes425.a ; then
24 + elif test -f ${dir}/lib/libkrb4.so &&
25 + test -f ${dir}/lib/libcrypto.so &&
26 + test -f ${dir}/lib/libdes425.so ; then
28 # This is Kerberos 5 with Kerberos 4 back-support.
31 AC_DEFINE(KRB4_SECURITY, 1, [Enable Kerberos security. ])
32 KRB4INCLUDES="-I$dir/include -I$dir/include/kerberosIV"
33 KRB4LDFLAGS=-L$dir/lib
34 - if test -f ${dir}/lib/libkrb5.a &&
35 - test -f ${dir}/lib/libcom_err.a; then
36 + if test -f ${dir}/lib/libkrb5.so &&
37 + test -f ${dir}/lib/libcom_err.so; then
38 KRB4LIBS="-lkrb4 -lkrb5 -lcrypto -ldes425 -lcom_err"
40 KRB4LIBS="-lkrb4 -lcrypto -ldes425"
41 @@ -1135,15 +1135,15 @@
42 for dir in $KRB5_SPOTS; do
43 for lib in lib lib64; do
44 k5libdir=${dir}/${lib}
45 - if test -f ${k5libdir}/libkrb5.a -a -f ${k5libdir}/libgssapi_krb5.a -a -f ${k5libdir}/libcom_err.a; then
46 - if test -f ${k5libdir}/libk5crypto.a; then
47 + if test -f ${k5libdir}/libkrb5.so -a -f ${k5libdir}/libgssapi_krb5.so -a -f ${k5libdir}/libcom_err.so; then
48 + if test -f ${k5libdir}/libk5crypto.so; then
50 - elif test -f ${k5libdir}/libcrypto.a; then
51 + elif test -f ${k5libdir}/libcrypto.so; then
56 - if test -f ${k5libdir}/libkrb5support.a; then
57 + if test -f ${k5libdir}/libkrb5support.so; then
58 K5SUPPORT=-lkrb5support
62 KRB5LIBS="-lgssapi_krb5 -lkrb5 $K5CRYPTO $K5SUPPORT -lcom_err"
65 - elif test -f ${k5libdir}/libkrb5.a -a -f ${k5libdir}/libasn1.a -a -f ${k5libdir}/libgssapi.a; then
66 + elif test -f ${k5libdir}/libkrb5.so -a -f ${k5libdir}/libasn1.so -a -f ${k5libdir}/libgssapi.so; then
68 - KRB5LIBS="-lgssapi.a -lkrb5.a -lasn1.a"
69 + KRB5LIBS="-lgssapi -lkrb5 -lasn1"
70 KRB5_CFLAGS="-DKRB5_HEIMDAL_INCLUDES"