mirror of
https://github.com/curl/curl.git
synced 2026-04-15 00:01:41 +03:00
configure now finds the correct version number even if invoked from outside
the source-tree
This commit is contained in:
parent
24dee483e9
commit
784f57f9eb
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue