summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMoritz Schulte <mo@g10code.com>2003-04-16 16:33:38 +0000
committerMoritz Schulte <mo@g10code.com>2003-04-16 16:33:38 +0000
commit8233e69d77aaecc0c2e63a8e5425f89aeaa873d9 (patch)
treea94c4a9b431acc50bb490eee1d7f7ffb25e072ca
parenta6d77dbb70ea40a8711e6bccac5677643d87f16b (diff)
downloadlibgcrypt-8233e69d77aaecc0c2e63a8e5425f89aeaa873d9.tar.gz
2003-04-16 Moritz Schulte <moritz@g10code.com>
* acinclude.m4 (LIST_MEMBER): New macro.
-rw-r--r--ChangeLog24
-rw-r--r--acinclude.m416
2 files changed, 39 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 3a48a46d..f28da17e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,27 @@
+2003-04-16 Moritz Schulte <moritz@g10code.com>
+
+ * configure.ac: Implement command line switches: --enable-ciphers,
+ --enable-pubkey-ciphers and --enable-digests.
+ Set Automake conditionals and config.h symbols depending on the
+ selected ciphers, pubkey-ciphers, digests and random-modules.
+
+ * acinclude.m4 (LIST_MEMBER): New macro.
+
+ * configure.ac: Simplified, removed code for parsing
+ EXTRA_PROGRAMS from Makefile.am.
+
+2003-04-08 Moritz Schulte <moritz@g10code.com>
+
+ * configure.ac: Merged random-module selection code from GnuPG's
+ configure.ac.
+
+2003-04-07 Moritz Schulte <moritz@g10code.com>
+
+ * configure.ac: Removed code for generating contruct.c.
+ Remove digest modules from the static_modules list, only handle
+ random module selection.
+
+
2003-03-24 Moritz Schulte <moritz@g10code.com>
* NEWS: Mention new CBC_MAC flag.
diff --git a/acinclude.m4 b/acinclude.m4
index 180ca9ec..ea14378b 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -783,4 +783,18 @@ AC_DEFUN(GPH_PROG_DB2ANY,
AM_CONDITIONAL(WORKING_DB2ANY, test "$working_db2any" != yes )
])
-
+dnl LIST_MEMER()
+dnl Check wether an element ist contained in a list. Set `found' to
+dnl `1' if the element is found in the list, to `0' otherwise.
+AC_DEFUN(LIST_MEMBER,
+[
+name=$1
+list=$2
+found=0
+
+for n in $list; do
+ if test "x$name" = "x$n"; then
+ found=1
+ fi
+done
+])