''
[lilypond.git] / autogen.sh
blob99c803624014337eb1c75b7a3af2986c2427fb01
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
7 srcdir=`dirname $0`
8 DIE=0
10 version=`autoconf --version 2>/dev/null | awk '{print $3}'`
11 if test "$version" != "2.13"; then
12 echo "ERROR: Please install autoconf 2.13"
13 exit 1
16 if test -z "$*"; then
17 echo "WARNING: I am going to run \`configure' with no arguments."
18 echo "If you wish to pass any to it, please specify them on the"
19 echo \`$0\'" command line."
20 echo
23 for coin in `find $srcdir -name configure.in -print`
24 do
25 dr=`dirname $coin`
26 echo processing $dr
28 cd $dr
29 echo "Running autoconf ..."
30 autoconf
32 done
34 #conf_flags="--enable-maintainer-mode --enable-compile-warnings" #--enable-iso-c
35 if test -z "$NOCONFIGURE"; then
36 echo Running $srcdir/configure $conf_flags "$@" ...
37 $srcdir/configure $conf_flags "$@"
38 else
39 echo Skipping configure process.