I want to verify that a program is in the path, and error if it isn't.  If
it is, I'd like the value of the MKAFSVOL variable to make it into
the config.h file that gets written for other stuff.  How do I properly
put that value into the file?

This is how I'm currently checking for the program in configure.in:


AC_PATH_PROG(MKAFSVOL, mkafsvol, , /afs/@cell/common/etc:$PATH)
if test "x$MKAFSVOL" = "x"; then
        AC_MSG_ERROR([This program requires that mkafsvol be available])
fi

Reply via email to