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

Collapse All | Expand All

(-)configure.in (-6 / +10 lines)
Lines 48-59 Link Here
48
  LDFLAGS="$LDFLAGS -L$prefix/lib"
48
  LDFLAGS="$LDFLAGS -L$prefix/lib"
49
fi)
49
fi)
50
50
51
dnl Check that libgcrypt is available
51
dnl Check whether to use libgcrypt
52
AC_CHECK_LIB(gcrypt,gcry_check_version,
52
AC_MSG_CHECKING(whether to use libgcrypt)
53
  AC_DEFINE([HAVE_LIBGCRYPT], 1, [Defined if we've got libgcrypt])
53
AC_ARG_WITH(libgcrypt,
54
  GCRYPT_LIBS="$LIBS -lgcrypt"
54
[  --without-libgcrypt     don't use libgcrypt],
55
  gcrypt=yes
55
if test "$withval" = no; then libgcrypt=no; else libgcrypt=yes; fi,
56
)
56
libgcrypt=yes)
57
AC_MSG_RESULT($libgcrypt)
58
if test "$libgcrypt" = yes; then
59
  AC_CHECK_HEADERS(gcrypt.h,LIBS="$LIBS -lgcrypt")
60
fi
57
AC_SUBST(GCRYPT_LIBS)
61
AC_SUBST(GCRYPT_LIBS)
58
AM_CONDITIONAL(BUILD_RZXCHECK, test "$gcrypt" = yes)
62
AM_CONDITIONAL(BUILD_RZXCHECK, test "$gcrypt" = yes)
59
63
(-)audio2tape.h (+2 lines)
Lines 26-31 Link Here
26
#ifndef AUDIO2TAPE_H
26
#ifndef AUDIO2TAPE_H
27
#define AUDIO2TAPE_H
27
#define AUDIO2TAPE_H
28
28
29
#include <string.h>
30
29
class audio2tape_exception : public std::exception
31
class audio2tape_exception : public std::exception
30
{
32
{
31
  public:
33
  public:

Return to bug 351726