]> git.donarmstrong.com Git - lilypond.git/blob - autogen.sh
nu wel 58
[lilypond.git] / autogen.sh
1 #!/bin/sh
2 # WARNING WARNING WARNING
3 # do not edit! this is autogen.sh, generated from stepmake/autogen.sh
4 #!/bin/sh
5 # Run this to generate configure and initial GNUmakefiles
6
7 srcdir=`dirname $0`
8 DIE=0
9
10 # autoconf > 2.50 is not very common yet,
11 # and disappointingly incompatible with the widely available 2.13
12 version=`autoconf --version 2>/dev/null | awk '{print $3}'`
13 if test "$version" != "2.13"; then
14   echo "ERROR: Please install autoconf 2.13"
15   exit 1
16 fi
17
18 if test -z "$*"; then
19   echo "WARNING: I am going to run \`configure' with no arguments."
20   echo "If you wish to pass any to it, please specify them on the"
21   echo \`$0\'" command line."
22   echo
23 fi
24
25 for coin in `find $srcdir -name configure.in -print`
26 do 
27   dr=`dirname $coin`
28   echo processing $dr
29   (
30       cd $dr
31       echo "Running autoconf ..."
32       autoconf
33   )
34 done
35
36 #conf_flags="--enable-maintainer-mode --enable-compile-warnings" #--enable-iso-c
37 if test -z "$NOCONFIGURE"; then
38   echo Running $srcdir/configure $conf_flags "$@" ...
39   $srcdir/configure $conf_flags "$@"
40 else
41   echo Skipping configure process.
42 fi