[svn] / trunk / xvidcore / build / generic / bootstrap.sh Repository:
ViewVC logotype

Diff of /trunk/xvidcore/build/generic/bootstrap.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 879, Thu Feb 20 22:46:18 2003 UTC revision 880, Thu Feb 20 23:40:48 2003 UTC
# Line 3  Line 3 
3  # This file builds the configure script and copies all needed files  # This file builds the configure script and copies all needed files
4  # provided by automake/libtoolize  # provided by automake/libtoolize
5  #  #
6  # $Id: bootstrap.sh,v 1.2 2003-02-20 18:39:23 edgomez Exp $  # $Id: bootstrap.sh,v 1.3 2003-02-20 23:40:48 edgomez Exp $
7    
8    
9  ##############################################################################  ##############################################################################
10  # Detect the right autoconf script  # Detect the right autoconf script
11  ##############################################################################  ##############################################################################
12    
13  # we first test Debian GNU/Linux autoconf for 2.50 series  # Find a suitable autoconf
14  AUTOCONF=`which autoconf2.50`  AUTOCONF=`which autoconf2.50`
15    if [ $? -ne 0 ] ; then
 if [ ! -x "$AUTOCONF" ] ; then  
   
     # Test failed, testing generic name -- many distros are shipping 2.13 with  
     # that name, that's why we have to perform an additional test for version.  
16      AUTOCONF=`which autoconf`      AUTOCONF=`which autoconf`
17        if [ $? -ne 0 ] ; then
18      if [ ! -x "$AUTOCONF" ] ; then          echo "Autoconf not found"
         echo "No autoconf binary found in PATH"  
19          exit -1          exit -1
20      fi      fi
21    fi
22    
23      # Tests the autoconf version      # Tests the autoconf version
24      AC_VER=`$AUTOCONF --version | head -1 | sed 's/^[^0-9]*//i'`  AC_VER=`$AUTOCONF --version | head -1 | sed 's/'^[^0-9]*'/''/'`
25      AC_MAJORVER=`echo $AC_VER | cut -f1 -d'.'`      AC_MAJORVER=`echo $AC_VER | cut -f1 -d'.'`
26      AC_MINORVER=`echo $AC_VER | cut -f2 -d'.'`      AC_MINORVER=`echo $AC_VER | cut -f2 -d'.'`
27    
# Line 39  Line 35 
35          exit -1          exit -1
36      fi      fi
37    
 fi  
   
38  ##############################################################################  ##############################################################################
39  # Bootstraps the configure script  # Bootstraps the configure script
40  ##############################################################################  ##############################################################################

Legend:
Removed from v.879  
changed lines
  Added in v.880

No admin address has been configured
ViewVC Help
Powered by ViewVC 1.0.4