Skip to content

Commit

Permalink
Make checking for symlink support more robust
Browse files Browse the repository at this point in the history
Coq seems to have a different error message in newer versions
  • Loading branch information
JasonGross committed Jun 23, 2015
1 parent 3ef94ad commit 3fc2f7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configure.ac
Expand Up @@ -183,7 +183,7 @@ done
AC_SUBST([STDLIB_REPLACEMENT_DIRS])

AC_MSG_CHECKING([whether your coqtop supports directory symlinks to the stdlib])
coqtop_out="$("$COQTOP" -coqlib "$srcdir/coq" < /dev/null 2>&1 | grep -c 'Warning: Cannot open')"
coqtop_out="$("$COQTOP" -coqlib "$srcdir/coq" < /dev/null 2>&1 | grep -c 'Warning: Cannot open\|Error: File not found on loadpath')"
AS_IF([test "$coqtop_out" = 0],
[AC_MSG_RESULT([yes])],
[AC_MSG_RESULT([no])
Expand Down

0 comments on commit 3fc2f7d

Please sign in to comment.