Navigation Menu

Skip to content

Commit

Permalink
Fix warnings when running autoreconf -vi
Browse files Browse the repository at this point in the history
  • Loading branch information
katkad authored and phibos committed Dec 27, 2015
1 parent 0ed6f65 commit 0a2c478
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion configure.ac
Expand Up @@ -8,7 +8,7 @@ sinclude(m4/az_bind_ipv4_mapped_localhost.m4)

AC_PREREQ(2.59)
AC_INIT([dionaea], [0.1.0], [nepenthesdev@gmail.com])
AM_INIT_AUTOMAKE([dionaea], [0.1.0])
AM_INIT_AUTOMAKE
AC_REVISION([$Id$])

AC_PREFIX_DEFAULT(/opt/dionaea)
Expand Down
4 changes: 2 additions & 2 deletions m4/az_bind_ipv4_mapped_localhost.m4
Expand Up @@ -2,7 +2,7 @@ AC_DEFUN([AZ_FUNC_BIND_MAPPED_IPV4_LOCALHOST],
[AC_CHECK_FUNCS(bind)
AC_MSG_CHECKING([if bind("::ffff:0.0.0.0") works])
AC_CACHE_VAL(ac_cv_have_bind_ipv4_mapped_localhost,
[AC_RUN_IFELSE(
[AC_RUN_IFELSE([AC_LANG_SOURCE(
[#include <sys/types.h>
#include <sys/socket.h>
#include <sys/un.h>
Expand All @@ -24,6 +24,6 @@ int main(int argc, char **argv)
r = bind(s, (struct sockaddr *)&si6, sizeof(struct sockaddr_in6));
close(s);
return r;
}], ac_cv_have_bind_ipv4_mapped_localhost=yes, ac_cv_have_bind_ipv4_mapped_localhost=no, ac_cv_have_bind_ipv4_mapped_localhost=cross)])
}])], ac_cv_have_bind_ipv4_mapped_localhost=yes, ac_cv_have_bind_ipv4_mapped_localhost=no, ac_cv_have_bind_ipv4_mapped_localhost=cross)])
AC_MSG_RESULT([$ac_cv_have_bind_ipv4_mapped_localhost])
])

0 comments on commit 0a2c478

Please sign in to comment.