diff options
author | Simon Howard | 2011-03-17 22:54:33 +0000 |
---|---|---|
committer | Simon Howard | 2011-03-17 22:54:33 +0000 |
commit | c724b3877a4d67e6ed377df84e454ec11d6c4f1c (patch) | |
tree | 64d6ed30c5d7af886efa43bdec1c425da028d635 /autogen.sh | |
parent | e512baa1c728602a3b7077741ec97ae4561b1200 (diff) | |
download | chocolate-doom-c724b3877a4d67e6ed377df84e454ec11d6c4f1c.tar.gz chocolate-doom-c724b3877a4d67e6ed377df84e454ec11d6c4f1c.tar.bz2 chocolate-doom-c724b3877a4d67e6ed377df84e454ec11d6c4f1c.zip |
Add back -a option to automake, and remove INSTALL if automake installs
it.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2305
Diffstat (limited to 'autogen.sh')
-rwxr-xr-x | autogen.sh | 16 |
1 files changed, 15 insertions, 1 deletions
@@ -1,12 +1,26 @@ #!/bin/sh +if [ -e INSTALL ]; then + have_INSTALL=true +else + have_INSTALL=false +fi + mkdir autotools aclocal autoheader -automake +automake -ac autoconf automake +# The INSTALL file is autogenerated, so it isn't stored in version control. +# As the file isn't present, automake's -a option will install generic +# install instructions. So remove INSTALL if automake installed one. + +if ! $have_INSTALL; then + rm -f INSTALL +fi + ./configure "$@" |