Commit a1864cff authored by sikeda's avatar sikeda
Browse files

[feature] (addition to r12172) If you don't wish to install smtpc utility, use...

[feature] (addition to r12172) If you don't wish to install smtpc utility, use "--disable-smtpc" configure option.


git-svn-id: https://subversion.renater.fr/sympa/branches/sympa-6.2-branch@12174 05aa8bb8-cd2b-0410-b1d7-8918dfa770ce
parent 071e786b
......@@ -20,7 +20,10 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
SUBDIRS = src default doc po www src/smtpc
SUBDIRS = src default doc po www
if SMTPC
SUBDIRS += src/smtpc
endif
check_SCRIPTS = t/Language.t \
t/LockedFile.t \
......
......@@ -112,6 +112,22 @@ AC_SUBST(localedir)
AC_SUBST(confdir)
AC_SUBST(docdir)
## Disable smtpc command line utility
AC_ARG_ENABLE(
smtpc,
AS_HELP_STRING(
[--disable-smtpc],
[do not install smtpc command line utility (default is yes)]
),
[case "$enableval" in
yes) smtpc=true;;
no) smtpc=false;;
*) smtpc=true;;
esac],
[smtpc=true]
)
AM_CONDITIONAL([SMTPC], [test x$smtpc = xtrue])
# allow user to redefine some of them
AC_ARG_WITH(
confdir,
......
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