Package: curl
Followup-For: Bug #392294

I fingered the wrong line in configure.ac last time.  That's the
line for curl builds against krb4.  The following is the line for
curl builds against krb5.

This dependency is due to using krb5-config, which is a
non-pkg-config config script of the sort discouraged by
Steve Langasek and others who have looked into the issue.  Perhaps
that script in krb5 could be changed to use pkg-config at some
later time, but it's an upstream script so maybe not.

I believe the extraneous dependency can be removed by applying this
patch and rebuilding 'configure'.  (This is an untested patch but
should be extremely safe.  Any serious failure would show up at
build time, while any 'unserious' failure would simply result in
retaining the unneeded dependency.)

Thanks for considering this.

--- configure.ac        2007-01-01 18:23:38.000000000 -0500
+++ configure.ac.new    2007-01-01 18:36:29.000000000 -0500
@@ -818,7 +818,7 @@
   elif test -z "$GSSAPI_LIB_DIR"; then
      if test -f "$GSSAPI_ROOT/bin/krb5-config"; then
         gss_ldflags=`$GSSAPI_ROOT/bin/krb5-config --libs gssapi`
-       LDFLAGS="$LDFLAGS $gss_ldflags"
+       LDFLAGS="$LDFLAGS -lgssapi_krb5"
      elif test "$GSSAPI_ROOT" != "yes"; then
         LDFLAGS="$LDFLAGS -L$GSSAPI_ROOT/lib$libsuff -lgssapi"
      else


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to