mirror of
https://github.com/nasa/trick.git
synced 2025-06-13 04:38:25 +00:00
Update configure script to check for swig >= 3 (#1554)
This commit is contained in:
30
docs/developer_docs/Configure.md
Normal file
30
docs/developer_docs/Configure.md
Normal 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`.
|
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user