summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorXie Changlong <xiechanglong@cmss.chinamobile.com>2018-04-10 10:26:01 +0800
committerKaleb KEITHLEY <kkeithle@redhat.com>2018-04-16 12:50:12 +0000
commitb2f94254cdba07658efb9052ba585ca83d7f1cfe (patch)
tree8fc8770f8f5b5a272fca9c5e3f5d0bdd2d6a81fa /configure.ac
parent7438f1f2a103a64e2349ad3ba9401cf115ca9de1 (diff)
build: exclude '--with-previous-options' to prevent infinite loop
Reproducible Steps: 1. cd glusterfs/; rm -rf *; git reset --hard #clean repo 2. cd extras/LinuxRPM/; ./make_glusterrpms #it's ok here 3. ./make_glusterrpms #infinite loop 4. cd ../../; make distclean #infinite loop Change-Id: I162953d4576cedea7c6f6c631a77163a5cca023e updates: #439 Signed-off-by: Xie Changlong <xiechanglong@cmss.chinamobile.com>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 190dc8f73fc..474d757a66a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -381,7 +381,7 @@ AC_ARG_WITH([previous-options],
],
[ if test -r ./config.status && \
args=$(grep 'ac_cs_config=' config.status | \
- sed -e 's/.*"\(.*\)".*/\1/'| sed -e "s/'//g") ; then
+ sed -e 's/.*"\(.*\)".*/\1/' -e "s/'//g" -e "s/--with-previous-options//g") ; then
echo "###"
echo "### Rerunning as '$0 $args'"
echo "###"