Makefile.in: Move the generated types.h file from the linux/ directory
to the asm/ directory.
configure.in: Force Solaris to never use -static, due to its dynamic
loader not being available to statically linked programs. Create the
asm/ directory if needed.
.del-types.h.in~
ca55114a, .del-ext2_fs.h~
7a460879, .del-types.h.in~
7a460879:
Move the types.h header file from linux/ to asm/.
+Mon Jan 4 02:36:23 1999 Theodore Y. Ts'o <tytso@mit.edu>
+
+ * Makefile.in: Move the generated types.h file from the linux/
+ directory to the asm/ directory.
+
+ * configure.in: Force Solaris to never use -static, due to its
+ dynamic loader not being available to statically linked
+ programs. Create the asm/ directory if needed.
+
1999-01-01 Theodore Ts'o <tytso@rsts-11.mit.edu>
* INSTALL.elfbin (NOTE): Add a warning that the ELF binaries
PROG_SUBDIRS=e2fsck debugfs misc resize tests/progs
SUBDIRS=$(LIB_SUBDIRS) $(PROG_SUBDIRS) tests
-SUBS= include/linux/types.h
+SUBS= include/asm/types.h
TAR=tar
realclean: realclean-recursive realclean-local
-include/linux/types.h: $(DEP_SUBSTITUTE) $(srcdir)/include/linux/types.h.in
- $(SUBSTITUTE) $(srcdir)/include/linux/types.h.in \
- > include/linux/types.h
+include/asm/types.h: $(DEP_SUBSTITUTE) $(srcdir)/include/asm/types.h.in
+ $(SUBSTITUTE) $(srcdir)/include/asm/types.h.in \
+ > include/asm/types.h
mostlyclean-local:
$(RM) -f \#* *~ core MAKELOG
clean-local: mostlyclean-local
distclean-local: clean-local
- $(RM) -f include/linux/types.h $(SUBSTITUTE)
+ $(RM) -f include/asm/types.h $(SUBSTITUTE)
$(RM) -f config.status config.log config.cache MCONFIG Makefile
realclean-local: distclean-local
$(RM) -f configure
LDFLAGS=$SAVE_LDFLAGS
fi
+case "$host_os" in
+solaris2.*)
+ ac_cv_e2fsprogs_use_static=no
+;;
+esac
echo "$ac_t""$ac_cv_e2fsprogs_use_static" 1>&6
LDFLAG_STATIC=
if test $ac_cv_e2fsprogs_use_static = yes; then
test -d lib || mkdir lib
test -d include || mkdir include
test -d include/linux || mkdir include/linux
+test -d include/asm || mkdir include/asm
rmakefile=
if test -d ${srcdir}/resize ; then
rmakefile=resize/Makefile
AC_TRY_LINK([#include <stdio.h>],[fflush(stdout);],
ac_cv_e2fsprogs_use_static=yes, ac_cv_e2fsprogs_use_static=no)
LDFLAGS=$SAVE_LDFLAGS])
+dnl
+dnl Regardless of how the test turns out, Solaris doesn't handle -static
+dnl This is caused by the socket library requiring the nsl library, which
+dnl requires the -dl library, which only works for dynamically linked
+dnl programs. It basically means you can't have statically linked programs
+dnl which use the network under Solaris.
+dnl
+case "$host_os" in
+solaris2.*)
+ ac_cv_e2fsprogs_use_static=no
+;;
+esac
AC_MSG_RESULT($ac_cv_e2fsprogs_use_static)
LDFLAG_STATIC=
if test $ac_cv_e2fsprogs_use_static = yes; then
test -d lib || mkdir lib
test -d include || mkdir include
test -d include/linux || mkdir include/linux
+test -d include/asm || mkdir include/asm
rmakefile=
if test -d ${srcdir}/resize ; then
rmakefile=resize/Makefile
typedef long __s64;
typedef unsigned long __u64;
#elif (@SIZEOF_LONG_LONG@ == 8)
+#if defined(__GNUC__)
typedef __signed__ long long __s64;
+#else
+typedef signed long long __s64;
+#endif
typedef unsigned long long __u64;
#endif
#ifndef _LINUX_EXT2_FS_H
#define _LINUX_EXT2_FS_H
-#include <linux/types.h>
+#include <asm/types.h> /* Changed from linux/types.h */
/*
* The second extended filesystem constants/structures