From 1fb523fe0e3d31979dbe12bb93d0d32c535fd52f Mon Sep 17 00:00:00 2001 From: Elisabetta Ronchieri Date: Wed, 17 Aug 2005 11:45:41 +0000 Subject: [PATCH] Added ERROR Message that breaks configure --- org.glite.wms-utils.jobid/configure.ac | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/org.glite.wms-utils.jobid/configure.ac b/org.glite.wms-utils.jobid/configure.ac index 0f1deb4..40e0d8d 100755 --- a/org.glite.wms-utils.jobid/configure.ac +++ b/org.glite.wms-utils.jobid/configure.ac @@ -19,6 +19,9 @@ # # Revision history: # $Log$ +# Revision 1.16 2004/12/10 07:33:42 eronchie +# Increased version +# # Revision 1.15 2004/11/16 15:35:22 eronchie # Increased version # @@ -103,15 +106,23 @@ AC_FUNC_VPRINTF AC_CHECK_FUNCS([bzero endpwent ftruncate getmntent memset mkdir pow strerror strtol]) have_globus=no - + AC_GLOBUS([], have_globus=yes, have_globus=no) AC_MSG_RESULT(["GLOBUS found $have_globus"]) -have_glite_wmsutils_exception=no - +if test "$have_globus" = "no"; then + AC_MSG_RESULT(["Please verify GLOBUS package"]) +fi + +if test "$have_globus" = "no"; then + AC_MSG_ERROR([Cannot continue building]) +fi + AC_GLITE -GLITE_WMSUTILS_EXCEPTION_LIBS="-L$GLITE_LOCATION/lib -lglite_wmsutils_exception"AC_SUBST(GLITE_WMSUTILS_EXCEPTION_LIBS) +GLITE_WMSUTILS_EXCEPTION_LIBS="-L$GLITE_LOCATION/lib -lglite_wmsutils_exception" + +AC_SUBST(GLITE_WMSUTILS_EXCEPTION_LIBS) AC_OPTIMIZE -- 1.8.2.3