From 3540e68748dd30fd285270797132889f924f85b6 Mon Sep 17 00:00:00 2001 From: Alfredo Deza Date: Fri, 9 Sep 2016 15:45:46 -0400 Subject: [PATCH] ceph-dev-setup: call autogen only when not using cmake Signed-off-by: Alfredo Deza --- ceph-dev-setup/build/build | 40 +++++++++++++++++++------------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/ceph-dev-setup/build/build b/ceph-dev-setup/build/build index 1c9e1a4c..81344dc5 100644 --- a/ceph-dev-setup/build/build +++ b/ceph-dev-setup/build/build @@ -64,26 +64,6 @@ then FLAVOR_FLAGS="$FLAVOR_FLAGS --with-blkin" fi -echo "Running autogen.sh ..." -./autogen.sh -echo "Running configure ..." -./configure \ - --disable-option-checking \ - '--prefix=/usr' \ - '--sbindir=/sbin' \ - '--localstatedir=/var' \ - '--sysconfdir=/etc' \ - '--with-debug' \ - '--with-nss' \ - '--with-radosgw' \ - '--disable-static' \ - '--without-lttng' \ - $FLAVOR_FLAGS \ - 'CFLAGS= -Wno-unused-parameter' \ - 'CXXFLAGS= -Wno-unused-parameter' \ - --cache-file=/dev/null \ - --srcdir=. - mkdir -p release # Contents below used to come from /srv/release_tarball.sh and @@ -130,6 +110,26 @@ else extract_flags="jxf" compress_flags="jcf" else + echo "Running autogen.sh ..." + ./autogen.sh + echo "Running configure ..." + ./configure \ + --disable-option-checking \ + '--prefix=/usr' \ + '--sbindir=/sbin' \ + '--localstatedir=/var' \ + '--sysconfdir=/etc' \ + '--with-debug' \ + '--with-nss' \ + '--with-radosgw' \ + '--disable-static' \ + '--without-lttng' \ + $FLAVOR_FLAGS \ + 'CFLAGS= -Wno-unused-parameter' \ + 'CXXFLAGS= -Wno-unused-parameter' \ + --cache-file=/dev/null \ + --srcdir=. + make dist make dist-bzip2 vers=`ls ceph-*.tar.gz | cut -c 6- | sed 's/.tar.gz//'` -- 2.39.5