diff options
author | Alessio Vanni <vannilla@firemail.cc> | 2021-07-23 18:20:33 +0200 |
---|---|---|
committer | Alessio Vanni <vannilla@firemail.cc> | 2021-07-24 22:28:04 +0200 |
commit | fd1bcccb9b6063d0501c81323eef81c0dd7a6340 (patch) | |
tree | cac2c551ef0cab8671546afa0190d02e13f2c895 /src/util/child_management_test.sh | |
parent | 31eae6bbe16302d2593b806ef3d2ac2ca9c2d8de (diff) | |
download | gnunet-fd1bcccb9b6063d0501c81323eef81c0dd7a6340.tar.gz gnunet-fd1bcccb9b6063d0501c81323eef81c0dd7a6340.zip |
5708: allow gnunet-config to output build config informations
With this commit, `gnunet-config' is now able to print some informations about
how GNUnet was built through some additional flags (here `--cflags', `--libs'
and `--prefix'.)
These flags allow `gnunet-config' to behave like other `*-config' tools
provided by other applications/libraries, which are used by third-party
applications, especially when the tool is provided by a library, to properly
compile using the flags recommended by the library/application.
In terms of GNUnet, any client or service connecting to any GNUnet service can
now be built using some variation of the following:
cc $(gnunet-config --cflags) -o my-client client.c $(gnunet-config --libs)
Diffstat (limited to 'src/util/child_management_test.sh')
0 files changed, 0 insertions, 0 deletions