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

Check for sufficient number of arguments to catch backwards

compatibility issues.
parent 4b58f28a
No related branches found
No related tags found
No related merge requests found
...@@ -107,6 +107,11 @@ dnl the macro itself ...@@ -107,6 +107,11 @@ dnl the macro itself
dnl dnl
AC_DEFUN(ALBERTA_CHECK_PACKAGE, AC_DEFUN(ALBERTA_CHECK_PACKAGE,
[AC_REQUIRE([AC_SET_PREFIX]) [AC_REQUIRE([AC_SET_PREFIX])
m4_if($#,
8,,[
errprint([$0] needs EXACTLY eight (8) arguments, but got $#
)
m4exit(1)])
dnl dnl
dnl upcase $1 dnl upcase $1
dnl dnl
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment