* depcomp (ddashmd): Removed case.
[automake.git] / tests / cxxlink.test
blobbcf03bba3f1f71e1084d181b3e1a0b467b11b808
1 #! /bin/sh
3 # Test to make sure C++ linker is used when appropriate.
5 . $srcdir/defs || exit 1
7 cat >> configure.in << 'END'
8 AC_PROG_CC
9 AC_PROG_CXX
10 END
12 cat > Makefile.am << 'END'
13 bin_PROGRAMS = lavalamp
14 lavalamp_SOURCES = lava.c lamp.cxx
15 END
17 : > lava.c
18 : > lamp.cxx
20 $AUTOMAKE || exit 1
22 # Look for this macro not at the beginning of any line; that will have
23 # to be good enough for now.
24 grep '.CXXLINK' Makefile.in