blob: 09e3d9ca9cb380414570bfd6d422e1370ba4275c [file] [log] [blame]
Andrew Geissler9aee5002022-03-30 16:27:02 +00001From 4801363fbff12bf1019aaf90142981702cecff92 Mon Sep 17 00:00:00 2001
Andrew Geisslerac970dd2021-02-12 15:32:45 -06002From: 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>
Andrew Geissler9aee5002022-03-30 16:27:02 +000013
Andrew Geisslerac970dd2021-02-12 15:32:45 -060014---
15 configure.ac | 1 +
16 1 file changed, 1 insertion(+)
17
18diff --git a/configure.ac b/configure.ac
Andrew Geissler9aee5002022-03-30 16:27:02 +000019index 53a4db4..3462b3e 100644
Andrew Geisslerac970dd2021-02-12 15:32:45 -060020--- a/configure.ac
21+++ b/configure.ac
Andrew Geissler9aee5002022-03-30 16:27:02 +000022@@ -48,6 +48,7 @@ AC_CANONICAL_HOST
Andrew Geisslerac970dd2021-02-12 15:32:45 -060023 # 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
Andrew Geissler9aee5002022-03-30 16:27:02 +000029 LT_INIT