summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2001-05-16 08:41:31 +0000
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2001-05-16 08:41:31 +0000
commitd45bde7c508f84115c4b60f8ddfa5bd57d8c1866 (patch)
treebd8b6fa677e446bba89a3b73e20a03d241b0dc4e
parent79ccdc21816d7b09dd426b3976c11ef60772fb36 (diff)
downloadgnutls-d45bde7c508f84115c4b60f8ddfa5bd57d8c1866.tar.gz
*** empty log message ***
-rw-r--r--configure.in2
-rw-r--r--doc/README.autoconf11
-rwxr-xr-xlib/libgnutls-config.in2
3 files changed, 13 insertions, 2 deletions
diff --git a/configure.in b/configure.in
index c89e207883..b475e4a9aa 100644
--- a/configure.in
+++ b/configure.in
@@ -147,7 +147,7 @@ AC_CHECK_SIZEOF(unsigned char, 1)
AM_PROG_LIBTOOL
LIBGNUTLS_LIBS="$LIBS -L${libdir} -lgnutls $LIBGCRYPT_LIBS"
-LIBGNUTLS_CFLAGS="$LIBGCRYPT_CFLAGS"
+LIBGNUTLS_CFLAGS="$LIBGCRYPT_CFLAGS -I${includedir}"
AC_SUBST(LIBGNUTLS_LIBS)
AC_SUBST(LIBGNUTLS_CFLAGS)
diff --git a/doc/README.autoconf b/doc/README.autoconf
new file mode 100644
index 0000000000..11d0f460ff
--- /dev/null
+++ b/doc/README.autoconf
@@ -0,0 +1,11 @@
+If you want to find the libmcrypt library in other projects
+using autoconf/aclocal, put in your
+
+aclocal.m4:
+ include(libmcrypt.m4)
+
+configure.in:
+ AM_PATH_LIBMCRYPT( 2.4.10,, AC_MSG_ERROR[[*** libmcrypt was not found]]))
+
+
+these macros define LIBMCRYPT_LIBS and LIBMCRYPT_CFLAGS.
diff --git a/lib/libgnutls-config.in b/lib/libgnutls-config.in
index 9191ce5f26..c0f83ed2e7 100755
--- a/lib/libgnutls-config.in
+++ b/lib/libgnutls-config.in
@@ -11,7 +11,7 @@ gnutls_cflags="@LIBGNUTLS_CFLAGS@"
usage()
{
cat <<EOF
-Usage: gnutls-config [OPTIONS]
+Usage: libgnutls-config [OPTIONS]
Options:
[--prefix[=DIR]]
[--exec-prefix[=DIR]]