delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/09/07/18:48:41

From: pjfarley AT banet DOT net (Peter J. Farley III)
Newsgroups: comp.os.msdos.djgpp
Subject: autoconf v2.12 -- Bug in AC_PROG_LN_S?
Date: Mon, 07 Sep 1998 22:37:59 GMT
Message-ID: <35f45d57.8639160@news1.banet.net>
NNTP-Posting-Host: 32.100.253.220
Organization: IBM.NET
Lines: 16
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

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"?

----------------------------------------------------
Peter J. Farley III (pjfarley AT nospam DOT dorsai DOT org OR
                     pjfarley AT nospam DOT banet DOT net)

- Raw text -


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