AC_CHECK_PROGS(PKG_CONFIG, $PKG_CONFIG pkg-config, , $PATH:/local/bin:/usr/local/bin:/opt/sfw/bin)
AC_MSG_CHECKING(for systemd)
AC_ARG_WITH([systemdsystemunitdir],
-[ --with-systemdsystemunitdir=DIR Directory for systemd service files.],
+[ --with-systemdsystemunitdir=DIR Directory for systemd service files.],
[], [ if test "x" != "x$PKG_CONFIG"; then
with_systemdsystemunitdir=`$PKG_CONFIG --variable=systemdsystemunitdir systemd`
fi])
AC_MSG_CHECKING(run non-privileged)
AC_ARG_WITH(run-non-privileged,
-[ --with-run-non-privileged=[yes|no] Run fcron without root's rights (see FAQ !)],
+[ --with-run-non-privileged=[yes|no] Run fcron without root's rights (see FAQ !)],
[ case "$withval" in
no)
run_non_privileged=0
fi
AC_MSG_CHECKING(if fcrondyn should be compiled)
AC_ARG_WITH(fcrondyn,
-[ --with-fcrondyn=[yes|no] Compile (or not) fcrondyn (default: yes).],
+[ --with-fcrondyn=[yes|no] Compile (or not) fcrondyn (default: yes).],
[ case "$withval" in
no)
fcrondyn=0
AC_MSG_CHECKING([root's username])
rootname=root
AC_ARG_WITH(rootname,
-[ --with-rootname=USERNAME Root's username (default root) ],
+[ --with-rootname=USERNAME Root's username (default root) ],
[ case "$withval" in
no)
AC_MSG_ERROR([Need rootname.])
AC_MSG_CHECKING([root's groupname])
AC_ARG_WITH(rootgroup,
-[ --with-rootgroup=GROUPNAME Root's groupname (default root (or wheel)) ],
+[ --with-rootgroup=GROUPNAME Root's groupname (default root (or wheel)) ],
[ case "$withval" in
no)
AC_MSG_ERROR(Need rootgroup.)
AC_MSG_CHECKING(username to run fcrontab under)
AC_ARG_WITH(username,
-[ --with-username=USERNAME Username to run fcrontab under (default fcron) ],
+[ --with-username=USERNAME Username to run fcrontab under (default fcron) ],
[ case "$withval" in
no)
AC_MSG_ERROR(Need USERNAME.)
AC_MSG_CHECKING(groupname to run fcrontab under)
AC_ARG_WITH(groupname,
-[ --with-groupname=GROUPNAME Groupname to run fcrontab under (default fcron) ],
+[ --with-groupname=GROUPNAME Groupname to run fcrontab under (default fcron) ],
[ case "$withval" in
no)
AC_MSG_ERROR(Need GROUPNAME.)
use_sysfcrontab=1
AC_MSG_CHECKING(use a system fcrontab)
AC_ARG_WITH(sysfcrontab,
-[ --with-sysfcrontab=NAME Use (or not) a system fcrontab (default: yes)],
+[ --with-sysfcrontab=NAME Use (or not) a system fcrontab (default: yes)],
[ case "$withval" in
no)
use_sysfcrontab=0
AC_MSG_CHECKING(if audit trails should be enabled if available)
AC_ARG_WITH(audit,
-[ --with-audit=[yes|no] Enable (or not) audit trails if available (default: yes).],
+[ --with-audit=[yes|no] Enable (or not) audit trails if available (default: yes).],
[ case "$withval" in
no)
useaudit=0
fi
AC_MSG_CHECKING(if pam should be used if available)
AC_ARG_WITH(pam,
-[ --with-pam=[yes|no] Use (or not) PAM if available (default: yes).],
+[ --with-pam=[yes|no] Use (or not) PAM if available (default: yes).],
[ case "$withval" in
no)
usepam=0
fi
AC_MSG_CHECKING(if SELinux should be used)
AC_ARG_WITH(selinux,
-[ --with-selinux=[yes|no] Use (or not) SELinux (default: yes).],
+[ --with-selinux=[yes|no] Use (or not) SELinux (default: yes).],
[ case "$withval" in
no)
useselinux=0
fi
AC_MSG_CHECKING(Looking for docbook2man converter)
AC_ARG_WITH(db2man,
-[ --with-db2man=PATH(or 'no') set PATH to a docbook2man converter.],
+[ --with-db2man=PATH(or 'no') set PATH to a docbook2man converter.],
[ case "$withval" in
no)
DB2MAN=""
AC_MSG_CHECKING(Looking for docbook2man-spec file)
AC_ARG_WITH(db2man-spec,
-[ --with-db2man-spec=PATH set the PATH to docbook2man-spec file
+[ --with-db2man-spec=PATH set the PATH to docbook2man-spec file
(needed if no db2man converter is set).],
[ case "$withval" in
no)
AC_MSG_CHECKING(Looking for dsssl stylsheets)
AC_ARG_WITH(dsssl-dir,
-[ --with-dsssl-dir=DIR change the default location of DSSSL stylesheets.],
+[ --with-dsssl-dir=DIR change the default location of DSSSL stylesheets.],
[ case "$withval" in
no)
DSSSL_DIR=""