X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=vlc-config.in.in;h=34945deb0d948f8f423f7bbda7b2342a3eacf837;hb=14bde4f9f84e36c776845d255a4e4f5054127f6e;hp=658c893c6a7dbd792fc66c9006a89aa76cc25c3f;hpb=575c056a1c46f037ab33366b4999eb8eb1a96cd5;p=vlc diff --git a/vlc-config.in.in b/vlc-config.in.in index 658c893c6a..34945deb0d 100644 --- a/vlc-config.in.in +++ b/vlc-config.in.in @@ -37,6 +37,7 @@ Options: [--version] print version and exit [--linkage] print linkage mode (c, c++, objc) [--target] print targets and exit + [--list] print modules names and exit [--libs] output linking flags [--cflags] output C compilation flags [--cxxflags] output C++ compilation flags @@ -174,6 +175,9 @@ while test $# -gt 0; do --target) echo_target=yes ;; + --list) + echo_list=yes + ;; --cflags) echo_cflags=yes ;; @@ -270,6 +274,18 @@ if test "${echo_target}" = yes; then exit 0 fi +if test "${echo_list}" = yes; then + if test "${echo_plugin}" = yes; then + echo "${plugins}" + printf '\n' + fi + if test "${echo_builtin}" = yes; then + echo "${builtins}" + printf '\n' + fi + exit 0 +fi + if test "${echo_prefix}" = yes; then echo "${prefix}" fi