projects
/
m6w6
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
fix whitespace.
[m6w6/libmemcached]
/
config
/
autorun.sh
diff --git
a/config/autorun.sh
b/config/autorun.sh
index 2e0d839f779d6ab50b5bc3195d64b37a81f5bd3b..4785b9fccab1d95e75873d89bf0f06b82ab393b9 100755
(executable)
--- a/
config/autorun.sh
+++ b/
config/autorun.sh
@@
-35,6
+35,18
@@
locate_binary() {
return 1
}
return 1
}
+
+if test -f config/pre_hook.sh
+then
+ . config/pre_hook.sh
+fi
+
+# We need to some file here for the m4_sinclude, even if it's just empty
+if test ! -f config/plugin.ac
+then
+ touch config/plugin.ac
+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
# Try to detect the supported binaries if the user didn't
# override that by pushing the environment variable
if test x$LIBTOOLIZE = x; then
@@
-45,14
+57,14
@@
if test x$LIBTOOLIZE = x; then
fi
if test x$ACLOCAL = x; then
fi
if test x$ACLOCAL = x; then
- ACLOCAL=`locate_binary aclocal-1.10 aclocal-1.9 aclocal19 aclocal`
+ ACLOCAL=`locate_binary aclocal-1.1
1 aclocal-1.1
0 aclocal-1.9 aclocal19 aclocal`
if test x$ACLOCAL = x; then
die "Did not find a supported aclocal"
fi
fi
if test x$AUTOMAKE = x; then
if test x$ACLOCAL = x; then
die "Did not find a supported aclocal"
fi
fi
if test x$AUTOMAKE = x; then
- AUTOMAKE=`locate_binary automake-1.10 automake-1.9 automake19 automake`
+ AUTOMAKE=`locate_binary automake-1.1
1 automake-1.1
0 automake-1.9 automake19 automake`
if test x$AUTOMAKE = x; then
die "Did not find a supported automake"
fi
if test x$AUTOMAKE = x; then
die "Did not find a supported automake"
fi
@@
-78,6
+90,11
@@
run $AUTOHEADER || die "Can't execute autoheader"
run $AUTOMAKE $AUTOMAKE_FLAGS || die "Can't execute automake"
run $AUTOCONF || die "Can't execute autoconf"
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`"
echo "---"
echo "Configured with the following tools:"
echo " * `$LIBTOOLIZE --version | head -1`"