Commit dceb4429 authored by Sam Hocevar's avatar Sam Hocevar

* vlc-config.in.in: Reverted one of my first Solaris workarounds rendered

    obsolescent by the latest ones.
parent da38547a
...@@ -370,10 +370,10 @@ endif ...@@ -370,10 +370,10 @@ endif
# Install the modules and the symlinks # Install the modules and the symlinks
install-exec-local: install-exec-local:
for i in "" `$(VLC_CONFIG) --target plugin` ; do if test -n "$$i" ; then \ for i in "" `$(VLC_CONFIG) --target plugin` ; do if test -n "$$i" ; then \
$(INSTALL) -m 755 "modules/$$i$(LIBEXT)" "$(DESTDIR)$(libdir)/vlc/`echo $$i | cut -f1 -d/`" ; \ $(INSTALL) -m 755 "$$i$(LIBEXT)" "$(DESTDIR)$(libdir)/vlc/`echo $$i | cut -f1 -d/`" ; \
fi ; done fi ; done
for i in "" `$(VLC_CONFIG) --target builtin` `$(VLC_CONFIG) --target builtin pic` ; do if test -n "$$i" ; then \ for i in "" `$(VLC_CONFIG) --target builtin` `$(VLC_CONFIG) --target builtin pic` ; do if test -n "$$i" ; then \
$(INSTALL) -m 644 "modules/$$i" "$(DESTDIR)$(libdir)/vlc" ; \ $(INSTALL) -m 644 "$$i" "$(DESTDIR)$(libdir)/vlc" ; \
fi ; done fi ; done
for i in "" $(ALIASES) ; do if test -n "$$i" ; then \ for i in "" $(ALIASES) ; do if test -n "$$i" ; then \
rm -f "$(DESTDIR)$(bindir)/$$i" && \ rm -f "$(DESTDIR)$(bindir)/$$i" && \
...@@ -392,7 +392,7 @@ VLC.app: vlc ...@@ -392,7 +392,7 @@ VLC.app: vlc
$(INSTALL) vlc $(srcdir)/VLC.app/Contents/MacOS/VLC $(INSTALL) vlc $(srcdir)/VLC.app/Contents/MacOS/VLC
$(INSTALL) -d $(srcdir)/VLC.app/Contents/MacOS/modules $(INSTALL) -d $(srcdir)/VLC.app/Contents/MacOS/modules
for i in "" `$(VLC_CONFIG) --target plugin` ; do \ for i in "" `$(VLC_CONFIG) --target plugin` ; do \
if test -n "$$i" ; then $(INSTALL) "$(srcdir)/modules/$$i$(LIBEXT)" \ if test -n "$$i" ; then $(INSTALL) "$(srcdir)/$$i$(LIBEXT)" \
"$(srcdir)/VLC.app/Contents/MacOS/modules" ; \ "$(srcdir)/VLC.app/Contents/MacOS/modules" ; \
fi ; done fi ; done
$(INSTALL) -d $(srcdir)/VLC.app/Contents/MacOS/share $(INSTALL) -d $(srcdir)/VLC.app/Contents/MacOS/share
...@@ -447,7 +447,7 @@ package-win32: ...@@ -447,7 +447,7 @@ package-win32:
mkdir -p "$(srcdir)/tmp/plugins" mkdir -p "$(srcdir)/tmp/plugins"
for i in "" `$(VLC_CONFIG) --target plugin` ; do \ for i in "" `$(VLC_CONFIG) --target plugin` ; do \
if test -n "$$i" ; then \ if test -n "$$i" ; then \
$(INSTALL) "$(srcdir)/modules/$$i$(LIBEXT)" "$(srcdir)/tmp/plugins/" ; \ $(INSTALL) "$(srcdir)/$$i$(LIBEXT)" "$(srcdir)/tmp/plugins/" ; \
fi ; done fi ; done
for i in "" $(srcdir)/tmp/plugins/*$(LIBEXT) ; \ for i in "" $(srcdir)/tmp/plugins/*$(LIBEXT) ; \
......
...@@ -243,7 +243,7 @@ if test "${echo_target}" = yes; then ...@@ -243,7 +243,7 @@ if test "${echo_target}" = yes; then
for module in `echo "${plugins}"`; do for module in `echo "${plugins}"`; do
register_targets "${module}" register_targets "${module}"
done done
for target in `echo ${list}`; do printf "${target}_plugin "; done for target in `echo ${list}`; do printf "modules/${target}_plugin "; done
printf '\n' printf '\n'
fi fi
if test "${echo_builtin}"; then if test "${echo_builtin}"; then
...@@ -251,9 +251,9 @@ if test "${echo_target}" = yes; then ...@@ -251,9 +251,9 @@ if test "${echo_target}" = yes; then
register_targets "${module}" register_targets "${module}"
done done
if test "${echo_pic}"; then if test "${echo_pic}"; then
for target in `echo ${list}`; do printf "${target}_pic.a "; done for target in `echo ${list}`; do printf "modules/${target}_pic.a "; done
else else
for target in `echo ${list}`; do printf "${target}.a "; done for target in `echo ${list}`; do printf "modules/${target}.a "; done
fi fi
printf '\n' printf '\n'
fi fi
...@@ -285,9 +285,9 @@ if test "${echo_libs}" = yes; then ...@@ -285,9 +285,9 @@ if test "${echo_libs}" = yes; then
register_flags "${module}" register_flags "${module}"
done done
if test "${echo_pic}"; then if test "${echo_pic}"; then
for target in `echo ${list}`; do printf "${target}_pic.a "; done for target in `echo ${list}`; do printf "modules/${target}_pic.a "; done
else else
for target in `echo ${list}`; do printf "${target}.a "; done for target in `echo ${list}`; do printf "modules/${target}.a "; done
fi fi
printf '\n' printf '\n'
fi fi
......
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