Expect beecrypt headers to live in beecrypt/ directory in include path

This commit is contained in:
Panu Matilainen 2007-07-24 10:07:23 +03:00
parent 68fc61fe08
commit 70e1c373d1
2 changed files with 15 additions and 15 deletions

View File

@ -472,7 +472,7 @@ AC_CHECK_HEADER([beecrypt/beecrypt.h], [
AC_CHECK_HEADER([beecrypt/api.h], [
AC_DEFINE(HAVE_BEECRYPT_API_H, 1, [Define to 1 if you have the <beecrypt/api.h> header file.])
])
WITH_BEECRYPT_INCLUDE="-I${includedir}/beecrypt"
WITH_BEECRYPT_INCLUDE=
WITH_BEECRYPT_LIB="-lbeecrypt"
])
],[

View File

@ -10,28 +10,28 @@
#include <rpmurl.h>
#if HAVE_BEECRYPT_API_H
#include <api.h>
#include <beecrypt/api.h>
#else
#include <beecrypt.api.h>
#include <beecrypt/beecrypt.api.h>
#endif
#include <rpmpgp.h>
#include <rpmsw.h>
/* Drag in the beecrypt includes. */
#include <beecrypt.h>
#include <base64.h>
#include <dsa.h>
#include <endianness.h>
#include <md5.h>
#include <mp.h>
#include <rsa.h>
#include <rsapk.h>
#include <sha1.h>
#include <beecrypt/beecrypt.h>
#include <beecrypt/base64.h>
#include <beecrypt/dsa.h>
#include <beecrypt/endianness.h>
#include <beecrypt/md5.h>
#include <beecrypt/mp.h>
#include <beecrypt/rsa.h>
#include <beecrypt/rsapk.h>
#include <beecrypt/sha1.h>
#if HAVE_BEECRYPT_API_H
#include <sha256.h>
#include <sha384.h>
#include <sha512.h>
#include <beecrypt/sha256.h>
#include <beecrypt/sha384.h>
#include <beecrypt/sha512.h>
#endif
/** \ingroup rpmio