Commit 873280f2 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Remove broken and useless vlc-config --list

parent 827ca16d
...@@ -69,8 +69,8 @@ file. If you add a new directory you will need to create a new Modules.am, ...@@ -69,8 +69,8 @@ file. If you add a new directory you will need to create a new Modules.am,
inside that directory. Do not forget to add a corresponding inside that directory. Do not forget to add a corresponding
Makefile line at the end of configure.ac for this new Modules.am file. Makefile line at the end of configure.ac for this new Modules.am file.
To have the module built, you need to add a call to VLC_ADD_PLUGIN or To have the module built, you need to add a call to VLC_ADD_PLUGIN to
VLC_ADD_BUILTINS to configure.ac with your new module name as argument. configure.ac with your new module name as argument.
Look at other modules for guidelines on how to add build and linkage options. Look at other modules for guidelines on how to add build and linkage options.
After changing configure.ac you will always need to rerun bootstrap and After changing configure.ac you will always need to rerun bootstrap and
......
...@@ -90,8 +90,6 @@ AC_DEFUN([VLC_OUTPUT_VLC_CONFIG_IN], [ ...@@ -90,8 +90,6 @@ AC_DEFUN([VLC_OUTPUT_VLC_CONFIG_IN], [
sed -ne '/#@1@#/q;p' < "${srcdir}/vlc-config.in.in" \ sed -ne '/#@1@#/q;p' < "${srcdir}/vlc-config.in.in" \
| sed \ | sed \
-e "s/@optim@/${enable_optimizations}/" \ -e "s/@optim@/${enable_optimizations}/" \
-e "s/@PLUGINS@/${PLUGINS}/" \
-e "s/@BUILTINS@/${BUILTINS}/" \
-e "s/@CFLAGS_TUNING@/${CFLAGS_TUNING}/" \ -e "s/@CFLAGS_TUNING@/${CFLAGS_TUNING}/" \
> vlc-config.in > vlc-config.in
......
...@@ -7,8 +7,6 @@ datarootdir="@datarootdir@" ...@@ -7,8 +7,6 @@ datarootdir="@datarootdir@"
optim="@optim@" optim="@optim@"
plugins="@PLUGINS@ "
cppflags="" cppflags=""
cflags="" cflags=""
cxxflags="" cxxflags=""
...@@ -29,7 +27,6 @@ Options: ...@@ -29,7 +27,6 @@ Options:
[--prefix[=DIR]] set prefix [--prefix[=DIR]] set prefix
[--exec-prefix[=DIR]] set exec prefix [--exec-prefix[=DIR]] set exec prefix
[--version] print version and exit [--version] print version and exit
[--list] print modules names and exit
[--libs] output linking flags [--libs] output linking flags
[--cflags] output C compilation flags [--cflags] output C compilation flags
[--cxxflags] output C++ compilation flags [--cxxflags] output C++ compilation flags
...@@ -120,9 +117,6 @@ while test $# -gt 0; do ...@@ -120,9 +117,6 @@ while test $# -gt 0; do
echo "@VERSION@" echo "@VERSION@"
exit 0 exit 0
;; ;;
--list)
echo_list=yes
;;
--cflags) --cflags)
echo_cflags=yes echo_cflags=yes
;; ;;
...@@ -146,9 +140,6 @@ while test $# -gt 0; do ...@@ -146,9 +140,6 @@ while test $# -gt 0; do
;; ;;
libvlccore) libvlccore)
;; ;;
plugin)
echo_plugin=yes
;;
*) *)
module="$tgt" module="$tgt"
;; ;;
...@@ -170,14 +161,6 @@ fi ...@@ -170,14 +161,6 @@ fi
# #
# Output what we were asked # Output what we were asked
# #
if test "${echo_list}" = yes; then
if test "${echo_plugin}" = yes; then
echo "${plugins}"
printf '\n'
fi
exit 0
fi
if test "${echo_prefix}" = yes; then if test "${echo_prefix}" = yes; then
echo "${prefix}" echo "${prefix}"
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