From: Richard Jones Date: Tue, 14 Sep 2010 11:24:12 +0000 (+0100) Subject: pardus: Check for cpio in configure. X-Git-Tag: 1.5.14~2 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=9cab7e3ecd9df8bfa6a3dad1dd11ba88452c819b;p=libguestfs.git pardus: Check for cpio in configure. --- diff --git a/configure.ac b/configure.ac index 9a93724..422c269 100644 --- a/configure.ac +++ b/configure.ac @@ -201,6 +201,11 @@ AC_CHECK_LIB([portablexdr],[xdrmem_create],[],[ AC_SEARCH_LIBS([xdrmem_create],[rpc xdr nsl]) ]) +dnl Check for cpio which isn't in the default Pardus install amazingly. +AC_CHECK_PROG([CPIO],[cpio],[cpio],[no]) +test "x$CPIO" = "xno" && + AC_MSG_ERROR([cpio must be installed]) + dnl Check for pod2man and pod2text. AC_CHECK_PROG([POD2MAN],[pod2man],[pod2man],[no]) test "x$POD2MAN" = "xno" &&