matspats
[lilypond.git] / autogen.sh
blob0b9241673a999cdbdda5009a06f45545ad55cc57
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 # 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
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
25 for coin in `find $srcdir -name configure.in -print`
26 do
27 dr=`dirname $coin`
28 echo processing $dr
30 cd $dr
31 echo "Running autoconf ..."
32 autoconf
34 done
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.