Commit a6265e25 a6265e25a3e0274d2a9c5b328962d9de0aedd3d7 by Sergey Poznyakoff

Added testsuite for mail.remote

1 parent 314549ee
...@@ -273,6 +273,15 @@ AC_REPLACE_FUNCS(fgetpwent getpass setenv snprintf strncasecmp \ ...@@ -273,6 +273,15 @@ AC_REPLACE_FUNCS(fgetpwent getpass setenv snprintf strncasecmp \
273 AC_CHECK_FUNCS(mkstemp sigaction sysconf getdelim vsyslog setreuid \ 273 AC_CHECK_FUNCS(mkstemp sigaction sysconf getdelim vsyslog setreuid \
274 setresuid seteuid vfork _exit) 274 setresuid seteuid vfork _exit)
275 275
276 AC_FUNC_SETVBUF_REVERSED
277 AH_BOTTOM([
278 #if defined (SETVBUF_REVERSED)
279 # define SETVBUF(str,buf,mode,size) setvbuf(str,mode,buf,size)
280 #else
281 # define SETVBUF(str,buf,mode,size) setvbuf(str,buf,mode,size)
282 #endif
283 ])
284
276 MU_CHECK_FUNCS(strtok_r getline strndup strnlen strchrnul) 285 MU_CHECK_FUNCS(strtok_r getline strndup strnlen strchrnul)
277 286
278 ## Check for presence of utmp.h and utmp-related functions 287 ## Check for presence of utmp.h and utmp-related functions
...@@ -362,11 +371,13 @@ fi ...@@ -362,11 +371,13 @@ fi
362 MU_ENABLE_SUPPORT(imap) 371 MU_ENABLE_SUPPORT(imap)
363 MU_ENABLE_SUPPORT(pop) 372 MU_ENABLE_SUPPORT(pop)
364 373
365 AC_SUBST(MHPROGRAMS) 374 AC_SUBST(BUILD_MH_PROGRAMS)
366 AC_SUBST(MHLIBRARIES) 375 AC_SUBST(BUILD_MH_LIBRARIES)
367 MU_ENABLE_SUPPORT(mh, [MHPROGRAMS='$(MHPROGRAMS)'; MHLIBRARIES='$(MHLIBRARIES)']) 376 MU_ENABLE_SUPPORT(mh, [BUILD_MH_PROGRAMS='$(PROGRAMS_MH)'; BUILD_MH_LIBRARIES='$(LIBRARIES_MH)'])
368 AC_SUBST(SMTPPROGRAMS) 377 AC_SUBST(BUILD_SMTP_PROGRAMS)
369 MU_ENABLE_SUPPORT(smtp, [SMTPPROGRAMS='$(SMTPPROGRAMS)']) 378 AC_SUBST(RUN_SMTP_DEJATOOL)
379 MU_ENABLE_SUPPORT(smtp, [BUILD_SMTP_PROGRAMS='$(PROGRAMS_SMTP)'
380 RUN_SMTP_DEJATOOL='$(SMTP_DEJATOOL)'])
370 MU_ENABLE_SUPPORT(sendmail) 381 MU_ENABLE_SUPPORT(sendmail)
371 382
372 if test x"$testpam" = x"yes"; then 383 if test x"$testpam" = x"yes"; then
...@@ -589,6 +600,7 @@ AC_CONFIG_FILES([Makefile mailutils.spec ...@@ -589,6 +600,7 @@ AC_CONFIG_FILES([Makefile mailutils.spec
589 comsat/Makefile 600 comsat/Makefile
590 mail.local/Makefile 601 mail.local/Makefile
591 mail.remote/Makefile 602 mail.remote/Makefile
603 mail.remote/testsuite/Makefile
592 dotlock/Makefile 604 dotlock/Makefile
593 mh/Makefile 605 mh/Makefile
594 ]) 606 ])
......