Update configure script to check for swig >= 3 (#1554)

This commit is contained in:
Jacqueline Deans
2023-08-28 13:55:17 -05:00
committed by GitHub
parent 06a1d2bf2e
commit cad2e324fb
5 changed files with 58 additions and 27 deletions

View File

@ -0,0 +1,30 @@
| [Home](/trick) → [Developer Docs](Developer-Docs-Home) → Configure |
|------------------------------------------------------------------|
# Updating the configure script
Trick uses `autoconf` to find and version check dependencies. The autoconf scripts live in the `autoconf/` directory, and the generated script that the user runs is `configure` in the Trick home directory.
## How to update the configure script
The configure script run by the user is generated by autoconf. To update it -
1. Make changes in the `autoconf/` directory, likely to `configure.ac` and macros in the `m4/` directory
1. From the `autoconf/` directory, run:
```
aclocal
autoconf -o ../configure
```
### Notes
If you get an error message that looks like
```
possibly undefined macro: AC_MSG_ERROR
```
Install the package `autoconf-archive`.

View File

@ -11,6 +11,7 @@ Link documentation for Trick internals, processes, and plans here.
- [Tooling and Sanitizers](Tooling-and-Sanitizers)
- [Python Environment](Python-Environment-Issues)
- [CI](CI)
- [Configure Script](Configure)
Old design documentation - may or may not be up to date