diff options
author | Moritz Schulte <mo@g10code.com> | 2003-04-16 16:33:38 +0000 |
---|---|---|
committer | Moritz Schulte <mo@g10code.com> | 2003-04-16 16:33:38 +0000 |
commit | 8233e69d77aaecc0c2e63a8e5425f89aeaa873d9 (patch) | |
tree | a94c4a9b431acc50bb490eee1d7f7ffb25e072ca | |
parent | a6d77dbb70ea40a8711e6bccac5677643d87f16b (diff) | |
download | libgcrypt-8233e69d77aaecc0c2e63a8e5425f89aeaa873d9.tar.gz |
2003-04-16 Moritz Schulte <moritz@g10code.com>
* acinclude.m4 (LIST_MEMBER): New macro.
-rw-r--r-- | ChangeLog | 24 | ||||
-rw-r--r-- | acinclude.m4 | 16 |
2 files changed, 39 insertions, 1 deletions
@@ -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 +]) |