3 # Test to make sure the C++ linker is used when appropriate.
4 # Matthew D. Langston <langston@SLAC.Stanford.EDU>
6 . $srcdir/defs || exit 1
8 cat >> configure.in << 'END'
13 cat > Makefile.am << 'END'
14 bin_PROGRAMS = lavalamp
15 lavalamp_SOURCES = lava.c lamp.cxx
25 # We should only see the C++ linker in the rules of `Makefile.in'.
27 # Look for this macro not at the beginning of any line; that will have
28 # to be good enough for now.
29 grep '.\$(CXXLINK)' Makefile.in || exit 1
31 # We should not see these patterns:
32 grep '.\$(FLINK)' Makefile.in && exit 1
33 grep '.\$(LINK)' Makefile.in && exit 1