# userv - configure.in
#
-# userv is
-# Copyright 1996-2017 Ian Jackson <ian@davenant.greenend.org.uk>.
-# Copyright 2000 Ben Harris <bjh21@cam.ac.uk>
-# Copyright 2016-2017 Peter Benie <pjb1008@cam.ac.uk>
+# userv is copyright Ian Jackson and other contributors.
+# See README for full authorship information.
#
# This is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
AC_CHECK_LIB(socket,socket)
AC_CHECK_FUNCS(setenv strsignal vsnprintf)
-AC_CACHE_CHECK(for EPROTO,userv_cv_hdr_eproto,
+AC_CACHE_CHECK([for EPROTO],userv_cv_hdr_eproto,[
AC_EGREP_CPP(yes,
[
#include <errno.h>
#ifdef EPROTO
yes
#endif
-],userv_cv_hdr_eproto=yes,userv_cv_hdr_eproto=no))
+],userv_cv_hdr_eproto=yes,userv_cv_hdr_eproto=no)])
if test $userv_cv_hdr_eproto = yes
then
AC_DEFINE(HAVE_EPROTO)
fi
-AC_CACHE_CHECK(for LOG_AUTHPRIV,userv_cv_hdr_logauthpriv,
+AC_CACHE_CHECK([for LOG_AUTHPRIV],userv_cv_hdr_logauthpriv,[
AC_EGREP_CPP(yes,
[
#include <syslog.h>
#ifdef LOG_AUTHPRIV
yes
#endif
-],userv_cv_hdr_logauthpriv=yes,userv_cv_hdr_logauthpriv=no))
+],userv_cv_hdr_logauthpriv=yes,userv_cv_hdr_logauthpriv=no)])
if test $userv_cv_hdr_logauthpriv = yes
then
AC_DEFINE(HAVE_LOG_AUTHPRIV)
fi
-AC_CACHE_CHECK(for WCOREDUMP,userv_cv_hdr_wcoredump,
+AC_CACHE_CHECK([for WCOREDUMP],userv_cv_hdr_wcoredump,[
AC_EGREP_CPP(yes,
[
#include <sys/types.h>
#ifdef WCOREDUMP
yes
#endif
-],userv_cv_hdr_wcoredump=yes,userv_cv_hdr_wcoredump=no))
+],userv_cv_hdr_wcoredump=yes,userv_cv_hdr_wcoredump=no)])
if test $userv_cv_hdr_wcoredump = yes
then
AC_DEFINE(HAVE_WCOREDUMP)