autogen.sh
changeset 10722 30e271a26a02
parent 10398 165f98326b5c
equal deleted inserted replaced
10721:88943d97bf00 10722:30e271a26a02
     3 echo "Generating build information using autoconf"
     3 echo "Generating build information using autoconf"
     4 echo "This may take a while ..."
     4 echo "This may take a while ..."
     5 
     5 
     6 srcdir=`dirname $0`
     6 srcdir=`dirname $0`
     7 test -z "$srcdir" && srcdir=.
     7 test -z "$srcdir" && srcdir=.
     8 pushd $srcdir
     8 cd "$srcdir"
     9 
     9 
    10 # Regenerate configuration files
    10 # Regenerate configuration files
    11 cat acinclude/* >aclocal.m4
    11 cat acinclude/* >aclocal.m4
    12 found=false
    12 found=false
    13 for autoconf in autoconf autoconf259 autoconf-2.59
    13 for autoconf in autoconf autoconf259 autoconf-2.59
    17     echo "Couldn't find autoconf, aborting"
    17     echo "Couldn't find autoconf, aborting"
    18     exit 1
    18     exit 1
    19 fi
    19 fi
    20 (cd test; sh autogen.sh)
    20 (cd test; sh autogen.sh)
    21 
    21 
    22 popd
       
    23 
       
    24 # Run configure for this platform
    22 # Run configure for this platform
    25 echo "Now you are ready to run ./configure"
    23 echo "Now you are ready to run ./configure"