Skip to content
Snippets Groups Projects
Commit 20d9017a authored by Peter Braam's avatar Peter Braam
Browse files

- fix to deal with other versions of automake.... :(

parent 5f047ab0
No related branches found
No related tags found
No related merge requests found
...@@ -5,11 +5,6 @@ ...@@ -5,11 +5,6 @@
AUTOMAKE_OPTIONS = foreign AUTOMAKE_OPTIONS = foreign
if LINUX25
DIRS24 = mds
else
DIRS24 = extN mds
endif
# NOTE: keep extN before mds # NOTE: keep extN before mds
SUBDIRS = lov utils obdclass ldlm ptlrpc lib obdecho mdc osc ost llite SUBDIRS = lov utils obdclass ldlm ptlrpc lib obdecho mdc osc ost llite
......
AC_MSG_CHECKING(if you are running linux 2.5...) AC_MSG_CHECKING(if you are running linux 2.5...)
if test -e $LINUX/include/linux/namei.h ; then if test -e $LINUX/include/linux/namei.h ; then
linux25=yes linux25=yes
DIRS24="mds"
FSMOD="mds_ext3"
AC_MSG_RESULT(yes) AC_MSG_RESULT(yes)
else else
linux25=no linux25=no
DIRS24="mds extN"
FSMOD="mds_extN"
AC_MSG_RESULT(no) AC_MSG_RESULT(no)
fi fi
AM_CONDITIONAL(LINUX25, test x$linux25 = xyes) AC_SUBST(DIRS24)
AC_SUBST(FSMOD)
## AM_CONDITIONAL(LINUX25, test x$linux25 = xyes)
AC_MSG_CHECKING(if you are running user mode linux for $host_alias..) AC_MSG_CHECKING(if you are running user mode linux for $host_alias..)
if test -e $LINUX/include/asm-um ; then if test -e $LINUX/include/asm-um ; then
......
...@@ -5,17 +5,11 @@ ...@@ -5,17 +5,11 @@
DEFS= DEFS=
if LINUX25 MODS=@FSMOD@
FSMOD = mds_ext3
else
FSMOD = mds_extN
endif
MODULE = mds MODULE = mds
modulefs_DATA = mds.o $(FSMOD).o modulefs_DATA = mds.o $(MODS).o
EXTRA_PROGRAMS = mds $(FSMOD) EXTRA_PROGRAMS = mds $(MODS)
LINX= mds_updates.c simple.c ll_pack.c lov_pack.c target.c LINX= mds_updates.c simple.c ll_pack.c lov_pack.c target.c
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment