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:
@@ -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
|
||||
|
Reference in New Issue
Block a user