[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Emacs-diffs] /srv/bzr/emacs/trunk r100503: Fix config.h includes.
From: |
Stephen J. Turnbull |
Subject: |
Re: [Emacs-diffs] /srv/bzr/emacs/trunk r100503: Fix config.h includes. |
Date: |
Thu, 03 Jun 2010 01:55:41 +0900 |
Stefan Monnier writes:
> >> > * src/dbusbind.c: Use #include <config.h> instead of "config.h" as all
> >> > other files do.
> >> I understand teh desire to make it uniform, but why choose to
> >> standardize on <config.h> rather than "config.h"?
> > VPATH.
>
> I don't see how that relates. VPATH seems to be a make-only feature,
> whereas we're talking about C code.
Specifically, people who build both in-tree and out-of-tree.
If you do that, VPATH/--srcdir can break because you have multiple
config.h on the #include search path, and the one in-tree always wins
if you use #include "config.h".
Re: [Emacs-diffs] /srv/bzr/emacs/trunk r100503: Fix config.h includes., Dan Nicolaescu, 2010/06/02