3 glib_libs="@glib_libs@"
4 glib_cflags="@glib_cflags@"
5 glib_thread_libs="@glib_thread_libs@"
6 glib_thread_cflags="@glib_thread_cflags@"
10 exec_prefix=@exec_prefix@
16 Usage: gtk-config [OPTIONS] [LIBRARIES]
31 if test $# -eq 0; then
37 while test $# -gt 0; do
39 -*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
46 if test $exec_prefix_set = no ; then
64 echo @GTK_MAJOR_VERSION@.@GTK_MINOR_VERSION@.@GTK_MICRO_VERSION@
85 if test "$echo_prefix" = "yes"; then
89 if test "$echo_exec_prefix" = "yes"; then
93 if test "$lib_gthread" = "yes"; then
94 glib_cflags="$glib_thread_cflags"
95 glib_libs="$glib_thread_libs"
98 if test "$echo_cflags" = "yes"; then
99 if test @includedir@ != /usr/include ; then
100 includes=-I@includedir@
101 for i in $glib_cflags ; do
102 if test $i = -I@includedir@ ; then
107 echo -I@libdir@/gtk+/include $includes $glib_cflags @PANGO_CFLAGS@ @more_cflags@
110 if test "$echo_libs" = "yes"; then
113 for i in $glib_libs ; do
114 if test $i != -L@libdir@ ; then
115 if test -z "$my_glib_libs" ; then
118 my_glib_libs="$my_glib_libs $i"
123 <<<<<<< gtk-config.in
124 echo $libdirs @x_ldflags@ -lgtk $my_glib_libs @INTLLIBS@ @x_libs@ @GDK_WLIBS@ @MATH_LIB@
126 echo $libdirs @more_ldflags@ -lgtk-$target -lgdk_pixbuf -lgdk-$target $my_glib_libs @INTLLIBS@ @PANGO_LIBS@ @more_libs@ @GDK_WLIBS@ @MATH_LIB@