Skip to content

Commit

Permalink
Updated configure to check for more dependencies
Browse files Browse the repository at this point in the history
Now checks for emacs, bison, gperf, flex

Fixes issue tinyos#1
  • Loading branch information
Brad Campbell committed May 11, 2013
1 parent f3d063a commit c02969e
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions configure.in
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,18 @@ if test -z "$pathperl" ; then
AC_MSG_ERROR(I can't find perl);
fi

AM_PATH_LISPDIR
AS_IF([test "$EMACS" = no], [AC_MSG_ERROR([cannot find emacs])])

AC_PATH_PROG(pathgperf, gperf, [no])
AS_IF([test "$pathgperf" = no], [AC_MSG_ERROR([cannot find gperf])])

AC_PATH_PROG(pathbison, bison, [no])
AS_IF([test "$pathbison" = no], [AC_MSG_ERROR([cannot find bison])])

AC_PATH_PROG(pathflex, flex, [no])
AS_IF([test "$pathflex" = no], [AC_MSG_ERROR([cannot find flex])])

AC_OUTPUT(
Makefile
doc/Makefile
Expand Down

0 comments on commit c02969e

Please sign in to comment.