4 exec_prefix=@exec_prefix@
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
59 if test "@includedir@" != /usr/include ; then
60 includes="-I@includedir@"
83 if test "$echo_prefix" = "yes"; then
86 if test "$echo_exec_prefix" = "yes"; then
89 if test "$echo_cflags" = "yes"; then
91 if test "$lib_gthread" = "yes"; then
92 cflags="$cflags @G_THREAD_CFLAGS@"
94 echo -I@libdir@/glib/include $includes $cflags
96 if test "$echo_libs" = "yes"; then
99 if test "$lib_glib" = "yes"; then
100 libsp="$libsp -lglib"
102 if test "$lib_gthread" = "yes"; then
103 libsp="-lgthread $libsp"
104 libsa="$libsa @G_THREAD_LIBS@"
106 if test "$lib_gmodule" = "yes"; then
107 libsp="@G_MODULE_LDFLAGS@ -lgmodule $libsp"
108 libsa="$libsa @G_MODULE_LIBS@"
110 echo -L@libdir@ $libsp $libsa