[PATCH:font/util] Add several new XORG_FONT* macros to replace code common to many font modules

Daniel Stone daniel at fooishbar.org
Tue Oct 6 08:34:58 PDT 2009


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
Url : http://lists.x.org/archives/xorg-devel/attachments/20091007/32ceec2d/attachment.pgp 


More information about the xorg-devel mailing list