Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 366599 | Differences between
and this patch

Collapse All | Expand All

(-)a/configure.ac (-4 / +6 lines)
Lines 15-26 if test "x$SED" = "xsed-was-not-found-by-configure"; then Link Here
15
fi
15
fi
16
16
17
dnl figure out the libssh2 version
17
dnl figure out the libssh2 version
18
VERSION=`$SED -ne 's/^#define LIBSSH2_VERSION *"\(.*\)"/\1/p' ${srcdir}/include/libssh2.h`
18
LIBSSH2VER=`$SED -ne 's/^#define LIBSSH2_VERSION *"\(.*\)"/\1/p' ${srcdir}/include/libssh2.h`
19
AM_INIT_AUTOMAKE
19
AM_INIT_AUTOMAKE
20
AC_MSG_CHECKING([libssh2 version])
20
AC_MSG_CHECKING([libssh2 version])
21
AC_MSG_RESULT($VERSION)
21
AC_MSG_RESULT($LIBSSH2VER)
22
22
23
AB_VERSION=$VERSION
23
AC_SUBST(LIBSSH2VER)
24
25
AB_VERSION=$LIBSSH2VER
24
26
25
AB_INIT
27
AB_INIT
26
28
Lines 289-295 AC_OUTPUT Link Here
289
291
290
AC_MSG_NOTICE([summary of build options:
292
AC_MSG_NOTICE([summary of build options:
291
293
292
  version:          ${VERSION}
294
  version:          ${LIBSSH2VER}
293
  Host type:        ${host}
295
  Host type:        ${host}
294
  Install prefix:   ${prefix}
296
  Install prefix:   ${prefix}
295
  Compiler:         ${CC}
297
  Compiler:         ${CC}
(-)a/libssh2.pc.in (-1 / +1 lines)
Lines 10-16 includedir=@includedir@ Link Here
10
Name: libssh2
10
Name: libssh2
11
URL: http://www.libssh2.org/
11
URL: http://www.libssh2.org/
12
Description: Library for SSH based connunication
12
Description: Library for SSH based connunication
13
Version: @VERSION@
13
Version: @LIBSSH2VER@
14
Libs: -L${libdir} -lssh2 @LDFLAGS@ @LIBS@
14
Libs: -L${libdir} -lssh2 @LDFLAGS@ @LIBS@
15
Libs.private: @LIBS@
15
Libs.private: @LIBS@
16
Cflags: -I${includedir}
16
Cflags: -I${includedir}

Return to bug 366599