This is the mail archive of the automake@gnu.org mailing list for the automake project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

ansi2knr breaks dependency generation


I'm using CVS automake, autoconf & MLB libtool, but I found that
using these with g++/gcc (under AIX at least) will not work
if AUTOMAKE_OPTIONS=ansi2knr is set in Makefile.am.
The error is due to an underscore being appended to the libtool
object file name by automake,
source file:  FSD_Archive.cxx
Error: don't know how to make FSD_Archive_.lo

I'm not sure why, but adding ansi2knr causes the file to be
listed in the dependencies for the target as:
FSD_Archive$U.lo
even though it is C++, and shouldn't be affected.
I'm no automake guru, so I'm hoping to get a little help with this,
has anyone committed a supect patch that might do this?

Robert

-- 
Robert Boehne             Software Engineer
Ricardo Software   Chicago Technical Center
TEL: (630)789-0003 x. 238
FAX: (630)789-0127
email:  rboehne@ricardo-us.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]