4 exec_prefix=@exec_prefix@
10 Usage: glib-config [OPTIONS] [LIBRARIES]
26 if test $# -eq 0; then
32 while test $# -gt 0; do
34 -*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
41 if test $exec_prefix_set = no ; then
60 includes="-I@includedir@/glib-2.0"
85 if test "$echo_prefix" = "yes"; then
88 if test "$echo_exec_prefix" = "yes"; then
91 if test "$echo_cflags" = "yes"; then
93 if test "$lib_gthread" = "yes"; then
94 cflags="$cflags @G_THREAD_CFLAGS@"
96 echo -I@libdir@/glib-2.0/include $includes $cflags
98 if test "$echo_libs" = "yes"; then
101 if test "$lib_glib" = "yes"; then
102 libsp="$libsp -lglib-1.3"
103 libsa="$libsa @ICONV_LIBS@"
105 if test "$lib_gobject" = "yes"; then
106 libsp="-lgobject-1.3 $libsp"
108 if test "$lib_gthread" = "yes"; then
109 libsp="-lgthread-1.3 $libsp"
110 libsa="$libsa @G_THREAD_LIBS@"
112 if test "$lib_gmodule" = "yes"; then
113 libsp="@G_MODULE_LDFLAGS@ -lgmodule-1.3 $libsp"
114 libsa="$libsa @G_MODULE_LIBS@"
116 echo -L@libdir@ $libsp $libsa