27b7327
Port autoconf script to C99 and enable autoreconf for this package.
27b7327
27b7327
Upstrem bug tracked here:
27b7327
https://bugzilla.netfilter.org/show_bug.cgi?id=1654
27b7327
27b7327
diff --git a/configure.ac b/configure.ac
27b7327
index 060f307..fd70863 100644
27b7327
--- a/configure.ac
27b7327
+++ b/configure.ac
27b7327
@@ -55,9 +55,9 @@ int main()
27b7327
      struct in6_addr addr6;
27b7327
      char buf[128];
27b7327
      if (inet_ntop(AF_INET6, &addr6, buf, 128) == 0 && errno == EAFNOSUPPORT)
27b7327
-        exit(1);
27b7327
+        return 1;
27b7327
      else
27b7327
-        exit(0);
27b7327
+        return 0;
27b7327
   }
27b7327
   ]])],[ AC_MSG_RESULT(yes)
27b7327
        AC_DEFINE_UNQUOTED(HAVE_INET_NTOP_IPV6, 1, [Define to 1 if inet_ntop supports IPv6.])