1/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- 2 3 Copyright (C) 2006 William Jon McCann <mccann@jhu.edu> 4 5 The Gnome Library is free software; you can redistribute it and/or 6 modify it under the terms of the GNU Library General Public License as 7 published by the Free Software Foundation; either version 2 of the 8 License, or (at your option) any later version. 9 10 The Gnome Library is distributed in the hope that it will be useful, 11 but WITHOUT ANY WARRANTY; without even the implied warranty of 12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13 Library General Public License for more details. 14 15 You should have received a copy of the GNU Library General Public 16 License along with the Gnome Library; see the file COPYING.LIB. If not, 17 write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 18 Boston, MA 02110-1301 USA. 19 20 Authors: William Jon McCann <mccann@jhu.edu> 21 */ 22 23#ifndef __TOTEM_PL_PARSER_VERSION_H__ 24#define __TOTEM_PL_PARSER_VERSION_H__ 25 26/* compile time version 27 */ 28#define TOTEM_PL_PARSER_VERSION_MAJOR (@TOTEM_PL_PARSER_VERSION_MAJOR@) 29#define TOTEM_PL_PARSER_VERSION_MINOR (@TOTEM_PL_PARSER_VERSION_MINOR@) 30#define TOTEM_PL_PARSER_VERSION_MICRO (@TOTEM_PL_PARSER_VERSION_MICRO@) 31 32/* check whether a version equal to or greater than 33 * major.minor.micro is present. 34 */ 35#define TOTEM_PL_PARSER_CHECK_VERSION(major,minor,micro) \ 36 (TOTEM_PL_PARSER_VERSION_MAJOR > (major) || \ 37 (TOTEM_PL_PARSER_VERSION_MAJOR == (major) && TOTEM_PL_PARSER_VERSION_MINOR > (minor)) || \ 38 (TOTEM_PL_PARSER_VERSION_MAJOR == (major) && TOTEM_PL_PARSER_VERSION_MINOR == (minor) && \ 39 TOTEM_PL_PARSER_VERSION_MICRO >= (micro))) 40 41 42#endif /* __TOTEM_PL_PARSER_VERSION_H__ */ 43 44