# 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.
])
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__