PDA

View Full Version : State of the configure.ac file



rombust
05-02-2007, 12:51 PM
Is anybody familiar with the Linux build system for ClanLib?

I was trying to get ClanLib 0.9 svn to compile, and there were problems with freetype2, the library path was incorrect.

I thought that this would be simple to fix, by using the output from “pkg-config --cflags freetype2” for the ClanDisplay compiler flags.

The current build system seems broken. Or am i misunderstanding it?

configure.ac contains:
“clanDisplay_CFLAGS” - Which is not used anywhere
“extra_CFLAGS_clanDisplay” - Which is used in “pkgconfig/clanDisplay.pc.in”

Looking at “pkgconfig/clanDisplay.pc.in”
“Cflags: -I${includedir} @extra_CFLAGS_clanDisplay@” - “Cflags” is not used anywhere.

sphair
05-02-2007, 05:26 PM
I dont know anything about the buildsystem.. none of the core developers use Linux at the moment, so I'm not surprised the state of the buildsystem isn't very good..

Feel free to rip it apart :)

rombust
05-04-2007, 07:59 AM
I am having a look at it (For ClanLib 0.9)...

Looking at “pkgconfig/clanDisplay.pc.in”
“Cflags: -I${includedir} @extra_CFLAGS_clanDisplay@” - “Cflags” is used by pkg-config - that will teach me for not thinking "why is the directory name called pkgconfig" !!!

sttillmann
05-05-2007, 05:31 PM
Nice to see that someone is looking at the build system. :)

I've attached a log file with the output on my box.

rombust
05-09-2007, 01:11 PM
(See thread - "Patch for ClanLib 0.9 svn 368 (Linux compatibility)" for a "work in progress" patch)