Index: autofs-5.0.7/aclocal.m4 =================================================================== --- autofs-5.0.7.orig/aclocal.m4 2012-10-28 04:45:07.000000000 -0700 +++ autofs-5.0.7/aclocal.m4 2012-10-28 10:47:53.263996910 -0700 @@ -7,6 +7,8 @@ AC_DEFUN(AF_PATH_INCLUDE, [AC_PATH_PROGS($1,$2,$3,$4) if test -n "$$1"; then + AH_TEMPLATE([HAVE_$1], [Have $2]) + AH_TEMPLATE([PATH_$1], [Have $2]) AC_DEFINE(HAVE_$1,1,[define if you have $1]) AC_DEFINE_UNQUOTED(PATH_$1, "$$1", [define if you have $1]) HAVE_$1=1 Index: autofs-5.0.7/configure.in =================================================================== --- autofs-5.0.7.orig/configure.in 2012-10-28 04:45:06.000000000 -0700 +++ autofs-5.0.7/configure.in 2012-10-28 10:50:07.580000628 -0700 @@ -301,13 +301,15 @@ cat > pietest.c <