bug-gnulib
[Top][All Lists]
Advanced

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

Re: avoid creating sys/time.h replacement when possible


From: Bruno Haible
Subject: Re: avoid creating sys/time.h replacement when possible
Date: Sun, 28 Jan 2007 20:31:57 +0100 (MET)
User-agent: KMail/1.5.4

Jim Meyering wrote:
>   - use $(SYS_TIME_H) also in the definition of MOSTLYCLEANFILES

This is not a good change. Suppose a user does in the same directory
  - first, a "./configure; make" for a deficient platform,
  - then, a "./configure" for a glibc platform
  - then he notices that he forgot to "make distclean" first, so he does
    "make distclean",
  - then, again, "./configure; make" for the glibc platform.

The generated .h file from the first build will stick around and cause
continuous trouble.

That's the reason why

  alloca-opt
  argz
  ...
  wchar
  wctype

all have the .h file _unconditionally_ in the MOSTLYCLEANFILES.

Bruno





reply via email to

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