[PATCH input-penmount 1/2] config: Remove unused -I$(top_srcdir)/src directive

Dan Nicholson dbn.lists at gmail.com
Tue Mar 9 14:47:03 PST 2010


On Tue, Mar 9, 2010 at 10:10 AM, Gaetan Nadon <memsize at videotron.ca> wrote:
> There are no sibling directories that need access to /src headers
>
> Signed-off-by: Gaetan Nadon <memsize at videotron.ca>
> ---
>  src/Makefile.am |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/src/Makefile.am b/src/Makefile.am
> index 56ecc23..c42c6ca 100644
> --- a/src/Makefile.am
> +++ b/src/Makefile.am
> @@ -18,7 +18,7 @@
>  #  IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
>  #  CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
>
> -AM_CFLAGS = $(XORG_CFLAGS) -I$(top_srcdir)/src
> +AM_CFLAGS = $(XORG_CFLAGS)
>
>  # this is obnoxious:
>  # -module lets us name the module exactly how we want

Not to mention that automake adds -I$(srcdir), which is
-I$(top_srcdir)/src in this case, by default.

--
Dan


More information about the xorg-devel mailing list