[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] gnu: Add gsegrafix and depdendent libraries.
From: |
Ludovic Courtès |
Subject: |
Re: [PATCH] gnu: Add gsegrafix and depdendent libraries. |
Date: |
Mon, 26 May 2014 00:38:20 +0200 |
User-agent: |
Gnus/5.130009 (Ma Gnus v0.9) Emacs/24.3 (gnu/linux) |
John Darrington <address@hidden> skribis:
> On Sun, May 25, 2014 at 11:26:09PM +0200, Ludovic Courtès wrote:
> John Darrington <address@hidden> skribis:
>
> > > + (arguments
> > > + ;; The programmer kindly gives us a hook to turn off
> deprecation warnings ...
> > > + `(#:configure-flags
> '("DISABLE_DEPRECATED_CFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS")
> >
> > Would passing CPPFLAGS=-DGLIB_DISABLE_DEPRECATION_WARNINGS as
> > #:configure-flags work? If yes, that???s preferable to modifying
> > Makefile.in.
> >
> > Unfortunately not. This has been hardcoded in Makefile.am :(
>
> What is that that’s been hard-coded? Normally, Automake-generated
> makefiles honor the user’s CPPFLAGS environment/makefile variable.
>
> Sure. I can pass additional flags with CPPFLAGS. But I cannot turn off
> ones which Makefile.am puts there.
Oh, and the problem is that Makefile.am does -DG_DISABLE_DEPRECATED,
which is exactly the opposite of what we want. I see now. So yes,
looks like it has to be done this way.
Ludo’.