[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Use $(MKDIR_P) instead of @MKDIR_P@
From: |
Ralf Wildenhues |
Subject: |
Re: Use $(MKDIR_P) instead of @MKDIR_P@ |
Date: |
Sat, 26 Sep 2009 12:43:06 +0200 |
User-agent: |
Mutt/1.5.20 (2009-08-09) |
Hi Bruno,
* Bruno Haible wrote on Tue, Sep 01, 2009 at 10:37:49AM CEST:
> 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.
You can still have this additional safety feature by using both
LIBINTL = @LIBINTL@
and
target:
$(LINK) ... $(LIBINTL)
in your Makefile.in files, or in your fragment.am snippets.
Overridability plus safety net! :-)
Cheers,
Ralf
- Re: Use $(MKDIR_P) instead of @MKDIR_P@, Ralf Wildenhues, 2009/09/01
- Re: Use $(MKDIR_P) instead of @MKDIR_P@, Bruno Haible, 2009/09/01
- Re: Use $(MKDIR_P) instead of @MKDIR_P@, Thomas Guyot-Sionnest, 2009/09/23
- Re: Use $(MKDIR_P) instead of @MKDIR_P@, Jim Meyering, 2009/09/23
- Re: Use $(MKDIR_P) instead of @MKDIR_P@, Thomas Guyot-Sionnest, 2009/09/23
- Re: Use $(MKDIR_P) instead of @MKDIR_P@, Simon Josefsson, 2009/09/23
- Re: Use $(MKDIR_P) instead of @MKDIR_P@, Jim Meyering, 2009/09/24
- Re: Use $(MKDIR_P) instead of @MKDIR_P@, Simon Josefsson, 2009/09/24
- Re: Use $(MKDIR_P) instead of @MKDIR_P@, Paolo Bonzini, 2009/09/24
- Re: Use $(MKDIR_P) instead of @MKDIR_P@, Ralf Wildenhues, 2009/09/26
- Re: Use $(MKDIR_P) instead of @MKDIR_P@, Paolo Bonzini, 2009/09/26