1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- #! /bin/sh
- . test-init.sh
- echo AC_PROG_CC >> configure.ac
- cat > Makefile.am << 'END'
- bin_PROGRAMS = x y
- x_SOURCES = x.c @FOO@
- bar = @FOO@
- foo = $(bar)
- EXTRA_y_SOURCES = $(foo) y.c
- END
- $ACLOCAL
- AUTOMAKE_fails
- cat > exp-err << 'END'
- Makefile.am:2: error: 'x_SOURCES' includes configure substitution '@FOO@';
- Makefile.am:2: configure substitutions are not allowed in _SOURCES variables
- Makefile.am:3: error: 'bar' includes configure substitution '@FOO@'
- Makefile.am:3: and is referred to from 'EXTRA_y_SOURCES';
- Makefile.am:3: configure substitutions are not allowed in _SOURCES variables
- END
- diff exp-err stderr
- :
|