diff acinclude.m4 @ 1:cf2af46e9e2a

Changes since SDL 1.2.0 release
author Sam Lantinga <slouken@lokigames.com>
date Thu, 26 Apr 2001 16:50:19 +0000
parents 74212992fb08
children 1e8865a3e127
line wrap: on
line diff
--- 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