acinclude.m4
changeset 1 cf2af46e9e2a
parent 0 74212992fb08
child 723 1e8865a3e127
--- a/acinclude.m4	Thu Apr 26 16:45:43 2001 +0000
+++ b/acinclude.m4	Thu Apr 26 16:50:19 2001 +0000
@@ -434,7 +434,8 @@
 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 | tr -d '\r') 2>&5`
+  DELCR='tr -d \015'
+  ac_prog=`($CC -print-prog-name=ld | $DELCR) 2>&5`
   case "$ac_prog" in
     # Accept absolute paths.
 changequote(,)dnl