Re: FVWM: configure: cc -E? Boooh!

From: Nix <nix_at_esperi.demon.co.uk>
Date: Sat, 05 Jul 2003 14:25:42 +0100

On Sat, 05 Jul 2003, Harald Dunkel spake:
> I would suggest to use "cc -E $CFLAGS" instead of "cc -E" during
> configure. $CFLAGS might contain some -I flags pointing to include
> directories to search for xpm.h or png.h, for example.

You want $(CPP) $(CPPFLAGS) (where $(CPP) is often autodetected by
configure as being cc -E).

$(CPPFLAGS) should *not* need to be passed to $(CC); if users need flags
that are passed when preprocessing *and* compiling, they should prepend
$(CPPFLAGS) to $(CFLAGS) themselves.

-- 
`It is an unfortunate coincidence that the date locarchive.h was
 written (in hex) matches Ritchie's birthday (in octal).'
               -- Roland McGrath on the libc-alpha list
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Sat Jul 05 2003 - 12:33:41 BST

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:55 BST