]> git.donarmstrong.com Git - lilypond.git/blob - autogen.sh
* autogen.sh: Generate.
[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 --version) < /dev/null > /dev/null 2>&1 || {
11   echo
12   echo "ERROR: You must have \`autoconf' installed to."
13   echo "Download the appropriate package for your distribution,"
14   echo "or get the source tarball at ftp://ftp.gnu.org/pub/gnu/"
15   DIE=1
16 }
17
18 if test "$DIE" -eq 1; then
19   exit 1
20 fi
21
22
23 if test -z "$*"; then
24   echo "WARNING: I am going to run \`configure' with no arguments."
25   echo "If you wish to pass any to it, please specify them on the"
26   echo \`$0\'" command line."
27   echo
28 fi
29
30 for coin in `find $srcdir -name configure.in -print`
31 do 
32   dr=`dirname $coin`
33   echo processing $dr
34   (
35       cd $dr
36       echo "Running autoconf ..."
37       autoconf
38   )
39 done
40
41 #conf_flags="--enable-maintainer-mode --enable-compile-warnings" #--enable-iso-c
42 if test -z "$NOCONFIGURE"; then
43   echo Running $srcdir/configure $conf_flags "$@" ...
44   $srcdir/configure $conf_flags "$@"
45 else
46   echo Skipping configure process.
47 fi