pkgconfig 0.14

Tor Lillqvist <[email protected]>
Newsgroups gmane.comp.video.gimp.windows.devel
Message-ID <[email protected]>
Kevin Myers writes:
 > The install looked like it ought to be pretty simple, with only one
 > seemingly minor issue: pkg-config includes and is normally built
 > with glib 1.2.x on unix derivatives, but on windows you have to use
 > glib 2.0.x

 > I cd into the top level directory and run ./configure .  Everything
 > seems ok at that point.  Then I attempt to run make.  It quickly
 > blows up as it starts to build the included glib-1.2.8
 > subdirectory.

 > However, what I don't understand is why it ever started building
 > that subdirectory in the first place???

Hmm, the problem seems to be that the configure script tests for Win32
by checking $host before that shell variable has been set... The fix
for this is to move the AM_PROG_LIBTOOL and AC_PROG_CC calls in
configure.in before the AC_MSG_CHECKING([for Win32]) part, as those
calls generate the shell code that sets $host.

As a simple workaround, you can pass --host=i386-pc-mingw32 to the
configure script. This is what I do (just a habit, it shouldn't really
be necessary), which is why I haven't noticed this earlier, sorry.

--tml
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.