chiark / gitweb /
@@ -3,7 +3,10 @@
authorian <ian>
Sat, 15 Nov 2003 18:50:58 +0000 (18:50 +0000)
committerian <ian>
Sat, 15 Nov 2003 18:50:58 +0000 (18:50 +0000)
   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

Makefile.in
acconfig.h
configure.in
debian/changelog

index 27609214a349c06d7357d0c7d7662b09a89a1559..9902914053722463032bbd63711c6030ed3ed7e0 100644 (file)
@@ -98,6 +98,9 @@ uninstall:
 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)
 
index 80cec87872147bc27be9e5f582e61d18db84046a..55efe25d47644f0b3b973b3ae0724db51fcf33d9 100644 (file)
 
 @BOTTOM@
 
 
 @BOTTOM@
 
+/* 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
index f6f4f81e5136cc0f0ba486f9e90fdac15c11f847..65f6ed917f1cecce1a4d5b2c0d4f0f979f091db6 100644 (file)
@@ -46,7 +46,7 @@ AC_CHECK_PROGS(MD5SUM_SIMPLE, md5sum md5 gmd5sum)
 CFLAGS="$CFLAGS -D_GNU_SOURCE"
 
 AC_CHECK_LIB(socket,socket)
 CFLAGS="$CFLAGS -D_GNU_SOURCE"
 
 AC_CHECK_LIB(socket,socket)
-AC_CHECK_FUNCS(setenv)
+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,
@@ -74,6 +74,19 @@ then
        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
index 00f98a52b1f75aeed73462562383689190919356..050254c82ea56eec5114bc75ed0e6dfb09306169 100644 (file)
@@ -3,7 +3,10 @@ userv (1.0.4-1) unstable; urgency=low
   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