Branch: refs/heads/master Author: Colomban Wendling ban@herbesfolles.org Committer: Colomban Wendling ban@herbesfolles.org Date: Sun, 27 Apr 2014 15:50:48 UTC Commit: d769e51e97a5e9f5572b91060e4d1377c56bde1a https://github.com/geany/geany/commit/d769e51e97a5e9f5572b91060e4d1377c56bde...
Log Message: ----------- Fail if Doxygen is enabled but not found
Modified Paths: -------------- m4/geany-doxygen.m4
Modified: m4/geany-doxygen.m4 6 lines changed, 5 insertions(+), 1 deletions(-) =================================================================== @@ -16,7 +16,11 @@ AC_DEFUN([GEANY_CHECK_DOXYGEN], AS_IF([test "x$DOXYGEN" != "x"], [geany_doxygen_path="$DOXYGEN"], [geany_doxygen_path="doxygen"]) AC_PATH_PROG([DOXYGEN], [$geany_doxygen_path], [no]) - AS_IF([test "x$DOXYGEN" != "xno"], [geany_with_doxygen=yes], [geany_with_doxygen=no]) + AS_IF([test "x$DOXYGEN" != "xno"], + [geany_with_doxygen=yes], + [test "x$geany_with_doxygen" = xyes], + [AC_MSG_ERROR([API documentation enabled but doxygen not found])], + [geany_with_doxygen=no]) ])
AM_CONDITIONAL([WITH_DOXYGEN], [test "x$geany_with_doxygen" != "xno"])
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).