]> git.sesse.net Git - vlc/commitdiff
Remove broken and useless vlc-config --list
authorRémi Denis-Courmont <remi@remlab.net>
Thu, 18 Aug 2011 16:02:28 +0000 (19:02 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Thu, 18 Aug 2011 16:02:28 +0000 (19:02 +0300)
HACKING
m4/vlc.m4
vlc-config.in.in

diff --git a/HACKING b/HACKING
index 027000315d52f0042b7d7dd82ba4a6729278da7b..44d3d3274fc275a33f80d8000bf2ef0302563af8 100644 (file)
--- a/HACKING
+++ b/HACKING
@@ -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
 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
-VLC_ADD_BUILTINS to configure.ac with your new module name as argument.
+To have the module built, you need to add a call to VLC_ADD_PLUGIN to
+configure.ac with your new module name as argument.
 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 
index e82a47c6a9467a3807269cd4dc73e1b1ef8b2cd7..abaf0b217c652b222a9244d839e8131da480d0cf 100644 (file)
--- a/m4/vlc.m4
+++ b/m4/vlc.m4
@@ -90,8 +90,6 @@ AC_DEFUN([VLC_OUTPUT_VLC_CONFIG_IN], [
   sed -ne '/#@1@#/q;p' < "${srcdir}/vlc-config.in.in" \
     | sed \
           -e "s/@optim@/${enable_optimizations}/" \
-          -e "s/@PLUGINS@/${PLUGINS}/" \
-          -e "s/@BUILTINS@/${BUILTINS}/" \
           -e "s/@CFLAGS_TUNING@/${CFLAGS_TUNING}/" \
     > vlc-config.in
 
index 502b61f4b4a2b2ae5a4a303388ff60ef384fbffe..a32c4b44958fe6b9cafa248a1d44ce28c9131072 100644 (file)
@@ -7,8 +7,6 @@ datarootdir="@datarootdir@"
 
 optim="@optim@"
 
-plugins="@PLUGINS@ "
-
 cppflags=""
 cflags=""
 cxxflags=""
@@ -29,7 +27,6 @@ Options:
         [--prefix[=DIR]]          set prefix
         [--exec-prefix[=DIR]]     set exec prefix
         [--version]               print version and exit
-        [--list]                  print modules names and exit
         [--libs]                  output linking flags
         [--cflags]                output C compilation flags
         [--cxxflags]              output C++ compilation flags
@@ -120,9 +117,6 @@ while test $# -gt 0; do
       echo "@VERSION@"
       exit 0
       ;;
-    --list)
-      echo_list=yes
-      ;;
     --cflags)
       echo_cflags=yes
       ;;
@@ -146,9 +140,6 @@ while test $# -gt 0; do
       ;;
     libvlccore)
       ;;
-    plugin)
-      echo_plugin=yes
-      ;;
     *)
       module="$tgt"
       ;;
@@ -170,14 +161,6 @@ fi
 #
 #  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
   echo "${prefix}"
 fi