]> git.sven.stormbind.net Git - sven/tclcurl.git/blobdiff - configure
Merge tag 'upstream/7.22.0+hg20151017'
[sven/tclcurl.git] / configure
index e7d6656647b9cdad4091eaf3f9f2c4c0186ad2ba..40ae6ce59626498d0391be017720982c7270bc7f 100755 (executable)
--- a/configure
+++ b/configure
@@ -4939,7 +4939,16 @@ fi
 $as_echo "yes" >&6; }
 
 
-    vars="`$curlpath/curl-config --libs`"
+# We need to modify this original line to strip a few things
+# See: http://lists.debian.org/debian-devel-announce/2006/09/msg00018.html
+
+    vars="`$curlpath/curl-config --libs|sed \
+    -e 's/\-lkrb5\>//g' \
+    -e 's/\-lgssapi_krb5//g' \
+    -e 's/\-lk5crypto//g' \
+    -e 's/\-lkrb5support//g' \
+ `"
+
     for i in $vars; do
        if test "${TEA_PLATFORM}" = "windows" -a "$GCC" = "yes" ; then
            # Convert foo.lib to -lfoo for GCC.  No-op if not *.lib