diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2009-11-28 13:35:13 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2009-11-28 13:35:13 +0200 |
commit | 0a2857fb3ffd9afe6f245d44672fbdf31aed6de0 (patch) | |
tree | 2d2e67158d96d9b3ac5ba61847019c6c4e3b1c7c /configure.ac | |
parent | 36a53f1875a097fa16bceaf674dc627d916651df (diff) | |
download | pies-0a2857fb3ffd9afe6f245d44672fbdf31aed6de0.tar.gz pies-0a2857fb3ffd9afe6f245d44672fbdf31aed6de0.tar.bz2 |
Optionally provide an inetd wrapper.
* configure.ac: New option --enable-inetd
* src/inetd.in: New file.
* src/.gitignore: Add inetd.sh.
* src/Makefile.am (inetd.sh): New goal.
(install-exec-hook): New rule.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index e9119dc..15c2835 100644 --- a/configure.ac +++ b/configure.ac @@ -67,6 +67,14 @@ AM_ICONV AM_GNU_GETTEXT([external], [need-formatstring-macros]) AM_GNU_GETTEXT_VERSION([0.17]) +AC_ARG_ENABLE([inetd], + AC_HELP_STRING([--enable-inetd], + [build and install a replacement for SBINDIR/inetd]), + [case $enableval in + yes) AC_SUBST([INETD_SH], [inetd.sh]);; + no) ;; + esac]) + # Doc hints. # Select a rendition level: # DISTRIB for stable releases (at most one dot in the version number) |