Whamcloud - gitweb
fix for build portals in user space
authormeijia <meijia>
Sat, 24 May 2003 08:49:12 +0000 (08:49 +0000)
committermeijia <meijia>
Sat, 24 May 2003 08:49:12 +0000 (08:49 +0000)
lnet/Makefile.am
lnet/archdep.m4
lnet/build.m4
lustre/portals/Makefile.am
lustre/portals/archdep.m4
lustre/portals/build.m4

index 3c42103..1c28b64 100644 (file)
@@ -5,4 +5,8 @@
 
 EXTRA_DIST = Rules.linux archdep.m4 MCP
 DIST_SUBDIRS = libcfs portals knals unals utils tests doc router
+if LIBLUSTRE
+SUBDIRS = portals unals utils
+else
 SUBDIRS = libcfs portals knals unals utils tests doc router
+endif
index 0315644..4a00a8d 100644 (file)
@@ -52,6 +52,8 @@ case ${host_cpu} in
        AC_MSG_RESULT($host_cpu)
        KCFLAGS='-g -Wall '
        KCPPFLAGS='-D__arch_lib__ '
+       AM_CONDITIONAL(LIBLUSTRE, test x$host_cpu = xlib)
+       libdir='${exec_prefix}/lib/lustre'
         MOD_LINK=elf_i386
 ;;
        um )
@@ -203,4 +205,4 @@ CFLAGS="$KCFLAGS"
 CPPFLAGS="$KINCFLAGS $KCPPFLAGS $MFLAGS "
 
 AC_SUBST(MOD_LINK)
-AC_SUBST(LINUX25)
\ No newline at end of file
+AC_SUBST(LINUX25)
index 4e8dbbb..2f2b9e4 100644 (file)
@@ -94,15 +94,6 @@ fi
 AC_SUBST(LIBEFENCE)
 AC_SUBST(HAVE_LIBEFENCE)
 
-AM_CONDITIONAL(LIBLUSTRE, test x$host_cpu = xlib)
-AC_MSG_CHECKING(if you are building lib lustre)
-if test "$host_cpu" = "lib"; then
-   AC_MSG_RESULT(yes)
-   libdir='${exec_prefix}/lib/lustre'
-else
-   AC_MSG_RESULT(no)
-fi
-
 # end -------- Kernel build environment. -----------------
 
 
index 3c42103..1c28b64 100644 (file)
@@ -5,4 +5,8 @@
 
 EXTRA_DIST = Rules.linux archdep.m4 MCP
 DIST_SUBDIRS = libcfs portals knals unals utils tests doc router
+if LIBLUSTRE
+SUBDIRS = portals unals utils
+else
 SUBDIRS = libcfs portals knals unals utils tests doc router
+endif
index 0315644..4a00a8d 100644 (file)
@@ -52,6 +52,8 @@ case ${host_cpu} in
        AC_MSG_RESULT($host_cpu)
        KCFLAGS='-g -Wall '
        KCPPFLAGS='-D__arch_lib__ '
+       AM_CONDITIONAL(LIBLUSTRE, test x$host_cpu = xlib)
+       libdir='${exec_prefix}/lib/lustre'
         MOD_LINK=elf_i386
 ;;
        um )
@@ -203,4 +205,4 @@ CFLAGS="$KCFLAGS"
 CPPFLAGS="$KINCFLAGS $KCPPFLAGS $MFLAGS "
 
 AC_SUBST(MOD_LINK)
-AC_SUBST(LINUX25)
\ No newline at end of file
+AC_SUBST(LINUX25)
index 4e8dbbb..2f2b9e4 100644 (file)
@@ -94,15 +94,6 @@ fi
 AC_SUBST(LIBEFENCE)
 AC_SUBST(HAVE_LIBEFENCE)
 
-AM_CONDITIONAL(LIBLUSTRE, test x$host_cpu = xlib)
-AC_MSG_CHECKING(if you are building lib lustre)
-if test "$host_cpu" = "lib"; then
-   AC_MSG_RESULT(yes)
-   libdir='${exec_prefix}/lib/lustre'
-else
-   AC_MSG_RESULT(no)
-fi
-
 # end -------- Kernel build environment. -----------------