player: timer: don't use negative length
[vlc.git] / contrib / src / libarchive / configure.ac-add-AC_PROG_CPP.patch
blobcdec009ef14637b6d4d86b5592ab9bbe8fa8d344
1 From b4c5bf51436d876631e12ed8533e86405f8581d7 Mon Sep 17 00:00:00 2001
2 From: Alexandre Janniaux <ajanni@videolabs.io>
3 Date: Mon, 11 Jan 2021 12:31:53 +0100
4 Subject: [PATCH] configure.ac: add AC_PROG_CPP
6 Otherwise, the preprocessor is not detected and it leads to failure with
7 empty $CPP variable being used on la_TYPE_UID_T, leading to a cascade of
8 detection errors and redefinition of some types.
9 ---
10 configure.ac | 1 +
11 1 file changed, 1 insertion(+)
13 diff --git a/configure.ac b/configure.ac
14 index 3b4602f5..d51fa19c 100644
15 --- a/configure.ac
16 +++ b/configure.ac
17 @@ -107,6 +107,7 @@ AC_SUBST(PLATFORMCPPFLAGS)
18 AC_PROG_CC
19 AC_PROG_CC_C99
20 AM_PROG_CC_C_O
21 +AC_PROG_CPP
22 AC_USE_SYSTEM_EXTENSIONS
23 AC_LIBTOOL_WIN32_DLL
24 AC_PROG_LIBTOOL
25 --
26 2.30.0