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 if test "@includedir@" != /usr/include ; then
61 includes="-I@includedir@"
87 if test "$echo_prefix" = "yes"; then
90 if test "$echo_exec_prefix" = "yes"; then
93 if test "$echo_cflags" = "yes"; then
95 if test "$lib_gthread" = "yes"; then
96 cflags="$cflags @G_THREAD_CFLAGS@"
98 echo -I@libdir@/glib/include $includes $cflags
100 if test "$echo_libs" = "yes"; then
103 if test "$lib_glib" = "yes"; then
104 libsp="$libsp -lglib"
106 if test "$lib_gobject" = "yes"; then
107 libsp="-lgobject $libsp"
109 if test "$lib_gthread" = "yes"; then
110 libsp="-lgthread $libsp"
111 libsa="$libsa @G_THREAD_LIBS@"
113 if test "$lib_gmodule" = "yes"; then
114 libsp="@G_MODULE_LDFLAGS@ -lgmodule $libsp"
115 libsa="$libsa @G_MODULE_LIBS@"
117 echo -L@libdir@ $libsp $libsa