Commit f0d69f13 authored by Sam Hocevar's avatar Sam Hocevar

* bootstrap configure.ac: removed Cisms from shell tests (#411).

parent 6da562f9
......@@ -212,7 +212,7 @@ all-modules:
@set fnord \$\$MAKEFLAGS; amf=\$\$2; targets=\`\\
if test "\$(plugin)" != "no"; then z=\$\$(\$(VLC_CONFIG) --list plugin); for mod in \$(mods); do case "\$\$z " in *\ \$\${mod}\ *) echo lib\$\${mod}_plugin\$(LIBEXT);; esac; done; fi; \\
if test "\$(builtin)" != "no"; then z=\$\$(\$(VLC_CONFIG) --list builtin); for mod in \$(mods); do case "\$\$z " in *\ \$\${mod}\ *) echo lib\$\${mod}.a;; esac; done; fi; \\
if test "\$(pic)" == "pic"; then z=\$\$(\$(VLC_CONFIG) --list builtin); for mod in \$(mods); do case "\$\$z " in *\ \$\${mod}\ *) echo lib\$\${mod}_pic.a;; esac; done; fi; \\
if test "\$(pic)" = "pic"; then z=\$\$(\$(VLC_CONFIG) --list builtin); for mod in \$(mods); do case "\$\$z " in *\ \$\${mod}\ *) echo lib\$\${mod}_pic.a;; esac; done; fi; \\
\`; case "\$\$targets" in *lib*) \$(MAKE) \$(AM_MAKEFLAGS) \$\$targets || case "\$\$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; ;; esac; \\
test -z "\$\$fail"
......@@ -441,7 +441,7 @@ set +x
##
## Tell the user about gettext, pkg-config and sed
##
if [ "${GETTEXT}" == "old" ]; then
if [ "${GETTEXT}" = "old" ]; then
cat << EOF
==========================================================
......@@ -452,7 +452,7 @@ We suggest upgrading to gettext 0.11.5 or later.
EOF
fi
if [ "$PKGCONFIG" == "no" ]; then
if [ "$PKGCONFIG" = "no" ]; then
cat << EOF
==============================================================
......@@ -462,7 +462,7 @@ reliable.
EOF
fi
if [ "$AUTOMAKESUCKS" == "yes" ]; then
if [ "$AUTOMAKESUCKS" = "yes" ]; then
cat << EOF
=============================================================
......@@ -473,7 +473,7 @@ than 1.6.1 (1.6.2 is OK, and so are the 1.5 series).
EOF
fi
if [ "$INSTALLSUCKS" == "yes" ]; then
if [ "$INSTALLSUCKS" = "yes" ]; then
cat << EOF
=============================================================
......
......@@ -1155,7 +1155,7 @@ dnl
dnl There are several possible cases:
dnl - OS X PPC, gcc 4.x: use -mpim-altivec, don't need <altivec.h>
dnl - OS X PPC, gcc 3.x: need -faltivec, don't need <altivec.h>
dnl - Linux PPC, gcc 4.x: need <altivec.h> which itself requires -maltivec
dnl - Linux PPC, gcc 3.4, 4.x: need <altivec.h> which requires -maltivec
dnl - Linux PPC, gcc 3.3: need <altivec.h> and -maltivec -mabi=altivec
dnl - Linux PPC, gcc 3.x: need <altivec.h> and -fvec
dnl - Others: test should fail
......@@ -1949,7 +1949,7 @@ AC_CHECK_FUNCS(inet_pton,[have_ipv6=yes],[
VLC_ADD_LDFLAGS([ipv6 vlc],[-lresolv])])
])
AS_IF([test "${have_ipv6}" == "yes"], [
AS_IF([test "${have_ipv6}" = "yes"], [
AC_DEFINE(HAVE_INET_PTON, 1, [Define to 1 if you have inet_pton().])])
if test "${SYS}" != "nto" &&
......@@ -2332,7 +2332,7 @@ dnl ffmpeg decoder/demuxer plugin
dnl
AC_ARG_ENABLE(ffmpegaltivec,
[ --enable-ffmpegaltivec ffmpegaltivec codec (DO NOT USE)])
if test "${enable_ffmpegaltivec}" == "yes"
if test "${enable_ffmpegaltivec}" = "yes"
then
if test "${with_ffmpeg_tree}" != "no" -a -n "${with_ffmpeg_tree}"; then
AC_MSG_CHECKING(for libavcodecaltivec.a in ${with_ffmpeg_tree})
......@@ -3259,7 +3259,7 @@ dnl SVG module
dnl
AC_ARG_ENABLE(svg,
[ --enable-svg SVG support (default disabled)])
if test "${enable_svg}" == "yes"
if test "${enable_svg}" = "yes"
then
PKG_CHECK_MODULES(SVG,
librsvg-2.0 >= 2.5.0,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment