]> Pileus Git - ~andy/gtk/blobdiff - gtk-config.in
Adapt cast macros to standard.
[~andy/gtk] / gtk-config.in
index f056c3a42360e677c20433ef9bd0f960f3d317ae..5fffdf6b94b6aa050a1e9fccedf6afd50e9b88c6 100644 (file)
@@ -56,7 +56,7 @@ while test $# -gt 0; do
       echo_exec_prefix=yes
       ;;
     --version)
-      echo @GTK_VERSION@
+      echo @GTK_MAJOR_VERSION@.@GTK_MINOR_VERSION@.@GTK_MICRO_VERSION@
       ;;
     --cflags)
       echo_cflags=yes
@@ -99,7 +99,7 @@ if test "$echo_cflags" = "yes"; then
           fi
         done
       fi
-      echo $includes @x_cflags@ $glib_cflags
+      echo -I@libdir@/gtk+/include $includes $glib_cflags @x_cflags@ 
 fi
 
 if test "$echo_libs" = "yes"; then
@@ -115,6 +115,6 @@ if test "$echo_libs" = "yes"; then
         fi
       done
 
-      echo $libdirs @x_ldflags@ -lgtk -lgdk $my_glib_libs @INTLLIBS@ @x_libs@ @GDK_WLIBS@ -lm
+      echo $libdirs @x_ldflags@ -lgtk -lgdk $my_glib_libs @INTLLIBS@ @x_libs@ @GDK_WLIBS@ @MATH_LIB@
 fi