stop running exit since its bad form ... use AC_MSG_ERROR instead

SVN revision: 14464
This commit is contained in:
Mike Frysinger 2005-04-29 02:54:37 +00:00
parent 5a3d6981e7
commit 07b258a472
2 changed files with 9 additions and 18 deletions

View File

@ -466,8 +466,7 @@ if test "x$have_ecore_evas" = "xyes"; then
if [ test -z $EVAS_CONFIG ]; then
echo $PROG " is not in your \$PATH. Please ensure it is.";
echo "Read the manual page for you shell as to how to extend your path.";
echo "FATAL ERROR. ABORT.";
exit -1;
AC_MSG_ERROR(Cannot find $PROG)
fi
evas_cflags=`$EVAS_CONFIG --cflags`
evas_libs=`$EVAS_CONFIG --libs`

View File

@ -185,54 +185,46 @@ xine_libs=`$XINE_CONFIG --libs`
V=`$ECORE_CONFIG --version`
if test -z "$V"; then
echo "Error. Ecore is not installed or $ECORE_CONFIG cannot be found. Abort."
exit -1
AC_MSG_ERROR(Ecore is not installed or $ECORE_CONFIG cannot be found.)
fi
VV=`vser $V`
VM="0.9.9"
VVM=`vser $VM`
if test $VV -lt $VVM; then
echo "Error. Ecore is not at least "$VM". It is "$V". Abort."
exit -1
AC_MSG_ERROR(Ecore is not at least "$VM". It is "$V".)
fi
V=`$EVAS_CONFIG --version`
if test -z "$V"; then
echo "Error. Evas is not installed or $EVAS_CONFIG cannot be found. Abort."
exit -1
AC_MSG_ERROR(Evas is not installed or $EVAS_CONFIG cannot be found.)
fi
VV=`vser $V`
VM="0.9.9"
VVM=`vser $VM`
if test $VV -lt $VVM; then
echo "Error. Evas is not at least "$VM". It is "$V". Abort."
exit -1
AC_MSG_ERROR(Evas is not at least "$VM". It is "$V".)
fi
V=`$EDJE_CONFIG --version`
if test -z "$V"; then
echo "Error. Edje is not installed or $EDJE_CONFIG cannot be found. Abort."
exit -1
AC_MSG_ERROR(Edje is not installed or $EDJE_CONFIG cannot be found.)
fi
VV=`vser $V`
VM="0.5.0"
VVM=`vser $VM`
if test $VV -lt $VVM; then
echo "Error. Edje is not at least "$VM". It is "$V". Abort."
exit -1
AC_MSG_ERROR(Edje is not at least "$VM". It is "$V".)
fi
V=`$XINE_CONFIG --version`
if test -z "$V"; then
echo "Error. Xine is not installed or $XINE_CONFIG cannot be found. Abort."
exit -1
AC_MSG_ERROR(Xine is not installed or $XINE_CONFIG cannot be found.)
fi
VV=`vser $V`
VM="1.0.0"
VVM=`vser $VM`
if test $VV -lt $VVM; then
echo "Error. Xine is not at least "$VM". It is "$V". Abort."
exit -1
AC_MSG_ERROR(Xine is not at least "$VM". It is "$V".)
fi
my_cflags=`$EVAS_CONFIG --cflags`" "`$ECORE_CONFIG --cflags`