On Mon, Oct 05, 2009 at 07:51:35PM -0700, Alan Coopersmith wrote:
> +AC_DEFUN([XORG_FONT_CHECK_COMPRESSION],[
> +     AC_ARG_WITH(compression,
> +      [AS_HELP_STRING([--with-compression=<no|compress|gzip|bzip2>],
> +                      [compression method to use on pcf fonts])],
> +         [compression="$withval"], [compression="yes"])
> +     if test x"$compression" = "xyes" ; then
> +             compression="gzip"
> +     fi
> +     case $compression in
> +      *compress)     COMPRESS_SUFFIX=".Z" ;;
> +      *gzip)         COMPRESS_SUFFIX=".gz" ;;
> +      *bzip2)        COMPRESS_SUFFIX=".bz2" ;;
> +      no|none)       COMPRESS_SUFFIX="" ; COMPRESS="cat" ;;
> +      *) AC_MSG_ERROR([$compress is not a supported compression method]) ;;
                          ^^^^^^^^^

Should be $compression.  Other than that, I haven't tested it at all, so
I don't really have anything substantive to say.

Cheers,
Daniel

Attachment: pgpOx9kawbCQ9.pgp
Description: PGP signature

_______________________________________________
xorg-devel mailing list
xorg-devel@lists.x.org
http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to