diff options
author | Victor Westerhuis <victor@westerhu.is> | 2021-12-03 14:25:18 +0100 |
---|---|---|
committer | Victor Westerhuis <victor@westerhu.is> | 2021-12-04 01:08:23 +0100 |
commit | c411d029734122fb6de8be8326ba803438c775e0 (patch) | |
tree | ccfe4e7e7da4069e1477312782bf2b382f0eff70 /configure.ac | |
parent | 29879d74ae4ec35e452d9fd34d8718378f19a821 (diff) | |
download | colm-c411d029734122fb6de8be8326ba803438c775e0.tar.gz |
Move src/include/colm generation to config.status
The list of linked headers comes from RUNTIME_HDR in src/Makefile.am.
Also don't delete it in clean, but do delete it in distclean, like any
file configured by config.status.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 23 |
1 files changed, 20 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac index ebf2d2bb..230805b4 100644 --- a/configure.ac +++ b/configure.ac @@ -416,9 +416,6 @@ AC_CHECK_FUNC(fopencookie, [] ) -mkdir -p src/include -test -e src/include/colm || ln -s .. src/include/colm - dnl dnl Wrap up. @@ -426,6 +423,26 @@ dnl AC_SUBST(SED_SUBST) AC_CONFIG_HEADERS([src/config.h src/defs.h src/version.h]) +m4_foreach_w([header], + [ + 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 + colmex.h + ], + [AC_CONFIG_LINKS(src/include/colm/header:src/header)] +) AC_OUTPUT([ Makefile src/aapl/Makefile |