]> git.draconx.ca Git - gob-dx.git/commit
Allow building against Glib 1.x.
authorNick Bowler <nbowler@draconx.ca>
Fri, 25 Feb 2022 03:35:50 +0000 (22:35 -0500)
committerNick Bowler <nbowler@draconx.ca>
Fri, 25 Feb 2022 04:41:26 +0000 (23:41 -0500)
commit7f1f40bee65a4a3d3947ad8c50b535ea0754f629
tree0a8be6a52e5e3221269f34119e2c70cec23c5344
parent4ebed70c2119e843ce48ae4fa6076475d2100693
Allow building against Glib 1.x.

In reality, we barely depend on any glib-2 features in the tool
itself (of course, the output does require it).

Other than very minor additions and pointlessly renamed functions,
the only real new feature is the locale-independent g_ascii_xxx
case conversions.  As we already have an abstraction of these in
place it is very easy to just substitute a gnulib-based replacement
when configure determines they are unavailable.

At the moment, configure does not know how to automatically find
glib-1.x, so manually setting LIBGLIB_CFLAGS and LIBGLIB_LIBS is
required to build against it.  This is probably fine.
Makefile.am
configure.ac
m4/.gitignore
m4/gnulib-cache.m4
src/gob-strcase.c [new file with mode: 0644]
src/main.c
src/util.c
src/util.h