From: Stephen Leake on
Warren <ve3wwg(a)gmail.com> writes:

> Stephen Leake expounded in news:82sk6nn4vn.fsf(a)stephe-leake.org:
>
>> Warren <ve3wwg(a)gmail.com> writes:
>>
>>> Has anyone here had experience using GNAT with autoconf/automake?
>>
>> My advice is to stop using the autotools, and use gprbuild instead.
>>
>> gprbuild knows how to build C libraries and link them with Ada. It can
>> also use a C main, if necessary.
>
> Unfortunately, there is more to this than just the build.
> I am mostly concerned about the ./configure and the generated
> config.h file. Autoconf is critical for wide platform support.

Apparently you have source code in C as well as Ada? My sympathies :).

> But you gave me an idea. Maybe I can just use autoconf and do away
> with automake and libtool.

Yes.

> I still need to use the libtool's library libtdl (I think it was), but
> that shouldn't be a problem.

I'm not familiar with that tool; what does it do?

> That way I can still use make (gmake), as I have always done.

I always run gprbuild from Gnu make.

--
-- Stephe