Re: how do I map pkg-config functionality to glib-config-2.0?



On Tue, Apr 10, 2001 at 12:59:39PM -0500, Skip Montanaro wrote:
> Glib 1.3.3 contains an alert version of glib-config-2.0:
> 
>     #!/bin/sh
> 
>     echo glib-config-2.0 is no longer supported. Please use pkg-config instead 2>&1
>     exit 1
> 
> Unfortunately, any tools that use glib-config-2.0 in the configure process
> (fribidi, for example) won't build.  Not having built much stuff that uses
> glib before, I have no idea what glib-config-2.0 output would have looked
> like before it was terminated.  Can someone suggest a working replacement
> for glib-config-2.0 that calls pkg-config under the covers?

cat > /usr/local/bin/glib-config-2.0 << EOF
#!/bin/sh
pkg-config $* glib-2.0
EOF

a working replacement :)





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