[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ncurses/Makefile.in

From: Thomas Dickey
Subject: Re: ncurses/Makefile.in
Date: Wed, 05 Dec 2012 16:27:35 -0500
User-agent: Mutt/1.5.20 (2009-06-14)

On Wed, Dec 05, 2012 at 10:12:48PM +0100, vcoxvco wrote:
> Hi,
> >in ncurses/Makefile.in the line
> >
> >CPPFLAGS       = -DHAVE_CONFIG_H -I../ncurses -I$(srcdir) @CPPFLAGS@
> >
> >may cause problems when specifying CPPFLAGS during the call to
> >configure, i.e. something like
> >     ./configure [...] CPPFLAGS="-Ipath to some include dir"
> >
> >In my case, "path to some include dir" was the include directory of a
> >cross compiler for PowerPC running on Linux - it contains its own curses
> >header files, so cross compiling failed, as the original ncurses include
> >(-I../include) is put after the resolved CPPFLAGS.
> >
> >This patch has fixed this (ncurses-5.9-20121017):
> I didn't get any reaction so far - has my mail been lost or overlooked?

I did this in a different way:


        + modify configure macro CF_INCLUDE_DIRS to put $CPPFLAGS after the
          local -I include options in case someone has set conflicting -I
          options in $CPPFLAGS (prompted by patch for ncurses/Makefile.in by
          Vassili Courzakis).

Thomas E. Dickey <address@hidden>

Attachment: signature.asc
Description: Digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]