[gs-cvs] rev 7045 - trunk/gs/src
giles at ghostscript.com
giles at ghostscript.com
Wed Sep 13 21:31:59 PDT 2006
Author: giles
Date: 2006-09-13 21:31:59 -0700 (Wed, 13 Sep 2006)
New Revision: 7045
Modified:
trunk/gs/src/configure.ac
Log:
Make the gs configure check the exit code of the jasper configure script
and print an error if it fails, avoiding a later build error if
jas_config_ac.h is not generated. Patch from Marcos H. Woehrmann.
Closes bug 688887.
Modified: trunk/gs/src/configure.ac
===================================================================
--- trunk/gs/src/configure.ac 2006-09-14 02:07:08 UTC (rev 7044)
+++ trunk/gs/src/configure.ac 2006-09-14 04:31:59 UTC (rev 7045)
@@ -317,6 +317,10 @@
echo "Running jasper configure script..."
olddir=`pwd`
cd $JASPERDIR && ./configure
+ status=$?
+ if test "$status" -ne 0 ; then
+ AC_MSG_ERROR([jasper configure script failed], $status)
+ fi
cd $olddir
echo
echo "Continuing with Ghostscript configuration..."
@@ -329,6 +333,10 @@
echo "Running jasper autogen script..."
olddir=`pwd`
cd $JASPERDIR && ./autogen.sh
+ status=$?
+ if test "$status" -ne 0 ; then
+ AC_MSG_ERROR([jasper autogen script failed], $status)
+ fi
cd $olddir
echo
echo "Continuing with Ghostscript configuration..."
More information about the gs-cvs
mailing list