1 /* gEDA - GPL Electronic Design Automation
2 * gsymcheck - gEDA Symbol Check
3 * Copyright (C) 1998-2010 Ales Hvezda
4 * Copyright (C) 1998-2020 gEDA Contributors (see ChangeLog for details)
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
38 #include <libgeda/libgeda.h>
40 #include "../include/struct.h"
41 #include "../include/globals.h"
42 #include "../include/i_vars.h"
43 #include "../include/prototype.h"
44 #include "../include/gettext.h"
46 SCM
g_rc_gsymcheck_version(SCM scm_version
)
51 SCM_ASSERT (scm_is_string (scm_version
), scm_version
,
52 SCM_ARG1
, "gsymcheck-version");
54 version
= scm_to_utf8_string (scm_version
);
55 if (g_ascii_strcasecmp (version
, PACKAGE_DATE_VERSION
) != 0) {
57 "You are running gEDA/gaf version [%s%s.%s],\n"
58 "but you have a version [%s] gsymcheckrc file:\n[%s]\n"
59 "Please be sure that you have the latest rc file.\n"),
60 PREPEND_VERSION_STRING
, PACKAGE_DOTTED_VERSION
, PACKAGE_DATE_VERSION
,
61 version
, rc_filename
);
69 /*************************** GUILE end done *********************************/