+Mon Mar 10 23:17:19 1997 Tom Tromey <tromey@cygnus.com>
+
+ * automake.in (handle_lib_objects): Set seen_c_source as
+ appropriate. From Alexander V. Lukyanov.
+
Sat Mar 8 22:54:35 1997 Tom Tromey <tromey@cygnus.com>
* texinfo.tex: New version.
It would not be what it is today without the invaluable help of these
people:
-"Garrett D'Amore" <garrett@qualcomm.com>
+Alexander V. Lukyanov <lav@yars.free.net>
Andreas Schwab <schwab@lamothe.informatik.uni-dortmund.de>
Anthony Green <green@cygnus.com>
David A. Swierczek <swiercze@mr.med.ge.com>
Erick Branderhorst <branderh@iaehv.nl>
François Pinard <pinard@iro.umontreal.ca>
Fred Fish <fnf@ninemoons.com>
+Garrett D'Amore <garrett@qualcomm.com>
Glenn Amerine <glenn@pie.mhsc.org>
Gord Matzigkeit <gord@enci.ucalgary.ca>
Greg A. Woods <woods@most.weird.com>
* Consider supporting syntax from autoconf "derived:source", eg:
y.tab.c:perly.y
for yacc and lex source
+* what if you use flex and the option to avoid -lfl?
+ should support this?
Multi-language support:
* should have mapping of file extensions to languages
local ($iter, $rewrite);
foreach $iter (keys %libsources)
{
- if ($iter =~ /\.h$/)
+ if ($iter =~ /\.[cly]$/)
+ {
+ $seen_c_source = 1;
+ }
+ elsif ($iter =~ /\.h$/)
{
&require_file_with_line ($var, $FOREIGN, $iter);
}
if ! defined $libsources{'alloca.c'};
$dep_files{'.deps/alloca.P'} = 1;
&require_file_with_line ($var, $FOREIGN, 'alloca.c');
+ $seen_c_source = 1;
}
elsif ($lsearch eq '@LEXLIB@')
{
# made, I think.
$lex_ok = 1;
}
-
}
if (! $lex_ok)
+Mon Mar 10 23:21:03 1997 Tom Tromey <tromey@cygnus.com>
+
+ * cxxlibobj.test: New file.
+
Wed Feb 26 13:05:42 1997 Tom Tromey <tromey@cygnus.com>
* tagsub.test: New file.
ranlib.test confvar.test confvar2.test stdlib.test cxxo.test \
colon2.test colon3.test remake.test output.test output2.test \
remake2.test output3.test output4.test colneq2.test subst.test \
-defun2.test yaccpp.test texinfo3.test texinfo4.test tagsub.test
+defun2.test yaccpp.test texinfo3.test texinfo4.test tagsub.test \
+cxxlibobj.test
EXTRA_DIST = defs $(TESTS)
ranlib.test confvar.test confvar2.test stdlib.test cxxo.test \
colon2.test colon3.test remake.test output.test output2.test \
remake2.test output3.test output4.test colneq2.test subst.test \
-defun2.test yaccpp.test texinfo3.test texinfo4.test tagsub.test
+defun2.test yaccpp.test texinfo3.test texinfo4.test tagsub.test \
+cxxlibobj.test
EXTRA_DIST = defs $(TESTS)
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
--- /dev/null
+#! /bin/sh
+
+# Test to make sure LIBOBJS and C++ sources work right.
+
+. $srcdir/defs || exit 1
+
+cat >> configure.in << 'END'
+AC_PROG_CXX
+AC_PROG_CC
+AC_REPLACE_FUNCS(strdup)
+END
+
+cat > Makefile.am << 'END'
+sbin_PROGRAMS = anonymous
+anonymous_SOURCES = doe.C jane.C
+anonymous_LDADD = @LIBOBJS@
+END
+
+: > strdup.c
+: > doe.C
+: > jane.C
+
+$AUTOMAKE || exit 1
+
+grep CC Makefile.in