aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 42c09c6eb..7f051d637 100644
--- a/configure.ac
+++ b/configure.ac
@@ -95,6 +95,11 @@ AC_SUBST([AR])
AC_SUBST(libext)
+dnl Remove non-configure distributed curlbuild.h
+if test -f ${srcdir}/include/curl/curlbuild.h; then
+ rm -f ${srcdir}/include/curl/curlbuild.h
+fi
+
dnl figure out the libcurl version
VERSION=`$SED -ne 's/^#define LIBCURL_VERSION "\(.*\)"/\1/p' ${srcdir}/include/curl/curlver.h`
AM_INIT_AUTOMAKE(curl,$VERSION)