build: aclocal.m4 -- Provide arguments to main

Which will allow to address these args inside test if needed.

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
This commit is contained in:
Cyrill Gorcunov 2018-12-15 18:08:47 +03:00
parent dd83b26e57
commit 6f33dbb087

2
aclocal.m4 vendored
View File

@ -60,7 +60,7 @@ AC_DEFUN(PA_HAVE_FUNC,
[AC_MSG_CHECKING([for $1])
AC_LINK_IFELSE([AC_LANG_SOURCE([
AC_INCLUDES_DEFAULT
int main(void) {
int main(int argc, char *argv[]) {
(void)$1$2;
return 0;
}