Rename, added under wrong filename.
[gnulib.git] / m4 / gc-sha1.m4
diff --git a/m4/gc-sha1.m4 b/m4/gc-sha1.m4
new file mode 100644 (file)
index 0000000..c305120
--- /dev/null
@@ -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 to if you want to support SHA-1 through GC.])
+  if test "$ac_cv_libgcrypt" != yes; then
+    gl_SHA1
+  fi
+])