bug-gnulib
[Top][All Lists]
Advanced

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

Re: Use $(MKDIR_P) instead of @MKDIR_P@


From: Bruno Haible
Subject: Re: Use $(MKDIR_P) instead of @MKDIR_P@
Date: Tue, 1 Sep 2009 10:37:49 +0200
User-agent: KMail/1.9.9

Jim Meyering wrote:
> Consider consistency with automake-generated rules.
> For example, I see these uses of $(MKDIR_P) in coreutils/lib/Makefile:
> ...
> I think anyone wanting to use some other MKDIR_P value
> would be surprised (and report it as a bug) to have to
> resort to rerunning configure or config.status

OK, go ahead and make the substitution.

I can see that in rare, rare cases, since MKDIR_P is a command, people
may want to use different versions of it. But for things like @LIBINTL@
and @LIBSOCKET@, it is still better to write them as @LIBINTL@, not $(LIBINTL),
because if the corresponding autoconf macro was not run, it makes the error
appear on all platforms. Otherwise it's too easy to write a Makefile.am
that builds fine on glibc systems but not on Solaris or MacOS X.

Bruno




reply via email to

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