[Orca-checkins] r527 - orca/trunk

blair at orcaware.com blair at orcaware.com
Wed Mar 8 21:36:34 PST 2006


Author: blair at orcaware.com
Date: Wed Mar  8 21:35:57 2006
New Revision: 527

Modified:
   orca/trunk/autogen.sh

Log:
Fix the relative ordering of the autoconf files in the rrdtool
package, as they were touched in the incorrect ordering and required
users to have autoconf installed to build rrdtool.  The relative
ordering was taken from the official rrdtool-1.0.50.tar.gz tarball.

* autogen.sh:
  Touch Makefile.am, configure.ac, aclocal.m4, Makefile.in, configure
    and config.h.in in that order with a two second sleep between
    touches.


Modified: orca/trunk/autogen.sh
==============================================================================
--- orca/trunk/autogen.sh	(original)
+++ orca/trunk/autogen.sh	Wed Mar  8 21:35:57 2006
@@ -36,10 +36,22 @@
 # environment.
 #
 # To work around this, touch the build files in chronological order.
+# These files are touched in the same order that the files appear in
+# the offical RRDtool tarball.
 echo "$0: touching RRDtool build files to preserve relative timestamps..."
-find packages -name configure.in -o -name Makefile.am | xargs touch
-sleep 2
-find packages -name configure -o -name Makefile.in -o -name stamp-h\* | xargs touch
+for f in \
+  Makefile.am \
+  configure.ac \
+  aclocal.m4 \
+  Makefile.in \
+  configure \
+  config.h.in;
+  do
+    path=packages/rrdtool-1.0.50/$f
+    echo Touching $path
+    touch $path
+    sleep 2
+done
 
 # Now create configure and it's associated build files.
 echo "$0: creating configure and associated build files..."



More information about the Orca-checkins mailing list