~ubuntu-branches/ubuntu/maverick/krb5/maverick

« back to all changes in this revision

Viewing changes to src/krb5-config.in

  • Committer: Bazaar Package Importer
  • Author(s): Sam Hartman
  • Date: 2009-05-07 16:16:34 UTC
  • mfrom: (13.1.7 sid)
  • Revision ID: james.westby@ubuntu.com-20090507161634-xqyk0s9na0le4flj
Tags: 1.7dfsg~beta1-4
When  decrypting the TGS response fails with the subkey, try with the
session key to work around Heimdal bug, Closes: #527353 

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
includedir=@includedir@
33
33
libdir=@libdir@
34
34
CC_LINK='@CC_LINK@'
35
 
KRB4_LIB=@KRB4_LIB@
36
 
DES425_LIB=@DES425_LIB@
37
35
KDB5_DB_LIB=@KDB5_DB_LIB@
38
36
LDFLAGS='@LDFLAGS@'
39
37
RPATH_FLAG='@RPATH_FLAG@'
 
38
PROG_RPATH_FLAGS='@PROG_RPATH_FLAGS@'
40
39
PTHREAD_CFLAGS='@PTHREAD_CFLAGS@'
41
40
DL_LIB='@DL_LIB@'
42
41
 
86
85
        gssapi)
87
86
            library=gssapi
88
87
            ;;
89
 
        krb4)
90
 
            library=krb4
91
 
            ;;
92
88
        kadm-client)
93
89
            library=kadm_client
94
90
            ;;
126
122
    echo "Libraries:"
127
123
    echo "        krb5              Kerberos 5 application"
128
124
    echo "        gssapi            GSSAPI application with Kerberos 5 bindings"
129
 
    echo "        krb4              Kerberos 4 application"
130
125
    echo "        kadm-client       Kadmin client"
131
126
    echo "        kadm-server       Kadmin server"
132
127
    echo "        kdb               Application that accesses the kerberos database"
177
172
 
178
173
 
179
174
if test -n "$do_libs"; then
 
175
    # Assumes /usr/lib is the standard library directory everywhere...
 
176
    if test "$libdir" = /usr/lib; then
 
177
        libdirarg=
 
178
    else
 
179
        libdirarg="-L$libdir"
 
180
    fi
180
181
    # Ugly gross hack for our build tree
181
182
    lib_flags=`echo $CC_LINK | sed -e 's/\$(CC)//' \
182
183
            -e 's/\$(PURE)//' \
 
184
            -e 's#\$(PROG_RPATH_FLAGS)#'"$PROG_RPATH_FLAGS"'#' \
183
185
            -e 's#\$(PROG_RPATH)#'$libdir'#' \
184
 
            -e 's#\$(PROG_LIBPATH)#-L'$libdir'#' \
 
186
            -e 's#\$(PROG_LIBPATH)#'$libdirarg'#' \
185
187
            -e 's#\$(RPATH_FLAG)#'"$RPATH_FLAG"'#' \
186
188
            -e 's#\$(LDFLAGS)#'"$LDFLAGS"'#' \
187
189
            -e 's#\$(PTHREAD_CFLAGS)#'"$PTHREAD_CFLAGS"'#' \
212
214
        library=krb5
213
215
    fi
214
216
 
215
 
    if test $library = 'krb4'; then
216
 
        lib_flags="$lib_flags $KRB4_LIB $DES425_LIB"
217
 
        library=krb5
218
 
    fi
219
 
 
220
217
    if test $library = 'krb5'; then
221
218
        if [ "x$do_deps" = "x1" ] ; then
222
219
            dep_libs="$GEN_LIB $LIBS $DL_LIB"