From 9f40263e56cc9ebe28016bb4588da3846342ba79 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Wed, 7 Apr 1999 18:58:34 +0000 Subject: See ChangeLog: Wed Apr 7 20:51:39 CEST 1999 Werner Koch --- configure.in | 40 +++++++++++++++++++++++++++++++++++----- 1 file changed, 35 insertions(+), 5 deletions(-) (limited to 'configure.in') diff --git a/configure.in b/configure.in index e4760fbd5..a792ec00c 100644 --- a/configure.in +++ b/configure.in @@ -50,7 +50,7 @@ case "$use_static_rnd" in esac dnl -dnl See whether the user wants to disable checking for 7dev/random +dnl See whether the user wants to disable checking for /dev/random AC_MSG_CHECKING([whether use of /dev/random is requested]) AC_ARG_ENABLE(dev-random, @@ -392,17 +392,17 @@ dnl And build the constructor file dnl test -d cipher || mkdir cipher -cat <cipher/construct.c +cat <cipher/construct.c /* automatically generated by configure - do not edit */ -EOF +G10EOF GNUPG_MSG_PRINT([statically linked cipher modules:]) for name in $STATIC_CIPHER_NAMES; do echo "void ${name}_constructor(void);" >>cipher/construct.c GNUPG_MSG_PRINT([$name]) done AC_MSG_RESULT() -cat <>cipher/construct.c +cat <>cipher/construct.c void cipher_modules_constructor(void) @@ -412,7 +412,7 @@ cipher_modules_constructor(void) return; done = 1; -EOF +G10EOF for name in $STATIC_CIPHER_NAMES; do echo " ${name}_constructor();" >>cipher/construct.c done @@ -483,6 +483,36 @@ fi GNUPG_DO_LINK_FILES +AC_OUTPUT_COMMANDS([ +cat >g10defs.tmp </dev/null; then + echo "g10defs.h is unchanged" + rm -f g10defs.tmp +else + rm -f g10defs.h + mv g10defs.tmp g10defs.h + echo "g10defs.h created" +fi +],[ +prefix=$prefix +exec_prefix=$exec_prefix +libdir=$libdir +datadir=$datadir +DATADIRNAME=$DATADIRNAME +]) + + AC_OUTPUT([ Makefile intl/Makefile -- cgit v1.2.3