* configure.in: Upped to version 1.4k.
[automake.git] / tests / nolink.test
blobed13cfe2d63ad0b35c3f7e91ab0c033eba2c5de7
1 #! /bin/sh
3 # Make sure Automake does not emit a link rule for unknown languages.
5 . $srcdir/defs || exit 1
7 cat >> configure.in << 'END'
8 AC_INIT
9 AM_INIT_AUTOMAKE([meal],[123])
10 AC_OUTPUT([Makefile])
11 END
13 cat > Makefile.am << 'END'
14 AUTOMAKE_OPTIONS = no-exeext
16 bin_PROGRAMS = meal
17 meal_SOURCES = beans.veg beef.meat
19 meal: beans.veg beef.meat
20 cat beans.veg beef.meat > meal
21 END
23 $ACLOCAL || exit 1
24 $AUTOMAKE || exit 1
26 grep '^meal.*:' Makefile.in | grep -v beef.meat && exit 1
28 exit 0