summaryrefslogtreecommitdiff
path: root/tests/cxx.test
blob: 7e547202d7f5c34c2873a3161b6146cde8f3b080 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#! /bin/sh

# Test that `.c++' extension works.
# From Ralf Corsepius.

. $srcdir/defs || exit 1

cat >> configure.in << 'END'
AC_PROG_CXX
END

cat > Makefile.am << 'END'
bin_PROGRAMS = hello
hello_SOURCES = hello.c++
END

$ACLOCAL || exit 1
$AUTOMAKE || exit 1

grep '^\.SUFFIXES:.*c[+][+]' Makefile.in