version 1.1, 1999/11/18 16:29:01 |
version 1.2, 1999/12/10 06:45:11 |
|
|
[AC_MSG_CHECKING(for working fnmatch) |
[AC_MSG_CHECKING(for working fnmatch) |
AC_CACHE_VAL(sudo_cv_func_fnmatch, |
AC_CACHE_VAL(sudo_cv_func_fnmatch, |
[rm -f conftestdata; > conftestdata |
[rm -f conftestdata; > conftestdata |
AC_TRY_RUN([main() { |
AC_TRY_RUN([#include <fnmatch.h> |
exit(fnmatch("/*/bin/echo *", "/usr/bin/echo just a test", 0)); |
main() { exit(fnmatch("/*/bin/echo *", "/usr/bin/echo just a test", 0)); } |
}], sudo_cv_func_fnmatch=yes, sudo_cv_func_fnmatch=no, |
], sudo_cv_func_fnmatch=yes, sudo_cv_func_fnmatch=no, |
sudo_cv_func_fnmatch=no) |
sudo_cv_func_fnmatch=no) |
rm -f core core.* *.core])dnl |
rm -f core core.* *.core])dnl |
AC_MSG_RESULT($sudo_cv_func_fnmatch) |
AC_MSG_RESULT($sudo_cv_func_fnmatch) |