aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2001-01-04 10:28:47 +0000
committerDaniel Stenberg <daniel@haxx.se>2001-01-04 10:28:47 +0000
commit784f57f9eb6f7cc364a4e012efdb7eab87a5b8e4 (patch)
tree88e6229add24785f04205d22b68e010ae11809c3
parent24dee483e9e925c2ab79dd582f70c9a55ab9ba4d (diff)
configure now finds the correct version number even if invoked from outside
the source-tree
-rw-r--r--configure.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index 5fab264b2..010737b5e 100644
--- a/configure.in
+++ b/configure.in
@@ -3,7 +3,7 @@ dnl Process this file with autoconf to produce a configure script.
AC_INIT(lib/urldata.h)
AM_CONFIG_HEADER(config.h src/config.h)
-VERSION=`sed -ne 's/^#define LIBCURL_VERSION "\(.*\)"/\1/p' include/curl/curl.h`
+VERSION=`sed -ne 's/^#define LIBCURL_VERSION "\(.*\)"/\1/p' ${srcdir}/include/curl/curl.h`
AM_INIT_AUTOMAKE(curl,$VERSION)
AM_PROG_LIBTOOL