Added autoconf build system. Removed waf-tools.
diff --git a/configure.ac b/configure.ac
new file mode 100644
index 0000000..af7095e
--- /dev/null
+++ b/configure.ac
@@ -0,0 +1,33 @@
+AC_INIT([ndn-cpp], [0.5], [],
+ [ndn-cpp], [https://github.com/named-data/ndn-cpp])
+AC_PREREQ([2.59])
+AM_INIT_AUTOMAKE([1.10 -Wall no-define foreign])
+
+AC_CONFIG_HEADERS([config.h])
+AC_PROG_CXX
+AC_LANG([C++])
+
+AC_MSG_CHECKING([for std::shared_ptr])
+AC_COMPILE_IFELSE([AC_LANG_PROGRAM(
+ [[#include <memory>]]
+ [[std::shared_ptr<int> have_shared_ptr;]])
+], [
+ AC_MSG_RESULT([yes])
+ AC_DEFINE_UNQUOTED([HAVE_STD_SHARED_PTR], 1, [1 if have the `std::shared_ptr' class.])
+], [
+ AC_MSG_RESULT([no])
+ AC_DEFINE_UNQUOTED([HAVE_STD_SHARED_PTR], 0, [1 if have the `std::shared_ptr' class.])
+])
+AC_COMPILE_IFELSE([AC_LANG_PROGRAM(
+ [[#include <boost/shared_ptr.hpp>]]
+ [[boost::shared_ptr<int> have_shared_ptr;]])
+], [
+ AC_MSG_RESULT([yes])
+ AC_DEFINE_UNQUOTED([HAVE_BOOST_SHARED_PTR], 1, [1 if have the `boost::shared_ptr' class.])
+], [
+ AC_MSG_RESULT([no])
+ AC_DEFINE_UNQUOTED([HAVE_BOOST_SHARED_PTR], 0, [1 if have the `boost::shared_ptr' class.])
+])
+
+AC_CONFIG_FILES([Makefile])
+AC_OUTPUT