File: ps-check.m4

package info (click to toggle)
netatalk 2.0.3-4
  • links: PTS
  • area: main
  • in suites: etch-m68k
  • size: 9,004 kB
  • ctags: 6,109
  • sloc: ansic: 67,633; sh: 8,424; perl: 1,187; makefile: 1,001
file content (10 lines) | stat: -rw-r--r-- 305 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
dnl Autoconf macro to check for the existence of ps
dnl $Id: ps-check.m4,v 1.2 2002/02/14 18:02:04 jmarcus Exp $

AC_DEFUN([AC_PROG_PS], [
AC_REQUIRE([AC_EXEEXT])dnl
test x$PS = x && AC_PATH_PROG(PS, ps$EXEEXT, ps$EXEEXT)
test x$PS = x && AC_MSG_ERROR([no acceptable ps found in \$PATH])
])

AC_SUBST(PS)