[vlc-commits] vlc-config: remove unused linkage command
Rémi Denis-Courmont
git at videolan.org
Mon May 2 10:57:49 CEST 2011
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon May 2 10:59:16 2011 +0300| [8b5b0cfa909f14f521a2905132a67c06dfa59954] | committer: Rémi Denis-Courmont
vlc-config: remove unused linkage command
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=8b5b0cfa909f14f521a2905132a67c06dfa59954
---
m4/vlc.m4 | 6 ------
vlc-config.in.in | 10 ----------
2 files changed, 0 insertions(+), 16 deletions(-)
diff --git a/m4/vlc.m4 b/m4/vlc.m4
index 9ae566d..38c5b90 100644
--- a/m4/vlc.m4
+++ b/m4/vlc.m4
@@ -111,15 +111,9 @@ AC_DEFUN([VLC_OUTPUT_VLC_CONFIG_IN], [
fi
if test "`eval echo @'$'CXXFLAGS_${x}@`" != "@@"; then
echo " cxxflags=\"\${cxxflags} `eval echo '$'CXXFLAGS_${x}`\""
- if test "${x}" != "plugin" -a "${x}" != "builtin"; then
- echo " linkage=\"c++\""
- fi
fi
if test "`eval echo @'$'OBJCFLAGS_${x}@`" != "@@"; then
echo " objcflags=\"\${objcflags} `eval echo '$'OBJCFLAGS_${x}`\""
- if test "${x}" != "plugin" -a "${x}" != "builtin"; then
- echo " if test \"\${linkage}\" = \"c\"; then linkage=\"objc\"; fi"
- fi
fi
if test "`eval echo @'$'LDFLAGS_${x}@`" != "@@"; then
echo " ldflags=\"\${ldflags} `eval echo '$'LDFLAGS_${x}`\""
diff --git a/vlc-config.in.in b/vlc-config.in.in
index 129c7b7..14e0b46 100644
--- a/vlc-config.in.in
+++ b/vlc-config.in.in
@@ -30,7 +30,6 @@ Options:
[--prefix[=DIR]] set prefix
[--exec-prefix[=DIR]] set exec prefix
[--version] print version and exit
- [--linkage] print linkage mode (c, c++, objc)
[--list] print modules names and exit
[--libs] output linking flags
[--cflags] output C compilation flags
@@ -68,7 +67,6 @@ fi
includes="${includes}"
cppflags="${includes}"
module=""
-linkage="c"
#
# On Linux and Solaris, activate 64-bit off_t (by default under BSD)
@@ -131,9 +129,6 @@ while test $# -gt 0; do
echo "@VERSION@"
exit 0
;;
- --linkage)
- echo_linkage=yes
- ;;
--list)
echo_list=yes
;;
@@ -192,11 +187,6 @@ fi
#
# Output what we were asked
#
-if test "${echo_linkage}" = yes; then
- echo "${linkage}"
- exit 0
-fi
-
if test "${echo_list}" = yes; then
if test "${echo_plugin}" = yes; then
echo "${plugins}"
More information about the vlc-commits
mailing list