Changeset a9b2248292f142436cfa915f9c73444a7d9db0fb

Show
Ignore:
Timestamp:
28/08/02 21:48:16 (6 years ago)
Author:
Christophe Massiot <massiot@videolan.org>
git-committer:
Christophe Massiot <massiot@videolan.org> 1030564096 +0000
git-parent:

[3eb8eefdd2d1fc8ffa75bf9f8fa9e3e8dc308b93]

git-author:
Christophe Massiot <massiot@videolan.org> 1030564096 +0000
Message:

It now works when there is no automake-1.5 nor automake-1.6.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • bootstrap

    r3eb8eef ra9b2248  
    22 
    33##  bootstrap.sh file for vlc, the VideoLAN Client 
    4 ##  $Id: bootstrap,v 1.11 2002/08/28 15:30:57 sam Exp $ 
     4##  $Id: bootstrap,v 1.12 2002/08/28 19:48:16 massiot Exp $ 
    55## 
    66##  Authors: Samuel Hocevar <sam@zoy.org> 
     
    6161 
    6262# Check for automake 
     63amvers="none" 
    6364if automake-1.6 --version >/dev/null 2>&1 
    6465then 
    65   amvers=1.6 
    66 else if automake-1.5 --version >/dev/null 2>&1 
     66  amvers="-1.6" 
     67else 
     68  if automake-1.5 --version >/dev/null 2>&1 
     69  then 
     70    amvers="-1.5" 
     71  else 
     72    if automake --version > /dev/null 2>&1 
     73    then 
     74      amvers=`automake --version | head -1 | cut -d\  -f 4` 
     75 
     76      if expr "$amvers" "<" "1.5" > /dev/null 2>&1 
     77      then amvers="none" 
     78      else amvers="" 
     79      fi 
     80    fi 
     81  fi 
     82fi 
     83 
     84if test x$amvers = xnone 
    6785then 
    68   amvers=1.5 
    69 else 
    7086  set +x 
    7187  echo "you need automake version 1.5 or later" 
    7288  exit 1 
    73 fi;fi 
     89fi 
    7490 
    7591# Do the rest 
    76 aclocal-${amvers} -I m4 
     92aclocal${amvers} -I m4 
    7793autoheader 
    78 automake-${amvers} --foreign --add-missing --copy 
     94automake${amvers} --foreign --add-missing --copy 
    7995autoconf 
    8096