aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 22581b02..d586436a 100755
--- a/configure
+++ b/configure
@@ -560,7 +560,7 @@ case "$menhir_ver" in
20[0-9][0-9][0-9][0-9][0-9][0-9])
if test "$menhir_ver" -ge $MENHIR_REQUIRED; then
echo "version $menhir_ver -- good!"
- menhir_include_dir=`menhir --suggest-menhirLib`
+ menhir_include_dir=$(menhir --suggest-menhirLib | tr -d '\r' | tr '\\' '/')
if test -z "$menhir_include_dir"; then
echo "Error: cannot determine the location of the Menhir API library."
echo "This can be due to an incorrect Menhir package."