Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame^] | 1 | From 4801363fbff12bf1019aaf90142981702cecff92 Mon Sep 17 00:00:00 2001 |
Andrew Geissler | ac970dd | 2021-02-12 15:32:45 -0600 | [diff] [blame] | 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> |
Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame^] | 13 | |
Andrew Geissler | ac970dd | 2021-02-12 15:32:45 -0600 | [diff] [blame] | 14 | --- |
| 15 | configure.ac | 1 + |
| 16 | 1 file changed, 1 insertion(+) |
| 17 | |
| 18 | diff --git a/configure.ac b/configure.ac |
Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame^] | 19 | index 53a4db4..3462b3e 100644 |
Andrew Geissler | ac970dd | 2021-02-12 15:32:45 -0600 | [diff] [blame] | 20 | --- a/configure.ac |
| 21 | +++ b/configure.ac |
Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame^] | 22 | @@ -48,6 +48,7 @@ AC_CANONICAL_HOST |
Andrew Geissler | ac970dd | 2021-02-12 15:32:45 -0600 | [diff] [blame] | 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 |
Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame^] | 29 | LT_INIT |