aboutsummaryrefslogtreecommitdiffstats
path: root/acinclude.m4
diff options
context:
space:
mode:
authorMarcus Brinkmann <[email protected]>2011-05-06 11:26:58 +0000
committerMarcus Brinkmann <[email protected]>2011-05-06 11:26:58 +0000
commit08ab0a5cdfa4f1b34bcbc27d3bcb37a673861681 (patch)
treedeaeb17a2118c66a441c402b9e2193497f566a91 /acinclude.m4
parentMake sure an existing agent doesn't interfere with test suite generation. (diff)
downloadgpgme-08ab0a5cdfa4f1b34bcbc27d3bcb37a673861681.tar.gz
gpgme-08ab0a5cdfa4f1b34bcbc27d3bcb37a673861681.zip
Remove unused macro GNUPG_FIX_HDR_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 96766561..cdfe6e43 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -17,32 +17,6 @@ dnl You should have received a copy of the GNU Lesser General Public
dnl License along with this program; if not, write to the Free Software
dnl Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
-dnl GNUPG_FIX_HDR_VERSION(FILE, NAME)
-dnl Make the version number stored in NAME in the header file FILE the
-dnl same as the one here. This is easier than to have a .in file just
-dnl for one substitution.
-dnl We must use a temp file in the current directory because make
-dnl distcheck installs all sourcefiles RO.
-dnl (wk 2001-12-18)
-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_VA_COPY()
dnl Do some check on how to implement va_copy.
dnl May define MUST_COPY_VA_BY_VAL.