1
1
Форкнуть 0
libssh2/example
yann-morin-1998 fc5d77881e
buildsystem: drop custom buildconf script, rely on autoreconf (#224)
Notes:
The buildconf script is currently required, because we need to copy a
header around, because it is used both from the library and the examples
sources.

However, having a custom 'buildconf'-like script is not needed if we can
ensure that the header exists by the time it is needed. For that, we can
just append the src/ directory to the headers search path for the
examples.

And then it means we no longer need to generate the same header twice,
so we remove the second one from configure.ac.

Now, we can just call "autoreconf -fi" to generate the autotools files,
instead of relying on the canned sequence in "buildconf", since
autoreconf has now long known what to do at the correct moment (future
versions of autotools, automake, autopoint, autoheader etc... may
require an other ordering, or other intermediate steps, etc...).

Eventually, get rid of buildconf now it is no longer needed. In fact, we
really keep it for legacy, but have it just call autoreconf (and print a
nice user-friendly warning). Don't include it in the release tarballs,
though.

Update doc, gitignore, and travis-CI jobs accordingly.

Credit:
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Sam Voss <sam.voss@rockwellcollins.com>
2020-07-01 11:44:08 -07:00
..
.gitignore buildsystem: drop custom buildconf script, rely on autoreconf (#224) 2020-07-01 11:44:08 -07:00
CMakeLists.txt Add agent forwarding implementation (#219) 2019-08-12 14:23:19 -07:00
Makefile.am buildsystem: drop custom buildconf script, rely on autoreconf (#224) 2020-07-01 11:44:08 -07:00
direct_tcpip.c style: make includes and examples code style strict 2019-03-21 13:04:07 +01:00
libssh2_config_cmake.h.in Prevent collisions between CMake and Autotools in examples/ and tests/. 2015-03-13 07:47:41 +00:00
scp.c style: make includes and examples code style strict 2019-03-21 13:04:07 +01:00
scp_nonblock.c style: make includes and examples code style strict 2019-03-21 13:04:07 +01:00
scp_write.c style: make includes and examples code style strict 2019-03-21 13:04:07 +01:00
scp_write_nonblock.c style: make includes and examples code style strict 2019-03-21 13:04:07 +01:00
sftp.c style: make includes and examples code style strict 2019-03-21 13:04:07 +01:00
sftp_RW_nonblock.c style: make includes and examples code style strict 2019-03-21 13:04:07 +01:00
sftp_append.c style: make includes and examples code style strict 2019-03-21 13:04:07 +01:00
sftp_mkdir.c style: make includes and examples code style strict 2019-03-21 13:04:07 +01:00
sftp_mkdir_nonblock.c style: make includes and examples code style strict 2019-03-21 13:04:07 +01:00
sftp_nonblock.c style: make includes and examples code style strict 2019-03-21 13:04:07 +01:00
sftp_write.c style: make includes and examples code style strict 2019-03-21 13:04:07 +01:00
sftp_write_nonblock.c style: make includes and examples code style strict 2019-03-21 13:04:07 +01:00
sftp_write_sliding.c style: make includes and examples code style strict 2019-03-21 13:04:07 +01:00
sftpdir.c style: make includes and examples code style strict 2019-03-21 13:04:07 +01:00
sftpdir_nonblock.c style: make includes and examples code style strict 2019-03-21 13:04:07 +01:00
ssh2.c style: make includes and examples code style strict 2019-03-21 13:04:07 +01:00
ssh2_agent.c style: make includes and examples code style strict 2019-03-21 13:04:07 +01:00
ssh2_agent_forwarding.c Add agent forwarding implementation (#219) 2019-08-12 14:23:19 -07:00
ssh2_echo.c style: make includes and examples code style strict 2019-03-21 13:04:07 +01:00
ssh2_exec.c style: make includes and examples code style strict 2019-03-21 13:04:07 +01:00
subsystem_netconf.c style: make includes and examples code style strict 2019-03-21 13:04:07 +01:00
tcpip-forward.c style: make includes and examples code style strict 2019-03-21 13:04:07 +01:00
x11.c style: make includes and examples code style strict 2019-03-21 13:04:07 +01:00