#start checking the version
debug "version check"
- if [ ! "$pkg_major" \> "$MAJOR" ]; then
- debug "$pkg_major <= $MAJOR"
- if [ "$pkg_major" \< "$MAJOR" ]; then
+ if [ ! "$pkg_major" -gt "$MAJOR" ]; then
+ debug "$pkg_major -le $MAJOR"
+ if [ "$pkg_major" -lt "$MAJOR" ]; then
WRONG=1
- elif [ ! "$pkg_minor" \> "$MINOR" ]; then
- if [ "$pkg_minor" \< "$MINOR" ]; then
+ elif [ ! "$pkg_minor" -gt "$MINOR" ]; then
+ if [ "$pkg_minor" -lt "$MINOR" ]; then
WRONG=1
- elif [ "$pkg_micro" \< "$MICRO" ]; then
+ elif [ "$pkg_micro" -lt "$MICRO" ]; then
WRONG=1
fi
fi
exit 1
}
-echo "+ creating acinclude.m4"
-cat m4/*.m4 > acinclude.m4
-
echo "+ running aclocal ..."
-aclocal $ACLOCAL_FLAGS || {
+cat m4/*.m4 >acinclude.m4;aclocal $ACLOCAL_FLAGS || {
echo
echo "aclocal failed - check that all needed development files are present on system"
exit 1
exit 1
}
-echo
-echo "+ running autogen.sh in gst/cothreads..."
-pushd gst/cothreads > /dev/null
-echo
-./autogen.sh --autogen-noconfigure --autogen-nocheck
-popd > /dev/null
-echo
+dnl echo
+dnl echo "+ running autogen.sh in libs/ext/cothreads..."
+dnl pushd libs/ext/cothreads > /dev/null
+dnl echo
+dnl ./autogen.sh --autogen-noconfigure --autogen-nocheck
+dnl popd > /dev/null
+dnl echo
test -n "$NOCONFIGURE" && {
echo "skipping configure stage for package $package, as requested."