From: Eric Sunshine Date: Tue, 02 Jun 2015 18:18:56 GMT Subject: [PATCH 0/2] auto-detect getdelim() Message-ID: <1433269138-10890-1-git-send-email-sunshine@sunshineco.com> As an optimization, strbuf takes advantage of getdelim() when available (HAVE_GETDELIM). Currently, HAVE_GETDELIM is defined automatically only for Linux. This patch series updates config.mak.uname to define HAVE_GETDELIM on Mac OS X (Darwin) based upon version ("uname -r"), and more generally via a configure script check. Eric Sunshine (2): config.mak.uname: Darwin: define HAVE_GETDELIM for modern OS X releases configure: add getdelim() check config.mak.uname | 3 +++ configure.ac | 6 ++++++ 2 files changed, 9 insertions(+) -- 2.4.2.598.gb4379f4