From 5c02ea03e1226ed706abeede426f0e1727f1ea25 Mon Sep 17 00:00:00 2001 From: eb Date: Thu, 21 Aug 2008 00:01:21 +0000 Subject: Updated gr-howto-write-a-block; mostly the .m4 macros and configure.ac. Also modified pkg.m4 to restore the FOO_INCLUDEDIR functionality and to add the FOO_CPPFLAGS variable for those times when you want only the -I, -D and -U flags from FOO_CFLAGS. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9362 221aa14e-8319-0410-a670-987f0aec2ac5 --- gr-howto-write-a-block/config/gr_doxygen.m4 | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) (limited to 'gr-howto-write-a-block/config/gr_doxygen.m4') diff --git a/gr-howto-write-a-block/config/gr_doxygen.m4 b/gr-howto-write-a-block/config/gr_doxygen.m4 index 4670c29d2..43433098d 100644 --- a/gr-howto-write-a-block/config/gr_doxygen.m4 +++ b/gr-howto-write-a-block/config/gr_doxygen.m4 @@ -20,10 +20,17 @@ dnl Boston, MA 02110-1301, USA. dnl AC_DEFUN([GR_CHECK_DOXYGEN],[ - AC_ARG_ENABLE(doxygen, [ --enable-doxygen enable documentation generation with doxygen (no)]) - AC_ARG_ENABLE(dot, [ --enable-dot use 'dot' to generate graphs in doxygen (auto)]) - AC_ARG_ENABLE(html-docs, [ --enable-html-docs enable HTML generation with doxygen (yes)], [], [ enable_html_docs=yes]) - AC_ARG_ENABLE(latex-docs, [ --enable-latex-docs enable LaTeX doc generation with doxygen (no)], [], [ enable_latex_docs=no]) + AC_ARG_ENABLE(doxygen, + AC_HELP_STRING([--enable-doxygen], + [enable documentation generation with doxygen (no)])) + AC_ARG_ENABLE(dot, AC_HELP_STRING([--enable-dot],[use 'dot' to generate graphs in doxygen (auto)])) + AC_ARG_ENABLE(html-docs, + AC_HELP_STRING([--enable-html-docs],[enable HTML generation with doxygen (yes)]), + [], [ enable_html_docs=yes]) + AC_ARG_ENABLE(latex-docs, + AC_HELP_STRING([--enable-latex-docs], + [enable LaTeX doc generation with doxygen (no)]), + [], [ enable_latex_docs=no]) if test "x$enable_doxygen" = xyes; then AC_PATH_PROG(DOXYGEN, doxygen, , $PATH) -- cgit