AC_DEFUN([mdw_DECL_ENVIRON],
[AC_CACHE_CHECK([for declaration of `environ'], [mdw_cv_environ],
[AC_EGREP_CPP([\<environ\>],
-[#include <sys/types.h>
-#if HAVE_UNISTD_H
-#include <unistd.h>
-#endif
-#if STDC_HEADERS
-#include <stdlib.h>
-#include <stddef.h>
-#endif], [mdw_cv_environ=yes], [mdw_cv_environ=no])])
+[@%:@include <sys/types.h>
+@%:@if HAVE_UNISTD_H
+@%:@include <unistd.h>
+@%:@endif
+@%:@if STDC_HEADERS
+@%:@include <stdlib.h>
+@%:@include <stddef.h>
+@%:@endif], [mdw_cv_environ=yes], [mdw_cv_environ=no])])
if test $mdw_cv_environ = yes; then
AC_DEFINE([DECL_ENVIRON], [1],
[Define if you have the `environ' vector of environment variables.])