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"
104 if test "$lib_gobject" = "yes"; then
105 libsp="-lgobject-1.3 $libsp"
107 if test "$lib_gthread" = "yes"; then
108 libsp="-lgthread-1.3 $libsp"
109 libsa="$libsa @G_THREAD_LIBS@"
111 if test "$lib_gmodule" = "yes"; then
112 libsp="@G_MODULE_LDFLAGS@ -lgmodule-1.3 $libsp"
113 libsa="$libsa @G_MODULE_LIBS@"
115 echo -L@libdir@ $libsp $libsa