File: programs.m4

package info (click to toggle)
poppler-sharp 0.0.3-4.1
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 416 kB
  • sloc: sh: 625; makefile: 68
file content (15 lines) | stat: -rw-r--r-- 240 bytes parent folder | download | duplicates (26)
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
])