ext2_types.h.in: If linux/types.h has been defined, then don't try to
redefine the typedefs.
ChangeLog, Makefile.in:
Makefile.in: Make the install target depend on $(SUBS) to accomodate
the fools who want to compile and install e2fsprogs as root using just
one command.
2001-06-13 Theodore Tso <tytso@valinux.com>
+ * Makefile.in: Make the install target depend on $(SUBS) to
+ accomodate the fools who want to compile and install
+ e2fsprogs as root using just one command.
+
* Makefile.in: Don't recurse into debugfs and resize subdirectory
if --disable-debugfs or --disable-resizer is given as a
configuration option.
distclean-doc:
cd doc && $(MAKE) distclean
-install: all-libs-recursive install-progs-recursive \
+install: $(SUBS) all-libs-recursive install-progs-recursive \
install-shlibs-libs-recursive install-doc-libs
# export MANPATH=$(DESTDIR)$(mandir); $(srcdir)/install-utils/compile_manpages
2001-06-13 Theodore Tso <tytso@valinux.com>
+ * ext2_types.h.in: If linux/types.h has been defined, then don't
+ try to redefine the typedefs.
+
* Makefile.in (HFILES): Add ext2_types.h to the list of files
which should be installed.
#ifndef _EXT2_TYPES_H
#define _EXT2_TYPES_H
+/*
+ * If linux/types.h is already been included, assume it has defined
+ * everything we need. (cross fingers)
+ */
+#ifndef _LINUX_TYPES_H
+
typedef unsigned char __u8;
typedef signed char __s8;
?== error: undefined 32 bit type
#endif
+#endif /* LINUX_TYPES_H */
+
#endif /* EXT2_TYPES_H */