glib-config replacement

Instead of the current glib-config:

echo glib-config-2.0 is no longer supported. Please use pkg-config instead 
exit 0

I propose forwarding switches to pkg-config, while recognising --version, 
which will not return the correct number if sent to pkg-config:
for option
  case "$option" in
   -version | --version)
    echo "1.3.3" 2>&1
    exit 0 ;;
pkg-config glib-2.0 $@
exit 0

I'm not subscribed to this list, btw; I just fixed this problem and thought 
somebody might be interested in using it.

#include <stdio.h>
char quote[] = "[05:09:14] <Xenix-guy> I can't get kde to run on Microsoft 
xenix 2.0";
void not_quite_random(char *rq){printf("Not-quite-random quote:\n%s\n", rq);}
int main(){not_quite_random(quote);}
// Triskelios - trisk quasarnet org

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