Commit bbe7cad1 authored by olivier.salaun's avatar olivier.salaun
Browse files

[change][G.Rousse, INRIA][patch sympa-trunk-8-indent-configure-file.patch]...

[change][G.Rousse, INRIA][patch sympa-trunk-8-indent-configure-file.patch] Better indentation of directives


git-svn-id: https://subversion.renater.fr/sympa/trunk@4952 05aa8bb8-cd2b-0410-b1d7-8918dfa770ce
parent 61fa4208
......@@ -119,7 +119,10 @@ AC_ARG_WITH(spooldir, [ --with-spooldir=DIR spool directory is DIR (defaul
AC_SUBST(SPOOLDIR)
## to run wwsympa.fcgi without setuidperl
AC_ARG_ENABLE(secure, [ --enable-secure install wwsympa to be run in a secure mode, without suidperl (default disabled)])
AC_ARG_ENABLE(
[secure],
[ --enable-secure install wwsympa to be run in a secure mode, without suidperl (default disabled)]
)
AC_SUBST(enable_secure)
dnl Checks for programs.
......@@ -128,7 +131,11 @@ AC_PROG_MAKE_SET
AC_AIX
AC_PATH_PROG(PERL, perl, /usr/bin/perl)
AC_ARG_WITH(perl, [ --with-perl=FULLPATH set full path to Perl interpreter (default /usr/bin/perl)], [PERL="$withval"])
AC_ARG_WITH(
[perl],
[ --with-perl=FULLPATH set full path to Perl interpreter (default /usr/bin/perl)],
[PERL="$withval"]
)
AC_SUBST(PERL)
AC_PATH_PROG(SUIDPERL, suidperl, /usr/bin/suidperl)
......@@ -138,11 +145,19 @@ AC_PATH_PROG(SUDO, sudo, /usr/bin/sudo)
AC_SUBST(SUDO)
AC_PATH_PROG(MHONARC, mhonarc, /usr/bin/mhonarc)
AC_ARG_WITH(mhonarc, [ --with-mhonarc=FULLPATH set full path to MhOnArc mail archiving system (default /usr/bin/mhonarc)], [MHONARC="$withval"])
AC_ARG_WITH(
[mhonarc],
[ --with-mhonarc=FULLPATH set full path to MhOnArc mail archiving system (default /usr/bin/mhonarc)],
[MHONARC="$withval"]
)
AC_SUBST(MHONARC)
AC_PATH_PROG(OPENSSL, openssl, /usr/local/ssl/bin)
AC_ARG_WITH(openssl, [ --with-openssl=FULLPATH set path to OpenSSL (default /usr/local/ssl/bin/openssl)], [OPENSSL="$withval"])
AC_ARG_WITH(
[openssl],
[ --with-openssl=FULLPATH set path to OpenSSL (default /usr/local/ssl/bin/openssl)],
[OPENSSL="$withval"]
)
AC_SUBST(OPENSSL)
AC_PATH_PROG(CVS2CL, cvs2cl.pl, /usr/local/bin)
......@@ -154,35 +169,67 @@ AC_SUBST(MSGFMT)
AC_PATH_PROG(SH, sh, /bin/sh)
USER=sympa
AC_ARG_WITH(user, [ --with-user=LOGIN set sympa user name (default sympa)], [USER="$withval"])
AC_ARG_WITH(
[user],
[ --with-user=LOGIN set sympa user name (default sympa)],
[USER="$withval"]
)
AC_SUBST(USER)
GROUP=sympa
AC_ARG_WITH(group, [ --with-group=LOGIN set sympa group name (default sympa)], [GROUP="$withval"])
AC_ARG_WITH(
[group],
[ --with-group=LOGIN set sympa group name (default sympa)],
[GROUP="$withval"]
)
AC_SUBST(GROUP)
SENDMAIL_ALIASES=/etc/mail/sympa_aliases
AC_ARG_WITH(sendmail_aliases, [ --with-sendmail_aliases=ALIASFILE set aliases file to be used by Sympa (default /etc/mail/sympa_aliases)], [SENDMAIL_ALIASES="$withval"])
AC_ARG_WITH(
[sendmail_aliases],
[ --with-sendmail_aliases=ALIASFILE set aliases file to be used by Sympa (default /etc/mail/sympa_aliases)],
[SENDMAIL_ALIASES="$withval"]
)
AC_SUBST(SENDMAIL_ALIASES)
VIRTUAL_ALIASES=/etc/mail/sympa_virtual
AC_ARG_WITH(virtual_aliases, [ --with-virtual_aliases=ALIASFILE set postfix virtual file to be used by Sympa (default /etc/mail/sympa_virtual)], [VIRTUAL_ALIASES="$withval"])
AC_ARG_WITH(
[virtual_aliases],
[ --with-virtual_aliases=ALIASFILE set postfix virtual file to be used by Sympa (default /etc/mail/sympa_virtual)],
[VIRTUAL_ALIASES="$withval"]
)
AC_SUBST(VIRTUAL_ALIASES)
NEWALIASES=/usr/bin/newaliases
AC_ARG_WITH(newaliases, [ --with-newaliases=FULLPATH set path to newaliases command (default /usr/bin/newaliases)], [NEWALIASES="$withval"])
AC_ARG_WITH(
[newaliases],
[ --with-newaliases=FULLPATH set path to newaliases command (default /usr/bin/newaliases)],
[NEWALIASES="$withval"]
)
AC_SUBST(NEWALIASES)
NEWALIASES_ARG=
AC_ARG_WITH(newaliases_arg, [ --with-newaliases_arg=ARGS set arguments to newaliases command (default NONE)], [NEWALIASES_ARG="$withval"])
AC_ARG_WITH(
[newaliases_arg],
[ --with-newaliases_arg=ARGS set arguments to newaliases command (default NONE)],
[NEWALIASES_ARG="$withval"]
)
AC_SUBST(NEWALIASES_ARG)
POSTMAP=/usr/sbin/postmap
AC_ARG_WITH(postmap, [ --with-postmap=FULLPATH set path to postfix postmap command (default /usr/sbin/postmap)], [POSTMAP="$withval"])
AC_ARG_WITH(
[postmap],
[ --with-postmap=FULLPATH set path to postfix postmap command (default /usr/sbin/postmap)],
[POSTMAP="$withval"]
)
AC_SUBST(POSTMAP)
POSTMAP_ARG=${VIRTUAL_ALIASES}
AC_ARG_WITH(postmap_arg, [ --with-postmap_arg=ARGS set arguments to postfix postmap command (default [same as virtual_aliases])], [POSTMAP_ARG="$withval"])
AC_ARG_WITH(
[postmap_arg],
[ --with-postmap_arg=ARGS set arguments to postfix postmap command (default [same as virtual_aliases])],
[POSTMAP_ARG="$withval"]
)
AC_SUBST(POSTMAP_ARG)
AC_CONFIG_FILES([Makefile])
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment