git.annexia.org
/
ocaml-bitstring.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Check for 'diff' program (now required to run tests).
[ocaml-bitstring.git]
/
configure.ac
diff --git
a/configure.ac
b/configure.ac
index
7a7f0e1
..
c102d42
100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-78,6
+78,13
@@
if test "x$TIME" = "xno"; then
AC_MSG_ERROR(['time' command not found])
fi
AC_MSG_ERROR(['time' command not found])
fi
+dnl Check for diff and get full path.
+AC_PATH_PROG(DIFF,diff,no)
+if test "x$DIFF" = "xno"; then
+ AC_MSG_ERROR(['diff' command not found])
+fi
+AC_SUBST(DIFF)
+
dnl Check for gprof (optional).
AC_CHECK_PROG(GPROF,gprof,gprof,no)
dnl Check for gprof (optional).
AC_CHECK_PROG(GPROF,gprof,gprof,no)