aboutsummaryrefslogtreecommitdiffstats
path: root/aclocal.m4
blob: c50de1225909db69a6f4e849b8ca62e6544d843b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
dnl $Id$

dnl --------------------------------------------------------------------------
dnl AF_PATH_INCLUDE:
dnl
dnl Like AC_PATH_PROGS, but add to the .h file as well
dnl --------------------------------------------------------------------------
AC_DEFUN(AF_PATH_INCLUDE,
[AC_PATH_PROGS($1,$2,$3,$4)
if test -n "$$1"; then
  AC_DEFINE(HAVE_$1)
  AC_DEFINE_UNQUOTED(PATH_$1, "$$1")
  HAVE_$1=1
else
  HAVE_$1=0
fi
AC_SUBST(HAVE_$1)])