nothing
[automake.git] / tests / cxxlibobj.test
blob13add3482b09093e2c58c4c0e0b6c76f3cb9b531
1 #! /bin/sh
3 # Test to make sure LIBOBJS and C++ sources work right.
5 . $srcdir/defs || exit 1
7 cat >> configure.in << 'END'
8 AC_PROG_CXX
9 AC_PROG_CC
10 AC_REPLACE_FUNCS(strdup)
11 END
13 cat > Makefile.am << 'END'
14 sbin_PROGRAMS = anonymous
15 anonymous_SOURCES = doe.C jane.C
16 anonymous_LDADD = @LIBOBJS@
17 END
19 : > strdup.c
20 : > doe.C
21 : > jane.C
23 $AUTOMAKE || exit 1
25 grep CC Makefile.in