autogen.sh
changeset 10398 165f98326b5c
parent 7232 6f17d930be39
child 10722 30e271a26a02
equal deleted inserted replaced
10397:3126026a822b 10398:165f98326b5c
     1 #!/bin/sh
     1 #!/bin/sh
     2 #
     2 #
     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 
       
     6 srcdir=`dirname $0`
       
     7 test -z "$srcdir" && srcdir=.
       
     8 pushd $srcdir
     5 
     9 
     6 # Regenerate configuration files
    10 # Regenerate configuration files
     7 cat acinclude/* >aclocal.m4
    11 cat acinclude/* >aclocal.m4
     8 found=false
    12 found=false
     9 for autoconf in autoconf autoconf259 autoconf-2.59
    13 for autoconf in autoconf autoconf259 autoconf-2.59
    13     echo "Couldn't find autoconf, aborting"
    17     echo "Couldn't find autoconf, aborting"
    14     exit 1
    18     exit 1
    15 fi
    19 fi
    16 (cd test; sh autogen.sh)
    20 (cd test; sh autogen.sh)
    17 
    21 
       
    22 popd
       
    23 
    18 # Run configure for this platform
    24 # Run configure for this platform
    19 echo "Now you are ready to run ./configure"
    25 echo "Now you are ready to run ./configure"