summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorAlex Cherepanov <alex@coscript.biz>2021-08-11 09:15:18 +0100
committerChris Liddell <chris.liddell@artifex.com>2021-08-13 14:53:25 +0100
commit21d5eca51fffa804883cb54b496a0ea065e8dbde (patch)
tree82727a279df26352c2174100b8087a8125c4ea11 /autogen.sh
parent6ff7c91d945c79af72a09165b43f68192210c16f (diff)
downloadghostpdl-21d5eca51fffa804883cb54b496a0ea065e8dbde.tar.gz
Update configure.ac for newer autoconf versions
Also tweak order of operations in autogen.sh so config.guess and install-sh are in place before we call autoreconf
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh7
1 files changed, 4 insertions, 3 deletions
diff --git a/autogen.sh b/autogen.sh
index 7a0783623..09f732b40 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -29,9 +29,6 @@ rm -rf autom4te.cache
echo "Generating configuration files for $package, please wait...."
-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
@@ -43,6 +40,10 @@ if test ! -x install-sh ; then
cp `automake --print-libdir`/install-sh . || exit 1
fi
+echo " running autoreconf"
+autoreconf || exit 1
+
+
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."