Makefile.in, configure.in, ChangeLog, configure:
  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/.

diff --git a/configure b/configure
index c782f71..75317a7 100644
--- a/configure
+++ b/configure
@@ -2378,6 +2378,11 @@
 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
@@ -2399,6 +2404,7 @@
 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