blob: 2d46f2f1e0569b23474ac454b07599a6e252dc3c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#! /bin/sh
# Test of subdir objects with C++.
. $srcdir/defs || exit 1
cat >> configure.in << 'END'
AC_PROG_CXX
END
cat > Makefile.am << 'END'
AUTOMAKE_OPTIONS = subdir-objects
bin_PROGRAMS = wish
wish_SOURCES = generic/a.cc generic/b.cxx
END
: > compile
$ACLOCAL || exit 1
$AUTOMAKE || exit 1
fgrep 'generic/a.$(OBJEXT)' Makefile.in || exit 1
grep '[^/]a\.\$(OBJEXT)' Makefile.in && exit 1
fgrep -e '-c -o' Makefile.in
|