9 |
dnl AM_PATH_LIBGNUTLS([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND ]]]) |
dnl AM_PATH_LIBGNUTLS([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND ]]]) |
10 |
dnl Test for libgnutls, and define LIBGNUTLS_CFLAGS and LIBGNUTLS_LIBS |
dnl Test for libgnutls, and define LIBGNUTLS_CFLAGS and LIBGNUTLS_LIBS |
11 |
dnl |
dnl |
12 |
AC_DEFUN(AM_PATH_LIBGNUTLS, |
AC_DEFUN([AM_PATH_LIBGNUTLS], |
13 |
[dnl |
[dnl |
14 |
dnl Get the cflags and libraries from the libgnutls-config script |
dnl Get the cflags and libraries from the libgnutls-config script |
15 |
dnl |
dnl |
18 |
libgnutls_config_prefix="$withval", libgnutls_config_prefix="") |
libgnutls_config_prefix="$withval", libgnutls_config_prefix="") |
19 |
|
|
20 |
if test x$libgnutls_config_prefix != x ; then |
if test x$libgnutls_config_prefix != x ; then |
|
libgnutls_config_args="$libgnutls_config_args --prefix=$libgnutls_config_prefix" |
|
21 |
if test x${LIBGNUTLS_CONFIG+set} != xset ; then |
if test x${LIBGNUTLS_CONFIG+set} != xset ; then |
22 |
LIBGNUTLS_CONFIG=$libgnutls_config_prefix/bin/libgnutls-config |
LIBGNUTLS_CONFIG=$libgnutls_config_prefix/bin/libgnutls-config |
23 |
fi |
fi |