Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:repabuild
lftp
lftp-use-pkg-config.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File lftp-use-pkg-config.patch of Package lftp
Index: lftp-3.6.3/configure.ac =================================================================== --- lftp-3.6.3.orig/configure.ac 2008-01-23 13:58:43.000000000 +0100 +++ lftp-3.6.3/configure.ac 2010-02-19 13:52:24.000000000 +0100 @@ -323,9 +323,10 @@ case "$with_openssl" in with_gnutls=no;; esac if test x$with_gnutls = xyes; then - AM_PATH_LIBGNUTLS([1.0.0], [ + PKG_PROG_PKG_CONFIG + PKG_CHECK_MODULES([LIBGNUTLS], [gnutls >= 1.0.0], [ AC_DEFINE([USE_GNUTLS], 1, [Define to 1 when using GNU TLS library]) - gnutls_version_code=`echo $libgnutls_config_version | $AWK -F. '{ printf "0x%02X%02X%02X\n",$1,$2,$3 }'` + gnutls_version_code=`$PKG_CONFIG --modversion gnutls | $AWK -F. '{ printf "0x%02X%02X%02X\n",$1,$2,$3 }'` AC_DEFINE_UNQUOTED([LFTP_LIBGNUTLS_VERSION_CODE], $gnutls_version_code, [Define to libgnutls version, e.g. 0x010203 for 1.2.3]) ]) fi
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor