-
-AC_MSG_CHECKING(for Linux release)
-
-dnl We need to rid ourselves of the nasty [ ] quotes.
-changequote(, )
-dnl Get release from version.h
-RELEASE="`sed -ne 's/.*UTS_RELEASE[ \"]*\([0-9.a-zA-Z-]*\).*/\1/p' $LINUX/include/linux/version.h`"
-changequote([, ])
-
-moduledir='$(libdir)/modules/'$RELEASE/kernel
-AC_SUBST(moduledir)
-
-modulefsdir='$(moduledir)/fs/$(PACKAGE)'
-AC_SUBST(modulefsdir)
-
-AC_MSG_RESULT($RELEASE)
-AC_SUBST(RELEASE)
-
-# Directories for documentation and demos.
-docdir='${prefix}/usr/share/doc/$(PACKAGE)'
-AC_SUBST(docdir)
-
-demodir='$(docdir)/demo'
-AC_SUBST(demodir)
-
-# not needed until the AC_CHECK_LIB(readline) above works
-# AM_CONFIG_HEADER(include/config.h)
-
-AC_OUTPUT(Makefile lib/Makefile ldlm/Makefile obdecho/Makefile ptlrpc/Makefile \
- lov/Makefile osc/Makefile mdc/Makefile mds/Makefile ost/Makefile \
- utils/Makefile utils/lconf tests/Makefile obdfilter/Makefile \
- obdclass/Makefile llite/Makefile doc/Makefile scripts/Makefile \
- scripts/lustre.spec extN/Makefile, chmod +x utils/lconf)
+AM_CONFIG_HEADER(portals/include/config.h)
+
+AC_OUTPUT([Makefile lvfs/Makefile portals/Makefile portals/Kernelenv \
+ portals/libcfs/Makefile portals/portals/Makefile \
+ portals/unals/Makefile portals/knals/Makefile \
+ portals/router/Makefile portals/knals/socknal/Makefile \
+ portals/knals/gmnal/Makefile portals/knals/qswnal/Makefile \
+ portals/knals/scimacnal/Makefile portals/knals/toenal/Makefile \
+ portals/knals/ibnal/Makefile \
+ portals/utils/Makefile portals/tests/Makefile portals/doc/Makefile \
+ obdecho/Makefile ptlrpc/Makefile liblustre/Makefile \
+ lov/Makefile osc/Makefile mdc/Makefile mds/Makefile ost/Makefile \
+ cobd/Makefile ptlbd/Makefile conf/Makefile tests/Makefile \
+ utils/Makefile utils/Lustre/Makefile obdfilter/Makefile \
+ obdclass/Makefile include/Makefile include/linux/Makefile llite/Makefile doc/Makefile scripts/Makefile \
+ scripts/lustre.spec])