make: In ndn-cpp-config.h, to avoid polluting the global name space, generate NDN_CPP_HAVE_BOOST_FUNCTION etc. instead of HAVE_BOOST_FUNCTION, etc.
diff --git a/configure.ac b/configure.ac
index 9b3002a..c422503 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,9 +1,24 @@
+# To build using autotools on OS X:
+# $ sudo port install autoconf
+# $ sudo port install automake
+# $ sudo port install doxygen
+# Enter the following to show directory for m4 macros, and download the the following into there (use sudo):
+# $ aclocal --print
+# http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_compile_stdcxx_11.m4
+# http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_doxygen.m4
+# http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_openssl.m4
+# http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_sqlite3.m4
+# http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prefix_config_h.m4
+
 AC_PREREQ([2.59])
 AC_INIT([ndn-cpp], [0.2], [ndn-lib@lists.cs.ucla.edu], [ndn-cpp], [https://github.com/named-data/ndn-cpp])
 AM_INIT_AUTOMAKE([1.10 -Wall no-define foreign])
 
 AC_CONFIG_SRCDIR([config.h.in])
-AC_CONFIG_HEADERS([ndn-cpp/ndn-cpp-config.h:config.h.in])
+# Create config.h without prefixes.
+AC_CONFIG_HEADERS(config.h)
+# Add prefixes and output to a unique file name.
+AX_PREFIX_CONFIG_H(ndn-cpp/ndn-cpp-config.h)
 AM_MAINTAINER_MODE
 AM_PROG_AR
 AC_PROG_LIBTOOL