3 glib_libs="@glib_libs@"
4 glib_cflags="@glib_cflags@"
5 glib_thread_libs="@glib_thread_libs@"
6 glib_thread_cflags="@glib_thread_cflags@"
9 exec_prefix=@exec_prefix@
15 Usage: gtk-config [OPTIONS] [LIBRARIES]
29 if test $# -eq 0; then
35 while test $# -gt 0; do
37 -*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
44 if test $exec_prefix_set = no ; then
80 if test "$echo_prefix" = "yes"; then
84 if test "$echo_exec_prefix" = "yes"; then
88 if test "$lib_gthread" = "yes"; then
89 glib_cflags="$glib_thread_cflags"
90 glib_libs="$glib_thread_libs"
93 if test "$echo_cflags" = "yes"; then
94 if test @includedir@ != /usr/include ; then
95 includes=-I@includedir@
96 for i in $glib_cflags ; do
97 if test $i = -I@includedir@ ; then
102 echo -I@libdir@/gtk+/include $includes @x_cflags@ $glib_cflags
105 if test "$echo_libs" = "yes"; then
108 for i in $glib_libs ; do
109 if test $i != -L@libdir@ ; then
110 if test -z "$my_glib_libs" ; then
113 my_glib_libs="$my_glib_libs $i"
118 echo $libdirs @x_ldflags@ -lgtk -lgdk $my_glib_libs @INTLLIBS@ @x_libs@ @GDK_WLIBS@ -lm