comparison m4/error.m4 @ 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 c842eddb3b4f
children 8b869710f671
comparison
equal deleted inserted replaced
4304:70e590c93c06 4305:784fa3ead9d6
1 #serial 6 1 #serial 7
2 2
3 AC_DEFUN([gl_ERROR], 3 AC_DEFUN([gl_ERROR],
4 [ 4 [
5 AC_FUNC_ERROR_AT_LINE 5 AC_FUNC_ERROR_AT_LINE
6 dnl Note: AC_FUNC_ERROR_AT_LINE does AC_LIBSOURCES([error.h, error.c]). 6 dnl Note: AC_FUNC_ERROR_AT_LINE does AC_LIBSOURCES([error.h, error.c]).
7 if test $ac_cv_lib_error_at_line = no; then 7 jm_PREREQ_ERROR
8 jm_PREREQ_ERROR
9 fi
10 ]) 8 ])
11 9
12 # Prerequisites of lib/error.c. 10 # Prerequisites of lib/error.c.
13 AC_DEFUN([jm_PREREQ_ERROR], 11 AC_DEFUN([jm_PREREQ_ERROR],
14 [ 12 [