diff options
Diffstat (limited to 'sys-power/pm-utils/files')
-rw-r--r-- | sys-power/pm-utils/files/1.3.0-fix_autotools.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys-power/pm-utils/files/1.3.0-fix_autotools.patch b/sys-power/pm-utils/files/1.3.0-fix_autotools.patch index 389831b46ff4..b63887db529b 100644 --- a/sys-power/pm-utils/files/1.3.0-fix_autotools.patch +++ b/sys-power/pm-utils/files/1.3.0-fix_autotools.patch @@ -35,13 +35,13 @@ diff -urN pm-utils-1.3.0.old//configure.ac pm-utils-1.3.0/configure.ac + AC_PATH_PROG(XMLTO, xmlto, no) + AS_IF([test "x$MAN" = "xyes"], + [ -+ AS_IF([test "x$XMLTO" != "xyes"], ++ AS_IF([test "x$XMLTO" = "xno"], + [AC_MSG_ERROR([Manpage generating requested but xmlto not found.]) + ]) + ], + [test "x${MAN}" != "xno"], + [ -+ AS_IF([test "x$XMLTO" = "xyes"], ++ AS_IF([test "x$XMLTO" != "xno"], + [MAN="yes"], + [MAN="no"]) + ]) |