]> git.ipfire.org Git - thirdparty/rsync.git/commitdiff
Tweak the grep to look for sys/sysmacros.h.
authorWayne Davison <wayned@samba.org>
Tue, 7 Apr 2020 22:32:06 +0000 (15:32 -0700)
committerWayne Davison <wayned@samba.org>
Tue, 7 Apr 2020 22:32:06 +0000 (15:32 -0700)
m4/header_major_fixed.m4

index 395889cdae37bcf6dafbcbbb9cb16c8a40a11ad8..0f156aa0ad6f9f8e2915816f327a8aabda006eec 100644 (file)
@@ -3,7 +3,7 @@ AC_DEFUN([AC_HEADER_MAJOR_FIXED],
                ac_cv_header_sys_types_h_makedev,
 [AC_LINK_IFELSE([AC_LANG_PROGRAM([[@%:@include <sys/types.h>]],
                                 [[return makedev(0, 0);]])],
-               [if grep 'historical compatibility' conftest.err >/dev/null; then
+               [if grep sys/sysmacros.h conftest.err >/dev/null; then
                   ac_cv_header_sys_types_h_makedev=no
                 else
                   ac_cv_header_sys_types_h_makedev=yes