include_next: Change configure message.
authorBruno Haible <bruno@clisp.org>
Wed, 26 Aug 2020 23:04:36 +0000 (01:04 +0200)
committerBruno Haible <bruno@clisp.org>
Wed, 26 Aug 2020 23:30:33 +0000 (01:30 +0200)
* m4/include_next.m4 (gl_INCLUDE_NEXT): Say "checking whether source
code line length is unlimited..." instead of "checking whether system
header files limit the line length...".

ChangeLog
m4/include_next.m4

index d6376c9c9d49df47ea48e3b5e0f11930759e113c..a3f0ce517cd36c69840dab755b56cfcff48bef7f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2020-08-26  Bruno Haible  <bruno@clisp.org>
+
+       include_next: Change configure message.
+       * m4/include_next.m4 (gl_INCLUDE_NEXT): Say "checking whether source
+       code line length is unlimited..." instead of "checking whether system
+       header files limit the line length...".
+
 2020-08-26  Bruno Haible  <bruno@clisp.org>
 
        getcwd: Change configure message.
index 33601aa3b43f95b25eeb7457690c5f642da3f898..9221d9f7d5f59069fdf874832638d06d4cde215a 100644 (file)
@@ -1,4 +1,4 @@
-# include_next.m4 serial 25
+# include_next.m4 serial 26
 dnl Copyright (C) 2006-2020 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
@@ -106,19 +106,21 @@ dnl We intentionally avoid using AC_LANG_SOURCE here.
   AC_SUBST([INCLUDE_NEXT])
   AC_SUBST([INCLUDE_NEXT_AS_FIRST_DIRECTIVE])
   AC_SUBST([PRAGMA_SYSTEM_HEADER])
-  AC_CACHE_CHECK([whether system header files limit the line length],
-    [gl_cv_pragma_columns],
-    [dnl HP NonStop systems, which define __TANDEM, have this misfeature.
-     AC_EGREP_CPP([choke me],
+
+  dnl HP NonStop systems, which define __TANDEM, limit the line length
+  dnl after including some system header files.
+  AC_CACHE_CHECK([whether source code line length is unlimited],
+    [gl_cv_source_line_length_unlimited],
+    [AC_EGREP_CPP([choke me],
        [
 #ifdef __TANDEM
 choke me
 #endif
        ],
-       [gl_cv_pragma_columns=yes],
-       [gl_cv_pragma_columns=no])
+       [gl_cv_source_line_length_unlimited=no],
+       [gl_cv_source_line_length_unlimited=yes])
     ])
-  if test $gl_cv_pragma_columns = yes; then
+  if test $gl_cv_source_line_length_unlimited = no; then
     PRAGMA_COLUMNS="#pragma COLUMNS 10000"
   else
     PRAGMA_COLUMNS=