Skip to content
Snippets Groups Projects
Commit 784f57f9 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

configure now finds the correct version number even if invoked from outside

the source-tree
parent 24dee483
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment