From: Vinson Lee Date: Tue, 11 May 2010 19:33:30 +0000 (-0700) Subject: autoconf: Also strip '\r' character in version scrape. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=48f8a76549aa2001090c7a5e1fa40891954ff01f;p=mesa.git autoconf: Also strip '\r' character in version scrape. Fixes autoconf GCC conftest.c test on Cygwin. --- 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`])])