From 003fd2f720f79404b62d49f6dfe7aa1257f03b08 Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Thu, 18 Mar 2010 13:28:32 +0000 Subject: [PATCH] 2868. [cleanup] Run "make clean" at the end of configure to ensure any changes made by configure are integrated. Use --with-make-clean=no to disable. [RT #20994] --- CHANGES | 4 ++++ configure.in | 14 +++++++++++++- 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/CHANGES b/CHANGES index 2dc02008e9..0a50cfc42e 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,7 @@ +2868. [cleanup] Run "make clean" at the end of configure to ensure + any changes made by configure are integrated. + Use --with-make-clean=no to disable. [RT #20994] + 2867. [bug] Don't set GSS_C_SEQUENCE_FLAG as Windows DNS servers don't like it. [RT #20986] diff --git a/configure.in b/configure.in index c36f43992d..42fe5a7128 100644 --- a/configure.in +++ b/configure.in @@ -18,7 +18,7 @@ AC_DIVERT_PUSH(1)dnl esyscmd([sed "s/^/# /" COPYRIGHT])dnl AC_DIVERT_POP()dnl -AC_REVISION($Revision: 1.489 $) +AC_REVISION($Revision: 1.490 $) AC_INIT(lib/dns/name.c) AC_PREREQ(2.59) @@ -3283,6 +3283,18 @@ AC_CONFIG_FILES([ AC_OUTPUT +# +# Now that the Makefiles exist we can ensure that everything is rebuilt. +# +AC_ARG_WITH(make-clean, +[ --with-make-clean Run "make clean" at end of configure [[yes|no]].], + make_clean="$withval", make_clean="yes") +case "$make_clean" in +yes) + make clean + ;; +esac + if test "X$USE_OPENSSL" = "X"; then cat << \EOF BIND is being built without OpenSSL. This means it will not have DNSSEC support.