소스 검색

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 년 전
부모
커밋
7e3260e187
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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])