Details
-
Bug
-
Resolution: Not a Bug
-
Minor
-
None
-
None
-
3
-
6936
Description
The top level ./configure script always runs ldiskfs/configure despite of --disable-ldiskfs-build or --disable-server.
If I'm building for clients, it does not make sense to me to run ldiskfs/configure, but maybe there's things I don't see yet. It seems that ldiskfs/configure is always called as long as the ldiskfs/ subdir exists, in build/autoconf/lustre-build-ldiskfs.m4:
if test -e "$PWD/ldiskfs"; then
LDISKFS_DIST_SUBDIR="ldiskfs"
AC_SUBST(LDISKFS_DIST_SUBDIR)
AC_CONFIG_SUBDIRS("ldiskfs")
fi
If I commented out the AC_CONFIG_SUBDIRS() line, ldiskfs/configure is no longer run and everything seemed to build just fine.
BTW, it should be a "test -d" instead of "test -e".
Attachments
Activity
Resolution | New: Not a Bug [ 6 ] | |
Status | Original: Open [ 1 ] | New: Resolved [ 5 ] |
Description |
Original:
The top level ./configure script always runs ldiskfs/configure despite of --disable-ldiskfs-build or --disable-server. If I'm building for clients, it does not make sense to me to run ldiskfs/configure, but maybe there's things I don't see yet. It seems that ldiskfs/configure is always called as long as the ldiskfs/ subdir exists, in build/autoconf/lustre-build-ldiskfs.m4: if test -e "$PWD/ldiskfs"; then LDISKFS_DIST_SUBDIR="ldiskfs" AC_SUBST(LDISKFS_DIST_SUBDIR) AC_CONFIG_SUBDIRS("ldiskfs") fi If I commented out the AC_CONFIG_SUBDIRS() line, ldiskfs/configure is no longer run and everything seemed to build just fine. |
New:
The top level ./configure script always runs ldiskfs/configure despite of --disable-ldiskfs-build or --disable-server. If I'm building for clients, it does not make sense to me to run ldiskfs/configure, but maybe there's things I don't see yet. It seems that ldiskfs/configure is always called as long as the ldiskfs/ subdir exists, in build/autoconf/lustre-build-ldiskfs.m4: if test -e "$PWD/ldiskfs"; then LDISKFS_DIST_SUBDIR="ldiskfs" AC_SUBST(LDISKFS_DIST_SUBDIR) AC_CONFIG_SUBDIRS("ldiskfs") fi If I commented out the AC_CONFIG_SUBDIRS() line, ldiskfs/configure is no longer run and everything seemed to build just fine. BTW, it should be a "test -d" instead of "test -e". |