This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
ansi2knr breaks dependency generation
- To: automake at gnu dot org
- Subject: ansi2knr breaks dependency generation
- From: Robert Boehne <rboehne at ricardo-us dot com>
- Date: Wed, 10 Jan 2001 19:22:37 -0600
- List-Id: Discussion list for automake <automake.gnu.org><mailto:automake-request@gnu.org?subject=unsubscribe>
- Organization: Ricardo Software
- References: <Pine.LNX.4.30.0101091456260.4004-100000@fonzie.nine.com>
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