+2008-02-02 Sebastian Dröge <slomo@circular-chaos.org>
+
+ * m4/gst-feature.m4:
+ Use printf instead of echo as "echo -e" isn't POSIX and doesn't work
+ with strict POSIX shells like tcsh or dash and also not every platform
+ has a /bin/echo that supports it.
+
2008-01-24 Stefan Kost <ensonic@users.sf.net>
* ChangeLog:
dnl GST_PLUGINS_NO, and BUILD_EXTERNAL
AC_DEFUN([AG_GST_OUTPUT_PLUGINS], [
-echo "configure: *** Plug-ins without external dependencies that will be built:"
-( for i in $GST_PLUGINS_SELECTED; do /bin/echo -e '\t'$i; done ) | sort
-echo
+printf "configure: *** Plug-ins without external dependencies that will be built:\n"
+( for i in $GST_PLUGINS_SELECTED; do printf '\t'$i'\n'; done ) | sort
+printf "\n"
-echo "configure: *** Plug-ins without external dependencies that will NOT be built:"
+printf "configure: *** Plug-ins without external dependencies that will NOT be built:\n"
( for i in $GST_PLUGINS_ALL; do
case $GST_PLUGINS_SELECTED in
*$i*)
;;
*)
- /bin/echo -e '\t'$i
+ printf '\t'$i'\n'
;;
esac
done ) | sort
-echo
+printf "\n"
if test "x$BUILD_EXTERNAL" = "xno"; then
- echo "configure: *** No plug-ins with external dependencies will be built"
+ printf "configure: *** No plug-ins with external dependencies will be built\n"
else
- /bin/echo -n "configure: *** Plug-ins with dependencies that will be built:"
- /bin/echo -e "$GST_PLUGINS_YES" | sort
- /bin/echo
- /bin/echo -n "configure: *** Plug-ins with dependencies that will NOT be built:"
- /bin/echo -e "$GST_PLUGINS_NO" | sort
- /bin/echo
+ printf "configure: *** Plug-ins with dependencies that will be built:"
+ printf "$GST_PLUGINS_YES\n" | sort
+ printf "\n"
+ printf "configure: *** Plug-ins with dependencies that will NOT be built:"
+ printf "$GST_PLUGINS_NO\n" | sort
+ printf "\n"
fi
])