automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

improve display of filesystem timestamp resolution


From: Bruno Haible
Subject: improve display of filesystem timestamp resolution
Date: Tue, 02 Jul 2024 00:05:26 +0200

Hi,

This configure output

  checking for a BSD-compatible install... /usr/bin/install -c
  checking whether sleep supports fractional seconds... true
  checking filesystem timestamp resolution... 2
  checking whether build environment is sane... yes
  ...

bugs me, like it would bug every physicist. A physical entity should always
be displayed with its unit.

It's like you asking me "How long did your breakfast take today?" and me
answering "Two."

Here's a patch that changes this display to

  checking for a BSD-compatible install... /usr/bin/install -c
  checking whether sleep supports fractional seconds... true
  checking filesystem timestamp resolution... 2 sec
  checking whether build environment is sane... yes
  ...

so that everyone understands the value.

The patch passes "make check".

It uses the ${var%...} syntax, which is present in all shells that
'configure' accepts without re-execing (see [1] column 4). I have also
verified that a tarball, made with this changes, configures fine on
Solaris 10.

Bruno

[1] 
https://git.savannah.gnu.org/gitweb/?p=gnulib/maint-tools.git;a=blob;f=test-programs/sh-features;h=ff7d4b6fa29c58da4fbec47a5e78a63f9673670c;hb=HEAD#l152

Attachment: 0001-automake-Improve-display-of-filesystem-timestamp-res.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]