#4468: e2fsprogs-1.45.1
--------------------+-----------------------
 Reporter:  renodr  |       Owner:  lfs-book
     Type:  task    |      Status:  closed
 Priority:  normal  |   Milestone:  8.5
Component:  Book    |     Version:  SVN
 Severity:  normal  |  Resolution:  fixed
 Keywords:          |
--------------------+-----------------------

Comment (by thomas):

 Just a comment on (closed) ticket. Got a fix from Ted:

 {{{
 commit a9cf13748946ce9ceb56f962fc22b965048d2cef
 Author: Theodore Ts'o <[email protected]>
 Date:   Wed May 22 13:03:38 2019 -0400

     configure: fix test where cron is not installed on a non-systemd
 system

     Reported-by: [email protected]
     Signed-off-by: Theodore Ts'o <[email protected]>

 diff --git a/configure b/configure
 index 205b2d6dc..065bff761 100755
 --- a/configure
 +++ b/configure
 @@ -13150,7 +13150,8 @@ fi
  { $as_echo "$as_me:${as_lineno-$LINENO}: result:
 $ac_cv_lib_blkid_blkid_probe_get_topology" >&5
  $as_echo "$ac_cv_lib_blkid_blkid_probe_get_topology" >&6; }
  if test "x$ac_cv_lib_blkid_blkid_probe_get_topology" = xyes; then :
 -  $as_echo "#define HAVE_BLKID_PROBE_GET_TOPOLOGY 1" >>confdefs.h
 +
 +$as_echo "#define HAVE_BLKID_PROBE_GET_TOPOLOGY 1" >>confdefs.h

  fi

 @@ -13191,7 +13192,8 @@ fi
  { $as_echo "$as_me:${as_lineno-$LINENO}: result:
 $ac_cv_lib_blkid_blkid_probe_enable_partitions" >&5
  $as_echo "$ac_cv_lib_blkid_blkid_probe_enable_partitions" >&6; }
  if test "x$ac_cv_lib_blkid_blkid_probe_enable_partitions" = xyes;
 then :
 -  $as_echo "#define HAVE_BLKID_PROBE_ENABLE_PARTITIONS 1"
 >>confdefs.h
 +
 +$as_echo "#define HAVE_BLKID_PROBE_ENABLE_PARTITIONS 1" >>confdefs.h

  fi

 @@ -14511,6 +14513,8 @@ if test "x${with_crond_dir}" != "xno"; then :

                 if test -d "/etc/cron.d"; then :
    with_crond_dir="/etc/cron.d"
 +else
 +  have_crond="no"; with_crond_dir=""
  fi

  fi
 diff --git a/configure.ac b/configure.ac
 index 3b86c1a14..cf03444d8 100644
 --- a/configure.ac
 +++ b/configure.ac
 @@ -1674,7 +1674,8 @@ AS_IF([test "x${with_crond_dir}" != "xno"],
         AS_IF([test "x${with_crond_dir}" = "xyes"],
           [
                 AS_IF([test -d "/etc/cron.d"],
 -                 [with_crond_dir="/etc/cron.d"])
 +                 [with_crond_dir="/etc/cron.d"],
 +                 [have_crond="no"; with_crond_dir=""])
           ])
         AC_MSG_CHECKING([for system crontab dir])
         crond_dir="${with_crond_dir}"
 }}}

 No need to specify the --with-crond-dir=no option at configure command
 anylonger (and no 'yes'-directory). Find the (reformatted) patch
 attached.

--
Ticket URL: <http://wiki.linuxfromscratch.org/lfs/ticket/4468#comment:4>
LFS Trac <http://wiki.linuxfromscratch.org/lfs/>
Linux From Scratch: Your Distro, Your Rules.
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to