Debian Codegraph @

debian/patches/add-include-support-4.patch

raw
1 From: Brian May <[email protected]>
2 Date: Thu, 8 Aug 2024 10:43:18 +1000
3 Subject: add-include-support-4
4
5 commit 96641e12ba61806201f420fe880888047ebd5402
6 Author: Nicolas Williams <[email protected]>
7 Date: Fri Mar 10 15:40:26 2017 -0600
8
9 Canonicalize $srcdir in configure.ac
10
11 For krb5.conf include/includedir we want to reject non-absolute paths,
12 but then we need to make sure that we use absolute paths in the tests,
13 otherwise they fail. Of course ./configure has been defaulting to
14 relative paths for $srcdir and $objdir. This commit canonicalizes
15 $srcdir; eventually, no doubt, we'll have to canonicalize $objdir too.
16
17 Origin: upstream, https://github.com/heimdal/heimdal/commit/96641e12ba61806201f420fe880888047ebd5402
18 Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1074775
19 Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/heimdal/+bug/2037321
20 Last-Update: 2024-07-05
21 ---
22 configure.ac | 2 ++
23 1 file changed, 2 insertions(+)
24
25 diff --git a/configure.ac b/configure.ac
26 index c95cd9d..360c447 100644
27 --- a/configure.ac
28 +++ b/configure.ac
29 @@ -7,6 +7,8 @@ AC_CONFIG_SRCDIR([kuser/kinit.c])
30 AC_CONFIG_HEADERS(include/config.h)
31 AC_CONFIG_MACRO_DIR([cf])
32
33 +srcdir=`cd "$srcdir" && pwd || echo "$srcdir"`
34 +
35 AM_INIT_AUTOMAKE([foreign 1.11])
36 AM_MAINTAINER_MODE
37