PageRenderTime 13ms CodeModel.GetById 9ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/build/m4/shamrock/programs.m4

http://github.com/hbons/SparkleShare
m4 | 15 lines | 12 code | 3 blank | 0 comment | 0 complexity | 123249bcebbdcb6e36e09cd247080b15 MD5 | raw file
 1AC_DEFUN([SHAMROCK_FIND_PROGRAM],
 2[
 3	AC_PATH_PROG($1, $2, $3)
 4	AC_SUBST($1)
 5])
 6
 7AC_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