]> git.sesse.net Git - vlc/blobdiff - bootstrap
* modules/video_output/directx/directx.c,glwin32.c: revert backport of 13050 for...
[vlc] / bootstrap
index 204ec056c23acb9cdf23bc7c36f930fba9cda43f..75574281ea67849bd046716d24ab4dfcd3c73677 100755 (executable)
--- a/bootstrap
+++ b/bootstrap
@@ -212,13 +212,13 @@ 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"
 
 # Build a plugin with the adequate linker and linker's flags
 _plugin.a_plugin\$(LIBEXT):
-       @mod="\$*" ; mod=\$\${mod:3} ; \
+       @mod="\$*" ; mod=\$\${mod#lib} ; \
        ldfl="\`\$(VLC_CONFIG) --libs plugin \$\$mod\` -u \$(SYMPREF)\$(VLC_ENTRY)" ; \
        case \`\$(VLC_CONFIG) --linkage \$\$mod\` in \\
          c++)  ld="\$(CXXLINK)" ;; \
@@ -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
 
 =============================================================