diff options
author | Adrian Thurston <thurston@colm.net> | 2019-10-11 15:22:06 -0300 |
---|---|---|
committer | Adrian Thurston <thurston@colm.net> | 2019-10-11 15:24:12 -0300 |
commit | e41f52bfb2d0697afdc951c3b458419969813488 (patch) | |
tree | f1088565b2f722fc1e3a79f52c8e655b1ed5bb57 | |
parent | 82cbd672e2d8d6bfac861ea70995150478ec8cba (diff) | |
download | colm-e41f52bfb2d0697afdc951c3b458419969813488.tar.gz |
colm: need to have config.h so that --enable-debug works
-rw-r--r-- | colm/.gitignore | 1 | ||||
-rw-r--r-- | colm/Makefile.am | 5 | ||||
-rw-r--r-- | colm/debug.h | 1 |
3 files changed, 6 insertions, 1 deletions
diff --git a/colm/.gitignore b/colm/.gitignore index 1585be96..483e9397 100644 --- a/colm/.gitignore +++ b/colm/.gitignore @@ -5,6 +5,7 @@ /.*.d /colm /defs.h +/config.h /version.h /tags /.deps diff --git a/colm/Makefile.am b/colm/Makefile.am index 473614d0..e1e758fd 100644 --- a/colm/Makefile.am +++ b/colm/Makefile.am @@ -34,7 +34,7 @@ RUNTIME_SRC = \ print.c RUNTIME_HDR = \ - bytecode.h defs.h debug.h pool.h input.h \ + config.h bytecode.h defs.h debug.h pool.h input.h \ pdarun.h map.h type.h tree.h struct.h program.h colm.h internal.h lib_LTLIBRARIES = libcolm.la @@ -123,5 +123,8 @@ version.h: Makefile echo '#define VERSION "$(PACKAGE_VERSION)"' > version.h echo '#define PUBDATE "$(PUBDATE)"' >> version.h +config.h: ../src/config.h + cp ../src/config.h ./ + CLEANFILES = $(BUILT_SOURCES) EXTRA_DIST = colm.lm diff --git a/colm/debug.h b/colm/debug.h index 2a972f2f..1870f553 100644 --- a/colm/debug.h +++ b/colm/debug.h @@ -28,6 +28,7 @@ extern "C" { #endif #include "colm.h" +#include "config.h" void fatal( const char *fmt, ... ); |