]> git.sesse.net Git - vlc/commitdiff
* bootstrap configure.ac: removed Cisms from shell tests (#411).
authorSam Hocevar <sam@videolan.org>
Wed, 26 Oct 2005 14:31:03 +0000 (14:31 +0000)
committerSam Hocevar <sam@videolan.org>
Wed, 26 Oct 2005 14:31:03 +0000 (14:31 +0000)
bootstrap
configure.ac

index 204ec056c23acb9cdf23bc7c36f930fba9cda43f..13abc952a4c909f8039bb4f20eb180e2d491883a 100755 (executable)
--- 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
 
 =============================================================
index 635cd5811d63bf2cc78cc0414ead61ba2a392c09..9eab3398406cf602a24bd32a500430361163dfbd 100644 (file)
@@ -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,