]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commit
package/git: add optional support for pcre2
authorBernd Kuhls <bernd.kuhls@t-online.de>
Tue, 31 Oct 2017 18:36:57 +0000 (19:36 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 23 Nov 2017 22:20:05 +0000 (23:20 +0100)
commit9c2a54a542d703609fa851195d6984b765d21314
tree429928260e0d64a369a5150250f0f7e217ac517e
parent56b0ed5de28677a2a7aad026bb0e795d9837fa74
package/git: add optional support for pcre2

Renamed --with-libpcre to --with-libpcre1. Currently --with-libpcre
activates pcre1 support but this can change in the future to pcre2:
https://github.com/git/git/blob/df7fd961a9d9ba60840ffc0868d36cc3db2aec74/configure.ac#L258

Please note that we cannot use --with-/--without because it will lead
to an error reported by configure, for example

    --with-libpcre1 --without-libpcre2

will produce

configure: error: Only supply one of --with-libpcre1 or --with-libpcre2!

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/git/git.mk