4 exec_prefix=@exec_prefix@
10 Usage: glib-config-2.0 [OPTIONS] [LIBRARIES]
27 if test $# -eq 0; then
33 while test $# -gt 0; do
35 -*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
42 if test $exec_prefix_set = no ; then
61 includes="-I@includedir@/glib-2.0"
89 if test "$echo_prefix" = "yes"; then
92 if test "$echo_exec_prefix" = "yes"; then
95 if test "$echo_cflags" = "yes"; then
97 if test "$lib_gthread" = "yes"; then
98 cflags="$cflags @G_THREAD_CFLAGS@"
100 echo -I@libdir@/glib-2.0/include $includes $cflags
102 if test "$echo_libs" = "yes"; then
105 if test "$lib_glib" = "yes"; then
106 libsp="$libsp -lglib-1.3"
107 libsa="$libsa @ICONV_LIBS@ @INTLLIBS@"
109 if test "$lib_gobject" = "yes"; then
110 libsp="-lgobject-1.3 $libsp"
112 if test "$lib_gthread" = "yes"; then
113 libsp="-lgthread-1.3 $libsp"
114 libsa="$libsa @G_THREAD_LIBS@"
116 if test "$lib_gmodule" = "yes"; then
117 libsp="@G_MODULE_LDFLAGS@ -lgmodule-1.3 $libsp"
118 libsa="$libsa @G_MODULE_LIBS@"
120 echo -L@libdir@ $libsp $libsa