Re: [Mit-devel] [PATCH] Don't abort the build if docbook2man is missing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Monday 09 March 2009 14:48:59 Michal Marek wrote:
> Instead of aborting the build, print a warning if neither
> docbook2man nor docbook-to-man is found.
>
> Signed-off-by: Michal Marek <mmarek@xxxxxxx>
> ---
>  configure.ac |    4 +++-
>  1 files changed, 3 insertions(+), 1 deletions(-)
>
> diff --git a/configure.ac b/configure.ac
> index e6e1a34..93ea871 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -20,7 +20,9 @@ AC_PROG_CC
>  AC_CHECK_PROGS(DOCBOOKTOMAN, docbook-to-man docbook2man, [no],)
>  if test x"$DOCBOOKTOMAN" = xno
>  then
> -	AC_MSG_ERROR([docbook2man not found])
> +	AC_MSG_WARN([docbook2man not found])
> +	# fail with a meaningfull error if $DOCBOOKTOMAN called by the makefile
> +	DOCBOOKTOMAN=docbook2man
>  fi

better to use the missing script from automake
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.


[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux