summaryrefslogtreecommitdiff
path: root/debian/patches/07_dev_test_e.patch
blob: dd45caf90704c0ebfb2d31af14d74756f34f7d1c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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=''