replace AC_CHECK_DECLARATION with standard AC_CHECK_DECL(S)

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14171 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Johan Danielsson
2004-08-26 15:12:17 +00:00
parent 970edde9f8
commit e4f79c6902
3 changed files with 4 additions and 40 deletions

View File

@@ -611,24 +611,11 @@ rk_CHECK_VAR([__progname],
#include <err.h>
#endif])
AC_CHECK_DECLARATION([#include <stdlib.h>
AC_CHECK_DECLS([optarg, optind, opterr, optopt, environ],[],[][
#include <stdlib.h>
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif], optarg)
AC_CHECK_DECLARATION([#include <stdlib.h>
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif], optind)
AC_CHECK_DECLARATION([#include <stdlib.h>
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif], opterr)
AC_CHECK_DECLARATION([#include <stdlib.h>
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif], optopt)
AC_CHECK_DECLARATION([#include <stdlib.h>], environ)
#endif])
dnl
dnl Check for fields in struct tm