Fix for PR automake/14:
[automake.git] / tests / nodep.test
blob2ef8b92053fbd39cb505ba11af0a656e20f4ae30
1 #! /bin/sh
3 # Test to make sure no-dependencies option does the right thing.
4 # Bug report from Greg A. Woods.
6 . $srcdir/defs || exit 1
8 cat > Makefile.am << 'END'
9 AUTOMAKE_OPTIONS = no-dependencies
10 bin_PROGRAMS = zardoz
11 zardoz_SOURCES = y.c
12 END
14 cat >> configure.in << 'END'
15 AC_PROG_CC
16 END
18 mkdir x
20 : > y.c
22 $AUTOMAKE || exit 1
24 grep '%' Makefile.in && exit 1
25 exit 0