diff options
Diffstat (limited to 'lgl/m4/gc-sha1.m4')
-rw-r--r-- | lgl/m4/gc-sha1.m4 | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/lgl/m4/gc-sha1.m4 b/lgl/m4/gc-sha1.m4 new file mode 100644 index 0000000000..88010e22a4 --- /dev/null +++ b/lgl/m4/gc-sha1.m4 @@ -0,0 +1,15 @@ +# gc-sha1.m4 serial 1 +dnl Copyright (C) 2005 Free Software Foundation, Inc. +dnl This file is free software; the Free Software Foundation +dnl gives unlimited permission to copy and/or distribute it, +dnl with or without modifications, as long as this notice is preserved. + +AC_DEFUN([gl_GC_SHA1], +[ + AC_REQUIRE([gl_GC]) + AC_DEFINE(GC_USE_SHA1, 1, + [Define if you want to support SHA-1 through GC.]) + if test "$ac_cv_libgcrypt" != yes; then + gl_SHA1 + fi +]) |