File: programs.m4

package info (click to toggle)
smuxi 0.11~rc5-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 24,200 kB
  • ctags: 36,112
  • sloc: cs: 217,265; sh: 11,486; makefile: 2,136
file content (15 lines) | stat: -rw-r--r-- 241 bytes parent folder | download | duplicates (40)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
AC_DEFUN([SHAMROCK_FIND_PROGRAM],
[
	AC_PATH_PROG($1, $2, $3)
	AC_SUBST($1)
])

AC_DEFUN([SHAMROCK_FIND_PROGRAM_OR_BAIL],
[
	SHAMROCK_FIND_PROGRAM($1, $2, no)
	if test "x$$1" = "xno"; then
		AC_MSG_ERROR([You need to install '$2'])
	fi
])