Download M4 Source Macro Index Page

ac_prog_gzip

Synopsis

AC_PROG_GZIP

Description

This macro test if gzip is installed. If gzip is installed, it set $gzip to the right value

Author

Mathieu Boretti <boretti@bss-network.com>

Last Modified

2005-01-21

M4 Source Code

AC_DEFUN([AC_PROG_GZIP],[
AC_CHECK_PROGS(gzip,[gzip],no)
export gzip;
if test $gzip = "no" ;
then
        AC_MSG_ERROR([Unable to find the gzip application]);
fi
AC_SUBST(gzip)
])