diff options
author | Daniel Stenberg <daniel@haxx.se> | 2002-02-27 15:09:23 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2002-02-27 15:09:23 +0000 |
commit | 6753c3c71552ebab50390209211d26c9a3e02109 (patch) | |
tree | 9a7ac02b2bcc40df750b34c6c0da0dbac8ec7d42 | |
parent | 36e1363e3d85a85c61e838f8ae6168c95faba50f (diff) |
made building outside the source tree work again, Kevin Roth reported
-rw-r--r-- | lib/Makefile.am | 4 | ||||
-rw-r--r-- | src/Makefile.am | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/lib/Makefile.am b/lib/Makefile.am index c80e4a8e8..24e07d6c8 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -12,7 +12,9 @@ EXTRA_DIST = getdate.y \ lib_LTLIBRARIES = libcurl.la -INCLUDES = -I$(top_srcdir)/include +# we use srcdir/include for the static global include files +# we use builddir/lib for the generated lib/config.h file to get found +INCLUDES = -I$(top_srcdir)/include -I$(top_builddir)/lib libcurl_la_LDFLAGS = -no-undefined -version-info 2:2:0 # This flag accepts an argument of the form current[:revision[:age]]. So, diff --git a/src/Makefile.am b/src/Makefile.am index 4a2561799..5644e0d40 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -4,7 +4,9 @@ AUTOMAKE_OPTIONS = foreign nostdinc -INCLUDES = -I$(top_srcdir)/include +# we use srcdir/include for the static global include files +# we use builddir/src for the generated src/config.h file to get found +INCLUDES = -I$(top_srcdir)/include -I$(top_builddir)/src bin_PROGRAMS = curl #memtest |