From: Mark Wooding Date: Mon, 10 Mar 2025 13:43:28 +0000 (+0000) Subject: m4/mdw-decl-environ.m4: Use quadrigraphs for `#' in scripts. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/cfd/commitdiff_plain/f1fcfdb37e76be2ba5d3c52c02d1eda076fcf047?hp=3cdedddac8b10d299a189a1193bdfac448f45bd9 m4/mdw-decl-environ.m4: Use quadrigraphs for `#' in scripts. (Should be `tetragraphs'. Or even `tetragrammata' if you wanted to be controversial.) --- diff --git a/m4/mdw-decl-environ.m4 b/m4/mdw-decl-environ.m4 index 581c0c0..db84b2e 100644 --- a/m4/mdw-decl-environ.m4 +++ b/m4/mdw-decl-environ.m4 @@ -43,14 +43,14 @@ dnl -*-autoconf-*- 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])]) +[@%:@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.])