output of gcc -print-prog-name=ld.
* ltconfig.in: ditto.
+1999-08-02 Olly Betts <olly@muscat.co.uk>
+
+ * libtool.m4 (AC_PROG_LD): strip carriage returns from the
+ output of gcc -print-prog-name=ld.
+ * ltconfig.in: ditto.
+
1999-07-30 Pavel Roskin <pavel_roskin@geocities.com>
* ltmain.in: Ensure that gcc on HPsUX uses -fPIC, or else
initialised structures are sometimes emitted in the code section.
-
+
1999-07-30 Mumit Khan <khan@xraylith.wisc.edu>
* ltconfig.in: Read line at a time to avoid tokenisation by
if test "$ac_cv_prog_gcc" = yes; then
# Check if gcc -print-prog-name=ld gives a path.
AC_MSG_CHECKING([for ld used by GCC])
- ac_prog=`($CC -print-prog-name=ld) 2>&5`
+ ac_prog=`($CC -print-prog-name=ld) 2>&5 | sed 's,\r$,,'`
case "$ac_prog" in
# Accept absolute paths.
changequote(,)dnl
# Check if gcc -print-prog-name=ld gives a path.
echo $ac_n "checking for ld used by GCC... $ac_c" 1>&6
echo "$progname:@LINENO@: checking for ld used by GCC" >&5
- ac_prog=`($CC -print-prog-name=ld) 2>&5`
+ ac_prog=`($CC -print-prog-name=ld) 2>&5 | sed 's,\r$,,'`
case "$ac_prog" in
# Accept absolute paths.
[\\/]* | [A-Za-z]:[\\/]*)