summaryrefslogtreecommitdiffabout
path: root/configure.ac
authorSergey Poznyakoff <gray@gnu.org.ua>2009-11-28 11:35:13 (GMT)
committer Sergey Poznyakoff <gray@gnu.org.ua>2009-11-28 11:35:13 (GMT)
commit0a2857fb3ffd9afe6f245d44672fbdf31aed6de0 (patch) (side-by-side diff)
tree2d2e67158d96d9b3ac5ba61847019c6c4e3b1c7c /configure.ac
parent36a53f1875a097fa16bceaf674dc627d916651df (diff)
downloadpies-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') (more/less context) (ignore whitespace changes)
-rw-r--r--configure.ac8
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)

Return to:

Send suggestions and report system problems to the System administrator.