From f0d69f13d3ff7259a9cd71fcc52ab11b58864990 Mon Sep 17 00:00:00 2001 From: Sam Hocevar Date: Wed, 26 Oct 2005 14:31:03 +0000 Subject: [PATCH] * bootstrap configure.ac: removed Cisms from shell tests (#411). --- bootstrap | 10 +++++----- configure.ac | 8 ++++---- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/bootstrap b/bootstrap index 204ec056c2..13abc952a4 100755 --- a/bootstrap +++ b/bootstrap @@ -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 ============================================================= diff --git a/configure.ac b/configure.ac index 635cd5811d..9eab339840 100644 --- a/configure.ac +++ b/configure.ac @@ -1155,7 +1155,7 @@ dnl dnl There are several possible cases: dnl - OS X PPC, gcc 4.x: use -mpim-altivec, don't need dnl - OS X PPC, gcc 3.x: need -faltivec, don't need -dnl - Linux PPC, gcc 4.x: need which itself requires -maltivec +dnl - Linux PPC, gcc 3.4, 4.x: need which requires -maltivec dnl - Linux PPC, gcc 3.3: need and -maltivec -mabi=altivec dnl - Linux PPC, gcc 3.x: need 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, -- 2.39.2