summaryrefslogtreecommitdiff
path: root/acinclude.m4
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2000-11-14 16:04:09 +0000
committerWerner Koch <wk@gnupg.org>2000-11-14 16:04:09 +0000
commitf8b22aaddc59f76501d5a49eb143a00d72be9668 (patch)
treec137aa411cc7e0427962475a6220b237a23ef9d8 /acinclude.m4
parentc0262da2b82bfedbe59b920d3377c600214a6907 (diff)
downloadlibgcrypt-f8b22aaddc59f76501d5a49eb143a00d72be9668.tar.gz
Some configuration changes
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m410
1 files changed, 5 insertions, 5 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index 7291c1df..9dce2486 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -32,12 +32,12 @@ dnl Make the version number in gcrypt/gcrypt.h the same as the one here.
dnl (this is easier than to have a .in file just for one substitution)
dnl
AC_DEFUN(GNUPG_FIX_HDR_VERSION,
- [ sed "s/^#define $2 \".*/#define $2 \"$VERSION\"/" $1 > $1.tmp
- if cmp -s $1 $1.tmp 2>/dev/null; then
- rm -f $1.tmp
+ [ sed "s/^#define $2 \".*/#define $2 \"$VERSION\"/" $srcdir/$1 > $srcdir/$1.tmp
+ if cmp -s $srcdir/$1 $srcdir/$1.tmp 2>/dev/null; then
+ rm -f $srcdir/$1.tmp
else
- rm -f $1
- if mv $1.tmp $1 ; then
+ rm -f $srcdir/$1
+ if mv $srcdir/$1.tmp $srcdir/$1 ; then
:
else
AC_MSG_ERROR([[