2 dnl Copyright (C) 2005-2006, 2009-2011 Free Software Foundation, Inc.
3 dnl This file is free software; the Free Software Foundation
4 dnl gives unlimited permission to copy and/or distribute it,
5 dnl with or without modifications, as long as this notice is preserved.
9 AC_ARG_WITH([libgcrypt],
10 AS_HELP_STRING([--with-libgcrypt], [use libgcrypt for low-level crypto]),
11 libgcrypt=$withval, libgcrypt=no)
12 if test "$libgcrypt" != no; then
13 AC_LIB_HAVE_LINKFLAGS([gcrypt], [gpg-error], [#include <gcrypt.h>])