diff options
Diffstat (limited to 'cvscompile.sh')
-rwxr-xr-x | cvscompile.sh | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/cvscompile.sh b/cvscompile.sh deleted file mode 100755 index 935742145..000000000 --- a/cvscompile.sh +++ /dev/null @@ -1,49 +0,0 @@ -#!/bin/sh -# Run this to generate all the initial Makefiles, etc. - -## extract automake version - -if [ -f automake-1.6 ]; then - automake_1_6x=yes -else - AM="`automake --version | sed -n 1p | sed -e 's/[a-zA-Z\ \.\(\)\-]//g'`" - if test $AM -lt 100 ; then - AM=`expr $AM \* 10` - fi - if [ `expr $AM` -ge 160 ]; then - automake_1_6x=yes - fi -fi - -if test x"$automake_1_6x" = x"no"; then - echo "Warning: automake < 1.6. Some warning message might occur from automake" -fi - -## extract autoconf version -autoconf_2_53=no -AC="`autoconf --version | sed -n 1p | sed -e 's/[a-zA-Z\ \.\(\)\-]//g'`" -if test $AC -lt 100 ; then - AC=`expr $AC \* 10` -fi -if [ `expr $AC` -ge 253 ]; then - autoconf_2_53=yes -fi -if test x"$autoconf_2_53" = x"no"; then - echo "To compile xine-lib from CVS requires autoconf >= 2.53" - exit -fi - -rm -f config.cache - -srcdir=`dirname $0` -test -z "$srcdir" && srcdir=. - -(test -f $srcdir/configure.ac) || { - echo -n "*** Error ***: Directory "\`$srcdir\'" does not look like the" - echo " top-level directory" - exit 1 -} - -configure_flags=$@ -. $srcdir/misc/autogen.sh $automake_1_6x $configure_flags - |