www.libssh2.org | Daily snapshots | Mailing list archive | Docs | Examples

Archive Index This month's Index

Subject: examples depending on configure output

examples depending on configure output

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 13 Jan 2010 13:36:36 +0100 (CET)

Hi

The example direct_tcpip.c clearly cannot be compiled properly without
inclusion of a config.h or similar that is generated by configure so that the
HAVE_ defines exist properly.

But should we really "pollute" the examples by using something like that? It
will make them more complicated... But OTOH, a more complex example such as
that won't really be possible to do portable without using something
configure-like.

Any thoughts?

-- 
  / daniel.haxx.se
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2010-01-13

the libssh2 team