After remove a test for lua.h (which seems to fail on jessie), I was able to get configure to run.
thomas@circonus:~/libmtev$ git diff
diff --git a/configure.in b/configure.in
index 82f6788..856dd37 100755
--- a/configure.in
+++ b/configure.in
@@ -238,7 +238,7 @@ if test "x$ENABLE_LUA" != "xno"; then
AC_MSG_ERROR([*** liblua52 required ***])
fi
- AC_CHECK_HEADER(lua.h, [], [AC_MSG_ERROR([*** lua (headers) required ***])])
+# AC_CHECK_HEADER(lua.h, [], [AC_MSG_ERROR([*** lua (headers) required ***])])
AC_CHECK_HEADER(udns.h, [], [AC_MSG_ERROR([*** udns.h required ***])])
AC_CHECK_LIB(udns, dns_new, [], [AC_MSG_ERROR([*** libudns required ***])])
fi
I still expect an issue when it comes to handling lua (but hopefully it will be not too hard to hand edit the Makefile to fix the include and lib paths).
make[2]: Entering directory '/home/thomas/libmtev/src/utils'
mtev_memory.c: In function ‘ck_epoch_barrier_true’:
mtev_memory.c:60:20: warning: passing argument 1 of ‘ck_epoch_barrier’ from incompatible pointer type
ck_epoch_barrier(r);
^
In file included from mtev_memory.c:34:0:
/usr/include/ck_epoch.h:159:6: note: expected ‘struct ck_epoch_t *’ but argument is of type ‘struct ck_epoch_record_t *’
void ck_epoch_barrier(ck_epoch_t *, ck_epoch_record_t *);
^
mtev_memory.c:60:3: error: too few arguments to function ‘ck_epoch_barrier’
ck_epoch_barrier(r);
^
In file included from mtev_memory.c:34:0:
/usr/include/ck_epoch.h:159:6: note: declared here
void ck_epoch_barrier(ck_epoch_t *, ck_epoch_record_t *);
^
mtev_memory.c: In function ‘mtev_memory_barriers’:
mtev_memory.c:67:21: warning: assignment from incompatible pointer type
else do_cleanup = ck_epoch_poll;
^
mtev_memory.c: In function ‘mtev_memory_maintenance’:
mtev_memory.c:74:37: warning: assignment from incompatible pointer type
if(do_cleanup == NULL) do_cleanup = ck_epoch_poll;
^
mtev_memory.c: In function ‘mtev_memory_begin’:
mtev_memory.c:90:18: warning: passing argument 1 of ‘ck_epoch_begin’ from incompatible pointer type
ck_epoch_begin(epoch_rec, NULL);
^
In file included from mtev_memory.c:34:0:
/usr/include/ck_epoch.h:87:1: note: expected ‘struct ck_epoch_t *’ but argument is of type ‘struct ck_epoch_record_t *’
ck_epoch_begin(ck_epoch_t *epoch, ck_epoch_record_t *record)
^
mtev_memory.c: In function ‘mtev_memory_end’:
mtev_memory.c:93:16: warning: passing argument 1 of ‘ck_epoch_end’ from incompatible pointer type
ck_epoch_end(epoch_rec, NULL);
^
In file included from mtev_memory.c:34:0:
/usr/include/ck_epoch.h:123:1: note: expected ‘struct ck_epoch_t *’ but argument is of type ‘struct ck_epoch_record_t *’
ck_epoch_end(ck_epoch_t *global, ck_epoch_record_t *record)
^
mtev_memory.c: In function ‘mtev_memory_ck_free_func’:
mtev_memory.c:158:19: warning: passing argument 1 of ‘ck_epoch_call’ from incompatible pointer type
ck_epoch_call(epoch_rec, &e->epoch_entry, f);
^
In file included from mtev_memory.c:34:0:
/usr/include/ck_epoch.h:139:1: note: expected ‘struct ck_epoch_t *’ but argument is of type ‘struct ck_epoch_record_t *’
ck_epoch_call(ck_epoch_t *epoch,
^
mtev_memory.c:158:30: warning: passing argument 2 of ‘ck_epoch_call’ from incompatible pointer type
ck_epoch_call(epoch_rec, &e->epoch_entry, f);
^
In file included from mtev_memory.c:34:0:
/usr/include/ck_epoch.h:139:1: note: expected ‘struct ck_epoch_record_t *’ but argument is of type ‘struct ck_epoch_entry_t *’
ck_epoch_call(ck_epoch_t *epoch,
^
mtev_memory.c:158:47: warning: passing argument 3 of ‘ck_epoch_call’ from incompatible pointer type
ck_epoch_call(epoch_rec, &e->epoch_entry, f);
^
In file included from mtev_memory.c:34:0:
/usr/include/ck_epoch.h:139:1: note: expected ‘struct ck_epoch_entry_t *’ but argument is of type ‘void (*)(struct ck_epoch_entry_t *)’
ck_epoch_call(ck_epoch_t *epoch,
^
mtev_memory.c:158:5: error: too few arguments to function ‘ck_epoch_call’
ck_epoch_call(epoch_rec, &e->epoch_entry, f);
^
In file included from mtev_memory.c:34:0:
/usr/include/ck_epoch.h:139:1: note: declared here
ck_epoch_call(ck_epoch_t *epoch,
^
Makefile:36: recipe for target 'mtev_memory.lo' failed
$ dpkg -l | grep libck
ii libck-dev 0.3.5-1 amd64 Concurrency Kit - development files
ii libck0 0.3.5-1 amd64 Concurrency Kit - shared libraries
$ cat /etc/debian_version
8.3