aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2001-10-23 07:54:16 +0000
committerDaniel Stenberg <daniel@haxx.se>2001-10-23 07:54:16 +0000
commit7349940bdbc802aefeb792cb36c4b6d9e7043413 (patch)
treedfe7187f6f7c87dabf3e3c1660b2ce6d868e4fcf
parent78000dbd5db927c768eac2edc808b58334405cc6 (diff)
added AC_PREREQ(2.50) to prevent autoconf mistakes
-rw-r--r--configure.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index dd80c394e..abc91383a 100644
--- a/configure.in
+++ b/configure.in
@@ -1,9 +1,16 @@
dnl $Id$
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_CONFIG_SRCDIR([lib/urldata.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`
AM_INIT_AUTOMAKE(curl,$VERSION)