File: 41_run_cligen_on_debian.diff

package info (click to toggle)
gnutls28 3.8.11-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 82,372 kB
  • sloc: ansic: 391,853; asm: 117,804; sh: 18,780; makefile: 6,801; yacc: 1,858; python: 1,399; cpp: 1,243; perl: 995; sed: 39
file content (18 lines) | stat: -rw-r--r-- 683 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description: Check for python on Debian builds, un-disables running cligen
Author: Andreas Metzler <ametzler@debian.org>
Origin: vendor
Forwarded: not-needed
Last-Update: 2025-02-08

--- gnutls28-3.8.9.orig/configure.ac
+++ gnutls28-3.8.9/configure.ac
@@ -567,7 +567,8 @@ AM_CONDITIONAL(WANT_TEST_SUITE, test "$f
 
 dnl Python is required when building from git (for the cligen tool) and
 dnl when running the extended test suite.
-if test "$full_test_suite" = yes || test -e "${srcdir}/.git"; then
+dnl Also run cligen for Debian package builds.
+if test "$full_test_suite" = yes || test -e "${srcdir}/.git" || test -e "${srcdir}/debian/control"; then
 	AM_PATH_PYTHON([3.6])
 fi