summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-09-21 14:18:08 +0100
committerSam James <sam@gentoo.org>2022-10-02 04:31:25 +0100
commita529111f77ff46f4836fe7312e70953bc16587cf (patch)
tree9dc3924cb1a6ef3ef853b7bb45f735365e0b4e6d /autogen.sh
parentImport Ghostscript 9.56.1 (diff)
downloadghostscript-gpl-patches-a529111f77ff46f4836fe7312e70953bc16587cf.tar.gz
ghostscript-gpl-patches-a529111f77ff46f4836fe7312e70953bc16587cf.tar.bz2
ghostscript-gpl-patches-a529111f77ff46f4836fe7312e70953bc16587cf.zip
Import Ghostscript 10.0ghostscript-10.0ghostscript-10
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh16
1 files changed, 11 insertions, 5 deletions
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