File: sinclude.test

package info (click to toggle)
automake 1.3-1
  • links: PTS
  • area: main
  • in suites: hamm
  • size: 1,944 kB
  • ctags: 24
  • sloc: perl: 4,855; sh: 3,833; ansic: 387; makefile: 163
file content (20 lines) | stat: -rwxr-xr-x 250 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#! /bin/sh

# Test to see if `sinclude' works.

. $srcdir/defs || exit 1

cat > aclocal.m4 << 'END'
sinclude(sub/p.m4)
END

mkdir sub
cat > sub/p.m4 << 'END'
AC_SUBST(MAGICALPIG)
END

: > Makefile.am

$AUTOMAKE || exit 1

grep MAGICALPIG Makefile.in