delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/09/08/03:37:01

Date: Tue, 8 Sep 1998 10:25:41 +0200 (WET)
From: Andris Pavenis <pavenis AT lanet DOT lv>
To: "Peter J. Farley III" <pjfarley AT banet DOT net>
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: <Pine.A32.3.91.980908101857.64692A-100000@ieva05.lanet.lv>
MIME-Version: 1.0


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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019