summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2010-05-11 12:33:30 -0700
committerVinson Lee <[email protected]>2010-05-11 12:33:30 -0700
commit48f8a76549aa2001090c7a5e1fa40891954ff01f (patch)
tree3472180483f5d501b454f01bad75a8d65d068a9b /configure.ac
parent199b0894b501607bf8d599ef5efc08cd6c08c79d (diff)
autoconf: Also strip '\r' character in version scrape.
Fixes autoconf GCC conftest.c test on Cygwin.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
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`])])