]> git.saurik.com Git - bison.git/blob - m4/atconfig.m4
* src/files.c (guard_obstack): New.
[bison.git] / m4 / atconfig.m4
1 ## ----------------------##
2 ## Prepare for testing. ##
3 ## ----------------------##
4
5 # serial 2
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
10 AC_DEFUN([AT_CONFIG],
11 [AT_TESTPATH=ifelse([$1], [], [.], [$1])
12 AC_SUBST([AT_TESTPATH])
13 # Try to be compatible with both Autoconf 2.13 and 2.50.
14 if 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])
21 fi
22 ])