libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: branch-1-5: assume AIX compiler understands ##


From: Bob Friesenhahn
Subject: Re: branch-1-5: assume AIX compiler understands ##
Date: Tue, 6 Feb 2007 20:29:38 -0600 (CST)

On Wed, 7 Feb 2007, Ralf Wildenhues wrote:

On AIX 4.3.3, building branch-1-5 fails because configure selects
-qlanglvl=extc89, but that in turn causes __STDC__ not to be defined
(unlike without -qlanglvl=extc89, or with -qlanglvl=stdc89 instead).
And of course the build then fails because /**/ isn't recognized as
string concatenator.

I tested building branch-1-5 with CVS Autoconf, which causes the flag
to be selected, but I think Autoconf-2.61 does that as well.  (Not sure
whether this can be considered an Autoconf bug.)

Anyway, I'm not totally sure whether the patch below is the right thing
to do.  But since `defined (__STDC__) || defined (_AIX)' is used in a
number of places in ltdl.h, I guess it's good enough, so I applied it.
I'd appreciate comments though.

This feels like an `old compiler' problem rather than an AIX problem. The fix is a bandaid for a problem which is not truely OS specific. As such, I am not sure if the patch is the right thing to do but can't think of anything better at the moment.

If configure fails to apply -qlanglvl=extc89 does it still work?

Bob
======================================
Bob Friesenhahn
address@hidden, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]