Standard location for header files?

Hi there…

I was just trying to hack up some autoconf/automake support for my
descent port, and I ran into the slight problem that there is no
standard location to find the header files for the SDL. Could someone
help me on how to find them, and/or could the SDL be changed so they are
installed to a standard place?

Thanks,
Peter

If you’re hacking up an auto(conf)make script, you’ll want to check the
two “standard” locations for include files at least (/usr/include and
/usr/local/include). I know that every time I compile and install
something, it goes into /usr/local (/usr/local/include for headers, and
/usr/local/lib for libraries).

Beyond that, you might need a switch to the configure script
(–SDL-header-path= or something similar). I don’t know that I like
the idea of a “standard place” for includes and libraries, especially
considering that paths are different on different operating systems.On 1 Sep, Peter Hawkins wrote:

I was just trying to hack up some autoconf/automake support for my
descent port, and I ran into the slight problem that there is no
standard location to find the header files for the SDL. Could someone
help me on how to find them, and/or could the SDL be changed so they are
installed to a standard place?


| |/ | | | _ | | | mailto:@Knight_Walker |
| / | / / | | http://www.aros.net/~kwalker |
| \ | ___ | | |
| |\ | | / \ | | The Kobran Imperium (801)265-1299 |
|| || || || _____________________________________/

Mabey also …/SDL/include and …/SDL/lib…

grt,

  • JasperOn Tue, 1 Sep 1998 kwalker at aros.net wrote:

On 1 Sep, Peter Hawkins wrote:
If you’re hacking up an auto(conf)make script, you’ll want to check the
two “standard” locations for include files at least (/usr/include and
/usr/local/include). I know that every time I compile and install
something, it goes into /usr/local (/usr/local/include for headers, and
/usr/local/lib for libraries).
±----
| Beheer Commisaris | Homepage: http://www.il.fontys.nl/~jasper
| IGV Interlink | PGP-key: finger @Jasper_Berlijn |
| E-mail: @Jasper_Berlijn |
----+

I was just trying to hack up some autoconf/automake support for my
descent port, and I ran into the slight problem that there is no
standard location to find the header files for the SDL. Could someone
help me on how to find them, and/or could the SDL be changed so they are
installed to a standard place?

I haven’t set a “standard” place for them, but I would look in:

/usr/include - /usr/lib
/usr/local/include - /usr/local/lib
/usr/local/include/SDL - /usr/local/lib
../SDL/include ../SDL/lib

BTW, if you want to help me learn autoconf, I’d greatly appreciate it.
I don’t know anything about it, but I think it’s time to learn. :slight_smile:

See ya!
-Sam Lantinga (slouken at devolution.com)–
Author of Simple DirectMedia Layer -
http://www.devolution.com/~slouken/SDL/