~cszikszoy/do-plugins/fix-confluence

« back to all changes in this revision

Viewing changes to m4/shamrock/programs.m4

  • Committer: Christopher James Halse Rogers
  • Date: 2008-07-25 06:31:03 UTC
  • Revision ID: raof@cowboylaputopu.cooperteam.net-20080725063103-r77k514l0z7kfw03
Start making autotools work again; all the plugins that currently have autofoo should be working

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
AC_DEFUN([SHAMROCK_FIND_PROGRAM],
 
2
[
 
3
        AC_PATH_PROG($1, $2, $3)
 
4
        AC_SUBST($1)
 
5
])
 
6
 
 
7
AC_DEFUN([SHAMROCK_FIND_PROGRAM_OR_BAIL],
 
8
[
 
9
        SHAMROCK_FIND_PROGRAM($1, $2, no)
 
10
        if test "x$1" = "xno"; then
 
11
                AC_MSG_ERROR([You need to install '$2'])
 
12
        fi
 
13
])
 
14
 
 
15