]> err.no Git - util-linux/commit
build-sys: remove DEFAULT_INCLUDES workaround
authorKarel Zak <kzak@redhat.com>
Thu, 4 Jan 2007 13:39:17 +0000 (14:39 +0100)
committerKarel Zak <kzak@redhat.com>
Thu, 4 Jan 2007 13:39:17 +0000 (14:39 +0100)
commit8174c9ca720fdcb98f0da09de792ecea9d340691
tree40e4503fc4d1a9038ed1db90c3cae7eecda74372
parente83446da1a3f626920d5e65d4f78651581765b61
build-sys: remove DEFAULT_INCLUDES workaround

The automake stuff uses "-I.". as a default gcc option for includes. This is a
problem for source code where is local includes with a same name like system
includes (e.g.  mntent.h, paths.h). Possible workaround is overwrite the
automake DEFAULT_INCLUDES variable. But this solution produces warnings. The
best way (this patch) is probably rename the files and remove DEFAULT_INCLUDES.

Signed-off-by: Karel Zak <kzak@redhat.com>
config/include-Makefile.am
mount/Makefile.am
mount/fstab.c
mount/fstab.h
mount/mount.c
mount/mount_mntent.c [moved from mount/mntent.c with 99% similarity]
mount/mount_mntent.h [moved from mount/mntent.h with 87% similarity]
mount/mount_paths.h [moved from mount/paths.h with 78% similarity]