mirror of
https://github.com/moparisthebest/curl
synced 2025-03-11 07:39:50 -04:00
added AC_PREREQ(2.50) to prevent autoconf mistakes
This commit is contained in:
parent
78000dbd5d
commit
7349940bdb
@ -1,9 +1,16 @@
|
|||||||
dnl $Id$
|
dnl $Id$
|
||||||
dnl Process this file with autoconf to produce a configure script.
|
dnl Process this file with autoconf to produce a configure script.
|
||||||
|
|
||||||
|
dnl Ensure that this file is processed with autoconf 2.50 or newer
|
||||||
|
dnl Don't even think about removing this check!
|
||||||
|
AC_PREREQ(2.50)
|
||||||
|
|
||||||
|
dnl First some basic init macros
|
||||||
AC_INIT
|
AC_INIT
|
||||||
AC_CONFIG_SRCDIR([lib/urldata.h])
|
AC_CONFIG_SRCDIR([lib/urldata.h])
|
||||||
AM_CONFIG_HEADER(config.h src/config.h)
|
AM_CONFIG_HEADER(config.h src/config.h)
|
||||||
|
|
||||||
|
dnl figure out the libcurl version
|
||||||
VERSION=`sed -ne 's/^#define LIBCURL_VERSION "\(.*\)"/\1/p' ${srcdir}/include/curl/curl.h`
|
VERSION=`sed -ne 's/^#define LIBCURL_VERSION "\(.*\)"/\1/p' ${srcdir}/include/curl/curl.h`
|
||||||
AM_INIT_AUTOMAKE(curl,$VERSION)
|
AM_INIT_AUTOMAKE(curl,$VERSION)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user