1From 4801363fbff12bf1019aaf90142981702cecff92 Mon Sep 17 00:00:00 2001
2From: Andrey Zhizhikin <andrey.z@gmail.com>
3Date: Wed, 3 Feb 2021 20:44:34 +0000
4Subject: [PATCH] configure.ac: check for CPP prog
5
6Absence of check for CPP_PROG causes following build errors:
7| checking TCP_CONGESTION socket option... ../git/configure: line 14427: CPP: command not found
8| ../git/configure: line 14553: ac_fn_c_try_cpp: command not found
9| ../git/configure: line 14553: ac_fn_c_try_cpp: command not found
10
11Upstream-Status: Pending
12Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
13
14---
15 configure.ac | 1 +
16 1 file changed, 1 insertion(+)
17
18diff --git a/configure.ac b/configure.ac
19index 53a4db4..3462b3e 100644
20--- a/configure.ac
21+++ b/configure.ac
22@@ -48,6 +48,7 @@ AC_CANONICAL_HOST
23 # Checks for tools: c compiler, ranlib (used for creating static libraries),
24 # symlinks and libtool
25 AC_PROG_CC
26+AC_PROG_CPP
27 AC_PROG_RANLIB
28 AC_PROG_LN_S
29 LT_INIT
30