diff options
author | 2020-03-19 13:53:45 +0100 | |
---|---|---|
committer | 2020-08-13 11:28:25 +0200 | |
commit | dc2ba49207af71193f1390d84bba4e15aeea0ce0 (patch) | |
tree | 79c2a51cb5fa2b87800b1113e0015a7108cd2eb3 /autogen.sh | |
parent | Import Ghostscript 9.50 (diff) | |
download | ghostscript-gpl-patches-dc2ba49207af71193f1390d84bba4e15aeea0ce0.tar.gz ghostscript-gpl-patches-dc2ba49207af71193f1390d84bba4e15aeea0ce0.tar.bz2 ghostscript-gpl-patches-dc2ba49207af71193f1390d84bba4e15aeea0ce0.zip |
Import Ghostscript 9.52ghostscript-9.52
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'autogen.sh')
-rwxr-xr-x | autogen.sh | 25 |
1 files changed, 23 insertions, 2 deletions
@@ -17,10 +17,31 @@ cd "$srcdir" exit 1 } +(automake --version) < /dev/null > /dev/null 2>&1 || { + echo + echo "You must have automake installed to compile $package." + echo "Download the appropriate package for your distribution," + echo "or get the source tarball at ftp://ftp.gnu.org/pub/gnu/" + exit 1 +} + +rm -rf autom4te.cache + echo "Generating configuration files for $package, please wait...." -echo " running autoconf" -autoconf || exit 1 +echo " running autoreconf" +autoreconf || exit 1 + +if test ! -x config.guess -o ! -x config.sub ; then + rm -f config.guess config.sub + cp `automake --print-libdir`/config.guess . || exit 1 + cp `automake --print-libdir`/config.sub . || exit 1 +fi + +if test ! -x install-sh ; then + rm -f install-sh + cp `automake --print-libdir`/install-sh . || exit 1 +fi if test -z "$*"; then echo "I am going to run ./configure with no arguments - if you wish " |