Re: pkg-config idldir and Requires



on 11/2/01 10:43 AM, jacob berkman at jacob ximian com wrote:

> the other problem is that it is idldir and not idlflags, so you can't
> even chain them, but must do them separately:
>   
>   BONOBO_IDLDIR="`$PKG_CONFIG --variable=idldir libbonobo-2.0`"
>   AC_SUBST(BONOBO_IDLDIR)
>   
>   BONOBO_ACT_IDLDIR="`$PKG_CONFIG --variable=idldir
>   bonobo-activation-2.0`"
>   AC_SUBST(BONOBO_ACT_IDLDIR)

I just figured out what you meant by this. In nautilus, I am chaining them.
It didn't even occur to me to do them separately. I use a little sh/sed
script called add-include-prefix to stick in all the -I's. Look at
configure.in if you want to see what I did.

    -- Darin




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]