]> git.ipfire.org Git - thirdparty/git.git/commit - config.mak.uname
config.mak.uname: set NO_REGEX=NeedsStartEnd on AIX
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Wed, 3 May 2017 13:54:30 +0000 (13:54 +0000)
committerJunio C Hamano <gitster@pobox.com>
Thu, 4 May 2017 07:10:51 +0000 (16:10 +0900)
commit0e6d899feeda4ebe87ddd44cba7279f55c5177ab
treefbabfcc98c7e2aa0848c259bf5dbb1d3e4742e87
parent49800c940790cc7465d1b03e08d472ffd8684808
config.mak.uname: set NO_REGEX=NeedsStartEnd on AIX

Set the NO_REGEX=NeedsStartEnd Makefile flag by default on AIX.

Since commit 2f8952250a ("regex: add regexec_buf() that can work on a
non NUL-terminated string", 2016-09-21) git has errored out at
compile-time if the regular expression library doesn't support
REG_STARTEND.

While looking through Google search results for the use of NO_REGEX I
found a Chef recipe that set this on AIX[1], looking through the
documentation for the latest version of AIX (7.2, released October
2015) shows that its regexec() doesn't have REG_STARTEND.

1. https://github.com/chef/omnibus-software/commit/e247e36761#diff-3df898345d670979b74acc0bf71d8c47
2. https://www.ibm.com/support/knowledgecenter/ssw_aix_72/com.ibm.aix.basetrf2/regexec.htm

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Reviewed-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
config.mak.uname