Commit e0102d71 authored by Alberto Miranda's avatar Alberto Miranda ♨️
Browse files

Add configure check for 'file' utility

parent ac75a49b
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -39,6 +39,10 @@ AC_PROG_AWK
AC_PROG_CXX
AC_PROG_CC

AC_PATH_PROG([FILE], [file])
AS_IF([test "x${FILE}" == "x"],
      [AC_MSG_ERROR([The file utility was not found in $PATH. Please install it and rerun.])])

LT_INIT

# check that c++11 is supported by the compiler