Changeset 66b5536ec1d6b3e85f9d27feda188c4351463c86

Show
Ignore:
Timestamp:
04/21/08 22:06:06 (3 months ago)
Author:
Rémi Denis-Courmont <rem@videolan.org>
git-committer:
Rémi Denis-Courmont <rem@videolan.org> 1208808366 +0300
git-parent:

[aec97d0619dd79d8116d9614121305c3c9f8bba4]

git-author:
Rémi Denis-Courmont <rem@videolan.org> 1208807463 +0300
Message:

Remove un-needed vlc-config --target mode

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • vlc-config.in.in

    rc106ef7 r66b5536  
    4040        [--version]               print version and exit 
    4141        [--linkage]               print linkage mode (c, c++, objc) 
    42         [--target]                print targets and exit 
    4342        [--list]                  print modules names and exit 
    4443        [--libs]                  output linking flags 
     
    6564} 
    6665 
    67 register_targets() 
    68 { 
    69   case "$1" in 
    70     #@2@# 
    71     *) 
    72       ;; 
    73   esac 
    74 } 
    75  
    7666if test $# -eq 0; then 
    7767        usage 1 1>&2 
     
    199189      echo_linkage=yes 
    200190      ;; 
    201     --target) 
    202       echo_target=yes 
    203       ;; 
    204191    --list) 
    205192      echo_list=yes 
     
    252239  # Register per-module *FLAGS 
    253240  register_flags "$tgt" 
    254  
    255   # Register module targets 
    256   register_targets "$tgt" 
    257241 
    258242  shift 
     
    281265  fi 
    282266  echo "${linkage}" 
    283   exit 0 
    284 fi 
    285  
    286 if test "${echo_target}" = yes; then 
    287   if test "${echo_plugin}" = yes; then 
    288     for module in `echo "${plugins}"`; do 
    289       register_targets "${module}" 
    290     done 
    291     for target in `echo "${list}"`; do printf "${top_builddir}modules/${target}_plugin "; done 
    292     printf '\n' 
    293   fi 
    294   if test "${echo_builtin}" = yes; then 
    295     for module in `echo "${builtins}"`; do 
    296       register_targets "${module}" 
    297     done 
    298     for target in `echo "${list}"`; do printf "${top_builddir}modules/${target}.a "; done 
    299     printf '\n' 
    300   fi 
    301267  exit 0 
    302268fi 
     
    347313#  you need "builtin vlc" 
    348314if test "${echo_libs}" = yes; then 
    349   if test "${echo_builtin}" = yes; then 
    350     for module in `echo "${builtins}"`; do 
    351       register_targets "${module}" 
    352       register_flags "${module}" 
    353     done 
    354     for target in `echo "${list}"`; do printf "${top_builddir}modules/${target}.a "; done 
    355   fi 
    356315  if test "${echo_external}" = yes; then 
    357316    for module in `echo "${builtins}"`; do