diff m4/gc-rijndael.m4 @ 6399:ca60471103cc

Add gc-rijndael and gc-rijndael-tests modules.
author Simon Josefsson <simon@josefsson.org>
date Wed, 19 Oct 2005 14:54:32 +0000 (2005-10-19)
parents
children 1eae086746a0
line wrap: on
line diff
new file mode 100644
--- /dev/null
+++ b/m4/gc-rijndael.m4
@@ -0,0 +1,15 @@
+# gc-rijndael.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_RIJNDAEL],
+[
+  AC_REQUIRE([gl_GC])
+  AC_DEFINE(GC_USE_RIJNDAEL, 1,
+    [Define if you want to support RIJNDAEL through GC.])
+  if test "$ac_cv_libgcrypt" != yes; then
+    gl_RIJNDAEL
+  fi
+])