Minor portability fixes:
* Missing #include <string.h> and <stdlib.h> } Thanks to report
* getgroups returns int, not gid_t (!). } from Peter Benie.
-
+ * Dummy `check' target in Makefile.in. }
+ * Bogus strsignal emulation for broken platforms. } Thanks to
+ * Bogus WCOREDUMP emulation for broken platforms. } report from
+ Nelson Beebe
--
userv (1.0.3-2) unstable; urgency=low
uninstall-doc:
cd $docdir && rm -rf $(TARGETS_DOC_RM)
uninstall-doc:
cd $docdir && rm -rf $(TARGETS_DOC_RM)
+check:
+ @echo There is no validation suite for this package.
+
daemon: overlord.o process.o servexec.o parserlexer.o debug.o lib.o both.o
$(CC) $(LDFLAGS) -o $@ $^ $(LDLIBS)
daemon: overlord.o process.o servexec.o parserlexer.o debug.o lib.o both.o
$(CC) $(LDFLAGS) -o $@ $^ $(LDLIBS)
+/* STRSIGNAL */
+#ifndef HAVE_STRSIGNAL
+#define STRSIGNAL(x) "[platform has no strsignal!]"
+#endif
+
/* EPROTO */
#ifndef HAVE_EPROTO
#define EPROTO 0
/* EPROTO */
#ifndef HAVE_EPROTO
#define EPROTO 0
#define LOG_AUTHPRIV LOG_AUTH
#endif
#define LOG_AUTHPRIV LOG_AUTH
#endif
+/* WCOREDUMP */
+#ifndef HAVE_WCOREDUMP
+#define WCOREDUMP(x) 0
+#endif
+
/* GNU C attributes. */
#ifndef FUNCATTR
#ifdef HAVE_GNUC25_ATTRIB
/* GNU C attributes. */
#ifndef FUNCATTR
#ifdef HAVE_GNUC25_ATTRIB
CFLAGS="$CFLAGS -D_GNU_SOURCE"
AC_CHECK_LIB(socket,socket)
CFLAGS="$CFLAGS -D_GNU_SOURCE"
AC_CHECK_LIB(socket,socket)
+AC_CHECK_FUNCS(setenv strsignal)
AC_CACHE_CHECK(for EPROTO,userv_cv_hdr_eproto,
AC_EGREP_CPP(yes,
AC_CACHE_CHECK(for EPROTO,userv_cv_hdr_eproto,
AC_EGREP_CPP(yes,
AC_DEFINE(HAVE_LOG_AUTHPRIV)
fi
AC_DEFINE(HAVE_LOG_AUTHPRIV)
fi
+AC_CACHE_CHECK(for WCOREDUMP,userv_cv_hdr_wcoredump,
+ AC_EGREP_CPP(yes,
+[
+#include <syslog.h>
+#ifdef WCOREDUMP
+ yes
+#endif
+],userv_cv_hdr_wcoredump=yes,userv_cv_hdr_wcoredump=no))
+if test $userv_cv_hdr_wcoredump = yes
+then
+ AC_DEFINE(HAVE_WCOREDUMP)
+fi
+
AC_SUBST(OPTIMISE)
if test "${GCC-no}" = yes; then
OPTIMISE=-O2
AC_SUBST(OPTIMISE)
if test "${GCC-no}" = yes; then
OPTIMISE=-O2
Minor portability fixes:
* Missing #include <string.h> and <stdlib.h> } Thanks to report
* getgroups returns int, not gid_t (!). } from Peter Benie.
Minor portability fixes:
* Missing #include <string.h> and <stdlib.h> } Thanks to report
* getgroups returns int, not gid_t (!). } from Peter Benie.
+ * Dummy `check' target in Makefile.in. }
+ * Bogus strsignal emulation for broken platforms. } Thanks to
+ * Bogus WCOREDUMP emulation for broken platforms. } report from
+ Nelson Beebe
--
userv (1.0.3-2) unstable; urgency=low
--
userv (1.0.3-2) unstable; urgency=low