"Fossies" - the Fresh Open Source Software Archive

Member "timbersee-0.8.3/acinclude.m4" (27 Oct 2001, 371 Bytes) of package /linux/privat/old/timbersee-0.8.3.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 dnl AC_CHECK_PERL_MODULE(MODULE)
    2 dnl Test for existance of a perl module
    3 AC_DEFUN(AC_CHECK_PERL_MODULE, [
    4 AC_MSG_CHECKING(for $1 in perl libraries)
    5 if AC_TRY_COMMAND($PERL -e "use $1;") > /dev/null 2>&1; then
    6         echo $ac_t "found"
    7 else
    8         echo $ac_t "not found"
    9         AC_MSG_ERROR([This perl module is required.  Try 'perl -MCPAN -e \"insta
   10 ll $1\"'])
   11 fi
   12 ])
   13