Skip to content
Snippets Groups Projects
Commit 18385a5a authored by Claus-Justus Heine's avatar Claus-Justus Heine
Browse files

Really bail out if a check for a required package fails.

parent a968c15d
No related branches found
No related tags found
No related merge requests found
......@@ -455,7 +455,9 @@ m4_if(alb_ac_HEADERS,[],[],[
if test -n "$[]UPNAME[_LIBS]"; then
AC_MSG_RESULT([**** Successfully finished checks for OPTIONAL package alb_ac_PKGNAME ****])
else
AC_MSG_RESULT([**** Checks for OPTIONAL package alb_ac_PKGNAME finished UNSUCCESSFULLY ****])
m4_if(OPTIONAL,[required],
[AC_MSG_ERROR([**** Checks for required package alb_ac_PKGNAME finished UNSUCCESSFULLY ****])],
[AC_MSG_RESULT([**** Checks for optional package alb_ac_PKGNAME finished UNSUCCESSFULLY ****])])
fi])
fi dnl disable fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment