Skip to content

Instantly share code, notes, and snippets.

@bluerise
Created March 6, 2013 15:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bluerise/5099891 to your computer and use it in GitHub Desktop.
Save bluerise/5099891 to your computer and use it in GitHub Desktop.
On OSX we need AC_CONFIG_HEADERS instead of AM_CONFIG_HEADER.
diff --git a/configure.ac b/configure.ac
index 260d2f7..d127601 100644
--- a/configure.ac
+++ b/configure.ac
@@ -31,7 +31,7 @@ AM_MAINTAINER_MODE
AC_CONFIG_SRCDIR([libusb/core.c])
AC_CONFIG_MACRO_DIR([m4])
-AM_CONFIG_HEADER([config.h])
+AC_CONFIG_HEADERS([config.h])
m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])
AC_PREREQ([2.50])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment