Tweak the grep to look for sys/sysmacros.h.

This commit is contained in:
Wayne Davison committed 2020-04-07 15:32:06 -07:00
1 parent 5e4a1441cb
commit cd7ad50bc8
1 file changed
+1 -1
+1 -1
View 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