Index: [thread] [date] [subject] [author]
  From: Marcus Sundberg <mackan@stacken.kth.se>
  To  : ggi-develop@eskimo.com
  Date: Tue, 23 Feb 1999 17:24:52 +0100

Re: patch for libggi configure problem

Peter Danielsson wrote:
> 
> Marcus Sundberg wrote:
> > > I tried to compile libggi but it would not pass the test
> > > for libgii in the configure script. After some looking
> > > I found that the problem was with the compiler and my
> > > non default install dir for libgii. This patch fixed
> > > the problem. I was using the --with-gii argument to
> > > configure but that was not enough.
> > >
> > > --- copy_configure.in   Tue Feb 23 03:57:05 1999
> > > +++ configure.in        Tue Feb 23 04:22:10 1999
> > > @@ -69,7 +69,7 @@
> > >  [  --with-gii=DIR          use the LibGII installed with prefix DIR],
> > >  CFLAGS="$CFLAGS -I$withval/include"
> > >  CPPFLAGS="$CPPFLAGS -I$withval/include"
> > > -LDFLAGS="$LDFLAGS -L$withval/lib")
> > > +LDFLAGS="$LDFLAGS -L$withval/lib -R$withval/lib")
> > >
> > >  AC_ARG_ENABLE(confdir,
> > >  [  --enable-confdir=NAME   specify the directory where to put libggi.conf
> >
> > That is not portable, and also breaks the purpose of the test -
> > to see if there is a working LibGII installed.
> 
> How do this work in a cross-compile situation?

You'll get a warning at the end saying that LibGII isn't correctly
installed, which you should be able to just ignore.

Actually I can't see how the -R flag can affect the LibGII test at
all, as the program is never run...

//Marcus
-- 
-------------------------------+------------------------------------
        Marcus Sundberg        | http://www.stacken.kth.se/~mackan
 Royal Institute of Technology |       Phone: +46 707 295404
       Stockholm, Sweden       |   E-Mail: mackan@stacken.kth.se

Index: [thread] [date] [subject] [author]