doc/: Add Makefile.am for building and installing the manual page(s).
[routeros-api.git] / configure.ac
index 71e4139..eefe39e 100644 (file)
@@ -47,7 +47,7 @@ AC_CHECK_HEADERS(netdb.h)
 #
 # Check for libgcrypt
 #
-AC_CHECK_HEADERS(gcrypt.h)
+AC_CHECK_HEADERS(gcrypt.h, [], [AC_MSG_ERROR("gcrypt.h is required for librouteros to compile")])
 
 socket_needs_socket="no"
 AC_CHECK_FUNCS(socket, [],
@@ -65,4 +65,4 @@ AC_ARG_ENABLE(debug, [AS_HELP_STRING([--enable-debug], [Enable extensive debuggi
 ], [])
 AM_CONDITIONAL(BUILD_WITH_DEBUG, test "x$enable_debug" = "xyes")
 
-AC_OUTPUT(Makefile src/Makefile)
+AC_OUTPUT(Makefile doc/Makefile src/Makefile src/routeros_version.h)