changeset 4305:784fa3ead9d6

(gl_ERROR): Do not put under dynamic conditions some code which expansion is under static control. Patch imported from Akim Demaille's patch to Bison; see <http://mail.gnu.org/archive/html/bison-patches/2003-03/msg00057.html>.
author Paul Eggert <eggert@cs.ucla.edu>
date Tue, 22 Apr 2003 03:28:22 +0000
parents 70e590c93c06
children f59d87c2ceb4
files m4/error.m4
diffstat 1 files changed, 2 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/m4/error.m4
+++ b/m4/error.m4
@@ -1,12 +1,10 @@
-#serial 6
+#serial 7
 
 AC_DEFUN([gl_ERROR],
 [
   AC_FUNC_ERROR_AT_LINE
   dnl Note: AC_FUNC_ERROR_AT_LINE does AC_LIBSOURCES([error.h, error.c]).
-  if test $ac_cv_lib_error_at_line = no; then
-    jm_PREREQ_ERROR
-  fi
+  jm_PREREQ_ERROR
 ])
 
 # Prerequisites of lib/error.c.