/* Test ATK_CHECK_VERSION */

#include <gtk/gtk.h>

int
main (int argc, char **argv)
{
  gint major;
  gint minor;
  gint micro;

  gtk_init (&argc, &argv);

  g_print ("atk version at compile time: %i.%i.%i\n",
           ATK_MAJOR_VERSION, ATK_MINOR_VERSION, ATK_MICRO_VERSION);

  g_print ("atk version at build time: %i.%i.%i\n",
           atk_major_version, atk_minor_version, atk_micro_version);

  for (major = 1; major < 4; major++)
    for (minor = 0; minor < 10; minor++)
      for (micro = 0; micro < 10; micro++)
        if (ATK_CHECK_VERSION (major, minor, micro))
          g_print ("YES atk %i.%i.%i!!\n", major, minor, micro);
        else
          g_print ("NO atk %i.%i.%i!!\n", major, minor, micro);

  return 0;
}
