* configure.in: Bump version to 1.5b.
[automake.git] / tests / depcomp.test
blob1c28e5feef96698b9908c00356467c1943209eff
1 #! /bin/sh
3 # Test to make sure depcomp is installed and found properly
4 # when required for multiple directories
6 . $srcdir/defs || exit 1
8 cat > configure.in << 'END'
9 AC_INIT
10 AM_INIT_AUTOMAKE(nonesuch, nonesuch)
11 AC_PROG_CC
12 AC_OUTPUT(subdir/Makefile subdir2/Makefile)
13 END
15 rm -f depcomp
16 mkdir subdir
17 mkdir subdir2
19 cat > subdir/Makefile.am << 'END'
20 noinst_PROGRAMS = foo
21 foo_SOURCES = foo.c
22 END
24 cp subdir/Makefile.am subdir2/Makefile.am
26 : > subdir/foo.c
27 : > subdir2/foo.c
29 $ACLOCAL || exit 1
30 $AUTOMAKE --add-missing || exit 1
32 # There used to be a bug where this was created in the first subdir with C
33 # sources in it instead of in $top_srcdir or $ac_auxdir
34 test -f depcomp || exit 1