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 | |||
67 | AM_GNU_GETTEXT([external], [need-formatstring-macros]) | 67 | AM_GNU_GETTEXT([external], [need-formatstring-macros]) |
68 | AM_GNU_GETTEXT_VERSION([0.17]) | 68 | AM_GNU_GETTEXT_VERSION([0.17]) |
69 | 69 | ||
70 | AC_ARG_ENABLE([inetd], | ||
71 | AC_HELP_STRING([--enable-inetd], | ||
72 | [build and install a replacement for SBINDIR/inetd]), | ||
73 | [case $enableval in | ||
74 | yes) AC_SUBST([INETD_SH], [inetd.sh]);; | ||
75 | no) ;; | ||
76 | esac]) | ||
77 | |||
70 | # Doc hints. | 78 | # Doc hints. |
71 | # Select a rendition level: | 79 | # Select a rendition level: |
72 | # DISTRIB for stable releases (at most one dot in the version number) | 80 | # DISTRIB for stable releases (at most one dot in the version number) |