New --disable-glib configure option

This option uses the fake GLib shim even when GLib is present on the
system.
This commit is contained in:
Evan Miller
2020-08-05 20:36:20 -04:00
parent 12ba8a424a
commit 18de0070af
6 changed files with 20 additions and 9 deletions

View File

@@ -3,7 +3,7 @@ BUILT_SOURCES = parser.h
AM_YFLAGS = -d
lib_LTLIBRARIES = libmdbsql.la
libmdbsql_la_SOURCES= mdbsql.c parser.y lexer.l
if !HAVE_GLIB
if FAKE_GLIB
libmdbsql_la_SOURCES += ../libmdb/fakeglib.c
endif
libmdbsql_la_LDFLAGS = -version-info 2:0:0 -export-symbols-regex '^mdb_sql_'