Changelog
+Daniel Stenberg (8 Jun 2009)
+- Triggered by bug report #2798852 and the patch in there, I fixed configure
+ to detect gnutls build options with pkg-config only and not libgnutls-config
+ anymore since GnuTLS has stopped distributing that tool. If an explicit path
+ is given to configure, we will instead guess on how to link and use that
+ lib. I did not use the patch from the bug report.
+
Yang Tse (8 Jun 2009)
- Igor Novoseltsev adjusted Makefile.vxworks to get sources and headers
included from Makefile.inc, and provided docs\INSTALL VxWorks section.
I removed buildconf.bat from release and daily snapshot archives. This
file is only for CVS tree checkout builds.
-Daniel Stenberg (8 June 2009)
+Daniel Stenberg (8 Jun 2009)
- Eric Wong fixed --no-buffer to actually switch off output buffering. Been
broken since 7.19.0
-Bill Hoffman (6 June 2009)
+Bill Hoffman (6 Jun 2009)
- Added some cmake docs and fixed socklen_t in the build.
Yang Tse (5 Jun 2009)
o curl tool exit codes fixed for VMS
o --no-buffer treated correctly
o djgpp build fix
+ o configure detection of GnuTLS now based on pkg-config
This release includes the following known bugs:
if test X"$OPT_GNUTLS" != Xno; then
- AC_MSG_NOTICE([OPT_GNUTLS is $OPT_GNUTLS])
-
addld=""
if test "x$OPT_GNUTLS" = "xyes"; then
- check=`libgnutls-config --version 2>/dev/null`
- if test -n "$check"; then
- addlib=`libgnutls-config --libs`
- addcflags=`libgnutls-config --cflags`
- version=`libgnutls-config --version`
- gtlslib=`libgnutls-config --prefix`/lib$libsuff
- fi
- else
- addlib=`$OPT_GNUTLS/bin/libgnutls-config --libs`
- addcflags=`$OPT_GNUTLS/bin/libgnutls-config --cflags`
- version=`$OPT_GNUTLS/bin/libgnutls-config --version 2>/dev/null`
- gtlslib=$OPT_GNUTLS/lib$libsuff
- fi
-
- if test -z "$version"; then
CURL_CHECK_PKGCONFIG(gnutls)
if test "$PKGCONFIG" != "no" ; then
version=`$PKGCONFIG --modversion gnutls`
gtlslib=`echo $addld | $SED -e 's/-L//'`
fi
-
+ else
+ dnl without pkg-config, we guess a lot!
+ addlib=-lgnutls
+ addld=-L$OPT_GNUTLS/lib$libsuff
+ addcflags=-I$OPT_GNUTLS/include
+ version="" # we just don't know
+ gtlslib=$OPT_GNUTLS/lib$libsuff
fi
if test -z "$version"; then