X-Git-Url: https://git.distorted.org.uk/~mdw/runlisp/blobdiff_plain/fb2149fc2dc1d5f4936b2af31be7c7bd02f83324..60db9fabc6aca55ad76fc8aae5b01e61eac38715:/m4/mdw-decl-environ.m4 diff --git a/m4/mdw-decl-environ.m4 b/m4/mdw-decl-environ.m4 deleted file mode 100644 index 880e499..0000000 --- a/m4/mdw-decl-environ.m4 +++ /dev/null @@ -1,29 +0,0 @@ -dnl -*-autoconf-*- - -dnl --- *@-mdw_DECL_ENVIRON-@* --- -dnl -dnl Author: Mark Wooding -dnl -dnl Synopsis: mdw_DECL_ENVIRON -dnl -dnl Arguments: --- -dnl -dnl Use: Searches for a declaration of the global `environ' variable. -dnl If one is found in one of the `usual' places, DECL_ENVIRON -dnl is defined as a preprocessor symbol. - -AC_DEFUN([mdw_DECL_ENVIRON], -[AC_CACHE_CHECK([for declaration of \`environ'], mdw_cv_environ, -[AC_EGREP_CPP([\], -[#include -#if HAVE_UNISTD_H -#include -#endif -#if STDC_HEADERS -#include -#include -#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.]) -fi]) diff --git a/m4/mdw-decl-environ.m4 b/m4/mdw-decl-environ.m4 new file mode 120000 index 0000000..c9190c8 --- /dev/null +++ b/m4/mdw-decl-environ.m4 @@ -0,0 +1 @@ +../.ext/cfd/m4/mdw-decl-environ.m4 \ No newline at end of file