Browse Source

build: Forbid m4 tokens on the output matching ^_?DPKG_

This will make sure no accidentally unexpanded dpkg token is left on
the output. The build would fail anyway, but maybe only on specific
code paths.

Based-on-patch-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Guillem Jover <guillem@debian.org>
Guillem Jover 14 years ago
parent
commit
7e3260e187
1 changed files with 2 additions and 0 deletions
  1. 2 0
      configure.ac

+ 2 - 0
configure.ac

@@ -1,5 +1,7 @@
 # Process this file with autoconf to produce a configure script.
 
+m4_pattern_forbid([^_?DPKG_])
+
 AC_PREREQ(2.60)
 AC_INIT([dpkg], m4_esyscmd([./get-version]), [debian-dpkg@lists.debian.org])
 AC_CONFIG_SRCDIR([lib/dpkg/dpkg.h])