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

Remove unused prefix stuff from vlc-config

parent 873280f2
#!@SHELL@ #!@SHELL@
prefix="@prefix@"
exec_prefix="@exec_prefix@"
exec_prefix_set=no
datarootdir="@datarootdir@"
optim="@optim@" optim="@optim@"
cppflags="" cppflags=""
...@@ -24,8 +19,6 @@ usage() ...@@ -24,8 +19,6 @@ usage()
cat << BLAH cat << BLAH
Usage: vlc-config OPTIONS MODULES Usage: vlc-config OPTIONS MODULES
Options: Options:
[--prefix[=DIR]] set prefix
[--exec-prefix[=DIR]] set exec prefix
[--version] print version and exit [--version] print version and exit
[--libs] output linking flags [--libs] output linking flags
[--cflags] output C compilation flags [--cflags] output C compilation flags
...@@ -97,22 +90,6 @@ while test $# -gt 0; do ...@@ -97,22 +90,6 @@ while test $# -gt 0; do
esac esac
case "$tgt" in case "$tgt" in
--prefix=*)
prefix="${optarg}"
if test "${exec_prefix_set}" = no ; then
exec_prefix="${optarg}"
fi
;;
--prefix)
echo_prefix=yes
;;
--exec-prefix=*)
exec_prefix="${optarg}"
exec_prefix_set=yes
;;
--exec-prefix)
echo_exec_prefix=yes
;;
--version) --version)
echo "@VERSION@" echo "@VERSION@"
exit 0 exit 0
...@@ -161,12 +138,6 @@ fi ...@@ -161,12 +138,6 @@ fi
# #
# Output what we were asked # Output what we were asked
# #
if test "${echo_prefix}" = yes; then
echo "${prefix}"
fi
if test "${echo_exec_prefix}" = yes; then
echo "${exec_prefix}"
fi
if test "${echo_cppflags}" = yes; then if test "${echo_cppflags}" = yes; then
echo "${cppflags}" echo "${cppflags}"
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