From: GAUVIN Yves (yves.gauvin++at++sncf.fr)
Date: 08/30/2000 06:09:51
Hello,
Just a little thing to add, you can use an interface developper like
KDevelop which is writing the autoconf and the automake without any
help.
Yves GAUVIN
FRENCH RAILROADS
Bram Stolk a écrit :
>
> Hello Performers,
>
> Now that SGI's OpenGL|Performer is no longer bound to Irix, you may
> want to support multiple platforms.
>
> Ofcourse you can do this by maintaining two seperate Makefiles for
> your application.
>
> However, if you want to do the right thing (tm), you use GNU's famous
> autoconf/automake packages. This way, your app will build without a hassle
> as soon as SGI starts releasing Performer on exotic architectures like
> BEOS on StrongARM processors or NetBSD on Transmeta processors e.g. :-)
>
> Writing a configure.in for GNU autoconf is quite a challenge though, and
> it took some hard labour to get anything usable. I think my current
> configure.in has pretty much matured now. I thought I should share this
> with the other Performer users, so that they don't have to go through the
> same ordeal as I did.
>
> I've attached the configure.in file. For those interested, I also have
> snippets you can include if you use Performer in conjunction with VRCO's
> cavelib. Mail me if you're need these.
>
> You have to write your own accompanying Makefile.am, which could look
> something like:
>
> ## Makefile.am
> ## Process this with automake to produce Makefile.in
>
> bin_PROGRAMS = hello
>
> hello_SOURCES = \
> hello.C
>
> In addition to this, edit line 15,16 of configure.in -- it needs
> the name and version of your package here.
>
> Greetings,
>
> Bram
>
> --
> ------------------------------------------------------------------------------
> Bram Stolk, VR Specialist.
> SARA Academic Computing Services Amsterdam, PO Box 94613, 1090 GP AMSTERDAM
> email: bram++at++sara.nl Phone +31-20-5923059 Fax +31-20-6683167
>
> "I heard if you play the NT-4.0-CD backwards, you get a satanic message."
> "Thats nothing, if you play it forward, it installs NT-4.0"
> ------------------------------------------------------------------------------
>
> ------------------------------------------------------------------------
> Name: configure.in
> configure.in Type: Plain Text (text/plain)
> Encoding: 7bit
This archive was generated by hypermail 2b29 : Wed Aug 30 2000 - 06:12:13 PDT