Re: [PATCH] Add check for Perl::Text::CSV



On Sun, Mar 25, 2012 at 10:38:58AM -0300, Fabiano Fidêncio wrote:
> ---
>  configure.ac |   10 ++++++++++
>  1 file changed, 10 insertions(+)
> 
> diff --git a/configure.ac b/configure.ac
> index 99891e3..0d5ae35 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -444,6 +444,16 @@ if test "x$enable_introspection" = "xyes" ; then
>  fi
>  AM_CONDITIONAL([WITH_VALA], [test "x$enable_vala" = "xyes"])
>  
> +if test ! -e "$srcdir/gtk/vncdisplaykeymap_osx2xtkbd.c"; then
> +  AC_MSG_CHECKING([for Text::CSV Perl module])
> +  perl -MText::CSV -e "" >/dev/null 2>&1
> +  if test $? -ne 0 ; then
> +    AC_MSG_RESULT([not found])
> +    AC_MSG_ERROR([Text::CSV Perl module is required to compile this package])
> +  fi
> +  AC_MSG_RESULT([found])
> +fi
> +
>  AC_CONFIG_FILES(
>    Makefile
>    src/Makefile

ACK, I have applied this patch

Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|


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