From: Daniel Stenberg Date: Thu, 4 Jan 2001 10:28:47 +0000 (+0000) Subject: configure now finds the correct version number even if invoked from outside X-Git-Tag: curl-7_5_2~12 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=784f57f9eb6f7cc364a4e012efdb7eab87a5b8e4;p=thirdparty%2Fcurl.git configure now finds the correct version number even if invoked from outside the source-tree --- diff --git a/configure.in b/configure.in index 5fab264b26..010737b5e7 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