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
98 if test "$lib_glib" = "yes"; then
101 if test "$lib_gmodule" = "yes"; then
102 libs="@G_MODULE_LDFLAGS@ -lgmodule $libs @G_MODULE_LIBS@"
104 if test "$lib_gthread" = "yes"; then
105 libs="-lgthread $libs @G_THREAD_LIBS@"
107 echo -L@libdir@ $libs