bootstrap
changeset 625 60b5f566a258
parent 357 9c0dd45cb7eb
child 630 ffd26a27f74d
equal deleted inserted replaced
624:7da70fac2126 625:60b5f566a258
     1 #!/bin/sh
     1 #!/bin/sh
     2 
     2 
     3 set -e
     3 set -e
     4 echo "Initial preparation...this can take awhile, so sit tight..."
     4 echo "Initial preparation...this can take awhile, so sit tight..."
       
     5 rm -f Makefile.am
     5 perl -w -e 'use File::Copy; exit 0 if (-f "Makefile.am"); my $x = `automake --version |head -n 1`; chomp($x); $x = 0.0 if ($x !~ s/\A.*?(\d+\.\d+).*\Z/$1/); if ($x < 1.5) { copy("./Makefile.am.oldautomake", "./Makefile.am"); } else { copy("./Makefile.am.newautomake", "./Makefile.am"); }'
     6 perl -w -e 'use File::Copy; exit 0 if (-f "Makefile.am"); my $x = `automake --version |head -n 1`; chomp($x); $x = 0.0 if ($x !~ s/\A.*?(\d+\.\d+).*\Z/$1/); if ($x < 1.5) { copy("./Makefile.am.oldautomake", "./Makefile.am"); } else { copy("./Makefile.am.newautomake", "./Makefile.am"); }'
     6 aclocal
     7 aclocal
     7 libtoolize --automake --copy --force
     8 libtoolize --automake --copy --force
     8 autoheader
     9 autoheader
     9 automake --foreign --add-missing --copy
    10 automake --foreign --add-missing --copy