+AC_ARG_WITH(markdowneditordir,
+ [ --with-markdowneditordir directory to put our markdown editor],
+ [ if test "x$withval" != "xno" ; then
+ markdowneditordir=$withval
+ fi
+ ]
+)
+AC_DEFINE_UNQUOTED(MARKDOWNEDITORDIR, "$markdowneditordir", [where to find our markdown editor])
+
+dnl Checks where to find our configs
+AC_ARG_WITH(etcdir,
+ [ --with-etcdir directory to read our configs],
+ [ if test "x$withval" != "xno" ; then
+ etcdir=$withval
+ fi
+ ]
+)
+AC_DEFINE_UNQUOTED(ETCDIR, "$etcdir", [where to find our configs])
+ETCDIR=$etcdir
+AC_SUBST(ETCDIR)
+