summaryrefslogtreecommitdiff
path: root/acinclude.m4
diff options
context:
space:
mode:
authorMarcus Brinkmann <mb@g10code.com>2006-10-11 12:01:17 +0000
committerMarcus Brinkmann <mb@g10code.com>2006-10-11 12:01:17 +0000
commit61ce8d7b0edba1960c173d2bda86fb53faad6c4d (patch)
tree153066917c9b80eb1c868aa64100c175c2b43daf /acinclude.m4
parent361c90ef18390d630c57a9acd8136c8d301d9db0 (diff)
downloadlibgcrypt-61ce8d7b0edba1960c173d2bda86fb53faad6c4d.tar.gz
2006-10-11 Marcus Brinkmann <marcus@g10code.de>
* acinclude.m4 (GNUPG_FIX_HDR_VERSION): Removed. * configure.ac: Do not call GNUPG_FIX_HDR_VERSION. src/ 2006-10-11 Marcus Brinkmann <marcus@g10code.de> * gcrypt.h.in: Replace version by @VERSION@.
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m426
1 files changed, 0 insertions, 26 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index af2b2204..d538210d 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -44,32 +44,6 @@ AC_DEFUN([GNUPG_CHECK_TYPEDEF],
])
-dnl GNUPG_FIX_HDR_VERSION(FILE, NAME)
-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 We must use a temp file in the current directory because make distcheck
-dnl install all sourcefiles RO.
-dnl
-AC_DEFUN([GNUPG_FIX_HDR_VERSION],
- [ sed "s/^#define $2 \".*/#define $2 \"$VERSION\"/" $srcdir/$1 > fixhdr.tmp
- if cmp -s $srcdir/$1 fixhdr.tmp 2>/dev/null; then
- rm -f fixhdr.tmp
- else
- rm -f $srcdir/$1
- if mv fixhdr.tmp $srcdir/$1 ; then
- :
- else
- AC_MSG_ERROR([[
-***
-*** Failed to fix the version string macro $2 in $1.
-*** The old file has been saved as fixhdr.tmp
-***]])
- fi
- AC_MSG_WARN([fixed the $2 macro in $1])
- fi
- ])
-
-
dnl GNUPG_CHECK_GNUMAKE
dnl
AC_DEFUN([GNUPG_CHECK_GNUMAKE],