Hi Steve,

I would like to give a short response.

Steve McIntyre schrieb am Sun 23. Mar, 19:51 (+0000):
> Package: slrn
> Version: 0.9.9~pre97-1
> Severity: serious
> 
> On the mips buildd "ball", slrn builds correctly, but the debian/rules
> file does a check on the output binary objects to see if the hostname
> is encoded anywhere. As the compiled-in help text includes the text:
> 
>   " Copyright (C) 1995-1998  Peter Mattis, Spencer Kimball and Josh 
> MacDonald",
> 
> then the name "Kimball" matches and this test fails. Why is this check
> done? It seems completely silly and pointless.

I've talked to upstream and he thinks the built in hostname problem can
not happen with the current code. I plan to apply this patch to the
source, if upstream doesn't do so until the next release and drop the
test.

diff --git a/autoconf/configure.ac b/autoconf/configure.ac
index b25908f..a46900c 100644
--- a/autoconf/configure.ac
+++ b/autoconf/configure.ac
@@ -301,22 +301,6 @@ AC_TRY_LINK([#include <time.h>],
        [AC_DEFINE(HAVE_TM_GMTOFF) AC_MSG_RESULT(yes)],
        AC_MSG_RESULT(no))
 
-AC_CACHE_CHECK(for domain in /etc/resolv.conf, slrn_cv_domain,
-[if test -f /etc/resolv.conf; then
-       slrn_cv_domain=`(grep "^domain" /etc/resolv.conf ||
-                        grep "^search" /etc/resolv.conf) |
-                       awk '{ print [$]2 }' | head -1`
- fi
- if test -z "$slrn_cv_domain"; then
-       slrn_cv_domain=no
- fi
-])
-
-if test "$slrn_cv_domain" != no; then
-       AC_DEFINE(USE_DOMAIN_NAME)
-       AC_DEFINE_UNQUOTED(MY_DOMAIN_NAME, "${slrn_cv_domain}")
-fi
-
 AC_DEFUN(CF_VA_COPY,
 [
  dnl# va_copy checks taken from glib 1.2.8
diff --git a/src/config.hin b/src/config.hin
index 82eb047..6d24f29 100644
--- a/src/config.hin
+++ b/src/config.hin
@@ -7,12 +7,6 @@
 #ifndef SLRN_CONFIG_H
 #define SLRN_CONFIG_H
 
-/* define if you want to hard-code the domain */
-#undef USE_DOMAIN_NAME
- 
-/* set your domain here */
-#undef MY_DOMAIN_NAME
-
 /* Define to 1 if translation of program messages to the user's native
  * language is requested. 
  */

Bye, Jörg.
-- 
chinesiches Sprichwort:
Wer fragt, ist ein Narr für fünf Minuten.
Wer nicht fragt, ist ein Narr fürs ganze Leben.

Attachment: signature.asc
Description: Digital signature http://en.wikipedia.org/wiki/OpenPGP

Reply via email to