]> git.sven.stormbind.net Git - sven/tclcurl.git/blobdiff - configure.in
releasing package tclcurl version 7.22.0+hg20160822-2
[sven/tclcurl.git] / configure.in
index 6a974aecf3d6cfe5e624668b316accaf01929733..951d9b60a45b16c2937950a7781a88a7fc580f67 100755 (executable)
@@ -19,7 +19,7 @@ dnl   to configure the system for the local environment.
 # so you can encode the package version directly into the source files.
 #-----------------------------------------------------------------------
 
-AC_INIT([TclCurl], [7.19.6])
+AC_INIT([TclCurl], [7.22.0])
 
 #--------------------------------------------------------------------
 # Call TEA_INIT as the first TEA_ macro to set up initial vars.
@@ -127,14 +127,23 @@ AC_ARG_WITH(libcurl,
  ])
 
 AC_MSG_CHECKING([if libcurl version is recent enough])
-CURL_VERSION=`$curlpath/curl-config --checkfor 7.19.6`
+CURL_VERSION=`$curlpath/curl-config --checkfor 7.21.7`
 if test "${CURL_VERSION}" != "" ; then
     echo ${CURL_VERSION}
     AC_MSG_ERROR([libcurl version too old, please upgrade])
 fi
 AC_MSG_RESULT(yes)
 
-TEA_ADD_LIBS([`$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
+
+TEA_ADD_LIBS([`$curlpath/curl-config --libs|sed \
+    -e 's/\-lkrb5\>//g' \
+    -e 's/\-lgssapi_krb5//g' \
+    -e 's/\-lk5crypto//g' \
+    -e 's/\-lkrb5support//g' \
+ `])
+
 
 #--------------------------------------------------------------------
 # __CHANGE__