(gl_ERROR): Do not put under dynamic conditions some
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 22 Apr 2003 03:28:22 +0000 (03:28 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 22 Apr 2003 03:28:22 +0000 (03:28 +0000)
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>.

m4/error.m4

index 71a79f7ea8077d2b5216c10e56f3d1dd9fc0120c..14e23a71f71c5ba5f4df6b0a2f342cb0d8e48fcf 100644 (file)
@@ -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.