configure.in   configure.in 
skipping to change at line 18 skipping to change at line 18
AC_ARG_WITH(saslauthd, [ --with-saslauthd=DIR enable use of the saslaut h daemon using state dir DIR ], AC_ARG_WITH(saslauthd, [ --with-saslauthd=DIR enable use of the saslaut h daemon using state dir DIR ],
with_saslauthd=$withval, with_saslauthd=$withval,
with_saslauthd=yes) with_saslauthd=yes)
if test "$with_saslauthd" = yes; then if test "$with_saslauthd" = yes; then
with_saslauthd="/var/state/saslauthd" with_saslauthd="/var/state/saslauthd"
fi fi
AC_DEFINE(HAVE_SASLAUTHD,[],[Include support for saslauthd?]) AC_DEFINE(HAVE_SASLAUTHD,[],[Include support for saslauthd?])
AC_DEFINE_UNQUOTED(PATH_SASLAUTHD_RUNDIR, "$with_saslauthd",[Location of saslauthd socket]) AC_DEFINE_UNQUOTED(PATH_SASLAUTHD_RUNDIR, "$with_saslauthd",[Location of saslauthd socket])
AM_CONDITIONAL(SASLAUTHD, test "$with_saslauthd" != no) AM_CONDITIONAL(SASLAUTHD, test "$with_saslauthd" != no)
AM_INIT_AUTOMAKE(saslauthd,2.1.25) AM_INIT_AUTOMAKE(saslauthd,2.1.26)
CMU_INIT_AUTOMAKE CMU_INIT_AUTOMAKE
dnl Checks for programs. dnl Checks for programs.
AC_PROG_CC AC_PROG_CC
AC_PROG_CPP AC_PROG_CPP
AC_PROG_AWK AC_PROG_AWK
AC_PROG_MAKE_SET AC_PROG_MAKE_SET
AC_PROG_LN_S AC_PROG_LN_S
AC_PROG_INSTALL AC_PROG_INSTALL
skipping to change at line 197 skipping to change at line 197
AC_MSG_RESULT($have_function) AC_MSG_RESULT($have_function)
if test "$have_function" = yes; then if test "$have_function" = yes; then
AC_DEFINE(HAVE_FUNCTION,[],[Does compiler understand __FUNCTION__]) AC_DEFINE(HAVE_FUNCTION,[],[Does compiler understand __FUNCTION__])
fi fi
fi fi
fi fi
dnl Checks for library functions. dnl Checks for library functions.
AC_TYPE_SIGNAL AC_TYPE_SIGNAL
AC_CHECK_FUNCS(gethostname mkdir socket strdup) AC_CHECK_FUNCS(gethostname mkdir socket strdup)
dnl Only look for one or the other
AC_CHECK_FUNCS(getspnam getuserpw, break) AC_CHECK_FUNCS(getspnam getuserpw, break)
AC_CHECK_FUNCS(strlcat strlcpy) AC_CHECK_FUNCS(asprintf strlcat strlcpy)
if test $ac_cv_func_getspnam = yes; then if test $ac_cv_func_getspnam = yes; then
AC_MSG_CHECKING(if getpwnam_r/getspnam_r take 5 arguments) AC_MSG_CHECKING(if getpwnam_r/getspnam_r take 5 arguments)
AC_TRY_COMPILE( AC_TRY_COMPILE(
[ [
#include <sys/types.h> #include <sys/types.h>
#include <pwd.h> #include <pwd.h>
#include <shadow.h> #include <shadow.h>
], ],
[ [
skipping to change at line 329 skipping to change at line 330
/* handy string manipulation functions */ /* handy string manipulation functions */
#ifndef HAVE_STRLCPY #ifndef HAVE_STRLCPY
extern size_t saslauthd_strlcpy(char *dst, const char *src, size_t len); extern size_t saslauthd_strlcpy(char *dst, const char *src, size_t len);
#define strlcpy(x,y,z) saslauthd_strlcpy((x),(y),(z)) #define strlcpy(x,y,z) saslauthd_strlcpy((x),(y),(z))
#endif #endif
#ifndef HAVE_STRLCAT #ifndef HAVE_STRLCAT
extern size_t saslauthd_strlcat(char *dst, const char *src, size_t len); extern size_t saslauthd_strlcat(char *dst, const char *src, size_t len);
#define strlcat(x,y,z) saslauthd_strlcat((x),(y),(z)) #define strlcat(x,y,z) saslauthd_strlcat((x),(y),(z))
#endif #endif
#ifndef HAVE_ASPRINTF
extern int asprintf(char **str, const char *fmt, ...);
#endif
#endif #endif
]) ])
AC_CONFIG_HEADERS(saslauthd.h) AC_CONFIG_HEADERS(saslauthd.h)
AC_OUTPUT(Makefile) AC_OUTPUT(Makefile)
 End of changes. 4 change blocks. 
2 lines changed or deleted 6 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/