Skip to content

Instantly share code, notes, and snippets.

@Cj-bc
Created January 5, 2019 14:26
Show Gist options
  • Save Cj-bc/6a260c24bafc8acc198f03c373b9b1ce to your computer and use it in GitHub Desktop.
Save Cj-bc/6a260c24bafc8acc198f03c373b9b1ce to your computer and use it in GitHub Desktop.
diff --git a/Makefile.am b/Makefile.am
index b314ca7..66c7f74 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -34,3 +34,5 @@ minerd_LDFLAGS = $(PTHREAD_FLAGS)
minerd_LDADD = @LIBCURL@ @JANSSON_LIBS@ @PTHREAD_LIBS@ @WS2_LIBS@
minerd_CPPFLAGS = @LIBCURL_CPPFLAGS@
+# added for mac build; see commit message for details
+ACLOCAL_AMFLAGS = -I m4
diff --git a/autogen.sh b/autogen.sh
index 989604a..46cbc2f 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -5,7 +5,8 @@
set -e
-aclocal
+# patched; refer commit message for details
+aclocal -I m4
autoheader
automake --gnu --add-missing --copy
autoconf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment