Skip to content

Instantly share code, notes, and snippets.

@brandt
Last active December 10, 2015 19:18
Show Gist options
  • Save brandt/4479981 to your computer and use it in GitHub Desktop.
Save brandt/4479981 to your computer and use it in GitHub Desktop.
Fixes deprecated m4 macro issue that was preventing libnet from being compiled with newer versions of automake.
--- configure.in.orig 2013-01-07 16:33:30.000000000 -0800
+++ configure.in 2013-01-07 16:33:59.000000000 -0800
@@ -8,9 +8,9 @@
AC_MSG_RESULT(beginning autoconfiguration process for libnet-${PACKAGE_VERSION} ...)
AC_CANONICAL_SYSTEM
AC_CONFIG_SRCDIR([src/libnet_build_ip.c])
+AC_CONFIG_HEADERS([include/config.h])
AC_CONFIG_MACRO_DIR([m4])
AM_INIT_AUTOMAKE
-AM_CONFIG_HEADER([include/config.h])
AM_MAINTAINER_MODE
dnl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment