365b968818f30e42ac7a48019970beea8747542e
[citadel.git] / webcit / aclocal.m4
1 dnl aclocal.m4 generated automatically by aclocal 1.3b
2
3 dnl Copyright (C) 1994, 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
4 dnl This file is free software; the Free Software Foundation
5 dnl gives unlimited permission to copy and/or distribute it,
6 dnl with or without modifications, as long as this notice is preserved.
7
8 dnl This program is distributed in the hope that it will be useful,
9 dnl but WITHOUT ANY WARRANTY, to the extent permitted by law; without
10 dnl even the implied warranty of MERCHANTABILITY or FITNESS FOR A
11 dnl PARTICULAR PURPOSE.
12
13 dnl AM_MISSING_PROG(NAME, PROGRAM, DIRECTORY)
14 dnl The program must properly implement --version.
15 AC_DEFUN(AM_MISSING_PROG,
16 [AC_MSG_CHECKING(for working $2)
17 # Run test in a subshell; some versions of sh will print an error if
18 # an executable is not found, even if stderr is redirected.
19 # Redirect stdin to placate older versions of autoconf.  Sigh.
20 if ($2 --version) < /dev/null > /dev/null 2>&1; then
21    $1=$2
22    AC_MSG_RESULT(found)
23 else
24    $1="$3/missing $2"
25    AC_MSG_RESULT(missing)
26 fi
27 AC_SUBST($1)])
28