source: vendor/automake/1.4-p6/tests/cxxlink.test

Last change on this file was 3124, checked in by bird, 18 years ago

automake 1.4-p6

File size: 418 bytes
Line 
1#! /bin/sh
2
3# Test to make sure C++ linker is used when appropriate.
4
5. $srcdir/defs || exit 1
6
7cat >> configure.in << 'END'
8AC_PROG_CC
9AC_PROG_CXX
10END
11
12cat > Makefile.am << 'END'
13bin_PROGRAMS = lavalamp
14lavalamp_SOURCES = lava.c lamp.cxx
15END
16
17: > lava.c
18: > lamp.cxx
19
20$AUTOMAKE || exit 1
21
22# Look for this macro not at the beginning of any line; that will have
23# to be good enough for now.
24grep '.CXXLINK' Makefile.in
Note: See TracBrowser for help on using the repository browser.