Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-2870

top level ./configure always runs ldiskfs/configure despite of --disable-ldiskfs-build

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

          [LU-2870] top level ./configure always runs ldiskfs/configure despite of --disable-ldiskfs-build
          There are no comments yet on this issue.

          People

            wc-triage WC Triage
            isaac Isaac Huang (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: