On Sun, May 25, 2014 at 11:26:09PM +0200, Ludovic Courtès wrote: John Darrington 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. J' -- PGP Public key ID: 1024D/2DE827B3 fingerprint = 8797 A26D 0854 2EAB 0285 A290 8A67 719C 2DE8 27B3 See http://sks-keyservers.net or any PGP keyserver for public key.