[LU-2870] top level ./configure always runs ldiskfs/configure despite of --disable-ldiskfs-build Created: 26/Feb/13  Updated: 09/Jan/20  Resolved: 09/Jan/20

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Isaac Huang (Inactive) Assignee: WC Triage
Resolution: Not a Bug Votes: 0
Labels: build

Severity: 3
Rank (Obsolete): 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".


Generated at Sat Feb 10 01:28:55 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.