Просмотр исходного кода

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 лет назад: 15
Родитель
Сommit
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])