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