pandora-build v0.45
[awesomized/libmemcached] / config / autorun.sh
index 2e0d839f779d6ab50b5bc3195d64b37a81f5bd3b..bcf804278fcf5dae92cd5a4031ed1747b94ae56a 100755 (executable)
@@ -35,6 +35,12 @@ locate_binary() {
   return 1
 }
 
+
+if test -f config/pre_hook.sh
+then
+  . config/pre_hook.sh
+fi
+
 # Try to detect the supported binaries if the user didn't
 # override that by pushing the environment variable
 if test x$LIBTOOLIZE = x; then
@@ -78,6 +84,11 @@ run $AUTOHEADER || die "Can't execute autoheader"
 run $AUTOMAKE $AUTOMAKE_FLAGS  || die "Can't execute automake"
 run $AUTOCONF || die "Can't execute autoconf"
 
+if test -f config/post_hook.sh
+then
+  . config/post_hook.sh
+fi
+
 echo "---"
 echo "Configured with the following tools:"
 echo "  * `$LIBTOOLIZE --version | head -1`"