From a529111f77ff46f4836fe7312e70953bc16587cf Mon Sep 17 00:00:00 2001 From: Sam James Date: Wed, 21 Sep 2022 14:18:08 +0100 Subject: Import Ghostscript 10.0 Signed-off-by: Sam James --- autogen.sh | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) (limited to 'autogen.sh') diff --git a/autogen.sh b/autogen.sh index 09f732b4..357ca69e 100755 --- a/autogen.sh +++ b/autogen.sh @@ -1,6 +1,10 @@ #!/bin/sh # Run this to set up the build system: configure, makefiles, etc. - +# +# NOCONFIGURE +# If set to any value it will generate all files but not invoke the +# generated configure script. +# e.g. NOCONFIGURE=1 ./autogen.sh package="ghostscript" @@ -44,11 +48,13 @@ echo " running autoreconf" autoreconf || exit 1 -if test -z "$*"; then +if test x"$NOCONFIGURE" = x""; then + if test -z "$*"; then echo "I am going to run ./configure with no arguments - if you wish " echo "to pass any to it, please specify them on the $0 command line." -else + else echo "running ./configure $@" -fi + fi -$srcdir/configure "$@" && echo + $srcdir/configure "$@" && echo +fi -- cgit v1.2.3-65-gdbad