]> git.saurik.com Git - bison.git/blame - m4/atconfig.m4
* src/output.c (output_parser): Compute the `#line' lines when
[bison.git] / m4 / atconfig.m4
CommitLineData
e79137ac
AD
1## ----------------------##
2## Prepare for testing. ##
3## ----------------------##
4
0d533154 5# serial 2
e79137ac
AD
6
7# Single argument says where are built sources to test, relative to the
8# built test directory. Maybe omitted if the same (flat distribution).
9
0d533154
AD
10AC_DEFUN([AT_CONFIG],
11[AT_TESTPATH=ifelse([$1], [], [.], [$1])
12AC_SUBST([AT_TESTPATH])
13# Try to be compatible with both Autoconf 2.13 and 2.50.
14if test -z "$ECHO_C$ECHO_N$ECHO_T"; then
15 ECHO_C="$ac_c"
16 ECHO_N="$ac_n"
17 ECHO_T="$ac_t"
18 AC_SUBST([ECHO_C])
19 AC_SUBST([ECHO_N])
20 AC_SUBST([ECHO_T])
21fi
e79137ac 22])