I want to make sure that two functions are available, and die if they're
not.


AC_CHECK_FUNC(seteuid, AC_DEFINE(HAVE_SETEUID, 1), AC_MSG_ERROR([This
program re
quires that seteuid be available]))

AC_CHECK_FUNC(getpwent, AC_DEFINE(HAVE_GETPWENT, 1), AC_MSG_ERROR([This
program 
requires that getpwent be available]))

Reply via email to