Date: Tue, 8 Sep 1998 10:25:41 +0200 (WET) From: Andris Pavenis To: "Peter J. Farley III" cc: djgpp AT delorie DOT com Subject: Re: autoconf v2.12 -- Bug in AC_PROG_LN_S? In-Reply-To: <35f45d57.8639160@news1.banet.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Mon, 7 Sep 1998, Peter J. Farley III wrote: > The autoconf macro AC_PROG_LN_S, which is found in file > $DJDIR/share/autoconf/acspecific.m4, is defined such that "yes" is the > answer for DJGPP, when in fact "ln -s" only works for executables, as > we all know. > > In trying to port the Midnight Commander sources, there are a couple > of places where it unconditionally uses the results of the > AC_PROG_LN_S macro to try to make symlinks to libraries (*.a files), > which of course does not work under DJGPP. > > Shouldn't this test be configured to produce "no" under DJGPP, so that > the value for the "LN_S" variable is "ln" rather than "ln -s"? > I agree. It should be so. Perhaps the best would be to modify the macro so that it is not broken for other targets and returns correct value for DJGPP (and submit changes to maintainers of autoconf). Adding DJGPP specific changes by us without including them into distribution may force us to run autoconf for each package to be configured for DJGPP Currently only way is to set needed environment variables and only after that run configure to override false settings for DJGPP. Some shell script is best to do this currently (as I think) Andris