diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2011-10-08 01:21:59 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2011-10-08 01:21:59 +0300 |
commit | eb8797c9a28f3f4e238bad89b56d331492df7828 (patch) | |
tree | 91d59a8d31d88c3c51899ed7f0a816da5263e581 /configure.ac | |
parent | a31c3374d2c32de00feb7b9d029e6846abd0a76d (diff) | |
download | pies-eb8797c9a28f3f4e238bad89b56d331492df7828.tar.gz pies-eb8797c9a28f3f4e238bad89b56d331492df7828.tar.bz2 |
Use Imprimatur for docs processing.
* .gitmodules: Add imprimatur.
* Makefile.am (ACLOCAL_AMFLAGS,SUBDIRS): Add imprimatur.
* configure.ac: Require gettext 0.18. Call IMPRIMATUR_INIT.
Define ATTRIBUTE_NORETURN, if not defined already.
* doc/Makefile.am: Use imprimatur. Drop files that are
no longer necessary.
* doc/check-docs.sh: Delete.
* doc/fix-sentence-spacing.sed: Delete.
* doc/mastermenu.el: Delete.
* doc/rendition.texi: Delete.
* doc/untabify.el: Delete.
* doc/pies.texi: Use @: where appropriate.
* src/pies.c (main): Use _() instead of N_().
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 25 |
1 files changed, 8 insertions, 17 deletions
diff --git a/configure.ac b/configure.ac index 0d2881c..a8848dd 100644 --- a/configure.ac +++ b/configure.ac @@ -62,38 +62,29 @@ GRECS_SETUP # Test for setproctitle MF_PROCTITLE # Gettext. AM_ICONV AM_GNU_GETTEXT([external], [need-formatstring-macros]) -AM_GNU_GETTEXT_VERSION([0.17]) +AM_GNU_GETTEXT_VERSION([0.18]) AC_ARG_ENABLE([inetd], AC_HELP_STRING([--enable-inetd], [build and install a replacement for SBINDIR/inetd]), [case $enableval in yes) AC_SUBST([INETD], [inetd]);; no) ;; esac]) -# Doc hints. -# Select a rendition level: -# DISTRIB for stable releases (at most one dot in the version number) -# and maintenance releases (two dots, patchlevel < 50) -# PROOF for alpha releases. -# PUBLISH can only be required manually when running make in doc/ -AC_SUBST(RENDITION) -case `echo $VERSION|sed 's/[[^.]]//g'` in -""|".") RENDITION=DISTRIB;; -"..") if test `echo $VERSION | sed 's/.*\.//'` -lt 50; then - RENDITION=DISTRIB - else - RENDITION=PROOF - fi;; -*) RENDITION=PROOF;; -esac +AH_BOTTOM([ +# ifndef ATTRIBUTE_NORETURN +# define ATTRIBUTE_NORETURN __attribute__ ((__noreturn__)) +# endif +]) + +IMPRIMATUR_INIT AC_CONFIG_FILES([Makefile gnu/Makefile grecs/Makefile grecs/src/Makefile lib/Makefile |