10 Usage: glib-config [OPTIONS] [LIBRARIES]
25 if test $# -eq 0; then
31 while test $# -gt 0; do
33 -*=*) optarg
=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
40 if test $exec_prefix_set = no
; then
80 if test "$echo_prefix" = "yes"; then
83 if test "$echo_exec_prefix" = "yes"; then
86 if test "$echo_cflags" = "yes"; then
88 if test "$lib_gthread" = "yes"; then
89 cflags
="$cflags -D_REENTRANT"
91 echo -I${prefix}/include
/glib-1.2
-I${exec_prefix}/lib
/glib
/include
$includes $cflags
93 if test "$echo_libs" = "yes"; then
96 if test "$lib_glib" = "yes"; then
99 if test "$lib_gthread" = "yes"; then
100 libsp
="-lgthread $libsp"
101 libsa
="$libsa -lpthread"
103 if test "$lib_gmodule" = "yes"; then
104 libsp
="-rdynamic -lgmodule $libsp"
107 echo -L${exec_prefix}/lib
$libsp $libsa