inetutils (2:1.6-3.1+squeeze1) 07_dev_test_e.patch

Summary

 acinclude.m4 |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

    
download this patch

Patch contents

Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Description:
 While testing paths, ./configure uses test -r to check for those who
 are not provided by system headers.  However, this does not work for
 root-only files.  On hurd-i386 for instance, /dev/klog is only root
 readable, so the test fails, and thus inetutils-syslogd doesn't fill
 /dev/kern.log. ./configure should use test -e instead.


Index: b/acinclude.m4
===================================================================
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -306,7 +306,7 @@ AC_DEFUN([IU_CONFIG_PATHS], [
     else
       # search for a reasonable value
 
-      iu_test_type=r		# `exists'
+      iu_test_type=e		# `exists'
       iu_default='' iu_prev_cross_test=''
       for iu_try in $iu_paths_h $iu_search; do
 	iu_cross_test=''