chiark / gitweb /
m4/mdw-decl-environ.m4: Use quadrigraphs for `#' in scripts.
authorMark Wooding <mdw@distorted.org.uk>
Mon, 10 Mar 2025 13:43:28 +0000 (13:43 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Mon, 10 Mar 2025 13:43:28 +0000 (13:43 +0000)
(Should be `tetragraphs'.  Or even `tetragrammata' if you wanted to be
controversial.)

m4/mdw-decl-environ.m4

index 581c0c0f20c9415d864b2b3d0f878e0b2ba29612..db84b2e0d76e9dcdefb09b67a4aa8d50d5511e36 100644 (file)
@@ -43,14 +43,14 @@ dnl -*-autoconf-*-
 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.])