diff options
author | Nathan Sidwell <nathan@acm.org> | 2020-12-14 08:10:27 -0800 |
---|---|---|
committer | Nathan Sidwell <nathan@acm.org> | 2020-12-15 07:09:59 -0800 |
commit | 362303298ac4c1f93bda87535df2b726481d54bb (patch) | |
tree | b728e42aa7e93c1fd673e75ee0071b86b8ae9c6c /libcody/configure.ac | |
parent | c5271279d6e86df0d0203c11fc4c3e3c99a14bb7 (diff) |
Add libcody
In order to separate compiler from build system, C++ Modules, as
implemented in GCC introduces a communication channel between those
two entities. This is implemented by libcody. It is anticipated that
other implementations will also implement this protocol, or use
libcody to provide it.
* Makefile.def: Add libcody.
* configure.ac: Add libcody.
* Makefile.in: Regenerated.
* configure: Regenerated.
gcc/
* Makefile.in (CODYINC, CODYLIB, CODYLIB_H): New. Use them.
libcody/
* configure.ac: New.
* CMakeLists.txt: New.
* CODING.md: New.
* CONTRIB.md: New.
* LICENSE: New.
* LICENSE.gcc: New.
* Makefile.in: New.
* Makesub.in: New.
* README.md: New.
* buffer.cc: New.
* build-aux/config.guess: New.
* build-aux/config.sub: New.
* build-aux/install-sh: New.
* client.cc: New.
* cmake/libcody-config-ix.cmake
* cody.hh: New.
* config.h.in: New.
* config.m4: New.
* configure: New.
* configure.ac: New.
* dox.cfg.in: New.
* fatal.cc: New.
* gdbinit.in: New.
* internal.hh: New.
* netclient.cc: New.
* netserver.cc: New.
* packet.cc: New.
* resolver.cc: New.
* server.cc: New.
* tests/01-serialize/connect.cc: New.
* tests/01-serialize/decoder.cc: New.
* tests/01-serialize/encoder.cc: New.
* tests/02-comms/client-1.cc: New.
* tests/02-comms/pivot-1.cc: New.
* tests/02-comms/server-1.cc: New.
* tests/Makesub.in: New.
* tests/jouster: New.
Diffstat (limited to 'libcody/configure.ac')
-rw-r--r-- | libcody/configure.ac | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/libcody/configure.ac b/libcody/configure.ac new file mode 100644 index 00000000000..31f041e6679 --- /dev/null +++ b/libcody/configure.ac @@ -0,0 +1,37 @@ +# CODYlib -*- mode:autoconf -*- +# Copyright (C) 2020 Nathan Sidwell, nathan@acm.org +# License: Apache v2.0 + +AC_INIT([codylib],[0.0],[github.com/urnathan/libcody]) +AC_CONFIG_SRCDIR(cody.hh) +m4_include(config.m4) + +AC_CONFIG_AUX_DIR(build-aux) +AC_SUBST(PACKAGE_VERSION) + +NMS_NOT_IN_SOURCE +AC_CANONICAL_HOST + +NMS_TOOLS +NMS_NUM_CPUS +NMS_MAINTAINER_MODE +NMS_CXX_COMPILER +AC_LANG(C++) +AC_PROG_CXX +NMS_CXX_11 +NMS_TOOL_DIRS +NMS_LINK_OPT([-Wl,--no-undefined]) +NMS_CONFIG_FILES([gdbinit dox.cfg]) + +NMS_BUGURL +NMS_ENABLE_CHECKING +NMS_ENABLE_EXCEPTIONS + +AC_CONFIG_HEADERS([config.h]) +AC_CHECK_TOOL([AR],[ar]) +AC_CHECK_PROG([DOXYGEN],[doxygen],[doxygen],[: NOTdoxygen]) +AC_CHECK_PROG([ALOY],[aloy],[aloy],[: Joust testsuite missing]) +AH_VERBATIM([_GNU_SOURCE],[#define _GNU_SOURCE 1]) +AH_VERBATIM([_FORTIFY_SOURCE],[#undef _FORTIFY_SOURCE]) + +AC_OUTPUT |