Andrew Geissler | ac970dd | 2021-02-12 15:32:45 -0600 | [diff] [blame] | 1 | From cc4499cd4cfcb655fc44c3f3571eee20663dafde Mon Sep 17 00:00:00 2001 |
| 2 | From: Andrey Zhizhikin <andrey.z@gmail.com> |
| 3 | Date: Wed, 3 Feb 2021 20:44:34 +0000 |
| 4 | Subject: [PATCH] configure.ac: check for CPP prog |
| 5 | |
| 6 | Absence 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 | |
| 11 | Upstream-Status: Pending |
| 12 | Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com> |
| 13 | --- |
| 14 | configure.ac | 1 + |
| 15 | 1 file changed, 1 insertion(+) |
| 16 | |
| 17 | diff --git a/configure.ac b/configure.ac |
| 18 | index 939cf0a..f75b398 100644 |
| 19 | --- a/configure.ac |
| 20 | +++ b/configure.ac |
| 21 | @@ -47,6 +47,7 @@ AC_CANONICAL_HOST |
| 22 | # Checks for tools: c compiler, ranlib (used for creating static libraries), |
| 23 | # symlinks and libtool |
| 24 | AC_PROG_CC |
| 25 | +AC_PROG_CPP |
| 26 | AC_PROG_RANLIB |
| 27 | AC_PROG_LN_S |
| 28 | AC_PROG_LIBTOOL |
| 29 | -- |
| 30 | 2.17.1 |
| 31 | |