From 6e3839e1bbc9c62d09be4451a97f2c414d3f65f6 Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Fri, 18 Mar 2016 08:28:21 +1100 Subject: [PATCH] don't run 'make clean' if --no-create is specified --- configure | 9 ++++++--- configure.in | 5 ++++- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/configure b/configure index 43e2389b35..5483289f0f 100755 --- a/configure +++ b/configure @@ -1765,13 +1765,13 @@ Optional Packages: (Required to use MySQL with DLZ) --with-dlz-bdb=PATH Build with Berkeley DB DLZ driver yes|no|path. (Required to use Berkeley DB with DLZ) - --with-dlz-filesystem=PATH Build with filesystem DLZ driver yes|no. + --with-dlz-filesystem=ARG Build with filesystem DLZ driver yes|no. (Required to use file system driver with DLZ) --with-dlz-ldap=PATH Build with LDAP DLZ driver yes|no|path. (Required to use LDAP with DLZ) --with-dlz-odbc=PATH Build with ODBC DLZ driver yes|no|path. (Required to use ODBC with DLZ) - --with-dlz-stub=PATH Build with stub DLZ driver yes|no. + --with-dlz-stub=ARG Build with stub DLZ driver yes|no. (Required to use stub driver with DLZ) --with-make-clean run "make clean" at end of configure [yes|no] @@ -24981,7 +24981,10 @@ fi case "$make_clean" in yes) - make clean + if test "$no_create" != "yes" + then + make clean + fi ;; esac diff --git a/configure.in b/configure.in index 4d5199ef75..506a49e58a 100644 --- a/configure.in +++ b/configure.in @@ -4937,7 +4937,10 @@ AC_ARG_WITH(make-clean, make_clean="$withval", make_clean="yes") case "$make_clean" in yes) - make clean + if test "$no_create" != "yes" + then + make clean + fi ;; esac