aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2004-02-11 15:25:55 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2004-02-11 15:25:55 +0000
commit782b01781bd94e72c1f74f8cd3db6171df730a2b (patch)
tree3cb302c072dbf6ab9ab9ee43a1c590d5113a786f /configure.ac
parent8aa441acac037babe96a32a189b38b94c34b41c0 (diff)
downloadanubis-782b01781bd94e72c1f74f8cd3db6171df730a2b.tar.gz
anubis-782b01781bd94e72c1f74f8cd3db6171df730a2b.tar.bz2
AC_REPLACE getline. Define ANUBISADM if gsasl is requested.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac5
1 files changed, 4 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 7101766..2855fc0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -79,7 +79,7 @@ dnl Checks for library functions.
AC_CHECK_FUNCS(syslog getrlimit setrlimit socketpair strdup)
AC_CHECK_FUNCS(regcomp daemon putenv)
-AC_REPLACE_FUNCS(snprintf setenv)
+AC_REPLACE_FUNCS(snprintf setenv getline)
AC_CHECK_FUNCS(_obstack_begin,
[AC_DEFINE(HAVE_OBSTACK,1,[Define if GNU obstack is present])],
[AC_LIBOBJ(obstack)])
@@ -181,9 +181,12 @@ AC_SUBST(GSASL_LIBS)
AC_CHECK_LIB(resolv, res_query)
AC_SUBST(ANUBIS_DEFINES)
+AC_SUBST(ANUBISADM)
MU_CHECK_GSASL(0.0.2, [
AC_DEFINE(WITH_GSASL,1,[Define if Anubis is using GNU SASL])
+ ANUBISADM=anubisadm
+
AC_CHECK_LIB(gdbm, gdbm_open,
[LIBS="$LIBS -lgdbm"
AC_DEFINE(HAVE_LIBGDBM,1,[Define if you have libgdbm])])

Return to:

Send suggestions and report system problems to the System administrator.