n2n/scripts
Hamish Coleman 169d3a8cc7 Fix use with older autoconf
Some versions of autoconf (eg, the one included with Ubuntu 20.04 -
which is GNU Autoconf 2.69) will produce a configure script that
requires finding the install-sh script in either a short list of parent
directories or the defined AUX_DIR (This new requirement was probably
triggered by the use of the cross-compile features in configure.ac)

Newer versions flexibly identify which of the support scripts are
actually needed (from the list of config.guess, config.sub, install-sh)
and only check for those ones that are needed.

When the `./autogen.sh` runs `autoreconf -i`, it should have copied the
required aux scripts, but for some reason this is not happening.

Once we are not supporting the older autoconf, we should revisit this
config option as these auxiliary scripts should normally not be checked
into a version control system, for the same reasons that configure
shouldn’t be.  For now, we ensure that all three scripts are available
and we have set the AC_CONFIG_AUX_DIR() to point to them

If the older autoconf is used, it will report the error:

    configure: error: cannot find install-sh, install.sh, or shtool in "." "./.." "./../.."

Which is included here for search engines.
2023-06-25 17:56:09 +08:00
..
munin Add munin monitoring plugin (#892) 2021-11-05 11:14:47 +00:00
config.guess Fix use with older autoconf 2023-06-25 17:56:09 +08:00
config.sub Fix use with older autoconf 2023-06-25 17:56:09 +08:00
hack_fakeautoconf.sh Check if we have been configured before running most of Make 2023-06-25 17:56:09 +08:00
indent.sh Add more ways to get help from the indent.sh script 2022-02-05 20:06:31 +00:00
install-sh Fix use with older autoconf 2023-06-25 17:56:09 +08:00
n2n-ctl Address lint concerns 2023-06-24 23:31:20 +08:00
n2n-gateway.sh Rename scripts for better consistancy (#866) 2021-10-24 03:58:01 +05:45
n2n-httpd Break down print line 2023-05-08 16:43:28 +01:00
README.md Basic C Code lint checker and shell checker (#859) 2021-10-24 01:21:18 +05:45
test_harness.sh Attempt to simplify adding new tests 2022-02-05 20:06:31 +00:00
test_integration_edge.sh Address lint concerns 2023-06-24 23:31:20 +08:00
test_integration_supernode.sh Address lint concerns 2023-06-24 23:31:20 +08:00
version.sh Switch build date to use the last commit time 2023-05-08 16:46:01 +01:00

This directory contains executables that are not compiled. Some of these may end up installed for use by end users, but many of them are for use during development, builds and tests.

Nothing in this directory should need compiling to use and they should be written such that they do not need configuring (e.g: they might probe several directories for their requirements)

See the Scripts Documentation for further details