bootstrap 519 B

12345678910111213
  1. #!/bin/sh
  2. set -e
  3. echo "Initial preparation...this can take awhile, so sit tight..."
  4. perl -w -e '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) { rename ("./Makefile.am.oldautomake", "./Makefile.am"); } else { rename ("./Makefile.am.newautomake", "./Makefile.am"); }'
  5. aclocal
  6. libtoolize --automake --copy --force
  7. autoheader
  8. automake --foreign --add-missing --copy
  9. autoconf
  10. echo "You are now ready to run ./configure ..."