diff options
author | Werner Koch <wk@gnupg.org> | 2000-11-14 17:04:16 +0100 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2000-11-14 17:04:16 +0100 |
commit | 986649bea0798cb6509069d046197f9628932c01 (patch) | |
tree | abfbefbde834a919bba8e3ada10c0d864715ec0a /acinclude.m4 | |
parent | Add features packet and fixes MIPS3. (diff) | |
download | gnupg2-986649bea0798cb6509069d046197f9628932c01.tar.xz gnupg2-986649bea0798cb6509069d046197f9628932c01.zip |
Some configuration changes
Diffstat (limited to 'acinclude.m4')
-rw-r--r-- | acinclude.m4 | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/acinclude.m4 b/acinclude.m4 index 7291c1dff..9dce2486b 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([[ |