You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by jp...@apache.org on 2013/08/20 21:26:19 UTC

[2/4] git commit: ci: more robust autoreconf detection

ci: more robust autoreconf detection


Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/eb1726dd
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/eb1726dd
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/eb1726dd

Branch: refs/heads/master
Commit: eb1726dd64c32b9894fa212bb2ec9d791220d2bd
Parents: 8a0557f
Author: James Peach <jp...@apache.org>
Authored: Tue Aug 20 11:47:32 2013 -0700
Committer: James Peach <jp...@apache.org>
Committed: Tue Aug 20 11:47:32 2013 -0700

----------------------------------------------------------------------
 ci/regression | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/eb1726dd/ci/regression
----------------------------------------------------------------------
diff --git a/ci/regression b/ci/regression
index 3b2eca8..9303955 100755
--- a/ci/regression
+++ b/ci/regression
@@ -75,12 +75,13 @@ extras() {
 }
 
 autogen() {
-  [[ -e "$SRCROOT/configure" ]] || ( cd $SRCROOT && autoreconf -fi )
+  (
+    cd "$SRCROOT"
+    [ configure -nt configure.ac -a Makefile -nt Makefile.am ] || autoreconf -fi
+  )
 }
 
 configure() {
-  [[ -e "$SRCROOT/Makefile" ]] && ( cd $SRCROOT && make distclean)
-
   (
     cd $OBJROOT
     $SRCROOT/configure \