From 7f27b0822d2b76162add35518e6504ce17637532 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 13 Jan 2010 22:21:09 +0100 Subject: [PATCH] cleanup includes We now produce a local libssh2_config.h file in this dir for the examples to use so I cleaned up the include path at the same time. --- example/Makefile.am | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/example/Makefile.am b/example/Makefile.am index 03a4e47..367e4ad 100644 --- a/example/Makefile.am +++ b/example/Makefile.am @@ -1,5 +1,7 @@ AUTOMAKE_OPTIONS = foreign nostdinc +EXTRA_DIST = libssh2_config.h.in + # samples noinst_PROGRAMS = direct_tcpip ssh2 \ scp scp_nonblock \ @@ -10,7 +12,5 @@ noinst_PROGRAMS = direct_tcpip ssh2 \ sftp_RW_nonblock \ sftpdir sftpdir_nonblock ssh2_exec ssh2_agent -# the examples need the $(top_builddir)/src since when building outside of the -# source dir they still need to reach the libssh2_config.h header -AM_CPPFLAGS = -I$(top_srcdir)/src -I$(top_srcdir)/include -I$(top_builddir)/src +AM_CPPFLAGS = -I$(top_srcdir)/include LDADD = $(top_builddir)/src/libssh2.la