Add --with-host-libstdcxx configure switch.
[cloog-ppl.git] / source / version.c
blob507b01988fb848b6bb59d18f78bc7831ef92eab7
1 /******************************************************************************
2 * CLooG : the Chunky Loop Generator (experimental) *
3 ******************************************************************************
4 * *
5 * Copyright (C) 2001-2008 Cedric Bastoul *
6 * *
7 * This is free software; you can redistribute it and/or modify it under the *
8 * terms of the GNU General Public License as published by the Free Software *
9 * Foundation; either version 2 of the License, or (at your option) any later *
10 * version. *
11 * *
12 * This software is distributed in the hope that it will be useful, but *
13 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY *
14 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License *
15 * for more details. *
16 * *
17 * You should have received a copy of the GNU General Public License along *
18 * with software; if not, write to the Free Software Foundation, Inc., *
19 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
20 * *
21 * CLooG, the Chunky Loop Generator *
22 * Written by Cedric Bastoul, Cedric.Bastoul@inria.fr *
23 * *
24 ******************************************************************************/
26 #include "../include/cloog/version.h"
28 int cloog_version_major (void)
30 return CLOOG_VERSION_MAJOR;
33 int cloog_version_minor (void)
35 return CLOOG_VERSION_MINOR;
38 int cloog_version_revision (void)
40 return CLOOG_VERSION_REVISION;
43 int cloog_version_beta (void)
45 return CLOOG_VERSION_BETA;
48 const char *cloog_version(void)
50 return "CLooG "CLOOG_VERSION" "CLOOG_BITS" bits";