Mail Archives: djgpp/1999/06/11/10:39:03
This is a multi-part message in MIME format.
--------------AD914BDE0382C87CD797AD2C
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Hello all,
These problems have been found and fixed by Michiel de Ruiter
(mdruiter AT cs DOT vu DOT nl) and later by me again and
have been reported to the automake
mailing list but apparantly not to the libtool mailing list.
1) PROBLEM: libtool script generated by ltconfig contains mixed
<CR><LF> and <CR> line endings and won't work.
libtool is written in ltconfig{.in}:
cat <<HERE > "$ofile"
echo "tekst" > "$ofile"
gives <cr><lf> on $ofile
cat ltmain.sh >> "$ofile"
gives <lf> on $ofile
FIX: sed -e "" ltmain.sh >> "$ofile"
2) PROBLEM: configure thinks ln -s works for DJGPP.
This is a problem with djgpp ln that does not make the
softlink for ordinary files, but still returns a 0 exit code.
This problem can be fixed in autoconf in the AC_PROG_LN_S macro.
Under djgpp soft links work only for .exe files. ln (hard link)
simply does a copy with is sufficient to make libtool work.
3) libtool with problems 1 and 2 fixed still doesn't work.
due to NL2SP problem in ltmain
use \015\012 \040\040 instead of \012 \040
libtool thus fixed passes all tests except cdemo-make.test
The diffs for ltmain.in and ltconfig.in are attached
Teun Burgers
--
Drs A.R. Burgers Netherlands Energy Research Foundation ECN
Phone: +31-224-564703 Solar & Wind Energy, PV Cells & Modules
Fax : +31-224-563214 P.O. Box 1
email: burgers AT ecn DOT nl 1755 ZG Petten, The Netherlands
--------------AD914BDE0382C87CD797AD2C
Content-Type: text/plain; charset=us-ascii;
name="ltmain.df"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="ltmain.df"
72c72
< NL2SP='tr \015\012 \040\040'
---
> NL2SP='tr \012 \040'
--------------AD914BDE0382C87CD797AD2C
Content-Type: text/plain; charset=us-ascii;
name="ltconfig.df"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="ltconfig.df"
2900c2900
< sed -e "" "$ltmain" >> "$ofile" || (rm -f "$ofile"; exit 1)
---
> cat "$ltmain" >> "$ofile" || (rm -f "$ofile"; exit 1)
--------------AD914BDE0382C87CD797AD2C--
- Raw text -