summaryrefslogtreecommitdiffabout
path: root/src/Make-shared.am
authorSergey Poznyakoff <gray@gnu.org.ua>2011-05-05 11:09:48 (GMT)
committer Sergey Poznyakoff <gray@gnu.org.ua>2011-05-05 11:39:29 (GMT)
commit6c3f6c1b02dd5f9ac343c713bdae4aa83bafc328 (patch) (side-by-side diff)
tree49bc8df1cff7157c711c63447c3e272ebc67cd4c /src/Make-shared.am
parenta60eb4b18345626a84e23784d77ca231812e1dff (diff)
downloadgrecs-6c3f6c1b02dd5f9ac343c713bdae4aa83bafc328.tar.gz
grecs-6c3f6c1b02dd5f9ac343c713bdae4aa83bafc328.tar.bz2
Improve node formatting. Add version comparasion functions.
* am/grecs.m4 (GRECS_SETUP): New option: shared. * doc/GRECS_SETUP.3: Document new options. * doc/grecs_format_locus.3: Update. * doc/grecs_format_node.3: Document new flags. * src/.gitignore: Update. * src/version.c: New file. * src/Make.am (GRECS_SRC): Add version.c (EXTRA_DIST): Update. * src/diag.c (default_print_diag): Flush stdout as per the docs. * src/format.c (grecs_format_locus): Don't print trailing semicolon. (grecs_format_value): Handle GRECS_NODE_FLAG_NOQUOTE flag. (grecs_format_node): Print delimiters when needed. * src/grecs.h (grecs_version_info): New struct. (grecs_version, grecs_version_cmp): New protos. (GRECS_NODE_FLAG_NOQUOTE): New flag. * tests/gcfver.c: New file. * tests/vercmp.at: New file. * tests/.gitignore: Update. * tests/Makefile.am: Define GRECS_VERCMP_AT in package.m4 (TESTSUITE_AT): Add vercmp.at (conditionally). (noinst_PROGRAMS): Add gcfver. * tests/testsuite.at: Conditionally include vercmp.at.
Diffstat (limited to 'src/Make-shared.am') (more/less context) (ignore whitespace changes)
-rw-r--r--src/Make-shared.am18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/Make-shared.am b/src/Make-shared.am
new file mode 100644
index 0000000..bbf25d4
--- a/dev/null
+++ b/src/Make-shared.am
@@ -0,0 +1,18 @@
+# This file is part of grecs - Gray's Extensible Configuration System
+# Copyright (C) 2007, 2009-2011 Sergey Poznyakoff
+#
+# Grecs is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 3, or (at your option)
+# any later version.
+#
+# Grecs is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with Grecs. If not, see <http://www.gnu.org/licenses/>.
+include Make.am
+noinst_LT_LIBRARIES=libgrecs.la
+libgrecs_la_SOURCES = $(GRECS_SRC)

Return to:

Send suggestions and report system problems to the System administrator.