summaryrefslogtreecommitdiff
path: root/m4/gc-sha1.m4
blob: 88010e22a4d6bb532a68bff6598ce90ca54d5c16 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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
])