From rdonnelly at continuum.io  Mon Jun 27 12:58:08 2016
From: rdonnelly at continuum.io (Ray Donnelly)
Date: Mon, 27 Jun 2016 11:58:08 +0100
Subject: [Rd] Two minor build system patches.
Message-ID: <CAF5kcVWhd3gdgYhmS8b49EHCTmri96HFBj=AwyaX_i-hqcx4Hw@mail.gmail.com>

Hi all,

I ran into a few problems building R 3.3.1 and came up wth the
attached patches (fingers crossed they don't get stripped, I've also
sent this email to Jeroen since that worked last time). Would it be
possible to review and merge them if they are OK?

The first one uses AC_SEARCH_LIBS instead of AC_CHECK_LIB, looking for
ncursesw before ncurses since ncurses is usually build with wide
character support in which case non-w prefixed libraries are not
created. ArchLinux (and Conda) then make fake ld linker libraries for
the non-w prefixed ones.

The second patch fixes a typo where CPPFLAGS is misspelt as CPPLAGS
which causes them to be forgotten about in the middle of configure.



Best regards,

Ray.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Use-AC_SEARCH_LIBS-to-search-for-ncursesw-then-ncurs.patch
Type: text/x-patch
Size: 4268 bytes
Desc: not available
URL: <https://stat.ethz.ch/pipermail/r-devel/attachments/20160627/19522c26/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-configure-Fix-typo-CPPLAGS.patch
Type: text/x-patch
Size: 1197 bytes
Desc: not available
URL: <https://stat.ethz.ch/pipermail/r-devel/attachments/20160627/19522c26/attachment-0001.bin>


[Rd] Two minor build system patches.
Ray Donnelly