left worktable.c out of Makefile.am

use proper glib version in extras/
This commit is contained in:
brianb
2004-01-10 13:25:31 +00:00
parent 278cf8ef42
commit dd534f39dc
3 changed files with 6 additions and 4 deletions

View File

@@ -1,5 +1,5 @@
bin_PROGRAMS = mdb-dump bin_PROGRAMS = mdb-dump
mdb_dump_SOURCES = mdb-dump.c mdbsupport.c mdb_dump_SOURCES = mdb-dump.c mdbsupport.c
INCLUDES = -I$(top_srcdir)/include `glib-config --cflags` INCLUDES = -I$(top_srcdir)/include $(GLIB_CFLAGS)
LDADD = ../libmdb/libmdb.la LDADD = ../libmdb/libmdb.la
LIBS = `glib-config --libs` LIBS = $(GLIB_LIBS)

View File

@@ -1,4 +1,4 @@
lib_LTLIBRARIES = libmdb.la lib_LTLIBRARIES = libmdb.la
libmdb_la_SOURCES= catalog.c mem.c file.c kkd.c table.c data.c dump.c backend.c money.c sargs.c index.c like.c write.c stats.c map.c props.c libmdb_la_SOURCES= catalog.c mem.c file.c kkd.c table.c data.c dump.c backend.c money.c sargs.c index.c like.c write.c stats.c map.c props.c worktable.c
INCLUDES = -I$(top_srcdir)/include $(GLIB_CFLAGS) INCLUDES = -I$(top_srcdir)/include $(GLIB_CFLAGS)
LIBS = $(GLIB_LIBS) -lm LIBS = $(GLIB_LIBS) -lm

View File

@@ -123,8 +123,10 @@ int bit_num = (col_num - 1) % 8;
} }
/* bool has to be handled specially because it uses the null bit to store its /* bool has to be handled specially because it uses the null bit to store its
** value*/ ** value*/
static int mdb_xfer_bound_bool(MdbHandle *mdb, MdbColumn *col, int value) static int
mdb_xfer_bound_bool(MdbHandle *mdb, MdbColumn *col, int value)
{ {
col->cur_value_len = value; col->cur_value_len = value;
if (col->bind_ptr) { if (col->bind_ptr) {
strcpy(col->bind_ptr, value ? "0" : "1"); strcpy(col->bind_ptr, value ? "0" : "1");