]> Pileus Git - ~andy/gtk/blobdiff - gtk-config.in
Win32 changes, still doesn't build though.
[~andy/gtk] / gtk-config.in
index 399d77efe53b04abbb3f7873eeb62067a281b6f3..b186ea1e90b7f336b9b277e26d8c51957d60be6b 100644 (file)
@@ -5,6 +5,7 @@ glib_cflags="@glib_cflags@"
 glib_thread_libs="@glib_thread_libs@"
 glib_thread_cflags="@glib_thread_cflags@"
 
+target=@gdktarget@
 prefix=@prefix@
 exec_prefix=@exec_prefix@
 exec_prefix_set=no
@@ -16,6 +17,7 @@ Usage: gtk-config [OPTIONS] [LIBRARIES]
 Options:
        [--prefix[=DIR]]
        [--exec-prefix[=DIR]]
+       [--target=gdktarget]
        [--version]
        [--libs]
        [--cflags]
@@ -52,6 +54,9 @@ while test $# -gt 0; do
       exec_prefix=$optarg
       exec_prefix_set=yes
       ;;
+    --target=*)
+      target=$optarg
+      ;;
     --exec-prefix)
       echo_exec_prefix=yes
       ;;
@@ -99,7 +104,7 @@ if test "$echo_cflags" = "yes"; then
           fi
         done
       fi
-      echo -I@libdir@/gtk+/include $includes @x_cflags@ $glib_cflags
+      echo -I@libdir@/gtk+/include $includes $glib_cflags @PANGO_CFLAGS@ @more_cflags@ 
 fi
 
 if test "$echo_libs" = "yes"; then
@@ -115,6 +120,6 @@ if test "$echo_libs" = "yes"; then
         fi
       done
 
-      echo $libdirs @x_ldflags@ -lgtk -lgdk $my_glib_libs @INTLLIBS@ @x_libs@ @GDK_WLIBS@ @MATH_LIB@
+      echo $libdirs @more_ldflags@ -lgtk-$target -lgdk_pixbuf -lgdk-$target $my_glib_libs @INTLLIBS@ @PANGO_LIBS@ @more_libs@ @GDK_WLIBS@ @MATH_LIB@
 fi