~ubuntu-branches/ubuntu/precise/gnome-do/precise-proposed

« back to all changes in this revision

Viewing changes to m4/shamrock/programs.m4

  • Committer: Bazaar Package Importer
  • Author(s): Christopher James Halse Rogers
  • Date: 2008-09-14 10:09:40 UTC
  • mto: (0.1.8 sid)
  • mto: This revision was merged to the branch mainline in revision 7.
  • Revision ID: james.westby@ubuntu.com-20080914100940-kyghudg7py14bu2z
Tags: upstream-0.6.0.0
ImportĀ upstreamĀ versionĀ 0.6.0.0

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