From ec566c12d98298947bad60e6e64f10adde609586 Mon Sep 17 00:00:00 2001 From: =?utf8?q?R=C3=A9mi=20Denis-Courmont?= Date: Mon, 27 Feb 2006 20:29:39 +0000 Subject: [PATCH] Don't loop infinitely when then is no plugin to install (libtool-only) --- bootstrap | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/bootstrap b/bootstrap index d6672f1ec0..7cb2ce94c9 100755 --- a/bootstrap +++ b/bootstrap @@ -275,7 +275,8 @@ if USE_LIBTOOL @if test -z "\$(libvlc_LTLIBRARIES)"; then \ z=\$\$(\$(VLC_CONFIG) --list plugin); \ m=\`for mod in \$(mods); do case "\$\$z " in *\ \$\${mod}\ *) echo -n " lib\$\${mod}_plugin.la" ;; esac; done\` ; \ - \$(MAKE) \$(AM_MAKEFLAGS) libvlc_LTLIBRARIES="\$\$m" install ; \ + test -z "\$\$m" || \ + \$(MAKE) \$(AM_MAKEFLAGS) libvlc_LTLIBRARIES="\$\$m" install ; \ fi else mkdir -p -- "\$(DESTDIR)\$(libvlcdir)" @@ -315,7 +316,8 @@ if USE_LIBTOOL @if test -z "\$(libvlc_LTLIBRARIES)"; then \ z=\$\$(\$(VLC_CONFIG) --list plugin); \ m=\`for mod in \$(mods); do case "\$\$z " in *\ \$\${mod}\ *) echo -n " lib\$\${mod}_plugin.la" ;; esac; done\` ; \ - \$(MAKE) \$(AM_MAKEFLAGS) libvlc_LTLIBRARIES="\$\$m" uninstall ; \ + test -z "\$\$m" || \ + \$(MAKE) \$(AM_MAKEFLAGS) libvlc_LTLIBRARIES="\$\$m" uninstall ; \ fi else @z=\$\$(\$(VLC_CONFIG) --list plugin); \ -- 2.39.2