From 48f8a76549aa2001090c7a5e1fa40891954ff01f Mon Sep 17 00:00:00 2001 From: Vinson Lee Date: Tue, 11 May 2010 12:33:30 -0700 Subject: [PATCH] autoconf: Also strip '\r' character in version scrape. Fixes autoconf GCC conftest.c test on Cygwin. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 83aa31d3bde..3207c9f718a 100644 --- a/configure.ac +++ b/configure.ac @@ -4,7 +4,7 @@ AC_PREREQ([2.59]) dnl Versioning - scrape the version from configs/default m4_define([mesa_version], - [m4_esyscmd([${MAKE-make} -s -f bin/version.mk version | tr -d '\n'])]) + [m4_esyscmd([${MAKE-make} -s -f bin/version.mk version | tr -d '\n' | tr -d '\r'])]) m4_ifval(mesa_version,, [m4_fatal([Failed to get the Mesa version from `make -f bin/version.mk version`])]) -- 2.30.2